Dominik V. Salonen
1c80a2bde9
Use EXTENDED_DEBUG setting for Flask
2018-03-20 19:35:20 +01:00
Dominik V. Salonen
e798886b7d
Overhaul logging and do database creation
...
* print_log() now accepts a True/False to decide if a message should be printed
* Pass the config['DEBUG'] boolean to some of the print_log statements
* Add timestamps to log messages
* Change the source levels on some log messages to something more fitting
* Add a time_only option to the date/time string generator (Not sure why I even kept the old option but meh)
* Implement a "better than nothing" database-creation sequence
2018-03-20 19:19:26 +01:00
Dominik V. Salonen
7938d8a81a
whoops
2016-12-23 09:33:15 +01:00
Dominik V. Salonen
4acfd4d823
Add blacklist support
...
plz work
2016-12-23 09:31:04 +01:00
Dominik V. Salonen
3eac104641
Remove legacy support
...
It's been handled using 301 redirects in nginx for a while. But I've been too lazy to remove the code block until now
2016-11-28 12:32:24 +01:00
Dominik V. Salonen
a7ca8570da
Add static route to 403 error
2016-10-19 08:10:51 +02:00
Dominik V. Salonen
dcf3a02f9d
Fix auth because I am dumb
2016-09-23 13:17:27 +02:00
Dominik V. Salonen
250adf01cf
Move auth function to cut some lines
2016-09-23 10:57:06 +02:00
Dominik V. Salonen
65f6002560
Actually make the Extended debug functional lel
2016-09-23 10:48:10 +02:00
quad
0700d66d70
Edit cleaner so that the messages work better.
2016-03-11 16:44:45 +01:00
Dominik V. Salonen
64f5b516fb
Legacy leftovers
2016-02-23 17:16:05 +01:00
Dominik V. Salonen
5a33a3847a
Fix for issue #1
...
Not sure why, but this seems to have disappeared somewhere along the way. Probably when I moved from a looping thread to a timer.
2016-02-14 12:22:26 +01:00
Dominik V. Salonen
f67c6c0100
Fix cleaner
2016-02-02 21:06:25 +01:00
Dominik V. Salonen
3d59f949cf
Much better
2016-02-02 10:10:45 +01:00
Dominik V. Salonen
8048d0415b
Much better
2016-02-01 11:58:52 +01:00
Dominik V. Salonen
af5a30ee13
Finally made this into a timer
2016-02-01 11:46:44 +01:00
Dominik V. Salonen
564adde040
Added TODOs
2016-01-18 10:33:47 +01:00
Dominik V. Salonen
da1d7bb6e7
Fixed duplicate function names
2015-12-29 16:49:59 +01:00
Dominik V. Salonen
348682af7e
Random videos, yay
2015-12-28 18:56:26 +01:00
Dominik V. Salonen
170c26eaac
Added DMCA page
2015-12-28 16:38:13 +01:00
Dominik V. Salonen
a8e6a09aa3
Went a little too fast right there
2015-12-27 18:48:16 +01:00
Dominik V. Salonen
3c30e1ac11
To avoid them spamming the log and being served correctly
2015-12-27 18:46:21 +01:00
Dominik V. Salonen
46d306a7b9
FIX ALL THE ERROR PAGES
2015-12-27 00:30:11 +01:00
Dominik V. Salonen
b2652beed6
Was causing more errors than it was worth
2015-12-26 21:44:47 +01:00
Dominik V. Salonen
8879637616
Fuck me
2015-12-26 21:23:35 +01:00
Dominik V. Salonen
21b08a2501
Added exception to fuck errors, this should be handled by a web server if possible anyways.
2015-12-26 21:20:46 +01:00
Dominik V. Salonen
3eb5ab67d2
Add filesize check fallback
2015-12-26 21:09:12 +01:00
Dominik V. Salonen
ec85d97a13
Added high-quality error pages
2015-12-26 20:32:42 +01:00
Dominik V. Salonen
2a244fca30
Return link page to avoid auto-downloads
2015-12-25 00:32:58 +01:00
Dominik V. Salonen
30808804f8
Actually, that was pointless
2015-12-24 23:05:27 +01:00
Dominik V. Salonen
efd21eb531
Fallback for pages without <head>
2015-12-24 23:03:33 +01:00
Dominik V. Salonen
02f0919920
Note to self: Actually use the functions you create
2015-12-24 21:47:09 +01:00
Dominik V. Salonen
be2409fc68
Better error pages
2015-12-24 21:46:28 +01:00
Dominik V. Salonen
94d5ce2818
Yolo, allowing all files is now possible
2015-12-24 17:00:59 +01:00
Dominik V. Salonen
004eee2642
More pages
2015-12-24 15:26:55 +01:00
Dominik V. Salonen
a6c35978fb
Added test error page
2015-12-24 13:50:44 +01:00
Dominik V. Salonen
a5df899979
Proper pages
2015-12-24 13:46:05 +01:00
Dominik V. Salonen
47c37a9fc7
Added database exception, just in case and fixed a typo
2015-12-24 13:06:34 +01:00
Dominik V. Salonen
f9f7d16fad
Test for ShareX stuff
2015-12-24 12:14:55 +01:00
Dominik V. Salonen
3481df067a
I think this is ACTUALLY production ready now.
2015-12-23 23:39:05 +01:00
Dominik V. Salonen
f7d9c0e87c
I think this is production ready now.
2015-12-23 23:27:12 +01:00
Dominik V. Salonen
5023dadc4e
Here comes my trump card
2015-12-23 22:45:40 +01:00
quad
23c5ba5553
lol animations
2015-12-23 16:47:13 +01:00
Dominik V. Salonen
0b376d9478
[UGLY UPLOAD BUTTON HACKS INTENSIFIES]
2015-12-23 14:41:25 +01:00
Dominik V. Salonen
e689511fb5
Initial move from Hyozan
2015-12-23 14:11:38 +01:00