Commit graph

55 commits

Author SHA1 Message Date
Max Leiter
beb5530c65
Revert "Support animated webp images" (#4287)
This reverts pull/4186.
2021-08-31 12:27:43 -07:00
Nachtalb
3a6ac4e5ec
Support animated webp images
We need to remove the metadata without breaking the animation.
For that we use sharp which incooperates libvips (binaries for most common distros included).

This also decreases client side upload complexity as we remove the metadata on the serverside.

Sharp: https://sharp.pixelplumbing.com/
libvips: https://libvips.github.io/libvips/
2021-04-13 18:24:32 +02:00
Pavel Djundik
a9fb563c01 Update mini-css-extract-plugin 2020-10-11 11:06:52 +03:00
Pavel Djundik
bc7bf9870c Update CopyPlugin options 2020-05-16 21:33:25 +03:00
Pavel Djundik
fbdd888c3d Disable SW caching in dev build 2020-01-09 22:40:10 +02:00
Richard Lewis
23ac0fef32 Load styles from vue components, fix hot reload
Fixes #3615
2020-01-08 16:02:09 +02:00
Pavel Djundik
6e0ab062c5 Turn off webpack hints 2019-12-30 19:14:15 +02:00
Pavel Djundik
111c3665f9 Replace moment with dayjs
Drop in replacement, but smaller
2019-11-25 20:13:10 +02:00
Pavel Djundik
2f635069e0 Move vuex state to a separate file and reorganize some code
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-11-25 20:12:54 +02:00
Pavel Djundik
af777106bf Remove handlebars and html-minifier 2019-11-25 20:12:46 +02:00
Tim Miller-Williams
19d8178606 Add webpack hot module reloading for development
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-11-08 15:02:44 +02:00
Pavel Djundik
48713428b7 Import primer-tooltips css 2019-11-02 12:45:41 +02:00
Pavel Djundik
5b3399f95a Use postcss to optimize css 2019-11-01 13:47:18 +02:00
Alistair McKinlay
133e7bf710 Format js/vue with prettier 2019-07-19 11:27:40 +01:00
Pavel Djundik
de9459dd83 Implement cache busting based on version hash 2019-03-08 12:29:49 +02:00
Pavel Djundik
42717e3dec Enable preserveWhitespace: false, add spaces where needed, fix whitespace when copying text 2019-02-12 12:49:06 +02:00
Pavel Djundik
9d8f02ce99 Remove devServer for now, it's not good enough 2019-02-12 12:48:45 +02:00
Pavel Djundik
5f5b5fef3d Enable .js linter 2019-02-12 12:48:42 +02:00
Pavel Djundik
e931866aeb Use dev-server for hot reload 2019-02-12 12:48:41 +02:00
Pavel Djundik
7e332b817d Channel list rendering with Vue
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-02-12 12:48:41 +02:00
Pavel Djundik
6884b7462a Remove moment locales from build 2018-09-20 15:00:17 +03:00
Pavel Djundik
113e30d03d Upgrade babel to 7.0 2018-08-29 10:04:38 +03:00
Pavel Djundik
74cbfe973a Target more modern browsers in babel 2018-06-16 19:56:16 +03:00
dgw
35841b3369 Undo webpack sorting, it made network always locked 2018-06-02 14:13:42 -05:00
Pavel Djundik
6ee06583a9 Minify handlebar templates 2018-06-02 12:24:36 +03:00
Pavel Djundik
d4d516af1e Use new fontawesome package
Ref: b60cbbecb4/UPGRADING.md (50x-to-510)
2018-05-04 12:09:24 +03:00
Jérémie Astori
235a3dad92
Quick-fix tooltips not being loaded by Webpack 2018-04-17 23:07:12 +02:00
Pavel Djundik
c28a5c25b9 Add css-loader 2018-04-06 12:52:53 +03:00
Jérémie Astori
d6e6dab565 Fix a forgotten npm reference 2018-04-06 12:52:53 +03:00
Pavel Djundik
0030f68831 Update to webpack4 WIP 2018-04-06 12:52:52 +03:00
Jérémie Astori
c28fda6b28
Switch to Font Awesome 5 2018-03-11 15:57:35 -04:00
Jérémie Astori
416f45d1e3 Use some ES6/Node v4-only syntax when possible 2018-02-19 18:30:00 +02:00
Jérémie Astori
33d82287be
Do not statically serve the index template prior to rendering it
Without this, going to `https://thelounge.example.com/index.html` would return the raw file. This now excludes it from the `public` folder so it cannot be rendered as is.
Renaming the file is for good measure, to indicate that this HTML file must be templated. Because it is a straight rename with no modification, rebasing PRs on it should not be to painful, as git re-applies changes on renamed files.
2018-01-14 13:02:27 -05:00
Jérémie Astori
f975426c61
Rename the error handlers file at loading time 2017-12-21 18:23:54 -05:00
Max Leiter
32b4349130 Update to primer on npm, set tooltipped-no-delay for all tooltips 2017-12-20 22:04:13 -08:00
Jérémie Astori
1dc92d8934
Enforce dangling commas with ESLint
¯\_(ツ)_/¯
2017-11-15 01:35:15 -05:00
Pavel Djundik
41f50f9218 Remove webpack-cleanup-plugin 2017-11-03 12:47:28 +02:00
Pavel Djundik
3f2a017583 Create public folder with webpack 2017-10-18 21:20:12 +03:00
Jérémie Astori
b8399471b3
Enable ESLint no-console rule to avoid future mistakes 2017-09-17 21:50:21 -04:00
PolarizedIons
e00b28d201 Fix general spelling errors 2017-08-25 18:02:28 +02:00
Pavel Djundik
a3744cf81b Do not hardcoded vendor bundles in webpack 2017-06-27 12:55:12 +03:00
Pavel Djundik
f6dd616d5e Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00
Pavel Djundik
586dde7761 Merge pull request #856 from thelounge/astorije/fuzzy-match-user-list
Implement fuzzy-matching for the user list
2017-04-26 12:57:06 +03:00
Jérémie Astori
5c3e15e17c
Remove json-loader, unnecessary with Webpack v2
See these notes:

- https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore
- https://github.com/webpack-contrib/json-loader#json-loader
2017-04-26 13:59:09 +05:30
Yash Srivastav
785842cde5
Add emoji/nick/commands/chan autocomplete 2017-04-26 13:58:36 +05:30
Jérémie Astori
6a26014b81 Implement fuzzy-matching for the user list 2017-04-23 18:18:56 -04:00
Pavel Djundik
2cfc9119cb Use babel-preset-env 2017-04-23 10:58:02 +03:00
Jérémie Astori
648cfd12db Use moment on the client to display friendly dates
Also, unread and date markers are now half-transparent based on their colors and not parent opacity. This is necessary to display a non-translucide tooltip.
2017-04-22 00:38:19 -04:00
Jérémie Astori
4363ef4abe Merge pull request #973 from thelounge/xpaw/use-require
Use require() instead of import in client code
2017-03-31 01:41:29 -04:00
Pavel Djundik
9bf1e6e0d5 Do not build json3 module of Webpack 2017-03-30 01:15:44 -04:00