Commit Graph

163 Commits

Author SHA1 Message Date
Alex Gleason
f02e8cf282 Merge branch 'cjs' into 'develop'
Rename some files to .cjs, make the codebase aware of .cjs and .mjs extensions

See merge request soapbox-pub/soapbox!2190
2023-01-18 16:42:08 +00:00
Alex Gleason
feeb80fe22 Remove marky, mark-loader 2023-01-17 21:40:23 -06:00
Alex Gleason
54eae01255 Rename some files to .cjs, make the codebase aware of .cjs and .mjs extensions 2023-01-17 18:34:11 -06:00
Alex Gleason
5de9afd18b Remove prop-types 2023-01-10 15:06:26 -06:00
Alex Gleason
578e30425e Remove polyfills, delete application.ts 2023-01-09 17:40:29 -06:00
marcin mikołajczak
08a47bed5d Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-03 21:09:43 +01:00
marcin mikołajczak
3cab6436e0 Remove feather-icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-31 16:08:23 +01:00
Alex Gleason
e1e70c6715 Webpack: only load react-refresh/babel in development 2022-12-30 19:13:58 -06:00
Alex Gleason
2ddd3ef2ac Webpack: enable hot module replacement (HMR) 2022-12-30 18:53:21 -06:00
Alex Gleason
6d46abadc1 Don't serve favicon.png with ServiceWorker 2022-12-27 11:41:41 -06:00
Ryle
b314bb7af1 Add additional backend URIs. /images is used by manifest.json, /favicon.ico is used by browsers to set favicons, but some bug out for bookmarks if this isn't route excepted, /apple-touch-icon.png is the default iOS/iPad file for specifying icons, /browserconfig.xml is used by Windows for metro tiles for added pages, /robots.txt is used by bots to determine if access is permitted to pages. Some bots that use Selenium break when the routing isn't exempt. 2022-12-26 01:36:13 +00:00
marcin mikołajczak
2137193935 Revert "Remove 'show on map' for now"
This reverts commit 46cb676822.
2022-12-08 16:30:48 +01:00
Chewbacca
17b0c45a3e Fix build 2022-11-16 09:00:19 -05:00
Chewbacca
774b627397 Rename files (14): cleanup misc v2 2022-11-16 08:35:35 -05:00
Chewbacca
d4f5fd4d88 Rename files (5): _ -> - 2022-11-15 12:23:36 -05:00
Chewbacca
8b22ca5f27 Organize fonts,images,icon,sounds into 'assets' folder 2022-11-15 08:23:36 -05:00
Alex Gleason
55c0cfe205 git-loader: import type 2022-10-14 16:00:18 -05:00
Alex Gleason
bd4734b24f rules/node_modules --> rules/node-modules 2022-10-14 15:55:31 -05:00
Alex Gleason
56b1515d5e Move translationRunner.js out of /webpack directory 2022-10-14 15:54:37 -05:00
Alex Gleason
239ccb807a Webpack: convert git-loader to TypeScript 2022-10-14 15:52:02 -05:00
Alex Gleason
b770cbb175 Webpack: convert rules to TypeScript 2022-10-14 15:43:32 -05:00
Alex Gleason
671210acad Convert Webpack configuration to TypeScript 2022-10-14 15:32:26 -05:00
Alex Gleason
d162bc5d17 Webpack: only use [chunkhash] and [contenthash] in production builds
https://webpack.js.org/guides/build-performance/#avoid-production-specific-tooling
2022-09-30 12:03:10 -05:00
Alex Gleason
d00a50bf7c sw.js: whitelist Phoenix LiveDashboard 2022-09-05 17:33:08 -05:00
marcin mikołajczak
03d6211e1c Replace classnames with clsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-31 11:35:06 +02:00
Alex Gleason
5fec9c580b Soapbox FE --> Soapbox 2022-08-29 11:20:56 -05:00
Alex Gleason
6f26bd0dea Merge remote-tracking branch 'origin/develop' into custom-imports 2022-08-13 09:43:10 -05:00
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
6ddb44f626 Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -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
638fc35f77 Merge remote-tracking branch 'origin/develop' into sw-skipwaiting 2022-06-23 14:01:22 -05:00
marcin mikołajczak
2786fa257b Use import type in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:08:51 +02: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
b64be353cc eslint: indent switch statements 2022-05-11 16:06:35 -05:00
Alex Gleason
660c098166 Allow custom module imports 2022-05-09 17:57:15 -05:00
Alex Gleason
5ba4275f73 Stop doing Tabler import hack, use our forked version from git 2022-05-09 17:39:38 -05:00
Alex Gleason
ed223a9ff6 Allow custom HTML snippets in build 2022-04-20 13:58:22 -05:00
Alex Gleason
7882bbf98f Convert application entrypoint files into Typescript 2022-04-15 19:54:40 -05:00
Alex Gleason
4adb42e426 Webpack: add DeadCodePlugin to detect unused files 2022-04-14 15:22:37 -05:00
Alex Gleason
424d5d65af Merge remote-tracking branch 'origin/develop' into next 2022-04-12 12:40:13 -05:00
Alex Gleason
7394452ad9 ForkTsCheckerWebpackPlugin: increase typescript memory limit to 8GB, fixes #865 2022-04-12 12:38:19 -05:00
Alex Gleason
40ac9bece9 Enable the ServiceWorker 2022-04-05 14:43:29 -05:00
Alex Gleason
4d9217edff Use localhost:3036 2022-03-21 13:33:45 -05:00
Alex Gleason
5cd894ab02 Truth Social 2022-03-21 13:14:26 -05:00