Commit graph

90 commits

Author SHA1 Message Date
Misty De Méo
b848ba3867
Paperclip: add support for Azure blob storage () 2023-07-19 09:02:49 +02:00
Claire
b922ad7a1b
Fix crash when S3_ALIAS_HOST or S3_CLOUDFRONT_HOST have a path component () 2023-06-01 09:23:28 +02:00
Claire
ca66e61b93
Add support for custom sign-up URLs () 2023-05-23 15:17:09 +02:00
Nick Schonning
da3bd913ae
Autofix Rubocop Style/HashSyntax () 2023-05-04 05:54:26 +02:00
Matt Jankowski
a7df578f97
ApplicationHelper spec coverage, unused removal, tiny refactor () 2023-05-02 18:10:39 +02:00
Matt Jankowski
d902a707a3
Fix Rails/CompactBlank cop () 2023-04-30 14:07:21 +02:00
Matt Jankowski
bdc74086e6
Fix Rails/ContentTag cop () 2023-04-30 06:47:15 +02:00
Matt Jankowski
ece38b9318
Remove duplicate react helper method definitions () 2023-04-28 06:35:25 +02:00
Matt Jankowski
0a5f0a8b20
Remove instance variables from helper usage () 2023-04-23 22:35:54 +02:00
Eugen Rochko
e5c0b16735
Add progress indicator to sign-up flow () 2023-04-16 07:01:24 +02:00
Nick Schonning
25d36b6edd
Autofix Rubocop Style/RedundantArgument () 2023-03-16 10:34:00 +09:00
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier () 2023-02-18 12:37:47 +01:00
Nick Schonning
0d1f192c54
Apply Rubocop Performance/BlockGivenWithExplicitBlock ()
* Apply Rubocop Performance/BlockGivenWithExplicitBlock

* Unprefix used block parameter
2023-02-08 10:36:23 +01:00
Claire
312d616371
Change sign-in banner to reflect disabled or moved account status () 2022-11-05 18:28:13 +01:00
Eugen Rochko
c4b92b1aee
Fix n+1 query during status removal () 2022-11-05 00:09:52 +01:00
Yamagishi Kazutoshi
7afc6a630c
Redirect non-logged-in user to owner statuses on single user mode () 2022-10-12 21:07:30 +02:00
Eugen Rochko
93f340a4bf
Remove setting that disables account deletes () 2022-10-06 10:16:47 +02:00
Eugen Rochko
02ba9cfa35
Remove code for rendering public and hashtag timelines outside the web UI () 2022-10-04 20:13:46 +02:00
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
2022-06-09 22:25:23 +02:00
Claire
ae4f068a84
Fix CAS_DISPLAY_NAME, SAML_DISPLAY_NAME and OIDC_DISPLAY_NAME being ignored () 2022-06-01 19:22:55 +02:00
Eugen Rochko
2b8dc58b7f
Change RSS feeds ()
* Change RSS feeds

- Use date and time for titles instead of ellipsized text
- Use full content in body, even when there is a content warning
- Use media extensions

* Change feed icons and add width and height attributes to custom emojis

* Fix custom emoji animate on hover breaking

* Fix tests
2022-05-09 07:43:08 +02:00
Stefano Pigozzi
99d7684dfd
Replace leftover envelope icons with at icons () 2022-05-06 00:41:56 +02:00
Claire
0a8a0fb599
Fix unusual number formatting in some locales ()
* Fix unusual number formatting in some locales

Fixes 

* Fix typo
2022-04-01 23:59:13 +02:00
Eugen Rochko
cefa526c6d
Refactor formatter ()
* Refactor formatter

* Move custom emoji pre-rendering logic to view helpers

* Move more methods out of Formatter

* Fix code style issues

* Remove Formatter

* Add inline poll options to RSS feeds

* Remove unused helper method

* Fix code style issues

* Various fixes and improvements

* Fix test
2022-03-26 02:53:34 +01:00
Claire
b07906bdb0
Fix wrong language code for Kurdish languages () 2022-03-17 01:37:03 +01:00
Eugen Rochko
50ea54b3ed
Change authorized applications page ()
* Change authorized applications page

* Hide revoke button for superapps and suspended accounts

