codl
ac76dd4ad1
make version link in footer link to changelog, not commit log
2019-07-23 02:17:01 +02:00
codl
9eba78c125
typo 😩 this is what happens when i try to fix things fast
2019-07-11 22:43:32 +02:00
codl
da7d64acbd
set user agent on mastodon.py requests
2019-07-11 22:33:14 +02:00
codl
796a78dc2e
fix broken imgproxy urls
...
idk why this worked on python 3.5 but it doesn't work on 3.7
2019-05-02 00:57:45 +02:00
codl
b57f71ae58
remove known instances
2019-03-15 17:17:00 +01:00
codl
a68a673925
mastodon: stop before hitting the rate limit
2019-03-11 16:35:43 +01:00
codl
6d6184f3d8
disable autoflush in refresh_posts, fixing deadlocks. closes GH-19
2019-03-11 03:10:32 +01:00
codl
4054ebfffd
Merge branch 'master' into fix-refresh
2019-02-24 16:35:44 +01:00
codl
d5e0b43c9e
fix: posts not getting refreshed
...
turns out i was not touching updated_at, so i'd always be refreshing
the same posts unless one of them actually changed
this is embarassing, there are posts in the DB that haven't been
refreshed since 2017
2019-02-24 16:28:59 +01:00
codl
a6c5361138
more robust fetching. closes #13
...
this also refactors libforget so neither the twitter or mastodon lib
insert posts directly
2019-02-24 15:40:41 +01:00
codl
649b68793c
libforget mastodon: same thing. raise temporaryerror if no access
2019-02-24 13:11:31 +01:00
codl
60e2357597
twitter: raise temporaryerror when no access instead of silently failing
2019-02-24 12:48:58 +01:00
codl
0cb94cfa01
remove x- prefix from headers
2018-11-30 23:04:37 +01:00
codl
95d7d94c25
raise number of known instances slots to 5
...
also limit number of log-in buttons to 5 on the front page
2018-05-08 00:49:23 +02:00
codl
da8c3d90c8
clarity
2018-05-08 00:17:56 +02:00
codl
cacd271683
clarity
2018-05-08 00:14:45 +02:00
codl
5cb84e1fbd
lower mastodon.social default hits in known instances to 0
...
if the user uses mastodon.social, it will be raised to 1, if not then it
can be replaced by the third instance the user logs into
2018-05-08 00:09:48 +02:00
codl
4c7a919079
show user's top known instances on the login page
2018-05-08 00:06:36 +02:00
codl
447923b1f1
add mechanism for keeeping track of a user's instances
2018-05-07 23:50:37 +02:00
codl
c42b0f7f87
move popular instances query to libforget.mastodon
2018-05-07 23:49:28 +02:00
codl
e2f1ca1732
replace messy version stuff with versioneer
2018-01-31 23:16:54 +01:00
codl
9696b6e448
fix revoked tokens not being found because of localised error messages
2018-01-03 12:24:35 +01:00
codl
3c6a9e4158
track which posts are reblogs
2017-12-27 21:23:13 +01:00
codl
b72fbac24d
no! i forgot to also store fav/rt counts on twitter
2017-12-27 21:03:12 +01:00
codl
132007f91f
store fav/reblog count. first step towards #7
2017-12-27 20:49:19 +01:00
codl
75e5f52871
make sure to convert mastodon post IDs to integers
...
mastodon v2.0.0 changed IDs to be snowflake-like and returns them as
strings in the API
2017-10-18 21:06:28 +02:00
codl
a6870d3775
codacy
2017-09-24 23:54:03 +02:00
codl
1b07bf1020
codacy
2017-09-24 23:49:08 +02:00
codl
6fd1d6979b
remove unused iso8601 req
2017-09-24 23:22:19 +02:00
codl
b69f5db0dd
cleaner redis isolation
2017-09-24 16:43:54 +02:00
codl
520560ce79
remove flask-limiter, make sure redis isnt initialised early
2017-09-24 16:37:38 +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
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
c135dc793e
rename lib to libforget
2017-09-20 23:04:44 +02:00