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
alpaca-tc
630de52fdd
Required foreign keys ( #2003 )
* Add `required: true` option to foreign column
* Fixes NoMethodError
```
> Favourite.new.valid?
NoMethodError: undefined method `reblog?' for nil:NilClass
```
7 years ago
Eugen Rochko
de22c202f5
Add counter caches for a large performance increase on API requests
7 years ago
Eugen Rochko
35933167c0
Add counter caches for a large performance increase on API requests
7 years ago
Eugen Rochko
0518492158
Stop trying to shoehorn all Salmon updates into the poor database-connected
StreamEntry model. Simply render Salmon slaps as they are needed
7 years ago
Eugen Rochko
50660d54e8
Fix semantics of follow requests another slaps
7 years ago
Eugen Rochko
149887a0ff
Make follow requests federate
7 years ago
Eugen Rochko
77e13c2bc9
Removing failed push notification API, make context loads use cache
7 years ago
Eugen Rochko
8b94d283fb
Fix wrong person being notified after nested reblog call, fix favourites leaking private toots in Atom feeds
7 years ago
Eugen Rochko
3caf0cfb03
Ensure that reblogs and favs always refer to the original status rather than a reblog wrapper
7 years ago
Eugen Rochko
e8c27767aa
Remove orphaned notifications, add scopes param to app create API
8 years ago
Eugen Rochko
fdc17bea58
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
b13e7dda1f
API pagination for all collections using Link header
8 years ago
Eugen Rochko
0160d1d9b5
Enable caching for some rabl views
8 years ago
Eugen Rochko
188c6f326b
Making public pages responsive, removing reblogs/favs counts from them
8 years ago
Eugen Rochko
927333f4f8
Improve code style
8 years ago
Eugen Rochko
595c8dda60
Favouriting works, reblogging is a little broken because of <Status>
8 years ago
Eugen Rochko
10ba09f546
Upgrade to Rails 5.0.0.1
8 years ago
Eugen Rochko
a08e724476
Fix subscriptions:clear task, refactor feeds, refactor streamable activites
and atom feed generation to some extent, as well as the way mentions are
stored
8 years ago
Eugen Rochko
086d487145
Fix unfollows
8 years ago
Eugen Rochko
fa7868675d
Send Salmon interactions
8 years ago
Eugen Rochko
fa33750105
Adding reblogs, favourites, improving atom generation
8 years ago