1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-26 10:36:34 +00:00
Commit graph

384 commits

Author SHA1 Message Date
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json () 2024-10-02 09:23:44 +00:00
Eugen Rochko aaab6b7adc
Add reblogs and favourites counts to statuses in ActivityPub () 2024-09-23 13:14:15 +00:00
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code () 2024-09-18 09:27:43 +00:00
Tim Rogers 2ce99c51dd
Fixed Rails route covering %40-encoded profile URL paths to not 404 () 2024-07-30 08:18:00 +00:00
Renaud Chaput f587ff643f
Grouped Notifications UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-07-18 14:36:09 +00:00
Matt Jankowski 6c37529723
Use module: :auth to wrap devise_for routes config () 2024-07-11 11:13:55 +00:00
Matt Jankowski f47d761e12
Remove unneeded controller option in routes () 2024-07-09 07:34:19 +00:00
Matt Jankowski 7a30c68953
Use scope module: ... block for .well-known routes () 2024-07-09 07:34:15 +00:00
Eugen Rochko 20fa9ce484
Add timeline of public posts about a trending link in web UI () 2024-07-01 14:45:48 +00:00
Emelia Smith 116f01ec7d
Implement RFC 8414 for OAuth 2.0 server metadata () 2024-05-06 13:17:56 +00:00
Matt Jankowski 933189887b
Fix Style/StringLiterals cop () 2024-04-19 20:33:00 +00:00
Claire 44bf7b8128
Add notifications of severed relationships () 2024-03-20 15:37:21 +00:00
Matt Jankowski 049d9171eb
Use with_options for shared option in accounts#show routing block () 2024-03-14 10:03:38 +00:00
Matt Jankowski 79e7590578
Clean up activitypub module route scope near instance actor () 2024-03-14 09:18:46 +00:00
Matt Jankowski 65e8349980
Clean up activitypub module route scope near collections/boxes () 2024-03-14 09:18:41 +00:00
Eugen Rochko c10bbf5fe3
Add notification policies and notification requests in web UI () 2024-03-11 15:02:21 +00:00
Claire 554e2a019e
Add sidekiq_unique_jobs:delete_all_locks task and disable sidekiq-unique-jobs UI by default () 2024-02-14 12:12:13 +00:00
Matt Jankowski ce0d134147
Add redirect_with_vary to AllowedMethods for Style/FormatStringToken cop () 2024-01-30 15:39:01 +00:00
Eugen Rochko b19ae521b7
Add confirmation when redirecting logged-out requests to permalink ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 10:49:19 +00:00
Matt Jankowski e5717c9bc6
Fix Style/Lambda cop () 2023-12-15 14:34:24 +00:00
Eugen Rochko d67bd44ca1
Add profile setup to onboarding in web UI () 2023-11-15 11:13:53 +00:00
Claire 07a4059901
Add support for invite codes in the registration API () 2023-11-13 13:27:00 +00:00
Claire 23e32a4b30
Fix format-dependent redirects being cached regardless of requested format () 2023-11-08 10:31:05 +00:00
Matt Jankowski d6f50839e1
Fix RSpec/SpecFilePathFormat cops () 2023-11-06 16:25:40 +00:00
Claire bbf46cc418
Fix error and incorrect URLs in /api/v1/accounts/:id/featured_tags for remote accounts () 2023-10-27 08:35:21 +00:00
Nick Schonning 85db392464
Autofix Rubocop cops for config/ () 2023-10-03 15:24:12 +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
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
Eugen Rochko 54a10523e2
Change labels of live feeds tabs in web UI () 2023-07-03 22:57:18 +02:00
Matt Jankowski f8bd581126
Remove unused routes () 2023-07-01 21:48:53 +02:00
Eugen Rochko 6637ef7852
Add unsubscribe link to e-mails () 2023-06-12 14:22:46 +02:00
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-06-06 14:50:51 +02:00
Claire bec6a1cad4
Add hCaptcha support () 2023-05-16 23:27:35 +02:00
Matt Jankowski 41eb49b984
Extract large route namespace blocks to separate files () 2023-05-02 15:41:20 +02:00
Claire 32a030dd74
Rewrite import feature () 2023-05-02 12:08:48 +02:00
João Pedro Marques 8f6e290c7a
Adds new follower/following routes () 2023-04-30 09:01:42 +02:00
Robert R George 4db8230194
Add trend management to admin API () 2023-04-18 11:33:30 +02:00
Matt Jankowski 7bef11630d
Remove references to non-existent actions () 2023-03-20 20:03:44 +01:00
Eugen Rochko 75e5a6e437
Change user backups to use expiring URLs for download when possible () 2023-03-16 22:46:52 +01:00
Christian Schmidt bd047acc35
Replace Status#translatable? with language matrix in separate endpoint () 2023-03-16 11:07:24 +01:00
Claire 59b24c3688
Fix /api/v1/streaming sub-paths not being redirected () 2023-03-06 17:44:55 +01:00
Thijs Kinkhorst d15a9df6fe
Fix paths with url-encoded @ to redirect to the correct path () 2023-02-14 19:05:57 +01:00
Connor Shea 30e895299c
Add listing of followed hashtags ()
* Add followed_tags route.

