Commit graph

93 commits

Author SHA1 Message Date
2ce269136f
fix: add named endblocks for template consistency
All checks were successful
Build and Deploy Static Site (Pride Theme) / build (push) Successful in 58s
Build and Deploy Static Site / build (push) Successful in 1m0s
Updated templates to use named endblocks for improved clarity and
consistency in the HTML structure. This enhances maintainability
and ensures that closing tags are explicitly associated with their
respective block names, reducing potential confusion.
2024-09-26 19:17:16 +02:00
9d005f06d8
style(templates): reformat HTML for better readability
All checks were successful
Build and Deploy Static Site (Pride Theme) / build (push) Successful in 56s
Build and Deploy Static Site / build (push) Successful in 1m1s
Tidied up the HTML structure across multiple template files to enhance code readability and maintainability. This involved mainly formatting changes like re-indenting, consolidating meta tags, and simplifying element structures.

No functional changes were made. These changes aim to improve the ease of future edits and reviews.
2024-09-24 14:45:24 +02:00
250daddcc6
feat: add 'membership-rallly' template and enhance matching
All checks were successful
Build and Deploy Static Site (Pride Theme) / build (push) Successful in 55s
Build and Deploy Static Site / build (push) Successful in 56s
Expanded the template matching condition to support templates starting with "membership". Added a new 'membership-rallly' template that extends the base 'membership' template, providing information about the Rallly Pro benefit for logged-in users and encouraging community support through donations.

This change improves the flexibility of template handling and introduces a specialized membership page aimed at enhancing user experience and engagement.
2024-09-24 14:43:17 +02:00
92238bcfa2
feat: add theme support and refactor assets
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Introduce support for themes by adding a `theme` parameter to the site generation process and as an argument to the main script. Created separate CSS files for different themes and adjusted the structure to accommodate the style changes. Also, updated the use of assets with new SVG images and logos.

Refactored HTML templates to dynamically select the theme and updated path references to images accordingly. Improved the development experience by adding a default "plain" theme and enhancing command-line argument parsing for theme selection.

Closes #7
2024-09-24 08:02:05 +02:00
01a1a3fa33
fix: update icon for forked repository links
All checks were successful
Build and Deploy Static Site / build (push) Successful in 55s
Replaced "code-fork" icon with "git-branch" icon to better reflect the concept of repository branches and forks. This change improves clarity and visual consistency in the interface.
2024-09-18 09:13:06 +02:00
0774b6760d
feat: add support for forked service indicators
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Enhanced the UI to distinguish forked services by adding a new `.fork` class with corresponding SVG styles. Updated HTML template to include links and icons for both homemade and forked services, improving service metadata visibility and user navigation.
2024-09-18 08:59:17 +02:00
4537aebc07
fix(ui): make dropdown button full width
All checks were successful
Build and Deploy Static Site / build (push) Successful in 59s
Updated the dropdown button to occupy full width for better responsiveness and improved UX, particularly on smaller screens. This change ensures a consistent layout regardless of device size.
2024-08-04 16:33:40 +02:00
9e8b54083a
feat: add dynamic timestamp to CSS cache-busting
All checks were successful
Build and Deploy Static Site / build (push) Successful in 1m2s
Included a timestamp in the static site generation to dynamically append to the CSS file version parameter. This ensures that users always get the latest CSS changes, reducing cache-related issues.
2024-08-04 16:24:17 +02:00
009ab87552
fix(base.html): prevent CSS caching issues
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Append a version query string to the base.css link to ensure users always load the most recent version of the stylesheet, addressing issues with outdated cached CSS on client browsers.
2024-08-04 16:20:49 +02:00
ccbe1b600d
feat: add consistent vertical spacing to button wrappers
All checks were successful
Build and Deploy Static Site / build (push) Successful in 59s
Added a CSS rule to ensure button elements inside the button-wrapper class have consistent vertical spacing except for the last child. This improves uniformity in the UI layout. Updated corresponding HTML to use the newly styled button-wrapper class for proper spacing and alignment.
2024-08-04 13:30:20 +02:00
2a054a7f78
feat(UI): enhance accordion and icon styling for consistency
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Improved the styling of homemade icons by setting explicit height and
width, ensuring they are consistently sized. Refined the layout of the
accordion header by adding flex display and centering alignment for
better visual alignment. Introduced new icon container styles to
standardize icon presentation and spacing.

