Commit graph

18902 commits

Author SHA1 Message Date
Eugen Rochko
f51e991561 Add client-side timeout on resend confirmation button () 2023-08-03 01:51:10 +02:00
Claire
1c5c1960b9 Fix crash in tootctl status remove and some old migrations () 2023-08-02 20:54:56 +02:00
Trevor Wolf
8b1bd9a80f change column link to add a better keyboard focus indicator () 2023-08-02 19:33:41 +02:00
Emelia Smith
e395939ead Refactor: replace whitelist_mode mentions with limited_federation_mode () 2023-08-02 19:32:48 +02:00
Christian Schmidt
da740ec43c Fix request URL normalisation for bare domain and 8-bit characters () 2023-08-02 19:32:29 +02:00
Eugen Rochko
9a214a414e Change design of role badges in web UI ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-02 17:24:32 +02:00
Eugen Rochko
cfe0468d98 Fix line clamp for link previews in web UI () 2023-08-02 04:17:23 +02:00
Eugen Rochko
ccbcc25ac4 Fix wrong border radius on link cards in web UI () 2023-08-02 01:57:31 +02:00
Christian Schmidt
20e9ed14c9 Add List-Unsubscribe email header () 2023-08-01 19:34:40 +02:00
Christian Schmidt
8674743cc0 Fix AVIF attachments () 2023-08-01 19:34:11 +02:00
Claire
1fd3d95e65 Change interaction modal input to disable browser spell-checking, capitalization and autocomplete () 2023-08-01 17:11:30 +02:00
Claire
32f9b3d3af Change /api/v1/peers/search to be case-insensitive when using Elasticsearch () 2023-08-01 14:52:32 +02:00
Christian Schmidt
266bbfc884 Do not normalize URL before fetching it () 2023-07-31 23:17:37 +02:00
Claire
dde45e727f Bump version to v4.1.6 () 2023-07-31 21:11:25 +02:00
Claire
c0cc8da965 Fix Importer::BaseImporter#clean_up! not using proper primary key () 2023-07-31 11:17:41 +02:00
github-actions[bot]
bb72944db0 New Crowdin translations ()
Co-authored-by: GitHub Actions <noreply@github.com>
2023-07-31 07:44:04 +02:00
Plastikmensch
58d0a8f79b Remove .orig files ()
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-07-31 07:43:46 +02:00
Claire
87cee068ee Merge pull request from ClearlyClaire/glitch-soc/merge-upstream
* Cleanup unused portions of statuses/status partial ()

* Wrong count in response when removing favourite/reblog ()

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Paperclip: add support for Azure blob storage ()

* Fix a missing redirection on getting-started in multi column mode ()

* Fix haml-lint Rubocop `Style/NumericPredicate` cop ()

* Change casing for 'Server Settings' string ()

* Move localized subject mailer shared example to separate file ()

* Fix haml-lint Rubocop `Lint/UnusedBlockArguments` cop ()

* Fix `Lint/Void` cop ()

* Add stricter protocol fields validation for accounts ()

* Improve the bug report templates ()

* Fix the crossorigin attribute ()

* Fix replica being used even if not explicitly defined ()

* Clean up unused application records ()

* Change thread view to scroll to the selected post rather than the post being replied to ()

* Change default KeyGenerator digest to SHA1 to fix cookies in rolling upgrades ()

* change focus ui for keyboard only input ()

* Use username as display name for suspended users or users with blank display names ()

* Fix CSP headers being unintendedly wide ()

* Fix linting issue ()

* Replace 'favourite' by 'favorite' for American English ()

* Override default Action Mailer `preview_path` ()

* Favourits -> Favorites ()

* Bump version to v4.1.5 ()

* Fix incorrect connect timeout in outgoing requests ()

* Fix missing translation strings for importing lists ()

* Use valid email address for first account ()

* Update haml-lint 0.49.1 ()

* Fix focus and hover styles in web UI ()

