Commit graph

2813 commits

Author SHA1 Message Date
Bruno Windels 0ec86b6dc1 Merge branch 'master' into bwindels/vite-mvp 2021-12-09 18:07:17 +01:00
Bruno Windels d9ff4a8484 sw.js is not part of the sdk yet, so just put the path in index.html 2021-12-09 17:12:08 +01:00
Bruno Windels 62827b92b7 implement placeholder replacement so it still works with minification 2021-12-09 16:37:31 +01:00
Bruno Windels 23e0d3f2ff get notification badge icon url through import now we transpile the sw 2021-12-09 15:13:05 +01:00
Bruno Windels a4fac68393 use same method for setting version and build hash placeholder in sw
also better naming in service worker plugin
2021-12-09 14:36:12 +01:00
Bruno Windels f934262e35 also use global hash var here 2021-12-09 12:22:17 +01:00
Bruno Windels 8e4da396ea replace global hash in given chunks 2021-12-09 12:15:17 +01:00
Bruno Windels 180681b602 manifest ends up in assets folder, index.html in parent folder 2021-12-08 18:29:32 +01:00
Bruno Windels 4c2c99fc07 actually remove lookbehind 2021-12-08 18:05:57 +01:00
Bruno Windels c8b0354d07 dont use lookbehind in regular expressions, safari & older firefoxes choke on them 2021-12-08 18:00:37 +01:00
Bruno Windels c87628b614 cleanup 2021-12-06 15:40:15 +01:00
Bruno Windels 5bd28da4f3 loading olm from the worker was broken, reading the wrong global 2021-12-06 15:35:08 +01:00
Bruno Windels 155cd4c9bd make olmPath absolute if it isn't already 2021-12-06 13:49:14 +01:00
Bruno Windels 9a3f74c6fb load service worker in production mode, adjust development flag 2021-12-03 10:42:38 +01:00
Bruno Windels d91aaabeb3
Merge pull request #596 from vector-im/ts-conversion-matrix-sessioninfo
Convert matrix/sessioninfo to typescript
2021-12-02 09:29:11 +01:00
Bruno Windels 9042520916
Merge pull request #595 from vector-im/ts-conversion-matrix-push
Convert /matrix/push to typescript
2021-12-02 09:28:59 +01:00
Bruno Windels d3ab961364
Merge pull request #593 from vector-im/ts-conversion-matrix-login
Convert /matrix/login to typescript
2021-12-02 09:28:47 +01:00
RMidhunSuresh 0c46460861 Add comment 2021-12-02 11:20:40 +05:30
RMidhunSuresh 9f82e7f7fc Add proper type 2021-12-02 11:17:41 +05:30
Bruno Windels bb9362ee8b only import node-html-parser when running the unit tests 2021-12-01 17:26:00 +01:00
Bruno Windels 1a618dd106 only import fake-indexeddb in tests
as it is a devDependency and can end up in the legacy bundle
under circumstances
2021-12-01 17:25:07 +01:00
Bruno Windels b469d03677 config is at same level as paths 2021-12-01 14:05:50 +01:00
Bruno Windels de24034b22 remove secondary theme as vite puts them in one bundle 2021-12-01 13:30:58 +01:00
Bruno Windels 7e1818b285 Merge branch 'master' into bwindels/vite-mvp 2021-12-01 12:30:33 +01:00
Bruno Windels 85385a0aa7 adjust path 2021-12-01 09:43:58 +01:00
Bruno Windels 8c3ae57497 fix Iterator vs IterableIterator confusion 2021-11-30 17:05:39 +01:00
Bruno Windels de8995fa7e fix handlers in test missing methods, now that observable list is typed 2021-11-30 16:58:56 +01:00
Bruno Windels 581ef47c78 fix conflicting sortedIndex declaration 2021-11-30 16:53:59 +01:00
Bruno Windels fc3eb7f57f Merge branch 'master' into bwindels/typescript-observable-2 2021-11-30 16:37:43 +01:00
Bruno Windels ef712b16f5
Merge pull request #584 from vector-im/ts-conversion-utils
Convert /utils to typescript
2021-11-30 14:13:09 +01:00
RMidhunSuresh 66fbc37ec4 Remove comments 2021-11-30 14:15:49 +05:30
RMidhunSuresh 6699b71bd5 transformer is optional 2021-11-30 13:38:25 +05:30
RMidhunSuresh fe77b71c97 use transformer function 2021-11-30 13:28:28 +05:30
RMidhunSuresh 104590e34d Use ! in test 2021-11-29 11:48:05 +05:30
RMidhunSuresh d981a85239 Filter token out of stack trace 2021-11-29 11:43:43 +05:30
Bruno Windels ae7d4d07df use .name so we don't need an import 2021-11-25 15:42:36 +01:00
Bruno Windels 229c584138 don't fail login if dehydrated devices are not supported 2021-11-25 15:38:13 +01:00
RMidhunSuresh bb18af414b Convert SessionInfoStorage.js to ts 2021-11-25 15:18:03 +05:30
RMidhunSuresh 3d9fbb685a Convert Pusher.js to ts 2021-11-25 13:23:05 +05:30
RMidhunSuresh 346e95c33c Change return type 2021-11-25 12:33:12 +05:30
RMidhunSuresh a31860dc5f Fix formatting 2021-11-24 14:55:44 +05:30
RMidhunSuresh c54ca168ed Convert SSOLoginHelper.js to ts 2021-11-24 14:49:08 +05:30
RMidhunSuresh a1367f8e72 Fix password login 2021-11-24 14:00:26 +05:30
RMidhunSuresh 64037cb32a Convert TokenLoginMethod to ts 2021-11-24 13:56:47 +05:30
RMidhunSuresh e4c443c73a Convert PasswordLoginMethod to ts 2021-11-24 13:47:26 +05:30
RMidhunSuresh 91f2a96403 Make LoginMethod an interface 2021-11-24 13:40:04 +05:30
Bruno Windels f444160c6a feels ok without overflow margin for now 2021-11-23 14:33:27 +01:00
Bruno Windels e4be1702c4 add comment for future test 2021-11-23 14:32:42 +01:00
Bruno Windels 7b38df45da i think this is fine now? 2021-11-23 14:31:23 +01:00
Bruno Windels e34a92e2ec fix copyright 2021-11-23 14:30:11 +01:00