Commit graph

160 commits

Author SHA1 Message Date
Kumi f0ef0667a0
refactor(services): merge Piped and Invidious entries
Combined Piped and Invidious into a single service entry in the JSON file to avoid redundancy and simplify maintenance. Adjusted the descriptions and links accordingly to reflect the merged entry.
2024-06-18 14:26:50 +02:00
Kumi 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
Kumi b47782b5e6
fix(finances): update EUR server costs in finances.json
Updated the server costs in EUR to reflect the latest billing.
Ensures financial records are accurate and up-to-date.
2024-06-14 14:29:45 +02:00
Kumi ca016957cf
fix(data): update membership fee income in finances.json
Increased the monthly membership fee income to date from 50 EUR to 350 EUR. This change ensures accurate financial reporting and budget planning.
2024-06-14 09:26:10 +02:00
Kumi 31b6f3325c
fix: update server costs in finances.json
Adjusted the EUR server costs entry in finances.json to reflect the recent increase in expenditures. This ensures financial data accuracy and up-to-date budgeting.
2024-06-12 12:45:22 +02:00
Kumi 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
Kumi d7c309a585
feat: add VSCode debug configuration for Python
Introduces a new VSCode debug configuration to streamline debugging for Python scripts. This configuration includes settings to launch the main.py program using the integrated terminal within the current workspace and sets an environment variable for development purposes.
2024-06-12 12:07:29 +02:00
Kumi 47c2fa9455
fix(finances): update server costs in EUR
Adjusted the server costs in the finances dataset to reflect the latest expense of -85.62 EUR. This ensures the financial records are accurate and up-to-date.
2024-06-12 12:00:40 +02:00
Kumi 7e8a6e655b
Merge branch 'pride' into dev 2024-06-08 13:25:05 +02:00
Kumi 5f1de8b4f0
feat: Improve responsive design for larger screens
Adjust the media query breakpoint to 991px to enhance the responsive layout for devices with larger screens. Added specific styling for `p.text-center.special-header` to increase the font size for improved readability. Optimized CSS to ensure primary buttons and navigation elements adapt more smoothly across a wider range of device widths. These adjustments make the UI more flexible and visually accessible, addressing user feedback on readability and interaction with key UI elements on tablets and smaller laptop screens.
2024-06-08 09:17:13 +02:00
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi e37aff88a3
feat(finances): increase server costs in budget
Updated the budget to reflect a more accurate estimation of monthly server costs. The increase from EUR 21.94 to EUR 69.67 addresses recent upgrades and higher usage rates, ensuring the budget more closely matches operational expenditures. This change is crucial for maintaining financial transparency and aids in future planning.
2024-06-05 14:01:54 +02:00
Kumi 5e20c5f225
feat(finances): Add membership fees to budget
Introduce a new "Membership Fees" category in the financial data, with an initial amount of 50 EUR. This update is crucial for providing a more comprehensive view of our income streams alongside our expenditures, ensuring our budget reflects all financial aspects accurately. This addition aids in better financial planning and resource allocation for future projects and needs.
2024-06-03 18:36:48 +02:00
Kumi 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
Kumi f9c23a6fca
feat: Add uWSGI config for privatecoffee-dev
Introduce a new uWSGI configuration for the Private.coffee development environment. This setup specifies the main application module, user/group IDs, process management settings, Python plugin usage, virtual environment path, working directory, environment variables, and socket ownership settings. It is tailored to streamline development workflows by ensuring that the server environment closely mirrors production settings while incorporating development-specific features such as debug mode. This addition marks a foundational step in improving local development setup and potentially eases the transition between development and production environments.

This configuration uses environment variables to flag development mode, enabling enhanced logging and debug capabilities without affecting the production settings. It also outlines the setup for socket communication and permissions, ensuring secure and efficient inter-process communication during development.

The choice of uWSGI parameters and settings was made to optimize resource usage and facilitate a more controlled development environment, aiming for consistency across development and deployment stages.
2024-06-03 08:33:31 +02:00
Kumi 30e23957c0
feat: enable index and simple index display for Rallly
Removed restrictions on a Rallly that previously excluded it from being displayed on the index pages. This change makes the service more visible and accessible to users, enhancing discoverability. This adjustment aligns with efforts to improve the user experience by ensuring all relevant services are easily findable.
2024-06-03 06:59:19 +02:00
Kumi b3ae436679
feat: enable index and simple index display for Rallly
Removed restrictions on a Rallly that previously excluded it from being displayed on the index pages. This change makes the service more visible and accessible to users, enhancing discoverability. This adjustment aligns with efforts to improve the user experience by ensuring all relevant services are easily findable.
2024-06-03 06:55:38 +02:00
Kumi 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
Kumi afae1a0531
feat: Add uWSGI config for privatecoffee-dev
Introduce a new uWSGI configuration for the Private.coffee development environment. This setup specifies the main application module, user/group IDs, process management settings, Python plugin usage, virtual environment path, working directory, environment variables, and socket ownership settings. It is tailored to streamline development workflows by ensuring that the server environment closely mirrors production settings while incorporating development-specific features such as debug mode. This addition marks a foundational step in improving local development setup and potentially eases the transition between development and production environments.

This configuration uses environment variables to flag development mode, enabling enhanced logging and debug capabilities without affecting the production settings. It also outlines the setup for socket communication and permissions, ensuring secure and efficient inter-process communication during development.

The choice of uWSGI parameters and settings was made to optimize resource usage and facilitate a more controlled development environment, aiming for consistency across development and deployment stages.
2024-06-02 20:43:53 +02:00
Kumi 6ee7124922
feat(finances): add new server costs for June 2024
Introduced a new financial record for server costs in June, ensuring accurate and up-to-date tracking of our operating expenses. This change addresses the need for precise financial monitoring and forecasting as our infrastructure scales.

Continuously updating this data is crucial for maintaining budget accuracy and allocating resources wisely.
2024-06-02 20:38:26 +02:00
Kumi 2e6b9b2f72
feat: add wishthis service info and icon
Introduced 'wishthis', a new service for creating wishlists, to the services directory and included a custom gift icon for its representation. This update enhances the app's directory with more diverse options for users interested in list-making services, improving usability and visual appeal.
2024-05-31 18:24:18 +02:00
Kumi fec90d9bcc
feat(icons, services): Add LibreTranslate service and icon
Added LibreTranslate to the list of services in `services.json`, including its description, status, and links. A corresponding translate icon has been introduced in the assets to visually represent this new service. This expansion aligns with our aim to offer a broader suite of self-hosted applications, enhancing our platform's utility and user experience by integrating versatile language translation capabilities.
2024-05-30 18:03:36 +02:00
Kumi 95387eafae
feat: enhance icon theming flexibility
Introduced a new styling rule for `.bs-icon-circle` to apply a subtler background color, improving visual integration across themes. This change complements existing icon styles by offering an alternative option for a less prominent icon appearance, aimed at enhancing UI adaptability and consistency in different contexts. This update is in response to feedback requesting more nuanced design elements for diverse UI backgrounds.
2024-05-30 12:17:37 +02:00
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 7527675201
Merge branch 'main' into membership-page 2024-05-29 07:32:26 +02:00
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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
Kumi 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