-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Allow to hook the initial build from outside #4033
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
67 commits
Select commit
Hold shift + click to select a range
3582584
Remove unused basic attribute on trigger build
humitos 10def53
Split trigger_build to be able to prepare_build first
humitos c2c10af
Allow to hook the initial build from outside
humitos efa2bd3
Remove now unused signal
humitos 851e1ff
Fix Celery signature creation
humitos 0f8a055
Fix testcases with basic on trigger_build
humitos 2fe1220
Fix mock calls in test cases
humitos 2d7063b
Fix test mock check
humitos e4412b3
Use async task to attach webhook
humitos d5cf6c6
Use proper context object
humitos 14c99f3
Make it compatible with newer Django versions
humitos 90f5ea6
Py2 and Py3 compatible line
humitos 3cff0a7
Dismiss the sticky message and stay in the same page
humitos da81906
Use Context to render the template
humitos 9cd08f7
Lint errors fixed
humitos 804ef65
Call the task in a sync way properly
humitos 8179559
Update common submodule to latest
humitos e5fe8f7
Define NonPersistentStorage for one-time notifications
humitos fca9947
Make string translatable
humitos 38a93e3
Fix merge conflicts
humitos 757f57f
Recover accidentally deleted line
humitos d804b53
Fixed linting errors
humitos 2f20aed
Replace message_key with reason to be clearer
humitos 90892fb
Rename non persistent storage class
humitos f72a129
Remove old templates
humitos 8f1f5cd
Make SiteNotification more flexible
humitos 39237cf
Adapt AttachWebhookNotification to the new features
humitos 58ce253
Refactor the task to attach a webhook
humitos f609a3a
Test cases for SiteNotification and NonPersistentStorage
humitos 864d968
Remove unnecessary lines
humitos 9001a9e
Show a persistent message for invalid project webhook
humitos 1d90204
Improve copy
humitos 0f16e24
Remove unused basic attribute on trigger build
humitos 16cbf0f
Split trigger_build to be able to prepare_build first
humitos 2d4b227
Allow to hook the initial build from outside
humitos 4022f28
Remove now unused signal
humitos 79fcaa3
Fix Celery signature creation
humitos 26e45b3
Fix testcases with basic on trigger_build
humitos cbcf55d
Fix mock calls in test cases
humitos ebac662
Fix test mock check
humitos bb500ba
Use async task to attach webhook
humitos 1939f9b
Use proper context object
humitos 671c29f
Make it compatible with newer Django versions
humitos a9a16a6
Py2 and Py3 compatible line
humitos d8cc092
Dismiss the sticky message and stay in the same page
humitos f1b2078
Use Context to render the template
humitos c96fd72
Lint errors fixed
humitos a2244f7
Call the task in a sync way properly
humitos a67dde4
Update common submodule to latest
humitos 8416503
Define NonPersistentStorage for one-time notifications
humitos db4a084
Make string translatable
humitos 9f31115
Fix merge conflicts
humitos eee7e71
Recover accidentally deleted line
humitos f8299cc
Fixed linting errors
humitos c96c4fe
Replace message_key with reason to be clearer
humitos 1ac78a1
Rename non persistent storage class
humitos 7e1c7d9
Remove old templates
humitos 5421b1f
Make SiteNotification more flexible
humitos c8deddf
Adapt AttachWebhookNotification to the new features
humitos c85676f
Refactor the task to attach a webhook
humitos 9a54e74
Test cases for SiteNotification and NonPersistentStorage
humitos 48eed16
Remove unnecessary lines
humitos 13ec71c
Show a persistent message for invalid project webhook
humitos 9f8fddf
Improve copy
humitos 5bfd8df
Merge branch 'master' of github.com:rtfd/readthedocs.org into humitos…
humitos 5d1d7c5
Remove fixed template notification about Project.has_valid_webhook
humitos c87e646
Merge branch 'humitos/async/initial-build' of github.com:rtfd/readthe…
humitos 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
Submodule common
updated
from ed81bf to f9a4b5
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
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.
👍 I like mimicking django class patterns like this.