Commit graph

333 commits

Author SHA1 Message Date
99a5f96157
Merge pull request 'New Membership Page and other changes' (#4) from membership-page into main
Reviewed-on: #4
2024-05-30 10:15:09 +00:00
2bbdc4034b
feat(css): enhance large icons with primary color fill
Introduced a new style rule for large icons to utilize the primary color as their fill, improving visual consistency across the UI. This change ensures that larger icons blend seamlessly with the overall color scheme of the interface, enhancing user experience and maintaining brand identity.
2024-05-30 12:11:51 +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
45e6b36260
feat: enhance icon loading robustness
Improved the `icon` function to handle attribute errors gracefully by falling back to an alternative reading method. This change addresses potential situations where the `file.response.file` attribute does not exist, ensuring icons are consistently loaded without causing runtime errors. The fallback method, `file.response.read()`, provides a reliable alternative for retrieving SVG files, thus enhancing the application's resilience and user experience.
2024-05-29 19:02:19 +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
7527675201
Merge branch 'main' into membership-page 2024-05-29 07:32:26 +02:00
8378573fb1
feat(services): Update YOURLS service details
Updated the URL and changed the status from NOK to OK for the YOURLS service, reflecting its new operational status and host. This change ensures users are directed to the correct, functioning website for URL shortening services. Additionally, reversed the exclusions, making YOURLS visible in both index and simple search results, thereby improving its discoverability for users.
2024-05-29 07:31:48 +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
4ed9a547be
feat(finances): Add initial 2024 financial records
Introducing a new `finances.json` to track our financial transactions for 2024, marking the beginning of a structured financial data management approach. This addition includes detailed records for membership fees, donations, server costs, domain names, operating expenses, and currency conversions for April and May. The setup facilitates more transparent and efficient financial planning, with support for multi-currency transactions (EUR, BTC, and XMR), showcasing our commitment to embracing diverse donation methods. This step is pivotal for enhancing our fiscal tracking and analysis capabilities, ensuring better financial health and resource allocation moving forward.
2024-05-28 20:38:38 +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
0601a39829
feat: add dev mode warning and styling
Introduced a development mode toggle for the app, which, when enabled, displays a distinctive warning on every page to inform users they are viewing a development version of the site. This warning is styled for clear visibility. Development mode is toggled with a new `--dev` command line argument or by setting an environment variable. The change aims to prevent confusion between the development and production environments for both developers and early users.

- Added new CSS rules for a warning alert style in `base.css`.
- Modified `main.py` to check for a development mode flag and pass a warning message to the template if the flag is set.
- Updated `base.html` to include the warning message when present.
- Added a new template for the development warning message.
2024-05-27 17:37:30 +02:00
22ae56dad1
refactor(privacy-policy): streamline content layout and styling
Overhauled the privacy.html template and base.css to enhance readability and user experience. The privacy policy content has been divided into distinct sections with added padding and a solid border at the bottom for better visual separation. This restructuring aims to make the information more accessible and easier for users to navigate, aligning with best practices for web content accessibility and design. Additionally, updated the heading style in privacy.html to feature a centered, more prominent design, reflecting a modern aesthetic approach.

No changes to the text of the policy were made.
2024-05-27 17:25:21 +02:00
0c8f10b732
feat(legal): streamline header for clarity
Removed the "Legal Notice" header from the legal.html template to enhance layout clarity and focus user attention on the essential legal information. This change simplifies the page structure, making it easier for users to navigate and understand the legal notices of private.coffee immediately upon landing on the page.
2024-05-27 13:32:14 +02:00
29066db5f6
feat(legal-page): Remove primary gradient from section
Removed the bg-primary-gradient class from a section in the legal.html template to align with the updated design guidelines aiming for a cleaner, more professional look. This change contributes to the website's overall visual cohesion and improves readability.
2024-05-27 13:31:57 +02:00
e73d46bdb8
fix: standardize BTC balance display in membership template
Ensure consistency in the display of Bitcoin (BTC) balances by adjusting the number of decimal places to eight, aligning with standard cryptocurrency precision norms. This update promotes readability and uniformity across financial representations in the membership section.
2024-05-26 17:43:33 +02:00
f92c9294e7
fix: remove plus sign from 0 ETH in membership display
Corrected the display of Ethereum (ETH) income in the membership summary table to not show a misleading "+" sign before a zero value. This change ensures consistency and clarity in financial reporting across different cryptocurrencies, eliminating any confusion for users analyzing their income streams.
2024-05-26 17:41:51 +02:00
cb51038db4
feat: Add positive sign to account balance in membership page
Added a positive sign to the account balance display at the start of the month in the membership page. This minor but critical change improves clarity for users by explicitly indicating that the balance is a positive amount, enhancing their understanding of their financial status at a glance. This adjustment aligns with user feedback requesting clearer financial representations, thereby improving user experience.
2024-05-26 17:41:15 +02:00
7902aec1b1
feat: update membership and financial transparency details
Updated the Bitcoin address for donations, enhancing the convenience for members to contribute in cryptocurrencies. Improved the clarity and precision of the financial transparency section by specifying the report for May 2024, adjusting currency and cryptocurrency figures to reflect actual transactions, and introducing account balance tracking at the start and end of the month. Adjusted table styling in the CSS to ensure financial data is presented clearly, with currency columns widened and text aligned for better readability.

These changes aim to increase transparency, trust, and ease of contribution among members, supporting the organization's commitment to accountability and member involvement in its financial health.
2024-05-26 17:40:03 +02:00
72d7b5346e
refactor: Clarify Private.coffee's mission in web texts
Updated descriptions in 'base.html' and 'simple.html' to better reflect Private.coffee's identity as a privacy-focused non-profit association. The new descriptions emphasize the organization's commitment to privacy and digital sovereignty, aligning more closely with its objectives and activities. This change ensures that website visitors receive a clearer understanding of Private.coffee's mission right from their first interaction, potentially improving engagement and support for its privacy advocacy efforts.
2024-05-26 17:39:37 +02:00
78b15b1b6d
feat: Enhance welcome message with room links
Updated the welcome section in `simple.html` to encourage newly registered users to join specific Private.coffee rooms. Added direct links to key community spaces including general support and off-topic rooms, promoting engagement and providing immediate access to support and discussions. This change aims to increase user interaction and support community growth by making it easier for users to find and join relevant conversations right from the start.
2024-05-26 17:01:41 +02:00
61118bf5b9
feat(membership donations): Update donation details
Updated the donation details in the membership section to be more inviting and informative for non-members. This includes a clearer call to action for bank donations and a minor clarification in the cryptocurrency donations section. The account holder's name is now highlighted for better visibility, and formatting was adjusted for improved readability.

The update aims to encourage donations by making the process more transparent and emphasizing how contributions directly support our activities and service expansion.
2024-05-26 16:28:27 +02:00
1f938f008e
feat(membership): update crypto donation options
Updated the cryptocurrency donation options in the membership page. Bitcoin (BTC) and Ethereum (ETH) addresses are now marked as "Coming soon™", reflecting their upcoming availability for donations. Additionally, improved the display of the Monero (XMR) address for better clarity by enclosing it in code tags. Introduced OpenAlias support with an easy-to-remember alias for donations, enhancing user experience and donation process simplicity. Also, refined the financial table by fixing a markup error to ensure proper display.

This change aims to keep our members informed about the donation options available and to streamline the donation process, making it more accessible and user-friendly. The introduction of an Open-like Alias further simplifies the donation process for users who prefer using human-readable addresses over traditional cryptocurrency addresses.

The markup adjustment in the financial table ensures consistency and readability across the website.
2024-05-26 16:21:55 +02:00
93a42c98dd
feat: add Monero address to membership page
Updated the membership page to include a specific Monero (XMR) cryptocurrency address. This enhancement allows members to make contributions using Monero, providing greater flexibility and privacy for donations.
2024-05-25 21:38:05 +02:00
78cfa76a6d
feat(membership report): enhance crypto visibility
This update introduces additional columns in the membership financial report to separately list cryptocurrency incomes such as Bitcoin (BTC), Ethereum (ETH), and Monero (XMR). A new CSS class, `currency-col`, ensures these columns maintain a consistent and readable width without wrapping, improving the overall clarity and usability of the report. This change addresses a growing need to track and report digital currency transactions distinctly from traditional currency, reflecting the organization's evolving financial landscape and responding to the increasing relevance of cryptocurrencies in its operations.
2024-05-25 21:33:30 +02:00
59cd161c47
feat(membership page): redesign with enhanced UI and added crypto donations
Redesigned the membership and donations page to improve user engagement and visual appeal. The update introduces a more organized layout with separate sections for membership details, bank, and new cryptocurrency donation options. Each section is now contained within card layouts, offering a cleaner and more accessible interface. Additionally, a new transparency report section has been added to foster trust through financial openness. This change aims to encourage more memberships and donations by making information clearer and adding modern donation options like Bitcoin, Monero, and Ethereum.
2024-05-25 18:06:25 +02:00
b0b6a4468a
refactor: rename .subtitle to .slogan in CSS and HTML
Unified the terminology across CSS and HTML by renaming the class `.subtitle` to `.slogan` to better reflect its content purpose. This change ensures consistency in naming conventions and improves readability, aligning the class name with its usage within the site framework, specifically relating to the section that emphasizes the site's key message.
2024-05-24 17:13:13 +02:00
7592a711c7
feat: hide subtitle in base layout
Hid subtitle across the application by adding a CSS rule to not display elements with the `.subtitle` class. This change aligns the UI more closely with the minimalist design ethos the project aims to embody, reducing visual clutter and focusing user attention on the primary content. Affected areas primarily include page headers and footers where the subtitle was previously displayed.
2024-05-24 17:01:57 +02:00
4f6e170a79
feat(css): add margin to subsequent primary buttons in cards
Introduces a margin-top rule for primary buttons within `.card-body`, specifically targeting all but the first button. This change ensures consistent spacing between stacked buttons, enhancing the visual layout and overall user interface within card components. The adjustment caters to the need for clearer visual separation in dense UI areas, particularly where multiple actions are presented in a confined space.
2024-05-24 14:41:32 +02:00
b1d856a702
feat: streamline navbar UI and cleanup base layout
Updated the padding in the navbar links for a more compact appearance, enhancing user interface clarity and consistency. Added margin auto to `.navbar-btn` for better visual symmetry, contributing to a more polished overall layout. Removed unnecessary line breaks (`<br>`) in the base template for a cleaner, more streamlined code and user experience. These adjustments align with our continuous efforts to improve UI aesthetics and usability.
2024-05-24 14:36:43 +02:00
39e6ca161e
feat: enhance responsiveness and clean file references
Improved the website's responsiveness by refining the CSS for navigation and general layouts, ensuring a better user experience on devices with a maximum width of 768px. Revised the CSS to introduce clearer sections for general and responsive styles, making the stylesheet easier to navigate and maintain.

Additionally, updated HTML templates to remove query strings from asset references, promoting better caching practices. This change also includes minor text normalization for consistency in presentation, specifically in branding elements.

The alterations aim to provide a more uniform and accessible interface across various device sizes, focusing on mobile-first design principles. By cleaning up asset references, the website's loading times and cacheability are expected to improve, further enhancing user experience.
2024-05-24 14:21:26 +02:00
f0e60a18ce
feat(css): Enhance mobile responsiveness and theme styling
This update introduces improved responsiveness for mobile devices, scaling down font sizes for the '.special-header' within 'h2' elements and the standalone '.special-header' class. The adjustments ensure better readability and experience on smaller screens. Alongside, the commit revamps the primary button and text styles in the CSS, aligning with the theme's aesthetic enhancements. These changes contribute to a more cohesive visual identity and improved user interaction across various device types.

In addition, minor HTML tweaks enhance navigability and accessibility. Specifically, the Matrix link in 'index.html' is now clickable, directing users to the relevant chat platform, thus improving user engagement and connectivity. A missed update in the 'base.html' introduces a potential placeholder for additional navigation elements, suggesting a direction for future UI/UX improvements.
2024-05-24 13:40:40 +02:00
e77e53e020
feat: Enhance Navigation Bar Layout
Update base HTML template to expand navigation bar on medium-sized screens and above.

This change enhances the user experience by allowing for more flexible layout arrangements, especially when viewed on larger devices. This may impact layouts used in various parts of the application.
2024-05-09 10:50:05 +02:00
0ae7d12240
Subject: Fix navbar styles for better usability
The commit simplifies the base HTML template by removing unnecessary classes and elements, improving the overall user experience and making it more accessible. This change streamlines the navigation menu, allowing users to easily navigate through the site.
2024-05-09 10:33:22 +02:00
10a4d90622
feat: introduced Private.coffee licensing info
Added MIT license information and project attribution comments to the CSS and HTML base templates as part of aligning with open-source compliance for the Private.coffee project. Ensures users and developers are informed about the licensing and origin of the code, promoting transparency and legal clarity.

This aligns the project's foundational files with open source standards, fostering a community of contribution and respect for intellectual property.
2024-05-08 19:53:15 +02:00
f52e2302b9
feat(web): add dynamic titles to page templates
Introduced unique, descriptive titles to the legal, membership, privacy, and terms templates to improve SEO and user navigation. Previously, these pages inherited a generic title from the base template. Now, each page specifies its own title block, enhancing browser tab legibility and potentially boosting page rankings in search engine results.
2024-05-08 19:24:50 +02:00
0000c4e892
feat: update primary theme color and adjust style variables
Revised the primary theme color to a more vibrant shade and adjusted related style variables for consistency across the UI. This change enhances the visual appeal and user experience by introducing a fresher, more engaging color palette. Updated variables include primary, secondary, success, info, warning, and danger colors along with their associated text, background, and border utilities to ensure coherence throughout the application's design.
2024-05-08 19:20:37 +02:00
c10116c019
feat(services): exclude YOURLS service from indexes
Updated `services.json` to mark YOURLS for exclusion from both indexing and the simplified search feature.
2024-05-07 15:35:20 +02:00
234f4f6cd0
fix: update service statuses and visibility settings
Corrected the operational status of two services: Invidious is now marked as 'OK', indicating it is operational, and the URL shortener service at private.cf is labeled 'NOK' to reflect a current issue preventing its use. Additionally, adjusted visibility settings for one service, opting to exclude it from both index and simple views, likely for maintenance or privacy reasons. These updates ensure users receive accurate service availability information and help maintain the site's usability and trustworthiness.
2024-05-07 14:45:41 +02:00
6972fd676a
feat(services): add HedgeDoc to service listings
Added HedgeDoc, an open-source collaborative markdown editor, to our service listings in `services.json`. This allows users to discover and utilize HedgeDoc for collaborative document editing and markdown support directly from our platform. This addition enhances our suite of tools by providing a valuable resource for teamwork and documentation projects.
2024-05-07 14:38:33 +02:00
d42b6b5200
feat: update service listings and improve documentation
Swapped the listings for Invidious and Piped, including their descriptions and status, to reflect current service offerings and operational status accurately. Enhanced the UI layout in the base template for better navigation and clarity in service support actions. Membership and donation information has been expanded to include details on statute access, association joining methods, and legal requirements for data storage, emphasizing transparency and community involvement. Privacy policy updates include clarified data collection practices, usage specifics, and storage details, aligning with legal standards and user expectations. Also, terms of service now include provisions against harassment, aligning with community guidelines and safety.

These changes aim to improve user experience, ensure up-to-date information, and highlight the organization's commitment to privacy, transparency, and community safety.
2024-04-26 11:51:46 +02:00
303b2e4dad
feat(services): Excluded Nitter from index and simple page
Updated the services.json to exclude Nitter from both index and simple search queries. This change is intended to streamline search results and improve the user experience by removing less relevant or redundant service listings. The adjustment ensures that our search functionality becomes more efficient and user-centric, focusing on services that are of higher importance or relevance to our user base.

This strategic exclusion might impact how users discover services, potentially improving overall satisfaction with search results by reducing clutter and enhancing the visibility of remaining services.
2024-04-23 19:54:13 +02:00
a6157c1f1e
feat: add CLI for server config
Introduced argument parsing to provide command-line options for configuring the server port and enabling debug mode, enhancing flexibility for local development or deployment needs. The changes include adjusting string quotes for consistency and minor formatting improvements.

This addition allows users to start the web server with custom configurations without modifying the source code directly, making it more convenient to run in different environments or debug as needed.
2024-04-17 10:45:28 +02:00
ddf20bbe69
feat(README): add support badge
Introduced a new "Support Us!" badge to the README.md to encourage contributions and support for Private.coffee. This badge not only visually enhances the repository's appeal but also provides a direct link for potential supporters to contribute, fostering a stronger community engagement.

The badge leverages custom styling and is powered by Private.coffee's own badge service, ensuring consistency with the project's branding and identity. This addition aligns with efforts to increase visibility and support for our open-source work.
2024-04-17 09:38:03 +02:00
jupfi
fbc6251c5d Made kumi happy. 2024-04-14 20:53:10 +02:00