Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absorb matrix-react-sdk/verji-develop into element-web/verji-develop #1

Open
wants to merge 399 commits into
base: verji-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
399 commits
Select commit Hold shift + click to select a range
5ba8223
feat: Add ShowJoinLeavesSetting UI feature. Added tests, and fixed ol…
May 21, 2024
9a07b7a
feat: Add ShowChatEffectSetting UI feature. added tests.
May 21, 2024
69fd861
feat: Add feature flags for ShowStickersButton, InsertTrailingColon, …
May 21, 2024
6ba54f9
Merge branch 'develop' into verji-develop
eiksta May 21, 2024
dc7be9d
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
May 22, 2024
a2713fb
Merge branch 'develop' into eik/ui_features_account_div1
eiksta May 22, 2024
78a0ab6
fixed errors on merge
eiksta May 22, 2024
8a02492
fixed errors on merge
eiksta May 22, 2024
6b5d664
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
May 22, 2024
96ee992
Merge pull request #41 from verji/rm/1917-Div8
JohnSimonsen May 22, 2024
071c571
Merge branch 'verji-develop' into eik/ui_features_account_div1
eiksta May 23, 2024
a0719f3
new uifeature account div1 checking
eiksta May 23, 2024
2243c34
new uifeature account div1 checkin
eiksta May 23, 2024
0f1b98c
new uifeature account div1 checkin
eiksta May 23, 2024
6b79bb4
new uifeature account div1 checkin
eiksta May 23, 2024
4741203
new uifeature account div1 checkin
eiksta May 23, 2024
06b590d
new uifeature account div1 checkin
eiksta May 23, 2024
fd9195c
new uifeature account div1 checkin
eiksta May 23, 2024
eb13431
new uifeature account div1 checkin
eiksta May 23, 2024
2615ffb
Eik/UI features account div1 (#40)
eiksta May 23, 2024
e9e8f9e
Add Lifecycle hooks again, on updated code
May 28, 2024
9001f40
added CustomLoggedInView custom component wrapper for LoggedInView. A…
May 28, 2024
a57db01
new uifeature account div1 , the rest
eiksta May 28, 2024
c53f83f
Refactor LoggedInView and LegacyRoomHeader to use CustomComponent wra…
May 28, 2024
eb8445c
Merge branch 'verji-develop' into jts/customComponentLifecycles-part1
JohnSimonsen May 28, 2024
23e6e67
added customwrapper for ReactionsRowButtonTooltip, and wrote test fro…
May 31, 2024
a24318b
ran eslint on 6 files
May 31, 2024
3c2a1a0
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
May 31, 2024
f2eedaf
chore: Update import path for MatrixClient in ReactionsRowButtonToolt…
May 31, 2024
b758dbc
update posthog (needed get_property) on PostHogPersitence
Jun 3, 2024
8ffc6c9
Merge pull request #42 from verji/jts/customComponentLifecycles-part1
JohnSimonsen Jun 3, 2024
9c64d51
Merge remote-tracking branch 'origin/verji-develop' into rm/1921-HoC-…
Jun 3, 2024
bd8fa09
revert package json
Jun 3, 2024
a5b1838
eslint / prettier
Jun 3, 2024
99338d8
Merge pull request #43 from verji/rm/1921-HoC-part3
JohnSimonsen Jun 3, 2024
913812e
1928 - verji changes/additions
eiksta Jun 4, 2024
694c46c
1939 - verji changes/additions
eiksta Jun 4, 2024
5e423c3
1928 - verji changes/additions
eiksta Jun 4, 2024
6d24a70
1941 - verji changes/additions
eiksta Jun 4, 2024
56b5e11
1941 - verji changes/additions
eiksta Jun 4, 2024
65d226d
1941 - verji changes/additions
eiksta Jun 4, 2024
69003d7
1941 - verji changes/additions
eiksta Jun 5, 2024
c800230
Merge branch 'verji-develop' into eik/ui_features_account_div1
eiksta Jun 5, 2024
5645bb8
1941 - verji changes/additions
eiksta Jun 5, 2024
7a0b927
1941 - verji changes/additions
eiksta Jun 5, 2024
6fe42c8
1941 - verji changes/additions
eiksta Jun 5, 2024
6fe9ce5
Implemented and tested for task 1937
Jun 5, 2024
23027bb
verji changes/additions
eiksta Jun 5, 2024
c318dcb
verji changes/additions, translations
eiksta Jun 5, 2024
505f395
verji changes/additions, translations
eiksta Jun 5, 2024
1ac0fff
verji changes/additions, translations
eiksta Jun 5, 2024
f76ae37
verji changes/additions, translations
eiksta Jun 5, 2024
102b57e
Eik/UI features account div1 (#45)
eiksta Jun 5, 2024
042bf96
custom wrapper for RoomView and AppDrawer + tests
Jun 5, 2024
2ac21fe
Revert "Eik/UI features account div1 (#45)"
JohnSimonsen Jun 5, 2024
c5ebc56
Merge pull request #46 from verji/revert-45-eik/ui_features_account_div1
JohnSimonsen Jun 5, 2024
45d4cc0
Added missing files that was Verji spes
eiksta Jun 6, 2024
8d5b917
added customwrapper for ReactionsRow. wrote tests. formatted and lint…
Jun 6, 2024
1bace5e
Added missing files that was Verji spes, prettier
eiksta Jun 6, 2024
a936655
Added missing files that was Verji spes, prettier
eiksta Jun 6, 2024
34d1049
Added missing files that was Verji spes,
eiksta Jun 6, 2024
6e0b766
Added missing files that was Verji spes, prettier
eiksta Jun 6, 2024
2d0ef5f
added custom component support for MessageContextMenu + tests.
Jun 6, 2024
48ff556
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Jun 6, 2024
f037e23
removed 'only' from test
Jun 6, 2024
43147cc
Merge pull request #47 from verji/eik/ui_features_account_div1
JohnSimonsen Jun 9, 2024
b123801
Merge pull request #48 from verji/rm/1890-HoC-part2a
JohnSimonsen Jun 9, 2024
9dca3a5
1644 - Hide "Create space"-button on top level (#49)
eiksta Jun 10, 2024
abe70d7
fixed bug (#50)
eiksta Jun 10, 2024
c7b2ca0
feat: Enable "UIFeature.AddSubSpace" feature in SpaceContextMenu. add…
Jun 11, 2024
5038dd4
revert customisations in Tooltip.tsx
Jun 12, 2024
dd3ebb0
feat: Enable "AddSpace" feature in RoomListHeader component. added te…
Jun 12, 2024
942ba2b
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Jun 12, 2024
ba4fce7
Merge pull request #52 from verji/jts/verji-dev-fix
JohnSimonsen Jun 12, 2024
8dc0c21
Merge pull request #51 from verji/rm/1955-Hierarchy-UX-1
JohnSimonsen Jun 12, 2024
9184902
Eik/hide create space button (#54)
eiksta Jun 13, 2024
ccc0802
Eik/hide create space button (#55)
eiksta Jun 13, 2024
b9d38c1
fixed bug
eiksta Jun 14, 2024
ee01b72
feat: Add "UIFeature.ShowAddMoreButtonForSpaces" button for spaces in…
Jun 17, 2024
4560de2
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Jun 17, 2024
38fa298
updated reference and ran eslint and prettier
Jun 17, 2024
ca2285e
Merge pull request #56 from verji/rm/1956-Hierarchy-UX-2
JohnSimonsen Jun 17, 2024
1cf7316
feat: added UIFeature.AddExistingRoomToSpace in RoomList component. a…
Jun 18, 2024
6ba06a1
feat: added 'UIFeature.AddExistingRoomToSpace' to RoomListHeader comp…
Jun 19, 2024
752f8d8
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Jun 19, 2024
61c2f1f
feat: Add "UIFeature.AddSpace" tests
Jun 20, 2024
23e30bf
chore: Remove redundant code in RoomListHeader-test.tsx
Jun 20, 2024
eedf310
Merge pull request #57 from verji/rm/1957-Hierarchy-UX-3
JohnSimonsen Jun 20, 2024
1e9d889
Fixed changes in logout
eiksta Jun 20, 2024
800b8b5
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
eiksta Jun 20, 2024
8d6b4f0
Adjustments needed for onboarding-module
Jun 20, 2024
4bbc57d
feat: Added 'UIFeature.ShowExploreRoomsButton' to LeftPanel. created …
Jun 21, 2024
3eea61b
Merge pull request #58 from verji/jts/verji-dev-fix
JohnSimonsen Jun 21, 2024
050d60f
Added 'UIFeature.ShowAddWidgetsInRoomInfo' to RoomSummaryCard. create…
Jun 21, 2024
f6dfd5a
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Jun 21, 2024
c57a382
Merge pull request #59 from verji/rm/1963-Hierarchy-UX-7
JohnSimonsen Jun 21, 2024
72d4519
1873 Remove possibility for user to send message room|persons (#60)
eiksta Jun 24, 2024
60fd141
added UIFeature.ShowPlusMenuForMetaSpace to RoomListHeader.tsx
Jun 25, 2024
de5e146
Eik/hide possiblity to send message (#61)
eiksta Jun 25, 2024
50f79f1
feat: Add logic to show/hide "Start Chat" plus-button in RoomList.tsx…
Jun 26, 2024
f18c9a1
feat: Add logic to show/hide "Add room" plus-button in RoomList.tsx: …
Jun 26, 2024
b57e3bf
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Jun 26, 2024
c46a928
Merge pull request #62 from verji/rm/1962-Hierarchy-UX-6
JohnSimonsen Jun 26, 2024
d475f1b
smuggle in close dialog in onboarding-module, fix unable to invite ex…
Jun 26, 2024
c372fc6
Merge pull request #63 from verji/jts/fix-verji-onbaording
JohnSimonsen Jun 26, 2024
6ab1b6b
feat: Add conditional rendering for RoomFacePile in SpaceRoomView. Fe…
Jun 28, 2024
00bbf09
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Jun 28, 2024
3edf2e7
ran prettier on RoomInfoLine component
Jul 1, 2024
ebd2918
Merge pull request #64 from verji/rm/1968-Hierarchy-UX-8
JohnSimonsen Jul 1, 2024
425aa5d
can now add existing and already onboarded users
Jul 1, 2024
2f54c6f
remove logging
Jul 2, 2024
1692afa
Merge pull request #65 from verji/jts/fix-verji-onbaording
JohnSimonsen Jul 2, 2024
80aa32f
chore: Add option to show/hide "Leave space" in context menu. created…
Jul 4, 2024
68437a1
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Jul 4, 2024
4a16bf4
Revert "Merge branch 'verji-develop' of https://github.com/verji/matr…
Jul 4, 2024
6a1173b
reverted a bad commit.
Jul 4, 2024
88752da
feat: Add conditional rendering for RoomFacePile in SpaceRoomView. ad…
Jul 5, 2024
a518639
Merge pull request #66 from verji/rm/1972-UX9
JohnSimonsen Jul 5, 2024
4d9627b
Merge pull request #67 from verji/rm/1974-UX10
JohnSimonsen Jul 5, 2024
bcc91a7
Eik/hide possiblity to send message (#68)
eiksta Aug 1, 2024
fe5b96a
Eik/reactivate securitytab (#69)
eiksta Aug 12, 2024
7b60af3
Eik/reactivate securitytab (#70)
eiksta Aug 12, 2024
d8300bc
fix build errors
Aug 12, 2024
b45312e
eslint / prettier
Aug 12, 2024
c0336d5
Merge pull request #71 from verji/jts/fix-build-issues
JohnSimonsen Aug 12, 2024
e53c25f
Generate a string arary of userIds in current space, and use list to …
Aug 14, 2024
6efa567
fix type-o
Aug 14, 2024
040bacb
Bring develop to version 3.100.0 (#73)
thoraj Aug 15, 2024
4a10fd0
Merge branch 'develop' into verji-develop
thoraj Aug 15, 2024
f8b45e1
Fix merge errors from after merging 3.100.0
thoraj Aug 15, 2024
8b8597e
hardcode verji org in install deps script
Aug 16, 2024
b125cdc
trigger change
Aug 16, 2024
b96c426
modify install-deps to install matrix-react-sdk-module-api from verji…
Aug 16, 2024
f1288a5
add comment
Aug 16, 2024
4b10813
trigger
Aug 16, 2024
05b6f89
fix path to install module api
Aug 16, 2024
3c437da
trigger
Aug 16, 2024
58e9a6f
build module-api
Aug 16, 2024
facfdf4
trigger
Aug 16, 2024
14c476a
build module-api
Aug 16, 2024
6271586
trigger
Aug 16, 2024
257ebf3
try without frozen lock file in module-api
Aug 16, 2024
d38c5a8
trigger
Aug 16, 2024
ba9f3be
WIP: Attempt to fix merge hell where changes got lost
thoraj Aug 16, 2024
1af503d
Merge tag 'v3.100.0' into taj/verji-develop-2
thoraj Aug 16, 2024
a7aa357
Fix issues after upgarding/merging in v3.100.0
thoraj Aug 16, 2024
3e7cd7b
Fix issues after bringing in (merging) 3.100.0
thoraj Aug 16, 2024
72f5def
fix issues after syncing with upstream 3.100.0
thoraj Aug 16, 2024
fd850e9
Merge remote-tracking branch 'origin/verji-develop' into jts/verji-de…
Aug 16, 2024
aac657f
applied invite and confirm dialog css
Aug 18, 2024
9eb9448
Merge pull request #77 from verji/jts/verji-develop-2-merge
JohnSimonsen Aug 19, 2024
105311a
Merge pull request #72 from verji/jts/1989-invite-suggestions
JohnSimonsen Aug 20, 2024
50741d7
trigger
Aug 20, 2024
6eeffe5
eslint
Aug 20, 2024
479c32e
prettier
Aug 20, 2024
7b96873
Merge remote-tracking branch 'origin/jts/github-acions' into jts/gith…
Aug 20, 2024
58cdffa
edit scripts
Aug 20, 2024
bd2ca44
use verji instead of vector-im in script
Aug 20, 2024
3fda611
attempt skip
Aug 20, 2024
e4e7314
skip failing test due to verji-customisations
Aug 20, 2024
33c7aee
Merge branch 'verji-develop' into jts/github-action-trigger-branch
JohnSimonsen Aug 21, 2024
b6ac8a5
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Aug 22, 2024
8c5f697
added translations for guest onboarding in English and Bokmål
Aug 22, 2024
665df7a
Merge pull request #78 from verji/jts/github-action-trigger-branch
JohnSimonsen Aug 22, 2024
1d0aa67
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Aug 22, 2024
4fa93fc
Merge pull request #80 from verji/rm/1995-invite-dialog
JohnSimonsen Aug 22, 2024
f969c2a
fixing tests part one 1
Aug 22, 2024
128f0be
fix invite dialog tests
Aug 23, 2024
b779047
lint fix
Aug 23, 2024
3a656af
update snapshots
Aug 23, 2024
969e7d2
eslint
Aug 23, 2024
efbee45
prettier
Aug 23, 2024
e5be883
Merge pull request #81 from verji/jts/github-action-trigger-branch
JohnSimonsen Aug 23, 2024
25e4b15
update snapshot
Aug 23, 2024
31696a6
fix tests
Aug 23, 2024
0690b13
increase timeout of test
Aug 23, 2024
b7faa59
see if timeout is really the issue
Aug 23, 2024
0408e0d
mock rust sdk feature flag in tests, because we have hardcoded featur…
Aug 23, 2024
47981d8
eslint and prettier
Aug 23, 2024
b9f1c89
Eik/hide labs and sharedinvites (#84)
eiksta Aug 23, 2024
0da6bb7
link module-api in layered sh.
Aug 23, 2024
802fa1f
Revert "Eik/hide labs and sharedinvites (#84)"
JohnSimonsen Aug 23, 2024
20cf7ab
Merge pull request #85 from verji/revert-84-eik/hide_labs_and_sharedi…
JohnSimonsen Aug 23, 2024
5e8acf3
trigger tests
Aug 23, 2024
64eb521
Skip failing checks we don't have time to fix now
Aug 26, 2024
1f482f6
Merge pull request #83 from verji/jts/github-action-trigger-branch
JohnSimonsen Aug 26, 2024
336fae8
Taj/1976 usersearch 168 1 (#87)
thoraj Aug 27, 2024
a4c3753
Disable "Analyse Dead Code" as it is failing, after adding usersearch…
Aug 27, 2024
880cbf3
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Aug 27, 2024
87db3b8
Eik/hide labs and sharedinvites (#86)
eiksta Aug 28, 2024
7242f77
Eik/hide labs and sharedinvites (#89)
eiksta Aug 28, 2024
d187e04
add translations for usermenu-module
Aug 28, 2024
f15eaf6
Eik/hide labs and sharedinvites (#90)
eiksta Aug 29, 2024
9b95d50
Eik/hide labs and sharedinvites (#91)
eiksta Aug 29, 2024
017fc1f
Feature flag for "inviteToSpace"-button with tests
Aug 29, 2024
11d535c
Merge remote-tracking branch 'origin/verji-develop' into jts/1998-inv…
Aug 29, 2024
8e70fbd
Merge pull request #92 from verji/jts/1998-invite-to-space
JohnSimonsen Aug 29, 2024
590da6d
Eik/hide labs and sharedinvites (#93)
eiksta Aug 30, 2024
25b0ca9
push before ssd swap
Sep 10, 2024
23f4da5
2010 Add News and Operatting messages as a component
eiksta Sep 17, 2024
ad59643
Working userSearch, w/o suggestions (invitedialog/spotlight)
Sep 18, 2024
f1cf4af
remove logging
Sep 18, 2024
a250f1f
prettier and eslint
Sep 18, 2024
e043a74
Point to specific branch of github package reference
thoraj Sep 19, 2024
755ef91
2010 add news component
eiksta Sep 19, 2024
d07f0e6
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
eiksta Sep 19, 2024
b966fe6
added tests, new feature flag for hiding "recents" in invite dialog s…
Sep 20, 2024
27c6595
eslint
Sep 20, 2024
ef73d22
Merge pull request #94 from verji/jts/2006-improve-search
JohnSimonsen Sep 20, 2024
328035b
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
eiksta Sep 25, 2024
273a82c
Update verji-onboarding-module Lifecycle hook to CustomComponentLifec…
Sep 25, 2024
7e690bc
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
eiksta Sep 25, 2024
8f6cead
Metaspace Other rooms(MetaSpace.Orphans) now also affected by feature…
Oct 1, 2024
c902733
eslint / prettier
Oct 2, 2024
d950e1e
eslint
Oct 2, 2024
317d230
Merge pull request #95 from verji/jts/2039-hide-other-rooms+
JohnSimonsen Oct 2, 2024
80eeffc
Only follow default validation flow of valid size of export, when Exp…
Oct 4, 2024
cc8043a
eslint
Oct 4, 2024
9ba91bd
Merge pull request #96 from verji/jts/2055-export-chat
JohnSimonsen Oct 4, 2024
5fcf669
1943 - verji changes
eiksta Oct 8, 2024
8083d11
2010 News component
eiksta Oct 9, 2024
8911792
Remove Customisations in "InviteDialog"
Oct 14, 2024
aeb45ea
run eslint
Oct 15, 2024
a781304
fix TabbedView
Oct 15, 2024
878da9e
Skip tests in regards to Verji UIFeature flags
Oct 15, 2024
49fac4c
revert manipulated test to original form
Oct 15, 2024
96af728
remove comments
Oct 15, 2024
8a13a58
2010 News component
eiksta Oct 15, 2024
ce79a53
Merge remote-tracking branch 'origin/verji-develop' into jts/2059-inv…
Oct 15, 2024
c50594a
trigger change
Oct 15, 2024
dad92e0
Merge pull request #97 from verji/jts/2059-invitedialog-custom-compon…
JohnSimonsen Oct 15, 2024
65e3c85
2071 Remove branding in console warning
eiksta Oct 22, 2024
5b29abf
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
eiksta Oct 22, 2024
973a4e6
2071 Remove branding in console warning
eiksta Oct 22, 2024
87fa4c9
2079 Hide widgets option in room context menu
eiksta Oct 22, 2024
f55ee01
Add feature flag: UIFeature.AllowDirectUserInvite
Nov 6, 2024
3ce911b
Merge pull request #98 from verji/jts/2090-allowDirectUserIdInvite
JohnSimonsen Nov 6, 2024
cdd13c4
2080 Translations in web client when inviting
eiksta Nov 13, 2024
553c956
Add feature flag for searchInAllRooms
Nov 15, 2024
d334475
eslint
Nov 15, 2024
49ecd48
skip non-crucial tests
Nov 15, 2024
1590092
Merge pull request #99 from verji/jts/2100-UIFeature-searchInAllRooms
JohnSimonsen Nov 15, 2024
ddb7109
2113 Change "Folk" to "Personer"
eiksta Nov 26, 2024
fcbcc62
add feature flag for "Leave Space"
Nov 28, 2024
497370b
Merge pull request #101 from verji/jts/UIFeature.LeaveSpaceButton
JohnSimonsen Nov 28, 2024
0924306
Improve error message when not permission to invite to tenant
Dec 13, 2024
62d6dc7
Merge branch 'verji-develop' of https://github.com/verji/matrix-react…
Dec 13, 2024
69543e8
Merge remote-tracking branch 'matrix-react-sdk/verji-develop' into ve…
Dec 20, 2024
1fab1bc
buildable state - some warnings -due to modules using matrix-react-sdk
Jan 15, 2025
f5e215d
runnable project with custom components
Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ test/end-to-end-tests/lib/
src/component-index.js
# Auto-generated file
src/modules.ts
src/components/structures/scripts/freshworks.js
7 changes: 6 additions & 1 deletion .github/workflows/static_analysis.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## VERJI WE MUST REVISIT THIS FILE MANUALLY IN PIPELINE / UNSURE WHAT IS NECESSARY TO KEEP
name: Static Analysis
on:
workflow_dispatch:
pull_request: {}
push:
branches: [develop, master]
Expand All @@ -24,7 +26,6 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
cache: "yarn"
Expand All @@ -38,6 +39,8 @@ jobs:

i18n_lint:
name: "i18n Check"
# VERJI skip i18n by setting false
if: ${{false}}
uses: matrix-org/matrix-web-i18n/.github/workflows/i18n_check.yml@main
permissions:
pull-requests: read
Expand All @@ -53,6 +56,8 @@ jobs:
welcome_to_element

rethemendex_lint:
# VERJI skip Rethemendex check by setting false
if: ${{false}}
name: "Rethemendex Check"
runs-on: ubuntu-24.04
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
## VERJI NEEDS TO MANUALLY CHECK THIS ALONG WITH RUNNING ACTION
name: Tests
on:
pull_request: {}
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/verji-release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Verji Release Drafter
on:
push:
branches: [verji-staging]
workflow_dispatch: {}
concurrency: ${{ github.workflow }}
jobs:
draft:
uses: verji/matrix-js-sdk/.github/workflows/release-drafter-workflow.yml@verji-develop
35 changes: 35 additions & 0 deletions build_config.verji.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# A sample build_config.yaml to supply to Element Web's build pipeline,
# enabling custom functionality at compile time. Copy this file to
# `build_config.yaml` in the same directory to use, as you would with
# `config.json`.
#
# Note: The vast majority of users DO NOT need this. If you are looking
# to build your own Element Web as seen on app.element.io or similar then
# this is not required.
#
# This config file does become required if you are looking to add runtime
# functionality to Element Web, such as customisation endpoints and modules.
#
# Over time we might expand this config to better support some use cases.
# Watch the release notes for features which might impact this config.

#
# false => installer will perform checks to try to ensure correct versions of dependencies
# true => installer will skip dependency version checks.
# Enable skipping at your own peril, and manually ensure all modules reference/load the correct version
# of the extension module
#
# This may be useful during development due to limitations/incompatilibilities in "npm list ..."
#
skip_module_dependency_version_check: true

# The modules to install. See ./docs/modules.md for more information on
# what modules are.
#
# The values of this are provided to `yarn add` for inclusion.
modules:
- "@verji/verji-cryptosetup-module"
- "@verji/verji-usermenu-module"
- "@verji/verji-onboarding-module"
- "@verji/verji-usersearch-module"
- "@verji/verji-news-module"
1 change: 1 addition & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const config: Config = {
globalSetup: "<rootDir>/test/globalSetup.ts",
setupFiles: ["jest-canvas-mock", "web-streams-polyfill/polyfill"],
setupFilesAfterEnv: ["<rootDir>/test/setupTests.ts"],
moduleFileExtensions: ["js", "jsx", "json", "ts", "tsx"],
moduleNameMapper: {
"\\.(css|scss|pcss)$": "<rootDir>/__mocks__/cssMock.js",
"\\.(gif|png|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js",
Expand Down
3 changes: 3 additions & 0 deletions module_system/BuildConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export type BuildConfig = {
// Dev note: make everything here optional for user safety. Invalid
// configs are very possible.

// VERJI: Allow config to skip dependency version check
skip_module_dependency_version_check?: boolean;

// The module references to include in the build.
modules?: string[];
};
Expand Down
38 changes: 20 additions & 18 deletions module_system/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,27 @@ export function installer(config: BuildConfig): void {
const pkgJsonStr = fs.readFileSync("./package.json", "utf-8");
const optionalDepNames = getOptionalDepNames(pkgJsonStr);
const installedModules = optionalDepNames.filter((d) => !currentOptDeps.includes(d));

// Ensure all the modules are compatible. We check them all and report at the end to
// try and save the user some time debugging this sort of failure.
const ourApiVersion = getTopLevelDependencyVersion(moduleApiDepName);
const incompatibleNames: string[] = [];
for (const moduleName of installedModules) {
const modApiVersion = getModuleApiVersionFor(moduleName);
if (!isModuleVersionCompatible(ourApiVersion, modApiVersion)) {
incompatibleNames.push(moduleName);
// Verji - this flag is something we have implemented
if(!config.skip_module_dependency_version_check){
// Ensure all the modules are compatible. We check them all and report at the end to
// try and save the user some time debugging this sort of failure.
const ourApiVersion = getTopLevelDependencyVersion(moduleApiDepName);
const incompatibleNames: string[] = [];
for (const moduleName of installedModules) {
const modApiVersion = getModuleApiVersionFor(moduleName);
if (!isModuleVersionCompatible(ourApiVersion, modApiVersion)) {
incompatibleNames.push(moduleName);
}
}
if (incompatibleNames.length > 0) {
console.error(
"The following modules are not compatible with this version of element-web. Please update the module " +
"references and try again.",
JSON.stringify(incompatibleNames, null, 4), // stringify to get prettier/complete output
);
exitCode = 1;
return; // hit the finally{} block before exiting
}
}
if (incompatibleNames.length > 0) {
console.error(
"The following modules are not compatible with this version of element-web. Please update the module " +
"references and try again.",
JSON.stringify(incompatibleNames, null, 4), // stringify to get prettier/complete output
);
exitCode = 1;
return; // hit the finally{} block before exiting
}

// If we reach here, everything seems fine. Write modules.ts and log some output
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@matrix-org/spec": "^1.7.0",
"@sentry/browser": "^8.0.0",
"@vector-im/compound-design-tokens": "^2.0.1",
"@vector-im/compound-web": "^7.5.0",
"@vector-im/compound-web": "^7.6.2",
"@vector-im/matrix-wysiwyg": "2.37.13",
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
Expand Down Expand Up @@ -142,8 +142,10 @@
"react-focus-lock": "^2.5.1",
"react-transition-group": "^4.4.1",
"rfc4648": "^1.4.0",
"rss-parser": "^3.12.0",
"sanitize-filename": "^1.6.3",
"sanitize-html": "2.13.1",
"stream-http": "^3.2.0",
"tar-js": "^0.3.0",
"temporal-polyfill": "^0.2.5",
"ua-parser-js": "^1.0.2",
Expand Down Expand Up @@ -182,6 +184,7 @@
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/commonmark": "^0.27.4",
"@types/content-type": "^1.1.8",
"@types/counterpart": "^0.18.1",
"@types/css-tree": "^2.3.8",
"@types/diff-match-patch": "^1.0.32",
Expand All @@ -205,9 +208,11 @@
"@types/react-beautiful-dnd": "^13.0.0",
"@types/react-dom": "18.3.1",
"@types/react-transition-group": "^4.4.0",
"@types/sanitize-html": "2.13.0",
"@types/sanitize-html": "2.11.0",
"@types/sdp-transform": "^2.4.6",
"@types/seedrandom": "3.0.4",
"@types/semver": "^7.5.8",
"@types/tar-js": "^0.3.5",
"@types/tar-js": "^0.3.2",
"@types/ua-parser-js": "^0.7.36",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
Expand Down Expand Up @@ -272,9 +277,7 @@
"prettier": "3.4.2",
"process": "^0.11.10",
"raw-loader": "^4.0.2",
"rimraf": "^6.0.0",
"semver": "^7.5.2",
"source-map-loader": "^5.0.0",
"rimraf": "^5.0.0",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-scss": "^6.0.0",
Expand Down
6 changes: 6 additions & 0 deletions res/css/_components.pcss
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/* autogenerated by rethemendex.sh */

/* ----- Verji start ----- */
@import "./views/dialogs/_InviteNewMembersDialog.scss";
@import "./views/dialogs/_ConfirmInviteExternalUsersDialog.scss";
/* ----- Verji end ----- */

@import "./_animations.pcss";
@import "./_common.pcss";
@import "./_font-sizes.pcss";
Expand Down
1 change: 1 addition & 0 deletions res/css/structures/_HomePage.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Please see LICENSE files in the repository root for full details.
height: 100%;
margin-left: auto;
margin-right: auto;
max-height: 100%;
}

.mx_HomePage_default {
Expand Down
42 changes: 42 additions & 0 deletions res/css/structures/_LeftPanel.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,39 @@ Please see LICENSE files in the repository root for full details.
}
}

.mx_LeftPanel_omButton,
.mx_LeftPanel_newsButton {
width: 32px;
height: 32px;
border-radius: 8px;
background-color: $panel-actions;
position: relative;
margin-left: 8px;
margin-top: 2px;
margin-bottom: 2px;

&::before {
content: "";
position: absolute;
top: 8px;
left: 8px;
width: 16px;
height: 16px;
mask-position: center;
mask-size: contain;
mask-repeat: no-repeat;
background-color: $secondary-content;
}

&:hover {
background-color: $tertiary-content;

&::before {
background-color: $background;
}
}
}

.mx_LeftPanel_exploreButton,
.mx_LeftPanel_recentsButton {
width: 32px;
Expand Down Expand Up @@ -171,6 +204,15 @@ Please see LICENSE files in the repository root for full details.
}
}

//Verji start
.mx_LeftPanel_newsButton::before {
mask-image: url("$(res)/img/verji/news.svg");
}
.mx_LeftPanel_omButton::before {
mask-image: url("$(res)/img/verji/shield.svg");
}
//Verji end

.mx_LeftPanel_exploreButton::before {
mask-image: url("$(res)/img/element-icons/roomlist/explore.svg");
}
Expand Down
61 changes: 61 additions & 0 deletions res/css/structures/_MiscHeader.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
ROSBERG FILE
*/

.mx_MiscHeaderButtons {
display: flex;
&::before {
content: unset;
}
}

.mx_MiscHeaderButtons::before {
content: "";
//background-color: $header-divider-color;
opacity: 0.5;
margin: 6px 8px;
border-radius: 1px;
width: 1px;
}

.mx_MiscHeader_miscButton {
cursor: pointer;
flex: 0 0 auto;
margin-left: 1px;
margin-right: 1px;
height: 32px;
width: 32px;
position: relative;
border-radius: 100%;

&::before {
content: "";
position: absolute;
top: 4px; // center with parent of 32px
left: 4px; // center with parent of 32px
height: 24px;
width: 24px;
background-color: $icon-button-color;
mask-repeat: no-repeat;
mask-size: contain;
}

&:hover {
//background: rgba($accent-color, 0.1);

&::before {
//background-color: $accent-color;
}
}
}

.mx_MiscHeader_miscButton_highlight {
&::before {
//background-color: $accent-color !important;
}
}

.mx_MiscHeader_roomSupportButton::before {
mask-image: url("$(res)/img/element-icons/settings/help.svg");
mask-position: center;
}
4 changes: 4 additions & 0 deletions res/css/structures/_RightPanel.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ Please see LICENSE files in the repository root for full details.
mask-image: url("@vector-im/compound-design-tokens/icons/info-solid.svg");
mask-position: center;
}
.mx_RightPanel_supportButton::before {
mask-image: url("$(res)/img/element-icons/settings/help.svg");
mask-position: center;
}

.mx_RightPanel_pinnedMessagesButton {
&::before {
Expand Down
26 changes: 26 additions & 0 deletions res/css/structures/_RoomView.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,32 @@ Please see LICENSE files in the repository root for full details.
margin-bottom: 80px; /* visually center the content (intentional offset) */
}

// Verji start
@keyframes fade1 {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.mx_RoomView_News1 {
animation: 0.2s ease-out 0s 0.2 fade1;
}

@keyframes fade2 {
0% {
transform: translateX(70px);
}
100% {
transform: translateX(0);
}
}
.mx_RoomView_News2 {
animation: 0.2s ease 0s 0.2 fade2;
}
// Verji end

.mx_RoomView_MessageList {
list-style-type: none;
padding: var(--RoomView_MessageList-padding); /* mx_ProfileResizer depends on this value */
Expand Down
Loading
Loading