Commit Graph

1222 Commits (a75c86a89e577236e686e376c1d41aba69e925ff)

Author SHA1 Message Date
Bramus! e617ee7fd9
Add user profile OG tag on status page ()
Rose 4f15fd0ba1
Fix style for hashes ()
* Fix style for hashes

Make the style for hashes consistent.

* New style

More consistency
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>
Claire 3d3bd344cb
Fix announcement dates not being validated client-side ()
Claire cf77d938f8
Fix saving server registration settings redirecting to branding settings ()
Eugen Rochko d26c1cb2fe
Fix missing "not recommended" label on "Allow trends without review" ()
Eugen Rochko e98833748e
Fix being able to spoof link verification ()
- Change verification to happen in `default` queue
- Change verification worker to only be queued if there's something to do
- Add `link` tags from metadata fields to page header of profiles
Claire 9f4930ec11
Add password autocomplete hints ()
Fixes 

Our password autocomplete hints were “off” but that does not prevent current
browsers from trying to autocomplete them anyway, so use `current-password` and
`new-password` so they don't put a newly-generated password in a password
confirmation prompt, or the old password for a password renewal prompt.
Claire e1227457f1
Fix links to the Web UI in notifications ()
Most of the old routes are broken because of the /web removal.
Chris Rose a70e2cd649
Tag the OTP field with autocomplete for password managers ()
This is modeled on , and based on the attribute values documented
in https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element?language=objc
Jeremy Kescher 02a34252ba
Add null check on application in dispute viewer ()
rcombs e53fc34e9a
Set autocomplete attr for email field on signup page ()
The email address will be used as the "username" for sign-in purposes, so it's the value that should be stored in password managers. We can inform the password manager of this by setting `autocomplete="email"`. Without this hint, password managers may instead store the `username` field, which isn't valid for sign-in (this happens with iCloud Keychain in Safari, for instance).
SJang1 053dac2afa
Remove meta tag for official iOS app ()
Claire a529d6d93e
Fix invites ()
Fixes 

Fix regression from 
Eugen Rochko ad83e64795
Fix sidebar and tabs on settings on small screens in admin UI ()
Eugen Rochko f910f0dc92
Fix wrong host being used for custom.css when asset host configured ()
Claire d9d722d74b
Change admin announcement edition interface to use datetime-local ()
* Change admin announcement edition interface to use datetime-local

* Dynamically set announcement stop date as required if start date is set, set minimum date for stop date

* Change `all_day` to not be bound to presence of time-range

* Add pattern and placeholder as minimal fallback for browsers not supporting datetime-local

* Display datetime-local inputs as local time

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Eugen Rochko f8ca3bb2a1
Add ability to view previous edits of a status in admin UI ()
* Add ability to view previous edits of a status in admin UI

* Change moderator access to posts to be controlled by a separate policy
Eugen Rochko 8f07381856
Revert "Remove preference to aggregate reblogs in home/list feeds ()" ()
This reverts commit af396fa35f.
Eugen Rochko 1fd6460b02
Change floating action button to be a button in header in web UI ()
- Fix theme color
- Fix elephant being too big on error page on small screens
- Remove "Follows and Followers" link from navigation panel
Eugen Rochko 7c152acb2c
Change settings area to be separated into categories in admin UI ()
And update all descriptions
Takeshi Umeda 7777524145
Fix featured tag display name in setting ()
Eugen Rochko 839f893168
Change public accounts pages to mount the web UI ()
* Change public accounts pages to mount the web UI

* Fix handling of remote usernames in routes

- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict

* Fix missing `multiColumn` prop

* Fix failing test

* Use `discoverable` attribute to control indexing directives

* Fix `<ColumnLoading />` not using `multiColumn`

* Add `noindex` to accounts in REST API

* Change noindex directive to not be rendered by default before a route is mounted

* Add loading indicator for detailed status in web UI

* Fix missing indicator appearing while account is loading in web UI
Eugen Rochko dd5d99f83f
Fix error on migration page ()
Eugen Rochko 1bd00036c2
Change about page to be mounted in the web UI ()
Eugen Rochko b04633a961
Add image processing and generate blurhash for server thumbnail ()
Remove separate server hero setting
Eugen Rochko 45ebdb72ca
Add support for language preferences for trending statuses and links ()
Eugen Rochko a2ba011326
Change privacy policy to be rendered in web UI, add REST API ()
Source string no longer localized, Markdown instead of raw HTML
Eugen Rochko 93f340a4bf
Remove setting that disables account deletes ()
Eugen Rochko 62782babd0
Change public statuses pages to mount the web UI ()
Eugen Rochko 58d5b28cb0
Remove previous landing page ()
Eugen Rochko 5fd46dddd7
Remove unnecessary sections from welcome e-mail ()
Eugen Rochko 679274465b
Add server rules to sign-up flow ()
Eugen Rochko d2528b26b6
Add server banner to web app, add `GET /api/v2/instance` to REST API ()
Eugen Rochko 02ba9cfa35
Remove code for rendering public and hashtag timelines outside the web UI ()
Eugen Rochko 36f4c32a38
Change path of privacy policy page ()
Eugen Rochko 43b5d5e38d
Add logged-out access to the web UI ()
Eugen Rochko 5c9abdeff1
Add retention policy for cached content and media ()
Eugen Rochko 546672e292
Change "Allow trends without prior review" setting to include statuses ()
* Change "Allow trends without prior review" setting to include posts

* Fix i18n-tasks
Eugen Rochko 1d84cbeaab
Fix "select all matching items" being offered when all items are on the page ()
Eugen Rochko af396fa35f
Remove preference to aggregate reblogs in home/list feeds ()
Eugen Rochko 0b3e4fd5de
Remove digest e-mails ()
* Remove digest e-mails

* Remove digest-related code
Eugen Rochko 5b0e8cc92b
Add ability to select all accounts matching search for batch actions ()
Eugen Rochko d696f729f1
Add meta tag for official iOS app ()
Jeong Arm 42ff4dce41
Use type="color" on badge color input field ()
This informs browser to use interactive color picker
Claire 50487db122
Add ability to filter individual posts ()
* Add database table for status-specific filters

* Add REST endpoints, entities and attributes

* Show status filters in /filters interface

* Perform server-side filtering for individual posts filters

* Fix filtering on context mismatch

* Refactor `toServerSideType` by moving it to its own module

* Move loupe and delete icons to their own module

* Add ability to filter individual posts from WebUI

* Replace keyword list by warnings (expired, context mismatch)

* Refactor server-side filtering code

* Add tests
Jeong Arm d415f1116b
Fix /admin/accounts/ order parameter ()
Jeong Arm f248d95be2
Fix badge color not affected ()
* Fix badge color not affected

* Generate user role css
Jeremy Kescher ec83e2a35e
Fix missing scope for current_user in _sidebar.html.haml ()
Fixes https://github.com/mastodon/mastodon/issues/18821

Fix suggested by https://miaow.gay/@meganeko/108665430982072358
Jeong Arm ad489f865a
Fix custom.css html escaped ()