* Remove back button from bookmarks, favourites and lists screens in web UI ()

* Remove 16:9 cropping from web UI ()

* Change design of link previews in web UI ()

* change poll form element colors to fit with the rest of the ui ()

* Add `lang` attribute to trending links ()

* Update dependency rdf-normalize to v0.6.1 ()

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency brakeman to v6.0.1 ()

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency postcss to v8.4.27 ()

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix unexpected redirection to /explore after sign-in ()

* Update dependency aws-sdk-s3 to v1.131.0 ()

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add report.updated webhook ()

* Fix LinkCrawlWorker crashing on `null` `created_at` ()

* Fix UI Overlap with the loupe icon in the Explore Tab ()

* Fix missing border on error screen in light theme in web UI ()

* Fix missing action label on sensitive videos and embeds in web UI ()

* Fix `lang` for UI texts in link preview ()

* Add published date and author to news on the explore screen in web UI ()

* Coverage for `Auth::OmniauthCallbacks` controller ()

* fix poll input active style ()

* Add `published_at` attribute to preview cards ()

* Update dependency sass to v1.64.1 ()

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Revert poll colors to green outside of compose form ()

* Preserve translation on status re-import ()

* Fix missing GIF badge in account gallery ()

* Reformat large text arg in `FetchLinkCardService` spec ()

* Ignore long line in regex initializer ()

* Reformat large key values in service specs ()

* Reformat large hash in `ContextHelper` module ()

* Use heredoc SQL blocks in `AddFromAccountIdToNotifications` migration ()

* Extract private methods in `StatusCacheHydrator` ()

* New Crowdin Translations (automated) ()

Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Remove the `sr` locale override .rb files ()

* Use correct naming on controller concern specs ()

* Migrate to request specs in `/api/v2/filters` ()

* Fix wrong filters sometimes applying in streaming ()

* Refactor streaming's filtering logic & improve documentation ()

* Add role badges to the WebUI ()

* Change interaction modal in web UI ()

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>

* Fix crash when processing Flag activity with no status ()

* Storage: add :azure to remaining callers ()

* Remove queued_at value from pubsub payloads ()

* Fix emoji picker button scrolling with textarea content in single-column view ()

* Change the wording of the dismissable explore prompt ()

* Update dependency haml_lint to v0.49.2 ()

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix: Streaming server memory leak in HTTP EventSource cleanup ()

* Swap debug statements in streaming server ()

* Fix missing return values in streaming ()

* [Glitch] Wrong count in response when removing favourite/reblog

Port 540cced981 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Fix a missing redirection on getting-started in multi column mode

Port cf170761e7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Change thread view to scroll to the selected post rather than the post being replied to

Port 70b4eb5baa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Replace 'favourite' by 'favorite' for American English

Port 257fadcec4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] change poll form element colors to fit with the rest of the ui

Port d5a4ef8459 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Add `lang` attribute to trending links

Port bfa1f2a86f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Fix UI Overlap with the loupe icon in the Explore Tab

Port 633071d1d5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Fix missing border on error screen in light theme in web UI

Port 5db70fc514 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Fix missing action label on sensitive videos and embeds in web UI

Port a90d7ac141 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] fix poll input active style

Port e6475f79d7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Revert poll colors to green outside of compose form

Port 1d29569d89 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Add published date and author to news on the explore screen in web UI

Port b977a84e19 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Preserve translation on status re-import

Port 28eb5e8f4c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Fix missing GIF badge in account gallery

Port aa8d37c422 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* Fix interaction modal being broken because of glitch-soc's theming system

* [Glitch] Change interaction modal in web UI

Port 20809d5d8c to glitch-soc

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Change the wording of the dismissable explore prompt

Port fc10002966 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* Fix CSP tests in glitch-soc

