Commit Graph

24 Commits (87a55e2cd67a2af754f5a80282635e789c255e72)

Author SHA1 Message Date
ThibG 78e45a5285
Add option to disable swiping motions across the WebUI ()
Fixes 
Faye Duxovni 48f75b86ae Add setting for whether to crop images in unexpanded toots ()
Eugen Rochko 9072fe5ab6
Add trends UI with admin and user settings ()
Eugen Rochko 9b1d3e4acb
Add option to disable real-time updates in web UI ()
Fix 
Fix 
ThibG 3086c645fd Add option to disable blurhash previews ()
* Add option to disable blurhash previews

* Update option text

* Change options order
Eugen Rochko 1e5532e693
Add responsive panels to the single-column layout ()
* Add responsive panels to the single-column layout

* Fixes

* Fix not being able to save the preference

* Fix code style issues

* Set max-height on the compose textarea and add a link to relationship manager
ThibG ed30110618 Make displaying application used to toot opt-in ()
* Make storing and displaying application used to toot opt-in

* Revert to storing application info, and display it to the author via API
ThibG 81bda7d67c Add setting to not aggregate reblogs ()
* Add setting to not aggregate reblogs

Fixes 

* Handle cases where user is nil in add_to_home and add_to_list

* Add hint for setting_aggregate_reblogs option

* Reword setting_aggregate_reblogs label
ふぁぼ原 f7a6f9489d Add a new preference to always hide all media ()
Matt Sweetman 1889526e23 Add user preference to always expand toots marked with content warnings ()
Eugen Rochko a58ec29631
Allow selecting default posting language instead of auto-detect ()
* Allow selecting default posting language instead of auto-detect

* Enable default language setting in credentials API

* Fix form saving
Eugen Rochko 1e02dc8715
Add preference to hide following/followers lists ()
* Add preference to hide following/followers lists

- Public pages
- ActivityPub collections (does not return pages but does give total)
- REST API (unless it's your own) (does not federate)

Fix 

* Add preference

* Add delegation

* Fix issue

* Fix issue
Levi Bard cd0eaa349c Enable updating additional account information from user preferences via rest api ()
* Enable updating additional account information from user preferences via rest api
Resolves 

* Pacify rubocop

* Decoerce incoming settings in UserSettingsDecorator

* Create user preferences hash directly from incoming credentials instead of going through ActionController::Parameters

* Clean up user preferences update

* Use ActiveModel::Type::Boolean instead of manually checking stringified number equivalence
Eugen Rochko 76f3d5d16b
Add preference to always display sensitive media ()
Nolan Lawson fa0be3f834 Add option to reduce motion ()
* Add option to reduce motion

* Use HOC to wrap all Motion calls

* fix case-sensitive issue

* Avoid updating too frequently

* Get rid of unnecessary change to _simple_status.html.haml
Lynx Kotoura daa59dd454 Fix theme settings ()
Yamagishi Kazutoshi 178f718a9b Separate notifications preferences from general preferences ()
* Separate notifications preferences from general preferences

* Refine settings/notifications/show

* remove preferences.notifications
Andrew 0401a24558 Add support for multiple themes ()
* Add support for selecting a theme

* Fix codeclimate issues

* Look up site default style if current user is not available due to e.g. not being logged in

* Remove outdated comment in common.js

* Address requested changes in themes PR

* Fix codeclimate issues

* Explicitly check current_account in application controller and only check theme availability if non-nil

* codeclimate

* explicit precedence with &&

* Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml

* codeclimate: indentation + return
Yamagishi Kazutoshi 3267e4a785 Add unfollow modal (optional) ()
* Add unfollow modal

* unfollowing someone

* remove unnecessary prop
Eugen Rochko c42092ba7a Add option to opt out of search engines on public profile/status pages ()
Yamagishi Kazutoshi 2b9721d1b3 Add setting a always mark media as sensitive ()
Damien Erambert 18d3fa953b Add a setting allowing the use of system's default font in Web UI ()
* add a system_font_ui setting on the server

* Plug the system_font_ui on the front-end

* add EN/FR locales for the new setting

* put Roboto after all other fonts

* remove trailing whitespace so CodeClimate is happy

* fix user_spec.rb

* correctly write user_spect this time

* slightly better way of adding the classes

* add comments to the system-font stack for clarification

* use .system-font for the class instead

* don't use multiple lines for comments

* remove trailing whitespace

* use the classnames module for consistency

* use `mastodon-font-sans-serif` instead of Roboto directly
Atsushi Yamamoto 402c19a924 Add preference setting for delete toot modal ()
* Set delete_modal preference to true by default
* Does not show confirmation modal if delete_modal is false
* Add ja translation for preference setting page
Matt Jankowski 2dda356e3f Clean up settings/preferences controller ()
* Add missing fields group on preferences page

* Clean up settings/preferences controller

* Extract a UserSettingsDecorator