These changes aim to provide a more polished and uniform user interface
experience, addressing inconsistencies and enhancing visual clarity.
2024-08-04 13:24:42 +02:00
bfcd7ae11f
feat: add tiny descriptions to services
Augmented the services JSON with "tiny_description" field for each service to provide a brief overview. This will enhance the user experience on the index page by displaying concise descriptions alongside service names in the accordion headers.

Improves service discoverability and user interaction by giving quick service context.
2024-08-04 13:10:38 +02:00
7dd217a78e
feat: replace accordion implementation with details/summary
Migrated accordion elements from a Bootstrap-based approach to
using the native HTML <details> and <summary> tags for better
accessibility and reduced reliance on third-party libraries.
Enhanced CSS for the accordion components to style hover effects
and manage open states effectively. Simplified icon handling
within accordion bodies.
2024-08-04 13:02:07 +02:00
ac9286bf7e
feat: add accordion component for services list
Replaced the services list layout with a new accordion component. This allows for a more organized and user-friendly display of services, facilitating better content management and improved user interaction. The CSS was updated to include styles for the accordion structure.
2024-08-04 12:59:43 +02:00
4049fa4953
chore: remove deprecated meta tag for onion location
All checks were successful
Build and Deploy Static Site / build (push) Successful in 2m38s
Eliminates the unused 'onion-location' meta tag from base.html.
This header is now set in the web server instead.
2024-07-25 21:35:57 +02:00
af29b0f3f5
feat: add onion location meta tag for Tor accessibility
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Included a `meta` tag in the base HTML template to provide the onion location for improved access through the Tor network. Enhanced context parameters to support this feature by adding the path generation logic. Updated argument parsing for better readability and consistency.

This change aims to enhance the privacy and accessibility of the site for users connecting via Tor.
2024-07-24 21:29:58 +02:00
440ef9828a
feat: add bridge data and display page for Matrix bots
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Integrated a new "bridges.json" file to list various Matrix bot bridges, including Telegram, WhatsApp, Discord, and more. Updated the main script to load this data and render it on a new "bridges" template. The new "bridges.html" template provides users with a clear and intuitive interface to view available bridges and their respective Matrix IDs.

Improves user experience by providing a dedicated page for bridge information.
2024-07-19 09:49:32 +02:00
04a26c180a
feat: add homemade badge for in-house services
All checks were successful
Build and Deploy Static Site / build (push) Successful in 1m1s
Implemented a "homemade" badge to distinguish services developed by Private.coffee from third-party services. Enhanced service data with a "homemade" flag and updated the frontend to display a special icon when this flag is set. This provides users with clear visual feedback, enhancing transparency about service origins.
2024-07-16 13:40:37 +02:00
8c88f71740
feat: enhance SEO with meta tags and add new logo
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Added descriptive meta tags to improve SEO and social media sharing previews. Integrated a new logo and updated the favicon to enhance the site's branding. These updates aim to provide better visibility and user experience.
2024-07-15 17:32:15 +02:00
d0dde89ab2
fix(template): close extra div in navbar
Added a missing closing `div` tag in the navbar section of the base template to ensure proper HTML structure. This prevents potential rendering issues and maintains consistent layout across all pages using this template.
2024-07-15 17:30:41 +02:00
4921342f1e
fix: add hyperlink to rainbow icon in footer
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Added a hyperlink to the rainbow icon in the footer to enhance user navigation by linking to the pride.coffee website. This improves accessibility and provides users with additional resources related to our mission.
2024-07-11 21:55:17 +02:00
614c1870a8
feat(template): add last commit shield to footer
All checks were successful
Build and Deploy Static Site / build (push) Successful in 58s
Enhanced the footer to display a last commit shield for the project. Provides immediate visibility of the latest commit status, improves transparency, and encourages repository engagement.
2024-07-11 21:53:48 +02:00
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
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
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
48f6055d1d
feat: update home header styling and messaging
Replaced "Pride" references with "Privacy" to revert pride month styling. Updated header background to primary gradient and replaced SVG with an image for improved maintainability. The changes aim to enhance visual appeal and clarity of the site's purpose.
2024-06-29 11:45:11 +02:00
fefac8af6e
Merge branch 'main' into dev 2024-06-18 18:43:23 +02:00
a664611f2d
feat(dropdown): add dropdown menu to service links
Enhanced the UI by adding dropdown menus to service links. This includes new styles for dropdowns in CSS and corresponding changes in the HTML templates. Also, extended `services.json` to support alternative links with Tor options for better accessibility.

