Commit Graph

8654 Commits

Author SHA1 Message Date
Claire 01caa18e5b Fix streaming API redirection ignoring the port of `streaming_api_base_url` (#28558) 2024-01-24 15:31:13 +01:00
Claire c609b726cb Fix error when processing link preview with an array as `inLanguage` (#28252) 2024-01-24 15:31:13 +01:00
Eugen Rochko 4d96d716c4 Fix unsupported time zone or locale preventing sign-up (#28035)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 15:31:13 +01:00
Brian Holley 3ecc991f63 Fix "Hide these posts from home" list setting not refreshing when switching lists (#27763) 2024-01-24 15:31:13 +01:00
Eugen Rochko 8f2dac0567 Fix missing background behind dismissable banner in web UI (#27479) 2024-01-24 15:31:13 +01:00
Claire dfc8fcc6f0 Fix width of large text icon buttons (#27127) 2024-01-24 15:31:13 +01:00
gunchleoc e8c5754142 Fix line wrapping of language selection button with long locale codes (#27100) 2024-01-24 15:31:13 +01:00
MitarashiDango 0a01bc01d2 Fix Undo Announce activity is not sent, when not followed by the reblogged post author (#18482)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 15:31:13 +01:00
Claire a12b7551cf Fix N+1s because of association preloaders not actually getting called (#28339) 2024-01-24 15:31:13 +01:00
Claire 7abc61887f Fix empty column explainer getting cropped under certain conditions (#28337) 2024-01-24 15:31:13 +01:00
Claire 279be07679 Fix `LinkCrawlWorker` error when encountering empty OEmbed response (#28268) 2024-01-24 15:31:13 +01:00
nachtjasmin 54bcf3dc11
Add styles for "multiple choice" toggle 2023-12-29 20:00:00 +01:00
nachtjasmin 427f510187
Remove wrong negation to fix the alt text badge 2023-12-29 17:15:20 +01:00
nachtjasmin ded251fffc
Move inline CSS into our overrides scss 2023-12-29 17:14:35 +01:00
nachtjasmin 15d191f50c
Allow non-public posts to be pinned 2023-12-29 17:14:35 +01:00
nachtjasmin 07cfc26116
Ensure correct functionality of new ActivityPub messages 2023-12-29 17:14:35 +01:00
nachtjasmin 4c01f78480
Automatic rubocop fixing 2023-12-29 17:14:35 +01:00
nachtjasmin d0014788f6
Increase font size of page title on login screen 2023-12-27 21:18:59 +01:00
nachtjasmin 7fa01d2eb8
Remove all "older" custom hometown styles
Without any documentation, it's hard to figure out the reason for any
line, therefore I removed it.
2023-12-27 21:07:40 +01:00
nachtjasmin 7a71a11082
Hide the explore/onboarding banner 2023-12-27 21:04:54 +01:00
nachtjasmin 27a1a044f7
Merge tag 'v4.2.2' into lets-bump-hometown-to-mastodon-4.2 2023-12-27 20:40:24 +01:00
nachtjasmin 8e906d0ea8
Ensure correct rendering of logo in sidebars 2023-12-27 20:34:06 +01:00
nachtjasmin e14ae645d6
Ensure correct rendering for profile links 2023-12-27 20:33:17 +01:00
nachtjasmin 47d203d8a2
Add a specific stylesheet for all the hometown customizations 2023-12-27 20:32:01 +01:00
nachtjasmin cea84abb03
Add Mastodon v3 click behaviour back
This reverts commit 2bf1233a7e.
2023-12-27 01:33:57 +01:00
nachtjasmin bf6d451ff7
Add missing inner container for right sidebar 2023-12-27 01:14:46 +01:00
nachtjasmin 9abc807591
Smaller formatting fixes 2023-12-27 01:14:46 +01:00
nachtjasmin 94794cd4cf
Fix ruby templates 2023-12-27 01:14:46 +01:00
nachtjasmin 6947207a30
Add missing numeric value for "dislike" category
This is diverging behaviour from upstream and was fixed by me in [1]
already. It is working fine on queer.group and therefore now going to be
merged into this fork.

[1]: https://github.com/hometown-fork/hometown/pull/1321
2023-12-27 01:14:46 +01:00
nachtjasmin fb6547ea7c
Use upstream code for exclusive lists 2023-12-27 01:14:46 +01:00
Claire 7efc85c2f7
Fix incoming status creation date not being restricted to standard ISO8601 (#27655) 2023-12-27 01:14:46 +01:00
nachtjasmin 35742cdf3d
Move norss settings to privacy subpage 2023-12-27 01:14:46 +01:00
nachtjasmin ecb892afbc
Add site title to all mails 2023-12-27 01:14:46 +01:00
nachtjasmin 66ff566453
Fix several merge errors (whitespace, duplicate lines)
- Align webfinger_controller with upstream
- Remove validation from webhook (It's not in v4.2.1, I don't know where it came from)
- Remove show_application from other view (merge error)
- Remove duplicate display name from account header
- Fix misspelled className for navigation bar
2023-12-27 01:14:46 +01:00
nachtjasmin a23ca40a44
Respect user settings for RSS feeds 2023-12-27 01:14:46 +01:00
nachtjasmin 104981bbba
Switch to the JS-based start page for now
I like the plain homepage more, but for now I just want to get it
running.
2023-12-27 01:14:46 +01:00
nachtjasmin 76d94f3850
Update setting migration to include Hometown settings
Fixes: a9b5598c97
2023-12-27 01:14:46 +01:00
nachtjasmin 13bd1cca81
Add JSDoc for initial state 2023-12-27 01:14:46 +01:00
nachtjasmin 967aa653d3
Only show share entry for federated posts 2023-12-27 01:14:46 +01:00
nachtjasmin 2bf1233a7e
Delete unused permalink component 2023-12-27 01:14:46 +01:00
nachtjasmin 38d112cc6f
Use upstream version for media gallery
Mastodon also has a alt badge, now we have a combination of both
behaviours. We keep the class if the alt text is missing and add the alt
badge if it's there.
2023-12-27 01:14:46 +01:00
nachtjasmin f5747f4b88
Refactor the federation dropdown
The privacy dropdown also changed a lot, this commit aligns both
codebases.
2023-12-27 01:14:45 +01:00
Claire d7875adad2
Fix call to inefficient `delete_matched` cache method in domain blocks (#28367) 2023-12-19 11:27:37 +01:00
Claire 7b9496322f Change dismissed banners to be stored server-side (#27055) 2023-12-04 15:28:15 +01:00
Claire 09115731d6 Change GIF max matrix size error to explicitly mention GIF files (#27927) 2023-12-04 15:28:15 +01:00
Claire e11100d782 Clamp dates when serializing to Elasticsearch API (#28081) 2023-12-04 15:28:15 +01:00
Jonathan de Jong 252ea2fc67 Have `Follow` activities bypass availability (#27586)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-12-04 15:28:15 +01:00
Claire 8d02e58ff4 Fix upper border radius of onboarding columns (#27890) 2023-12-04 15:28:15 +01:00
Claire 1076a6cd62 Fix incoming status creation date not being restricted to standard ISO8601 (#27655) 2023-12-04 15:28:15 +01:00
Claire 54a07731d1 Fix posts from threads received out-of-order sometimes not being inserted into timelines (#27653) 2023-12-04 15:28:15 +01:00
Claire 81d7cfd544 Fix posts from force-sensitized accounts being able to trend (#27620) 2023-12-04 15:28:15 +01:00
Claire e6f4c91c5c Fix hashtag matching pattern matching some URLs (#27584) 2023-12-04 15:28:15 +01:00
Claire de86e822f4 Fix error when trying to delete already-deleted file with OpenStack Swift (#27569) 2023-12-04 15:28:15 +01:00
Claire 4c38706474 Fix batch attachment deletion when using OpenStack Swift (#27554) 2023-12-04 15:28:15 +01:00
Renaud Chaput 4fc2523546 Do not display the navigation banner in the logo container (#27476) 2023-12-04 15:28:15 +01:00
Renaud Chaput d5bc10b711 The `class` props should be `className` (#27462) 2023-12-04 15:28:15 +01:00
Claire c66ade7de8 Fix processing LDSigned activities from actors with unknown public keys (#27474) 2023-12-04 15:28:15 +01:00
Claire bece853e3c Fix error and incorrect URLs in `/api/v1/accounts/:id/featured_tags` for remote accounts (#27459) 2023-12-04 15:28:15 +01:00
Claire 700ae1f918 Fix report processing notice not mentioning the report number when performing a custom action (#27442) 2023-12-04 15:28:15 +01:00
Claire 13205b54fd Fix handling of `inLanguage` attribute in preview card processing (#27423) 2023-12-04 15:28:15 +01:00
KMY(雪あすか) 8be33d4316 Fix when unfollow a tag, my post also disappears from the home timeline (#27391) 2023-12-04 15:28:15 +01:00
Claire cdedae6d63 Fix some link anchors being recognized as hashtags (#27271) 2023-12-04 15:28:15 +01:00
Claire aa69ca74ed Fix incorrect serialization of regional languages in `contentMap` (#27207) 2023-12-04 15:28:15 +01:00
gunchleoc 156d32689b Only strip country code when language not listed in SUPPORTED_LOCALES (#27099) 2023-12-04 15:28:15 +01:00
nachtjasmin f3a7cf7c94
Fix several smaller JS lint errors 2023-11-18 18:14:04 +01:00
nachtjasmin 510330fe6e
Run formatting for markdown and SCSS 2023-11-18 17:26:00 +01:00
nachtjasmin 57477c9f65
Fix forgot merge marker in libre_translate 2023-11-18 17:03:18 +01:00
nachtjasmin cc42aa5c08
Merge tag 'v4.2.1' into lets-bump-hometown-to-mastodon-4.2 2023-11-18 17:00:16 +01:00
nachtjasmin 129d901649
Merge tag 'v4.2.0' into lets-bump-hometown-to-mastodon-4.2 2023-11-18 16:59:50 +01:00
nachtjasmin a31fc74580
Merge tag 'v4.2.0-rc2' into lets-bump-hometown-to-mastodon-4.2
Conflict in lib/paperclip/transcoder.rb, using upstream version.
2023-11-18 16:59:27 +01:00
nachtjasmin 4033d28160
Merge tag 'v4.2.0-rc1' into lets-bump-hometown-to-mastodon-4.2
Conflict resolution:

- app/javascript/mastodon/features/compose/components/search_results.jsx:
   taken as is
- app/models/account.rb: use upstream SQL queries for filtering
- app/models/media_attachment.rb: use upstream ffmpeg settings
- config/locales/de.yml: merged
2023-11-18 16:55:55 +01:00
nachtjasmin 4d19f063d3
Fix two missed localizations 2023-11-18 16:45:27 +01:00
nachtjasmin d6f67e3d4e
Merge tag 'v4.2.0-beta3' into lets-bump-hometown-to-mastodon-4.2 2023-11-18 01:25:59 +01:00
nachtjasmin dae0793b5e
Merge tag 'v4.2.0-beta2' into lets-bump-hometown-to-mastodon-4.2 2023-11-18 01:21:37 +01:00
nachtjasmin 9a629eba8a
Merge tag 'v4.2.0-beta1' into lets-bump-hometown-to-mastodon-4.2
- cli: followed upstream
- version.rb: followed upstream, since we can use environment variables for the suffix now
- lib/paperclip: chose their spoof detector
- lib/sanitize: merged h1-h6 into supported elements, allowed translated attribute
- config/environments: follow upstream
- config/initializers: follow upstream
- config/application.rb: follow upstream
- config/locales: translations with %{title} prefix were replaced with hardcoded "Mastodon:" prefixes, should be fixed afterwards
  it's inconsistent anyway right now
- config/settings: removed settings that were removed in upstream
- config/routes: followed upstream, due to API restructurings. Is there some hometown-specific API stuff that might be missing now?
- spec/: followed upstream, might have lost hometown-specific tests, but I haven't found any on a quick check

- .ruby-version, Gemfile, etc.: upstream
- .github/workflows: upstream

- about: followed upstream, therefore the static homepage is gone :/
- credentials: moved federation into the settings_attributes
- lists: follow upstream, `:is_exclusive` -> `:exclusive`
- statuses: keep local only

- account_statuses_filter: still hide local only posts for anonymous users
- activitypub/activity/create:
  - keep activity_pub_type in params
  - text: use hometown's way for determining the content
  - spoiler: use hometown's mechanism
- feed_manager: use upstream exclusive list mechanism
- plain_text_formatter: use upstream way with html decoding, as I'm not sure whether we still have the Nokogiri library(?) available
    problem: might remove tags that we want to keep?
- text_formatter: follow upstream

- account: use upstream MENTION_RE expression
- backup: follow upstream for permission validation
- list: follow upstream, is_exclusive -> exclusive !! WE MIGHT NEED A MIGRATION!
- status: moved set_locality hook to the others
- user: delegates for settings (federation, autoplay, etc.) were removed upstream, follow them
- webhook: follow upstream

- initial_state_serializer: keep max_toot_chars
- list_serializer: follow rename of is_exclusive -> exclusive

Use upstream version, since the translation API got upgraded to v2.

Use upstream version of vote_validator.

- admin/webhooks/_form: add group for template
- settings/preferences/appearance/show: add new input for 'expand_usernames'
    check: missing translations, especially for hints
- settings/preferences/other/show: added input groups for no_rss and default_privacy
    check: missing translations, especially for hints
- settigngs/profiles: upstream removed verification banner, follow them

Followed upstream changes.

Incorporated upstream changes and put the local_only check back in the correct place.

Ignored hometown changes, take upstream version.

- actions/lists: follow exclusive list naming
- components/column_back_button: follow upstream router refactoring
- components/column_header: follow upstream router refactoring
- components/hashtag: keep hometown behaviour, add href to links
- components/media_gallery: merge alt text indicator into upstream
- components/status: merge timestamp click -> original page
- components/status_action_bar: upstream removed the share button, follow them
- components/status_content:
  - still make remote usernames => check: does the new href work?
  - make translate button always visible like upstream
  - keep hometown-specific changes for Articles and other posts
- features/header: keep header link
- features/account_gallery/components/media_item: keep link
- features/audio/index: keep no media description indicator, merge upstream styles
- features/compose/components/compose_form:
  - merge max chars logic
  - merge federation dropdown
- features/compose/components/navigation_bar: keep href to profile
- features/compose/components/poll_form: keep "is multiple" toggle
- features/compose/index: keep column header
- features/follow_requests/components/account_authorize: keep external link
- features/list_editor/components/edit_list_form: overwritten from upstream
- features/list_timeline/index: overwritten from upstream
- features/components/follow_request: keep external link
- features/components/notification: keep external link
- features/picture_in_picture/components/footer: keep external link
- features/status/components/detailed_status: keep external link
- features/ui/components/boost_modal: keep external link
- features/ui/index: merge upstream changes
- features/video/: keep no media description indicator
- containers/status_container: overwrite with upstream
- locales: best-effort merge, but I wouldn't trust it. should be normalized in some way.
2023-11-18 01:14:04 +01:00
nachtjasmin 589bd7aeff
Merge tag 'v4.1.10' into lets-bump-hometown-to-mastodon-4.2
Conflicts in app/workers/scheduler/indexing_scheduler.rb, deleted
duplicate statements.
2023-11-16 23:34:45 +01:00
nachtjasmin 9b30a4b2d5
Merge tag 'v4.1.9' into lets-bump-hometown-to-mastodon-4.2 2023-11-16 23:33:37 +01:00
nachtjasmin ee8aeef386
Merge tag 'v4.1.8' into lets-bump-hometown-to-mastodon-4.2
Conflicts in app/services/translate_status_service.rb, followed
upstream.
2023-11-16 23:30:37 +01:00
nachtjasmin 68c82f9ba2
Merge tag 'v4.1.7' into lets-bump-hometown-to-mastodon-4.2
Conflicts in the GitHub Actions, followed upstream.
2023-11-16 23:29:25 +01:00
nachtjasmin 633b9e995b
Merge tag 'v4.1.5' into lets-bump-hometown-to-mastodon-4.2
Conflict resolution:

- chose their content_security_policy_spec.rb
- reordered options in app/lib/request.rb, should reduce conflicts
2023-11-16 23:20:13 +01:00
nachtjasmin dfe48bcccf
Merge tag 'v4.1.4' into lets-bump-hometown-to-mastodon-4.2 2023-11-16 23:17:48 +01:00
nachtjasmin cc9dc8d902
Merge tag 'v4.1.3' into lets-bump-hometown-to-mastodon-4.2
Conflict resolution: only the streaming API is interesting. The
filtering for local statuses is done before the other filters even kick
in to be sure.
2023-11-16 23:17:27 +01:00
nachtjasmin f945d16236
Merge tag 'v4.1.2' into lets-bump-hometown-to-mastodon-4.2 2023-11-16 22:56:20 +01:00
nachtjasmin f978ed560a
Merge tag 'v4.1.1' into lets-bump-hometown-to-mastodon-4.2
Conflict resolution:

- ignored changed to README
- reverted all changes to the navigation panel, follow upstream
2023-11-16 22:55:34 +01:00
nachtjasmin c6cc5e212a
Merge tag 'v4.1.0' into lets-bump-hometown-to-mastodon-4.2
Conflict resolution:

- kept README unchanged
- added status page link to footer
2023-11-16 22:44:18 +01:00
nachtjasmin af5be0a677
Merge tag 'v4.1.0rc3' into lets-bump-hometown-to-mastodon-4.2
Conflict resolution:

1. decided to add the build-image workflow, we can adjust it later
2. JS conflicts are just missing semicolons, added them
3. en_GB translations were removed upstream, following them.
2023-11-16 22:39:33 +01:00
nachtjasmin 1e75579468
Merge tag 'v4.1.0rc2' into lets-bump-hometown-to-mastodon-4.2
The build-image workflow is kept deleted.
2023-11-16 22:34:54 +01:00
nachtjasmin dbf4adb848
Merge tag 'v4.1.0rc1' into lets-bump-hometown-to-mastodon-4.2
There were quite a couple of conflicts, they were resolved in the
following manner:

- Translations: Moved to "publish" as translation, aligns with other
  languages
- Options: `trends_as_landing_page` is kept false
- UI: clicking the display name opens the original profile

Potential problems:

1. Not all translations for mails and stuff are prefixed with
   `%{title}`, some are, some are hardcoded to `Mastodon`.
2023-11-16 22:31:22 +01:00
nachtjasmin 625a5e7b2c
Merge tag 'v4.0.12' into lets-bump-hometown-to-mastodon-4.2 2023-11-16 20:20:52 +01:00
nachtjasmin 009a1b7301
Merge tag 'v4.0.11' into lets-bump-hometown-to-mastodon-4.2 2023-11-16 20:20:17 +01:00
Claire 74dd325112
Fix duplicate reports being sent when reporting some remote posts (port to v4.2.1) (#27356) 2023-10-10 18:23:31 +02:00
Claire a1f7d2d19a Fix scroll position in thread view reseting when closing a modal (#27350) 2023-10-10 13:52:41 +02:00
github-actions[bot] 4262cfbe41 New Crowdin Translations (automated) (#27347)
Co-authored-by: GitHub Actions <noreply@github.com>
2023-10-10 13:52:41 +02:00
Claire bcfc3b3f65 Fix clicking on already-loaded thread scrolling to the top of the thread (#27338) 2023-10-10 13:52:41 +02:00
Claire 6dcccd325f Fix clicking on already-opened thread post scrolling to the top of the thread (#27331) 2023-10-10 13:52:41 +02:00
github-actions[bot] 5a33b81479 New Crowdin Translations (automated) (#27321)
Co-authored-by: GitHub Actions <noreply@github.com>
2023-10-10 13:52:41 +02:00
Claire f71b7943f9 Fix some remote posts getting truncated (#27307) 2023-10-10 13:52:41 +02:00
github-actions[bot] 2e2936eb64 New Crowdin Translations (automated) (#27304)
Co-authored-by: GitHub Actions <noreply@github.com>
2023-10-10 13:52:41 +02:00
Claire b9b8eafc98 Fix auto-loading-more when not scrolled (#27286) 2023-10-10 13:52:41 +02:00
github-actions[bot] 88fc73dbbc New Crowdin Translations (automated) (#27277)
Co-authored-by: GitHub Actions <noreply@github.com>
2023-10-10 13:52:41 +02:00