726 Commits (4b8dcd4c2bfe4a41edfd251091f0ba9770547439)

Author SHA1 Message Date
Julian Lam 6852c92ed6 Merge remote-tracking branch 'origin/develop' 8 years ago
Peter Jaszkowiak dc87d7fc0f Use .js instead of .jst
Fix #5934
8 years ago
Baris Usakli b56d6f8b50 make call to db in /ping and /sping 8 years ago
Peter Jaszkowiak abffc29128 Use Benchpress (#5901)
* Use Benchpress

* Use Benchpress.compileParse

* Error for template load failure

* Use benchpressjs package

* Compile templates on demand

* Fix user settings page

* Fix admin search to exclude `.jst` files

* Fix 500-embed

So ajaxify can still show an error if the server goes down
8 years ago
Julian Lam 932b3f06a5 closes #5797 8 years ago
Julian Lam d117c65893 oops :shipit: 8 years ago
Julian Lam d98b3e8056 automatically lowercasing env vars in nconf, fixes #2544 8 years ago
Jorge Meireles a0e501676c Add relativePath to /ping and /sping 8 years ago
Barış Soner Uşaklı f6ac92111b style changes 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
Barış Soner Uşaklı f3c4d2ebe3 closes #5636 8 years ago
Peter Jaszkowiak c7929ec7d8 Add option for disabling language autodetection 8 years ago
Peter Jaszkowiak 2476221b79 Close #3462, automatically detect user language based on browser accepts header 8 years ago
barisusakli 38e16ca8f6 Merge branch 'master' into develop 8 years ago
barisusakli 65a65b19c0 tests for #5600 8 years ago
Julian Lam 7f8f197e60 Merge branch 'master' into develop 8 years ago
barisusakli 449352d899 wait for all routes to load before listening 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
barisusakli b060bda8a0 some more refactors 8 years ago
Julian Lam b1ceec7571 Merge remote-tracking branch 'origin/master' into develop 8 years ago
psychobunny 2a311d2ff6 printing initialization message twice for some reason 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
Peter Jaszkowiak 8b533bb431 Fixes #5474 8 years ago
Julian Lam 672d7352bb Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Peter Jaszkowiak c75391f9f5 Sound system improvements
- Fix sound ACP uploads
- Display soundpack names with sound files
- Soundpacks can have sounds with identical names
- Link sounds during build step
- Generate map of sound name to file name during build step
- Change how soundpacks work. It's now done via a field in plugin.json
8 years ago
Julian Lam 8a0a74d95e Merge remote-tracking branch 'origin/master' into develop 8 years ago
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts 8 years ago
Julian Lam 48909e753c Merge branch 'master' into develop 8 years ago
Dominic Lennon a06e39528f Code review change 8 years ago
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
8 years ago
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=`
8 years ago
Dominic Lennon ed19454eca Adding more specific timing for session timings 8 years ago
Peter Jaszkowiak 11f7cc4163 Pass tests 8 years ago
barisusakli 853cea7fec removed emitter.js 8 years ago
barisusakli 4f0e93732a #5211
remove passing js/css between procs
8 years ago
Julian Lam 299fcb99f1 more progress on #5211 8 years ago
barisusakli ce7513c347 allow cookieDomain from config.json 8 years ago
barisusakli 1a63672e66 more test fixes 8 years ago
barisusakli 817cd29f00 try require from root 8 years ago
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
8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli 102beb5f93 closes #5080 9 years ago
barisusakli d60ab3c74c removed cacheStaticFiles 9 years ago
barisusakli b0b6c66f77 fix unix domain socket 9 years ago
barisusakli 80c98e5ecf closes #4989 9 years ago
barisusakli 5cd6614d03 refactor 9 years ago
barisusakli 89f550ce7c moved middleware requires 9 years ago
barisusakli df7cfe2146 missing favicon dep 9 years ago
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
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
9 years ago
Julian Lam 437770538c work-in-progress commit for #4655 9 years ago
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
9 years ago
Julian Lam 2ddcaa9ce1 added new hook for hotswap preparation 9 years ago
Julian Lam 94a505a6bb removed symlink logic and using route bridging instead.
Also allowed plugins to define modules from their plugin.json
9 years ago
Julian Lam f91f705f90 Merge branch 'master' into fix-vendors 9 years ago
psychobunny acd24d856f run tasks in series to speed up startup time 9 years ago
psychobunny baeed22f20 grunt: only compile ACP less if that was changed, and vice versa with theme/plugin less 9 years ago
Julian Lam 184a2c4540 IP blacklist functionality -- re: #4367
Squashed commit of the following:

commit 5c42fd732d091fa66cf5b45a2af5e1697cc1efcd
Author: Julian Lam <[email protected]>
Date:   Mon Mar 14 17:29:45 2016 -0400

    allowing blacklist.test to be called synchronously

commit 979faf2dba5e6f6e2ae1bd07341e63678438daf1
Author: Julian Lam <[email protected]>
Date:   Mon Mar 14 17:01:14 2016 -0400

    added plain ipv6 support and finished middleware logic

commit d4b72fc1aadff34df3ed7dec52ca8d3c3728a078
Author: Julian Lam <[email protected]>
Date:   Fri Mar 11 16:05:31 2016 -0500

    WIP IP Banning logic middleware

commit f08b2553890c5522b6a1eaf521fe4e94df40574a
Author: Julian Lam <[email protected]>
Date:   Fri Mar 11 15:26:27 2016 -0500

    tweaks to ACP, rule validator

commit 868abacaa494e6b8a88bd4ea429b1b066a9ecb2e
Author: Julian Lam <[email protected]>
Date:   Fri Mar 11 13:50:05 2016 -0500

    IP Banning ACP page, styling, save&load functionality
9 years ago
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
9 years ago
psychobunny 42c0b973f1 closes #3134 9 years ago
psychobunny f17fa3ca11 minify flag not actually being used 9 years ago
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.
9 years ago
barisusakli ca294fc6ec closes #3663 10 years ago
Julian Lam 160cf93802 Fix regression caused by 4f766ac 10 years ago
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
10 years ago
Julian Lam 7e6703c18e more line ending conversion #3343 10 years ago
barisusakli 93fd938913 removed setTimeout 10 years ago
barisusakli 3063da83ef argument fix for static/action hooks 10 years ago
Julian Lam a462b10f94 nevermind... (@barisusakli 🧌) 10 years ago
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 10 years ago
barisusakli 2286d1137b remove tab 10 years ago
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
10 years ago
psychobunny 2fbe7a8190 webserver: only start listening _after_ everything is compiled 10 years ago
barisusakli 0d6772c30b warning/errors on invalid ports config 10 years ago
Julian Lam 4fffe4da94 moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added 10 years ago
Fokke Zandbergen f0836f4107 Skip setTimeout if it doesn't exist (<= 0.10.36) 10 years ago
psychobunny e5c842d923 ability to send in extensions (comma delimited) to --from-file 10 years ago
psychobunny eb6754c5eb nice, I figured out how to speed up grunt watch 10 years ago
psychobunny 540facaaab try #2 (I give up, grunt-watch seems so unpredictable... on windows anyways) 10 years ago
Julian Lam aa62c52580 closed #2583 10 years ago
Julian Lam 3deb423c55 testing socket availability before attempting to bind 10 years ago
Julian Lam 68e761bed0 if using sockets, reset the umask back to the old value after listening 10 years ago
Julian Lam b565f3ac0a closed #2497 10 years ago
barisusakli 64c0e1df61 settimeout 10 years ago
barisusakli 9e9b138afb removed unused code 10 years ago
barisusakli 64e13df14c removed node cluster spawn procs on ports 10 years ago
barisusakli 1723894e5a merge 10 years ago
Julian Lam d430ef3983 second pass, #1984 10 years ago
Julian Lam d5e473609c first pass, #1984 10 years ago
barisusakli 1abe35092b cluster socket.io fixes
close proxy server on loader.stop
changed handles to object
10 years ago
barisusakli 785790c414 moved handle close to fork worker 10 years ago
barisusakli d1fcb50c7d cluster sticky session 10 years ago
psychobunny 3aa18ebb12 no need to inform attempt to listen to address 10 years ago
barisusakli 5c3af6f549 removed webserver.init 10 years ago
barisusakli 363057cf49 closes #2390 10 years ago
barisusakli 20314991a4 tmp error check 10 years ago