-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misc push-related fixes and improvements #2649
Merged
Merged
Changes from 21 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
b0f1067
misc fixes and improvements
taoeffect 992d4fa
many fixes and improvements to all the notification things, mostly fr…
taoeffect a26169f
improve logging
taoeffect 2e0cf69
log the subscription ID on both the frontend and backend
taoeffect 3dfb45a
improved logging
taoeffect e46a06b
some bugfixes and improvements to backend/push.js
taoeffect fe3511c
feedback
taoeffect ec1601b
remove extraneous call to setupChelonia()
taoeffect 4587e91
minor improvements
taoeffect 9e6d83e
address all remaining issue. tested in Safari + Brave + FF
taoeffect a2177d2
prevent log spam
taoeffect a123826
oops
taoeffect 234e050
update strings
taoeffect 84c8a4d
possibly address #2653
taoeffect 3684654
ensure local Cypress tests don't get tripped by by push issues
taoeffect bf51c3a
react to notification permission changes in Safari
taoeffect 23a3c2f
improvement to syncContractsInOrder to prevent syncing removed contracts
taoeffect ccf683f
feedback
taoeffect 1b89e4d
feedback: syncContractsInOrder should attempt to sync all contracts
taoeffect 6c417b0
improve error message
taoeffect dc4c255
improve logging in syncContractsInOrder
taoeffect 7f9e00d
webkit bugfix + throttle handler for Chrome
taoeffect 4694034
move back the call to syncContractsInOrder where it was
taoeffect 48e53f7
handle 'WebSocket connection is not open' on 'push/reportExistingSubs…
taoeffect 6655820
better comments + logging
taoeffect 8189552
improve gi.ui prompt strings
taoeffect d4369e7
remove redundant alert() + improve error logging
taoeffect f46d735
Remove Notification object on Cypress
corrideat 03cb7ee
feedback
taoeffect 8bedd74
created ''sw/deviceSettings/*' and used it for handling DISABLE_NOTIF…
taoeffect 9af8fa7
final feedback
taoeffect File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a strong feeling either way, but the reason I was not checking for
window.Cypress
(and generally avoid doing so) is that these are runtime checks (code shipped) whileprocess.env.CI
is exclusively a buildtime check (no code shipped).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to add it because without it the tests weren't passing. An alternative would be to create a Cypress envvar in
Gruntfile.js
...