Commit Graph

14478 Commits

Author SHA1 Message Date
Matt Jankowski 4fb3dc0363
Extract `CSS_COLORS` constant for `UserRole` regex validation (#33532) 2025-01-10 09:02:48 +00:00
github-actions[bot] 846c89b66e
New Crowdin Translations (automated) (#33541)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-10 09:00:41 +00:00
Matt Jankowski f98972e4eb
Use `with_options` for Account `if: :local?` validation group (#33529) 2025-01-10 09:00:31 +00:00
Matt Jankowski 54e2030146
Add `AccountWarning#appeal_eligible?` method (#33526) 2025-01-09 15:08:39 +00:00
Matt Jankowski 3a4aed9890
Rename `app/helpers/jsonld_helper.rb` to `app/helpers/json_ld_helper.rb` (#33489) 2025-01-09 14:39:49 +00:00
Matt Jankowski 9b8d1fb6d1
Add `Account#actor_type_application?` query method (#33525) 2025-01-09 14:32:48 +00:00
Claire a8b2b474d7
Add timestamp to all announcements in Web UI (#18329) 2025-01-09 14:22:33 +00:00
Claire c6c8e7e6ab
Fix last paginated notification group only including data on a single notification (#33271) 2025-01-09 13:47:12 +00:00
Claire 91c75a6361
Re-introduce `application_id` in `ScheduledStatusSerializer` (#33505) 2025-01-09 13:38:23 +00:00
Christian Schmidt 8e2c642d44
Do now swallow response body on persistent connection (#32729) 2025-01-09 08:35:35 +00:00
github-actions[bot] 4e2c15b45d
New Crowdin Translations (automated) (#33522)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-09 08:21:47 +00:00
Claire 10e24113a8
Fix issue with “Translate” button being overlayed on text (#2935)
Fixes #2932
2025-01-08 18:25:09 +01:00
Claire dc14695f8a
Fix extraneous margins below CW in absence of mentions (#2936) 2025-01-08 18:24:57 +01:00
Claire 6b1ea8dd2c
Require specific subtype of `formatMessage` in `timeAgoString` (#33511) 2025-01-08 16:26:54 +00:00
Claire 1bf6195763
Fix use of deprecated `Iterable.isIndexed` from immutable (#33510) 2025-01-08 16:25:41 +00:00
Matt Jankowski f22a2aab40
Add `Account#remote?` query method (#33508) 2025-01-08 14:28:08 +00:00
Emelia Smith 15669fcf75
Include time portion in formatted datetimes when provided (#33191) 2025-01-08 14:26:08 +00:00
github-actions[bot] 35e57138f1
New Crowdin Translations (automated) (#33500)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-08 09:01:28 +00:00
Matt Jankowski c0264c8013
Extend custom CSS cache time with digest paths (#33207) 2025-01-08 08:48:45 +00:00
Matt Jankowski b3243ef41c
Refer to constant values from `api/v1/apps` request spec (#33488) 2025-01-07 16:28:54 +00:00
Matt Jankowski 7ad44e22ed
Remove role color highlighting from custom css (#33493) 2025-01-07 16:28:35 +00:00
Claire 82e046ea06
Fix preview card sizing in “Author attribution” in profile settings (#33482) 2025-01-07 11:29:38 +00:00
Nick Schonning c12b85e7a9
Fix Style/MultipleComparison (#33313)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
2025-01-07 11:24:52 +00:00
github-actions[bot] 9715bd796f
New Crowdin Translations (automated) (#33480)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-07 07:50:27 +00:00
Matt Jankowski edf62d4fe3
Add `self_editing?` method to user role policy (#33476) 2025-01-07 07:50:19 +00:00
Matt Jankowski dd937e115a
Use `distributable?` method in admin/status_policy method (#33477) 2025-01-07 07:47:58 +00:00
Matt Jankowski b0634b2943
Add helpers for ios/android app store links in welcome mailer (#33475) 2025-01-06 19:59:11 +00:00
Claire 412a0dd661 [Glitch] Further remove old notifications code
Port e8672e27e8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-06 20:40:26 +01:00
Claire 32567a6d8d [Glitch] Fix color contrast in report modal
Port c692f69dba to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-06 20:40:06 +01:00
Claire 126ce9a232 Merge commit '82d2ce293d98a2b9e024bc5396c3586904d46ae5' into glitch-soc/merge-upstream 2025-01-06 20:36:25 +01:00
Matt Jankowski ef39398b82
Add `urgent` scope and `by_version` method to `SoftwareUpdate` (#33470) 2025-01-06 18:23:57 +00:00
Matt Jankowski 4cf031ee13
Extricate `Invite` constants for code generation (#33472) 2025-01-06 18:23:05 +00:00
Matt Jankowski 1eb752fb38
Extract constants for `AnnualReport::*` minimum thresholds (#33469) 2025-01-06 18:22:32 +00:00
Claire e8672e27e8
Further remove old notifications code (#33465) 2025-01-06 18:22:07 +00:00
Claire c692f69dba
Fix color contrast in report modal (#33468) 2025-01-06 16:24:32 +00:00
Jeremy Kescher ae302d2f5a
[Glitch] Standalone share page: Dispatch fetchServer for maxChars (#2929) 2025-01-06 12:50:40 +01:00
Claire ea9b10d112
Fix error 500 when passing an invalid `lang` parameter (#33467) 2025-01-06 10:16:42 +00:00
Claire dbbf450ef5
Fix `fediverse:creator` metadata not showing up in REST API (#33466) 2025-01-06 10:04:25 +00:00
Matt Jankowski 08dd11f8d4
Use `in_order_of` with `filter: false` in `AccountSummary.localized` (#33446) 2025-01-06 08:18:05 +00:00
Jeremy Kescher 612d6182e4
Fix `/share` not using server-set characters limit (#33459) 2025-01-06 08:14:11 +00:00
github-actions[bot] c93c1f38b7
New Crowdin Translations (automated) (#33451)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-06 08:13:39 +00:00
github-actions[bot] 53f8ac09f3
New Crowdin Translations (automated) (#2920)
* New Crowdin translations

* Update no.yml

* Update simple_form.no.yml

---------

Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2025-01-05 14:55:11 +01:00
Tim Rogers 3bdfa3eb4c
Added validator for extra profile field values with empty name (#33421) 2025-01-04 19:42:27 +00:00
Claire 0327db3db0 [Glitch] Refactor status `handleClick` and `handleHotkeyOpen` handlers
Port 9712518b2f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-04 15:30:32 +01:00
Claire d878ca267c [Glitch] Fix audio player modal having white-on-white buttons in light theme
Port 02fe176fd4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-04 15:29:56 +01:00
Claire 807bf8be24 Merge commit '9712518b2fb2585df3bcff95a687c291f04a4199' into glitch-soc/merge-upstream 2025-01-04 15:27:49 +01:00
Claire 9712518b2f
Refactor status `handleClick` and `handleHotkeyOpen` handlers (#33435) 2025-01-03 22:00:52 +00:00
Claire 02fe176fd4
Fix audio player modal having white-on-white buttons in light theme (#33444) 2025-01-03 21:51:51 +00:00
Claire 813921295e [Glitch] Remove old notifications actions and reducers
Port 7d6da219c0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-03 20:54:09 +01:00
Christian Schmidt 49c5791dec [Glitch] Localize language names
Port f9582bcfc3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-03 20:29:08 +01:00
Claire 7e1f8babbd Merge commit '7d6da219c0fccb8693282a99765135050173d7c4' into glitch-soc/merge-upstream 2025-01-03 20:26:28 +01:00
Claire 7d6da219c0
Remove old notifications actions and reducers (#31843) 2025-01-03 16:12:08 +00:00
Christian Schmidt f9582bcfc3
Localize language names (#33402) 2025-01-03 15:29:25 +00:00
Claire 04be5e7f12 [Glitch] Add `t` hotkey for post translations
Port 79a9069deb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-03 12:36:12 +01:00
Claire 68106f250c Merge commit '6ffa251d6ad239d1ad2b95e784c3a7a21cbf50e8' into glitch-soc/merge-upstream 2025-01-03 12:34:47 +01:00
Claire 79a9069deb
Add `t` hotkey for post translations (#33441) 2025-01-03 09:24:50 +00:00
github-actions[bot] a8a16695f1
New Crowdin Translations (automated) (#33439)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-03 07:53:00 +00:00
gunchleoc 216b1fcd45 [Glitch] Fix favorite & bookmark text toggle in timeline, status and image view
Port 3201485df2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-02 22:08:43 +01:00
Jeong Arm 539fa40623 [Glitch] Fix keyboard shortcut for open status
Port a557f9bbaa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-02 21:16:56 +01:00
Claire 970eaae2f1 [Glitch] Fix processing of incoming notifications for unfilterable types
Port 655c4a5ebb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-02 21:16:01 +01:00
Claire b9a32b0003 [Glitch] Fix WebUI erroneously stopping to offer expanding search results after second page
Port 68bfa7ae3f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-01-02 21:15:38 +01:00
Claire cef665788a Merge commit '8e3fd1b8236448f01221b1d7745736e50de51e11' into glitch-soc/merge-upstream 2025-01-02 21:14:14 +01:00
Jeong Arm a557f9bbaa
Fix keyboard shortcut for open status (#33419) 2025-01-02 15:48:59 +00:00
gunchleoc 3201485df2
Fix favorite & bookmark text toggle in timeline, status and image view (#27209) 2025-01-02 13:52:07 +00:00
Claire 655c4a5ebb
Fix processing of incoming notifications for unfilterable types (#33429) 2025-01-02 13:22:25 +00:00
Claire 68bfa7ae3f
Fix WebUI erroneously stopping to offer expanding search results after second page (#33428) 2025-01-02 10:58:00 +00:00
github-actions[bot] ba18289477
New Crowdin Translations (automated) (#33378)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-02 09:02:47 +00:00
Claire b7afca0f05
Change status content markup to match upstream (#2923)
* Remove option to have media outside of CWs

Upstream adopted the media-in-CW design glitch-soc originally had.

* Move poll to StatusContent

* Refactor status media icons

* Rename `forceFilter` to `showDespiteFilter` for consistency with upstream

* Change media and status content markup to match upstream's

* Add mention placeholders back
2024-12-29 19:59:19 +01:00
Claire a6007ef5fa
Fix “Media“ local settings page being inaccessible (#2922) 2024-12-28 19:31:27 +01:00
Eugen Rochko c40016b785 [Glitch] Change search to use query params in web UI
Port 0636bcdbe1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:38:02 +01:00
Eugen Rochko 168d14c920 [Glitch] Change design of interaction modal in web UI
Port f19fd0b889 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Eugen Rochko 2f9efb721c [Glitch] Change animation on feed generation screen in web UI
Port 3cf6681736 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Matt Jankowski e516066112 [Glitch] Fix long account username leaving container
Port 234af14966 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Renaud Chaput e5dc03a353 [Glitch] Fix voting on polls
Port da279df8ae to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Claire 9e7a7c713f [Glitch] Change label of grouped favourite notification on private mentions
Port a4560d9278 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Renaud Chaput 37070a7881 [Glitch] Convert polls to Typescript / Immutable Records
Port ded799f913 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Claire 967e095724 [Glitch] Fix Chromium showing scrollbar on embedded posts
Port 58c5068bda to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Eugen Rochko bb17ffac92 [Glitch] Change referrer policy to be controlled by header in web UI
Port 425311e1d9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00
Emelia Smith 39ebf707f0 [Glitch] Fix missing top border on Admin Hashtags UI
Port 6615f17b48 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:38 +01:00
Eugen Rochko cbe88a1e9c [Glitch] Add terms of service
Port 30aa0df88c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:38 +01:00
Eugen Rochko 1da3010ffd [Glitch] Fix design of search bar on explore screen in light theme in web UI
Port bf79174829 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:38 +01:00
Eugen Rochko 0bf4d49166 [Glitch] Fix various visual sign-up flow issues
Port ca45f896dd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:38 +01:00
Eugen Rochko a8f6ed9776 [Glitch] Refactor `<HashtagHeader>` to TypeScript
Port 25387dc423 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:38 +01:00
Mohammad Kazemi fb77bfb94d [Glitch] Set unicode-bidi of account header content to plaintext in styles
Port b82c791770 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 19:53:55 +01:00
Eugen Rochko 6868b4481c [Glitch] Add ability to search for all accounts when creating a list in web UI
Port 7135f513a4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 19:53:23 +01:00
Eugen Rochko 062723cfb2 [Glitch] Change percentile label in year in review in web UI
Port 6cf87762a4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 19:38:57 +01:00
Michael Stanclift 93631757b8 [Glitch] Provide option to force use of system scrollbar styling
Port 04b7046be1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 19:38:27 +01:00
Eugen Rochko 14fe8c7d4b [Glitch] Refactor `<Column>` to TypeScript
Port 346a27b6fc to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 19:37:18 +01:00
Claire 0aa69487a2 Merge commit '877090518682b6c77ba9bdfa0231afd56daec44d' into glitch-soc/merge-upstream
Conflicts:
- `app/models/concerns/user/has_settings.rb`:
  Not a real conflict, upstream added a setting textually close to a glitch-soc one.
  Added upstream's new setting.
- `app/views/settings/preferences/appearance/show.html.haml`:
  Not a real conflict, upstream added a setting textually close to a glitch-soc one.
  Added upstream's new setting.
- `config/routes.rb`:
  Upstream moved web app routes to `config/routes/web_app.rb`, while glitch-soc had
  an extra route.
  Moved the extra route to `config/routes/web_app.rb`.
- `spec/controllers/settings/preferences/appearance_controller_spec.rb`:
  This spec got converted to a system spec upstream.
  However, the theme setting works differently in glitch-soc, so the spec had been
  changed.
  Changed the corresponding system spec as well.
2024-12-25 18:01:37 +01:00
Claire 57c5905c19
Fix clicking on status prepends (“X boosted Y”) opening original account in a new tab (#2919) 2024-12-23 22:33:12 +01:00
github-actions[bot] 76efddfc57
New Crowdin Translations (automated) (#2907)
* New Crowdin translations

* Fix bogus no.yml

* Fix bogus simple_form.no.yml

---------

Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-12-23 18:28:38 +01:00
Claire 5b93331a48 [Glitch] Fix middle-click handling conflicting with automatic scrolling
Port 9ff01403ea to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-22 20:42:25 +01:00
Eugen Rochko d2fd51691a [Glitch] Add ability to middle-mouse click posts in web UI
Port 683db3ab25 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-22 20:39:23 +01:00
Claire d65f6c2f8a
Replace glitch-soc's collapsed toots with upstream's “Read more” (#2916)
* Remove glitch-soc's post collapse feature

* Get rid of the infamous `parseClick`

* Remove unused CSS

* Use upstream's “Read More” implementation

* Update translation strings
2024-12-22 20:27:32 +01:00
Matt Jankowski f35de1ed0d
Remove un-needed `Poll.attached` scope (#33368) 2024-12-20 15:15:11 +00:00
Matt Jankowski b648c64e2e
Add `NOT NULL` requirement to columns on `polls` (#33374) 2024-12-20 14:33:48 +00:00
Claire 344e2903b3
Fix featured tags for remote accounts not being kept up to date (#33372) 2024-12-20 11:50:31 +00:00
github-actions[bot] dd56292d1f
New Crowdin Translations (automated) (#33370)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-12-20 08:06:18 +00:00
github-actions[bot] 7a08fe91b5
New Crowdin Translations (automated) (#33358)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-12-19 08:47:20 +00:00
Matt Jankowski 22caddaa24
Update user role position range limit (#33349) 2024-12-19 08:10:39 +00:00