Commit graph

7222 commits

Author SHA1 Message Date
Sebastian Jambor
ed520d497c set cors header 2023-04-17 17:54:35 +02:00
Sebastian Jambor
22cdacd87a use faraday for json ld proxy again to allow for uris with queries 2023-04-17 17:54:35 +02:00
Sebastian Jambor
57f7eb4cd8 add sender to activity log json 2023-04-17 17:54:35 +02:00
Sebastian Jambor
db42b86def replace faraday by net/http to set timeouts 2023-04-17 17:54:35 +02:00
Sebastian Jambor
40f8dbe98f make json-ld endpoint non-blocking 2023-04-17 17:54:35 +02:00
Sebastian Jambor
864d3f4c1b make activity_log endpoint non-blocking 2023-04-17 17:54:35 +02:00
Sebastian Jambor
d31f2727d7 add empty placeholder for activity log 2023-04-17 17:54:35 +02:00
Sebastian Jambor
b933fc1eb6 some style adjustments 2023-04-17 17:54:35 +02:00
Sebastian Jambor
d484826923 links in activity log open explorer 2023-04-17 17:54:35 +02:00
Sebastian Jambor
cc17641f51 add link between activity log and explorer 2023-04-17 17:54:35 +02:00
Sebastian Jambor
246d335df9 starting to add explorer 2023-04-17 17:54:35 +02:00
Sebastian Jambor
5a49d96ebf add json ld route 2023-04-17 17:54:15 +02:00
Sebastian Jambor
b75dde9c84 remove unused index route 2023-04-17 17:54:15 +02:00
Sebastian Jambor
26f3b35cc7 move event source to top level
this way, activities are always logged while the app is open, and the
activity log survives local navigations
2023-04-17 17:54:15 +02:00
Sebastian Jambor
4c6949ec46 some rewording of signup message 2023-04-17 17:54:15 +02:00
Sebastian Jambor
1ad6ed66d3 remove email and password section from account preferences 2023-04-17 17:54:15 +02:00
Sebastian Jambor
acf8476c4f allow account redirect without specifying password 2023-04-17 17:53:50 +02:00
Sebastian Jambor
45826c7ad0 add description to activity log page 2023-04-17 17:53:13 +02:00
Sebastian Jambor
60ab6359b7 fix issue in activity logger 2023-04-17 17:53:13 +02:00
Sebastian Jambor
b2e0653ccf add hotkey to go to activity log, and hotkey to copy logs 2023-04-17 17:53:13 +02:00
Sebastian Jambor
18bc2ec7cd increase number of syllables for last name 2023-04-17 17:53:13 +02:00
Sebastian Jambor
d8962d2468 scheduler to delete old accounts 2023-04-17 17:53:13 +02:00
Sebastian Jambor
a3b8fa244a allow multiple clients for the same id 2023-04-17 17:53:13 +02:00
Sebastian Jambor
4bed6085a6 first explanation on sign-up page 2023-04-17 17:53:13 +02:00
Sebastian Jambor
9ae47dbc18 allow shorter time for sign up 2023-04-17 17:53:13 +02:00
Sebastian Jambor
3c2ae00cb7 redirect to sign-up after logging out 2023-04-17 17:53:13 +02:00
Sebastian Jambor
ff20304f75 when not logged in, / redirects to sign-up; when logged-in, / redirects to activity_log 2023-04-17 17:53:13 +02:00
Sebastian Jambor
66dd1c0326 use resdis configuration for activity log 2023-04-17 17:53:13 +02:00
Sebastian Jambor
71df2a12e1 one-click sign-up with autogenerated usernames 2023-04-17 17:53:13 +02:00
Sebastian Jambor
b8e6a01833 use public package 2023-04-17 17:51:00 +02:00
Sebastian Jambor
6e9842a257 filter keep-alives 2023-04-17 17:50:36 +02:00
Sebastian Jambor
6ea9072f5b fix timestamp 2023-04-17 17:50:35 +02:00
Sebastian Jambor
e13a05cb83 integrate audience helper 2023-04-17 17:50:35 +02:00
Sebastian Jambor
14b89d1e71 handle duplicates 2023-04-17 17:50:35 +02:00
Sebastian Jambor
60baa74a56 handle followers 2023-04-17 17:50:35 +02:00
Sebastian Jambor
509b04c2a0 handle audicence fields 2023-04-17 17:50:35 +02:00
Sebastian Jambor
c8ea90f6f1 extending functionality of audience helper 2023-04-17 17:50:35 +02:00
Sebastian Jambor
b0a0f57e82 fix keep-alive 2023-04-17 17:50:35 +02:00
Sebastian Jambor
7222173cc6 starting a test for audience helper 2023-04-17 17:50:35 +02:00
Sebastian Jambor
cabe280aca remove mode settings 2023-04-17 17:50:35 +02:00
Sebastian Jambor
905ee66fa6 convert to hooks 2023-04-17 17:50:35 +02:00
Sebastian Jambor
4e004474d3 extract dummy data 2023-04-17 17:50:35 +02:00
Sebastian Jambor
ce509533f8 starting column header 2023-04-17 17:50:35 +02:00
Sebastian Jambor
b3324e2c7a some cleanup 2023-04-17 17:50:35 +02:00
Sebastian Jambor
e0378acc14 add link to main column 2023-04-17 17:50:35 +02:00
Sebastian Jambor
f696eb7bfb enable dark mode 2023-04-17 17:50:35 +02:00
Sebastian Jambor
a2c3a94ff3 use external library 2023-04-17 17:50:35 +02:00
Sebastian Jambor
4f6b7781c4 add timestamps 2023-04-17 17:50:35 +02:00
Sebastian Jambor
92ba53f701 starting with some styling 2023-04-17 17:50:35 +02:00
Sebastian Jambor
e97ac728d4 removing debug output 2023-04-17 17:50:35 +02:00
Sebastian Jambor
d81f497970 log outbound events as well 2023-04-17 17:50:35 +02:00
Sebastian Jambor
ddcfbc4745 showing inbound activities in frontend via redis pub/sub 2023-04-17 17:50:35 +02:00
Sebastian Jambor
e17b6aa162 prototyping server sent events 2023-04-17 17:50:35 +02:00
Sebastian Jambor
d7f4dc5fd2 adding activity log page 2023-04-17 17:50:35 +02:00
Sebastian Jambor
4f371a6306 log activity pub messages to error log 2023-04-17 17:49:52 +02:00
Claire
b9f271364e Fix unescaped user input in LDAP query (#24379)
Fix CVE-2023-28853
2023-04-04 12:41:27 +02:00
Claire
51572ac615 Fix invalid/expired invites being processed on sign-up (#24337) 2023-04-04 12:41:27 +02:00
Claire
ae64c5b7ec Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support (#24200) 2023-04-04 12:41:27 +02:00
Claire
6a7b91a038 Add warning for object storage misconfiguration (#24137) 2023-03-16 22:48:42 +01:00
Eugen Rochko
6db76875fd Change user backups to use expiring URLs for download when possible (#24136) 2023-03-16 22:48:42 +01:00
Claire
8c4ea7d715 Fix misleading error code when receiving invalid WebAuthn credentials (#23568) 2023-03-16 11:45:53 +01:00
Claire
cc65f32714 Fix incorrect post links in strikes when the account is remote (#23611) 2023-03-16 11:45:33 +01:00
Claire
0363064501 Fix dashboard crash on ElasticSearch server error (#23751) 2023-03-16 11:45:01 +01:00
Claire
6962d117b7 Change ActivityPub::DeliveryWorker retries to be spread out more (#21956) 2023-03-13 18:49:50 +01:00
Terry Garcia
a54bd84690 Switched bookmark and favourites around (#23701) 2023-03-13 18:49:27 +01:00
Claire
68af19c328 Change auto-deletion throttling constants to better scale with server size (#23320) 2023-03-13 18:49:01 +01:00
Tim Lucas
a133570b26 Increase contrast of upload progress background (#23836) 2023-03-13 18:48:21 +01:00
PauloVilarinho
9972eb41ae add modal message when editing toot (#23936)
Co-authored-by: PauloVilarinho <paulotarsobranco@hotmail.com>
2023-03-13 18:48:06 +01:00
Claire
cec59417d7 Add mail headers to avoid auto-replies (#23597) 2023-03-13 18:47:28 +01:00
Claire
9377c4a87c Add lang tag to native language names in language picker (#23749) 2023-03-13 18:47:14 +01:00
Christian Schmidt
3f2e31800e Unescape HTML entities (#24019) 2023-03-13 18:45:42 +01:00
Christian Schmidt
92a26638eb Do not strip tags from Setting.site_short_description (#23975) 2023-03-13 18:44:38 +01:00
Rodion Borisov
14bcd14289 Center the text itself in upload area (#24029) 2023-03-13 18:43:54 +01:00
Christian Schmidt
37a28ba203 Do not leave Mastodon when clicking “Back” (#23953) 2023-03-13 18:42:29 +01:00
Claire
4cec3ad9b8 Fix original account being unfollowed on migration before the follow request could be sent (#21957) 2023-03-13 18:41:40 +01:00
Claire
675c24a34e Fix unconfirmed accounts being registered as active users (#23803) 2023-03-13 18:40:55 +01:00
Claire
63532d9883 Fix error when displaying post history of a trendable post in the admin interface (#23574) 2023-03-13 18:39:51 +01:00
Claire
aff3f850de Fix server error when failing to follow back followers from /relationships (#23787) 2023-03-13 18:39:35 +01:00
Claire
b52746e64b Fix duplicate “Publish” button on mobile (#23804) 2023-03-13 18:38:18 +01:00
Claire
69564db447 Fix inefficiency when searching accounts per username in admin interface (#23801) 2023-03-13 18:38:01 +01:00
Botao Wang
00208b23b1 Fix sidebar cut-off on small screens in admin UI (#23764) 2023-03-13 18:37:40 +01:00
Claire
900790184a Fix focus point of already-attached media not saving after edit (#23566) 2023-03-13 18:37:26 +01:00
Dean Bassett
11d6663025 Fix case-sensitive check for previously used hashtags (#23526) 2023-03-13 18:37:13 +01:00
Claire
0dc342df81 Fix “Remove all followers from the selected domains” being more destructive than it claims (#23805) 2023-03-13 18:36:15 +01:00
Claire
0c9eac80d8
Fix unbounded recursion in post discovery (#23506)
* Add a limit to how many posts can get fetched as a result of a single request

* Add tests

* Always pass `request_id` when processing `Announce` activities

---------

Co-authored-by: nametoolong <nametoolong@users.noreply.github.com>
2023-02-10 22:16:37 +01:00
Claire
bae17ebe5e
Fix attached media uploads not being cleared when replying to a post (#23504) 2023-02-10 22:03:35 +01:00
Eugen Rochko
71ae17e8f5
New Crowdin updates (#23413)
* New translations en.json (Esperanto)

* New translations en.yml (Slovak)

* New translations en.json (Burmese)

* New translations en.yml (Korean)

* New translations en.json (Burmese)

* New translations en.json (Burmese)

* New translations en.yml (Finnish)

* New translations simple_form.en.yml (Finnish)

* New translations en.json (Burmese)

* New translations en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations en.json (Burmese)

* New translations activerecord.en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations activerecord.en.yml (Burmese)

* New translations en.json (German)

* New translations simple_form.en.yml (German)

* New translations en.json (Catalan)

* New translations en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations en.yml (Russian)

* New translations doorkeeper.en.yml (Russian)

* New translations simple_form.en.yml (Russian)

* New translations en.json (Russian)

* New translations en.json (Belarusian)

* New translations en.json (Belarusian)

* New translations en.json (Esperanto)

* New translations en.yml (Esperanto)

* New translations doorkeeper.en.yml (Korean)

* New translations en.json (Burmese)

* New translations en.yml (Slovak)

* New translations en.yml (Belarusian)

* New translations simple_form.en.yml (Belarusian)

* New translations simple_form.en.yml (Esperanto)

* New translations doorkeeper.en.yml (Esperanto)

* New translations activerecord.en.yml (Esperanto)

* New translations devise.en.yml (Esperanto)

* New translations en.yml (English, United Kingdom)

* New translations en.yml (Asturian)

* New translations simple_form.en.yml (Asturian)

* New translations en.yml (Asturian)

* New translations doorkeeper.en.yml (Asturian)

* New translations en.json (Asturian)

* New translations en.yml (Asturian)

* New translations en.json (Asturian)

* New translations en.json (Korean)

* New translations en.yml (Korean)

* New translations en.json (Korean)

* New translations en.yml (Korean)

* New translations devise.en.yml (Korean)

* New translations simple_form.en.yml (Korean)

* New translations en.json (Welsh)

* New translations en.yml (Welsh)

* New translations simple_form.en.yml (Welsh)

* New translations activerecord.en.yml (Welsh)

* New translations devise.en.yml (Welsh)

* New translations doorkeeper.en.yml (Welsh)

* New translations en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations en.json (Silesian)

* New translations en.yml (Occitan)

* New translations en.yml (Turkish)

* New translations simple_form.en.yml (Turkish)

* New translations en.json (Occitan)

* New translations activerecord.en.yml (Turkish)

* New translations doorkeeper.en.yml (Turkish)

* Normalize

* Remove unused locales

---------

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2023-02-11 05:42:08 +09:00
Claire
a9c220242b
Fix admin-set follow recommandations being case-sensitive (#23500)
Fixes #23472
2023-02-10 11:14:58 +01:00
Claire
67de888bad
Fix server status URL being a required server setting (#23499) 2023-02-10 10:20:43 +01:00
Claire
832595d1e7
Remove posts count and last posts from ActivityPub representation of hashtag collections (#23460) 2023-02-08 17:57:25 +01:00
Nick Schonning
0592937264
Apply Rubocop Rails/WhereNot (#23448)
* Apply Rubocop Rails/WhereNot

* Update spec for where.not
2023-02-08 10:39:57 +01:00
Nick Schonning
0d1f192c54
Apply Rubocop Performance/BlockGivenWithExplicitBlock (#23441)
* Apply Rubocop Performance/BlockGivenWithExplicitBlock

* Unprefix used block parameter
2023-02-08 10:36:23 +01:00
Nick Schonning
26ac2447b4
Apply Rubocop Style/EmptyElse (#23449) 2023-02-08 07:08:39 +01:00
Nick Schonning
f68bb52556
Apply Rubocop Style/NegatedIfElseCondition (#23451) 2023-02-08 07:07:36 +01:00
Nick Schonning
8c1b65c7dd
Apply Rubocop Style/RedundantAssignment (#23452) 2023-02-08 07:06:50 +01:00
Nick Schonning
d3f59f52c3
Apply Rubocop Performance/StringReplacement (#23445) 2023-02-08 03:21:21 +01:00
Nick Schonning
203739dd3a
Apply Rubocop Performance/StringIdentifierArgument (#23444) 2023-02-08 02:36:20 +01:00
Nick Schonning
2e652aa81c
Apply Rubocop Performance/RedundantSplitRegexpArgument (#23443)
* Apply Rubocop Performance/RedundantSplitRegexpArgument

* Update app/controllers/concerns/signature_verification.rb
2023-02-08 02:25:20 +01:00
Nick Schonning
ef8988aef2
Apply Rubocop Performance/DoubleStartEndWith (#23442) 2023-02-08 10:06:48 +09:00
Nick Schonning
cec005068f
Apply Rubocop Performance/RedundantBlockCall (#23440) 2023-02-08 00:58:18 +01:00