Matt Jankowski
2212dc4aaa
Update Rails to version 5.1.1 ( #3121 )
* Update rails to version 5.1.1
* Run `rails app:update`
* Remove the override of polymorphic activity relationship
* Silence warning about otp_secret attribute being unknown to rails
* We will only introduce form_with where we want to use remote data
7 years ago
Yamagishi Kazutoshi
bca334cd28
Remove arguments in association reader ( #3305 )
7 years ago
alpaca-tc
05b72368ed
Fixes slow query in notifications api ( #2851 )
* Add inclusion validation for activity_type
* When excluding all types with `WHERE NOT IN`, the query search all rows.
7 years ago
yhirano
298796cc7b
annotate models ( #2697 )
* add annotate to Gemfile
* rails g annotate:install
* configure annotate_models
* add schema info to models
* fix rubocop to add frozen_string_literal
7 years ago
Eugen
2810013b93
API param to exclude notification types from response ( #1341 )
* Add exclude_types param to /api/v1/notifications
* Exclude notification types in web UI through exclude_types in the API
7 years ago
Eugen Rochko
cc5c1e5feb
Removed accidental n+1 query from notifications, updated some deps,
improved how "show more" link looks
7 years ago
Eugen
cea9fb31fe
Mitigate inconsistent notifications
7 years ago
Eugen Rochko
2146ac91a0
Follow requests send e-mail notifications, but are excluded from notifications API
Better initial state for unlisted/nsfw toggles
8 years ago
Eugen Rochko
b14b5e3b44
Improve notification model
8 years ago
Eugen Rochko
816284d739
Fix #248 - Reload all accounts when fetching from cache
8 years ago
Eugen Rochko
a21bcac9e1
Further abstract caching for includes
8 years ago
Eugen Rochko
45c7ee39b3
Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
8 years ago
Eugen Rochko
52119104b9
Remove some n+1 queries from notifications API
8 years ago
Eugen Rochko
da2ef4d676
Adding unified streamable notifications
8 years ago