Commit Graph

387 Commits

Author SHA1 Message Date
codl 520560ce79
remove flask-limiter, make sure redis isnt initialised early 2017-09-24 16:37:38 +02:00
codl fe1db3cf36
test version 👀 2017-09-24 13:11:06 +02:00
codl 4f3c877d0c
lower timeout and increase payload size on brotli timeout test
it keeps failing because travis' machines are too fast lol
2017-09-24 12:56:23 +02:00
codl 79e06784af
increase default timeout in brotli 2017-09-23 19:38:01 +02:00
codl 8911c57ee4
double the default timeout on img proxy 2017-09-23 10:34:01 +02:00
codl 66d87fda58
oops 2017-09-23 10:33:46 +02:00
codl 526efbeded
hint that you have to upload the zip file from twitter 2017-09-21 21:18:01 +02:00
codl 256213175f
ah! this snuck into my commit 2017-09-21 13:56:16 +02:00
codl 7967cc686c
maybe if i cache mastodon api instances i can avoid 50% of calls?
im just throwing shit at the wall here im running out of ideas

this could also fuck everything up idk let's see

uhh issue #10
2017-09-21 13:54:41 +02:00
codl a649d21549
brotli: set header to timeout if timeout was immmediate (0) 2017-09-21 09:51:59 +02:00
codl 0e185c67a5
ahhhhh 2017-09-21 07:26:01 +02:00
codl eb6fcd700a
Revert "make sure post id is an actual integer"
This reverts commit e9653f34be.
2017-09-21 07:24:18 +02:00
codl 1123d44b30
Revert "protect against invalid posts"
This reverts commit 4e5c2b1f9a.
2017-09-21 07:19:35 +02:00
codl e9653f34be
make sure post id is an actual integer 2017-09-21 07:19:13 +02:00
codl 4e5c2b1f9a
protect against invalid posts
(???) i dont quite understand why i have to do this but some server is
throwing posts at me without an id or a status or much of anything so..
2017-09-21 06:50:01 +02:00
codl fd0bd49bdd
lol oops 2017-09-21 02:33:00 +02:00
codl fb65bcf0ac
dont open one redis client per task 👀 2017-09-21 02:27:30 +02:00
codl 0d7c1af13d
twiddle knob 2017-09-21 02:19:42 +02:00
codl 0ad980f499
twiddle knob 2017-09-21 01:25:25 +02:00
codl 0c3f603db5
whoops forgot to git add privacy.html 2017-09-20 23:29:54 +02:00
codl 5ba5f2b460
split privacy policy from about page 2017-09-20 23:28:12 +02:00
codl c135dc793e
rename lib to libforget 2017-09-20 23:04:44 +02:00
codl 89e35786d0
oops!!!!! 2017-09-20 14:44:01 +02:00
codl 06c0de29da
oops 2017-09-20 14:42:45 +02:00
codl 6bce7b1d04
make sure only one of each task runs at once 2017-09-20 14:39:31 +02:00
codl b9b3d8bab2
fix procfile to allow a decent amout of concurrent jobs 2017-09-20 13:45:20 +02:00
codl b0b17ae39f
oops 2017-09-20 12:58:16 +02:00
codl 53c2e8a023
another measure to avoid hitting rate limits 2017-09-20 12:41:10 +02:00
codl 33cc82b1ca
mastodon avatars are not circles (sometimes) 2017-09-19 02:44:08 +02:00
codl ab085aabf8
oh my god are you serious with this 2017-09-19 01:43:50 +02:00
codl d224edcc58
imgproxy: store more headers, use cache-control to determine ttl 2017-09-18 11:23:59 +02:00
codl d6fe2ff9b6
imgproxy: use global redis uri 2017-09-18 10:29:52 +02:00
codl 2fcbddd843
I SPELLED BROTLI WRONG 2017-09-17 19:25:10 +02:00
codl d77c9a1149
v0.0.10
bout damn time i bumped the version number
2017-09-17 19:17:53 +02:00
codl 02b564283f
twiddle the knob 2017-09-17 19:11:45 +02:00
codl 34b6f622a1
oops! oops. forgot to commit transaction 2017-09-17 15:21:48 +02:00
codl 614db2964d
update mastodon instance score based on active accounts
this is far more interesting than updating every time someone logs in,
since users don't have a reason to log in very often
2017-09-17 15:12:46 +02:00
codl 4b1a6a3a90
fix error detection in mastodon.py 2017-09-17 15:12:01 +02:00
codl 260f15d44a
fix: two login buttons when there are no mastodon instances 2017-09-17 15:11:14 +02:00
codl fbecb2f9fc
styles: replace secondary btn border with a box-shadow for alignment 2017-09-17 14:26:53 +02:00
codl 8a60b85586
(laughing) more buttons! 2017-09-17 13:35:26 +02:00
codl a706f6fd6e
WHOOPS whoops whoops whoops whoops 2017-09-17 13:21:35 +02:00
codl a656463d0a
unify button-buttons and link-buttons 2017-09-17 13:20:30 +02:00
codl 53ba4ff294
split about and logged in pages into two different paths 2017-09-17 12:29:49 +02:00
codl cce01b3b51
fix: mastodon.py now throws on revoked tokens 2017-09-17 11:07:25 +02:00
codl a787f26e9a
give avatar an empty alt attribute 2017-09-16 20:52:21 +02:00
codl 8246e276f4
mastodon's 'post not found' message changed at some point apparently? idk fuck 2017-09-16 20:24:14 +02:00
codl 7c8c49a2ae
an attempt at preventing hitting rate limits on mastodon
most tasks don't need to be retried if they have failed, they will be
queued up again in the next batch
2017-09-16 20:08:06 +02:00
codl 8d82780e32
make rate limits more lenient on user-facing pages 2017-09-16 20:04:47 +02:00
codl 0b06b5f12f
whoops i ended up reimplementing *all* of github camo 2017-09-16 18:25:20 +02:00