Commit Graph

30 Commits

Author SHA1 Message Date
Earlopain
0bed93d8b6
[JS] Switch back to upstream vue-loader
rails/ujs > 7.1 contains the same thing that this fork fixes.
The amount of complains was low enough that I didn't bother fixing it
so there's no reason to continue to work around with vue-loader
2024-02-20 15:59:14 +01:00
Earlopain
278233078d
[JS] Bump packages 2024-01-25 22:57:53 +01:00
Earlopain
45df63468a
[JS] Remove core-js
No effect on the final output bundle
2023-10-22 14:44:00 +02:00
Earlopain
f7286ccce3
[JS/Gems] Bump packages/gems
Also moves the vue-loader fix from my personal account to the org
2023-08-12 13:47:37 +02:00
Earlopain
5de55edad3
[Cleanup] Remove webpack-cli/webpack-dev-server
They are not used in this project
2023-03-10 09:30:16 +01:00
Earlopain
6155acad90
Revert "[Pools] Replace JQuery UI Sortable with sortable.js"
This reverts commit 107d1ff862.
2023-01-27 21:37:50 +01:00
Earlopain
29c7b80f3a
[Misc] Update to fontawesome 6
It seems to be mostly backwards compatible, these changes are just what
fontawesome suggests.
2023-01-27 19:01:35 +01:00
Earlopain
107d1ff862
[Pools] Replace JQuery UI Sortable with sortable.js 2022-12-25 19:18:03 +01:00
Earlopain
dce43b7fce
[JS] Unvendor fontawesome and update to latest 5.x 2022-12-22 20:55:19 +01:00
Earlopain
60ebe9f467
[JS] Unvendor jQuery and update to latest version 2022-12-22 15:11:05 +01:00
Earlopain
e461887298
[JS] Unvendor jquery-hotkeys
The files are completly identical, appart from the version number.
That went from 0.8 to 0.2.0 for some reason.
2022-12-20 20:30:57 +01:00
Earlopain
f1234653e2
[JS] Replace jquery-ujs with @rails/ujs
jquery-ujs has been deprecated in favor of @rails/ujs.
I wouldn't call the new one supported anymore, the rails team has already
invented a new way of doing things, but it's better that the older one.
Plus it's one dependency on jquery down.
2022-12-20 20:04:01 +01:00
Earlopain
057a67a168
[Docker] Miscellaneous improvements
* Install exact versions of redis/memcached/node
* Use multistage for js packages/ruby gems
* Replace shoreman with foreman
2022-12-13 15:50:37 +01:00
Earlopain
8916eff2b6
[JS] Update yarn deps
Fixes a sass deprecation notice and vue compilation error.

@vue/compiler-sfc is now pulled in by the vue dependency, so it's no longer
needed to explicitly mention it in package.json

Fixes #449
2022-12-06 20:09:39 +01:00
Earlopain
d9ec9dd92f
[Vue] Use fork of vue-loader to fix const in js bundle 2022-06-14 00:17:50 +02:00
Earlopain
7331b9a5de
[Cleanup] Remove unused packages 2022-06-12 20:58:18 +02:00
Earlopain
92d049690a
[Vue] Remove the compat build 2022-05-21 15:45:22 +02:00
Earlopain
9d55ede1cb
[Vue] Switch to migration build 2022-05-20 22:48:18 +02:00
Kira
cb84bf4c9b [JS] Fix webpacker overriding babel config and setting loose
Loose does super dumb shit like converts spread operators to
[].concat() which is broken, incorrect, and not at all helpful.

Because this was forced in their base preset, it would break all
kinds of things that shouldn't have broken, and it would ignore the
project config explicitly.

This seems to fix the vast majority of the JS on the site, and the
generated code makes a lot more sense now.
2021-09-24 20:32:07 -07:00
Kira
3da92e81e7 [JS] Because I was forced to upgrade webpack and redo everything from scratch
This is probably going to be partially broken somehow. Let's find out.
2021-09-22 23:29:14 -07:00
Kira
233ba01fce Update gems and JS 2020-07-18 06:36:16 -07:00
Kira
b11d54a694 Fix webpacker SCSS 2019-11-24 06:18:02 -08:00
Kira
259bb87304 Fix broken mobile gestures
When mobile gestures were enabled they would steal the normal
input from the browser. This prevented zooming in and out as well
as horizontal panning. Hammer didn't have a good configuration
system and so I swapped to using ZingTouch which is much more
simple, and offers better configuration. This allowed for easy
integration of gestures without stealing all input from the
browser.
2019-11-09 12:29:46 -08:00
Kira
1fdc3926df Update webpacker and fix a bunch of broken things with it 2019-08-03 20:25:22 -07:00
Kira
1636b62c3e Move post uploader to vue.js and inline it 2019-07-11 20:19:56 -07:00
Kira
ae77880b10 Partial of new uploader 2019-07-06 14:15:43 -07:00
Albert Yi
0c791a1257 upgrade webpack-dev-server 2019-01-30 14:05:33 -08:00
evazion
752557e813 Add eslint support.
Run with `yarn run lint` or `bin/webpack`.
2018-08-05 18:30:25 -05:00
Albert Yi
ba74691bc7 remove jquery from package.json since it's loaded at the dom level 2018-08-03 16:04:26 -07:00
Albert Yi
6fa0ae2cf1 Migrate assets to use Webpacker 2018-07-27 15:24:05 -07:00