Repository navigation
Notifying users of available add-on updates #16636
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
4b97d4a
Create message dialog notifying users of an add-on update
seanbudd c236af8
Only notify updates from the same channel
seanbudd de9ee50
Update requirements.txt
seanbudd 3dfc807
minor fixup
seanbudd 0201b1c
Add settings and docs
seanbudd 8e71cc0
Merge branch 'updateAddons' of https://github.com/nvaccess/nvda into …
seanbudd b45ba3f
Fix up name for AddonsAutomaticUpdate
seanbudd b5b504c
make scheduling safer
seanbudd fe10315
fixup typing
seanbudd 7d33064
add unit tests for scheduler
seanbudd 4b959a2
add add-on list to dialog
seanbudd 479122f
implement updating add-ons
seanbudd dfebaa7
fix up headings
seanbudd 6680653
simplify message dialog
seanbudd 7b71bbe
add to release blurb
seanbudd ca5b985
disable in secure mode
seanbudd 7dab8aa
improve the scheduleThread module and functionality
seanbudd a7ef961
review feedback
seanbudd c097f39
minor fixups
seanbudd 1780d8b
set focus and raise
seanbudd aa3f742
fix lint
seanbudd 4ba66cc
remove double handling of tracking jobs
seanbudd f9742b1
handle review comments
seanbudd 25f0f29
review docs
seanbudd 3218654
fix lint
seanbudd 7a82c93
address review comments
seanbudd a92789a
address review comments
seanbudd 23cee9c
fix lint and focus
seanbudd 2a67d7d
Apply suggestions from code review
seanbudd 1f15ac4
improve test plan docs
seanbudd c6e8e39
do not announce profile change
seanbudd 8211187
remove default from label
seanbudd 2677215
Update source/config/configFlags.py
seanbudd 9f58dd6
add script to update add-on files
seanbudd 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,21 @@ | ||
| # A part of NonVisual Desktop Access (NVDA) | ||
| # Copyright (C) 2022 NV Access Limited | ||
| # Copyright (C) 2022-2024 NV Access Limited | ||
| # This file is covered by the GNU General Public License. | ||
| # See the file COPYING for more details. | ||
|
|
||
| from utils.schedule import scheduleThread, ThreadTarget | ||
|
|
||
| from .controls.storeDialog import AddonStoreDialog | ||
| from .controls.messageDialogs import UpdatableAddonsDialog | ||
|
|
||
| __all__ = [ | ||
| "AddonStoreDialog", | ||
| "initialize", | ||
| ] | ||
|
|
||
|
|
||
| def initialize(): | ||
| scheduleThread.scheduleDailyJobAtStartUp( | ||
| UpdatableAddonsDialog._checkForUpdatableAddons, | ||
| queueToThread=ThreadTarget.GUI, | ||
| ) |
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.
Uh oh!
There was an error while loading. Please reload this page.