1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/spec
slice 85973f4f37 Improvements to image upload validation and creation (#10431)
* Check if image value is nil? before creating an image

Check if uploaded images aren't nil before creating SiteUpload models
for them.

* Validate presence of file in SiteUpload

* Fix file presence validation

* Fabricate SiteUpload#file

* Add link to Creative Commons license
2019-04-01 07:30:46 +02:00
..
controllers squashed identity proof updates (#10375) 2019-03-28 18:01:09 +01:00
fabricators Improvements to image upload validation and creation (#10431) 2019-04-01 07:30:46 +02:00
features rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
fixtures Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
helpers Add specs for action log helper (#9605) 2019-03-16 00:57:23 +09:00
lib Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401) 2019-03-28 04:44:59 +01:00
mailers Improve e-mail digest (#9689) 2019-01-02 10:47:32 +01:00
models Squish username before validation (#10239) 2019-03-11 20:48:24 +01:00
policies Redesign admin instances area (#9645) 2019-01-08 13:39:49 +01:00
presenters Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
requests Redesign landing page (#10232) 2019-03-12 17:34:00 +01:00
routing
serializers/activitypub Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
services Fix failing keybase-related test (#10428) 2019-03-30 18:15:23 +01:00
support
validators Add support for IPv6 only MXes in Email validation (#10009) 2019-02-12 14:48:04 +01:00
views Redesign landing page (#10232) 2019-03-12 17:34:00 +01:00
workers Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
rails_helper.rb Disable Same-Site cookie implementation to fix SSO issues on WebKit browsers (#9819) 2019-01-15 23:11:46 +01:00
spec_helper.rb