Commit Graph

21 Commits (c3ef5d5414ac1fee5471d7063616a4b72a408e11)

Author SHA1 Message Date
yhirano 298796cc7b annotate models ()
* add annotate to Gemfile

* rails g annotate:install

* configure annotate_models

* add schema info to models

* fix rubocop to add frozen_string_literal
alpaca-tc 630de52fdd Required foreign keys ()
* Add `required: true` option to foreign column

* Fixes NoMethodError

```
> Favourite.new.valid?
NoMethodError: undefined method `reblog?' for nil:NilClass
```
Eugen Rochko de22c202f5 Add counter caches for a large performance increase on API requests
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
Eugen Rochko 50660d54e8 Fix semantics of follow requests another slaps
Eugen Rochko 149887a0ff Make follow requests federate
Eugen Rochko 77e13c2bc9 Removing failed push notification API, make context loads use cache
Eugen Rochko 8b94d283fb Fix wrong person being notified after nested reblog call, fix favourites leaking private toots in Atom feeds
Eugen Rochko 3caf0cfb03 Ensure that reblogs and favs always refer to the original status rather than a reblog wrapper
Eugen Rochko e8c27767aa Remove orphaned notifications, add scopes param to app create API
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko b13e7dda1f API pagination for all collections using Link header
Eugen Rochko 0160d1d9b5 Enable caching for some rabl views
Eugen Rochko 188c6f326b Making public pages responsive, removing reblogs/favs counts from them
Eugen Rochko 927333f4f8 Improve code style
Eugen Rochko 595c8dda60 Favouriting works, reblogging is a little broken because of <Status>
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
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
Eugen Rochko 086d487145 Fix unfollows
Eugen Rochko fa7868675d Send Salmon interactions
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation