Commit Graph

457 Commits

Author SHA1 Message Date
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
codl 47c41bad00
uh hehe i forgot to actually remove the line instead of just commenting it 2017-09-10 14:26:17 +02:00
codl 7b4c8a8fe1
custom 500: only catch 500 not every exception
if we catch Exception then flask's error handler never runs and neither
does raven's
2017-09-10 14:24:30 +02:00
codl 7599565344
add proper error pages for 404, 500 2017-09-10 13:20:53 +02:00
codl fcabf262c5
🆙 update mastodon.py 2017-09-10 12:33:02 +02:00
codl 599f0ba2fb
Revert "🆙 mastodon.py 1.1.0"
This reverts commit 65fc959d96.
2017-09-10 11:40:48 +02:00
codl 27c0369b94
i didn't mean to include that in the previous commit! 2017-09-09 19:42:47 +02:00
codl f7ea8e18bf
travis: cache pip cache 2017-09-09 10:28:12 +02:00
codl 2f426fe5f7
fix: no need to parse date ourself, mastodon.py v1.1.0 does it 2017-09-09 00:21:46 +02:00
codl 5a81c2bf14
fix unreliable timeout test 2017-09-09 00:06:09 +02:00
codl 6a69fa8ed4
add travis & coveralls badges to readme 2017-09-08 23:38:55 +02:00
codl 1d72bbc716
i'm big dummy!!!! 2017-09-08 23:36:29 +02:00
codl 2eea031a9c
update requirements for tests, add travis.yml 2017-09-08 23:34:12 +02:00
codl dff825db06
test libbrotli 2017-09-08 23:19:59 +02:00
codl 65fc959d96
🆙 mastodon.py 1.1.0 2017-09-08 21:19:28 +02:00
codl 43903a5776
mastodon login: also strip trailing path 2017-09-08 00:43:19 +02:00
codl d7e1a7f179
mastodon login: strip protocol 2017-09-08 00:43:19 +02:00
codl 146dd263c9
unify redis config (closes #8)
also, not sure why brotli was being initialised in routes not in app
2017-09-07 01:10:02 +02:00
codl fda4428572
remove default secret key as it is no longer used
(lol hunter2)
2017-09-07 00:46:57 +02:00
codl 208fee88ec
remove debug feature to log all sql queries 2017-09-07 00:45:19 +02:00
codl b36a375a72
add maintained status badge 2017-09-07 00:34:54 +02:00
codl 0d1b09b80b
replace native codacy badge with a shields.io badge for consistency 2017-09-06 16:24:59 +02:00
codl 83f2d12d20
oops 2017-09-06 16:23:00 +02:00