---------

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Matt Jankowski <matt@jankowski.online>
Co-authored-by: Christian Schmidt <github@chsc.dk>
Co-authored-by: Misty De Méo <mistydemeo@gmail.com>
Co-authored-by: Stanislas Signoud <signez@stanisoft.net>
Co-authored-by: gunchleoc <fios@foramnagaidhlig.net>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Co-authored-by: Trevor Wolf <teeerevor@gmail.com>
Co-authored-by: наб <nabijaczleweli@nabijaczleweli.xyz>
Co-authored-by: mogaminsk <mgmnjp@icloud.com>
Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vyr Cossont <VyrCossont@users.noreply.github.com>
Co-authored-by: gol-cha <info@mevo.xyz>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Daniel M Brasil <danielmbrasil@protonmail.com>
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
2023-07-30 21:35:47 +02:00
Plastikmensch
d025cce982 Port search popout changes from upstream ()
* [Glitch] Change search pop-out in web UI

Port d22e712648 to glitch-soc

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

* [Glitch] Change logo version in header based on screen size in web UI

Port remaining change from 4e6e4bcc4d to glitch-soc

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

* Rename `hashtags.js` to `hashtags.ts` and apply code style changes

Apply changes from 6fa4054a5d (rename to ts), 0886856bd2 (code style change), 9094a65fd4 (additional code style change)

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

* Remove strings for old search

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

---------

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-07-30 18:42:35 +02:00
Claire
a84632b619 Fix CSP tests in glitch-soc 2023-07-30 17:30:13 +02:00
Claire
be17d619d5 [Glitch] Change the wording of the dismissable explore prompt
Port fc10002966 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 17:01:29 +02:00
Claire
17f5142a44 [Glitch] Change interaction modal in web UI
Port 20809d5d8c to glitch-soc

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 16:59:32 +02:00
Claire
ad1f724853 Fix interaction modal being broken because of glitch-soc's theming system 2023-07-30 16:45:50 +02:00
Claire
84bc751433 Merge commit '6a19d5ce9942686e0cda1a9decec349d0a1f4e26' into glitch-soc/merge-upstream
Conflicts:
- `app/controllers/authorize_interactions_controller.rb`:
  Small conflict due to our theming system.
- `streaming/index.js`:
  Upstream refactored part of the streaming server.
  We had some extra logic for handling local-only posts.
  Applied the refactor.
2023-07-30 16:11:55 +02:00
Christian Schmidt
c89f9f17b9 [Glitch] Fix missing GIF badge in account gallery
Port aa8d37c422 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:58:20 +02:00
Christian Schmidt
99464b6842 [Glitch] Preserve translation on status re-import
Port 28eb5e8f4c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:57:45 +02:00
Claire
68d080177a Merge commit 'eb1139fd42203ad966810f7f7ed6b55949ac7e8a' into glitch-soc/merge-upstream 2023-07-30 15:54:34 +02:00
Eugen Rochko
1ed1d5fcff [Glitch] Add published date and author to news on the explore screen in web UI
Port b977a84e19 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:50:53 +02:00
Claire
906332696c [Glitch] Revert poll colors to green outside of compose form
Port 1d29569d89 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:50:53 +02:00
Trevor Wolf
b3fc8aacd9 [Glitch] fix poll input active style
Port e6475f79d7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:50:53 +02:00
Eugen Rochko
fef9f157a9 [Glitch] Fix missing action label on sensitive videos and embeds in web UI
Port a90d7ac141 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:50:53 +02:00
Eugen Rochko
cf47592d87 [Glitch] Fix missing border on error screen in light theme in web UI
Port 5db70fc514 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:23:08 +02:00
gol-cha
61e1e2d0fc [Glitch] Fix UI Overlap with the loupe icon in the Explore Tab
Port 633071d1d5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:22:28 +02:00
Christian Schmidt
7fb62d780f [Glitch] Add lang attribute to trending links
Port bfa1f2a86f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:18:40 +02:00
Trevor Wolf
0955660641 [Glitch] change poll form element colors to fit with the rest of the ui
Port d5a4ef8459 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 15:18:07 +02:00
Claire
f55959ebd9 Merge commit '1d29569d89c81b439c6a1d86c8f85cc48a9649c8' into glitch-soc/merge-upstream
Conflicts:
- `db/schema.rb`:
  Upstream regenerated the schema file using Rails 7, the conflicts are
  caused by our extra columns.
  Applied upstream's changes, but keeping our extra columns.
