-
Notifications
You must be signed in to change notification settings - Fork 51
fix: History URL button broken link on the Snippets change form #84
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
Aiky30
merged 53 commits into
django-cms:support/django-cms-4.0.x
from
adam-murray:bugfix/history-url-missing
Oct 26, 2021
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
6b142d1
Added missing field for form
adam-murray 253cddc
Fixed form
adam-murray a6f8329
Fixed form save method
adam-murray 291bc94
Added model property for snippet grouper
adam-murray 1fe4fbf
Added fix for bug in demo
adam-murray b281e45
Update djangocms_snippet/forms.py
adam-murray 3c8fa93
Added test case for verisoning state machine snippet/page
adam-murray 7032daf
added test case for snippet version rendering
adam-murray 6723e57
Fixed issue with form save method and updated tests.
adam-murray 62d1c2f
Removed unused factories
adam-murray 3451165
Updated plugin test cases
adam-murray bfc3b6e
Remove unused import in factories
adam-murray c779f3f
Simplified from unecessary helpers
adam-murray d0b975e
Removed unused helpers
adam-murray 4d926f2
added test case for forms with commit=False
adam-murray f3609a6
updated test case
adam-murray 5862325
Remove debugger
adam-murray c5a97cd
Refactored plugin tests
adam-murray 3f1fbb2
Updated snippet fetch method to get return appropriate snipper versio…
adam-murray c9cb424
Linting
adam-murray 8900700
Updated old comments
adam-murray 3acf07f
Updated to check requests in models
adam-murray 2b0331c
Updated snippet grouper snippet method
adam-murray 333f5cb
remove unused code
adam-murray 928c738
Updated endpoint logic
adam-murray 3bc134b
Linting
adam-murray 77a6080
Updated SnipeptGrouper snippet method, and added comments
adam-murray d8aad53
Add additional logic to prevent archived content being returned befor…
adam-murray 59f3b6a
Updated Comment
adam-murray d67d31a
Updated Comment
adam-murray c31fca7
Comment Update tests/test_plugins.py
adam-murray 6f579ea
Suggestions from code review
adam-murray 7fd5e40
Updated comment in models.
adam-murray 82962b4
Added filtering for correct version states in grouper snippet return …
adam-murray 35456da
Update model so we don't have to pass the request object to the grouper
adam-murray 4e4d840
Updated render method to prevent request object being passed to models.
adam-murray 08c5939
removed unused property, added __str__ method back on grouper
adam-murray cc60686
Updated test criteria to reflect removal of property on plugin
adam-murray def0196
Fixed test criteria
adam-murray b180d62
Added solution and test case for form save method
adam-murray 001c0bc
Merged in updates
adam-murray 4da7894
Removed test which made incorrect assumption about versioning admin
adam-murray 71b129b
Added back test, but with appropriate criteria
adam-murray 41dac36
Linting
adam-murray 01aefd3
Updated test criteria
adam-murray 315292e
fix: form initialisation in read-only mode throwing error
adam-murray 34a33ff
Merge branch 'support/django-cms-4.0.x' into bugfix/form-initialisati…
adam-murray 4d5d133
fix: Updated comments explaining admin form test
adam-murray 1a8e490
Updated urls
adam-murray 743b6a3
Merge branch 'support/django-cms-4.0.x' into bugfix/history-url-missing
adam-murray 6273120
Fix: Admin delete permission checks whether versioning is enabled, an…
adam-murray 595cc6b
Added tests for new delete permission functionality
adam-murray f3670b1
fix: Added tests to cover accessing delete endpoint
adam-murray 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
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.
This will need agreement from the community, as they will also be using versioning the issue will still be raised.
A test will be needed to ensure that the delete button no longer shows / works.
Another test will also be needed for the other alternative of when versioning is not enabled.