Commit graph

25 commits

Author SHA1 Message Date
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
Pavel Djundik
d9358d555f Generate sourcemap in production build
Fixes #974
2017-03-18 16:09:43 +02:00
Pavel Djundik
e0111ed587 Update to webpack 2 2017-02-17 17:06:46 +02:00
Jérémie Astori
d8f1690904 Use Webpack configuration based on NODE_ENV instead of watch/no-watch
Also, move the `DedupePlugin` to the prod-specific section. [Webpack doc](https://webpack.github.io/docs/list-of-plugins.html#dedupeplugin) itself recommends to not run this outside of production.

Note that this currently breaks cross-OS support of `npm run build`. This will be fixed in a latter commit.
2017-01-10 13:07:27 -05:00
Pavel Djundik
a8dd136168 Do not uglify builds when running start-dev 2017-01-10 13:07:27 -05:00
Pavel Djundik
fb87bd3a58 Webpack 2016-12-27 19:15:30 +02:00