codl
|
dff825db06
|
test libbrotli
|
2017-09-08 23:19:59 +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
|
4b44682827
|
catch more twitter exceptions
|
2017-09-05 12:58:57 +02:00 |
codl
|
2ad076e63c
|
oops. catch urlerror when doing verify_credentials
|
2017-09-05 00:08:33 +02:00 |
codl
|
e8dbcb1d14
|
oops!!!!!
|
2017-09-05 00:08:33 +02:00 |
codl
|
214e1f30cd
|
oops handle twitter errors correctly
|
2017-09-04 23:08:19 +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
|
23794acebe
|
fix: mastodon.py didnt commit after deleting an invalid token
|
2017-09-02 20:30:37 +02:00 |
codl
|
7e677f4f97
|
whoops. move actions taken on unreachable accs to the celery task
it's not each service lib's job to deal with this
|
2017-09-02 20:00:44 +02:00 |
codl
|
109cbf31d9
|
aughh sentryyyyy
|
2017-09-02 19:05:46 +02:00 |
codl
|
ec75fbaf10
|
oops
the sentry flask middleware has *some* of raven's API but not all of
it???? why
|
2017-09-02 10:56:28 +02:00 |
codl
|
9bc92fc1f0
|
report revoked or otherwise erroneous creds to sentry
|
2017-09-02 10:43:52 +02:00 |
codl
|
c897edf294
|
whoops!!!! whoops
|
2017-08-31 21:16:38 +02:00 |
codl
|
04654a637c
|
(rips shirt) HAUUUGH JARVASCRIPT
|
2017-08-31 18:59:09 +02:00 |
codl
|
20d765e0d1
|
pylint
|
2017-08-29 21:31:30 +02:00 |
codl
|
5b01c53aac
|
add mastodon instance to screen_name
|
2017-08-29 16:57:30 +02:00 |
codl
|
f9a6bfe260
|
rename scales to timescales.py
|
2017-08-29 15:00:08 +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
|
78013ed1e9
|
twiddle knob
i set the timeout based on a timeit on my desktop instead of my server
like an Absolute Fool
|
2017-08-29 10:56:21 +02:00 |
codl
|
e4dbdf98ee
|
reduce ttl and timeout on brotli generation
recent changes (csrf tokens) have made brotli caches much less durable
since each session for a same user gets a different page
|
2017-08-29 09:35:16 +02:00 |
codl
|
d2c3f7025c
|
Revert "add shoddy statsd support"
This reverts commit 8c0c521f6f .
yea this is useless and a waste of time
|
2017-08-28 23:25:26 +02:00 |
codl
|
8c0c521f6f
|
add shoddy statsd support
|
2017-08-28 17:13:12 +02:00 |
codl
|
ccf1ca9c56
|
add csrf tokens 🔒🔒🔒🔒‼
|
2017-08-25 10:50:11 +02:00 |
codl
|
e99a045c41
|
following the last commit, it's prudent to invalidate all static urls
ive been meaning to change that url structure anyway because it's real
goofy to have these 'static-483914848324' directories
|
2017-08-24 18:49:37 +02:00 |
codl
|
40fbea082f
|
add more granular brotli cache header
|
2017-08-23 11:42:53 +02:00 |
codl
|
c036664422
|
uh oh oops
|
2017-08-20 18:54:01 +02:00 |
codl
|
0360de3d95
|
😗
|
2017-08-20 18:52:09 +02:00 |
codl
|
069a8ab9fb
|
shorten footer and link directly to the running commit
|
2017-08-20 18:48:43 +02:00 |
codl
|
06f144f8b4
|
allow mastodon users to preserve DMs
|
2017-08-20 18:23:38 +02:00 |
codl
|
b63f2f2b06
|
don't store post body
|
2017-08-20 18:23:38 +02:00 |
codl
|
fc58833bf5
|
cachebust: don't 500 on non-existant files
|
2017-08-20 12:43:29 +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
|
c32332d07c
|
d
|
2017-08-14 22:57:30 +02:00 |
codl
|
88b0eb121b
|
disable policy on accounts that have no tokens
|
2017-08-13 11:11:21 +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
|
639d209a95
|
add header showing brotli cache status
|
2017-08-12 22:01:42 +02:00 |
codl
|
cdff524e3d
|
fix 500 on tweet archive upload
|
2017-08-12 20:32:51 +02:00 |
codl
|
d07503dd6f
|
edit settings dynamically
|
2017-08-12 01:04:22 +02:00 |
codl
|
54545a3a3d
|
remove unnecessary import
|
2017-08-11 21:15:34 +02:00 |
codl
|
98255c00a8
|
brotli: use text mode when appropriate
|
2017-08-11 21:05:11 +02:00 |
codl
|
5656f86fcb
|
brotli: wait & see if compression finishes within reasonable time
|
2017-08-11 20:58:32 +02:00 |
codl
|
dc7e70ae8d
|
lol
thread.run() runs it locally
thread.start() runs it in a thread
|
2017-08-11 20:56:45 +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 |
codl
|
ca2798a428
|
add rate limits
|
2017-08-10 17:07:39 +02:00 |