Commit graph

6355 commits

Author SHA1 Message Date
noellabo
933485dcec Change to interpret emoji reaction as favorite 2022-05-11 00:48:03 +09:00
noellabo
4803329dce Fix css on emoji reaction when hovering to me reaction 2022-05-11 00:48:03 +09:00
noellabo
82b1d12c99 Fix emoji reactions with the same name but different domains being misidentified as me 2022-05-11 00:48:03 +09:00
noellabo
60c13a4cb0 Fix unnecessary whitespace in status without emoji reactions 2022-05-11 00:48:03 +09:00
noellabo
e9bd2b1020 Fix notification parameter in WebUI 2022-05-11 00:48:03 +09:00
noellabo
20aa334254 fixup! nightly 2022-05-11 00:48:03 +09:00
noellabo
ae60e0a7d7 Add emoji reaction 2022-05-11 00:48:03 +09:00
noellabo
28675f7d34 Fix to delete StatusCapabilityToken when deleting status batch 2022-05-11 00:48:03 +09:00
noellabo
e8f7e153e8 Fix translation toot to post 2022-05-11 00:48:03 +09:00
noellabo
89754ccd7d Fix filterTimeline 2022-05-11 00:48:03 +09:00
noellabo
edf71e9cca Add lists, favourite domains, favourite hashtags to Getting started 2022-05-11 00:48:03 +09:00
noellabo
7c01b118bf Fix an error in circle posts containing mentions 2022-05-11 00:48:03 +09:00
noellabo
64c363cb08 Add limited timeline 2022-05-11 00:48:03 +09:00
noellabo
2de85178bd Add suggestions columns 2022-05-11 00:48:03 +09:00
noellabo
cfce94fb24 Add trends columns 2022-05-11 00:48:03 +09:00
noellabo
95670ff617 Add management of delivery availavility in Federation settings (more) 2022-05-11 00:48:02 +09:00
noellabo
e1c54c9201 Add boost visibility icon 2022-05-11 00:48:02 +09:00
noellabo
91675c947e Remove limited post in boost modal 2022-05-11 00:48:02 +09:00
noellabo
4c102d815a Fix menu in status action bar 2022-05-11 00:48:02 +09:00
noellabo
c6c7bdcb18 Add fedibird_capabilities 2022-05-11 00:48:02 +09:00
noellabo
a00ef472e8 Add preference and logout 2022-05-11 00:48:02 +09:00
noellabo
9350fc3e52 Add place tab bar at bottom and add short label 2022-05-11 00:48:02 +09:00
noellabo
639efef091 Change subscribing to account_subscribing in relationship response 2022-05-11 00:48:02 +09:00
noellabo
c9f782ff5e Add list to tab bar 2022-05-11 00:48:02 +09:00
noellabo
fddb7a99ec Add information links 2022-05-11 00:48:02 +09:00
noellabo
e93cd2b5f2 Improve status title more 2022-05-11 00:48:02 +09:00
noellabo
fc8d4a7a0c Change account header file limit 2MB -> 4BM 2022-05-11 00:48:02 +09:00
noellabo
f8dd06a32f Modify follow limit 7500 -> 15000 2022-05-11 00:48:02 +09:00
noellabo
9b8ba11b79 Modify feed max items 400 -> 2000 2022-05-11 00:48:02 +09:00
noellabo
f82cc52b72 Add Mastodon-missing theme 2022-05-11 00:48:02 +09:00
noellabo
f1e027de7b Add mobile small theme 2022-05-11 00:48:02 +09:00
noellabo
dbbbe9bcbe Add instance-ticker theme 2022-05-11 00:48:02 +09:00
noellabo
ee5b2abf67 Change to skip sensitized accounts avatar and header downloads and added functionality to remove 2022-05-11 00:48:02 +09:00
noellabo
c1093dd259 Fix custom emoji compatibility in Misskey's display name 2022-05-11 00:48:02 +09:00
noellabo
0d0d754b27 Improved timeline merge for account subscriptions and add option to subscribe to media only 2022-05-11 00:48:02 +09:00
noellabo
9720a83867 Add avatar images and paging to subscribe settings 2022-05-11 00:48:02 +09:00
noellabo
c59ca999a6 Add interrelationship filter 2022-05-11 00:48:02 +09:00
noellabo
5ea43e505b Add support for limited Announce Activity 2022-05-11 00:48:02 +09:00
noellabo
c3114f9a5e Add mutual-followers-only visibility 2022-05-11 00:48:02 +09:00
noellabo
807da5d3d6 Fix to not use bearcap when backing up status 2022-05-11 00:48:02 +09:00
noellabo
f1200ac6e6 Change the BackupWorker queue to backup 2022-05-11 00:48:02 +09:00
noellabo
7ba385236a Add quote and bookmark button in PiP 2022-05-11 00:48:02 +09:00
noellabo
ec77641009 Fix limited_owned_parent_status? 2022-05-11 00:48:02 +09:00
noellabo
56f1f13683 Does not list tags with an underscore at the end 2022-05-11 00:48:02 +09:00
noellabo
2f88e910b6 Eliminate duplication and provide status notifications outside of feed to home 2022-05-11 00:48:02 +09:00
noellabo
96258f2a86 fixup! Add the ability to change to a new circle by replying to a circle 2022-05-11 00:48:02 +09:00
noellabo
a27fcf5e30 Add feature circle
Squashed commit of the following:

