Commit Graph

29 Commits

Author SHA1 Message Date
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