Commit Graph

134 Commits

Author SHA1 Message Date
codl dc7e70ae8d
lol
thread.run() runs it locally

thread.start() runs it in a thread
2017-08-11 20:56:45 +02:00
codl 5ee7041e20
separate each file compression into a subtask 2017-08-11 20:29:48 +02:00
codl 0cfdb90efd
cleanup requirements 2017-08-11 20:18:38 +02:00
codl 20b234d9df
edit readme to mention redis only, not rabbitmq 2017-08-11 20:13:42 +02:00
codl e60897a3f8
add doit task for compressing static files 2017-08-11 20:13:42 +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 8a1b9c05de
🆙 dependencies update 2017-08-11 16:59:36 +02:00
codl 431ef30bfc
doit: add clean 2017-08-11 16:42:27 +02:00
codl dd212ce1c3
process all assets thru doit 2017-08-11 16:41:31 +02:00
codl d6c45a73a6
set a height on logo while we're at it 2017-08-11 16:04:18 +02:00
codl 2510024e82
let pillow optimize 2017-08-11 15:55:50 +02:00
codl e8647d9201
add doit to readme 2017-08-11 15:11:13 +02:00
codl 2b0d357385
i have misunderstood how srcset works 2017-08-11 15:08:07 +02:00
codl 1a9753db49
image build 2017-08-11 14:57:32 +02:00
codl 5a02d75f7c
close sqlalchemy session after a worker's work. closes #4
that was far easier than i anticipated...
2017-08-11 00:31:02 +02:00
codl 3dea73b0bd
celery: use fair task scheduling 2017-08-11 00:08:46 +02:00
codl 10b4e1efee EEBLAOIGBLEEALEBL—      TRUCKS! 2017-08-10 17:26:36 +02:00
codl dcc328334f
also change the default to be redis regardless 2017-08-10 17:22:32 +02:00
codl f52144008b
set flask-limiter storage example to redis 2017-08-10 17:20:28 +02:00
codl ec6bc7817e
oops 2017-08-10 17:12:04 +02:00
codl ca2798a428
add rate limits 2017-08-10 17:07:39 +02:00
codl 279cb21f95
clean up footer 2017-08-09 14:39:51 +02:00
codl 994e0b1366
refresh session cookie on every page view 2017-08-09 14:28:30 +02:00
codl ea30cdd355
fix display on narrow screens 2017-08-09 14:27:55 +02:00
codl 5ed78d5813
oops 2017-08-09 14:27:39 +02:00
codl 2f73ec3827
reduce tweet archive retention to 3 days from 7 2017-08-09 12:41:54 +02:00
codl 3e5956db63
add a footer 2017-08-09 11:43:16 +02:00
codl 838e8f231e
oops 2017-08-09 11:32:32 +02:00
codl 5bce4c9b17
massive optimisation on getting eligible posts
uhh the subquery is run for every single row so, with a long enough
time limit and enough posts thats. a several minute long SELECT
2017-08-09 10:25:41 +02:00
codl b428788fc0
oops precedence
interestingly enough it doesn't matter here but, let's be correct
2017-08-09 09:22:34 +02:00
codl 7a9106e3bd
be a dork about years too 2017-08-09 09:19:18 +02:00
codl 0296f05d8a
lol im a fuckin dork 2017-08-09 09:14:57 +02:00
codl 6539d3b39f
fix weirdness when setting intervals 2017-08-09 09:14:42 +02:00
codl 1478ed9cf5
uh oh whoops 2017-08-09 08:39:48 +02:00
codl 8192d5a268
fix: re-raise exception on twitter tempoarary errors 2017-08-09 05:16:58 +02:00
codl 1aaebc0ce2
add autoretries on all tasks that talk with twitter 2017-08-08 23:00:22 +02:00
codl 8a8d2cb0d3
handle errors w/ twitter when logging in 2017-08-08 16:18:39 +02:00
codl 1039da665b
OOPS oops oops oops oops 2017-08-08 16:04:22 +02:00
codl 891f584dac
simplify settings copy
no need for fresh/expired concepts, just expired is enough
2017-08-08 16:00:02 +02:00
codl ac7a93dee3
forgot to put database setup in readme 2017-08-08 15:41:41 +02:00
codl ac6f7203d8
add ability to keep posts with media (close #1) 2017-08-08 15:40:56 +02:00
codl 4be6edb15f
cleanup anonymous oauth tokens 2017-08-08 04:16:57 +02:00
codl 724d54355c
handle revoked privileges more smoothly 2017-08-08 00:29:38 +02:00
codl 4f40853b78
sentry: send version in tasks as well 2017-08-07 23:42:38 +02:00
codl 8d2f76927b
add readme 2017-08-07 22:35:57 +02:00
codl 017aa64c03
add cachebusting for static files 2017-08-07 21:50:31 +02:00
codl 0ae1fe260b
simplify header 2017-08-07 21:35:46 +02:00
codl f33422fb44
no version by default 2017-08-07 21:35:26 +02:00