Commit Graph

5 Commits

Author SHA1 Message Date
Justin Baur
8cf34b85b6 Use fixture to share state between PushControllerTests (#7433) 2026-05-26 13:26:05 -04:00
Justin Baur
750b2219b5 [PM-36843] Skip relay push registration for non mobile clients (#7617)
* Fix null warnings and add more descriptive log in the case or non-successful HTTP calls.

* Add RelayPushRegistration tests

* Skip Push Registration when the client is not a mobile client

* Formatting

* Pin New Dependency

* Assert more in mobile test and use actual mobile device type
2026-05-18 14:48:50 -04:00
Justin Baur
e5159a3ba2 [PM-19659] Clean up Notifications code (#6244)
* Move PushType to Platform Folder

- Move the PushType next to the rest of push notification code
- Specifically exclude it from needing Platform code review
- Add tests establishing rules Platform has for usage of this enum, making it safe to have no owner

* Move NotificationHub code into Platform/Push directory

* Update NotificationHub namespace imports

* Add attribute for storing push type metadata

* Rename Push Engines to have PushEngine suffix

* Move Push Registration items to their own directory

* Push code move

* Add expected usage comment

* Add Push feature registration method

- Make method able to be called multipes times with no ill effects

* Add Push Registration service entrypoint and tests

* Use new service entrypoints

* Test changes
2025-08-26 13:30:37 -04:00
Nick Krantz
240968ef4c Refactor PendingSecurityTasks to RefreshSecurityTasks (#5903)
- Allows for more general use case of security task notifications
2025-07-07 09:24:57 -05:00
Justin Baur
6800bc57f3 [PM-18555] Main part of notifications refactor (#5757)
* More tests

* More  tests

* Add non-guid tests

* Introduce slimmer services

* Implement IPushEngine on services

* Implement IPushEngine

* Fix tests

* Format

* Switch to `Guid` on `PushSendRequestModel`

* Remove TODOs
2025-06-17 13:30:56 -04:00