Skip to content

Commit

Permalink
Upgrade element 1.11.39 (#663)
Browse files Browse the repository at this point in the history
* Upgrade matrix-js-sdk to 25.1.0

* Upgrade matrix-react-sdk to 3.72.0

* Prepare changelog for v1.11.31

* v1.11.31

* Reset matrix-js-sdk back to develop branch

* Reset matrix-react-sdk back to develop branch

* Allow welcome.html logo to be replaced by config (#25339)

* Improve bundle size and add webpack-bundle-analyzer (#25337)

* Handle trailing dot FQDNs for domain-specific config.json files (#25351)

* Remove old ansible comments (#25352)

* Fix analyse:webpack-bundles script (#25353)

* Increase yarn timeout (#25377)

* Translations update from Weblate (#25382)

Co-authored-by: raspin0 <marcinekk13@interia.pl>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: someone1611 <hahahahacker2009@outlook.com>

* Upgrade matrix-react-sdk to 3.73.0-rc.1

* Upgrade matrix-js-sdk to 25.2.0-rc.4

* Prepare changelog for v1.11.32-rc.1

* v1.11.32-rc.1

* Update typescript-eslint monorepo to v5.59.5 (#25386)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency eslint-plugin-unicorn to v47 (#25389)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @types/node to v16.18.30 (#25385)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update all non-major dependencies (#25387)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Upgrade matrix-react-sdk to 3.73.0-rc.2

* Upgrade matrix-js-sdk to 25.2.0-rc.5

* Prepare changelog for v1.11.32-rc.2

* v1.11.32-rc.2

* vector/index.html: Allow fetching blob urls (#25336)

* Track release blockers in Matrix room header (#25427)

* Update pending-reviews.yaml

* Update pending-reviews.yaml

* Update pending-reviews.yaml

* Update build_develop.yml

* Update build_develop.yml

* Update build_develop.yml

* Redirect to the SSO page if `sso_redirect_options.on_welcome_page` is enabled and the URL hash is empty (#25495)

* Upgrade matrix-react-sdk to 3.73.0-rc.3

* Upgrade matrix-js-sdk to 26.0.0-rc.1

* Prepare changelog for v1.11.32-rc.3

* v1.11.32-rc.3

* Update typescript-eslint monorepo to v5.59.7 (#25503)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update all non-major dependencies (#25504)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency jest-canvas-mock to v2.5.1 (#25506)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update cloudflare/pages-action digest to f0a1cd5 (#25501)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @types/node to v16.18.34 (#25502)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @sentry/webpack-plugin to v2 (#25507)

* Update dependency @sentry/webpack-plugin to v2

* Follow migration guide

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Upgrade matrix-js-sdk to 26.0.0

* Upgrade matrix-react-sdk to 3.73.0

* Prepare changelog for v1.11.32

* v1.11.32

* Reset matrix-js-sdk back to develop branch

* Reset matrix-react-sdk back to develop branch

* Add documentation for config to skip widget_build_url for DM rooms (#25518)

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Upgrade matrix-js-sdk to 26.0.1

* Upgrade matrix-react-sdk to 3.73.1

* Prepare changelog for v1.11.33

* v1.11.33

* Reset matrix-js-sdk back to develop branch

* Reset matrix-react-sdk back to develop branch

* Translations update from Weblate (#25577)

* Translated using Weblate (Vietnamese)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/vi/

* Translated using Weblate (Vietnamese)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/vi/

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/pt/

---------

Co-authored-by: someone1611 <hahahahacker2009@outlook.com>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: luy dinilta <luydinilta@gufum.com>

* Upgrade matrix-js-sdk to 26.1.0-rc1

* Upgrade matrix-react-sdk to 3.74.0-rc1

* Prepare changelog for v1.11.34-rc1

* v1.11.34-rc1

* Document help_url and help_encryption_url (#25549)

* Remove `feature_favourite_messages` as it is has been abandoned for now (#25605)

* Fix error when generating error for polling for updates (#25609)

* Deprecate new breadcrumbs (#25617)

* Upgrade matrix-js-sdk to 26.1.0

* Upgrade matrix-react-sdk to 3.74.0

* Prepare changelog for v1.11.34

* v1.11.34

* Reset matrix-js-sdk back to develop branch

* Reset matrix-react-sdk back to develop branch

* Point develop.element.io to our Element Call + LiveKit experiment (#25636)

This is an experimental version of Element Call using a LiveKit SFU that we'd like to start dogfooding and gaining confidence on internally, so the current plan is to trial it on develop.element.io and Nightly for a while.

* Remove the ACAO header which is added by default on Cloudflare Pages (#25644)

* Revert "Point develop.element.io to our Element Call + LiveKit experiment" (#25651)

* Update docker/build-push-action digest to 2eb1c19 (#25583)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Point develop.element.io to our Element Call + LiveKit experiment (#25660)

This reintroduces 278c494, now that we've made that deployment work in widget mode once again.

* Bump semver from 7.5.1 to 7.5.2 (#25661)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update docker/metadata-action digest to 818d4b7 (#25585)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* document io.element.e2ee.force_disable (#25662)

* Translations update from Weblate (#25669)

Co-authored-by: AcidAntOnAMinefield <nuno.martins@catraxx.org>
Co-authored-by: Tmpod <tom@tmpod.dev>
Co-authored-by: rofyobilte <rofyobilte@gufum.com>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Makkkkus <nygardboi@protonmail.com>
Co-authored-by: Nils Haugen <nils@gaupne.net>

* Upgrade matrix-react-sdk to 3.75.0-rc.1

* Upgrade matrix-js-sdk to 26.2.0-rc.1

* Prepare changelog for v1.11.35-rc.1

* v1.11.35-rc.1

* Update dependency @types/node to v16.18.35 (#25590)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @types/jest to v29.5.2 (#25589)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update typescript-eslint monorepo to v5.60.0 (#25591)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update docker/setup-buildx-action digest to ecf9528 (#25586)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update docker/login-action digest to 465a078 (#25584)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update docker/setup-qemu-action digest to 2b82ce8 (#25587)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Update peter-evans/dockerhub-description digest to dc67fad (#25671)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* remove auth params from url after login attempt (#25664)

* Conform more of the codebase to strictNullChecks & noImplicitAny (#25680)

* Update all non-major dependencies (#25588)

* Update all non-major dependencies

* Roll back typescript

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Align develop.e.io cloudflare pages headers with other deploys (#25700)

* Upgrade matrix-react-sdk to 3.75.0

* Upgrade matrix-js-sdk to 26.2.0

* Prepare changelog for v1.11.35

* v1.11.35

* Reset matrix-react-sdk back to develop branch

* Reset matrix-js-sdk back to develop branch

* Tweak branch matching to allow not applying outside of PRs for matrix-analytics-events (#25712)

* Update matrix-react-sdk yarn.lock

* Enable strictNullChecks and noImplicitAny (#25724)

* Enable strictPropertyInitialization (#25729)

* Enable strictFunctionTypes (#25730)

* Enable strictPropertyInitialization (#25735)

* Deprecate customisations in favour of Module API (#25736)

* Bump stylelint from 15.9.0 to 15.10.1 (#25739)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.9.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@15.9.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump tough-cookie from 4.1.2 to 4.1.3 (#25743)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Allow default_server_config as a fallback config (#25682)

* Utility automation for updating topics as part of release process (#25725)

* Update update-topics.yaml

* Add `default_server_config` fallback to element.io configs (#19695)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Update update-topics.yaml

* Update update-topics.yaml

* Update update-topics.yaml

* Update update-topics.yaml

* Update update-topics.yaml

* Update update-topics.yaml

* Update update-topics.yaml

* Delete redundant make-icons.sh (#25747)

* store fragmentafterlogin in sesison storage for oidc login (#25688)

* Translations update from Weblate (#25750)

* Translated using Weblate (Vietnamese)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/vi/

* Added translation using Weblate (Swahili)

* Translated using Weblate (Swahili)

Currently translated at 3.3% (1 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/sw/

* Translated using Weblate (Swahili)

Currently translated at 3.3% (1 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/sw/

* Translated using Weblate (Swahili)

Currently translated at 3.3% (1 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/sw/

* Translated using Weblate (Latvian)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/lv/

* Translated using Weblate (Latvian)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/lv/

* Translated using Weblate (Swahili)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/sw/

* Translated using Weblate (Slovak)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/sk/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/

* Translated using Weblate (German)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/de/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/uk/

* Translated using Weblate (Estonian)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/et/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/zh_Hant/

* Translated using Weblate (French)

Currently translated at 100.0% (30 of 30 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/fr/

---------

Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: walito-arch <walitogama@gmail.com>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Edgars Andersons <Edgars+Element-translations@gaitenis.id.lv>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>

* Update dependency @matrix-org/react-sdk-module-api to v1 (#25754)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Upgrade matrix-js-sdk to 27.0.0-rc.1

* Upgrade matrix-react-sdk to 3.76.0-rc.1

* Prepare changelog for v1.11.36-rc.1

* v1.11.36-rc.1

* Update update-topics.yaml

* Update logging ignore list comment (#25769)

* Remove rageshake server from config.sample.json (#25772)

* Update babel monorepo (#25505)

* Update babel monorepo

* Add missing @babel/plugin-proposal-logical-assignment-operators dependency

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Update dependency @types/node to v16.18.38 (#25758)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update jest (#25760)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency stylelint-config-standard to v34 (#25765)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update typescript-eslint monorepo to v5.61.0 (#25761)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update update-topics.yaml

* Update update-topics.yaml

* Update update-topics.yaml

* Fix regex not handling rc versions

* Update update-topics.yaml

* Deprecate camelCase config options (#25800)

* Upgrade matrix-js-sdk to 27.0.0-rc.2

* Upgrade matrix-react-sdk to 3.76.0-rc.2

* Prepare changelog for v1.11.36-rc.2

* v1.11.36-rc.2

* Switch to the new `session` API for screen-sharing (#25802)

* Update all non-major dependencies (#25759)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Test: don't unmount `MatrixChat` before setup is finished (#25783)

* Correct Jitsi preferred_domain property (#25813)

* Remove redundant dependencies (#25814)

* Update docker/setup-buildx-action digest to 4c0219f (#25757)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Lock file maintenance (#25145)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Removing stale labs flag (#25823)

* Upgrade matrix-js-sdk to 27.0.0

* Upgrade matrix-react-sdk to 3.76.0

* Prepare changelog for v1.11.36

* v1.11.36

* Reset matrix-js-sdk back to develop branch

* Reset matrix-react-sdk back to develop branch

* Avoid using deprecated config.json key casing (#25833)

* Avoid using deprecated config.json key casing

* Fix configs s'more

* Translations update from Weblate (#25856)

Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: James Choi <tienipia@gmail.com>
Co-authored-by: Srebrni <kiborg@novko.si>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: raspin0 <marcinekk13@interia.pl>
Co-authored-by: Edgars Andersons <Edgars+Element-translations@gaitenis.id.lv>

* Upgrade matrix-react-sdk to 3.77.0-rc.1

* Upgrade matrix-js-sdk to 27.1.0-rc.1

* Prepare changelog for v1.11.37-rc.1

* v1.11.37-rc.1

* Update dependency eslint-plugin-unicorn to v48 (#25859)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @types/node to v16.18.39 (#25857)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update all non-major dependencies (#25858)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Lock file maintenance (#25860)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Lock file maintenance (#25886)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Document 'feature_new_room_decoration_ui' (#25890)

* Upgrade matrix-react-sdk to 3.77.0

* Upgrade matrix-js-sdk to 27.1.0

* Prepare changelog for v1.11.37

* v1.11.37

* Reset matrix-react-sdk back to develop branch

* Reset matrix-js-sdk back to develop branch

* Transpile @vector-im/compound-web with babel (#25906)

* Package release builds of element-web in package.element.io debs (#25198)

* Remove feature_right_panel_default_open (#25915)

* [Backport staging] Package release builds of element-web in package.element.io debs (#25921)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Upgrade matrix-react-sdk to 3.77.1

* Prepare changelog for v1.11.38

* v1.11.38

* Reset matrix-js-sdk back to develop branch

* Reset matrix-react-sdk back to develop branch

* Update build_debian.yaml

* Update labs.md for knock rooms (#25923)

* Translations update from Weblate (#25935)

Co-authored-by: Jan Schönfeld <jan.schoenfeld@tutanota.de>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Weblate <translate@riot.im>

* Upgrade matrix-react-sdk to 3.78.0-rc.1

* Upgrade matrix-js-sdk to 27.2.0-rc.1

* Prepare changelog for v1.11.39-rc.1

* v1.11.39-rc.1

* Upgrade matrix-react-sdk to 3.78.0

* Upgrade matrix-js-sdk to 27.2.0

* Prepare changelog for v1.11.39

* v1.11.39

* Patches that did not conflict

* Fixed patch export-room-members

* Patches without conflict, this time use the right element version !

* Fix activate-cross-signing-and-secure-storage-react - just markup changes

* Fixed patch export-room-members, this time with the right element version

* git mv are-external-users-allowed-in-room patch to up the version

* Update patch are-external-users-allowed-in-room. RoomHeader has moved to LegacyRoomHeader.

* Update auto-accept-tac.

* Remove backport-html-export-security-fix patch. According to issue it was fixed in react-sdk 3.76.0

* Fixed better-help-settings-2. We now use a field in config instead of hardocoding urls, which reduces the patch.

* update content-scanner patch

* Rename disable-access-options patch to up version

* Update disable-access-options patch

* Update error-tchap-is-down patch

* Update hide-discovery-email-phone-settings patch

* Remove hide-location-if-no-map-server patch, replaced by a UIFeature

* git mv hide-room-alias-settings to up version

* Upgrade hide-room-alias-settings patch

* Upgrade password-policy patch

* Upgrade simplify-exchange-key-message

* Upgrade use-the-term-people-not-direct-messages patch

* Upgrade tchap-features-from-config patch

* Use a yarn.lock based on element-web\'s. Our regenerated version was causing a problem with linkify. Not clear how this fix works, but it works.

* Force modernizr to 3.12.0. When using the latest 3.13.0, it causes an error with linkify and the app does not start.

* Adjust size of TchapExternalRoomHeader, the rem has changed.

* upgrade login

* fix login upgrade

* fix prettier in config

* chore: in worflows get node version from package.json (#677)

* Fix TchapCreateRoomDialog test : remove snapshot, testing presence of component is enough and more robust

* Add tests for default value of switch

* Fix createroom test : classname changed

* Fix room access settings cypress test

* try : upgrade patch security user settings with new device panel (#678)

* upgrade roughly patch  change sections order in security privacy settings

* fix compilation error

* update labels

* hide security recommendation section

* update labels

* Add :TCHAP: annotations

* Layout fixes (font size etc)

* Spelling fix

* Spelling fix

* Spelling fix

* Add extra explanation of cross-signing

* Extra translations

---------

Co-authored-by: Estelle Comment <estelle.comment@gmail.com>

* Fix linter

* remove unsused translation

* remove element.io specific files

* remove unused build workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: RiotRobot <releases@riot.im>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Element Translate Bot <admin@riot.im>
Co-authored-by: raspin0 <marcinekk13@interia.pl>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: someone1611 <hahahahacker2009@outlook.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 许煜恒 <39673849+SuperKenVery@users.noreply.github.com>
Co-authored-by: Dominik Henneke <dominik.henneke@nordeck.net>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: luy dinilta <luydinilta@gufum.com>
Co-authored-by: Germain <germain@souquet.com>
Co-authored-by: Robin <robin@robin.town>
Co-authored-by: Laurence Gill <laurencegill@users.noreply.github.com>
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
Co-authored-by: AcidAntOnAMinefield <nuno.martins@catraxx.org>
Co-authored-by: Tmpod <tom@tmpod.dev>
Co-authored-by: rofyobilte <rofyobilte@gufum.com>
Co-authored-by: Makkkkus <nygardboi@protonmail.com>
Co-authored-by: Nils Haugen <nils@gaupne.net>
Co-authored-by: 夜坂雅 <23130178+ShadowRZ@users.noreply.github.com>
Co-authored-by: Aaron Raimist <aaron@raim.ist>
Co-authored-by: walito-arch <walitogama@gmail.com>
Co-authored-by: Edgars Andersons <Edgars+Element-translations@gaitenis.id.lv>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Ben Banfield-Zanin <benbz@matrix.org>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: James Choi <tienipia@gmail.com>
Co-authored-by: Srebrni <kiborg@novko.si>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: Charly Nguyen <1422657+charlynguyen@users.noreply.github.com>
Co-authored-by: Jan Schönfeld <jan.schoenfeld@tutanota.de>
Co-authored-by: olivier <odelcroi@gmail.com>
  • Loading branch information
Show file tree
Hide file tree
Showing 111 changed files with 2,798 additions and 2,432 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ module.exports = {
// We don't need super strict typing in test utilities
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/ban-ts-comment": "off",
},
},
{
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
blank_issues_enabled: false
contact_links:
- name: Questions & support
url: https://tchap.beta.gouv.fr/#contact
Expand Down
3 changes: 3 additions & 0 deletions .github/cfp_headers
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
! Access-Control-Allow-Origin
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

/version
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Get Node Version
id: node_version
run: echo ::set-output name=node_version::$(node -e 'console.log(require("./package.json").engines.node)')
- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: 16

node-version: ${{ steps.node_version.outputs.node_version }}
- name: Install Dependencies
run: "yarn install"

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Get Node Version
id: node_version
run: echo ::set-output name=node_version::$(node -e 'console.log(require("./package.json").engines.node)')
- name: Yarn cache
uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: 16
node-version: ${{ steps.node_version.outputs.node_version }}

- name: Install Dependencies
run: "./scripts/tchap/install-yarn-linked-repositories.sh"
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/static_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# - uses: actions/setup-node@v3
# with:
# cache: 'yarn'
# node-version: 16
# node-version: 18
#
# - name: Install Dependencies
# run: "./scripts/tchap/install-yarn-linked-repositories.sh"
Expand Down Expand Up @@ -89,11 +89,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Get Node Version
id: node_version
run: echo ::set-output name=node_version::$(node -e 'console.log(require("./package.json").engines.node)')
- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: 16
node-version: ${{ steps.node_version.outputs.node_version }}

# Does not need branch matching as only analyses this layer
- name: Install Deps
Expand All @@ -107,11 +109,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Get Node Version
id: node_version
run: echo ::set-output name=node_version::$(node -e 'console.log(require("./package.json").engines.node)')
- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: 16
node-version: ${{ steps.node_version.outputs.node_version }}

# Needs branch matching as it inherits .stylelintrc.js from matrix-react-sdk
- name: Install Dependencies
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Get Node Version
id: node_version
run: echo ::set-output name=node_version::$(node -e 'console.log(require("./package.json").engines.node)')
- name: Yarn cache
uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: 16

node-version: ${{ steps.node_version.outputs.node_version }}
- name: Install Dependencies
run: "./scripts/tchap/install-yarn-linked-repositories.sh"

Expand Down
95 changes: 95 additions & 0 deletions .github/workflows/update-topics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Update release topics
on:
workflow_dispatch:
inputs:
expected_status:
description: What type of release is the next expected release
required: true
default: RC
type: choice
options:
- RC
- Release
expected_date:
description: Expected release date e.g. July 11th
required: true
type: string
concurrency: ${{ github.workflow }}
jobs:
bot:
name: Release topic update
runs-on: ubuntu-latest
environment: Matrix
steps:
- uses: actions/github-script@v6
env:
HS_URL: ${{ secrets.BETABOT_HS_URL }}
LOBBY_ROOM_ID: ${{ secrets.ROOM_ID }}
PUBLIC_ROOM_ID: "!YTvKGNlinIzlkMTVRl:matrix.org"
ANNOUNCEMENT_ROOM_ID: "!bijaLdadorKgNGtHdA:matrix.org"
TOKEN: ${{ secrets.BETABOT_ACCESS_TOKEN }}
RELEASE_STATUS: "Release status: ${{ inputs.expected_status }} expected ${{ inputs.expected_date }}"
with:
script: |
const { HS_URL, TOKEN, RELEASE_STATUS, LOBBY_ROOM_ID, PUBLIC_ROOM_ID, ANNOUNCEMENT_ROOM_ID } = process.env;
const repo = context.repo;
const { data } = await github.rest.repos.getLatestRelease({
owner: repo.owner,
repo: repo.repo,
});
console.log("Found latest version: " + data.tag_name);
const releaseTopic = `Stable: ${data.tag_name} | ${RELEASE_STATUS}`;
console.log("Release topic: " + releaseTopic);
const regex = /Stable: v(.+) \| Release status: (\w+) expected (\w+ \d+\w\w)/gm;
async function updateReleaseInTopic(roomId) {
const apiUrl = `${HS_URL}/_matrix/client/v3/rooms/${roomId}/state/m.room.topic/`;
const headers = {
"Content-Type": "application/json",
"Authorization": `Bearer ${TOKEN}`,
};
await fetch(`${HS_URL}/_matrix/client/v3/rooms/${roomId}/join`, {
method: "POST",
headers,
body: "{}",
});
let res = await fetch(apiUrl, {
method: "GET",
headers,
});
const data = await res.json();
const topic = data.topic.replace(regex, releaseTopic);
if (topic === data.topic) {
console.log(roomId, "nothing to do");
return;
}
if (data["org.matrix.msc3765.topic"]) {
data["org.matrix.msc3765.topic"].forEach(d => {
d.body = d.body.replace(regex, releaseTopic);
});
}
res = await fetch(apiUrl, {
method: "PUT",
body: JSON.stringify({
...data,
topic,
}),
headers,
});
if (res.ok) {
console.log(roomId, "topic updated:", topic);
} else {
console.log(roomId, await res.text());
}
}
await updateReleaseInTopic(LOBBY_ROOM_ID);
await updateReleaseInTopic(PUBLIC_ROOM_ID);
await updateReleaseInTopic(ANNOUNCEMENT_ROOM_ID);
Loading

0 comments on commit 545a143

Please sign in to comment.