Commit Graph

293 Commits

Author SHA1 Message Date
Peter Jaszkowiak
aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
2017-02-08 11:41:34 -07:00
Peter Jaszkowiak
360a35d0a6 Resolve merge conflicts 2017-02-02 22:15:26 -07:00
Peter Jaszkowiak
553567c3b2 Refactor nodebb, move build.js, add --dev 2017-02-02 19:15:01 -07:00
Peter Jaszkowiak
f4147f7922 Generate cache buster on build 2017-01-24 20:24:28 -07:00
Julian Lam
372138c789 Revert "fixing bug that caused plugin language files to not be parsed"
This reverts commit b2bb1a7c24.
2017-01-23 11:27:35 -05:00
Julian Lam
b2bb1a7c24 fixing bug that caused plugin language files to not be parsed 2017-01-23 11:25:19 -05:00
Peter Jaszkowiak
186209a0a3 Build plugin staticDirs
- route `/plugins` -> `build/public/plugins`
- symlink `staticDirs` directories into `build/public/plugins`
- remove custom `/plugins` route handling
2017-01-21 18:57:27 -07:00
Peter Jaszkowiak
df77890c2a Plugin defaultLang defaults to en-GB 2017-01-20 11:15:06 -07:00
Peter Jaszkowiak
7c88a55153 Fix empty lines in language selectors 2017-01-19 19:07:53 -07:00
Peter Jaszkowiak
7f2ded17ab Comments, misc 2017-01-17 20:41:04 -07:00
Peter Jaszkowiak
65b866192e Fix failing tests 2017-01-16 16:48:56 -07:00
Peter Jaszkowiak
aff53cccc5 Plugin language fallback support 2017-01-16 16:31:16 -07: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
Peter Jaszkowiak
b4b3be3d97 Cache bust translations, query param name 2017-01-14 14:09:46 -07:00
Peter Jaszkowiak
2f07c18c5a All hail the glorious translation prebuilding 2017-01-14 14:08:52 -07:00
Barış Soner Uşaklı
c4d4d2385b closes #3973 closes #5303 2016-12-22 01:48:41 +03:00
Peter Jaszkowiak
0b4c39338e Translation bootbox wrapper
- Replaced minfied bootbox file with unminified one since it's minified at build anyways
- Removed existing override
- Made translator more verbose in dev mode; it now warns about missing translations
2016-12-19 15:51:43 -05:00
barisusakli
9ace5c6e17 moved next() of out try/catch 2016-12-19 21:46:28 +03:00
barisusakli
1fed01fe43 ability to filter search by tags 2016-12-19 21:40:16 +03:00
barisusakli
009da723c5 meta.configs tests 2016-12-16 15:55:34 +03:00
barisusakli
c32e6aaabb use build module instead of forking 2016-12-13 15:43:20 +03:00
barisusakli
1c6cee207f meta/settings test 2016-12-10 00:51:50 +03:00
barisusakli
0b9829850c closes #5273 2016-12-09 18:53:08 +03:00
Peter Jaszkowiak
5223bb5191 Merge branch 'master' of github.com:nodebb/nodebb 2016-12-01 13:40:07 -07:00
barisusakli
afef79a81e closes #5241 2016-11-29 17:16:12 +03:00
Peter Jaszkowiak
fd4d53e42c Remove unnecesary admin search indexing 2016-11-28 13:05:22 -07:00
barisusakli
d3fff28de5 use base_dir 2016-11-23 21:23:37 +03:00
barisusakli
31168c669b closes #5231 2016-11-23 21:08:04 +03:00
barisusakli
12d46ca441 remove async.series 2016-11-23 21:05:12 +03:00
barisusakli
f7b77c5341 removed file.exists from getFromFile 2016-11-23 12:58:48 +03:00
barisusakli
259d49e392 all procs should load the js from file 2016-11-23 03:21:31 +03:00
barisusakli
ef87a2b7d7 closes #5219 2016-11-19 16:56:44 +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
barisusakli
b44f3f4811 closes #5150 2016-10-24 14:39:30 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
Barış Soner Uşaklı
5dbcd9cf3f pass string to validator 2016-10-10 18:56:21 +03:00
Barış Soner Uşaklı
9d0dc35703 closes #5081 2016-10-04 20:10:59 +03:00
psychobunny
5d28dbb0a4 closes #5027 2016-09-12 19:10:40 -04:00
Peter Jaszkowiak
59ed13b581 Rewrite translator for efficiency and clarity (#5013)
* Rewrite translator for efficiency and clarity

* Fixed failing tests

* Gorram tabs

* Move cache to Translator class, simplify creation

* Documentation and linting

* Use new translator API where it makes sense

* Revert 499fbe21fd (except translator.d.ts)

* promise polyfill for node<4

* Set `load` on the prototype

* Comment on Translator#translate

* Delete translator.d.ts

* Support translations added by plugins
2016-09-12 15:52:50 -04:00
barisusakli
d4c512cb3f handle the case where the object is not set at all #5018 2016-09-07 19:34:59 +03:00
barisusakli
7269d45e84 closes #5018 2016-09-07 19:27:29 +03:00
Julian Lam
4410385e8f Merge pull request #5012 from phit/patch-1
Use mousetrap.js minified version
2016-09-05 22:27:19 -04:00