Commit graph

224 commits

Author SHA1 Message Date
8af699e7ba
fix: correct image path in homepage template
All checks were successful
Build and Deploy Static Site / build (push) Successful in 1m0s
Adjusted the src attribute of the logo image to remove the leading slash. This change ensures compatibility with relative URL loading, improving resource accessibility in deployed environments.
2024-07-10 09:38:30 +02:00
a684c8b9df
feat: add built-in HTTP server to preview static site
Some checks failed
Build and Deploy Static Site / build (push) Has been cancelled
Introduced a new option `--serve` in `main.py` to provide an HTTP server for previewing the static site. Updated README with usage instructions. This enhancement allows users to quickly view the site on localhost without manually opening the `index.html` file.

Addresses usability improvements for local development.
2024-07-10 09:37:55 +02:00
6f92e5aa8f
feat(services): update Matrix service descriptions and links
All checks were successful
Build and Deploy Static Site / build (push) Successful in 1m11s
Updated the long description for the Matrix service to specify "web clients" instead of "Element web client". Added a new link to the Hydrogen client to provide users with more options for connecting to the Matrix server
2024-07-10 08:27:51 +02:00
6ec67f8891
fix(finances): update server cost for accuracy
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Adjusted the server costs in the financial data from -32.72 EUR to -55.87 EUR to better reflect actual expenses. Ensures more accurate reporting and budget tracking.
2024-07-09 07:58:30 +02:00
e17507d547
feat: add books icon and update service icon reference
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Added a new 'books' icon SVG file to the asset directory to enhance the icon set. Updated the icon reference in services.json from 'book' to 'books' for better visual representation and icon alignment. This change improves the visual consistency and clarity in the service icons.
2024-07-07 13:16:30 +02:00
8c96c4cd7a
feat: add BiblioReads to services list
Added BiblioReads as a privacy-friendly alternative to Goodreads in the services list. This enables users to access Goodreads data without being tracked and provides an additional resource within the platform.
2024-07-07 13:14:55 +02:00
e9ce71f89b
feat: add FreshRSS service with RSS icon
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Added FreshRSS RSS feed reader to services.json, including its metadata and links, and introduced a new RSS icon to the assets directory. This enhancement allows users to access and recognize the FreshRSS service easily.
2024-07-06 19:38:59 +02:00
f452e087a7
feat: add Priviblur service and camera icon
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Introduced the Priviblur service as a privacy-friendly alternative front-end to Tumblr, enhancing user privacy by preventing tracking. Added a new camera SVG icon to support the service's representation. This addition aims to improve the overall service offering and user experience.
2024-07-06 18:14:59 +02:00
0b89af4d7f
feat: add Quetre service and question icon
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Added a new service "Quetre" to services.json, providing a privacy-friendly front-end for Quora to enhance user privacy. Introduced a new question icon for this service for better visual representation.
2024-07-06 16:15:34 +02:00
f050096e52
Merge pull request 'Static Page Generator' (#5) from dev into main
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Reviewed-on: #5
2024-07-06 14:06:59 +00:00
18d434ab5b
Merge branch 'main' into dev
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
2024-07-03 13:49:59 +02:00
b3c3c7e1a9
feat: add server costs for July 2024
Included "Server Costs" under membership expenses to track costs more accurately. This adjustment ensures alignment with actual expenses related to membership services.
2024-07-03 13:49:07 +02:00
fa12209b03
Merge branch 'main' into dev
All checks were successful
Build and Deploy Static Site / build (push) Successful in 56s
2024-07-02 09:48:08 +02:00
fc6bf85068
fix(data): correct membership fee amount in finances.json
The membership fee for July was updated to 395 EUR. This adjustment corrects the discrepancy to reflect the accurate fee amount.
2024-07-02 09:27:50 +02:00
36a7b01ffd
fix(styles): refine button margin and dropdown shadow spacing
Adjusted the CSS selector to more accurately apply margins to specific button elements within card bodies, enhancing layout consistency. Corrected minor formatting issue in the dropdown menu's box-shadow property for improved code readability.
2024-07-01 15:35:50 +02:00
2e2327848f
fix(styles): refine button margin and dropdown shadow spacing
All checks were successful
Build and Deploy Static Site / build (push) Successful in 56s
Adjusted the CSS selector to more accurately apply margins to specific button elements within card bodies, enhancing layout consistency. Corrected minor formatting issue in the dropdown menu's box-shadow property for improved code readability.
2024-07-01 15:07:51 +02:00
e5f82fdc41
Merge branch 'main' into dev 2024-07-01 14:56:41 +02:00
a4540c1f41
chore: update .gitignore to include build directory
Added the 'build/' directory to .gitignore to exclude build artifacts from version control. This change helps keep the repository clean by avoiding unnecessary files. No functional code changes were made.
2024-07-01 14:53:33 +02:00
ee2d53a36d
feat: extend asset copying to include data directory
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Expanded the asset copying functionality to also handle the 'data' directory in addition to the 'assets' folder. This ensures that both static assets and data files are included in the output directory, streamlining the build process and ensuring all necessary resources are available in the generated static site.
2024-07-01 12:12:39 +02:00
d57046fa57
Merge branch 'main' into dev 2024-07-01 12:11:05 +02:00
3c5b8ebc33
feat(data): update membership fees for July
Updated the EUR membership fee income from 20 to 45.
2024-07-01 12:10:53 +02:00
5cdb9ad43b
feat: add filter to convert month number to name
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Added a custom filter `month_name` to convert month numbers to their full names in templates. Updated the Transparency Report title to use this filter, enhancing readability and user experience. This change ensures that month names are displayed instead of numeric values, making the report titles clearer and more user-friendly.
2024-07-01 12:06:30 +02:00
feb273a8b0
Merge branch 'main' into dev
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
2024-07-01 11:11:25 +02:00
7e89a67951
fix: include additional transparency data
Modified generate_transparency_table to include more detailed
transparency data by passing an additional boolean argument.
This change helps ensure all relevant data is captured and handled
properly, improving financial data accuracy and reporting.
2024-07-01 11:11:04 +02:00
8e81ba73b2
chore: remove Flask from requirements
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Removed Flask from the requirements.txt file as it is no longer needed for the project dependencies. This helps to streamline the dependency management and reduces potential security vulnerabilities that come with maintaining unnecessary packages.
2024-07-01 10:59:34 +02:00
3219a5019f
Merge branch 'main' into dev
All checks were successful
Build and Deploy Static Site / build (push) Successful in 1m0s
2024-07-01 10:51:12 +02:00
4f83a97f17
feat(build-dev): add --dev flag to generate static site
Added the --dev flag to the static site generation command in the build-dev workflow to ensure the development environment configurations are used during the build process. This change aims to align the build process with development-specific settings, enhancing consistency and correctness in the environment used for development builds.
2024-07-01 10:51:01 +02:00
69ef1f7a1a
feat: update README and asset paths for static site generation
All checks were successful
Build and Deploy Static Site / build (push) Successful in 1m0s
Switched the project description from a Flask application to a Jinja2 static website generator. Adjusted asset links in the base template to be relative, enhancing portability and simplifying deployments. These changes aim to better reflect the project's current architecture and usage.
2024-07-01 10:50:00 +02:00
b27ace9cb0
feat(build): add dev flag to static site generation
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Updated the build-dev CI workflow to run the static site generation with a development flag. This ensures the build script runs in the appropriate context for development environments. No issues referenced.
2024-07-01 10:47:28 +02:00
0b0f8bb3b2
fix(build): ensure .gitignore is included in temp site
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Added copying of .gitignore to the temporary static site location in both development and production build scripts. This prevents unnecessary files from being included in the new orphan branches, ensuring a cleaner and more efficient build process.
2024-07-01 10:37:42 +02:00
1434a3b552
Merge branch 'main' into dev
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
2024-07-01 10:34:24 +02:00
1c9e1d6c68
fix(ci): force push to 'pages-dev' branch in build-dev workflow
Changed the force push target from 'pages' to 'pages-dev' to ensure the dev build process does not interfere with the production pages. This helps maintain a clear separation between development and production environments, reducing the risk of unintentional overwrites.
2024-07-01 10:34:16 +02:00
22529bfa65
Some checks failed
Build and Deploy Static Site / build (push) Failing after 58s
2024-07-01 10:31:52 +02:00
9030c527ef
Merge branch 'main' into dev
Some checks failed
Build and Deploy Static Site / build (push) Has been cancelled
2024-07-01 10:28:54 +02:00
ae2742ca58
chore(ci): rename build workflow and update branch targets
Renamed 'build.yml' to 'build-dev.yml' to clarify its purpose for development builds. Updated branch triggers and orphan branch naming to 'dev' and 'pages-dev' respectively to distinguish development deployment processes from production. This enhances workflow clarity and separation of concerns in CI/CD practices.
2024-07-01 10:27:21 +02:00
d337e8a207
feat(ci): automate build and deploy for dev and main branches
Some checks failed
Build and Deploy Static Site / build (push) Failing after 59s
- Added a new GitHub Actions workflow for the development branch to build and deploy the static site.
- Modified the existing workflow to trigger on the main branch instead of the static branch.
- Refactored the main.py script for consistency in string quotation.

The new workflow simplifies deployment processes during development, ensuring seamless and automated integration and testing.
2024-07-01 10:24:24 +02:00
03c1885af1
Merge branch 'dev' into static
All checks were successful
Build and Deploy Static Site / build (push) Successful in 1m1s
2024-07-01 10:07:45 +02:00
22cea7ea5c
fix(build): simplify Python package installation
Condensed the installation commands to streamline the setup process. Removed redundant pip upgrade step to avoid potential conflicts and expedite build workflow. No change to the overall functionality or dependency management.
2024-07-01 10:07:32 +02:00
b8851c8049
Merge branch 'dev' into static
Some checks failed
Build and Deploy Static Site / build (push) Failing after 55s
2024-07-01 10:04:39 +02:00
61ccd25ab5
fix(build): correct Python command invocations for build
Updated the build script to use `python3` and `pip3` commands, ensuring compatibility with environments where Python 2 might be the default. Also added `--break-system-packages` flag to `pip3` install to handle specific package installations without breaking the environment.
2024-07-01 10:04:05 +02:00
438461f333
Merge branch 'dev' into static
Some checks failed
Build and Deploy Static Site / build (push) Failing after 57s
2024-07-01 10:01:07 +02:00
7d23e465e2
fix(build): switch to container for build jobs
Replaces `runs-on` with `container` to utilize a Docker container
for node:20-bookworm. This enhances consistency and reproducibility
by standardizing the build environment across different runs.
2024-07-01 09:59:48 +02:00
d03828724f
feat(workflows): add CI/CD pipeline for static site
Set up a GitHub Actions workflow to build and deploy the static site from the 'static' branch to the 'pages' branch. This workflow includes steps to install dependencies, generate the static site using Python, and handle deployment through Git configuration and git commands.
2024-07-01 09:58:59 +02:00
61de9ec81b
feat: convert Flask app to static site generator
Refactored the Flask application to generate a static site instead of running as a dynamic web app. Added a CI workflow to build and deploy the static site on pushes to the 'static' branch.

- Replaced Flask route handling with a function that generates HTML files using Jinja2 templates.
- Modified the argparse logic to trigger the static site generation.
- Updated the .gitignore file to exclude the build directory.
- Created a Forgejo Actions workflow to automate the build and deploy process.

This change improves performance and reduces server overhead by serving pre-rendered static content.
2024-07-01 09:56:04 +02:00
f9fa18a8c1
fix: update metrics endpoint URL
Changed the metrics route from "/_metrics/" to "/metrics/" for consistency and better readability. This should enhance usability and clarity for users accessing the metrics endpoint.
2024-07-01 07:10:13 +02:00
1e2d1e4119
feat: add support for current balances in metrics
Extended `get_transparency_data` function to allow current balances by adding an `allow_current` parameter. This change facilitates the inclusion of up-to-date balance information in the metrics output, enhancing the accuracy of financial reporting.
2024-07-01 07:06:19 +02:00
1acc142dba
feat: add production debug config and enhance data handling
Introduced a new debug configuration for production mode in VSCode, facilitating easier debugging in different environments. Additionally, updated the `get_transparency_data` function to handle year and month as strings, ensuring compatibility with subsequent operations. Added a necessary parameter to a function call in `main.py` to align with the updated function signature.
2024-07-01 07:04:47 +02:00
a37e8ec5c3
feat: add option to exclude current month data
Enhanced `get_transparency_data` to support an `allow_current` flag, preventing the inclusion of data from the current month. This ensures historical data analysis remains consistent when current month data might be incomplete. Updated calls to the function to pass appropriate parameters.
2024-07-01 06:57:16 +02:00
7ac2d0e63a
feat(data): add new membership fees entry to finances
Added entry for membership fees in July to track additional revenue correctly. This update ensures financial data completeness and accuracy. No functional changes to the application's logic.
2024-07-01 06:51:28 +02:00
3cd2c7e551
Merge branch 'dev' 2024-06-30 19:18:53 +02:00