commit 7b2ba61c4841e23081552fb79270e4e430dd1fe0
Author: noellabo <noel.yoshiba@gmail.com>
Date:   Sat Sep 5 16:03:52 2020 +0900

    Add the ability to change to a new circle by replying to a circle

commit 7013a228c65c7bd147885de458b50095f3c24334
Author: noellabo <noel.yoshiba@gmail.com>
Date:   Sat Sep 5 16:10:57 2020 +0900

    fixup! add-limited-visibility-icon-to-status

commit 679aa8a7f9bef42ee5d0b326d9ae4925a1999939
Author: noellabo <noel.yoshiba@gmail.com>
Date:   Sat Sep 5 15:12:53 2020 +0900

    Fix 14666

commit b3addd8220d8bb3512ff345b32ca83c714dadd2a
Author: noellabo <noel.yoshiba@gmail.com>
Date:   Sat Sep 5 11:44:12 2020 +0900

    Add Japanese translation for circle

commit b7f4b773a0cd554084d5ad6a5923adb06b3acfc4
Author: noellabo <noel.yoshiba@gmail.com>
Date:   Sat Sep 5 11:40:12 2020 +0900

    Squashed commit of the following:

    commit b85a4685b27c49462288aba5f38723b91e936c4a
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sat Sep 5 10:50:03 2020 +0900

        Changed to remove restrictions on privacy options and allow users to switch circles when replying

    commit 0a8c0140c73d7c5333e4f8017964adb5061a7cf1
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sat Sep 5 09:33:07 2020 +0900

        Change limited visibility icon

    commit b64adf19788d828249408454ec6afa9beb3d4872
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Mon Aug 31 06:50:56 2020 +0900

        Fix a change to limited-visibility-bearcaps replies

    commit ed361405b5e38857a2f42b0515a599ddcdd412cf
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Thu Aug 27 15:53:18 2020 +0900

        Fix composer text when change visibility

    commit 4da3adddb6ffde43070d743e34c5b56e06579b30
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sat Aug 22 22:34:23 2020 +0900

        Fix wrong circle_id when changing visibility

    commit 752d7fc2a3c9e34fab9993d767f83c6eae7ba55a
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sun Aug 9 13:12:51 2020 +0900

        Add circle reply and redraft

    commit 5978bc04a24695edce6717bda89dcf6f861ef2c4
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Mon Jul 27 01:07:52 2020 +0900

        Fix remove unused props

    commit 7970f69676c24b4aa9385fee8b1635c46ba52fcd
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sun Jul 26 21:17:07 2020 +0900

        Separate circle choice from privacy

    commit 36f6a684c0b0c895d4d0f1b9d09b05c91b104666
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Thu Jul 23 10:54:25 2020 +0900

        Add UI for posting to circles

    commit 7ef48003c1407275663dd603b124d292db2aa93a
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Fri Jul 24 12:55:10 2020 +0900

        Fix silent mention by circle

