Age | Commit message (Collapse) | Author |
|
|
|
|
|
* Add REST API for creating an account
The method is available to apps with a token obtained via the client
credentials grant. It creates a user and account records, as well as
an access token for the app that initiated the request. The user is
unconfirmed, and an e-mail is sent as usual.
The method returns the access token, which the app should save for
later. The REST API is not available to users with unconfirmed
accounts, so the app must be smart to wait for the user to click a
link in their e-mail inbox.
The method is rate-limited by IP to 5 requests per 30 minutes.
* Redirect users back to app from confirmation if they were created with an app
* Add tests
* Return 403 on the method if registrations are not open
* Require agreement param to be true in the API when creating an account
|
|
|
|
|
|
Fixes #9580
|
|
Merge upstream changes
|
|
Port SCSS changes from 3c033c4352f8b156887cd7157b4a89c23a545838 to glitch-soc
|
|
|
|
Port bb62827c16dbf35c70da2dc801f602df3c76fcca to glitch-soc
|
|
|
|
reached
Port 8389b496ba9f8b5fa04a34ccc14c8e4195e03ea3 to glitch flavour
|
|
Conflicts:
- config/routes.rb
Upstream changed some admin routes, conflict was because of an added :show
action for statuses on our side. Kept it.
|
|
|
|
Add link to profile directory
|
|
To better align with the list of hashtags
|
|
* Add moderation warnings
Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.
Additionally, there are warning presets you can configure to save
time when performing the above.
* Use Account#local_username_and_domain
|
|
* Update for new On Board messages
* Update oc.json
|
|
|
|
The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
|
|
|
|
Port bfec030a4e3be37e4986d7ec5cb1bda968ba549a to glitch-soc
|
|
Port 4fdefffb9906ffc3e5fde7af652674bebffd6e15 to glitch-soc
|
|
Port 4c03e05a4e1a237f8a414a0861c03abe3269dbc8 to glitch-soc
This introduces new requirements in the API:
`/api/v1/timelines/tag/:tag` now accepts new params: `any`, `all` and `none`
It now returns status matching tag :tag or any of the :any, provided that
they also include all tags in `all` and none of `none`.
|
|
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
|
|
|
|
The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
|
|
|
|
|
|
Fix #8666
|
|
Port relevant parts of 9d4541c612b506889675c4c19ced5cd17ad3710f to glitch-soc
|
|
WARNING: This may break some custom skins!
`.drawer > .contents` has been moved to
`.drawer > .drawer__pager > .drawer__iner`, and the waves have been moved
from `.drawer > .contents` to `.drawer__inner__mastodon`!
|
|
|
|
* Add spec for RelayPolicy
* Add specs for SubscriptionPolicy
* Add specs for SettingsPolicy
* Add specs for TagPolicy
* Add specs for ReportPolicy
|
|
|
|
Port 5bf100f87be571e86305f3ab244183fc46f1ede2 to glitch-soc
|
|
|
|
This is only available if the instance-wide setting isn't set and allows
people to hide their own followers count. This does not hide others' to
them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(#9573)
Fix #7087
The same data is available over the ActivityPub outbox, RSS, and Atom, so
there is little benefit to keeping it limited in this method.
|
|
(#9581)
Fixes #9568
|
|
|