Commit graph

45 commits

Author SHA1 Message Date
Alex Gleason
b085073c10
SW: refactor cacheMap to correctly return a URL 2022-08-11 15:32:27 -05:00
Alex Gleason
bf5d3b241a
SW: don't serve /embed paths 2022-08-11 14:57:21 -05:00
Alex Gleason
21678897b0
ServiceWorker: add more backend routes 2022-06-29 12:29:51 -05:00
Alex Gleason
0536f1e43a
ServiceWorker: p --> path 2022-06-28 15:18:05 -05:00
Alex Gleason
4b1c5eb0e8
ServiceWorker: make /auth a backend route 2022-06-28 15:08:07 -05:00
Alex Gleason
5864b5a983
ServiceWorker: autoupdate every 1 hour 2022-06-28 15:04:38 -05:00
Alex Gleason
7636f8294f
ServiceWorker: improve cacheMaps with better backend routes 2022-06-28 15:01:51 -05:00
Alex Gleason
174496c71d
ServiceWorker: skipWaiting and reload tabs when new ServiceWorker is ready 2022-05-31 20:46:40 -05:00
Alex Gleason
5c49cc0b84
Convert ServiceWorker to TypeScript 2022-05-26 14:51:59 -04:00
Alex Gleason
40ac9bece9
Enable the ServiceWorker 2022-04-05 14:43:29 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
c356597523
sw.js: fix match against undefined pathname 2021-11-15 13:04:03 -06:00
Alex Gleason
7fdf22b206
ServiceWorker: clean up entry.js and web_push_notifications.js 2021-10-21 15:31:09 -05:00
Alex Gleason
3edd81e899
ServiceWorker: add /instance to backendRoutes 2021-10-21 12:22:20 -05:00
Alex Gleason
c9590abd18
ServiceWorker: don't redirect API routes with appShell 2021-10-20 22:07:48 -05:00
Alex Gleason
a16b246d41
ServiceWorker: do serve index.html from the ServiceWorker after all, add appShell option 2021-10-20 17:07:10 -05:00
Alex Gleason
58adc67e4b
Webpack: serve SVG icons as files 2021-09-26 20:00:16 -05:00
Alex Gleason
5eab5ec0a5
Webpack: move Twemoji icons back to CopyPlugin 2021-09-12 10:51:58 -05:00
Alex Gleason
a720f3ea32
Webpack: OfflinePlugin improvements 2021-09-10 20:11:36 -05:00
Alex Gleason
1c39e1b086
Webpack: fix some warnings from OfflinePlugin 2021-09-10 19:39:39 -05:00
Alex Gleason
0aa0828e13
Webpack: really don't serve audio with sw.js 2021-09-10 17:43:35 -05:00
Alex Gleason
cb65075d1b
sw.js: really, actually don't serve instance files 2021-09-08 10:57:58 -05:00
Alex Gleason
62124ac024
Webpack: don't cache sounds in OfflinePlugin 2021-09-06 19:20:47 -05:00
Alex Gleason
7540570ff5
Webpack: get rid of CompressionPlugin 2021-09-06 17:59:50 -05:00
Alex Gleason
cb399a3878
Webpack: implicit TerserPlugin 2021-09-06 11:47:30 -05:00
Alex Gleason
15283102d1
Upgrade Webpack to v5 2021-09-05 19:34:05 -05:00
Alex Gleason
5ea4a8e869
Webpack: suppress output 2021-09-04 16:05:20 -05:00
Alex Gleason
9700deeba5
Webpack: add SpeedMeasurePlugin 2021-09-04 15:19:50 -05:00
Alex Gleason
bc759c87b2
Webpack: copy files into /static instead of starting them there 2021-09-03 13:06:04 -05:00
Alex Gleason
856a04aa76
sw.js: Exclude index.html so Bromite Browser doesn't crash 2021-07-22 21:29:01 -05:00
Alex Gleason
f061954fdb
Webpack: switch build directory to 'static' instead of 'static/packs', fix sw.js 2021-07-21 16:13:24 -05:00
Alex Gleason
d86eb6d848
Webpack: don't mangle output in TerserPlugin 2021-07-11 22:21:44 -05:00
Alex Gleason
cc5084c481
Remove deprecated uglifyjs-webpack-plugin 2021-07-11 22:13:18 -05:00
Alex Gleason
a3d5d1a882
Upgrade emoji-datasource to 5.0.0 2021-07-10 00:43:49 -05:00
Alex Gleason
dfcac33fe1
Update dependency webpack-merge to v5 2020-10-07 16:33:56 -05:00
Alex Gleason
03dc10cf7d
CompressionPlugin: use default params for filename and cache 2020-10-07 15:45:53 -05:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
3cff9538e2
Upgrade uglifyjs-webpack-plugin to latest version 2020-09-10 18:48:45 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00
Alex Gleason
24c7b3a6bf
Use NODE_ENV from environment instead of overriding it 2020-04-26 12:49:20 -05:00
Alex Gleason
141b0e6bfa
Fix most linter errors 2020-04-14 15:45:38 -05:00
Alex Gleason
d890f9a399
Building succeeds 2020-03-27 19:35:00 -05:00
Alex Gleason
b1b5dc62db
Initial commit 2020-03-27 15:59:38 -05:00