Major refactor: Fix SQLite concurrency, remove rate limiting, simplify architecture
- Switch to single Gunicorn worker to eliminate SQLite database locking issues - Remove Flask-Limiter and all rate limiting complexity - Remove Cloudflare proxy setup and dependencies - Simplify configuration and remove unnecessary features - Update all templates and static files for streamlined operation - Clean up old files and documentation - Restore stable database from backup - System now runs fast and reliably without database locks
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<font size="+1"><b><i>ircquotes</i></b></font>
|
||||
</td>
|
||||
<td bgcolor="#c08000" align="right">
|
||||
<font face="arial" size="+1"><b>Browse Quotes</b></font>
|
||||
<font face="arial" size="+1"><b>{% if is_top %}Top Quotes{% else %}Browse Quotes{% endif %}</b></font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -69,6 +69,14 @@
|
||||
<a href="#" onclick="return flag({{ quote.id }}, this)" class="qa">X</a>
|
||||
|
||||
<a href="#" onclick="return copyQuote({{ quote.id }}, this)" class="qa" title="Copy quote to clipboard">C</a>
|
||||
|
||||
<span style="color: #666; font-size: 0.9em;">
|
||||
{% if quote.submitted_at %}
|
||||
{{ quote.submitted_at.strftime('%d/%m/%y %H:%M') }}
|
||||
{% elif quote.date %}
|
||||
{{ quote.date.strftime('%d/%m/%y') }}
|
||||
{% endif %}
|
||||
</span>
|
||||
</p>
|
||||
<p class="qt">{{ quote.text|e }}</p>
|
||||
<hr>
|
||||
|
||||
Reference in New Issue
Block a user