Bruno Windels
|
f2b822e5d2
|
move deps that are not used for sdk to devDependencies
|
2021-12-22 16:31:18 +01:00 |
|
Bruno Windels
|
2d2005934a
|
WIP
|
2021-12-22 16:31:18 +01:00 |
|
Bruno Windels
|
363cd5b046
|
include css
|
2021-12-22 16:31:18 +01:00 |
|
Bruno Windels
|
8922d2aaf2
|
prototype of sdk build
|
2021-12-22 16:31:18 +01:00 |
|
RMidhunSuresh
|
10368500f2
|
Fix formatting
|
2021-12-10 12:12:52 +05:30 |
|
RMidhunSuresh
|
5ef7ab32df
|
Update doc
|
2021-12-10 12:09:18 +05:30 |
|
Bruno Windels
|
dacdc1aec6
|
Merge pull request #597 from vector-im/ts-conversion-matrix-ssss
Convert matrix/ssss to typescript
|
2021-12-09 18:54:25 +01:00 |
|
Bruno Windels
|
589a002d67
|
Merge pull request #588 from vector-im/ts-conversion-matrix-net
Convert /matrix/net to typescript
|
2021-12-09 18:51:33 +01:00 |
|
Bruno Windels
|
21a41e192b
|
Merge branch 'master' into ts-conversion-matrix-net
|
2021-12-09 18:49:54 +01:00 |
|
Bruno Windels
|
5ea29297cc
|
fix typescript errors
|
2021-12-09 18:44:44 +01:00 |
|
Bruno Windels
|
c5c08ea34b
|
Merge pull request #586 from vector-im/bwindels/log-signature-failure
log signature verification failure in logger, not console
|
2021-12-09 18:40:01 +01:00 |
|
Bruno Windels
|
8d315f2741
|
Merge branch 'master' into bwindels/log-signature-failure
|
2021-12-09 18:34:36 +01:00 |
|
Bruno Windels
|
cd0d9dcbba
|
Merge pull request #548 from vector-im/bwindels/vite-mvp
Convert develop server and build system to using Vite
|
2021-12-09 18:29:06 +01:00 |
|
Bruno Windels
|
ba84387722
|
remove commented out code
|
2021-12-09 18:15:22 +01:00 |
|
Bruno Windels
|
0ec86b6dc1
|
Merge branch 'master' into bwindels/vite-mvp
|
2021-12-09 18:07:17 +01:00 |
|
Bruno Windels
|
5c5193ef48
|
remove old build system and unused dependencies
some of these are for the ie11 legacy build, which has been
postponed. They will be brougth back when we bring back the legacy build
|
2021-12-09 18:04:11 +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
|
dea7e7b4f5
|
enable minification and source maps
|
2021-12-09 16:42:35 +01:00 |
|
Bruno Windels
|
62827b92b7
|
implement placeholder replacement so it still works with minification
|
2021-12-09 16:37:31 +01:00 |
|
Bruno Windels
|
9a82f88e1f
|
log swSource as build fails in CI
|
2021-12-09 15:13:19 +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
|
14dffa4ad4
|
remove leftover logging
|
2021-12-09 12:21:34 +01:00 |
|
Bruno Windels
|
8e4da396ea
|
replace global hash in given chunks
|
2021-12-09 12:15:17 +01:00 |
|
Bruno Windels
|
c344032c0a
|
transpile service worker and cleanup build plugin
|
2021-12-09 11:39:28 +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
|
fb8149b6cf
|
add base to manifest path, just for completeness
|
2021-12-08 18:29:07 +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
|
0e2a22f509
|
also look in chunks for cacheable assets for service worker
|
2021-12-06 15:34:39 +01:00 |
|
Bruno Windels
|
91e69a2bd0
|
fix icons in manifest not being found
|
2021-12-06 15:25:44 +01:00 |
|
Bruno Windels
|
155cd4c9bd
|
make olmPath absolute if it isn't already
|
2021-12-06 13:49:14 +01:00 |
|
RMidhunSuresh
|
734ecccb9c
|
Use object instead of Record here
|
2021-12-03 17:34:23 +05:30 |
|
Bruno Windels
|
9a3f74c6fb
|
load service worker in production mode, adjust development flag
|
2021-12-03 10:42:38 +01:00 |
|
RMidhunSuresh
|
e2abc312d3
|
Fix typescript errors
|
2021-12-03 11:48:01 +05:30 |
|
RMidhunSuresh
|
d6378133d8
|
Remove length property
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
49a56efa82
|
Remove comment
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
640cd88b6e
|
make type string
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
66b4f9bfe5
|
LogItem --> ILogItem
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
0541cf8f2b
|
Change object to Record
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
bf93bd79c9
|
types.js --> types
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
f89b937ee7
|
Use object instead of Record
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
82de3c9867
|
Prefer type over interface
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
b328c54da8
|
Change type from Ctor to Options
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
e9cea73357
|
Remove comment
|
2021-12-03 11:40:26 +05:30 |
|
R Midhun Suresh
|
3fbf65355d
|
Rename Ctor to Options
Co-authored-by: Bruno Windels <brunow@matrix.org>
|
2021-12-03 11:40:26 +05:30 |
|
RMidhunSuresh
|
b5438f2ba8
|
Do not set content-length
|
2021-12-03 11:40:26 +05:30 |
|