Commit Graph

14 Commits (c55bd01cf9bb9a46864a3a2557fbfe6e6a66eb18)

Author SHA1 Message Date
Claire 5cc45d22d3
Remove subscription_expires_at leftover from OStatus ()
Eugen Rochko 3134691948
Add support for reversible suspensions through ActivityPub ()
Eugen Rochko 974b1b79ce
Add option to be notified when a followed user posts ()
* Add bell button

Fix 

* Remove duplicate type from post-deployment migration

* Fix legacy class type mappings

* Improve query performance with better index

* Fix validation

* Remove redundant index from notifications
abcang 07b057eabb Validate Web::PushSubscription ()
Eugen Rochko 70ddef2654
Change trending hashtags to not disappear instantly after midnight ()
Eugen Rochko b9b0313c78
Revert "Remove conversation URI ()" ()
This reverts commit 75f7f9930e.
Eugen Rochko 75f7f9930e
Remove conversation URI ()
It is not part of ActivityPub and will free up a lot of space
Eugen Rochko bd87e66679
Remove WebSub subscriptions ()
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ()
ThibG 4edf5213dc Add post-deployment migration script to delete public-boosts-of-private-toots ()
ThibG 14f6ce2885 Record account suspend/silence time and keep track of domain blocks ()
* Record account suspend/silence time and keep track of domain blocks

* Also unblock users who were suspended/silenced before dates were recorded

* Add tests

* Keep track of suspending date for users suspended through the CLI

* Show accurate number of accounts that would be affected by unsuspending an instance

* Change migration to set silenced_at and suspended_at

* Revert "Also unblock users who were suspended/silenced before dates were recorded"

This reverts commit a015c65d2d.

* Switch from using suspended and silenced to suspended_at and silenced_at

* Add post-deployment migration script to remove `suspended` and `silenced` columns

* Use Account#silence! and Account#suspend! instead of updating the underlying property

* Add silenced_at and suspended_at migration to post-migration

* Change account fabricator to translate suspended and silenced attributes

* Minor fixes

* Make unblocking domains always retroactive
Eugen Rochko d6b9a62e0a
Extract counters from accounts table to account_stats table ()
Eugen Rochko 8e111b753a
Move status counters to separate table, count replies ()
* Move status counters to separate table, count replies

* Migration to remove old counter columns from statuses table

* Fix schema file
Eugen Rochko 018a9e4e7f
Add post-deployment migration system ()
Adopted from GitLab CE. Generate new migration with:

    rails g post_deployment_migration name_of_migration_here

By default they are run together with db:migrate. To not run them,
the env variable SKIP_POST_DEPLOYMENT_MIGRATIONS must be set

Code by Yorick Peterse <yorickpeterse@gmail.com>, see also:

83c8241160