-
Notifications
You must be signed in to change notification settings - Fork 0
Added initial s3 storage methods and refactored index handling #24
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
Open
simcax
wants to merge
31
commits into
main
Choose a base branch
from
feature/pages-in-bucket
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Introduces dedicated editor routes for creating and editing pages, improving content management workflow. Enhances the navigation bar with subpage creation links and a dropdown menu for adding new content, streamlining user experience. Addresses issues related to page creation and modification, providing a more intuitive interface.
Removes the `current_pages.yaml` file. The file is no longer needed.
Updates the index handling to remove unnecessary dependencies. Adds a footer to the home page with a link to the developer.
Adds edit icons to the navbar for quick access to page editing. Also ensures the editor displays existing content when editing a page and includes the page title. The footer now includes a link to the project's GitHub repository.
Adds user authentication using ForeningLet API. Introduces login, logout, and session management features. Persists user sessions for 5 days of inactivity. Integrates user authentication into navbar. Adds permalinks blueprint to allow for direct linking to content, bypassing the home page. Implements page deletion functionality. Refactors page update logic.
Updates the page index to accurately reflect the site's content structure for "nyt-om-lejre-fitness," including the "bestyrelsen" subpage. Removes old test page.
Configures the application to limit the size of uploaded files. This prevents excessively large files from being uploaded, mitigating potential resource exhaustion or denial-of-service attacks.
Sets `limit_request_line` and `limit_request_field_size` to 0. This disables the request line and field size limits in Gunicorn, allowing for larger requests.
Removes an unnecessary line break in the access log format definition, improving code readability and consistency.
Configures Gunicorn using a dedicated configuration file for better management of settings. This change decouples Gunicorn configuration from the Dockerfile, making it easier to modify settings without rebuilding the container.
Removes redundant parentheses from the access_log_format definition in gunicorn.py. This change simplifies the line without affecting its functionality, improving readability and maintainability.
Increases the virtual machine memory allocation to 2GB. This provides more resources for the application and potentially improves performance.
Updates the import of the authentication blueprint to improve code organization and readability. This change simplifies the application's structure by directly importing the auth module instead of the blueprint. This is to make the @before_app_request be called and keep the user session available in the application.
Improves debugging by adding logging statements to track user authentication flow. Logs user ID and API user data for troubleshooting purposes.
Modernizes logging statements to use f-strings for improved readability and maintainability. This change simplifies string formatting within log messages, making them easier to understand and modify.
Sets the session cookie domain dynamically based on the URL obtained from the `modify-url` step. This ensures that the session cookie is correctly scoped to the appropriate domain.
Stores user's ID, name and email in the session upon successful login. This allows for easier access to user information throughout the application without needing to query the database repeatedly.
Adds a session ID to each user session and logs session information for debugging purposes. This helps track user activity and diagnose potential session-related issues. The session ID is generated using UUID and stored in the session if it doesn't already exist.
Replaces SESSION_COOKIE_DOMAIN with SECRET_KEY in the Fly.io review workflow. This enhances application security by utilizing the SECRET_KEY environment variable, ensuring a more robust approach to managing sensitive information during review deployments.
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.