Large 0.3 changes
CI and release / Detect release commit (push) Successful in 27s
CI and release / Run tests (push) Successful in 4m14s
CI and release / Build and publish container (push) Successful in 9m2s
CI and release / Create release (push) Skipped

- Split the gigantic mess that web.rs was into seperate files
- Split the app into two clear functions: web and bot
- Add privacy policy
- Add privacy
- Make the site respect GDPR and Discord ToS
- Add basic API
- Add timezone detection and automatic time changes
This commit is contained in:
Elias Wendland committed 2026-08-31 17:10:02 +02:00
1 parent 96a8c9ea8c
commit 126b9e9e9f
23 files changed
+3876 -2767

No files matched your search

+4 -1
View File
@@ -5,6 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ title }} - TG Archive</title>
<link rel="stylesheet" href="/theme.css">
{% if detect_timezone %} <script src="/timezone.js" defer></script>
{% endif %}
</head>
<body>
<header class="site-header">
@@ -22,7 +24,8 @@
{{ body|safe }}
</main>
<footer class="site-footer">
<p class="footer-legal">Source code available <a href="https://git.ewenlau.net/ewenlau/tg-archive-bot">here</a>.<br>
<p class="footer-legal">{% if logged_in %}<a href="/privacy">Privacy</a><br>{% endif %}
Source code available <a href="https://git.ewenlau.net/ewenlau/tg-archive-bot">here</a>.<br>
Copyright © 2026 Ewi and contributors<br>
This content is licensed under GPL-3.0.</p>
<form class="footer-theme" method="post" action="/theme">