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
codl
0ecc9c25ca
whoops! fix imgproxy expiry time scale
2017-09-16 14:11:17 +02:00
codl
5e1ce21c82
proxy avatars
...
this fixes some potential issues when connecting to a non-https mastodon
server
you shouldn't connect to a non-https mastodon server in general but you
know, whatever
2017-09-16 13:58:02 +02:00
codl
e4b443ce45
split off routes.py
...
also add robots.txt and humans.txt routes
2017-09-16 12:22:17 +02:00
codl
583dedf633
fix settings.js for microsoft edge
2017-09-16 09:28:39 +02:00
codl
cd30b6b606
fix sentry not showing account info correctly (i hope?)
2017-09-15 08:51:14 +02:00
codl
1ff90e499f
travis: don't include coveralls in the tests
2017-09-14 10:36:12 +02:00
codl
551c8d30e2
🆙 update mastodon.py to 1.1.1
2017-09-10 23:55:43 +02:00
codl
a387cbeeb1
readme: add note about tests
2017-09-10 15:11:27 +02:00