Matt Jankowski
eea027c5c2
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
8 years ago
Yamagishi Kazutoshi
153e96eb02
Remove arguments in association reader ( #3305 )
8 years ago
alpaca-tc
de0f63e0ac
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.
8 years ago
yhirano
e5eb070430
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
8 years ago
Eugen
68f3ce7d0c
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
8 years ago
Eugen Rochko
096ff9ba38
Removed accidental n+1 query from notifications, updated some deps,
...
improved how "show more" link looks
8 years ago
Eugen
9a2a6b476b
Mitigate inconsistent notifications
8 years ago
Eugen Rochko
cef68b9b1c
Follow requests send e-mail notifications, but are excluded from notifications API
...
Better initial state for unlisted/nsfw toggles
8 years ago
Eugen Rochko
047bdf6fe0
Improve notification model
8 years ago
Eugen Rochko
2d4ce8a867
Fix #248 - Reload all accounts when fetching from cache
8 years ago
Eugen Rochko
1bb1ec3b8d
Further abstract caching for includes
8 years ago
Eugen Rochko
f07b0dc82f
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
4d100a1b36
Remove some n+1 queries from notifications API
8 years ago
Eugen Rochko
38025dfea3
Adding unified streamable notifications
8 years ago