This at least gets us to the point where the page can actually be
rendered, although it doesn't display any hashtags (yet?).

Attempting to implement .

* Fix minor issues.

* I've got the followed tags data partially working

But the Hashtag component errors for some reason. Something about the
value of the history attribute being invalid.

* Fix a mistake in the code

* Minor change.

* Get the followed hashtags list fully working.

Still need to add the Follow/Unfollow buttons, though.

* Resolve JS linter issues.

* Add pagination logic to followed tags list view.

However, it currently loads further pages immediately on page load, so
that's not ideal. Need to figure that one out.

* Appease the linter.

* Apply suggestions from code review

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

* Fixes and resolve some other feedback.

* Use set/update instead of setIn/updateIn.

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-01-18 16:44:33 +01:00
Claire 343e1fe8e9
Add confirmation screen when handling reports ()
* Add confirmation screen on moderation actions

* Add flash notice when a report has been processed

* Refactor tests

* Add tests
2023-01-18 16:40:09 +01:00
lenore gilbert c373148b3d
Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes ()
* Allow import/export of instance-level domain blocks/allows ()

* Allow import/export of instance-level domain blocks/allows.
Fixes 

* Pacify circleci

* Address simple code review feedback

* Add headers to exported CSV

* Extract common import/export functionality to
AdminExportControllerConcern

* Add additional fields to instance-blocked domain export

* Address review feedback

* Split instance domain block/allow import/export into separate pages/controllers

* Address code review feedback

* Pacify DeepSource

* Work around Paperclip::HasAttachmentFile for Rails 6

* Fix deprecated API warning in export tests

* Remove after_commit workaround

(cherry picked from commit 94e98864e3)

* Add confirmation page when importing blocked domains ()

* Move glitch-soc-specific strings to glitch-soc-specific locale files

* Add confirmation page when importing blocked domains

(cherry picked from commit b91196f4b7)

* Fix authorization check in domain blocks controller

(cherry picked from commit 7527937758)

* Fix error strings for domain blocks and email-domain blocks

Corrected issue with non-error message used for Mastodon:NotPermittedError in Domain Blocks
Corrected issue Domain Blocks using the Email Domain Blocks message on ActionContoller::ParameterMissing
Corrected issue with Email Domain Blocks using the not_permitted string from "custom emojii's"

* Ran i18n-tasks normalize to address test failure

* Removed unused admin.export_domain_blocks.not_permitted string

Removing unused string as indicated by Check i18n

* Fix tests

(cherry picked from commit 9094c2f52c)

* Fix domain block export not exporting blocks with only media rejection

(cherry picked from commit 26ff48ee48)

* Fix various issues with domain block import

- stop using Paperclip for processing domain allow/block imports
- stop leaving temporary files
- better error handling
- assume CSV files are UTF-8-encoded

(cherry picked from commit cad824d8f501b95377e4f0a957e5a00d517a1902)

Co-authored-by: Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-11-17 11:05:09 +01:00
Eugen Rochko 21fd25a269
Fix rate limiting for paths with formats () 2022-11-14 20:26:31 +01:00
trwnh b59ce0a60f
Move V2 Filter methods under /api/v2 prefix ()
* Move V2 Filter methods under /api/v2 prefix

* move over the tests too
2022-11-14 08:34:07 +01:00
Claire dd7176a4b5
Fix redirects from /web/ discarding everything after a dot ()
Fixes 
2022-11-09 01:30:33 +01:00
Claire d70303bba6
Add server-side route so that legacy /web/statuses/:id URLs keep being supported () 2022-11-08 17:29:14 +01:00
Claire b8f6f03956
Fix /users/:username/statuses/:id leading to a soft 404 in web app () 2022-11-04 13:19:57 +01:00