From 30e23957c0df37154561f4a081c14e3c028badd1 Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 3 Jun 2024 06:55:38 +0200 Subject: [PATCH 1/3] 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. --- data/services.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/services.json b/data/services.json index 036a467..e1be581 100644 --- a/data/services.json +++ b/data/services.json @@ -305,8 +305,8 @@ } ], "icon": "calendar", - "exclude_from_index": true, - "exclude_from_simple": true + "exclude_from_index": false, + "exclude_from_simple": false }, { "name": "LibreY", From f9c23a6fca910df45cdfe974cfd6f9f06a7b072d Mon Sep 17 00:00:00 2001 From: Kumi Date: Sun, 2 Jun 2024 20:43:53 +0200 Subject: [PATCH 2/3] 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. --- contrib/uwsgi/privatecoffee-dev.ini | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 contrib/uwsgi/privatecoffee-dev.ini diff --git a/contrib/uwsgi/privatecoffee-dev.ini b/contrib/uwsgi/privatecoffee-dev.ini new file mode 100644 index 0000000..ce060f6 --- /dev/null +++ b/contrib/uwsgi/privatecoffee-dev.ini @@ -0,0 +1,16 @@ +[uwsgi] +module = main:app + +uid = %n +gid = %n +master = true +processes = 5 + +plugins = python3 +virtualenv = /srv/%n/venv/ +chdir = /srv/%n/ + +env = PRIVATECOFFEE_DEV=true + +http-socket = /var/run/uwsgi/%n.sock +chown-socket = caddy \ No newline at end of file From 8b4f7eb6cea8397581de4a276addd1e8dd2c057a Mon Sep 17 00:00:00 2001 From: Kumi Date: Fri, 7 Jun 2024 22:51:24 +0200 Subject: [PATCH 3/3] 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. --- assets/css/base.css | 4 + templates/index.html | 305 ++++++++++++++++++++++++++++++------------- 2 files changed, 217 insertions(+), 92 deletions(-) diff --git a/assets/css/base.css b/assets/css/base.css index a3dd0ea..5cc9970 100644 --- a/assets/css/base.css +++ b/assets/css/base.css @@ -131,6 +131,10 @@ h5 { fill: var(--bs-primary-bg-subtle); } +.bg-pride-gradient { + background: linear-gradient(45deg, #FF7878, #FFC898, #FFF89A, #CDF2CA, #A2CDCD, #D1E8E4, #CAB8FF); +} + /* Responsive Styles */ @media (max-width: 768px) { .navbar .container { diff --git a/templates/index.html b/templates/index.html index 19c0522..0d90c48 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,118 +1,239 @@ -{% extends "base.html" %} -{% block title %}Home{% endblock %} -{% block content %} -
+{% extends "base.html" %} {% block title %}Home{% endblock %} {% block content +%} +
-
-
-
-

Empowering Privacy with Open Source

-
-

Private.coffee

-
-
+
+
+
+

Empowering Pride with Open Source

+
+

+ Private.coffee +

+
+ + + + + + + + + + +
+
-
-
-

Our self-hosted Services

-

Private.coffee provides a collection of services that respect your privacy.

-
+
+
+

Our self-hosted Services

+

+ Private.coffee provides a collection of services that respect your + privacy. +

-
-
- {% for service in services.services %} - {% if not service.exclude_from_index %} -
-
-
-
- {% if service.icon %}{{ service.icon | icon | safe }}{% endif %} -
-
{{ service.name }}
-

{{ service.long_description }}

- {% for link in service.links %} - {{ link.name }} - {% endfor %} -
-
+
+
+
+ {% for service in services.services %} {% if not + service.exclude_from_index %} +
+
+
+
+ {% if service.icon %}{{ service.icon | icon | safe }}{% endif %}
- {% endif %} - {% endfor %} +
{{ service.name }}
+

+ {{ service.long_description }} +

+ {% for link in service.links %} + {{ link.name }} + {% endfor %} +
+
+ {% endif %} {% endfor %}
+
-
-
-

Privacy

-
-
-

from the community

-

for the community

-
+
+
+

Privacy

-
-
-
-
-
-

Join and rebel

-
Be a part of the open source community!
Learn more -
-
-
-
-
-
-

Private Hosting

-
Interested in Hosting Services?
Get in touch -
-
-
-
+
+

+ from the community +

+

+ for the community +

+
+
+
+
+
+
+

Join and rebel

+
+ Be a part of the open source community! +
+ Learn more +
+
+
+
+
+
+

+ Private Hosting +

+
+ Interested in Hosting Services? +
+ Get in touch +
+
+
+
+
-
-
-

Contacts

-

How you can reach us

-
+
+
+

Contacts

+

How you can reach us

-
-
-
-
-
{{ "envelope" | icon | safe }}
-
-
Email
-

support@private.coffee

-
-
-
-
-
-
-
-
-
-
{{ "matrix-logo" | icon | safe }}
- -
+
+
+
+
+
+
+ {{ "envelope" | icon | safe }}
+
+
Email
+

support@private.coffee

+
+
+
+
+
+
+
+
+
+ {{ "matrix-logo" | icon | safe }} +
+ +
+
+
-{% endblock %} \ No newline at end of file +{% endblock %}