This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/models
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
```
2017-04-17 15:54:33 +02:00
..
concerns Remove .keep in models (#1892) 2017-04-16 16:28:52 +02:00
form Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278) 2017-04-08 22:20:08 +02:00
web
account.rb When avatar/header are GIF, generate static versions (#1428) 2017-04-11 00:38:58 +02:00
account_filter.rb Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00
application_record.rb
block.rb add more tests to models 2017-04-05 00:29:56 +02:00
domain_block.rb I18n health warnings (#1949) 2017-04-16 19:37:01 +02:00
export.rb Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
favourite.rb Required foreign keys (#2003) 2017-04-17 15:54:33 +02:00
feed.rb
follow.rb fix rubocop issues 2017-04-05 00:47:17 +02:00
follow_request.rb add more tests to models 2017-04-05 00:29:56 +02:00
import.rb Add presence validation to Import (#1928) 2017-04-16 16:28:26 +02:00
media_attachment.rb
mention.rb add more tests to models 2017-04-05 00:29:56 +02:00
mute.rb Required foreign keys (#2003) 2017-04-17 15:54:33 +02:00
notification.rb API param to exclude notification types from response (#1341) 2017-04-10 23:45:29 +02:00
preview_card.rb
remote_follow.rb
report.rb Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
setting.rb
status.rb Required foreign keys (#2003) 2017-04-17 15:54:33 +02:00
stream_entry.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
subscription.rb Required foreign keys (#2003) 2017-04-17 15:54:33 +02:00
tag.rb Search cleanup (#1333) 2017-04-09 14:45:01 +02:00
user.rb Required foreign keys (#2003) 2017-04-17 15:54:33 +02:00
web.rb