* Clean up db/schema.rb
2022-03-01 16:48:58 +01:00
Claire
dd63923c0a
Fix link_to_login argument handling when a block is passed () 2022-01-24 03:29:03 +01:00
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
2022-01-23 15:52:58 +01:00
Eugen Rochko
07341e7aa6
Add graphs and retention metrics to admin dashboard () 2021-10-14 20:44:59 +02:00
Claire
e2844b7e58
Change number_to_human calls to always use 3-digits precision ()
Fixes 
2021-07-07 21:13:08 +02:00
Claire
e243092a5a
Add DM icon back on HTML view of DMs ()
Fix regression from 
2021-04-21 15:40:00 +02:00
Eugen Rochko
480d7c9478
Fix missing source strings and inconsistent lead text style in admin UI () 2021-04-17 11:12:49 +02:00
Eugen Rochko
a55e6e99c0
Fix ku locale not being right-to-left () 2020-11-30 23:02:32 +01:00
Takeshi Umeda
148ce97e21
Add interrelationship icon ()
* Add interrelationship icon

* Fix arrow for rtl

* Fix to predefined color
2020-11-12 17:43:12 +01:00
dependabot[bot]
8972e5f7f6
Bump rubocop from 0.86.0 to 0.88.0 ()
* Bump rubocop from 0.86.0 to 0.88.0

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.86.0 to 0.88.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.86.0...v0.88.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix for latest RuboCop

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2020-09-01 03:04:00 +02:00
Takeshi Umeda
418f0a33e9
Add a visibility icon to status ()
* Add a visibility icon to status

* Change to using the icon element

* Fix RTL

* Add a public globe
2020-06-25 22:43:59 +02:00
Takeshi Umeda
13f065da05
Add visibility parameter in share page ()
* Add visibility parameter in share page

* Restrict to default privacy
2020-06-09 00:16:30 +02:00
ThibG
17389c63c8 Change /admin/custom_emoji to honor the auto_play_gif setting ()
Fixes 
2019-09-10 20:56:07 +02:00
Eugen Rochko
e5cee8062f
Fix blurhash and autoplay not working on public pages () 2019-08-16 19:15:05 +02:00
Eugen Rochko
46cb36fd2c
Add invite request to pending account notification e-mail ()
Fix sorting of the pending accounts page
2019-04-10 00:36:01 +02:00
Eugen Rochko
51e154f5e8
Admission-based registrations mode ()
Fix 
Fix 
2019-03-14 05:28:30 +01:00
ThibG
4fb94c758e Add attachment list fallback to public pages ()
* Add attachment list fallback to public pages

Fixes 

* Refactor attachments lists
2019-01-13 09:23:54 +00:00
Eugen Rochko
22de24b8ca
Fix missing protocol in dns-prefetch, improve code style ()
Regression from 
2018-10-12 02:19:10 +02:00
Eugen Rochko
da7705b274
Add dns-prefetch if using different host for assets or uploads () 2018-10-10 01:31:10 +02:00
Eugen Rochko
3d7f68c273
Revert Font Awesome 5 upgrade ()
* Revert "Fix some icon names changed by the Font Awesome 5. ()"

This reverts commit 3f9ec3de82.

* Revert "Migrate to font-awesome 5.0. ()"

This reverts commit 8bae14591b.

* Revert "Fix some icons names, unavailable in fontawesome5 (free license). ()"

This reverts commit b9c727a945.

* Revert "Update the icon name changed by the Font Awesome 5. ()"

This reverts commit 17af4d27da.

* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome ()"

This reverts commit 4b794e134d.
2018-09-28 02:11:14 +02:00
Naoki Kosaka
8bae14591b Migrate to font-awesome 5.0. () 2018-09-27 17:08:56 +02:00
ThibG
c39183cc62 Refactor active_nav_class for use with multiple paths () 2018-09-23 20:42:13 +02:00
Eugen Rochko
6c9be61f57
Fix regression from ()
Missing no-reduce-motion/reduce-motion body class
2018-08-26 14:29:58 +02:00
Eugen Rochko
22e46ebad8
Add theme identifier to body classes for easier custom CSS styling ()
Add forgotten custom CSS admin setting strings
2018-08-25 22:55:25 +02:00