Eugen Rochko
e645ae9561
Change admin accounts default sort to most recent ( #8813 )
6 years ago
Eugen Rochko
f0fff3eb10
Support min_id-based pagination in REST API ( #8736 )
* Allow min_id pagination in Feed#get
* Add min_id pagination to home and list timeline APIs
* Add min_id pagination to account statuses, public and tag APIs
* Remove unused stub in reports API
* Use min_id pagination in notifications, favourites, and fix order
* Fix HomeFeed#from_database not using paginate_by_id
6 years ago
ふぁぼ原
f7a6f9489d
Add a new preference to always hide all media ( #8569 )
6 years ago
Yamagishi Kazutoshi
86f138ed16
Cache instance info ( #8765 )
6 years ago
Matt Sweetman
1889526e23
Add user preference to always expand toots marked with content warnings ( #8762 )
6 years ago
luzpaz
40dd19be37
Misc. typos ( #8694 )
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
6 years ago
Thibaut Girka
f1214f00d9
Do not clear local storage on log out
6 years ago
Eugen Rochko
2288d50a7b
Add force_login option to OAuth authorize page ( #8655 )
* Add force_login option to OAuth authorize page
For when a user needs to sign into an app from multiple accounts
on the same server
* When logging out from modal header, redirect back after re-login
6 years ago
Sorin Davidoi
10680f93e7
feat(auth/session_controller): Send Clear-Site-Data when logging out ( #8627 )
Will clear the browser's cache, cookies and storage.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data
https://w3c.github.io/webappsec-clear-site-data/
6 years ago
Thibaut Girka
7ea4c793d6
Allow to show a specific status in the admin interface
6 years ago
Eugen Rochko
075e162319
Whitelist report notification param in Settings::NotificationsController ( #8560 )
Bug in #8559
6 years ago
Eugen Rochko
c593d6df9c
Add preference for report notification e-mails, skip for duplicates ( #8559 )
If an unresolved report for the same target account already exists,
no new notification is generated
6 years ago
ThibG
0b62585748
Self-notify on accepting follow requests ( #8541 )
6 years ago
Renato "Lond" Cerqueira
11658d8653
Add animate custom emoji param to embed pages ( #8507 )
* Add animate custom emoji param to embed pages
* Rename param, use it for avatars and gifs
* Fix issues pointed by codeclimate and breaking test
* Ignore brakeman warning
6 years ago
Jakub Mendyk
f3a12ddfd0
Make Api::V1::MutesController paginate properly ( #8472 )
Fixes #8463
6 years ago
Quint Guvernator
da13fa5021
Fix low-hanging rubocop gripes ( #8458 )
* rubocop: quit being so picky
* rubocop: miscellany
* rubocop: prefer present to blank
6 years ago
Eugen Rochko
a2cabf3f4a
Add admin custom CSS setting ( #8399 )
Fix #3894
6 years ago
Eugen Rochko
2f34b747b3
Allow mods to disable login, improve message when login disabled ( #8329 )
* Allow moderators to disable/enable login
* Instead of rejecting login, show forbidden error when login disabled
Avoid confusion because when login is rejected, the message is that
the account is not activated, which is wrong.
* Fix tests
6 years ago
Eugen Rochko
9d58daac6c
Fix regression when suspending not from report ( #8400 )
Regression from #8353
6 years ago
Jakub Mendyk
6cb3514d64
Add ability to change an instance default theme from the administration panel ( #7092 ) ( #8381 )
* Add default_settings class method to ScopedSettings
ScopedSettings was extended to use value of unscoped setting instead of
only using defaults set in config/settings.yml for selected settings.
This adds possibility for admins to set default values of users' settings,
for example default theme (as requested in #7092 ).
* Add ability to change an instance default theme
Closes #7092
6 years ago
Thibaut Girka
628fca50e2
Override CSP setting in the embed controller to allow frames
6 years ago
Eugen Rochko
2374a00c10
Add confirmation step to account suspensions ( #8353 )
* Add confirmation page for suspensions
* Suspension confirmation closes reports, linked from report UI
* Fix tests
6 years ago
ThibG
b34d6238cb
Add API endpoint to list featured accounts ( fixes #8315 ) ( #8317 )
6 years ago
abcang
9e75aa30cd
Unuse ActiveRecord::Base#cache_key ( #8185 )
* Unuse ActiveRecord::Base#cache_key
* Enable cache_versioning
* Call cache_collection
6 years ago
Eugen Rochko
9dd5639f90
Add admin function to deactivate all invites ( #8279 )
Fix #8261
6 years ago
Eugen Rochko
78fa926ed5
Add remote interaction dialog for toots ( #8202 )
* Add remote interaction dialog for toots
* Change AuthorizeFollow into AuthorizeInteraction, support statuses
* Update brakeman.ignore
* Adjust how interaction buttons are display on public pages
* Fix tests
6 years ago
ThibG
c98681c358
Do not error out when performing admin actions on no statuses ( #8220 )
Fixes the other issue with #8168
6 years ago
Thibaut Girka
741fb32bef
Fix statuses batch checkboxes in admin panel ( fixes #411 )
6 years ago
ThibG
44680c46ed
Ensure single user is a local user ( fixes #8154 ) ( #8157 )
6 years ago
Thibaut Girka
03afc365d5
Introduce OAuth scopes for bookmarks
6 years ago
Thibaut Girka
90b492143d
Introduce OAuth scopes for bookmarks
6 years ago
Eugen Rochko
0dcc1950d1
Update /terms and /about/more to use public layout ( #8142 )
6 years ago
Eugen Rochko
f2404de871
Public profile endorsements (accounts picked by profile owner) ( #8146 )
6 years ago
Yamagishi Kazutoshi
4da03a298a
Do not show pinned toots when min_id is set ( #8111 )
6 years ago
Eugen Rochko
cc56f2230a
Add separate setting for sidebar text (site_short_description) ( #8107 )
* Add separate setting for sidebar text (site_short_description)
* Fix tests
6 years ago
Eugen Rochko
60df87f6f0
Compensate for scrollbar disappearing when media modal visible ( #8100 )
* Compensate for scrollbar disappearing when media modal visible
Make auth pages backgrounds lighter
* Fix typo
6 years ago
Eugen Rochko
79a1f667c5
Order invites by recent first ( #8091 )
Fix #8085
6 years ago
Eugen Rochko
bb71538bb5
Redesign public profiles and toots ( #8068 )
6 years ago
Eugen Rochko
0d13e30ad2
Display trending hashtags on admin dashboard ( #8038 )
6 years ago
Eugen Rochko
04587116bd
Fix typo in Admin::DashboardController#index
6 years ago
Eugen Rochko
2354b10eb5
Add admin dashboard ( #8029 )
6 years ago
Eugen Rochko
e55dce3176
Add federation relay support ( #7998 )
* Add federation relay support
* Add admin UI for managing relays
* Include actor on relay-related activities
* Fix i18n
6 years ago
mayaeh
401559c376
Fix whole-word selection and i18n: Add Japanese translation for Whole-word ( #8004 )
* Add Japanese translation for "Whole word" and add it's description.
* Fix to enable "Whole-word" selection.
6 years ago
Thibaut Girka
402da8065c
Migrate glitch-soc keyword mutes to Mastodon's
Completely remove glitch-soc's Keyword Mutes, migrate
existing database records to CustomFilters.
Handling of client-side filters is still not implemented
in the glitch-soc front-end.
6 years ago
Thibaut Girka
ee41947e9d
Set appropriate assets pack for the keyword filter page
6 years ago
ThibG
1ca4e51eb3
Add option to not consider word boundaries when processing keyword filtering ( #7975 )
* Add option to not consider word boundaries when filtering phrases
* Add a few tests for keyword/phrase filtering
6 years ago
Eugen Rochko
6b9e03e002
Add API method to remove a suggestion ( #7978 )
DELETE /api/v1/suggestions/:account_id
When blocking, remove suggestion from both sides. Muting not affected,
since muting is supposed to be invisible to the target.
6 years ago
Eugen Rochko
9804ec3a6d
Fix missing irreversible in filters API, expires_in param ( #7976 )
6 years ago
Eugen Rochko
f89c595ea0
Add admin setting to enable OG previews for sensitive media ( #7962 )
6 years ago
Eugen Rochko
baff4a7ce0
If signed in, redirect autofollow invite to profile page ( #7956 )
Fix #7944
6 years ago