Repository navigation
Conversation
- API and web views require login; users only see their own production lines - Published DPPs public read-only; DSS sessions use random UUIDs - Upload type/size checks; fix XSS in popup response - Remove unused API views; add access-rule tests
- Serve the OpenAPI schema at /schema/, with Swagger UI at /schema/swagger/ and ReDoc at /schema/redoc/ - Group the /api/ routes into tagged sections (ROUTE_GROUPS) - Add schema tags, requests and responses to the DSS views Fixes: - DocumentSerializer: rename get_document_url to get_file_url, so that file_url returns an absolute URL; add a test - Add www.l4m-dss.eu to the default ALLOWED_HOSTS Layout: - Welcome page: use the dpp base template (sidebar, breadcrumbs, footer); restyle the production-line table and buttons - dpp base template: use the 'dpp:' namespace in the sidebar links, so that pages without 'opts' in the context can use it - Login page: centered box, crispy form fields, links to password reset and sign-up; keep the 'next' redirect - Shared base template: move the stylesheet into <head> and the header into <body> Dependencies and config: - Add drf-spectacular; replace psycopg2 with psycopg2-binary - Ignore .vscode/
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
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.
No description provided.