Commit Graph

85 Commits

Author SHA1 Message Date
codl 47c41bad00
uh hehe i forgot to actually remove the line instead of just commenting it 2017-09-10 14:26:17 +02:00
codl 7b4c8a8fe1
custom 500: only catch 500 not every exception
if we catch Exception then flask's error handler never runs and neither
does raven's
2017-09-10 14:24:30 +02:00
codl 7599565344
add proper error pages for 404, 500 2017-09-10 13:20:53 +02:00
codl 43903a5776
mastodon login: also strip trailing path 2017-09-08 00:43:19 +02:00
codl d7e1a7f179
mastodon login: strip protocol 2017-09-08 00:43:19 +02:00
codl 146dd263c9
unify redis config (closes #8)
also, not sure why brotli was being initialised in routes not in app
2017-09-07 01:10:02 +02:00
codl 2190d5dd86
add user count badge 2017-09-06 16:19:13 +02:00
codl edf7732e67
overhaul and abstract errors in service libs
also add support for making an account dormant if there is a permanent
error
2017-09-04 22:15:05 +02:00
codl d851f562e4
consolidate lib.session and lib.auth into lib.auth 2017-09-04 22:15:04 +02:00
codl 93ab3294ce
oops 2017-09-03 01:23:54 +02:00
codl ae093c504c
add an explicit dismiss button to reason banner 2017-09-03 00:51:54 +02:00
codl 705084a0b0
remove /api/viewer/timers
it never saw use
2017-08-31 22:43:16 +02:00
codl cd13094bad
make sure to reset delete timer when enabling 2017-08-31 20:47:29 +02:00
codl e6ddf2f120
add sentry js back in 2017-08-31 20:46:38 +02:00
codl 04654a637c
(rips shirt) HAUUUGH JARVASCRIPT 2017-08-31 18:59:09 +02:00
codl 984fce51d2
fix broke ass settings 2017-08-30 00:15:00 +02:00
codl 20d765e0d1
pylint 2017-08-29 21:31:30 +02:00
codl 2e0b598658
whoops oopsie oh bother 2017-08-29 16:45:00 +02:00
codl d4d30d0530
nicer error message on mastodon app creation failure
also log more exceptions to sentry
2017-08-29 16:41:11 +02:00
codl e07e052d7d
oops 2017-08-29 16:31:43 +02:00
codl 007aec7529
flakes8 2017-08-29 14:46:32 +02:00
codl 2c4d6b9f63
fix issues raised by bandit 2017-08-29 13:26:32 +02:00
codl ccf1ca9c56
add csrf tokens 🔒🔒🔒🔒 2017-08-25 10:50:11 +02:00
codl effe4d1381
mastodon instances: make order deterministic 2017-08-24 14:49:20 +02:00
codl ab0aa3483a
fetch account on mastodon log in 2017-08-24 14:48:08 +02:00
codl 35a1391e5f
twiddle knob 2017-08-24 00:30:11 +02:00
codl 5b047e4b94
nicer, more compact mastodon login buttons 2017-08-23 23:32:21 +02:00
codl 687d2fe96e
nicer log in buttons on index 2017-08-23 15:14:24 +02:00
codl a52a9c2bb5
oh no oops 2017-08-23 11:45:46 +02:00
codl 1dfb728805
add autocomplete for mastodon instances 2017-08-23 11:42:32 +02:00
codl 5e250a4d03
uhh whoops lol 2017-08-23 11:23:04 +02:00
codl 069a8ab9fb
shorten footer and link directly to the running commit 2017-08-20 18:48:43 +02:00
codl 0dbfa5e0bc
fix 500 when logging in with mastdon with an existing oauth token 2017-08-19 14:32:31 +02:00
codl ff358ed64f
ahhhhhh!! mastodon support 2017-08-19 13:12:22 +02:00
codl d3d93c3cef
ghfjklghjdkflhgjfklhgjkdflshgjdflshgjkdflshgjdfklshgjkdflghjkdflhgjkldfshjgkldfhjgldhfjkgldhfjgklfdhsjgklhfjkslghjdfklsg
mastodon why
2017-08-19 13:12:22 +02:00
codl 340eb711d5
i'm big dummy 2017-08-18 23:03:49 +02:00
codl 557dfe9582
oops 2017-08-18 22:58:41 +02:00
codl 544b780a90
/api/viewers: move timers to a separate route 2017-08-16 00:23:41 +02:00
codl 1cd5b8fa47
replace last_delete with next_delete 2017-08-14 20:58:22 +02:00
codl efeb5b6f41
extend /api/viewer to include various timers
also add a last_refresh field to accounts
2017-08-12 23:07:16 +02:00
codl cdff524e3d
fix 500 on tweet archive upload 2017-08-12 20:32:51 +02:00
codl ed574c530f
also update viewer info when updating counters 2017-08-12 12:27:25 +02:00
codl 7b6a70a7ce
Revert "load version dynamically"
stutid

This reverts commit 51cf43d073.
2017-08-12 02:04:11 +02:00
codl 8236c4526d
dynamically update post counts 2017-08-12 01:52:33 +02:00
codl d07503dd6f
edit settings dynamically 2017-08-12 01:04:22 +02:00
codl ced259d7e8
load sentry on the client side as well 2017-08-11 22:20:34 +02:00
codl 51cf43d073
load version dynamically
that way the whole dang cache doesnt get invalidated when the version
changes
2017-08-11 22:20:24 +02:00
codl ed69bdfb12
serve static brotli or gzip compressed files as well 2017-08-11 20:13:41 +02:00
codl 10abb9cd2f
working brotli cache 2017-08-11 19:13:37 +02:00
codl a42c54aa50
messy brotli experiment 2017-08-11 17:57:32 +02:00