Commit Graph

191 Commits (103e544cfaadd33f33369cf6e8496accbebc3906)

Author SHA1 Message Date
Claire 7a84b76bb1
Drop favicon.ico generation ()
Renaud Chaput 43bbdea421
Fix invalid `mask-icon` when a custom instance icon is configured ()
Louis Brauer f0ca874b09
Include crossorigin in inert css ()
Matt Jankowski 2fdd782f21
Fix empty `aria-hidden` attribute value in logo resources area ()
Jason Punyon 85c625d319
Fix repetitive database queries from ()
Claire d8c4284723
Ensure custom favicon is converted to PNG and ICO ()
Fawaz Farid bc24c4792d
Allow admins to configure instance favicon and logo ()
Matt Jankowski b61ae28f8d
Separate methods for theme style and meta color tags ()
Renaud Chaput 672c9f5f05
Change the `theme-color` value automatically when using a built-in theme ()
Renaud Chaput 02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) ()
Co-authored-by: Nishiki Liu <hello@nshki.com>
Matt Jankowski d7ab5655ef
Replace `render_symbol` method with `inline_svg_tag` usage ()
Renaud Chaput cb5ac15923
Use a helper to avoid using `media/` asset prefixes ()
HTeuMeuLeu 7f471e70c0
Update new email templates ()
Co-authored-by: Matt Jankowski <matt@jankowski.online>
Renaud Chaput c6684aa1e3
Use the assets pipeline to load `inert.css` ()
Matt Jankowski 2d536bb05f
Use `admin_mailer` layout with initial salutation ()
Matt Jankowski 9b8ba9b350
Remove unused `plain_mailer` layout ()
Matt Jankowski 548bb30b2a
Consolidate html page title output logic into helper ()
Matt Jankowski 70dbf84b9b
Solve simplest haml-lint `Rubocop` lints ()
Matt Jankowski 9974163776
Consolidate inclusion of `admin` js pack link ()
Christian Schmidt ca342d4838
Add List-Unsubscribe email header ()
Claire b4e739ff0f
Change interaction modal in web UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Renaud Chaput 42698b4c5c
Fix the crossorigin attribute ()
Claire 64f7a11658
Fix cross-origin loading of locales ()
Eugen Rochko 6637ef7852
Add unsubscribe link to e-mails ()
Renaud Chaput 44cd88adc4
Upgrade react-intl ()
Claire 276c39361b
Fix anonymous visitors getting a session cookie on first visit ()
Nick Schonning 65669d3c57
Fix more haml-lint Rubocop ()
Nick Schonning 75131e7bf7
Setup haml-lint CI with todo config ()
nametoolong 332a411fad
Remove title from mailer layout ()
Nikita Karamov 70b3207e33
Add a11y tags to the modal ()
Closes 
SJang1 053dac2afa
Remove meta tag for official iOS app ()
Eugen Rochko ad83e64795
Fix sidebar and tabs on settings on small screens in admin UI ()
Eugen Rochko f910f0dc92
Fix wrong host being used for custom.css when asset host configured ()
Eugen Rochko 1fd6460b02
Change floating action button to be a button in header in web UI ()
- Fix theme color
- Fix elephant being too big on error page on small screens
- Remove "Follows and Followers" link from navigation panel
Eugen Rochko 7c152acb2c
Change settings area to be separated into categories in admin UI ()
And update all descriptions
Eugen Rochko 839f893168
Change public accounts pages to mount the web UI ()
* Change public accounts pages to mount the web UI

* Fix handling of remote usernames in routes

- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict

* Fix missing `multiColumn` prop

* Fix failing test

* Use `discoverable` attribute to control indexing directives

* Fix `<ColumnLoading />` not using `multiColumn`

* Add `noindex` to accounts in REST API

* Change noindex directive to not be rendered by default before a route is mounted

* Add loading indicator for detailed status in web UI

* Fix missing indicator appearing while account is loading in web UI
Eugen Rochko 02ba9cfa35
Remove code for rendering public and hashtag timelines outside the web UI ()
Eugen Rochko 36f4c32a38
Change path of privacy policy page ()
Eugen Rochko d696f729f1
Add meta tag for official iOS app ()
Eugen Rochko 44b2ee3485
Add customizable user roles ()
* Add customizable user roles

* Various fixes and improvements

* Add migration for old settings and fix tootctl role management
Claire 37cd984acf
Fix logo gradient not working on some Safari and Blink-based browsers ()
Works around https://bugs.chromium.org/p/chromium/issues/detail?id=258029
Eugen Rochko 45aa5781ce
Change brand color and logotypes ()
- Add rake task for generating Apple/Android icons and favicons from SVG
- Add rake task for generating PNG icons and logos for e-mails from SVG
- Remove obsolete Microsoft icons and configuration
- Remove PWA shortcut icons
Eugen Rochko a2871cd747
Add administrative webhooks ()
* Add administrative webhooks

* Fix error when webhook is deleted before delivery worker runs
Eugen Rochko 50ea54b3ed
Change authorized applications page ()
* Change authorized applications page

* Hide revoke button for superapps and suspended accounts

* Clean up db/schema.rb
Eugen Rochko bbd3474416
Fix privacy policy link not being visible on small screens ()
Fix 
Claire bddd9ba36d
Add OMNIAUTH_ONLY environment variable to enforce externa log-in ()
* Remove support for OAUTH_REDIRECT_AT_SIGN_IN

Fixes 

Introduced in , OAUTH_REDIRECT_AT_SIGN_IN allowed skipping the log-in form
to instead redirect to the external OmniAuth login provider.

However, it did not prevent the log-in form on /about introduced by  from
appearing, and completely broke with the introduction of .

As I restoring that previous log-in flow without introducing a security
vulnerability may require extensive care and knowledge of how OmniAuth works,
this commit removes support for OAUTH_REDIRECT_AT_SIGN_IN instead for the time
being.

* Add OMNIAUTH_ONLY environment variable to enforce external log-in only

* Disable user registration when OMNIAUTH_ONLY is set to true

* Replace log-in links When OMNIAUTH_ONLY is set with exactly one OmniAuth provider
David Sterry 7c27ccb8d8
Fix ()
Claire 117f6638d0
Fix SVG files not being correctly included in templates ()
In Rails 6.1, raw file inclusion in templates have to be explicitly marked as
HTML-safe, otherwise it's rendered as text.
Claire 39a490c70e
Fix custom CSS when CDN_HOST is set ()
Jeong Arm d499bb031f
Use custom mascot on static share page ()
* Use custom mascot on static share page

* Use full_asset_url