Commit Graph

37 Commits

Author SHA1 Message Date
Emelia Smith cb3aa4de10
Document new OAuth changes for 4.3.0 (#1445)
* Improve deprecation messaging for Application#vapid_key

* Format JSON examples in Instance methods

* Remove vapid_key from Apps API examples, since this property is deprecated on Application entity

* Add documentation for new OAuth 2.0 features added in 4.3.0

* Improve documentation for oauth-scopes

* Update content/en/api/oauth-scopes.md

Co-authored-by: Matt Jankowski <matt@jankowski.online>

* Update content/en/api/oauth-scopes.md

Co-authored-by: Matt Jankowski <matt@jankowski.online>

* Update content/en/api/oauth-scopes.md

Co-authored-by: Matt Jankowski <matt@jankowski.online>

* Update content/en/api/oauth-scopes.md

Co-authored-by: Matt Jankowski <matt@jankowski.online>

* Add deprecated and removed shortcode labels

* Use deprecated and removed shortcodes

* Improve OAuth documentation

* More OAuth documentation improvements

* Correct streaming API documentation after 4.2.0 changes

* Add note about improved Push Subscription API validation in 4.3.0

* Fix inconsistent OAuth label formatting

* Add note that there is a relationship between Accounts and the Application used to create them

* Add note that application registration endpoint also supports JSON bodies

* Be consistent in the formatting of placeholder values for Bearer tokens

* code review changes

* Slight changes in wording

* Add documentation for PKCE

* Removal of crypto oauth scope

* Cross-link authorization's scope with the OAuth Scopes documentation

* Update content/en/methods/oauth.md

* Update content/en/api/oauth-scopes.md

---------

Co-authored-by: Matt Jankowski <matt@jankowski.online>
Co-authored-by: David Roetzel <david@roetzel.de>
2024-10-10 14:44:19 +02:00
Michael Stanclift 1d43a44b22
Update color scheme to match latest design system (#1508)
* import variables from main UI

* apply colors

* change hint styles

* update table styling

* remove box shadow from images

* update sponsor and page ref styles

* change code highlighting theme to add more contrast

* replace link icon with google material svg

* replace fontawesome with google material icons

* remove fa assets

* fix missing mastodon fa icon in footer

* tweak alignment of hint svg icons

* tweak inline code background
2024-08-22 12:46:16 +01:00
aaaaalbert e2a3d5a63d
Fix #1490, Hugo deprecating `.Page.File.Lang` (#1491)
* Update single.html, index.html, footer.html
2024-08-03 17:59:48 +01:00
Matt Jankowski fe1fd3f8c7
Use `.Path` instead of `.File.Path` when surrounded by `with .File` block (#1426)
Use `.Path` outside of `.File`
2024-05-17 16:54:22 +02:00
aaaaalbert 5222920fe6
Rename default branch to main (#1373)
* Remove GitLab CI configuration

As noted by @renchap, "We do not rely on Gitlab CI anymore, this
can be dropped."

https://github.com/mastodon/documentation/issues/1357#issuecomment-1851642299

* Fix #1357, Use new default branch name "main"

This requires changes in
* the GitHub Pages deployment config
* a few HTML page templates, where the default branch name is
  included in links to the repo (stylized as "Improve this page"
  in the English version of the live docs webpage)

---------

Co-authored-by: albert <albert.rafetseder+gitlab@univie.ac.at>
2024-01-02 11:45:25 +01:00
Mike McBride f6dbc5035b
Add mobile nav toggle (#1051)
* add css toggle for mobile nav
* hide toggles on non mobile
* default to not checked
2023-12-11 22:35:01 +00:00
Michael Stanclift cb67b8c65e
remove twitter link (#1348) 2023-11-29 10:49:42 +01:00
Josh Soref 6be1e702bd
Spelling (#1163)
* spelling: conversion

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: translation

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

---------

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-08 17:38:51 +01:00
Renaud Chaput d356c6caac
Switch hosting to Vercel (#1113)
* Fix URLs to work when `baseURL` is in a sub-directory

* Use `RelPermalink` to not have assets loaded from `baseUrl`

* Add `.vercel` to gitignore

* Remove deploy Github Action, we are now using Vercel
2022-12-21 06:26:37 +01:00
Eugen Rochko 1dad33b87b Fix image 2022-11-21 02:16:14 +01:00
Eugen Rochko cac42eff20 Update sponsors 2022-11-21 00:02:38 +01:00
trwnh 3628b6d434
Update content for 4.0 (part 1) (#991)
* add rules

* join date on profiles

* deprecate follow scope

* deprecate identity proofs

* familiar followers

* use definition lists instead of tables for defining activitypub properties

* reformat notifications page into markdown

* fix broken links to publicKey header

* Application website is now nullable

* update environment variables added and removed

* fix typo

* fix heading level

* min_id and max_id can be used at the same time (3.3)

* fix typo

* new tootctl options

* reformat tootctl page to use definition lists for params

* add rules and configuration to Instance

* fix typo

* refactor instance api page

* 3.3.0 duration on mutes

* 3.3.0 mute_expires_at

* improve section headings

* 3.4.0 resend email confirmation api

* 3.4.0 policy on push subscriptions

* 3.4.0 add details to account registration error

* refactor accounts api page and start adding relrefs to entity pages

* 3.4.0 accounts/lookup api

* add see also to accounts methods

* add more see-also links

* 3.5.0 appeal mod decisions

* 3.5.0 reformat reports and add category/rule_ids params

* document report entity and missing responses

* fix typos

* fix relrefs and url schema, add aliases to old urls

* add archetypes for new methods/entities

* update archetypes with see-also stubs

* clearer presentation of rate limits

* announcements api methods

* refactor apps methods

* refactor bookmarks methods + some anchors

* refactor conversations methods

* custom_emojis methods refactor

* anchors

* refactor directory methods

* refactor domain_blocks methods

* add see also to emails methods

* fix page relref shortcodes to specific methods + refactor endorsements methods

* min_id max_id

* refactor favourites methods

* refactor featured_tags methods

* refactor filters methods, make path params consistent, i18n required shortcode

* follow_requests methods

* lists methods

* markers methods

* forgot to add entity links

* media methods, also fix formatting of some json errors

* mutes methods, add more see-also links

* oembed methods

* preferences methods

* proofs methods

* push methods

* suggestions methods

* 3.5.0 add new trend types, fix formatting

* refactor streaming methods

* refactor oauth methods

* note that streaming api casts payload to string

* refactor search methods

* refactor polls methods

* remove unnecessary link

* reformat scheduled_statuses methods

* reformat timelines methods

* reformat statuses methods

* 3.5.0 editing statuses

* consistent use of array brackets in form data parameters

* update dev setup guide, add vagrant and clean up text

* add admin/accounts methods

* 3.6 role entity

* admin/accounts methods v2

* minor fix

* stub admin/reports methods

* document admin reports

* add 403 example to methods archetype

* cleanup entities for admin reports and add new attrs

* 3.6.0 domain allows methods + normalize admin entity namespace

* fix search-and-replace error

* add aliases for admin entities

* 3.6.0 canonical email blocks entity

* 3.5.0 admin/retention api

* 3.5.0 add admin::ip doc

* 3.5.0 admin/reports

* 3.6.0 admin/domain_allows

* 3.5.0 admin/dimensions

* 3.6.0 permissions and roles

* minor formatting fix

* add anchor link to headings

* checkpoint

* add update commands to dev env setup guide

* change mentions of v3.6 to v4.0

* tootctl now uses custom roles

* fix formatting

* v2 instance api

* update frontmatter, add better titles to pages

* minor wording change

* consistency

* add more aliases

* add placeholders and WIP notices

* explain link pagination and stub out todos

* switch baseURL to https

* 422 on reports with rules but category!=violation

* document bug fixes

* fix typo

* remove duplicate API method definition

* s/tootsuite/mastodon for github links

* remove unnecessary escaping

* s/tootsuite/mastodon in Entity archetype

* add missing nullable shortcode

* clarify oauth scope when requesting a user token

* api/v2/media now synchronous for images

* DISALLOW_UNAUTHENTICATED_API_ACCESS

* add undocumented env variables

* add instance domain blocks and extended description api

* add SMTP_ENABLE_STARTTLS

* add description to SMTP_ENABLE_STARTTLS

* take suggestions from open PRs

* normalize links and flavour language

* Fully document streaming API based on source code

* Add mention of MIME types

* bump to ruby 3.0.4

* clarify how to check on async media processing

* validation of replies_policy

* remove TODOs on admin account action

* EmailDomainBlocks

* IpBlocks

* Admin::DomainBlock

* remove TODOs

* following hashtags

* followed_tags

* remove reference to unused parameter

* add new oauth scopes for admin blocks and allows

* fix command signature for i18n-tasks normalize

* reformat code structure page

* document fixes for following tags (assume 4.0.3)

* Add warning about pre-4.0 hardcoded roles

* add note about case sensitivity

* remove use of 'simply' from docs

* remove reference to silencing

* add reference to IDN normalization for verified links

* add lang parameter
2022-11-20 07:34:38 +01:00
Eugen Rochko 92d282846a Add new sponsors 2022-11-05 22:39:37 +01:00
Eugen Rochko 60c1110ff7
Update footer.html 2021-12-13 08:36:18 +01:00
Eugen Rochko ca538c0aac
Update footer.html 2021-12-09 21:39:38 +01:00
Eugen Rochko f0dea11261
Update footer.html 2021-09-23 15:31:14 +02:00
Eugen Rochko 8002b8d436 Fix twitter username and ad sponsors 2020-09-23 03:22:34 +02:00
trwnh 17143bad72
update for 3.1 (#785) 2020-07-01 02:11:40 +02:00
yingziwu b6e011265d
Add chinese translation (#772)
* add chinese config and i18n

* Import translation from https://bitbucket.org/mastodoncn/mastodon-zh-cn/src/master/

* translate Using Mastodon

* Translate Running Mastodon
Add Chinese search optimization
Fix some bugs

* substitute 长毛象 to Mastodon

* do some modifications.
2020-05-20 20:54:12 +02:00
rinsuki 18bb0c99d6 Revert "move format to inside of lastUpdated" (#740)
This reverts commit e097f0df78.
2020-01-07 02:30:31 +01:00
Eugen Rochko 1723282666 Change source links to GitHub 2020-01-05 22:19:51 +01:00
rinsuki e097f0df78 move format to inside of lastUpdated 2020-01-04 20:05:26 +09:00
rinsuki 7af27035d0 make last updated date format translatable 2020-01-04 20:01:48 +09:00
Eugen Rochko 33cb69ad07 Update documentation with contents by twrnh 2020-01-04 10:33:16 +01:00
Eugen Rochko 458f389c92 Update layouts/partials/footer.html 2019-04-07 04:51:49 +02:00
Eugen Rochko feca9ba8a6 Add responsive design 2018-10-06 02:34:46 +02:00
Eugen Rochko 50f87589cb Add links to languages and collapsible navigation 2018-10-06 02:23:56 +02:00
Eugen Rochko 86eb63bcf5 Add domain blocks API 2018-10-05 21:58:19 +02:00
Eugen Rochko ce4e589ee9 Add mutes API 2018-10-05 01:24:08 +02:00
Eugen Rochko 51c61c151b Add blocks API 2018-10-05 01:12:24 +02:00
Eugen Rochko cb9ed818f6 Add documentation about timelines API 2018-10-05 00:59:57 +02:00
Eugen Rochko 059292967e Add opengraph descriptions 2018-09-26 00:35:55 +02:00
Eugen Rochko 964906a975 Add page about federation 2018-09-25 21:33:43 +02:00
Eugen Rochko e48b116c27 Add API entities page 2018-09-24 23:07:18 +02:00
Eugen Rochko f66fd8ffa6 Improve table style 2018-09-24 01:04:17 +02:00
Eugen Rochko b4b055df11 Add frontpage and privacy page 2018-09-23 02:34:19 +02:00
Eugen Rochko 304186774e Initial commit 2018-09-23 00:14:25 +02:00