187 Commits (02a8ed9b11938a70e9f991cc215d0d94462cddfa)

Author SHA1 Message Date
barisusakli 4cd4414d19 small change 8 years ago
Peter Jaszkowiak beb652ee43 Move `minifier.js` to `src/meta` 8 years ago
Peter Jaszkowiak 9b1068e868 Minify all module scripts in production 8 years ago
Peter Jaszkowiak 93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak 34e233fe1d ESlint spaced-comment 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Julian Lam 8a0a74d95e Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam b5daedb7a3 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Peter Jaszkowiak bb1bfb0449 Merge branch 'master' into assets-route 8 years ago
pichalite de28ff5d43 Ability to crop profile images before uploading 8 years ago
Peter Jaszkowiak 186209a0a3 Build plugin `staticDirs`
- route `/plugins` -> `build/public/plugins`
- symlink `staticDirs` directories into `build/public/plugins`
- remove custom `/plugins` route handling
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
Julian Lam 29c7ae7645 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Barış Soner Uşaklı c4d4d2385b closes #3973 closes #5303 8 years ago
Julian Lam c640bdf2b9 Merge branch 'master' into develop 8 years ago
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
8 years ago
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 8 years ago
barisusakli afef79a81e closes #5241 8 years ago
barisusakli 31168c669b closes #5231 9 years ago
barisusakli 12d46ca441 remove async.series 9 years ago
barisusakli f7b77c5341 removed file.exists from getFromFile 9 years ago
barisusakli 259d49e392 all procs should load the js from file 9 years ago
barisusakli 4f0e93732a #5211
remove passing js/css between procs
9 years ago
Julian Lam e6c9c89342 closes #5197 9 years ago
Julian Lam 66aea0eed1 closes #5167 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
Barış Soner Uşaklı 9d0dc35703 closes #5081 9 years ago
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 499fbe21fdd5b7f2735a27e76a300f69039cfbd3 (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
9 years ago
phit 00a06e9253 Use mousetrap.js minified version
didn't see a reason it shouldn't use the minified version
9 years ago
pichalite 3ef7c57a63 make jquery ui a r.js module 9 years ago
psychobunny 0afa55517f fixed app.loadJQueryUI; minified jquery-ui.js; removed jqueryui from cold load payload; fixed broken image paths 9 years ago
Julian Lam 785f4fc5a0 updating to jQuery 3.x on frontend and ACP 9 years ago
barisusakli 5c83075806 moved variables parse to ajaxify.js 9 years ago
barisusakli e5ecb333f9 closes #4978 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
pichalite b7b909bcc0 remove unused autosize lib 9 years ago
pichalite 8ef7ca4bdb update chart.js to new version 9 years ago
Julian Lam e407dbfdd4 fix module bridging output to log the correct number 9 years ago
barisusakli bb7303834f remove csrf r.js module 9 years ago
Julian Lam cf7540d41c appeasing Travis CI, 'cause fuck code reuse, right? 9 years ago
Julian Lam 55bcc28e0e closes #4831 9 years ago
AdJones 693e724802 Fixing issue where the relative path was ignored for express modules (#4621)
* Fixing issue where the relative path was ignored for express modules

* Fixing issue where the relative path was ignored for express modules (without the console log lines!)
9 years ago
Julian Lam 1d7a5f58e2 fixes #4576 9 years ago
psychobunny d83a1987eb fix routing of rjs modules 9 years ago
Julian Lam b6a10c7729 removed console log 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 359b1fbe1a cleanup 9 years ago
psychobunny e2bc5f241a optimizing process.send for js minification 9 years ago
psychobunny acd24d856f run tasks in series to speed up startup time 9 years ago
Julian Lam 8013f124da fixes #4471 9 years ago
psychobunny aa2af345f9 removed unused deps 9 years ago
psychobunny 329a7a1e08 @barisusakli fixing minfile caching for multiple processes 9 years ago
Julian Lam 3f2872979f added buzz 9 years ago
Julian Lam 44aae7daa5 removed hammer, updated semver, added mousetrap 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
barisusakli 3336365e53 closes #4024 9 years ago
barisusakli c2e1426e57 fix syntax error, and actually show error if minification fails 9 years ago
psychobunny e017ad432f closes #3810 9 years ago
psychobunny 1853cc3cc1 better messaging for each minification process 9 years ago
psychobunny f94cd21f83 #3875 filter:scripts.get now acts like filter:admin.scripts.get; does not get minified 9 years ago
psychobunny 42c0b973f1 closes #3134 9 years ago
psychobunny 5e4ef52911 some more cleanup 9 years ago
psychobunny 3cc5e1473f cleanup / lint before diving in 9 years ago
psychobunny f17fa3ca11 minify flag not actually being used 9 years ago
Schamper 6b21e34c76 Also clean the minifier process options if the --debug option is used 10 years ago
barisusakli 46c2563164 removed rooms.js removed browsing users, removed chat syncing across sockets
use lastonline for online detection
10 years ago
barisusakli 9040a1a063 concat minimize most common routes 10 years ago
barisusakli ca294fc6ec closes #3663 10 years ago
barisusakli fbfb39f967 moved socket connection out of app.js 10 years ago
barisusakli a64cbbc6df #3573 10 years ago
Barış Soner Uşaklı a2bf7d4230 Merge pull request #2895 from EvSpirit/master
#2893 increment --debug-brk port value when forking js-minifier child pr...
10 years ago
Julian Lam 3d9415b65e Fixes #3442 10 years ago
Julian Lam 2d70733fa5 updated dependencies to use latest UglifyJS2, instead of my year-old fork 10 years ago
barisusakli 8e74d8f4fa removed parallel 10 years ago
psychobunny 15a8ebaeff only load rjs modules that are required on startup 10 years ago
psychobunny 0ad1c8afbf forgot to add pagination to default minified file 10 years ago
psychobunny b0907b8c3c minify some modules that are required on cold load 10 years ago
psychobunny 7564881298 don't minify files in /client
adds an extra call to the client/route.js file on cold load but cuts a
ton of extra weight in nodebb.min.js
10 years ago
psychobunny febc359e53 moved sortable to acp only 10 years ago
psychobunny f8b3282295 closes #3141 10 years ago
psychobunny ef6c30ad99 removed some unused variables 10 years ago
Nicolas Siver 3197a9e47c register vendor script 10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago
EvSpirit 8a6c189d80 #2893 increment --debug-brk port value when forking js-minifier child process 10 years ago
EvSpirit 3bd2f53056 #2893 increment --debug-brk port value when forking js-minifier child process 10 years ago
barisusakli 810d3be512 closes #2593 10 years ago
psychobunny 54cbbe2844 components system 10 years ago
Barış Soner Uşaklı eda98a35ea closes #2862 10 years ago
psychobunny 6d4b658579 using unminified version of autosize 10 years ago
psychobunny 5e3a990f2d added vendor/autosize 10 years ago
Julian Lam 5d7b46935d fixing issue where grunt wouldn't read js from file properly if nodebb wasn't run in production mode at least once 10 years ago
psychobunny aa12ab9478 think its fairly safe to say this isn't experimental anymore
worked every single time I reloaded today, and that'd be about a hundred
thousand times so far
10 years ago
Julian Lam aa62c52580 closed #2583 10 years ago