233 Commits (898e0e89254c601dfc8469172af9b02533e9b47d)

Author SHA1 Message Date
Barış Soner Uşaklı c27be9db5a
Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
7 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
7 years ago
Barış Soner Uşaklı 81328806a0 closes #6511 7 years ago
Peter Jaszkowiak dcf1865b54 Fix ACP alerts to use same system as client (#6396)
* Fix PostCSS warning message

* Fix disconnect indicator styling

Would increase size of quick actions when active

* Use same alert system in ACP and client

- Remove snackbar
- Add styling and fix template for ACP (based on Persona)
7 years ago
Barış Soner Uşaklı 15e9bbac92 closes #6311 7 years ago
psychobunny c0cf9e64fd remove lodash from built modules, use utils.debounce instead 8 years ago
Julian Lam 3df2ab7cb9 exposing lodash as a client-side module 8 years ago
Peter Jaszkowiak 7d7c51f8e9 Fix `acp.min.js` ENOENT error on CI tests
Hopefully
8 years ago
Peter Jaszkowiak 4387d5d466 Ensure installed correct version of modules on startup, bump dependencies (#6207)
* Ensure installed correct version of modules

* Bump dependencies

* Bump promise-polyfill

* Fix emailer test

* Fix auto-install regression

introduced in 9b5e0f9e95
8 years ago
Baris Usakli 3551d7d68e closes #4804 8 years ago
Peter Jaszkowiak 9b11413d14 Bundle admin scripts, remove CDN scripts (#6122)
Close #6120
8 years ago
Peter Jaszkowiak c47c47f7e3 Use less memory to build translation files (#6070)
* Change languages build to use less memory

Add graceful-fs so no ned to worry about fs limits

* Specify encoding for fs.readFile

Use eachLimit since graceful-fs handles that now
8 years ago
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop' 8 years ago
Peter Jaszkowiak adc47fd053 Use relative linking (#6011)
* Use relative linking

* Add copyFile method and tests

Closes #5988

* Fix relative linking on Windows

Hard links and junctions don't work with relative paths

* Fix tests

* Revert ghange to gitignore
8 years ago
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency 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
Peter Jaszkowiak b60dbe7d1e Unwrap meta modules 8 years ago
psychobunny c94365aefd closes #5721 8 years ago
Baris Usakli da8b1b605c #5723 8 years ago
Peter Jaszkowiak 53eced6be0 uglify-js@3, JS source maps 🍰 8 years ago
Peter Jaszkowiak 4c1e25c8ce Link instead of copying files
Only mkdirp the necessary directories
8 years ago
Peter Jaszkowiak 9f5ce24993 Minify modules in a batch 8 years ago
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
8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
Peter Jaszkowiak 30b47d39f3 Fix #5536 8 years ago
barisusakli 236758b712 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Peter Jaszkowiak 2827db3309 Fix sounds playing through multiple tabs 8 years ago
Julian Lam d18cfced96 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Peter Jaszkowiak a8add6477c Fix merge conflicts 8 years ago
Julian Lam a62a4e698f Merge pull request #5578 from NodeBB/utils-translator-require
Make utils and translator easier to require
8 years ago
Peter Jaszkowiak 484a800327 Merge branch master into develop 8 years ago
Peter Jaszkowiak 75d291183d Fix using nodebb in other CWDs 8 years ago
Peter Jaszkowiak 010473e5cc Merge branch 'master' into patch-pitaj 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak b53d3254dd buzz is no longer used 8 years ago
Peter Jaszkowiak 2c418fd2af Use npm bootstrap 8 years ago
Peter Jaszkowiak 0ef30e91ba Use ace-builds npm package instead of vendor
ace can be referenced as an r.js module, reduces acp bundle size
8 years ago
Peter Jaszkowiak 17ff8a4151 Enable passing paths as module sources 8 years ago
pichalite 4c89497cc4 Closes #5521 8 years ago
Julian Lam 69dd1e3aca Merge branch 'master' into develop 8 years ago
barisusakli 8d7283e6c7 dont minify if file ends with .min.js #5529 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
barisusakli 202bafa3e3 add images to bundle 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
Julian Lam 672d7352bb Merge branch 'master' into develop 8 years ago
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
9 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
9 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=`
9 years ago
Julian Lam 29c7ae7645 Merge remote-tracking branch 'origin/master' into develop 9 years ago
Barış Soner Uşaklı c4d4d2385b closes #3973 closes #5303 9 years ago
Julian Lam c640bdf2b9 Merge branch 'master' into develop 9 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
9 years ago
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 9 years ago
barisusakli afef79a81e closes #5241 9 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