commit 7a1caed49333c3d3241301afb77639cdf1cabdc0
Author: noellabo <noel.yoshiba@gmail.com>
Date:   Sat Sep 5 11:38:10 2020 +0900

    Squashed commit of the following:

    commit dca71fab86c830932ca760b7d8b3f89cc25c453e
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sat Sep 5 09:31:26 2020 +0900

        Revert "Add focus setting when opening the circle column"

        This reverts commit 3a93ac99312a13b68b7edc2b81313fb0ffb7bcdc.

    commit 0a1bc8307bb699c7eb3024072ce14a440df1fc87
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sat Sep 5 09:31:11 2020 +0900

        Change limited visibility icon

    commit 9784f8b562f6592e9d9190ca29d2b2e870006d10
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Thu Aug 13 21:52:07 2020 +0900

        Add focus setting when opening the circle column

    commit a84f680c167fab9276550850c60f9108d251144e
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Thu Aug 13 15:55:27 2020 +0900

        Fix message

    commit e3f11c4adac57b6e6a15c981ed6f4721a1634212
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Mon Jul 27 01:01:23 2020 +0900

        Fix light-theme

    commit d7d96eda5b86d3e3f654ce79888e7cf5aa535db5
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sun Jul 26 21:50:56 2020 +0900

        Fix circles loading in share page and followers search

    commit 10b821f7b8c0a87cea3df51f09deeadc2cb40b32
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Fri Jul 24 14:08:00 2020 +0900

        Refactor list items

    commit e020072915572ce409039ccf799d08f8d8b5b393
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Thu Jul 23 20:15:38 2020 +0900

        Fixed a bug that circle name change is not reflected in the list

    commit 735bc41161b4c09a8dafe2c0064096b3ca79f2a0
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Wed Jul 22 08:49:47 2020 +0900

        Add UI for managing circle members

    commit d7c3145b8fa84be0631bf7f41bb229f3e6d03ff1
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Wed Jul 22 07:34:52 2020 +0900

        Add the followers option to AccountSearchSercive

    commit 65e2b0c4299b72ede440b50089c1bd6afa6c9c05
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Wed Jul 22 07:05:56 2020 +0900

        Add CircleSerializer

commit a639e1803abf5590068846dbe98bc5edfaa2ad82
Author: noellabo <noel.yoshiba@gmail.com>
Date:   Sat Sep 5 11:37:30 2020 +0900

    Squashed commit of the following:

    commit 9cb3fb9d980e3ee066083076f508c5ab1447176a
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sat Sep 5 07:15:19 2020 +0900

        Move the link to the mention list to the menu

    commit b32dd87b43f4e09b8e2c437f1fb5d3ebd6221215
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Sat Sep 5 00:56:12 2020 +0900

        Change limited visibility icon

    commit 8db0d024119d1c2cef8de849f2501496a166a2dd
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Tue Sep 1 01:42:13 2020 +0900

        Fix to disallow getting the list of mentions in limited replies

    commit 490a9d65a59a3dd0d86e81f6780e879dc4313dff
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Fri Jul 24 11:36:24 2020 +0900

        Add column to list mentioned accounts of limited status

    commit 62a423ac2729c16f26fafe111f257bc373218df2
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Thu Jul 23 13:30:17 2020 +0900

        Fix visibility compatibility more

    commit a5cfa54b259054f41e89037f299fa928a2361818
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Mon Jul 20 05:39:49 2020 +0900

        Fix visibility compatibility

    commit 7900ca5650c77565b86ddc594a221dfa3b5321b4
    Author: noellabo <noel.yoshiba@gmail.com>
    Date:   Mon Jul 20 02:01:27 2020 +0900

        Add limited visibility icon to status

commit 66b83965ef068e9ee8c940249c68bcbde15731fe
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Wed Aug 26 03:16:47 2020 +0200

    Add conversation-based forwarding for limited visibility statuses through bearcaps

commit 561abc65e0ace89318b3952047025b8d98515fbb
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Sun Jul 19 02:05:16 2020 +0200

    Add REST API for managing and posting to circles

    Circles are the conceptual opposite of lists. A list is a subdivision
    of your follows, a circle is a subdivision of your followers. Posting
    to a circle means making content available to only some of your
    followers. Circles have been internally supported in Mastodon for
    the purposes of federation since #8950, this adds the REST API
    necessary for making use of them in Mastodon itsef.