Adjusted the maximum width for service cards to improve layout on larger screens.
2024-06-18 12:18:43 +02:00
2aed2b7cb4
fix: update room link to 'coffeespace'
Replaced the outdated room link to '#private-coffee:private.coffee' with the correct '#coffeespace:private.coffee' to ensure users are directed to the updated Private.coffee space.
2024-06-16 08:22:12 +02:00
7f8592ea29
fix: update membership button text for inclusivity
Changed the text on the membership button from "JOIN & REBEL" to "JOIN & SUPPORT" in the base template. This adjustment better reflects the community spirit and aims to be more inclusive, encouraging broader participation. The update is part of ongoing efforts to make our digital spaces more welcoming and representative of our values.
2024-06-14 09:41:16 +02:00
b29ba5b52d
feat: Enhance membership section with CTA button
Updated membership information with pricing details and added
a call-to-action button linking to the join page. This aims to
increase engagement and improve user experience by providing
clear steps for potential new members.
2024-06-12 12:07:44 +02:00
54cfe65cd5
feat(icons): add LGBTIQ+ rainbow icon
Introduced a new LGBTIQ+ rainbow icon SVG to enhance visual representation and inclusivity on the platform. This update includes the integration of the icon within the base template, specifically at the footer section to signal support for the LGBTIQ+ community. This change aligns with our commitment to diversity and inclusiveness.
2024-06-08 13:41:04 +02:00
7e8a6e655b
Merge branch 'pride' into dev 2024-06-08 13:25:05 +02:00
abb6c8def0
feat(base.html): improve navbar responsiveness
Removed the 'sticky-top' and 'navbar-shrink' classes from the navbar in base.html to enhance its responsiveness and adaptability across different screen sizes. This change aims to offer a more streamlined user experience by ensuring the navbar's style and position remain consistent and unobtrusive, particularly on mobile devices where screen real estate is limited.
2024-06-08 09:16:42 +02:00
8b4f7eb6ce
feat: Introduce Pride theme and improve layout readability
- Added '.bg-pride-gradient' class to CSS for a colorful background gradient celebrating Pride Month, replacing the previous primary gradient. This change visually signifies our support for the LGBTQ+ community.
- Replaced the header logo with a detailed vector image to enhance visual engagement.
- Reformatted the HTML structure to improve code readability and maintainability. This involves adjusting indentation and whitespace, making the code easier to follow and modify.
- Updated section headers and content organization in the index page to enhance information flow and user engagement.

