discourse/spec
Jarek Radosz 64ce12a758
FIX: `OptimizedImage#filesize` (#10095)
`OptimizedImage#filesize` calls `Discourse.store.download` with an OptimizedImage as an argument. It would in turn attempt to call `#original_filename` and `#secure?` on that object. Both would fail as these methods do not exist on OptimizedImage, only on Upload. We didn't know about these issues because:
1. `#calculate_filesize` is not called often, because the filesize is saved on OptimizedImage creation, so it's used mostly for manual filesize recalculation
2. we were using `rescue nil` which swallows all errors
2020-07-06 17:01:29 +02:00
..
components FEATURE: sso_overrides_(email|username|name) for all auth methods 2020-07-06 10:18:45 +01:00
fabricators FEATURE: allows published pages to be public (#10053) 2020-06-17 12:42:20 +02:00
fixtures FIX: Add attachment content-disposition for all non-image files (#10058) 2020-06-17 11:16:37 +10:00
helpers Fix the build. 2020-06-22 14:50:17 +08:00
import_export
initializers
integration PERF: Do not include thumbnail information in default topic list payload (#10163) 2020-07-06 10:59:21 +01:00
integrity DEV: Check English locale for errors in CI 2020-06-03 21:54:58 +02:00
jobs DEV: Remove accidentally committed `puts` statements 2020-06-23 12:41:47 +01:00
lib FIX: Restoring backup from PG12 could fail on PG10 2020-06-16 16:04:14 +02:00
mailers DEV: correct regression and correct tests 2020-07-06 10:56:19 +10:00
models FIX: `OptimizedImage#filesize` (#10095) 2020-07-06 17:01:29 +02:00
multisite FIX: invalid urls should not break store.has_been_uploaded? 2020-06-25 15:00:15 +10:00
requests FEATURE: sso_overrides_(email|username|name) for all auth methods 2020-07-06 10:18:45 +01:00
script/import_scripts
serializers FIX: uploading an image as a site setting 2020-07-03 13:23:10 +02:00
services FEATURE: trigger `user_updated` event if username is changed. 2020-07-03 00:14:19 +05:30
support FIX: Redirects containing Unicode usernames didn't work 2020-06-08 10:26:29 +02:00
tasks FEATURE: Add uploads:batch_migrate_from_s3 task to limit total posts migrated at once (#9933) 2020-06-04 09:48:11 +10:00
views/omniauth_callbacks
rails_helper.rb Always require pry gems in rails_helper 2020-06-17 10:08:53 +10:00
swagger_helper.rb