Commit graph

2722 commits

Author SHA1 Message Date
Danila Fedorin
7f907427ee Add type annotations to RoomMemberStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
243d0e76ff Add more data to member interface 2021-08-17 09:57:35 -07:00
Danila Fedorin
ec38337223 Start migrating RoomMemberStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
9b4b303b01 Add type annotations to RoomStateStore.
Not sure how to type events, since they're so malleable.
2021-08-17 09:57:35 -07:00
Danila Fedorin
50897cfbe3 Start migrating RoomStateStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
8e93487ebe Add type annotations to TimelineRelationStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
ddf09af05b Start migrating TimelineRelationStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
d07c38effd Migrate common.ts 2021-08-17 09:57:35 -07:00
Danila Fedorin
3b5b91cf1b Update signatures in other stores to return promises 2021-08-17 09:57:35 -07:00
Danila Fedorin
88ecc58b14 Add initial translation of TimelineEventStore.js 2021-08-17 09:57:35 -07:00
Danila Fedorin
53228e88a2 Start migrating TimelineEventStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
de6fdba526 Make operations return promises 2021-08-17 09:57:35 -07:00
Danila Fedorin
29c87b7c01 Add initial translation of InviteStore.js 2021-08-17 09:57:35 -07:00
Danila Fedorin
8ad2857c6a Annotate with return types 2021-08-17 09:57:35 -07:00
Danila Fedorin
f8613e9e96 Add initial translation of RoomSummaryStore.js 2021-08-17 09:57:35 -07:00
Danila Fedorin
5177c35d0d Add initial translation of SessionStore.js 2021-08-17 09:57:35 -07:00
Danila Fedorin
97a50c835d Add initial stab at annotating Store 2021-08-17 09:57:35 -07:00
Danila Fedorin
2b44878332 Restrict type for iterateCursor 2021-08-17 09:57:35 -07:00
Danila Fedorin
46c306b487 Start migrating Store.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
e837a91a80 Stop relying on QueryTargetWrapper in QueryTarget. 2021-08-17 09:57:35 -07:00
Danila Fedorin
1d5b105c34 Add initial stab at annotating QueryTarget 2021-08-17 09:57:35 -07:00
Danila Fedorin
fefa15cd85 Start migrating QueryTarget.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
a31f6a2c52 Add initial stab at annotating error 2021-08-17 09:57:35 -07:00
Danila Fedorin
69ab345a89 Start migrating error.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
a0017cb720 Seemingly fix a bug in utils.ts 2021-08-17 09:57:35 -07:00
Danila Fedorin
0c80f78e9b Add initial stab at annotating utils 2021-08-17 09:57:35 -07:00
Danila Fedorin
4fb93ad104 Start migrating utils.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
caed99df69 Add initial stab at annotating common 2021-08-17 09:57:35 -07:00
Danila Fedorin
96a4ef47a7 Start migrating common.js to TypeScript 2021-08-17 09:57:35 -07:00
Bruno Windels
b6d0d54241 explicitly name snowpack build ouput dir, and remove it after build 2021-08-17 17:20:48 +02:00
Bruno Windels
522f8d085a exclude the polyfill files as well from being transpiled
as they are not used in the development build
2021-08-17 12:53:36 +02:00
Bruno Windels
ebd177263a disable HMR as we won't be using it any time soon I imagine.
this prevents the HMR code from loading at runtime
2021-08-17 12:53:00 +02:00
Bruno Windels
ce273d8761 make tests run again with typescript support 2021-08-17 12:52:50 +02:00
Danila Fedorin
b8e32a03f8 Invoke snowpack from build script 2021-08-09 13:30:25 -07:00
Danila Fedorin
38bdeae4d4 Mount more source folders 2021-08-06 13:19:37 -07:00
Danila Fedorin
d2f32ca3a5 Run snowpack on 'yarn start' 2021-08-06 13:05:40 -07:00
Danila Fedorin
86242daf3b Add basic typescript configuration 2021-08-06 12:59:18 -07:00
Danila Fedorin
3c5b186e31 Switch BaseEntry to TypeScript 2021-08-06 12:54:06 -07:00
Danila Fedorin
b8c8325292 Copy olm and remove dompurify symlink 2021-08-06 12:46:41 -07:00
Danila Fedorin
31c6aa647b Switch to using snowpack-provided dompurify 2021-08-06 12:39:00 -07:00
Danila Fedorin
f6b2d2cca8 Move index.html to a different place 2021-08-06 12:34:20 -07:00
Danila Fedorin
177dfd339a Add a basic snowpack configuration 2021-08-06 12:17:03 -07:00
Danila Fedorin
973b33c032 Add snowpack and typescript dependencies 2021-08-06 12:15:23 -07:00
Bruno Windels
5675895301
Merge pull request #447 from MidhunSureshR/avatar-memberlist-link
Link to member-panel from avatar
2021-08-06 15:44:57 +00:00
RMidhunSuresh
1ce111c317 Css fix
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 21:07:30 +05:30
RMidhunSuresh
b97b9da14a Link to member-panel from avatar
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 20:51:39 +05:30
Bruno Windels
7d9ccb9a3a
Merge pull request #432 from MidhunSureshR/sync-powerlevels
Member Panel - PR 3 - Update powerlevels from state event
2021-08-06 15:02:21 +00:00
RMidhunSuresh
be57352f71 Move PowerLevels.js into /room
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 19:49:48 +05:30
RMidhunSuresh
1a062f69fd Check state_key is zero-length string
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 19:02:50 +05:30
RMidhunSuresh
d85cf982cc Check if state_key is present
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 17:34:21 +05:30