Commit Graph

807 Commits

Author SHA1 Message Date
codl 74f20e3138
add a task to refresh the account with the longest time since a refresh 2017-08-12 23:22: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 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 ed574c530f
also update viewer info when updating counters 2017-08-12 12:27:25 +02:00
codl 578ffb750e
make status display sticky for small screens 2017-08-12 08:29:58 +02:00
codl a4b87ae6b4
fix wonky status display on narrow screens 2017-08-12 07:57:26 +02:00
codl ccb37b04f4
rename settings_form.js to settings.js 2017-08-12 07:26:06 +02:00
codl 9b2273caa8
oops forgot to remove script tag for version.js 2017-08-12 02:05:38 +02:00
codl 7b6a70a7ce
Revert "load version dynamically"
stutid

This reverts commit 51cf43d073.
2017-08-12 02:04:11 +02:00
codl f1d0ed3f0c
add development procfile 2017-08-12 01:54:19 +02:00
codl 8236c4526d
dynamically update post counts 2017-08-12 01:52:33 +02:00
codl d8d31d9b0a
doit: compress js too 2017-08-12 01:07:12 +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 2f83630629
oops!!!! ooooooppppppppsssssssssssssssssss :w 2017-08-11 21:44:37 +02:00
codl 349a96b646
whoops icon.png stayed in static/ 2017-08-11 21:30:30 +02:00
codl 453e51c92f
doit: split off more tasks 2017-08-11 21:26:17 +02:00
codl 5147b7e3ff
doit: replace all dict literals with dict() 2017-08-11 21:18:40 +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 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