Michael Telatynski
3e4f02b41e
Update notify-downstream.yaml ( #2371 )
2022-05-14 01:27:54 -06:00
Michael Telatynski
af17fb27b8
Attempt to re-structure workflows to be more generic & reusable ( #2364 )
...
* Attempt to re-structure workflows to be more generic & reusable
* Iterate for reusable workflows can't call each other
* don't pass pullrequest params if no prnumber
* Comments
* Fix reusable workflow call
* Pass pr_id properly
* Fix run condition for prdetails job
* Fix needs dependency
* Stash work so far
* Fix copypasta
* Update
* Define outputs from pr_details.yml
* Fix output reporting
* Fix something or other
2022-05-13 23:14:46 +01:00
Michael Telatynski
72013341db
More sonar tweaks and typing improvements ( #2366 )
...
* More sonar tweaks and typing improvements
* delint
* Write some tests
* Attempt to make TS happy
* Stash tests
* Add tests
* Add `istanbul ignore if` around logging special-case for test env
* Add test
* Comments
2022-05-13 18:08:36 +00:00
Michael Telatynski
6f445ca99a
Add stopClient parameter to MatrixClient::logout ( #2367 )
...
* Add stopClient parameter to MatrixClient::logout
* Add short-circuit
2022-05-13 19:00:06 +01:00
Michael Telatynski
e2af78d8d3
Make pull_request.yaml between the layers consistent and fix enforce labels ( #2368 )
2022-05-13 18:51:48 +01:00
Michael Telatynski
4721aa1d24
Fix up more types & Sonar warnings ( #2363 )
...
* Fix up more types & Sonar warnings
* Fix test
* Add first test for callEventHandler
2022-05-12 10:12:39 +01:00
Michael Telatynski
4d4d6e1411
NodeURL isn't needed as Node exports the standard URL c'tor as global ( #2361 )
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2022-05-11 17:04:10 +01:00
Michael Telatynski
67f5293d6c
Tweaks for sonar to correctly report on forked PRs ( #2359 )
2022-05-11 16:42:25 +01:00
Janne Mareike Koschinski
923ff4b282
registration: add function to re-request email token ( #2357 )
2022-05-11 13:17:36 +02:00
Michael Telatynski
49dd76b91e
Remove redundant checkKey param on isSecretStored ( #2360 )
2022-05-11 10:53:52 +01:00
Michael Telatynski
34cfa51104
Pass more args to Sonar ( #2358 )
...
* Pass projectVersion to Sonar
* Fix s'more
* Fix sonar.lang.patterns.ts
* Apply more tweaks
Based on https://community.sonarsource.com/t/how-to-use-sonarcloud-with-a-forked-repository-on-github/7363/28
2022-05-10 17:11:07 +01:00
Michael Telatynski
685276f056
Pass more args to Sonar ( #2356 )
...
* Pass projectVersion to Sonar
* Fix s'more
* Fix sonar.lang.patterns.ts
2022-05-10 16:49:03 +01:00
RiotRobot
03a79dc6dd
Resetting package fields for development
2022-05-10 14:50:07 +01:00
RiotRobot
83a4881498
Merge branch 'master' into develop
2022-05-10 14:50:07 +01:00
RiotRobot
e29ee105aa
v17.2.0
v17.2.0
2022-05-10 14:46:15 +01:00
RiotRobot
454eb7e627
Prepare changelog for v17.2.0
2022-05-10 14:46:15 +01:00
Travis Ralston
62d77231af
Remove spec v1.3 check for threads ( #2354 )
...
* Remove spec v1.3 check for threads
Citation: https://matrix.to/#/!ewdjhNcPcEmYNKzlWp:t2l.io/$CkPuvKdFZyFL547JCy5J3MfvLaWUo_a1XEdmiop1PKc?via=matrix.org&via=element.io&via=envs.net
* Enable stable support always for threads
* Fix tests differently
2022-05-09 16:11:04 -06:00
Michael Telatynski
706b4d6054
Improve typing ( #2352 )
...
* Fix typing of the store interface
* Fix typed s'more
* re-add check
* Be less dumb
* arg
* Fix types
2022-05-09 11:58:52 +01:00
Šimon Brandner
da69ca215b
Implement changes to MSC2285 (private read receipts) ( #2221 )
...
* Add `ReceiptType`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Implement changes to MSC2285
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Improve tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Apply suggestions from review
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Update `getEventReadUpTo()` to handle private read receipts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Write tests for `getEventReadUpTo()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Give `getReadReceiptForUserId()` a JSDOC
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Types!
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Try to use receipt `ts`s
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-05-06 21:32:41 +02:00
Travis Ralston
95a94cdbe3
Remove hacky custom status feature ( #2350 )
...
This is unstable, so should be more than safe to just outright remove without notice.
2022-05-06 13:20:54 -06:00
Michael Telatynski
6b5f4aa0a9
Prune both clear & wire content on redaction ( #2346 )
2022-05-05 07:14:23 +01:00
Michael Telatynski
dea3f52fe9
Another SonarQube happiness pass ( #2347 )
2022-05-04 21:34:21 -06:00
Michael Telatynski
a388fde3e2
Tweak sonar-project.properties ( #2348 )
2022-05-04 15:36:00 -04:00
Šimon Brandner
1cde686a13
MSC3786: Add a default push rule to ignore m.room.server_acl events ( #2333 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-05-04 16:22:43 +02:00
Michael Telatynski
592f2931dc
Add label to dependency upgrade PRs ( #2345 )
2022-05-04 14:27:42 +01:00
Michael Telatynski
030fcb57a5
Update upgrade_dependencies.yml ( #2343 )
2022-05-03 22:44:57 +01:00
Michael Telatynski
8be30acb11
Apply suggestions from SonarQube ( #2340 )
2022-05-03 15:40:57 -06:00
github-actions[bot]
b86630f0e3
Upgrade dependencies ( #2342 )
...
Co-authored-by: t3chguy <t3chguy@users.noreply.github.com >
2022-05-03 22:10:41 +01:00
Michael Telatynski
81c89f69c5
Create manual action for upgrading dependencies after rc cut ( #2341 )
2022-05-03 21:54:18 +01:00
Michael Telatynski
9b633251d5
Add README badges ( #2335 )
2022-05-03 14:52:44 -06:00
RiotRobot
70c6a4b567
v17.2.0-rc.1
v17.2.0-rc.1
2022-05-03 15:20:39 +01:00
RiotRobot
5cd615c495
Prepare changelog for v17.2.0-rc.1
2022-05-03 15:20:38 +01:00
Michael Telatynski
88f5ea675d
Tweak sonarqube run ( #2339 )
2022-05-03 14:46:36 +01:00
Michael Telatynski
ac5fee0a69
Fix race conditions around threads ( #2331 )
2022-05-03 14:25:17 +01:00
Michael Telatynski
274d6a9597
Add CI to require labels on PRs for better changelog management ( #2337 )
2022-05-03 10:34:55 +01:00
Michael Telatynski
d190cdc307
Switch coverage to SonarQube ( #2334 )
2022-05-02 08:32:53 +00:00
Michael Telatynski
b896111269
Apply corrections identified by SonarQube ( #2336 )
...
* Apply corrections identified by SonarQube
* Apply corrections identified by SonarQube
* Make type more flexible
2022-05-02 03:23:17 +01:00
Aaron Raimist
6137afeb28
Mark room versions 7, 8, and 9 as safe ( #2318 )
...
* Mark room versions 7, 8, and 9 as safe
Workaround for https://github.com/vector-im/element-web/issues/20166 https://github.com/vector-im/element-web/issues/11820
* Update KNOWN_SAFE_ROOM_VERSION to room version 9
2022-05-01 19:10:09 -06:00
Michael Telatynski
2ebf33544f
Try SonarCloud ( #2330 )
2022-04-29 11:07:35 +01:00
Michael Telatynski
45f1991d4e
Correctly specify minimum Node version ( #2324 )
2022-04-29 11:02:05 +01:00
Michael Telatynski
aa283a3c9e
Update CONTRIBUTING.md ( #2329 )
2022-04-28 15:48:21 +01:00
Kerry
34ee566d88
Live location sharing: handle encrypted messages in processBeaconEvents ( #2327 )
...
* handle encrypted locations
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix processBeaconEvents to handle encrypted events
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-28 16:42:37 +02:00
RiotRobot
3649cf46d3
Resetting package fields for development
2022-04-26 11:34:42 +01:00
RiotRobot
8f00eb6771
Merge branch 'master' into develop
2022-04-26 11:34:42 +01:00
Michael Telatynski
01ec51891a
Merge remote-tracking branch 'origin/release-v17.1.0'
...
# Conflicts:
# CHANGELOG.md
# package.json
# src/client.ts
# src/models/room.ts
# src/models/thread.ts
# src/sync.ts
2022-04-26 11:31:20 +01:00
RiotRobot
738876a563
v17.1.0
v17.1.0
2022-04-26 11:13:47 +01:00
RiotRobot
2d9b4b3896
Prepare changelog for v17.1.0
2022-04-26 11:13:46 +01:00
Michael Telatynski
ba06e430c4
Ignore m.replace relations on state events, they're invalid ( #2306 )
...
* Ignore m.replace relations on state events, they're invalid
* Add tests
* Fix test
Co-authored-by: Kerry <kerrya@element.io >
2022-04-26 10:02:36 +00:00
Michael Telatynski
ac08e52410
De-duplicate code and fix types ( #2319 )
2022-04-25 17:15:35 +01:00
David Baker
1bb82108b7
fix example in readme ( #2315 )
...
Co-authored-by: Matthew Hodgson <matthew@matrix.org >
2022-04-22 12:04:31 +01:00