Fix quote submission bug and update copyright notice
- Fixed config access in submit route (config.min_quote_length -> config.get('quotes.min_length'))
- Fixed Flask-Limiter initialization syntax
- Reduced minimum quote length from 10 to 1 character
- Updated copyright notice from '© ircquotes 2024, All Rights Reserved.' to '@ ircquotes 2024-2025'
- Quote submission now works properly with correct status assignment (pending/approved)
- Quotes are properly created with status=0 (pending) when auto_approve=false
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
|
||||
<font size="-1">
|
||||
<a href="#">Hosted by YourHostingProvider</a><br>
|
||||
© ircquotes 2024, All Rights Reserved.
|
||||
@ ircquotes 2024-2025
|
||||
</font>
|
||||
</center>
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<font size="-1"><a href="#"></a><br>© ircquotes 2024, All Rights Reserved.</font>
|
||||
<font size="-1"><a href="#"></a><br>@ ircquotes 2024-2025</font>
|
||||
</center>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<font size="-1">© ircquotes 2024, All Rights Reserved.</font>
|
||||
<font size="-1">@ ircquotes 2024-2025</font>
|
||||
</center>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
</table>
|
||||
|
||||
<font size="-1">
|
||||
© ircquotes 2024, All Rights Reserved.
|
||||
@ ircquotes 2024-2025
|
||||
</font>
|
||||
</center>
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
</table>
|
||||
|
||||
<font size="-1">
|
||||
© ircquotes 2024, All Rights Reserved.
|
||||
@ ircquotes 2024-2025
|
||||
</font>
|
||||
</center>
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
|
||||
<font size="-1">
|
||||
<a href="#">Hosted by YourHostingProvider</a><br>
|
||||
© ircquotes 2024, All Rights Reserved.
|
||||
@ ircquotes 2024-2025
|
||||
</font>
|
||||
</center>
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
</table>
|
||||
|
||||
<font size="-1">
|
||||
© ircquotes 2024, All Rights Reserved.
|
||||
@ ircquotes 2024-2025
|
||||
</font>
|
||||
</center>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user