Commit Graph

8123 Commits

Author SHA1 Message Date
Claire 392c07f2bf
Fix `Setting.authorized_fetch` not being properly taken into consideration () 2023-09-18 09:37:29 +02:00
Claire 6273416292
Fix post edits not being forwarded as expected () 2023-09-15 19:54:32 +02:00
Claire 2a4fcc51fd
Fix dismiss button overlapping with text in dismissable banners () 2023-09-15 19:53:28 +02:00
Claire e4f5114aaf
Fix obsolete cache key in status cache invalidation logic () 2023-09-15 19:52:28 +02:00
Claire 9693c271f1
Fix processing of `min_id` and `max_id` parameters in `/api/v2/search` () 2023-09-15 10:23:24 +02:00
Eugen Rochko fc6825055b
Change score half-life for trending posts from 2 hours to 1 hour () 2023-09-14 09:20:14 +02:00
github-actions[bot] 921c6fe654
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
2023-09-13 15:10:41 +02:00
Robert R George 20666482ef
Added admin api for managing tags () 2023-09-13 11:22:53 +02:00
Claire 520b570474
Fix notification permissions being requested immediately after login () 2023-09-12 18:27:01 +02:00
Claire 287520453c
Fix front-end bug when processing relationship-related account actions () 2023-09-12 16:30:03 +02:00
CSDUMMI 9a70cac9de
Fix by adding the domain of the current SSO provider to the form-action CSP () 2023-09-12 13:04:51 +02:00
Renaud Chaput 0712cc2b99
Fix Redux types () 2023-09-12 12:18:19 +02:00
Santiago Kozak d2cfcdd09e
Fix recent search items not handling overflows correctly () 2023-09-12 04:20:57 +02:00
Claire 20ac5be1c1
Fix error on `status` type notification (bell icon) () 2023-09-11 20:23:13 +02:00
Renaud Chaput bd06c13204
Convert `actions/account_notes` into Typescript () 2023-09-11 16:09:22 +02:00
Claire 91040da871
Fix confusing behavior of mute button and volume slider in web UI () 2023-09-08 20:39:29 +02:00
Claire 33c8708a1a
Change `GET /api/v1/directory` to use database replica rather than primary () 2023-09-08 17:01:02 +02:00
Eugen Rochko 3a679844e4
Fix `account_id`, `max_id` and `min_id` params not working in search () 2023-09-08 14:25:00 +02:00
Claire 81caafbe84
Fix performances of profile directory () 2023-09-07 18:55:25 +02:00
Claire 355e3fb529
Simplify `Account.by_recent_status` and `Account.by_recent_sign_in` scopes () 2023-09-07 15:38:11 +02:00
Eugen Rochko 9b2bc3d1de
Add recent searches in web UI () 2023-09-07 14:56:19 +02:00
Eugen Rochko a90b0056cc
Fix `#hashtag` matching on individual components in search () 2023-09-07 12:53:41 +02:00
Colette Kerr 8a9d7aeb1e
Change DCT method used for JPEG encoding to float () 2023-09-07 05:26:25 +02:00
Eugen Rochko f3a2e15f8e
Fix mute button and volume slider feeling disconnected in web UI () 2023-09-07 04:24:24 +02:00
Eugen Rochko 1f141f656d
Change onboarding prompt to use full width of banner in web UI () 2023-09-07 04:24:11 +02:00
Eugen Rochko 398635c0c4
Fix paragraph margins resulting in irregular read-more cut-off in web UI () 2023-09-07 04:24:01 +02:00
Claire 1f99d86287
Fix blocked domain appears from account feed ()
Co-authored-by: Jeong Arm <kjwonmail@gmail.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-09-06 21:04:48 +02:00
gunchleoc 14f6798836
Link to hashtag timelines from the Trending hashtags moderation interface ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-09-06 17:49:52 +02:00
Claire 475783d567
Add timezone to datetimes in e-mails () 2023-09-06 17:25:39 +02:00
Claire 9c1ef8302a
Add some information about Full-text search being disabled in search popout () 2023-09-06 17:23:58 +02:00
Claire b83e487502
Fix moderator rights inconsistencies () 2023-09-06 16:40:19 +02:00
Claire 223f9ca665
Fix crash when encountering invalid URL () 2023-09-06 12:17:51 +02:00
Claire 09ec9c6aa5
Downgrade signature verification debug logging from `warn` to `debug` () 2023-09-06 12:17:22 +02:00
Eugen Rochko d8bdba2f9f
Add `in:` to search popout in web UI () 2023-09-06 06:46:26 +02:00
Eugen Rochko 9d290c23d2
Remove obfuscation of reply count in web UI () 2023-09-05 23:57:03 +02:00
Eugen Rochko 5d20733d8d
Add infinite scrolling for search results in web UI () 2023-09-05 23:54:24 +02:00
Claire 548c032dbb
Improve interaction modal error handling () 2023-09-05 23:49:48 +02:00
Claire ea7de25de0
Fix video player not being displayed in reports interface () 2023-09-05 20:05:58 +02:00
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings () 2023-09-05 15:37:23 +02:00
Eugen Rochko ece1ff77d6
Add `in:library` syntax to search ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-09-04 17:20:35 +02:00
gunchleoc ac3f310f4b
Remove kmr from language selection () 2023-09-04 13:21:43 +02:00
Eugen Rochko 68b4e36c82
Fix `#hashtag` matching non-hashtagged posts in search () 2023-09-04 10:18:45 +02:00
Stanislas Signoud a106c46478
Fix light mode colors for advanced interface banner () 2023-09-04 10:14:01 +02:00
Eugen Rochko e52d0494ee
Fix `before:`, `after:` and `during:` failing when time zone not set () 2023-09-04 09:09:25 +02:00
Eugen Rochko 728eb6a153
Fix wrong color on active icons with counters in web UI () 2023-09-02 14:46:26 +02:00
Eugen Rochko 05093266e6
Fix some video encoding failing due to uneven dimensions () 2023-09-02 09:02:44 +02:00
Claire 16681e0f20
Add admin notifications for new Mastodon versions () 2023-09-01 17:47:07 +02:00
Claire 9e26cd5503
Add `authorized_fetch` server setting in addition to env var () 2023-09-01 15:41:10 +02:00
Claire 6c4c72497a
Fix search popout including full-text search instructions when full-text search is disabled () 2023-09-01 15:13:27 +02:00
Claire 5c0a9aac3b
Revert to using primary database in IndexingScheduler () 2023-09-01 15:09:44 +02:00
Eugen Rochko e754083e8a
Fix unmatched quotes and prefixes causing search to fail () 2023-09-01 09:43:12 +02:00
Eugen Rochko 872145d1c2
Fix not being able to invoke phrase search using unicode quotation marks () 2023-09-01 09:27:03 +02:00
Eugen Rochko 0008458128
Fix search queries with slash causing or-condition () 2023-08-31 19:04:44 +02:00
Claire 9bb2fb6b14
Change importers to avoid a few inefficiencies () 2023-08-31 19:04:27 +02:00
Eugen Rochko ecd76fa413
Fix videos not playing in some browsers due to unsupported color space () 2023-08-31 17:21:06 +02:00
Claire 6b58cfd8dd
Fix searching by username by reverting account verbatim tokenizer to `standard` () 2023-08-31 15:35:58 +02:00
Santiago Kozak f1d250135c
Allow filter form in profiles directory to wrap () 2023-08-31 14:15:58 +02:00
Daniel M Brasil ccca542db1
Fix `/api/v1/timelines/tag/:hashtag` allowing for unauthenticated access when public preview is disabled () 2023-08-31 13:53:24 +02:00
Tyler Deitz 336ec503c2
Add avatar image to webfinger responses () 2023-08-31 13:46:27 +02:00
Stanislas Signoud 40b69cc1cd
Add an explanation banner on switching to single column mode () 2023-08-31 12:18:46 +02:00
Claire 5c38c3a9a1
Change text extraction in `PlainTextFormatter` to be faster () 2023-08-30 17:36:16 +02:00
Claire 21ec596dab
Fix sign up steps progress layout in right-to-left locales () 2023-08-30 16:29:52 +02:00
Eugen Rochko bba76e7267
Change `language:` to attempt to match to a known value in search () 2023-08-30 16:07:26 +02:00
Claire 9e77ab7db2
Change private statuses index to index without crutches () 2023-08-29 17:51:13 +02:00
Tim Rogers 74eb7dbf2d
Fix bug with reblogged view on Toots only showing latest reblogging accounts () 2023-08-29 14:42:20 +02:00
Claire c0605747ad
Fix N+1 in `tootctl search deploy` () 2023-08-29 14:06:22 +02:00
Tim Rogers ae6cf33321
Fix bug with favourited view on Toots only showing latest favouriting accounts () 2023-08-29 10:56:19 +02:00
Claire 25bf640629
Add debug logging on signature verification failure () 2023-08-29 10:29:07 +02:00
Christian Schmidt 0719216368
Remove dead code from public.jsx () 2023-08-29 10:16:18 +02:00
Lukas Martini a7d96e6aff
Improve error messages when DeepL quota is exceeded () 2023-08-29 09:14:44 +02:00
Eugen Rochko 10b06436d1
Fix colors and typography on hashtag bar in web UI () 2023-08-28 19:49:38 +02:00
Eugen Rochko 01b87a1632
Change video compression parameters () 2023-08-28 19:40:08 +02:00
Eugen Rochko 2304cc6456
Fix bad search type heuristic () 2023-08-28 17:08:37 +02:00
Claire 0cce7fb617
Fix incorrect call to `PublicStatusesIndex.import` () 2023-08-28 15:04:57 +02:00
Eugen Rochko bceb893159
Add search options to search popout in web UI () 2023-08-28 13:18:39 +02:00
Eugen Rochko 67166de865
Add `from:me` syntax to search () 2023-08-28 12:43:00 +02:00
renovate[bot] 9d9de8d219
Update dependency @testing-library/jest-dom to v6 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-08-28 12:19:42 +02:00
Eugen Rochko 7bd5ebb0c5
Fix multiple issues with status index mappings () 2023-08-28 11:36:17 +02:00
Eugen Rochko 822a35b9d5
Fix not being able to negate prefix clauses in search () 2023-08-28 10:31:51 +02:00
Eugen Rochko e263db276f
Change indexing jobs to use database replica () 2023-08-27 22:38:01 +02:00
Eugen Rochko 5694e24bbf
Fix unnecessary condition causing seqscan when indexing () 2023-08-27 22:37:35 +02:00
Eugen Rochko f8d2fea2e6
Change queue of job when opting into search from `default` to `pull` () 2023-08-27 18:58:20 +02:00
Eugen Rochko 71641766f2
Fix toast saying "published" instead of "saved" after editing post in web UI () 2023-08-25 22:03:04 +02:00
Claire 072112867b
Fix dashboard check for Elasticsearch suggested command including incorrect names () 2023-08-25 18:17:22 +02:00
jsgoldstein 8e8747c564
Update ordering to use `id` from body of document instead of deprecated `_id` () 2023-08-25 18:16:08 +02:00
Claire 82ec6f162b
Fix statuses search Elasticsearch query () 2023-08-25 17:01:56 +02:00
Claire f2ec2876a4
Add Elasticsearch/OpenSearch version to “Software” in admin dashboard () 2023-08-25 12:02:09 +02:00
Claire e3825a13c1
Add PublicStatusesCheck to Elasticsearch index check on admin dashboard () 2023-08-25 12:01:55 +02:00
Claire c3a42e1280
Add `data-nosnippet` attribute to remote posts and local posts with `noindex` () 2023-08-25 11:31:20 +02:00
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
Claire 163b004bb1
Change admin e-mail notification settins to be their own settings group () 2023-08-24 14:43:00 +02:00
Claire e90649b064
Fix clicking “Explore” or “Live feeds” column headers to scroll in advanced mode ()
Co-authored-by: Plastikmensch <Plastikmensch@users.noreply.github.com>
2023-08-24 14:10:48 +02:00
Claire b2ac93dd73
Fix selecting domains to forward reports to not passing the information correctly () 2023-08-24 14:06:27 +02:00
Matt Jankowski 9974163776
Consolidate inclusion of `admin` js pack link () 2023-08-24 09:56:23 +02:00
Antonin Del Fabbro 9a8190da4a
Change opacity of the delete icon in the search field to be more visible () 2023-08-23 15:51:07 +02:00
Daniel M Brasil f337008819
Fix timeout on invalid set of exclusionary parameters in `/api/v1/timelines/public` () 2023-08-23 15:50:23 +02:00
Claire 613cfd625c
Change hashtag bar tags to be de-emphasized () 2023-08-23 15:44:52 +02:00
Christian Schmidt 152b10b624
Fix some React warnings () 2023-08-23 15:43:41 +02:00
Renaud Chaput 44ba785242
Change the hashtag bar to be hidden when there is a CW and the post is not expanded () 2023-08-23 15:40:31 +02:00
jsgoldstein 85057865b4
Update Account Search to prioritize username over display name () 2023-08-23 15:40:09 +02:00
Robert R George cf6f70799b
Add support for federating `memorial` attribute () 2023-08-23 08:27:24 +02:00
Renaud Chaput 58acaa9ae6
Better hashtag normalization when processing a post () 2023-08-23 08:18:07 +02:00
Claire bd023a2637
Fix admin dashboard check when using Elasticsearch with `ES_PREFIX` () 2023-08-22 18:51:32 +02:00
gunchleoc 25dc01660d
Add Kalmyk to languages dropdown () 2023-08-22 17:50:04 +02:00
gunchleoc c01ecd0879
Add cherokee to languages dropdown () 2023-08-22 16:53:27 +02:00
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec () 2023-08-22 09:31:40 +02:00
Claire fe31571965
Fix layout of the closed registrations modal () 2023-08-22 09:11:59 +02:00
Renaud Chaput 061fd66ee6
Remove hashtags from the last line of a status if it only contains hashtags () 2023-08-21 19:39:01 +02:00
Claire ac0eb0533e
Add Elasticsearch cluster health check and indexes mismatch check to dashboard () 2023-08-21 16:50:22 +02:00
Claire 9ed0c91a37
Add auto-refresh of accounts we get new messages/edits of () 2023-08-21 16:09:26 +02:00
Claire 191d302b7f
Refactor `Api::V1::ProfilesController` into two separate controllers () 2023-08-21 15:47:09 +02:00
Daniel M Brasil d24a87ce4f
Add ability to delete avatar or header picture via the API ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-21 08:44:35 +02:00
Christian Schmidt bb23116e8d
Fix profile picture preview () 2023-08-18 18:24:32 +02:00
Claire ee702e36e5
Change follow recommendation materialized view to be faster in most cases ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-08-18 18:20:55 +02:00
Christian Schmidt bb51c0676d
Remove redundant ready() wrapper () 2023-08-18 12:06:08 +02:00
Nicolai Søborg 13ffe91c81
Fix `frame_rate` for videos where `ffprobe` reports 0/0 () 2023-08-18 08:32:47 +02:00
Renaud Chaput b95867ad1f
Allow setting a custom HTTP method in CacheBuster ()
Co-authored-by: Jorijn Schrijvershof <jorijn@jorijn.com>
2023-08-18 08:18:40 +02:00
Claire 60b9fa641d
Fix cached posts including stale stats () 2023-08-17 16:11:48 +02:00
Claire 3ed2bf92d0
Fix case-insensitive comparison of hashtags to do case-folding () 2023-08-17 12:49:52 +02:00
Claire cc4560d95b
Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach () 2023-08-17 09:13:26 +02:00
Claire 0446394465
Fix “legal” report category not showing up in moderation interface () 2023-08-16 16:38:33 +02:00
Claire f0862bcf98
Fix hashtag bar sometimes including tags that appear in the post's body () 2023-08-16 11:47:59 +02:00
Santiago Kozak 85ecadb630
Fix hashtag bar display when status is in a thread () 2023-08-16 09:06:04 +02:00
Claire df6e719898
Add display of out-of-band hashtags in the web interface ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-08-14 23:42:30 +02:00
Claire d9c21293aa
Fix unfollow icon styling in advanced column () 2023-08-14 19:02:47 +02:00
Claire 90ec88d58b
Add support for `indexable` attribute on remote actors ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-08-14 18:54:51 +02:00
Claire fc5ab2dc83
Add privacy tab in profile settings ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-08-14 18:52:45 +02:00
Claire f5778caa3a
Add `ES_PRESET` option to customize numbers of shards and replicas ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-08-14 17:46:16 +02:00
github-actions[bot] c452ccd913
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-14 14:54:31 +02:00
mogaminsk a664e15702
Fix "Create Account" button in interaction modal () 2023-08-14 12:04:04 +02:00
Claire 34f3001278
Fix reply not preserving the language from the replied-to post () 2023-08-12 00:06:37 +02:00
github-actions[bot] 8cbf4a5296
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-10 09:47:42 +02:00
Claire 4caa9f0e69
Change the hashtag column to not display the hashtag header on pinned columns () 2023-08-09 16:32:40 +02:00
Claire b12d75ef4f
Fix blocking subdomains of an already-blocked domain () 2023-08-09 09:39:36 +02:00
Claire 8b37dd2c86
Fix Content Security Policy sometimes unnecessarily allowing hCaptcha scripts () 2023-08-08 15:41:38 +02:00
Claire 2c204d904b
Change `DB_REPLICA_*` environment variables to `REPLICA_DB_*` () 2023-08-08 13:59:40 +02:00
Eugen Rochko 72423bc8f6
Change account search tokenizer and queries () 2023-08-08 09:09:14 +02:00
Claire 30c64bf616
Fix list import concurrently creating lists of the same name () 2023-08-07 17:59:20 +02:00
Claire cd6f2b3cbc
Fix interaction modal layout () 2023-08-07 17:58:29 +02:00
github-actions[bot] d2dbaba407
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-07 13:37:54 +02:00
Eugen Rochko e325443b02
Change header of hashtag timelines in web UI () 2023-08-07 09:46:11 +02:00
Claire 79936c584f
Fix report modal secondary buttons style () 2023-08-04 16:25:44 +02:00
Claire d5bee37c57
Fix missing cached preview cards attributes () 2023-08-04 16:13:47 +02:00
Claire b59053ff8c
Fix confirmation when closing media edition modal with unsaved changes () 2023-08-04 15:48:29 +02:00
Trevor Wolf 93372fee1e
Fix light theme select option for hashtags () 2023-08-04 09:41:17 +02:00
Claire 9405e9af58
Fix incorrect model annotation for List#exclusive () 2023-08-04 09:00:31 +02:00
Eugen Rochko 04e7efac3f
Change design of hidden media overlay (again) in web UI () 2023-08-03 20:39:45 +02:00
Eugen Rochko 9d719bcd85
Change reblogs to be excluded from "Posts and replies" tab in web UI () 2023-08-03 20:39:33 +02:00
CSDUMMI 120f5802c0
Add direct link to the Single-Sign On provider if there is only one sign up method available () 2023-08-03 16:43:15 +02:00
Claire 3105fef21a
Rename “read” database to “replica” for consistency () 2023-08-03 16:17:09 +02:00
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails () 2023-08-03 15:41:51 +02:00
Daniel M Brasil 3a4d3e9d4b
Add `GET /api/v1/instance/languages` to REST API ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-03 11:25:47 +02:00
Claire 6b896b20cc
Add primary key to preview_cards_statuses join table (includes deduplication migration) () 2023-08-03 11:12:52 +02:00
Eugen Rochko a0fad5c8bb
Change indexing frequency from 5 minutes to 1 minute, add locks to schedulers () 2023-08-03 11:04:05 +02:00
Val Lorentz f55f0ab0c3
Allow spaces around commas in ALLOWED_PRIVATE_ADDRESSES () 2023-08-03 10:05:35 +02:00
Eugen Rochko 2f932cb2bb
Add client-side timeout on resend confirmation button () 2023-08-03 01:51:10 +02:00
Trevor Wolf 6308dca76a
change column link to add a better keyboard focus indicator () 2023-08-02 19:33:41 +02:00
Emelia Smith e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode () 2023-08-02 19:32:48 +02:00
Christian Schmidt 8891d8945d
Fix request URL normalisation for bare domain and 8-bit characters () 2023-08-02 19:32:29 +02:00
Eugen Rochko 2cbdff97ce
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 01f0cffc2c
Fix line clamp for link previews in web UI () 2023-08-02 04:17:23 +02:00
Eugen Rochko 4c999a736c
Fix wrong border radius on link cards in web UI () 2023-08-02 01:57:31 +02:00
Christian Schmidt ca342d4838
Add List-Unsubscribe email header () 2023-08-01 19:34:40 +02:00
Christian Schmidt f2257069b2
Fix AVIF attachments () 2023-08-01 19:34:11 +02:00
Claire 71fd70335a
Change interaction modal input to disable browser spell-checking, capitalization and autocomplete () 2023-08-01 17:11:30 +02:00
Claire 6c39125761
Change /api/v1/peers/search to be case-insensitive when using Elasticsearch () 2023-08-01 14:52:32 +02:00
Christian Schmidt fd284311e7
Do not normalize URL before fetching it () 2023-07-31 23:17:37 +02:00
Claire d82abc877a
Fix `Importer::BaseImporter#clean_up!` not using proper primary key () 2023-07-31 11:17:41 +02:00
Eugen Rochko d4807a5e64
Change aspect ratios on link previews in web UI () 2023-07-30 03:35:17 +02:00
Plastikmensch 4d3a129212
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
Matt Jankowski 660993b415
Add coverage for `URLValidator` () 2023-07-28 23:12:25 +02:00
Matt Jankowski 6602edf064
Add coverage for `LanguageValidator` () 2023-07-28 23:12:09 +02:00
Matt Jankowski 30f5ec7303
Rubocop fix: `Perfomance/UnfreezeString` () 2023-07-28 23:11:05 +02:00
gunchleoc b0134db6ff
Allow filtering for Chinese languages () 2023-07-28 23:07:22 +02:00
Christian Schmidt f96e4b3047
Use original URL in preview if it redirects to 4xx page () 2023-07-28 23:02:08 +02:00
Claire a4ec187a20
Change the wording of the dismissable explore prompt () 2023-07-27 16:51:02 +02:00
Claire bbea052935
Fix emoji picker button scrolling with textarea content in single-column view () 2023-07-27 16:20:33 +02:00
Emelia Smith 317cd26fba
Remove queued_at value from pubsub payloads () 2023-07-27 16:19:33 +02:00
Misty De Méo 12a6cf569e
Storage: add :azure to remaining callers () 2023-07-27 16:13:45 +02:00
Claire 6c3c5bbbc3
Fix crash when processing Flag activity with no status () 2023-07-27 16:11:56 +02:00
Claire b4e739ff0f
Change interaction modal in web UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-07-27 16:11:17 +02:00
Claire 1e4ccc655a
Add role badges to the WebUI () 2023-07-27 16:05:24 +02:00
github-actions[bot] b9adea9695
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-07-26 13:46:16 +02:00
Matt Jankowski 84d520ee80
Extract private methods in `StatusCacheHydrator` () 2023-07-26 09:50:48 +02:00
Matt Jankowski 8ac5a93a7d
Reformat large hash in `ContextHelper` module () 2023-07-26 09:46:11 +02:00
Christian Schmidt a4b69bec2e
Fix missing GIF badge in account gallery () 2023-07-26 03:33:31 +02:00
Christian Schmidt 6781dc6462
Preserve translation on status re-import () 2023-07-25 20:29:31 +02:00
Claire ce1f35d7e2
Revert poll colors to green outside of compose form () 2023-07-25 15:32:59 +02:00
Eugen Rochko 7bd8ef355c
Add `published_at` attribute to preview cards () 2023-07-25 13:40:35 +02:00
Trevor Wolf 49d2e8979f
fix poll input active style () 2023-07-25 13:39:15 +02:00
Matt Jankowski 50ff3d3342
Coverage for `Auth::OmniauthCallbacks` controller () 2023-07-25 09:46:57 +02:00
Eugen Rochko f826a95f6e
Add published date and author to news on the explore screen in web UI () 2023-07-25 00:57:15 +02:00
Christian Schmidt 4299208487
Fix `lang` for UI texts in link preview () 2023-07-24 23:01:31 +02:00
Eugen Rochko 714a20697f
Fix missing action label on sensitive videos and embeds in web UI () 2023-07-24 22:04:38 +02:00
Eugen Rochko d1a9f601c7
Fix missing border on error screen in light theme in web UI () 2023-07-24 19:53:33 +02:00
gol-cha 9a567ec1d1
Fix UI Overlap with the loupe icon in the Explore Tab () 2023-07-24 17:56:20 +02:00
Claire 2dfa8f797a
Fix LinkCrawlWorker crashing on `null` `created_at` () 2023-07-24 17:55:36 +02:00
Vyr Cossont 394d1f19b1
Add report.updated webhook () 2023-07-24 17:37:38 +02:00
Claire b629e21515
Fix unexpected redirection to /explore after sign-in () 2023-07-24 16:06:32 +02:00
Christian Schmidt 76fce34ebb
Add `lang` attribute to trending links () 2023-07-24 13:48:23 +02:00
Trevor Wolf 80809ef33e
change poll form element colors to fit with the rest of the ui () 2023-07-24 13:48:09 +02:00
Eugen Rochko 6b2952d1dd
Change design of link previews in web UI () 2023-07-24 13:47:28 +02:00
Eugen Rochko 4d01d1a1ee
Remove 16:9 cropping from web UI () 2023-07-24 13:46:55 +02:00
Eugen Rochko 5e8cbb5f82
Remove back button from bookmarks, favourites and lists screens in web UI () 2023-07-23 17:55:20 +02:00
Eugen Rochko cfd50f30bb
Fix focus and hover styles in web UI () 2023-07-23 17:55:13 +02:00
Nick Schonning 67016dd29d
Update haml-lint 0.49.1 () 2023-07-23 17:48:16 +02:00
Claire 0078e7e760
Fix incorrect connect timeout in outgoing requests () 2023-07-22 20:42:31 +02:00
наб 1b4cf0eba0
Favourits -> Favorites () 2023-07-21 21:13:20 +02:00
gunchleoc 217ef7f2af
Replace 'favourite' by 'favorite' for American English () 2023-07-21 19:09:13 +02:00
Claire 14fad60384
Use username as display name for suspended users or users with blank display names () 2023-07-21 13:20:53 +02:00
Trevor Wolf 59478a1b46
change focus ui for keyboard only input () 2023-07-21 13:20:14 +02:00
Claire e4ea80d808
Change thread view to scroll to the selected post rather than the post being replied to () 2023-07-21 13:14:30 +02:00
Claire 144a406d33
Clean up unused application records () 2023-07-21 13:13:16 +02:00
Claire 5cbc402687
Fix replica being used even if not explicitly defined () 2023-07-21 11:30:53 +02:00
Renaud Chaput 42698b4c5c
Fix the crossorigin attribute () 2023-07-21 11:14:26 +02:00
Claire 1e3b19230a
Add stricter protocol fields validation for accounts () 2023-07-20 18:23:48 +02:00
Matt Jankowski a5842df123
Fix haml-lint Rubocop `Lint/UnusedBlockArguments` cop () 2023-07-20 17:03:39 +02:00
Matt Jankowski df05ece265
Fix haml-lint Rubocop `Style/NumericPredicate` cop () 2023-07-20 15:13:06 +02:00
Stanislas Signoud 586b1c9dca
Fix a missing redirection on getting-started in multi column mode () 2023-07-20 14:46:02 +02:00
Misty De Méo b848ba3867
Paperclip: add support for Azure blob storage () 2023-07-19 09:02:49 +02:00
Christian Schmidt 4c18928a93
Wrong count in response when removing favourite/reblog ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-07-19 09:02:30 +02:00
Matt Jankowski 6edd404482
Cleanup unused portions of statuses/status partial () 2023-07-19 08:44:16 +02:00
github-actions[bot] 47832a1ac0
New Crowdin Translations (automated) ()
Co-authored-by: renchap <renchap@users.noreply.github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-07-18 21:13:25 +02:00
Claire ff41e5426a
Change request timeout handling to use a longer deadline () 2023-07-18 20:51:20 +02:00
Matt Jankowski 6657695ec6
Fix haml-lint `InstanceVariables` rule for auth/registrations/edit () 2023-07-18 18:10:52 +02:00
Matt Jankowski f6dda59e5d
Fix haml-lint Rubocop `Style/SymbolProc` cop () 2023-07-18 17:43:04 +02:00
Matt Jankowski 39d9804119
Fix haml-lint Rubocop `Style/WordArray` cop () 2023-07-18 17:25:41 +02:00
Matt Jankowski b3f48089e6
Fix haml-lint rubocop style negation cops () 2023-07-18 17:02:02 +02:00
Matt Jankowski e663e6d2c2
Fix haml-lint `ConsecutiveSilentScripts` rule () 2023-07-18 09:25:37 +02:00
Matt Jankowski 4207c95d4f
Fix haml-lint Rubocop `Style/SlicingWithRange` cop () 2023-07-17 18:18:13 +02:00
Claire a442a1d1c6
Fix “Back” button sometimes redirecting out of Mastodon () 2023-07-17 17:32:46 +02:00
Matt Jankowski d0f00206dc
Fix haml-lint Rubocop `Style/StringLiterals` cop () 2023-07-17 16:57:18 +02:00
Jeong Arm 664b0ca8cb
Check if json body is null on Activitipub::ProcessingWorker () 2023-07-17 15:51:30 +02:00
Matt Jankowski bd33efdf16
Fix haml-lint Rubocop `Style/MinMaxComparison` cop () 2023-07-17 15:38:04 +02:00
Matt Jankowski 361dd43235
Fix haml-lint Rubocop `lambda` cop () 2023-07-17 15:07:29 +02:00
Matt Jankowski 5096deb818
Fix haml lint Rubocop `Style/RedundantStringCoercion` cop () 2023-07-17 14:08:56 +02:00
Claire 943f27f437
Remove unfollowed hashtag posts from home feed () 2023-07-17 13:56:28 +02:00
Claire c667fc5a4a
Fix ArgumentError in mailers when a user's timezone is blank () 2023-07-17 12:10:50 +02:00
Michael Stanclift 97ce47e451
Fix for "follows you" indicator in light web UI not readable () 2023-07-17 11:51:00 +02:00
Eugen Rochko 26e522ac55
Fix not actually connecting to the configured replica () 2023-07-17 08:26:52 +02:00
Terence Eden b923a4c755
Prevent split line between icon and number on reposts & favourites () 2023-07-16 10:06:33 +02:00
Claire 71db616fed
Change “About” and “Privacy policy” links to open in a new tab in advanced interface () 2023-07-13 17:59:15 +02:00
Stanislas Signoud 5fad7bd58a
Change links in multi-column mode so tabs are open in single-column mode () 2023-07-13 17:18:09 +02:00
Claire 41f65edb21
Fix embed dropdown menu item for unauthenticated users () 2023-07-13 15:53:03 +02:00
Matt Jankowski 644c5fddd8
Refactor `Status.tagged_with_all` for brakeman SQL injection warning () 2023-07-13 15:52:37 +02:00
Claire 5a3f174d56
Fix follow link style in embeds () 2023-07-13 12:58:56 +02:00
Renaud Chaput a7253075d1
Upgrade to `typescript-eslint` v6 () 2023-07-13 11:49:16 +02:00
renovate[bot] 3ed9b55cb3
Update dependency rubocop-rails to v2.20.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-07-13 11:44:02 +02:00
Renaud Chaput a75138d073
Convert Home timeline components to Typescript () 2023-07-13 11:28:55 +02:00
Renaud Chaput 73b64b8917
Upgrade to Prettier 3 () 2023-07-13 11:26:45 +02:00
Michael Stanclift 063482a63f
Fix trending publishers table not rendering correctly on narrow screens () 2023-07-13 11:12:51 +02:00
Nick Schonning 1a6c2e450a
Update rubocop to v1.54.1 () 2023-07-13 11:11:55 +02:00
Matt Jankowski ce43ed144c
Rails 7.0 update () 2023-07-13 09:36:07 +02:00
Eugen Rochko 8d0c69529a
Change markers API to use a replica () 2023-07-12 18:57:40 +02:00
Eugen Rochko fdc3ff7c2d
Change notifications API to use a replica () 2023-07-12 17:06:00 +02:00
Matt Jankowski 1ef014802b
Refactor `Trends::Query` to avoid brakeman sql injection warnings () 2023-07-12 14:19:20 +02:00
Renaud Chaput ecd8e0d612
Update Stylelint () 2023-07-12 12:31:23 +02:00
Matt Jankowski 2e1391fdd2
Fix `Naming/MemoizedInstanceVariableName` cop () 2023-07-12 10:08:51 +02:00
Matt Jankowski 5134fc65e2
Fix `Naming/AccessorMethodName` cop () 2023-07-12 10:03:19 +02:00
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop () 2023-07-12 10:03:06 +02:00
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment () 2023-07-12 09:47:08 +02:00
Stanislas Signoud 1392f31ed8
Fix sounds not being loaded from assets host () 2023-07-12 03:02:32 +02:00
Stanislas Signoud ca955ada0b
Use invariant colors on notification toasts () 2023-07-11 23:30:21 +02:00
Trevor Wolf ea10febd25
fix buttons showing inconsistent styles () 2023-07-11 12:26:09 +02:00
jsgoldstein 99be47f8b9
Change searching with # to include account index () 2023-07-10 20:58:13 +02:00
Claire af54bf52c8
Fix filters not applying to explore tab () 2023-07-10 19:33:07 +02:00
Claire 999c343946
Fix remote accounts being possibly persisted to database with incomplete protocol values () 2023-07-10 18:42:19 +02:00
Claire c27b82a437
Add `forward_to_domains` parameter to `POST /api/v1/reports` () 2023-07-10 18:26:56 +02:00
Matt Jankowski f3fca78756
Refactor `NotificationMailer` to use parameterization () 2023-07-10 03:06:22 +02:00
Eugen Rochko a1f5188c8c
Change feed merge, unmerge and regeneration workers to use a replica () 2023-07-10 03:06:09 +02:00
Eugen Rochko 610cf6c371
Fix trend calculation working on too many items at a time () 2023-07-08 20:16:48 +02:00
Eugen Rochko 338a0e70cc
Change label and design of sensitive and unavailable media in web UI () 2023-07-08 20:05:33 +02:00
Matt Jankowski cf33028f35
Admin mailer parameterization () 2023-07-08 20:03:38 +02:00
Renaud Chaput 41a505513f
Remove unused `missed_update` state () 2023-07-08 20:02:14 +02:00
Eugen Rochko a7ca33ad96
Add toast with option to open post after publishing in web UI () 2023-07-08 20:01:08 +02:00
Eugen Rochko a8edbcf963
Fix dropdowns being disabled for logged out users in web UI () 2023-07-08 20:00:52 +02:00
Eugen Rochko ceeb2b8c41
Fix explore page being inaccessible when opted-out of trends in web UI () 2023-07-08 20:00:12 +02:00
Eugen Rochko 93e8a15415
Add forwarding of reported replies to servers being replied to () 2023-07-08 20:00:02 +02:00
Kurtis Rainbolt-Greene e4cfe4b3db
First pass at multi-database for read replica using Rails native adapter ()
Co-authored-by: emilweth <7402764+emilweth@users.noreply.github.com>
2023-07-08 19:45:36 +02:00
Renaud Chaput 4534498a8e
Convert `<DismissableBanner>` to Typescript () 2023-07-08 11:12:20 +02:00
alfe 20e85c0e83
Rewrite `<ShortNumber />` as FC and TS () 2023-07-08 11:11:58 +02:00
fusagiko / takayamaki e0d230fb37
simplify counters () 2023-07-08 11:11:22 +02:00
Renaud Chaput 9f078e238d
Fix translate button position () 2023-07-08 00:12:31 +02:00
Claire b6d173b459
Fix crash in admin interface when viewing a remote user with verified links () 2023-07-07 18:10:17 +02:00
Claire 94fbac77e7
Fix processing of media files with unusual names () 2023-07-07 13:35:22 +02:00
Claire 610731b03d
Merge pull request from GHSA-55j9-c3mp-6fcq 2023-07-06 15:06:49 +02:00
Claire c5929798bf
Merge pull request from GHSA-9pxv-6qvf-pjwc
* Fix timeout handling of outbound HTTP requests

