1
0
Fork 0
forked from fedi/mastodon
mastodon/app
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
..
chewy Add type, limit, offset, min_id, max_id, account_id to search API (#10091) 2019-02-26 15:21:36 +01:00
controllers Ensure request.body isn't emptied out before signature verification (#10432) 2019-03-31 17:27:24 +02:00
helpers Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401) 2019-03-28 04:44:59 +01:00
javascript i18n: Update Japanese translations (#10427) 2019-04-01 05:50:05 +02:00
lib Add ActivityPub representation for identity proofs (#10414) 2019-03-30 02:12:06 +01:00
mailers Fix error in AdminMailer#new_pending_account (#10264) 2019-03-14 14:20:22 +01:00
models Improvements to image upload validation and creation (#10431) 2019-04-01 07:30:46 +02:00
policies Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
presenters Add blocked_by relationship to the REST API (#10373) 2019-03-26 01:24:09 +01:00
serializers Add ActivityPub representation for identity proofs (#10414) 2019-03-30 02:12:06 +01:00
services Add ActivityPub representation for identity proofs (#10414) 2019-03-30 02:12:06 +01:00
validators Fix HTML validation (#10354) 2019-03-26 17:33:26 +01:00
views squashed identity proof updates (#10375) 2019-03-28 18:01:09 +01:00
workers Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401) 2019-03-28 04:44:59 +01:00