Commit Graph

41 Commits

Author SHA1 Message Date
Ruin0x11
a6886ddb89
Improve compilation speed for development builds (#402)
* Improve incremental build times
* Live-reloading in development mode
2021-05-14 14:39:40 +00:00
Shyam Sunder
5945271166 client/css: generate transparency grid via pure CSS 2020-10-12 16:07:49 -04:00
Shyam Sunder
0137cf383a client/markdown: use DOMPurify over marked.js sanitizer
See markedjs/marked#1232
2020-06-23 13:24:59 -04:00
Shyam Sunder
342ca9ccba client/build: fix npm audit 2020-06-23 12:58:44 -04:00
Ruin0x11
ffba010ae4 Implement updating pools of a post from details sidebar 2020-05-04 14:44:16 -07:00
Shyam Sunder
7081b5be90 client/app: Fixed relative links in app manifest 2018-12-22 12:31:25 +01:00
Shyam Sunder
116919d2a2 client/public: Remove public/ folder and generate it on build 2018-12-22 12:31:25 +01:00
Shyam Sunder
a5a06bf2d1 client/build: Clean up build process
Fixes incorrect URIs of iOS splash screens and OpenSans font
Files get gzipped inside build script
Better nginx configuration
build.js uses more consistent, synchronous code
2018-12-22 12:31:25 +01:00
Shyam Sunder
565027269c client/js/router.js: Reads <base> href tag 2018-08-23 21:04:19 +02:00
Shyam Sunder
b29bf8b37a client: generate web app images in build script 2018-08-23 21:04:05 +02:00
Michael Serajnik
b22c887e4b client: add basic web app support 2018-08-06 14:12:29 +02:00
Michael Serajnik
d43758bcc2 client/build: replace uglify-es, update dependencies 2018-07-08 09:30:29 +02:00
Shyam Sunder
60ab9246c6 client: improved build.js, use relative links
* Removed unnecessary require('config.js') calls
* 'markdown.js' now uses rel. links in EntityPermalinkWrapper
* 'password_reset.py' now generates rel. links
* Removed 'Base URL' config parameter
* Removed 'API URL' config parameter
* 'build.js' no longer reads/requires config.yaml
* Updated documentation
* Removed unnecessary node packages used in 'build.js'

abandon api_url parameter
2018-07-06 19:40:20 +02:00
Michael Serajnik
90b0d77147 client/build: fix build, use uglify-es package directly 2017-08-11 17:36:10 +02:00
rr-
5c0765c30e client/build: remove extra printer
It kept hanging node. Fuck.
2017-01-08 10:25:29 +01:00
rr-
67cb12e9d9 client/build: work around uglifyjs bug #1286
https://github.com/mishoo/UglifyJS2/issues/1286
2016-09-29 11:24:22 +02:00
rr-
3436bc3ef8 client/build: improve reporting build errors 2016-09-29 11:15:58 +02:00
rr-
02d631a65d client/css: improve appearance on small screens 2016-08-27 22:19:01 +02:00
rr-
e291369701 client/build: fix minifying adding ghost spaces
HTML minifier added ghost spaces around some of <%- %> even despite <!--
--> trick.
2016-07-30 23:12:32 +02:00
rr-
f63851e2cf client/build: fix JSCS warnings 2016-07-30 13:43:15 +02:00
rr-
56432e6089 client/posts: add transparency grid
Can be turned off in browsing settings.
2016-06-11 22:34:01 +02:00
rr-
f721554724 client/build: don't use CDN for FontAwesome 2016-05-21 12:35:41 +02:00
rr-
d8c20b89c6 client/build: organize assets into directories 2016-05-21 12:33:02 +02:00
rr-
e7fe7d3899 client/general: add 404 page
Reuses old 404 image from 1.x branch, may be subject to change.
2016-05-21 11:49:32 +02:00
rr-
94a228b1e7 client/build: roll back to underscore
lodash adds extra 50K for no benefit.
2016-05-21 10:04:23 +02:00
rr-
98c6128829 client/build: true template precompiling
Rather than putting templates in DOM nodes, output JS functions
themselves.

This fixes transpiling for IE11, where ES6 parts of the templates
wouldn't get passed through Babel.
2016-05-21 10:04:23 +02:00
rr-
249d6073c0 client/build: remove babel when not transpiling 2016-05-21 00:08:43 +02:00
rr-
50404d5f5e client/general: change templates extension
...from .Handlebars' (which the project no longer uses) .hbs, to a more
generic .tpl. Additionally, replace hyphens with underscores for
consistency.
2016-05-18 00:15:28 +02:00
rr-
83086fddd0 client/general: skip vendor JS on watch 2016-05-14 14:47:48 +02:00
rr-
e6be94d139 client/build: always compress vendor JS 2016-05-14 14:47:36 +02:00
rr-
914bee4c64 client/build: compile vendor packages separately 2016-05-14 13:50:39 +02:00
rr-
90559ffcdb client/build: fix IE11 transpiling 2016-04-14 17:50:38 +02:00
rr-
28e85bd21a client/css: switch to stylus 2016-04-13 20:13:10 +02:00
rr-
d18a8090b1 client/build: transpile ES6 for older browsers 2016-04-13 20:13:10 +02:00
rr-
5796b07908 client/build: don't keep templates in DOM 2016-04-13 18:58:34 +02:00
rr-
bb3f280c7f client/build: fix templates with more than 1 _ 2016-04-10 22:14:25 +02:00
rr-
b78d018870 client/login: don't show pw reset w/o working smtp 2016-04-08 20:09:32 +02:00
rr-
e0516af111 client/build: enable source maps for debug builds 2016-04-08 09:48:47 +02:00
rr-
c1816a292f client/build: don't minify JS for debug build 2016-04-07 18:51:29 +02:00
rr-
55cc7b59e4 client+server: switch to yaml config 2016-04-06 22:36:04 +02:00
rr-
e487adcc97 split files into client/ and server/ 2016-04-01 18:48:16 +02:00