Commit Graph

40 Commits

Author SHA1 Message Date
codl 44632934a7 Merge branch 'feature/instance-hidelist' 2022-03-04 14:20:00 +01:00
codl c621982424 remove method to upgrade known instances from cookie to localstorage
it's been over three years since the old forget_known_instances cookie
is no longer being set, any cookie that hasn't been upgraded to
localstorage by now has surely expired
2022-03-04 14:03:08 +01:00
codl 82a72bfd32 fix 500s on login pages 2022-03-04 13:28:38 +01:00
codl bbbb2470ed add instance hidelist 2022-03-04 13:12:35 +01:00
Johann150 77a2687d9e
fix rendering of misskey instances in template 2021-11-11 10:44:06 +01:00
Johann150 623a7e4415
fix all kinds of mistakes 2021-11-10 12:33:55 +01:00
Johann150 dbd7193636
use requests session 2021-11-10 07:56:40 +01:00
Johann150 bb496bb5e6
fix parsing urls 2021-11-09 23:43:09 +01:00
Johann150 eee3bb82fe
fix small miscellaneous bugs 2021-11-09 23:07:46 +01:00
Johann150 8b5f56bef2
use urllib to parse instance url 2021-11-09 23:05:57 +01:00
Johann150 ed1c42d30d
WIP: implement misskey API 2021-11-09 10:07:56 +01:00
codl 521cd7b1dc status check: check redis (closes #120) 2021-03-13 01:48:17 +01:00
codl 9592ab8511
disable archives
it has come to my attention while investigating #263 that tweet archives
as forget supports them are no longer a thing. this commit disables all
front-facing archive support and puts a banner above the form
2019-09-13 03:33:39 +02:00
codl b4c332190e
return 404 on empty known instances cookie
that way it will use the default
2019-03-15 21:21:56 +01:00
codl 2bacbaa8b1
known instances: bump instance counter when logging in 2019-03-15 21:09:22 +01:00
codl 17f59a018f
script to show known instances from cookie, mmoving it to localstorage 2019-03-15 19:46:18 +01:00
codl ec10d15217
pad to avoid oracle attacks on /api/known_instances 2019-03-15 18:29:55 +01:00
codl 8cf12f31c8
add endpoint to access and clear existing known instances cookie 2019-03-15 17:18:43 +01:00
codl b57f71ae58
remove known instances 2019-03-15 17:17:00 +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 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 5c47db8cc4
hotfix: sqlalchemy 1.2 no longer coerces strings to booleans 2018-01-03 17:58:13 +01:00
codl b057002ccb
add cache headers to sentry js
that oughta shut webpagetest up >:(
2017-12-19 16:30:54 +01:00
codl 59e5ab2390
fix #14 Error returning to forget after cancelling authorization
turns out request.args has some special behaviour that forces a 400
instead of throwing a KeyError when trying to read an arg that wasn't
supplied :/ havent seen anything about it in flask's docs
2017-11-02 15:47:04 +01:00
codl 81f3d5dff5
front page mastodon buttons: sort mastodon.social first 2017-10-15 20:47:58 +02:00
codl 3d8c809e64
add health check endpoint 2017-10-15 20:38:39 +02:00
codl 366030dbda
remove flask-limiter 2017-09-24 23:22:19 +02:00
codl 5ba5f2b460
split privacy policy from about page 2017-09-20 23:28:12 +02:00
codl c135dc793e
rename lib to libforget 2017-09-20 23:04:44 +02:00
codl 02b564283f
twiddle the knob 2017-09-17 19:11:45 +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 260f15d44a
fix: two login buttons when there are no mastodon instances 2017-09-17 15:11:14 +02:00
codl 53ba4ff294
split about and logged in pages into two different paths 2017-09-17 12:29:49 +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 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