This update aligns with the initiative to celebrate and acknowledge Pride Month, reflecting our commitment to inclusivity. Additionally, the introduction of a more detailed logo and the restructured HTML seeks to enhance overall site aesthetics and user experience.
2024-06-07 22:51:24 +02:00
2b7ab71476
feat(icons): add LGBTIQ+ rainbow icon
Introduced a new LGBTIQ+ rainbow icon SVG to enhance visual representation and inclusivity on the platform. This update includes the integration of the icon within the base template, specifically at the footer section to signal support for the LGBTIQ+ community. This change aligns with our commitment to diversity and inclusiveness.
2024-06-07 18:54:15 +02:00
a874ae944a
feat(index.html): update call-to-action text
Updated the call-to-action text in the card body from "Join and support us" to "Join or donate" to offer website visitors a clearer choice between joining the community or making a donation. This change aims to streamline user decisions and potentially increase conversions by directly addressing the primary actions users can take to support the open-source community.
2024-06-07 18:13:54 +02:00
1032650185
feat(index.html): Update membership CTA messaging
Updated the call-to-action text from "Join and rebel" to "Join or donate" on the homepage membership section. This change aims to communicate a more inclusive and supportive stance towards potential members, encouraging broader participation in the open source community. The adjustment reflects a strategic shift to emphasize collaboration and support over confrontation.
2024-06-07 18:13:00 +02:00
1a10e8968b
feat: Enhance financial transparency
Introduced detailed financial reporting on a per-category basis, including notes for specific expenses and administrative costs in the data model. Enhanced the financial transparency feature by integrating a monthly financial report generator in the backend, enabling dynamic generation and display of detailed financial reports on the website. This commit also includes a new transparency report page, enriching user engagement with detailed insights into financial allocations and expenditures.

- Refactored finance-related data structures to include notes about specific financial activities.
- Extended the financial reporting capabilities to generate and display detailed notes and categorizations of expenses and incomes, improving transparency.
- Updated the UI to display these detailed reports, ensuring that users have access to comprehensive financial information.

This change aligns with our commitment to transparency and accountability by providing clear, detailed financial information to our members and donors.
2024-06-03 16:12:21 +02:00
b013430d8b
fix: update membership button text for inclusivity
Changed the text on the membership button from "JOIN & REBEL" to "JOIN & SUPPORT" in the base template. This adjustment better reflects the community spirit and aims to be more inclusive, encouraging broader participation. The update is part of ongoing efforts to make our digital spaces more welcoming and representative of our values.
2024-06-02 20:45:53 +02:00
756524b118
feat(membership info): Refine membership details
Updated the membership section in `membership.html` to provide a clearer and more comprehensive explanation of how membership fees are utilized, emphasizing support for day-to-day activities and services for members and the public. Additionally, modified the call to action for joining, inviting prospective members to contact us for more information instead of direct solicitation to join. This change better outlines the value and purpose behind membership fees and encourages engagement through personal interaction.

These updates aim to enhance transparency regarding fund usage and to foster a more personalized connection with potential members, which could improve member recruitment and retention rates.
2024-05-30 11:45:01 +02:00
e77fc521bf
feat: introduce dynamic SVG icon functionality
Implemented a new template filter in Flask to dynamically render SVG icons, allowing for cleaner HTML templates and easier icon management. Added `coffee` and `envelope` SVG icons to the project's asset directory. This change not only streamlines the incorporation of new icons but also enhances the maintainability of the codebase by centralizing icon resources and reducing HTML clutter. Modified existing HTML templates to use this new dynamic icon rendering method, replacing hard-coded SVG and img tag icon implementations with the newly created template filter.

This update significantly improves the way icons are handled throughout the application, providing a more scalable and efficient approach to managing and displaying graphical elements.
2024-05-29 18:57:32 +02:00
d3e4502cb2
feat: add service icons and clean up templates
Updated `services.json` to include icon data for better visual identification of services. Also, removed unused services (Nitter and Proxigram) to streamline service offerings and improve maintainability. In `index.html`, amended the template to dynamically display these icons, enhancing the UI/UX. This change makes the service list more visually appealing and intuitive, directly linking visual cues to services for quicker recognition.