2022-05-11 00:48:02 +09:00
noellabo
020074c188 Fix remove group status 2022-05-11 00:48:02 +09:00
noellabo
c1b9b8dbc5 Fix fan-out-on-write service 2022-05-11 00:48:02 +09:00
noellabo
2d5a103176 Add group own post to group timeline 2022-05-11 00:48:02 +09:00
noellabo
acb22de646 AccountFilter to AccountSearchFilter 2022-05-11 00:48:02 +09:00
noellabo
46d05ea6e8 Fix ES setting for Account Full Text Search 2022-05-11 00:48:02 +09:00
noellabo
176dd499b7 Add account note to search index 2022-05-11 00:48:02 +09:00
noellabo
c985cf5536 Fix group_only restriction not working when exact match in account search 2022-05-11 00:48:02 +09:00
noellabo
2acc45d777 Fix account link in quote 2022-05-11 00:48:02 +09:00
noellabo
5b1f641fd2 Fix subscribe WebUI 2022-05-11 00:48:02 +09:00
noellabo
40101fc7ae Fix RemoveStatusService status.reblog 2022-05-11 00:48:02 +09:00
noellabo
ba4b67eae3 Fix group (mentioning?) 2022-05-11 00:48:02 +09:00
noellabo
23732db79f Fix title of group timeline 2022-05-11 00:48:02 +09:00
noellabo
d9649ad1f7 Add group directory 2022-05-11 00:48:02 +09:00
noellabo
c6417be067 Add group suggestion 2022-05-11 00:48:02 +09:00
noellabo
141a3d8a01 Add className group in mention 2022-05-11 00:48:02 +09:00
noellabo
110421c8a0 Add group timeline 2022-05-11 00:48:02 +09:00
noellabo
08d250d633 Fix subscribing fetch and expand 2022-05-11 00:48:02 +09:00
noellabo
5f115f45e5 Fix account subscribes and follow tag 2022-05-11 00:48:01 +09:00
noellabo
c400d63b06 Add account.counter translation 2022-05-11 00:48:01 +09:00
noellabo
736864287d Fix subscribers counter on WebUI 2022-05-11 00:48:01 +09:00
noellabo
8e45e9bb82 Add favorite domains 2022-05-11 00:48:01 +09:00
noellabo
5182c8e3a8 Add a setting to switch the non-standard buttons on the action bar 2022-05-11 00:48:01 +09:00
noellabo
e63d057f37 Add an expiry to status 2022-05-11 00:48:01 +09:00
noellabo
f8657ee031 Fix to remove AccountSubscribe on block 2022-05-11 00:48:01 +09:00
noellabo
4fecd68d4c Fix hiding notifications for incompatible clients 2022-05-11 00:48:01 +09:00
noellabo
b7c90ae1e8 Change LTL to FTL for iMast and Official Apps 2022-05-11 00:48:01 +09:00
noellabo
ce29732518 Remove local timeline for fedibird.com 2021-08-12 07:10:15 +09:00
noellabo
1503574e48 Changed not to send email notification for empty invite request 2021-08-12 07:10:15 +09:00
noellabo
ae83c9691f Move bookmark to action bar 2021-08-12 07:10:15 +09:00
noellabo
c91937c9a1 Show navigation panel in multiple columns WebUI 2021-08-12 07:10:15 +09:00
noellabo
138d5972dd Add support for WebP and HEIC formats through conversion 2021-08-12 07:10:15 +09:00
noellabo
40db10417c Set up elasticsearch 7 to use sudachi 2021-08-12 07:10:15 +09:00
noellabo
fed4eaf5f3 Changed DistributionWorker to give federation priority over subscription 2021-08-12 07:10:15 +09:00
Marek Lipka
145c0ccd2a Prevent stripping color profiles from JPEGs 2021-08-12 07:10:15 +09:00
noellabo
4bb8969b69 Add a quote URL to the search target string 2021-08-12 07:10:15 +09:00
noellabo
afcefb1f46 Fix subscribe and follow buttons on the timeline not being able to be hidden individually 2021-08-12 07:10:15 +09:00
noellabo
2b7d1d9941 Add show followed_by to WebUI 2021-08-12 07:10:15 +09:00
noellabo
f40706037b Add availability of follow-up delivery 2021-08-12 07:10:15 +09:00
noellabo
3e31123c2a Add relationship action buttons to WebUI status 2021-08-12 07:10:15 +09:00
noellabo
3bcbbb7463 Add hashtag follow and account subscribe support to list 2021-08-12 07:10:13 +09:00
noellabo
9fdfc2d8d5 Add account subscribe support to WebUI 2021-08-12 07:08:36 +09:00
noellabo
3d6eaf638d Add a domain timeline 2021-08-12 07:08:36 +09:00
noellabo
92a9a23eb6 Add subscribe features 2021-08-12 07:08:36 +09:00
noellabo
fd5b7c14fa Add favorite hashtags 2021-08-12 07:08:36 +09:00
noellabo
3ae7effb6d Fix to dismiss quote where the target post was deleted 2021-08-12 07:08:19 +09:00
noellabo
8477a0ece1 Fix quote on public stream 2021-08-12 07:08:18 +09:00
noellabo
0a51a32c35 Fix not hiding quoted unlisted status in non public timeline 2021-08-12 07:08:18 +09:00
noellabo
d93ab2a4d0 Fix missing frameRate 2021-08-12 07:08:18 +09:00
noellabo
12eb1915b8 Fix missing reblog_of_quote 2021-08-12 07:08:18 +09:00
noellabo
6119a9ce97 Fix modal footer to react to quoted posts 2021-08-12 07:08:18 +09:00
noellabo
84986895a3 Fix quoted account link in detailed status 2021-08-12 07:08:18 +09:00
noellabo
9a151e82b1 Fix expand video on public page for quote 2021-08-12 07:08:18 +09:00
noellabo
44d0ba096a fix rtl in quote_indicator 2021-08-12 07:08:18 +09:00
noellabo
e3b75b17f0 Fix Open handler in quote media 2021-08-12 07:08:18 +09:00
noellabo
4d8bcaf5f3 Add quote button in PiP 2021-08-12 07:08:18 +09:00
noellabo
6fd2947b92 Fix to hide mute and blocked quotes 2021-08-12 07:08:18 +09:00
noellabo
e9ee34d3f4 Fix PictureInPicture to work in quotes 2021-08-12 07:08:18 +09:00
noellabo
9be377319f Fix quoted audio 2021-08-12 07:08:18 +09:00
noellabo
fffe32429d Fix tooltip 'cannot be quoted' 2021-08-12 07:08:18 +09:00
noellabo
847958f19f Fix an avatar icon size of the status quoted on the public page 2021-08-12 07:08:18 +09:00
noellabo
815766cc54 Add "Show poll" link to quoted poll 2021-08-12 07:08:18 +09:00
noellabo
f49c59bc02 Apply quote by parsing post body 2021-08-12 07:08:18 +09:00
noellabo
18fe946a60 Compatible with Misskey quote 2021-08-12 07:08:18 +09:00
noellabo
9faf45d0fd Change not to delete the element specified in invisible 2021-08-12 07:08:18 +09:00
noellabo
8edd8ba895 Fix to reject status quotations other than public and unlisted 2021-08-12 07:08:18 +09:00
noellabo
24e85eda67 Add confirmation of overwriting of input content when quoting 2021-08-12 07:08:18 +09:00
noellabo
279c215c04 Add feature_quote to instance API 2021-08-12 07:08:18 +09:00
noellabo
2edc7f287e Fix boost target to be quoted if boosted 2021-08-12 07:08:18 +09:00
noellabo
fa350fdb2c Fix quote nesting at once, add quote_id 2021-08-12 07:08:18 +09:00
wakin
27da15b734 remake quote feature 2021-08-12 07:08:18 +09:00
Genbu Hase
c77947f15a [New] Implement a feature of quote 2021-08-12 07:08:17 +09:00
Claire
0c24c865b7
Fix crash if a notification contains an unprocessed media attachment (#16573)
* Refactor AttachmentList

* Do not crash if a notification contains an unprocessed media attachment

Fixes #16530

* Fix spacing in compact form
2021-08-11 17:49:10 +02:00
Claire
aaf24d3093
Fix download button color in audio player (#16572)
Fixes #16571
2021-08-11 17:48:55 +02:00
Claire
5efb1ff337
Fix followers synchronization mechanism not working when URI has empty path (#16510)
* Fix followers synchronization mechanism not working when URI has empty path

To my knowledge, there is no current implementation on the fediverse
that can use bare domains (e.g., actor is at https://example.org instead of
something like https://example.org/actor) that also plans to support the
followers synchronization mechanism. However, Mastodon's current implementation
would exclude such accounts from followers list.

Also adds tests and rename them to reflect the proper method names.

* Move url prefix regexp to its own constant
2021-08-11 17:48:42 +02:00
Claire
13b08610a0
Fix crash when encountering invalid account fields (#16598)
* Add test

* Fix crash when encountering invalid account fields
2021-08-11 16:40:55 +02:00
Claire
4ac78e2a06
Add feature to automatically delete old toots (#16529)
* Add account statuses cleanup policy model

* Record last inspected toot to delete to speed up successive calls to statuses_to_delete

* Add service to cleanup a given account's statuses within a budget

* Add worker to go through account policies and delete old toots

* Fix last inspected status id logic

All existing statuses older or equal to last inspected status id must be
kept by the current policy. This is an invariant that must be kept so that
resuming deletion from the last inspected status remains sound.

* Add tests

* Refactor scheduler and add tests

* Add user interface

* Add support for discriminating based on boosts/favs

* Add UI support for min_reblogs and min_favs, rework UI

* Address first round of review comments

* Replace Snowflake#id_at_start with with_random parameter

* Add tests

* Add tests for StatusesCleanupController

* Rework settings page

* Adjust load-avoiding mechanisms

* Please CodeClimate
2021-08-09 23:11:50 +02:00
Takeshi Umeda
709876bd6c
Fix invalid blurhash handling in Create activity (#16583) 2021-08-09 13:33:19 +02:00
Takeshi Umeda
590e1578bf
Fix when MoveWorker cannot get locale from remote account (#16576) 2021-08-08 15:31:02 +02:00
Claire
763ab0c7eb
Fix owned account notes not being deleted when an account is deleted (#16579)
* Add account_notes relationship

* Add tests

* Fix owned account notes not being deleted when an account is deleted

* Add post-migration to clean up orphaned account notes
2021-08-08 15:29:57 +02:00
Takeshi Umeda
b2875b1864
Fix logout link not working in safari (#16574) 2021-08-06 12:14:13 +02:00
Jeong Arm
6e0ab6814f
Fix trends layout (#16570) 2021-08-05 13:05:32 +02:00
Claire
a8a7066e97
Add confirmation modal when closing media edit modal with unsaved changes (#16518)
* Add confirmation modal when closing media edit modal with unsaved changes

* Move focal point media state to redux so it does not get erased by confirmation dialog

* Change upload modal behavior to keep it open while saving changes

Instead of closing it immediately and losing changes if they fail to save…

* Make it work with react-intl 2.9
2021-07-25 01:14:43 +02:00
Claire
af08229ff4
Fix “open” link of media modal not closing modal (#16524) 2021-07-25 01:13:46 +02:00
Claire
1d67acb72f
Fix scoped order warning in RemoveStatusService (#16531)
Fixes “Scoped order is ignored, it's forced to be batch order.”
2021-07-24 14:41:46 +02:00
Claire
e9659ae031
Fix crashes with Microsoft Translate on Microsoft Edge (#16525)
Fixes #16509

Microsoft Edge with translation enabled rewrites the DOM in ways that confuse
react and prevent it from working properly. Wrapping the offending parts in
a span avoids this issue.
2021-07-23 02:53:17 +02:00
Claire
d8629e7b86
Add logging of S3-related errors (#16381) 2021-07-21 18:34:39 +02:00
Claire
e54a65013d
Fix replying from modal (#16516)
Fixes #16515

Not using a router object somehow made `this.history` lag behind the real
browser history whenever pushing a new history item in `replyCompose`.

Not using the context-provided router in this case was an oversight made
when porting glitch-soc changes in #16499.
2021-07-17 17:06:52 +02:00
Claire
211d5c3c30
Fix inefficiencies in auto-linking code (#16506)
The auto-linking code basically rewrote the whole string escaping non-ascii
characters in an inefficient way, and building a full character offset map
between the unescaped and escaped texts before sending the contents to
TwitterText's extractor.

Instead of doing that, this commit changes the TwitterText regexps to include
valid IRI characters in addition to valid URI characters.
2021-07-15 15:56:58 +02:00
Claire
3dcf3f2a3a
Fix minor code quality issues (#16502) 2021-07-14 05:36:23 +02:00
Claire
30ce6e395c
Fix user email address being banned on self-deletion (#16503)
* Add tests

* Fix user email address being banned on self-deletion

Fixes #16498
2021-07-14 05:35:49 +02:00
Claire
5a1e072517
Change references to tootsuite/mastodon to mastodon/mastodon (#16491)
* Change references to tootsuite/mastodon to mastodon/mastodon

* Remove obsolete test fixture

* Replace occurrences of tootsuite/mastodon with mastodon/mastodon in CHANGELOG

And a few other places
2021-07-13 15:46:20 +02:00
Claire
d3791cca0c
Improve modal flow and back button handling (#16499)
* Refactor shouldUpdateScroll passing

So far, shouldUpdateScroll has been manually passed down from the very top of
the React component hierarchy even though it is a static function common to
all ScrollContainer instances, so replaced that with a custom class extending
ScrollContainer.

* Generalize “press back to close modal” to any modal and to public pages

* Fix boost confirmation modal closing media modal
2021-07-13 15:45:17 +02:00
Eugen Rochko
7095c80373
Add ability to filter reports by origin of target account (#16487) 2021-07-11 11:01:38 +02:00
Eugen Rochko
275fa4746b
Add configuration attribute to GET /api/v1/instance (#16485)
List various values like file size limits and supported mime types
2021-07-10 17:58:41 +02:00
Eugen Rochko
771c9d4ba8
Add ability to skip sign-in token authentication for specific users (#16427)
Remove "active within last two weeks" exception for sign in token requirement

Change admin reset password to lock access until the password is reset
2021-07-08 05:31:28 +02:00
Claire
8569126c2e
Fix upgrade path from 3.4.0 (#16465)
3.4.1 dropped account_stats.lock_version, but in a way breaking the usual
upgrade path by requiring services to be reloaded after the post-migrations.

Indeed, `self.locking_column = nil` was not enough for Rails to ignore the
`lock_version` column when preparing statements on application load, resulting
in some ActiveRecord queries (typically those involving
`includes(:account_stat)`) erroring out with:

  ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR:  column account_stats.lock_version does not exist
2021-07-07 21:13:30 +02:00
Claire
e2844b7e58
Change number_to_human calls to always use 3-digits precision (#16469)
Fixes #16435
2021-07-07 21:13:08 +02:00
Claire
1381e0e1d9
Fix pop-in player display when poster has long username or handle (#16468) 2021-07-05 19:16:06 +02:00
Claire
49219508bc
Fix anonymous access to outbox not being cached by the reverse proxy (#16458)
* Fix anonymous access to outbox not being cached by the reverse proxy

Up until now, anonymous access to outbox was marked as public, but with a
0 duration for caching, which means remote proxies would only serve from cache
when the server was completely overwhelmed.

Changed that cache duration to one minute, so that repeated anonymous access
to one account's outbox can be appropriately cached.

Also added `Signature` to the `Vary` header in case a page is requested, so
that authenticated fetches are never served from cache (which only contains
public toots).

* Remove Vary: Accept header from webfinger controller

Indeed, we have stopped returning xrd, and only ever return jrd, so the
Accept request header does not matter anymore.

* Cache negative webfinger hits for 3 minutes
2021-07-03 21:13:47 +02:00
Eugen Rochko
38b3419950
Fix not being able to suspend accounts that already have a canonical e-mail block (#16455) 2021-07-02 12:03:15 +02:00
David Sterry
7c27ccb8d8
Fix #16407 (#16432) 2021-06-27 22:31:28 +02:00
Claire
9e5a1daa9b
Fix styling of boost button in media modal not reflecting ability to boost (#16387) 2021-06-25 04:45:30 +02:00
Claire
e592e47e19
Fix WebUI crash when a toot with a playing video gets deleted (#16384)
* Fix WebUI crash when a toot with a playing video gets deleted

* Fix pop-up player not closing the moment a status is deleted
2021-06-25 04:45:17 +02:00