Commit Graph

86 Commits

Author SHA1 Message Date
Julian Lam
a07d9898df fix: #7071 buildSkinAsset won't rebuild continuously 2018-12-06 16:10:24 -05:00
Julian Lam
a5022ce425 fix: #6922, skin assets not including plugin LESS files 2018-11-07 19:18:11 -05:00
Julian Lam
501b3a79ca Refactor skins to be built on server-side (#6849)
* WIP

* using bootswatch from npm instead of bootswatch CDN url

* feat: on-demand client css building for skins

* added ability for client-side to select a skin

* updated loading and saving logic of bootstrapSkin on client side user settings

* fix: broken test for #6849
2018-11-07 13:44:35 -05:00
Peter Jaszkowiak
65b4bafb16 Fix @scoped themes 2018-07-06 13:00:18 -04:00
psychobunny
d4a11de07d move blacklist.less into admin/manage/ip-blacklist.less 2017-09-01 19:47:20 -04:00
psychobunny
0e219a8c58 closes #5891 2017-08-21 17:48:58 -04:00
Barış Soner Uşaklı
091fec8d6f removed unnecessary code 2017-07-04 17:54:51 -04:00
Peter Jaszkowiak
b60dbe7d1e Unwrap meta modules 2017-05-31 16:24:23 -06:00
Barış Soner Uşaklı
890c2eff70 style changes 2017-05-27 01:44:26 -04:00
Peter Jaszkowiak
7ccfb5cdc0 Build refactor
- Target aliases and bundles
- More concurrency
- Use `--series` to force series processing
- Minifier self-hosted threading
- meta/css delegates to minifier
2017-05-17 16:37:10 -06:00
Peter Jaszkowiak
1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Peter Jaszkowiak
dd2b930824 Resolve merge conflicts, minify only .js files 2017-02-23 18:31:49 -07:00
pichalite
1d5b3cc73f ACP manage tags page UI changes 2017-02-23 20:45:05 +00:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
d7526b5e44 ESlint array-bracket-spacing
and object-property-newline
2017-02-18 00:04:34 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
Peter Jaszkowiak
3d56dc4857 Fix #5368 2017-02-16 13:33:28 -07:00
Peter Jaszkowiak
b530701cff Fix tabs 😡 2017-02-06 15:54:21 -07:00
Peter Jaszkowiak
bb1bfb0449 Merge branch 'master' into assets-route 2017-02-06 15:52:54 -07:00
pichalite
de28ff5d43 Ability to crop profile images before uploading 2017-02-03 00:47:09 +00:00
Peter Jaszkowiak
8c86b2e32c Build pipeline improvements
- Refactor meta/css
- `fs.link` usage consolidated to `file.link`
- rimraf built modules directory to fix error
- Remove `local-assets` flag
2017-01-15 12:38:16 -07:00
Peter Jaszkowiak
05b68391dd Use /assets for client assets
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
2017-01-14 22:38:40 -07:00
barisusakli
c32e6aaabb use build module instead of forking 2016-12-13 15:43:20 +03:00
barisusakli
0b9829850c closes #5273 2016-12-09 18:53:08 +03:00
Julian Lam
9bab0b53b0 re: #5211, broke out meta.css.minify to accept targets, made build output marginally nicer looking 2016-11-17 12:11:56 -05:00
barisusakli
71c7ef9109 fix test 2016-11-17 13:05:59 +03:00
barisusakli
4f0e93732a #5211
remove passing js/css between procs
2016-11-17 12:56:00 +03:00
Julian Lam
299fcb99f1 more progress on #5211 2016-11-16 20:54:57 -05:00
Julian Lam
e6c9c89342 closes #5197 2016-11-10 13:50:37 -05:00
Anil Mandepudi
6b23dd574e Use postcss-clean to minify css instead of less (#5179)
* use postcss-clean to minify css instead of less

* alphabetical order

* white space

* white space

* Update css.js
2016-11-02 17:57:14 -04:00
Anil Mandepudi
f7b64d655a Fix issue where CSS files imported along with less files are not getting minified (#5178) 2016-11-02 12:57:54 -04:00
Julian Lam
66aea0eed1 closes #5167 2016-11-01 13:00:37 -04:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
Barış Soner Uşaklı
9d0dc35703 closes #5081 2016-10-04 20:10:59 +03:00
Julian Lam
785f4fc5a0 updating to jQuery 3.x on frontend and ACP 2016-08-26 15:36:50 -04:00
Julian Lam
2428d5e442 Update bootstrap in ACP
Also fixed #4872 by moving user creation modal to root level
(outside of .panel)
2016-08-25 16:10:33 -04:00
Mathias Schreck
ce9ee62fa0 Handle callback errors 2016-08-17 12:54:59 +02:00
Julian Lam
55bcc28e0e closes #4831 2016-07-08 10:43:28 -04:00
psychobunny
d24b15a584 closes #4523 2016-04-18 10:06:32 -04:00
psychobunny
c88ed66312 closes #4502 2016-04-07 16:55:53 -04:00
psychobunny
12ed4d2af5 remove PostCSS log 2016-03-30 16:55:54 -04:00
psychobunny
acd24d856f run tasks in series to speed up startup time 2016-03-30 14:37:00 -04:00
psychobunny
e134689324 we were accidentally including client-side LESS on the ACP 2016-03-30 14:19:00 -04:00
psychobunny
fc65b144b1 running less compilation in series 2016-03-30 13:25:19 -04:00
Julian Lam
3e2231d2cb Fixing viewport shuffling due to image load
Introduced new method ".loadImages()" in posts client side lib
to handle viewport height changes when loading images. Requires
nodebb-plugin-markdown@5.0.0

@BenLubar @boomzillawtf
2016-03-27 15:56:49 -04:00
Julian Lam
8013f124da fixes #4471 2016-03-25 19:54:22 -04:00
psychobunny
000d5b61c7 fix for retrieving css cache 2016-03-24 13:29:50 -04:00
psychobunny
baeed22f20 grunt: only compile ACP less if that was changed, and vice versa with theme/plugin less 2016-03-24 12:37:17 -04:00
barisusakli
b6e22b7723 closes #4367 2016-03-15 12:13:35 +02:00