Commit Graph

579 Commits

Author SHA1 Message Date
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
codl 5e22a0531f
capitalise service names 2017-09-04 22:15:04 +02:00
codl d851f562e4
consolidate lib.session and lib.auth into lib.auth 2017-09-04 22:15:04 +02:00
codl 93ab3294ce
oops 2017-09-03 01:23:54 +02:00
codl ae093c504c
add an explicit dismiss button to reason banner 2017-09-03 00:51:54 +02:00
codl 23794acebe
fix: mastodon.py didnt commit after deleting an invalid token 2017-09-02 20:30:37 +02:00
codl 7e677f4f97
whoops. move actions taken on unreachable accs to the celery task
it's not each service lib's job to deal with this
2017-09-02 20:00:44 +02:00
codl 73b7ee2a53
settings.js: remove reason banner when enabling 2017-09-02 19:51:59 +02:00
codl 1d677de7b4
add mechanism for showing reason for disabling account 2017-09-02 19:47:18 +02:00
codl feef504fa0
settings.js: when logged out, redirect to index 2017-09-02 19:05:57 +02:00
codl 109cbf31d9
aughh sentryyyyy 2017-09-02 19:05:46 +02:00
codl ec75fbaf10
oops
the sentry flask middleware has *some* of raven's API but not all of
it???? why
2017-09-02 10:56:28 +02:00
codl dda8537b53
model: __str__ not __repr__ 2017-09-02 10:44:21 +02:00
codl 9bc92fc1f0
report revoked or otherwise erroneous creds to sentry 2017-09-02 10:43:52 +02:00
codl 2c02dd63bc
more fiddling with timing of javascript load 2017-09-01 02:35:33 +02:00
codl e02b761b53
fix race condition when settings.js loads faster than the dom is parsed 2017-09-01 02:15:01 +02:00