Julian Lam
48909e753c
Merge branch 'master' into develop
2017-01-17 10:46:14 -05:00
Dominic Lennon
a06e39528f
Code review change
2017-01-16 08:48:53 +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
Dominic Lennon
ed19454eca
Adding more specific timing for session timings
2017-01-11 10:51:41 +00:00
Peter Jaszkowiak
11f7cc4163
Pass tests
2017-01-02 23:04:57 -07:00
barisusakli
853cea7fec
removed emitter.js
2016-11-18 15:03:50 +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
barisusakli
ce7513c347
allow cookieDomain from config.json
2016-11-04 20:02:24 +03:00
barisusakli
1a63672e66
more test fixes
2016-10-16 21:51:42 +03:00
barisusakli
817cd29f00
try require from root
2016-10-16 17:36:24 +03:00
barisusakli
b8a3ca98cb
added callback to webserver.listen
...
wait for webserver to be ready to run tests
added topic restore test
added test to load topic via controller
2016-10-16 06:55:12 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
102beb5f93
closes #5080
2016-10-07 11:04:21 +03:00
barisusakli
d60ab3c74c
removed cacheStaticFiles
2016-09-21 12:00:37 +03:00
barisusakli
b0b6c66f77
fix unix domain socket
2016-09-21 11:36:02 +03:00
barisusakli
80c98e5ecf
closes #4989
2016-08-30 13:25:20 +03:00
barisusakli
5cd6614d03
refactor
2016-08-27 16:16:54 +03:00
barisusakli
89f550ce7c
moved middleware requires
2016-08-26 19:40:14 +03:00
barisusakli
df7cfe2146
missing favicon dep
2016-08-26 19:12:55 +03:00
barisusakli
8f408faf46
organize middlewares
...
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
2016-08-26 18:50:37 +03:00
Anil Mandepudi
c666a7efda
add static:assets.prepare hook ( #4889 )
...
* add static:assets.prepare hook
add static:assets.prepare hook to be called before css minification so that themes/plugins can modify less vars.
* change parameter
2016-07-27 13:06:54 -04:00
Julian Lam
437770538c
work-in-progress commit for #4655
2016-05-16 10:32:28 -04:00
Julian Lam
f1deaa6fa5
Exposing middleware to app/req, organisation.
...
Organisation -- moved 404 and error controllers into the
controllers file instead of as local variables in routes/index
2016-05-10 10:36:59 -04:00
Julian Lam
2ddcaa9ce1
added new hook for hotswap preparation
2016-04-14 11:16:12 -04:00
Julian Lam
94a505a6bb
removed symlink logic and using route bridging instead.
...
Also allowed plugins to define modules from their plugin.json
2016-04-04 20:43:21 -04:00
Julian Lam
f91f705f90
Merge branch 'master' into fix-vendors
2016-04-04 18:46:24 -04:00
psychobunny
acd24d856f
run tasks in series to speed up startup time
2016-03-30 14:37:00 -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
Julian Lam
184a2c4540
IP blacklist functionality -- re: #4367
...
Squashed commit of the following:
commit 5c42fd732d091fa66cf5b45a2af5e1697cc1efcd
Author: Julian Lam <julian@nodebb.org >
Date: Mon Mar 14 17:29:45 2016 -0400
allowing blacklist.test to be called synchronously
commit 979faf2dba5e6f6e2ae1bd07341e63678438daf1
Author: Julian Lam <julian@nodebb.org >
Date: Mon Mar 14 17:01:14 2016 -0400
added plain ipv6 support and finished middleware logic
commit d4b72fc1aadff34df3ed7dec52ca8d3c3728a078
Author: Julian Lam <julian@designcreateplay.com >
Date: Fri Mar 11 16:05:31 2016 -0500
WIP IP Banning logic middleware
commit f08b2553890c5522b6a1eaf521fe4e94df40574a
Author: Julian Lam <julian@designcreateplay.com >
Date: Fri Mar 11 15:26:27 2016 -0500
tweaks to ACP, rule validator
commit 868abacaa494e6b8a88bd4ea429b1b066a9ecb2e
Author: Julian Lam <julian@designcreateplay.com >
Date: Fri Mar 11 13:50:05 2016 -0500
IP Banning ACP page, styling, save&load functionality
2016-03-14 17:31:36 -04:00
Julian Lam
e1323c0295
Updated js code so vendors can be added to the modules folder, so
...
they can be required properly and we can finally get rid of that
really annoying "mismatched anonymous" error in Require.js.
First module to make the transition: Chart.js
2016-02-26 11:29:17 -05:00
psychobunny
42c0b973f1
closes #3134
2016-01-18 15:17:38 -05:00
psychobunny
f17fa3ca11
minify flag not actually being used
2016-01-18 15:17:32 -05:00
Julian Lam
f77f39e937
Fixed #3925
...
Also updated port local variable to be a Number, since all of the
conditional checks assume it is a number, when all along it has
been a string.... heh.
2015-12-04 08:32:01 -05:00
barisusakli
ca294fc6ec
closes #3663
2015-09-29 18:22:47 -04:00
Julian Lam
160cf93802
Fix regression caused by 4f766ac
2015-09-11 16:12:47 -04:00
Julian Lam
4f766ac7b5
Updated cache buster logic
...
Removed css and script busters in favour of a uuid/guid cache
buster that is generated when the app starts.
This change means that in the event your NodeBB crashes often,
users will not be able to rely on their browser cache to serve
an unchanged style/js file, but if that's the case, you've
got bigger problems anyway.
re: #3573
2015-09-11 16:04:31 -04:00
Julian Lam
7e6703c18e
more line ending conversion #3343
2015-07-21 11:23:16 -04:00
barisusakli
93fd938913
removed setTimeout
2015-05-12 16:32:30 -04:00
barisusakli
3063da83ef
argument fix for static/action hooks
2015-04-28 15:09:17 -04:00
Julian Lam
a462b10f94
nevermind... (@barisusakli 🧌 )
2015-04-27 23:05:14 -04:00
Julian Lam
379bdd12e0
fixed improper parsing of url in loader, and updated mongo init to not send anything in cb except err. Also updated webserver init so that it doesn't expect stuff from static:app.preload
2015-04-27 22:51:44 -04:00
barisusakli
2286d1137b
remove tab
2015-04-27 20:32:37 -04:00
barisusakli
d946a2fcbd
closes #3098
...
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
2015-04-27 20:26:02 -04:00
psychobunny
2fbe7a8190
webserver: only start listening _after_ everything is compiled
2015-04-27 14:46:05 -04:00
barisusakli
0d6772c30b
warning/errors on invalid ports config
2015-04-17 17:52:11 -04:00
Julian Lam
4fffe4da94
moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added
2015-04-16 14:28:04 -04:00
Fokke Zandbergen
f0836f4107
Skip setTimeout if it doesn't exist (<= 0.10.36)
2015-03-10 10:36:34 +01:00
psychobunny
e5c842d923
ability to send in extensions (comma delimited) to --from-file
2015-02-24 15:33:37 -05:00