Commit Graph

268 Commits

Author SHA1 Message Date
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
codl cc61d96b8a
add opengraph and twitter card metadata 2017-08-07 19:42:20 +02:00
codl a28333ab6e
empty string is zero in intervals 2017-08-07 16:35:10 +02:00
codl bb2bcc68c1
fix more 500s 2017-08-07 16:35:10 +02:00
codl 61ddd8a478
haha i suck 2017-08-07 16:00:50 +02:00
codl efa910d822
jinja annoying 2017-08-07 15:58:08 +02:00
codl eaa43c07a7
cant compare against None with == 2017-08-07 15:56:22 +02:00
codl 2c2ba8567e
oops 2017-08-07 15:54:42 +02:00
codl 40a5acbdf3
improve archive list 2017-08-07 15:53:34 +02:00
codl deda43fd8a
fix tweet archive error banner placement 2017-08-07 15:47:00 +02:00
codl f7b36ad257
yes 2017-08-07 15:44:21 +02:00
codl 625dc31a53
oops 2017-08-07 15:40:31 +02:00
codl 7d4e9945a5
show error message for invalid tweet archive 2017-08-07 15:35:15 +02:00
codl a6678f1057
remove todo text for thing i've already done 😅 2017-08-07 15:30:05 +02:00
codl b7a478dd95
? 2017-08-07 15:09:28 +02:00
codl a0c5a7cadc
computer 2017-08-07 15:06:29 +02:00
codl 86751369e3
augh 2017-08-07 14:59:38 +02:00