Commit Graph

192 Commits (d45b4db1d76f9ce7a310ff3a420be47f9d35113d)

Author SHA1 Message Date
Claire 9463a31107
Change “Posting defaults” settings page to enforce `nobody` quote policy for `private` default visibility (#36040) 3 months ago
Claire ab698ff521
Move posting defaults to their own preferences sub-category (#35966) 3 months ago
Matt Jankowski 8131268256
Replace `unprocessable_entity` -> `unprocessable_content` (#35658) 4 months ago
Matt Jankowski b464b87c2b
Use `moved?` query method where relevant (#35542) 4 months ago
Matt Jankowski 5c01ccc31f
Set flash options via redirect where possible (#35370) 4 months ago
Matt Jankowski 30344d6abf
Confirm `User#login_activities` in auth/sessions spec (#35372) 4 months ago
Eugen Rochko a97647158c
Add REST API for featuring and unfeaturing a hashtag (#34489)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
7 months ago
Claire 420ffdfb62
Add delay to profile updates to debounce them (#34137) 9 months ago
Matt Jankowski c3419d146a
Remove duplicate cache header setting before action (#33833) 10 months ago
Claire 5553941666
Drop custom `scopes` conversion code from `/settings/applications` controller (#33819) 10 months ago
Claire cf820b2eca
Fix `/settings/applications` rejecting scopes parameter (#33798) 10 months ago
Matt Jankowski 93f3c724ae
Use `expect` in remaining controller locations (#33748) 10 months ago
Matt Jankowski a1d9c3fb99
Use `expect` params wrapper for more "auth" and "2FA" "controllers" (#33717) 10 months ago
Matt Jankowski 4a9c49ee43
Fix issue with saving empty fields values on profile update (#33689) 10 months ago
Matt Jankowski e155aab39e
Use `expect` for nested params in `settings/*` controllers (#33673) 10 months ago
Christian Schmidt a3baae0b99
API for updating attribution domains (#32730) 10 months ago
Matt Jankowski c511cbcd6c
Extract constants for controller `LIMIT` queries (#32921) 1 year ago
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts (#32227) 1 year ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 1 year ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 1 year ago
Matt Jankowski a9d0b48b65
Set "admin" body class from `admin` nested layout (#31269) 1 year ago
Emelia Smith e02d23b549
Change `read:me` scope to `profile` scope (#30357)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Emelia Smith f0d6dc4519
Fix: Mark redirect uris field in Development > Application form as required (#30311) 2 years ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 2 years ago
Matt Jankowski 650c548c31
Add `not_featured_by` scope to Tag (#28815) 2 years ago
Matt Jankowski 17ea22671d
Fix `Style/GuardClause` cop in app/controllers (#28420) 2 years ago
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases (#28053) 2 years ago
Matt Jankowski 1f1c75bba5
File cleanup/organization in `controllers/concerns` (#27846) 2 years ago
Claire 379115e601
Add SELF_DESTRUCT env variable to process self-destructions in the background (#26439) 2 years ago
jsgoldstein 30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire cc4560d95b
Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach (#26508) 2 years ago
Claire fc5ab2dc83
Add privacy tab in profile settings (#26484)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Eugen Rochko bca649ba79
Change edit profile page (#25413) 2 years ago
Eugen Rochko 4c9406bdb0
Add time zone preference (#25342) 3 years ago
Claire 8884d1ece0
Add support for importing lists (#25203) 3 years ago
Matt Jankowski 08fb9d300a
Spec coverage for settings/preferences/* controllers (#24825) 3 years ago
Matt Jankowski f1c1dd0118
Rename `with_lock` to `with_redis_lock` to avoid confusion with ActiveRecord's method (#24741) 3 years ago
Claire 32a030dd74
Rewrite import feature (#21054) 3 years ago
Matt Jankowski 6e226f5a32
Fix Rails/ActionOrder cop (#24692) 3 years ago
Eugen Rochko e98c86050a
Refactor `Cache-Control` and `Vary` definitions (#24347) 3 years ago
Matt Jankowski d193bc8c5c
Remove unused methods in 2FA OTP Auth Controller (#24220) 3 years ago
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire a232a1feb8
Fix misleading error code when receiving invalid WebAuthn credentials (#23568) 3 years ago
Nick Schonning aef0051fd0
Enable Rubocop HTTP status rules (#23717) 3 years ago
Claire 20a479ff7c
Change `POST /settings/applications/:id` to regenerate token on scopes change (#23359)
Fixes #23096
3 years ago
Daniel Axtens 4d85c27d1a
Add 'private' to Cache-Control, match Rails expectations (#20608)
Several controlers set quite intricate Cache-Control headers in order to
hopefully not be cached by any intermediate proxies or local caches. Unfortunately,
these headers are processed by ActionDispatch::HTTP::Cache in a way that squashes
and discards any values set alongside no-store other than private:
8015c2c2cf/actionpack/lib/action_dispatch/http/cache.rb (L207-L209)

We want to preserve no-store on these responses, but we might as well remove
parts that are going to be dropped anyway. As many of the endpoints in these
controllers are private to a particular user, we should also add "private",
which will be preserved alongside no-store.
3 years ago
Claire bb1ef11c30
Change featured hashtag deletion to be done synchronously (#19590) 3 years ago
Yamagishi Kazutoshi 45d3b32488
Fix `Settings::FeaturedTagsController` (#19418)
Regression from #19409
3 years ago
Takeshi Umeda 74ead7d106
Change featured tag updates to add/remove activity (#19409)
* Change featured tag updates to add/remove activity

* Fix to check for the existence of feature tag

* Rename service and worker

* Merge AddHashtagSerializer with AddSerializer

* Undo removal of sidekiq_options
3 years ago
Takeshi Umeda b0e3f0312c
Add synchronization of remote featured tags (#19380)
* Add LIMIT of featured tag to instance API response

* Add featured_tags_collection_url to Account

* Add synchronization of remote featured tags

* Deliver update activity when updating featured tag

* Remove featured_tags_collection_url

* Revert "Add featured_tags_collection_url to Account"

This reverts commit cff349fc27.

* Add hashtag sync from featured collections

* Fix tag name normalize

* Add target option to fetch featured collection

* Refactor fetch_featured_tags_collection_service

* Add LIMIT of featured tag to v1/instance API response
3 years ago