-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Form update notifications #2095
Merged
lognaturel
merged 23 commits into
getodk:master
from
grzesiek2010:form_update_notifications
May 14, 2018
Merged
Changes from 12 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0062bf3
Added new option in settings for updates
grzesiek2010 42b0c34
Removed duplicated code from FormManagementPreferences class
grzesiek2010 e92cc62
Added evernote job dependency
grzesiek2010 d81b6b0
Moved the code form DownloadFormListTask to DownloadFormListUtils in …
grzesiek2010 b922b9b
Implemented changes for polling a server periodically
grzesiek2010 4cc1264
Implemented changes in the database
grzesiek2010 4cea712
Polling a server
grzesiek2010 c893938
Cancel job after resetting settings
grzesiek2010 e7775d2
Update the job after scanning/reading settings
grzesiek2010 189a8f9
Display only updated forms after opening the list from a notification
grzesiek2010 1e1d5cf
Improved checking media files
grzesiek2010 6225eb6
Poll server after connecting to the internet if las attempt failed
grzesiek2010 06124b9
Catch exception taht causes problems with tests
grzesiek2010 f8d232f
Improved rescheduling job after reading/resetting settings - removed …
grzesiek2010 9f1d5a3
Removed additional manifest file downloading since in most cases the …
grzesiek2010 259802d
Removed unused imports
grzesiek2010 90afb9b
Added automatic update
grzesiek2010 4e5fe9e
Disable 'automatic update' option if periodic job is set to 'never'
grzesiek2010 91be570
Fixed bugs I introduced while working on automatic download
grzesiek2010 4c4583f
Improved notifications -remved not legible messages added mesagge abo…
grzesiek2010 a86a1a4
Improvements
grzesiek2010 4cee64d
Merge branch 'master' into form_update_notifications
grzesiek2010 235728b
Code improvements
grzesiek2010 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
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
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.
Fairly trivial point, but I've seen code analysers complain about variable assignments similar to line 613. It seems to be generally preferable to use the Interface
Map<String, String>
as the variable type. The rational being that you can more easily change the implemention.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.
Yes, and also you can elide the second “String, String” inside the <>.
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.
Yes, but I didn't add this. Since this pr is pretty big itself we should do such a refactoring in a separate one.