* Use CLOCK_MONOTONIC instead of Time.now
2023-07-06 15:06:23 +02:00
Claire dc8f1fbd97
Merge pull request from GHSA-9928-3cp5-93fm
* Fix attachments getting processed despite failing content-type validation

* Add a restrictive ImageMagick security policy tailored for Mastodon

* Fix misdetection of MP3 files with large cover art

* Reject unprocessable audio/video files instead of keeping them unchanged
2023-07-06 15:05:05 +02:00
Claire 6d8e0fae3e
Merge pull request from GHSA-ccm4-vgcc-73hp
* Tighten allowed HTML in oEmbed-based preview cards

* Sanitize preview cards at render time

* Add `sandbox` attribute to preview card iframes
2023-07-06 15:03:33 +02:00
Eugen Rochko 000b835803
Add canonical link tags in web UI () 2023-07-05 11:25:27 +02:00
Eugen Rochko b7910bc751
Add button to see results for polls in web UI () 2023-07-05 10:32:04 +02:00
Claire eb2417ce99
Fix OAuth apps page crashing when listing apps with certain admin API scopes () 2023-07-04 18:58:23 +02:00
Claire 4658263b4a
Fix re-activated accounts being deleted by AccountDeletionWorker () 2023-07-04 18:36:24 +02:00
Trevor Wolf 182fd93a07
fix read more button overlapping thread line bug () 2023-07-04 14:57:46 +02:00
mogaminsk 6268188543
Fix local live feeds does not expand () 2023-07-04 00:37:57 +02:00
forsamori d9a5c1acfa
Add at-symbol prepended to mention span title ()
Co-authored-by: Sam BC <samuel.balbirnie-cumming@xdesign.com>
2023-07-03 22:58:10 +02:00
Eugen Rochko 54a10523e2
Change labels of live feeds tabs in web UI () 2023-07-03 22:57:18 +02:00
Daniel M Brasil 383c00819c
Fix `/api/v2/search` not working with following query param () 2023-07-03 18:06:57 +02:00
Eugen Rochko 69e124e2ed
Fix regression of icon button colors in web UI () 2023-07-03 16:51:04 +02:00
Trevor Wolf 54cb679c19
Change button colors to increase hover/focus contrast and consistency () 2023-07-03 11:32:31 +02:00
Claire e6a8faae81
Add users index on unconfirmed_email () 2023-07-02 19:41:35 +02:00
Claire 180f0e6715
Fix inefficient query when requesting a new confirmation email from a logged-in account () 2023-07-02 16:08:58 +02:00
Eugen Rochko ba06a2f104
Revert "Rails 7 update" () 2023-07-02 11:14:22 +02:00
mogaminsk 5b46345459
Prevent duplicate concurrent calls of `/api/*/instance` in web UI () 2023-07-02 11:12:16 +02:00
Eugen Rochko 0512537eb6
Change dropdown icon above compose form from ellipsis to bars in web UI () 2023-07-02 10:39:55 +02:00
Matt Jankowski 50c2a03695
Rails 7 update () 2023-07-02 10:38:53 +02:00
Daniel M Brasil 4fe2d7cb59
Fix HTTP 500 in `/api/v1/emails/check_confirmation` () 2023-07-02 00:05:44 +02:00
Claire cea9db5a0b
Change local and federated timelines to be in a single firehose column () 2023-07-02 00:05:10 +02:00
Matt Jankowski 683ba5ecb1
Fix rails `rewhere` deprecation warning in directories api controller () 2023-07-01 21:48:16 +02:00
Renaud Chaput 78ba12f0bf
Use an Immutable Record as the root state () 2023-06-30 17:03:25 +02:00
Claire 9934949fc4
Fix onboarding prompt being displayed because of disconnection gaps () 2023-06-30 16:32:12 +02:00
Claire a209d1e683
Fix ResolveURLService not resolving local URLs for remote content () 2023-06-29 14:48:54 +02:00
jsgoldstein 4581a528f7
Change account search to match by text when opted-in ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-06-29 13:05:21 +02:00
Claire 285a691936
Remove the search button from UI header when logged out () 2023-06-28 14:57:51 +02:00
Claire c7c6f02ae6
Fix suspending an already-limited domain () 2023-06-27 12:32:51 +02:00
Claire 0ccf6c0eb7
Fix batch attachment deletion leaving empty directories () 2023-06-27 09:36:11 +02:00
S.H 7a25af64dd
Remove media attachment only when file was exist () 2023-06-26 16:38:19 +02:00
Eugen Rochko bb4756c823
Change files to be deleted in batches instead of one-by-one () 2023-06-26 14:17:41 +02:00
Renaud Chaput ae30a60b1f
Improve dismissable banner buttons when they dont fit on 1 line ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-06-26 12:31:48 +02:00
Claire ed96e28c9e
Fix compose form not being shown when clicking “Make your first post” on mobile () 2023-06-26 12:30:35 +02:00
Eugen Rochko 7b024baf50
Change header backgrounds to use fewer different colors in web UI () 2023-06-26 05:27:07 +02:00
Eugen Rochko 65aa04647a
Fix onboarding prompt flashing while home feed is loading in web UI () 2023-06-26 05:26:54 +02:00
Eugen Rochko 2b78c07ef1
Fix search not being easily findable on smaller screens in web UI () 2023-06-26 05:26:41 +02:00
Claire 55e7c08a83
Fix verified badge in account lists potentially including rel="me" links () 2023-06-24 17:24:31 +02:00
Eugen Rochko a985d587e1
Change labels and styles on the onboarding screen in web UI () 2023-06-23 16:34:27 +02:00
Claire 0842a68532
Remove unique accounts condition from Home onboarding prompt () 2023-06-23 14:44:54 +02:00
Eugen Rochko 00ec43914a
Add onboarding prompt when home feed too slow in web UI () 2023-06-22 23:48:40 +02:00
Claire 1d622c8033
Add POST /api/v1/conversations/:id/unread () 2023-06-22 18:46:43 +02:00
Claire a8c1c8bd37
Fix j/k keyboard shortcuts on some status lists () 2023-06-22 17:54:43 +02:00
Claire a5b6f6da80
Change /api/v1/statuses/:id/history to always return at least one item () 2023-06-22 14:56:14 +02:00
Claire 602c458ab6
Add finer permission requirements for managing webhooks () 2023-06-22 14:52:25 +02:00
mogaminsk 8d2c26834f
Fix custom signup URL may not loaded () 2023-06-22 12:10:49 +02:00
Ian 69db507924
Change emoji picker icon () 2023-06-21 17:58:00 +02:00
Claire ebfeaebedb
Fix /api/v1/conversations sometimes returning empty accounts () 2023-06-20 18:32:26 +02:00
Claire ec91ea4457
Fix missing validation on `default_privacy` setting () 2023-06-20 18:32:14 +02:00
Claire fd23f50243
Fix wrong view being displayed when a webhook fails validation () 2023-06-20 18:15:35 +02:00
Claire c78280a8ce
Add translate="no" to outgoing mentions and links () 2023-06-20 18:10:19 +02:00
Emelia Smith 3a91603b15
Prevent UserCleanupScheduler from overwhelming streaming () 2023-06-20 18:04:35 +02:00
Claire dd07393e75
Fix user settings not getting validated () 2023-06-19 14:06:06 +01:00
たいち ひ 804488d38e
Rewrite `<AutosuggestHashtag />` as FC and TS () 2023-06-19 14:11:46 +02:00
Matt Jankowski e1c9d52e91
Reduce `sleep` time in request pool spec () 2023-06-19 13:48:25 +02:00
Matt Jankowski 155ec185b2
Remove unused `picture_hint` helper method () 2023-06-19 09:04:15 +02:00
Daniel M Brasil b9bc9d0bda
Fix incorrect pagination headers in `/api/v2/admin/accounts` () 2023-06-19 08:53:05 +02:00
Claire 64f7a11658
Fix cross-origin loading of locales () 2023-06-18 15:47:04 +02:00
Claire c9d06d10d4
Fix non-interactive upload container being given a `button` role and tabIndex () 2023-06-16 12:03:06 +02:00
Daniel M Brasil d9c6f70cc6
Fix `ArgumentError` in `/api/v1/admin/accounts/:id/action` () 2023-06-14 15:21:36 +02:00
Eugen Rochko f20698000f
Fix always redirecting to onboarding in web UI () 2023-06-14 09:05:03 +02:00
Claire ec59166844
Fix ArgumentError when loading newer Private Mentions () 2023-06-14 08:54:52 +02:00
Eugen Rochko bca649ba79
Change edit profile page () 2023-06-14 04:38:07 +02:00
Eugen Rochko 39110d1d0a
Fix CAPTCHA page not following design pattern of sign-up flow () 2023-06-13 22:30:40 +02:00