Commit Graph

494 Commits

Author SHA1 Message Date
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
codl d90779aad5
add user count badge to readme 2017-09-06 16:21:33 +02:00
codl 2190d5dd86
add user count badge 2017-09-06 16:19:13 +02:00
codl 8297a88c51
add libraries.io badge 2017-09-06 16:00:17 +02:00
codl 06990aa43c
🆙 upgrade requirements 2017-09-06 13:41:49 +02:00
codl 68d086d64e
pylint 2017-09-06 13:10:08 +02:00
codl bde08c6c49
pylint 2017-09-06 13:08:06 +02:00
codl ee72c50ab9
eslint 2017-09-06 13:06:59 +02:00
codl 840f56a769
send PermanentErrors to sentry 2017-09-05 13:01:33 +02:00
codl 4b44682827
catch more twitter exceptions 2017-09-05 12:58:57 +02:00
codl 2ad076e63c
oops. catch urlerror when doing verify_credentials 2017-09-05 00:08:33 +02:00
codl e8dbcb1d14
oops!!!!! 2017-09-05 00:08:33 +02:00
codl 214e1f30cd
oops handle twitter errors correctly 2017-09-04 23:08:19 +02:00
codl edf7732e67
overhaul and abstract errors in service libs
also add support for making an account dormant if there is a permanent
error
2017-09-04 22:15:05 +02:00