Commit graph

5632 commits

Author SHA1 Message Date
Travis Ralston
f0e0477a3e Update i18n 2021-08-27 19:17:09 +01:00
Travis Ralston
64ad52ddd0 Merge pull request #3093 from RiotTranslateBot/weblate-matrix-doc-sas-emoji-v1
Translations update from Weblate
2021-08-27 19:17:09 +01:00
Travis Ralston
283e3acdde Merge pull request #3091 from aaronraimist/mxc-example
Fix example MXC URI for m.presence
2021-08-27 19:17:09 +01:00
Weblate
b0621f568b Merge branch 'origin/master' into Weblate. 2021-08-27 19:17:09 +01:00
Travis Ralston
dfdb5bc1a9 Run i18n 2021-08-27 19:17:09 +01:00
Aaron Raimist
d540273625 Add changelog
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-08-27 19:17:09 +01:00
Samu Voutilainen
4b001c524c Translated using Weblate (Finnish)
Currently translated at 100.0% (64 of 64 strings)

Translation: matrix-doc/SAS Emoji v1
Translate-URL: https://translate.element.io/projects/matrix-doc/sas-emoji-v1/fi/
2021-08-27 19:17:09 +01:00
Travis Ralston
28acb483f2 Merge pull request #3092 from RiotTranslateBot/weblate-matrix-doc-sas-emoji-v1
Translations update from Weblate
2021-08-27 19:17:09 +01:00
Aaron Raimist
d8d84b64d5 Fix example MXC URI for m.presence
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-08-27 19:17:09 +01:00
Travis Ralston
005d6b7802 Merge pull request #2312 from quotient-im/kitsune/matrix-uri
MSC2312: Matrix URI scheme proposal
2021-08-27 19:17:09 +01:00
Weblate
24d36bdacc Merge branch 'origin/master' into Weblate. 2021-08-27 19:17:09 +01:00
Travis Ralston
8fc8a6daad Merge pull request #3085 from matrix-org/dependabot/npm_and_yarn/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1
2021-08-27 19:17:09 +01:00
xiao chi
464651e39a Translated using Weblate (Japanese)
Currently translated at 100.0% (64 of 64 strings)

