1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-14 14:49:01 +09:00
Commit Graph

104 Commits

Author SHA1 Message Date
Matt Jankowski
a6d12299f2
Remove duplicate method def ApplicationHelper#instance_presenter () 2024-05-17 08:29:13 +00:00
Jason Punyon
85c625d319
Fix repetitive database queries from () 2024-05-15 09:38:16 +00:00
Fawaz Farid
bc24c4792d
Allow admins to configure instance favicon and logo () 2024-05-06 15:06:52 +00:00
Matt Jankowski
32ead51e5a
Add material design icons to admin/settings views ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-04-23 16:43:49 +00:00
Matt Jankowski
b61ae28f8d
Separate methods for theme style and meta color tags () 2024-04-05 09:52:43 +00:00
Renaud Chaput
672c9f5f05
Change the theme-color value automatically when using a built-in theme () 2024-03-29 13:32:07 +00:00
Renaud Chaput
02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) ()
Co-authored-by: Nishiki Liu <hello@nshki.com>
2024-03-26 09:25:49 +00:00
Matt Jankowski
6c68c3c0ce
Introduce inline_svg gem, minimal usage, prep for material design icons () 2024-03-19 09:03:15 +00:00
Matt Jankowski
6d2986017e
Remove unused active_nav_class helper method () 2024-03-18 13:24:59 +00:00
Matt Jankowski
92855948a0
Remove unused show_landing_strip? helper method () 2024-03-18 08:55:54 +00:00
Matt Jankowski
c09b8a7164
Add Account.without_internal scope ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-03-13 14:11:23 +00:00
Matt Jankowski
1820bad646
Fix Performance/StringIdentifierArgument cop () 2023-12-18 10:26:09 +00:00
Matt Jankowski
2c6369918c
Fix Style/RedundantArgument cop () 2023-12-11 14:58:29 +00:00
Matt Jankowski
548bb30b2a
Consolidate html page title output logic into helper () 2023-11-09 13:05:57 +00:00
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