Additionally, this update contributes to a cleaner codebase by removing references to services no longer in use, thus improving code quality and reducing potential confusion regarding supported services.
2024-05-29 15:33:18 +02:00
2a174aa342
feat: Enhance data structure and transparency features
- Moved `finances.json` and `services.json` to a new `data` directory for better organization.
- Introduced `get_latest_month` function in `helpers/finances.py` to dynamically determine the latest financial reporting period.
- Updated `main.py` to use the new data paths and implement dynamic generation of the transparency report date, improving the clarity of financial reports.
- Modified `membership.html` template to display financial report for the dynamically determined latest month, enhancing transparency for donations.

These changes aim to improve data management, make financial reporting more transparent, and ensure users have access to the most current financial information. Moving JSON files to a dedicated directory helps with organizing resources better. By dynamically determining the latest financial period, the application now avoids hard-coded dates, increasing accuracy and reducing maintenance effort.
2024-05-29 15:04:57 +02:00
6033a47b6a
feat: enhance financial transparency with dynamic tables
Implemented dynamic financial transparency tables to automatically generate and display monthly financial data for memberships, including incomes, expenses, and balances across multiple currencies. This change involved adding a new `finances.py` helper to process financial data and integrate it with the existing Flask application. Additionally, adjusted the CSS for better alignment and readability of currency columns in the transparency tables.

- Introduced a `generate_transparency_table` function to generate HTML tables dynamically based on the latest financial data.
- Expanded the `main.py` Flask route for the membership page to include financial data rendering, ensuring up-to-date information is presented to users.
- Removed static HTML table from the membership template in favor of dynamically generated content, offering real-time insight into finances.
- Adjusted the width and text alignment of currency columns in `base.css` for enhanced table aesthetics and readability.

This update significantly improves the transparency of financial information, making it easier for members to understand the flow of funds within the organization.
2024-05-29 14:50:52 +02:00
d1145c4953
refactor(membership.html): simplify account holder detail
Simplified the display of the account holder's information in the membership donation section by removing the verbose description about the organization's mission and digital sovereignty. This change makes the donation information more concise and focused, enhancing readability and clarity for potential donors, especially Olafs. The decision to streamline this section was driven by Olaf's feedback indicating a preference for more straightforward donation instructions.
2024-05-28 20:39:35 +02:00
9c6ef603f9
fix: update financial figures in membership template
Adjusted the total income and expense figures in the `membership.html` template to reflect the latest financial data. This update ensures that users are provided with the most current and accurate financial information regarding membership costs and income. Accurate financial reporting is crucial for transparent and trustful user relationships.
2024-05-28 19:09:00 +02:00
02008cccec
feat(membership): update account balance display
Updated the end-of-month account balance displayed on the membership page to reflect more accurate and recent data. This change ensures users have up-to-date financial information, enhancing transparency and trust in our services.
2024-05-28 19:07:36 +02:00
506a0a4798
feat(membership): update fees and costs
Updated the membership fees and server costs in the membership page to reflect the new fiscal year adjustments. Membership fees have been increased from €365.00 to €390.00 to accommodate enhanced member benefits. Additionally, server costs have been revised from €424.65 to €430.04 due to an uptick in maintenance expenses. These changes ensure that the organization remains financially healthy and continues to provide high-quality services to its members.
2024-05-28 19:06:06 +02:00
cfe6f6d891
feat(terms-page): enhance layout and readability
Refactored the Terms of Service page to improve its structure and aesthetic appeal. Introduced centered headings, more prominent section dividers, and simplified the presentation of content for better user engagement and readability. These changes aim to make the Terms of Service easier to navigate and understand, hopefully increasing the likelihood that visitors will read and comprehend their obligations and our commitments.

No changes to the contents of the terms were made.
2024-05-28 07:41:35 +02:00