Translation: matrix-doc/SAS Emoji v1
Translate-URL: https://translate.element.io/projects/matrix-doc/sas-emoji-v1/ja/
2021-08-27 19:17:09 +01:00
Travis Ralston
af5580cda0 Merge pull request #2403 from Sorunome/soru/knock
MSC2403: Add "knock" feature
2021-08-27 19:17:08 +01:00
dependabot[bot]
41aa1d65ac Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 19:17:08 +01:00
Travis Ralston
4318c18682 Merge pull request #2557 from matrix-org/travis/msc/spoiler-fallback
MSC2557: Proposal to clarify spoilers
2021-08-27 19:17:08 +01:00
Travis Ralston
c9440665e8 Merge pull request #2801 from matrix-org/rav/proposal/untrusted_event_data
MSC2801: Make it explicit that event bodies are untrusted data
2021-08-27 19:17:08 +01:00
Travis Ralston
95dbd51f6a Merge pull request #2320 from matrix-org/babolivier/identity-versions
MSC2320: Versions information for identity servers
2021-08-27 19:17:07 +01:00
Travis Ralston
a064779ceb Merge pull request #2874 from uhoreg/single_ssss
MSC2874: Single SSSS
2021-08-27 19:17:07 +01:00
Travis Ralston
39e82409ab Merge pull request #2184 from ananace/html_details
MSC2184: Allow the use of the HTML <details> tag
2021-08-27 19:17:07 +01:00
Travis Ralston
fa71522c09 Merge pull request #2858 from matrix-org/t3chguy/msc/multi-sso
MSC2858: Multiple SSO Identity Providers
2021-08-27 19:17:07 +01:00
Andrew Morgan
97f8e1248b Attempt to fix broken breadcrumb links
Apparently this is a bug when canonifyURLs = true, which is a required option
to fix relative urls on spec pages.
2021-08-27 19:17:07 +01:00
Travis Ralston
1399cdfd5c Update sas-emoji.json for translations 2021-08-27 19:17:07 +01:00
Travis Ralston
f37e5787b9 Merge pull request #3040 from RiotTranslateBot/weblate-matrix-doc-sas-emoji-v1
Translations update from Weblate
2021-08-27 19:17:07 +01:00
Weblate
f393c6ec4c Merge branch 'origin/master' into Weblate. 2021-08-27 19:17:05 +01:00
Andrew Morgan
888658dbff Write font files as binary instead of text (#3039)
This caused the font files to be corrupt and rejected by the browser's
sanitising engine.
2021-08-27 19:17:05 +01:00
Andrew Morgan
e77c2e3e10 Opt for serving new spec JS/CSS dependencies locally instead of downloading from CDNs (#3036)
This PR does two things:

* Updates the git submodule for the new spec hugo theme ([google/docsy](https://github.com/google/docsy)) to our fork ([matrix-org/docsy](https://github.com/matrix-org/docsy)) which has a couple changes to load JS from local sources instead of remote, as well as allowing sites to override the URL that font CSS files are loaded from. Note that my definition of "font CSS" files here as CSS files that contain settings and point to locations of where font files (`.woff2`) are located.
* Adds a script (and the files generated as a result of running that script) that can take a google fonts URL, download the fonts it points to and spit out those fonts as well as a font CSS file pointing to them for local distribution. We then use the resulting font CSS file in our project variables.

This brings the benefit of not serving files from a CDN which can track users across the web, as well as inadvertently pinning docsy to a specific commit. The downside is that we need to remember to update [matrix-org/docsy](https://github.com/matrix-org/docsy) when needed (and apply the patches on top, though they're quite small).
2021-08-27 19:17:00 +01:00
Andrew Morgan
ecfd57c504 Set canonifyURLs to true (#3037)
This fixes absolute path links when we're hosting the site under a
different path other than /.
2021-08-27 19:16:43 +01:00
Travis Ralston
b139312532 Merge pull request #2998 from matrix-org/anoa/room_version_7
MSC2998: Room Version 7
2021-08-27 19:16:43 +01:00
Andrew Morgan
ee1f85ca8b Update prod build's baseURL to /unstable (#3035)
Since we're deploying to https://spec.matrix.org/unstable now. This only updates the `baseURL` for our buildkite build. The default is still `/` when doing a local build.
2021-08-27 19:16:43 +01:00
Andrew Morgan
a17023962c Update CircleCI and Buildkite configs to build the new spec (#3017)
This PR attempts to update the CI of matrix-doc to build [the new spec redesign](https://github.com/matrix-org/matrix-doc/issues/2906). It does so by additionally building the new spec in parallel to the old. The plan is to continue to host the old spec at https://matrix.org/docs/spec, while the new spec will be at https://spec.matrix.org. Eventually we will retire the old version of the spec, and have the old URL redirect to the new one.

In detail, this PR:
* Adds a new step to CircleCI to build the new spec with `hugo`. This step uses alpine, grabs some dependencies, and then builds the HTML.
  * We needed to hand some specific options to hugo for CircleCI in order to continue allowing CircleCI to host temporary builds of the spec after each CI run. This required changing some assumptions related to relative paths.
  * CircleCI's artifacts hosting is also quite limited. Specifically it will not automatically resolve `/some/path` to `/some/path/index.html`, which our hugo theme relied on. Fixes were implemented for this, but we may want to consider switching away from CircleCI artifacts as a host, and using something like [netlify](https://www.netlify.com/) instead.
* Modifies the existing Buildkite pipeline step to build both the new spec in a separate step. It additionally modifies the old spec to be built with alpine. (Separate out into another PR)
  * We'd like to separate out the deployment of matrix.org from the new spec. Therefore a new step, with a separate artifact build (`spec.tar.gz`). We will eventually remove the old step and the matrix.org build trigger.
* Modifies `pyproject.toml` to update the config of [giles](https://github.com/OpenAstronomy/baldrick/blob/master/baldrick/plugins/circleci_artifacts.py), which is what creates the "docs", "swagger" links in the CI steps for matrix-docs PRs.
  * A new step was added for the new spec. The old spec was renamed to "legacy".
2021-08-27 19:16:43 +01:00
Andrew Morgan
6ffa13d480 Update legacy doc buildkite step with comments and latest versions (#3033) 2021-08-27 19:16:43 +01:00
Andrew Morgan
25605b65a3 Don't generate matrix assets on CircleCI (#3034)
We already do this in the buildkite pipeline, so doing so in CircleCI is just
duplicate work.
2021-08-27 19:16:43 +01:00
Travis Ralston
5d275ab79e Merge pull request #3024 from matrix-org/travis/gh-tmpl
Override issue templates from org
2021-08-27 19:16:43 +01:00
Travis Ralston
3cb3b52753 Merge pull request #3003 from wbamberg/block-sizes
More consistent widths
2021-08-27 19:16:43 +01:00
Travis Ralston
7da1ed51a3 Update idea.md 2021-08-27 19:16:43 +01:00
Travis Ralston
551c22247d Override issue templates from org
We don't need OS information for a bug report here.
2021-08-27 19:16:43 +01:00
wbamberg
54a4f689a0 Merge pull request #3002 from wbamberg/fix-h7-h8
Remove h7 and h8 headings
2021-08-27 19:16:42 +01:00
Will
88e81b9c82 More consistent widths 2021-08-27 19:16:42 +01:00
wbamberg
1bfc3de6d6 Merge pull request #2992 from wbamberg/support-changelogs
Support changelogs
2021-08-27 19:16:42 +01:00
wbamberg
94f6cd21e3 Clarify the current situation wrt key derivation algorithms
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
2021-08-27 19:16:42 +01:00
wbamberg
f1711ff3e4 Merge pull request #3000 from wbamberg/add-proposals-tables
Support rendering of proposal tables
2021-08-27 19:16:42 +01:00
Will
a974bdaf45 Remove h7 and h8 headings 2021-08-27 19:16:42 +01:00
wbamberg
d5f975edaf Merge pull request #2999 from wbamberg/stop-scroll-overflow
Prevent sidebar scroll from overflowing
2021-08-27 19:16:42 +01:00
Will
25924a498c Fix tab/spaces mix 2021-08-27 19:16:42 +01:00
wbamberg
e88a18ca5d Merge pull request #2988 from wbamberg/support-rendered-data
Support rendered data
2021-08-27 19:16:42 +01:00
Will
2371a7a804 Prevent sidebar scroll from overflowing 2021-08-27 19:16:42 +01:00
Will
643cdd19c8 Support rendering of proposal tables 2021-08-27 19:16:42 +01:00
wbamberg
07c66616ac Fix typo in comment
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2021-08-27 19:16:42 +01:00
wbamberg
6fc1f52f2f Fix typo in comment
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2021-08-27 19:16:42 +01:00