-
Notifications
You must be signed in to change notification settings - Fork 38
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
First stable release 🎉 #1213
Merged
Merged
First stable release 🎉 #1213
Conversation
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
Only provide the context data, let Django handle the rendering process automatically
The attribute is called extra_context instead of base_context. Also, it's more flexible to use get_context_data() in separate context mixins, because this method can be called from the inherited models even if the extra_context attribute is overwritten.
This makes it possible to recognize whether an url is an API or sitemap url by inspecting the resovler match object. Also, it avoids accidental name conflicts with cms urls.
- Add AccessControlMiddleware which checks the authentication status on every request, independently from the views - This makes all view-based checks for login, staff status or region permissions obsolete - Split cms urls in protected urls and public urls with separate namespace - All api urls and the urls whitelisted in the cms.urls.public module do not require a login
- Add generic list view for simple object lists without customization - Use this generic list for languages, organizations, offer templates, roles and the language tree - Provide default ordering for all models
- Use path() instead of url() - Use simple argument parsing instead of regex - Consistent use of trailing slashes - Use dash instead of underscore in url patterns
It should be possible to view forms with the view permission if they are only retrieved and not submitted
- Hide actions tab if user does not have the permission to delete the imprint - Grant imprint deletion permission to management role
- Use pytest instead of standard unittests - Add test users for all roles to test data - Test views for all roles and unauthorized users - Use parametrization to generate view tests - Use pytest-xdist to run tests in parallel - Add tests package to documentation
- Fix the ValueError: '<Page (id: None)>' needs to have a value for field 'id' before this many-to-many relationship can be used. - Add test case for this bug
Refactor views
Add sub page event listeners for bulk action button
…-form Fix POI integration in event form and list
- These views are just tested for anonymous users because they cause a redirect for logged-in users
- The uidb64 of the password reset views are not real uuids, just treat them as strings - Add test to prevent this error in the future
Allow user to embed live content from current region
Fix password reset
Enable both views - with trailing slash and without
Fix feedback API endpoints
- Add fallback status if unchecked - Improve appearance of linkchecker table - Add links to test data to catch such errors in the future
Fix `AttributeError` in link list
The change to cached properties had an unwanted side effect on the XLIFF import confirmation page: Since the existing translation was also used in a form instance to validate the imported translation, it got assigned the changed values of the form instance. This means that the imported diff only showed the imcoming content, not the changes to the previous import.
Fix `TypeError` in XLIFF import view
- Make it possible again to select no parent page for root pages - Optimize url patterns for page order table
Don't show empty tag if the page has no subpages
Fix parent page select input
- Remove beta tag from next bump version update - Create non-pre-release on GitHub
Track API requests with Matomo
Prepare non-beta release
- Adapt media library to new color - Adapt language tabs in forms Co-authored-by: Timo Ludwig <[email protected]>
Use `AutoField` for primary keys of linkcheck app
Change colouring, remove dummy items & streamline boxes
Co-authored-by: Timo Ludwig <[email protected]>
…bulk-action Only show xliff export option for expert users
Support legacy PDF API, fixes #1209
Co-authored-by: Philip Popien <[email protected]> Co-authored-by: Timo Ludwig <[email protected]>
Add browser warning
- grant permission to publish events to editor - revoke permission to view feedback and imprint for editor and events manager roles
Update permissions of roles
svenseeberg
approved these changes
Feb 21, 2022
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.
🚀
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Short description
First stable release of the new content management system for the Integreat app 🦄 🚀
Changelog