2023-07-30 14:58:56 +02:00
gunchleoc
9a6d0b04cd [Glitch] Replace 'favourite' by 'favorite' for American English
Port 257fadcec4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 14:44:36 +02:00
Claire
1039fce896 Merge commit '5a5d8a97579bf2da481871588425734678019f52' into glitch-soc/merge-upstream 2023-07-30 14:33:28 +02:00
Claire
de27fa27b0 [Glitch] Change thread view to scroll to the selected post rather than the post being replied to
Port 70b4eb5baa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 14:26:52 +02:00
Claire
cb4ffdea8b Merge commit '1d3f8af23a23c2d3d8399d7b4367de69b72e269a' into glitch-soc/merge-upstream
Conflicts:
- `config/initializers/content_security_policy.rb`:
  Upstream fixed an issue that was not present in glitch-soc.
  Kept our version.
2023-07-30 13:49:35 +02:00
Claire
db809f8789 Merge commit 'f3127af389f6043fe19c9ef4addefb6c6da0095a' into glitch-soc/merge-upstream
Conflicts:
- `app/views/layouts/application.html.haml`:
  Upstream removed the `crossorigin` attribute from `preload_pack_asset`.
  Glitch-soc had different calls to `preload_pack_asset` because of the
  different theming system.
  Ported the change.
- `app/views/layouts/embedded.html.haml`:
  Upstream removed the `crossorigin` attribute from `preload_pack_asset`.
  Glitch-soc had different calls to `preload_pack_asset` because of the
  different theming system.
  Ported the change.
2023-07-30 13:42:06 +02:00
Stanislas Signoud
53b24f6ac5 [Glitch] Fix a missing redirection on getting-started in multi column mode
Port cf170761e7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 13:32:16 +02:00
Christian Schmidt
9a35793e13 [Glitch] Wrong count in response when removing favourite/reblog
Port 540cced981 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-30 13:31:41 +02:00
Claire
2f3f1d75fa Merge commit '58b52b7a33717406faa8d988b7c05efa52f46f6a' into glitch-soc/merge-upstream
Conflicts:
- `app/models/account.rb`:
  Upstream added new validations close to lines on which glitch-soc had
  modified validations to handle custom limits set through environment
  variables.
  Ported upstream changes.
- `config/initializers/content_security_policy.rb`:
  Upstream added `AZURE_ALIAS_HOST`. Glitch-soc's version of the file is
  completely different.
  Added `AZURE_ALIAS_HOST` to our version of the file.
2023-07-30 13:15:01 +02:00
github-actions[bot]
5e3dac8adc New Crowdin translations ()
Co-authored-by: GitHub Actions <noreply@github.com>
2023-07-30 13:09:02 +02:00
Eugen Rochko
b49ab86b01 Change aspect ratios on link previews in web UI () 2023-07-30 03:35:17 +02:00
Christian Schmidt
988898a8f3 Remove obsolete backport from Rails 7 () 2023-07-29 22:28:05 +02:00
Plastikmensch
0ec4833397 Fix public TL not indicating new toots when onlyRemote is enabled ()
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-07-29 20:18:38 +02:00
Plastikmensch
7186b6ce0f Fix Public TL not indicating new toots when onlyRemote or allowLocalOnly is enabled ()
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-07-29 16:45:37 +02:00
Plastikmensch
d7d3466b9a Fix firehose not indicating new toots in "All" ()
When "Show local-only toots in All" is enabled, the column never indicated there are new toots, since `hasUnread` was always false.

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-07-29 08:37:29 +02:00