580 Commits (157832131dbe67f52213e390c4df91b3e48eed1a)

Author SHA1 Message Date
Barış Soner Uşaklı 14ea9a0dd6 Merge pull request #5716 from NodeBB/import-export-ref
Import export cleanup
8 years ago
Peter Jaszkowiak 8e5bcf6105 Fix #5727 8 years ago
Peter Jaszkowiak e71fb9ab24 Fix `node --inspect` 8 years ago
Peter Jaszkowiak 9a3b684228 Remove dependency, ignore package-lock.json 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 3c2d4fe649 Switch from underscore to lodash 8 years ago
Barış Soner Uşaklı 890c2eff70 style changes 8 years ago
Peter Jaszkowiak 8901dad6f2 Revert "fix concat test on windows"
This reverts commit d1dd0cd6df.
8 years ago
Baris Usakli d1dd0cd6df fix concat test on windows 8 years ago
Peter Jaszkowiak 9ef2b5a003 Don't use uglify compress 8 years ago
Peter Jaszkowiak 53eced6be0 uglify-js@3, JS source maps 🍰 8 years ago
Julian Lam fc4f016932 Merge pull request #5689 from NodeBB/plugin-load-ref
Plugin load refactor
8 years ago
Peter Jaszkowiak 8ce35c3cc2 async.apply -_- 8 years ago
Barış Soner Uşaklı 2faf175739 refactor 8 years ago
Peter Jaszkowiak 3dd282b7b9 Load languages with other plugin data
- Added more tests
- Should speed up builds
- Allows for incremental builds in the future
8 years ago
Peter Jaszkowiak b8baac1aad async.apply 8 years ago
Peter Jaszkowiak cd1f0ddc79 Resolve merge conflicts 8 years ago
Peter Jaszkowiak 2a9cdb7be2 Add `--threads=#` option for setting max threads
Make grunt NODE_ENV development by default
8 years ago
Peter Jaszkowiak d988e8a50f Test minifier 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 e8caee3c4c Restrict total threads
So machines with a small amount of cores build faster
8 years ago
Peter Jaszkowiak 90da6d889d Only load necessary plugin data
Fix tests to work in this case
Add more verbose messages to plugins/data
8 years ago
Peter Jaszkowiak b0645cc67d Plugin load refactor 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ı 6049c46f15 meta dependecy tests 8 years ago
Barış Soner Uşaklı 66dee3452f more tests for admin uploads 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
Barış Soner Uşaklı 029e2ea8da 404 logging change
dont write to db on every 404
dont log 404 if route is empty
8 years ago
Barış Soner Uşaklı 1d4923a606 limit # of results returned 8 years ago
barisusakli 085d8c2f92 fix lint 8 years ago
Barış Soner Uşaklı 9d229ae960 fix path to log file if base_dir is undefined 8 years ago
barisusakli 33e8ecc1f4 closes #5404 8 years ago
Barış Soner Uşaklı 081578c7f4 Merge pull request #5616 from NodeBB/auto-lang
Automatically detect user language based on browser accepts header
8 years ago
Peter Jaszkowiak 413bb4736c Save language metadata on build to avoid readdirs later 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
Barış Soner Uşaklı 43f8678c7a update local config immediately 8 years ago
Julian Lam 7afe8a32f6 Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak ff09d6e0dd Fix #5549, improve tpl compilation (#5551) 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 793555a344 Merge branch 'master' into develop 8 years ago
RoiEX 186c1f40e9 Refactor Code 8 years ago
RoiEX 710377ceea Remove space 8 years ago
RoiEX 603d45fbfa Changed Serving Method 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
RoiEX 4082ca40c1 Add last comma 8 years ago
RoiEX 0710c6488d Fix trailing commas 8 years ago
RoiEX eca150f392 Fix Tests 8 years ago
RoiEX f761191fca Add OSD 8 years ago
barisusakli e85e35cf0c closes #5497 8 years ago
barisusakli ea871384d8 remove fallbacks 8 years ago
barisusakli 3b8d14bf12 closes #5493 8 years ago
barisusakli 202bafa3e3 add images to bundle 8 years ago
Julian Lam 45c479a101 Merge branch 'master' into develop 8 years ago
barisusakli 8a0cf6c0ac more admin socket tests 8 years ago
Julian Lam 58cbf44143 Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 20d250bceb Upgrade script for new sounds system 8 years ago
Peter Jaszkowiak 007051c14c Fix #5476 8 years ago
Julian Lam ddea9f534e running eslint again 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
pichalite 1d5b3cc73f ACP manage tags page UI changes 8 years ago
Julian Lam 672d7352bb Merge branch 'master' into develop 8 years ago
barisusakli 4cd4414d19 small change 8 years ago
Barış Soner Uşaklı 026c32f32b Merge pull request #5462 from NodeBB/minify-modules
Minify all module scripts in production
8 years ago
barisusakli 2dac3d2292 closes #5465, blacklist tests 8 years ago
Julian Lam e427f1663e Merge pull request #5456 from NodeBB/sounds-refactor
Sound system improvements
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 4bb49a7171 ESlint no-unused-vars 8 years ago
Peter Jaszkowiak c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 8 years ago
Peter Jaszkowiak 144fa8698c Eslint no-lonely-if 8 years ago
Peter Jaszkowiak 09e868ce5f ESlint no-useless-escape, no-else-return 8 years ago
Peter Jaszkowiak 04bb6513b0 ESlint no-cond-assign, no-void, valid-jsdoc 8 years ago
Peter Jaszkowiak 5a45087fc8 ESlint no-unreachable, no-redeclare 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 1493afee2a ESlint indent 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 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 d7526b5e44 ESlint array-bracket-spacing
and object-property-newline
8 years ago
Peter Jaszkowiak b09b3aef7f ESlint no-undef, remove global comments 8 years ago
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Julian Lam f7f5b2c8d9 Merge remote-tracking branch 'origin/master' into develop 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
Peter Jaszkowiak 3d56dc4857 Fix #5368 8 years ago
Julian Lam 8bf719b258 Merge pull request #5431 from NodeBB/ajaxify-cache-buster
Ajaxify improvements, `/assets/uploads/` fixes, cache buster improvements
8 years ago
Julian Lam fcaefbadca Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli 8b006fb1ab closes #5434 8 years ago
Peter Jaszkowiak b553236620 Better defaults if cache buster read fails 8 years ago
Julian Lam 7f124a3ccf Merge branch 'master' into develop 8 years ago
Julian Lam 7ba111acdd Merge pull request #5420 from NodeBB/assets-route
/assets/uploads
8 years ago
Peter Jaszkowiak aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
8 years ago
Julian Lam 87e02b264c Merge branch 'master' into develop 8 years ago
Julian Lam ce2bda0648 utilising async series if OS reports that system only contains one CPU processor 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 b530701cff Fix tabs 😡 8 years ago
Peter Jaszkowiak bb1bfb0449 Merge branch 'master' into assets-route 8 years ago
psychobunny dbc3113940 Merge pull request #5412 from pichalite/cropperjs
Ability to crop profile images before uploading
8 years ago
barisusakli e3a2e13438 build test 8 years ago
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts 8 years ago
Peter Jaszkowiak 553567c3b2 Refactor `nodebb`, move `build.js`, add `--dev` 8 years ago
pichalite de28ff5d43 Ability to crop profile images before uploading 8 years ago
Peter Jaszkowiak f4147f7922 Generate cache buster on build 8 years ago
Julian Lam ea7d61e2e4 handling err in src/meta/languages.js 8 years ago
Julian Lam 372138c789 Revert "fixing bug that caused plugin language files to not be parsed"
This reverts commit b2bb1a7c24.
8 years ago
Julian Lam b2bb1a7c24 fixing bug that caused plugin language files to not be parsed 8 years ago
Julian Lam a7aaf8ea96 fixing bug that caused plugin language files to not be parsed 8 years ago
Julian Lam fcec6fd41d Merge remote-tracking branch 'origin/master' into develop 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 df77890c2a Plugin `defaultLang` defaults to `en-GB` 8 years ago
Julian Lam 73879b824c Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 7c88a55153 Fix empty lines in language selectors 8 years ago
Peter Jaszkowiak 7f2ded17ab Comments, misc 8 years ago
Peter Jaszkowiak 65b866192e Fix failing tests 8 years ago
Peter Jaszkowiak aff53cccc5 Plugin language fallback support 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
Peter Jaszkowiak b4b3be3d97 Cache bust translations, query param name 8 years ago
Peter Jaszkowiak 2f07c18c5a All hail the glorious translation prebuilding 8 years ago
Julian Lam 81ca10d72e Merge pull request #5332 from pitaj/async@2
async v2 upgrade
8 years ago
Peter Jaszkowiak ec544518e8 Use async v2 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
barisusakli 9ace5c6e17 moved next() of out try/catch 8 years ago
barisusakli 1fed01fe43 ability to filter search by tags 8 years ago
Julian Lam 76bcc1c327 Merge branch 'flagging-refactor' into develop 8 years ago
barisusakli 009da723c5 meta.configs tests 8 years ago
Julian Lam 451c2838d0 Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
barisusakli c32e6aaabb use build module instead of forking 8 years ago
Julian Lam e227f5842a Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
barisusakli 1c6cee207f meta/settings test 8 years ago
Julian Lam dc508fa0cb Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
barisusakli 0b9829850c closes #5273 8 years ago
Julian Lam 5d63c0aa3b Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 8 years ago
Peter Jaszkowiak 5223bb5191 Merge branch 'master' of github.com:nodebb/nodebb 8 years ago
barisusakli afef79a81e closes #5241 8 years ago
Peter Jaszkowiak fd4d53e42c Remove unnecesary admin search indexing 8 years ago
barisusakli d3fff28de5 use base_dir 8 years ago
barisusakli 31168c669b closes #5231 8 years ago
barisusakli 12d46ca441 remove async.series 8 years ago
barisusakli f7b77c5341 removed file.exists from getFromFile 8 years ago
barisusakli 259d49e392 all procs should load the js from file 8 years ago
barisusakli ef87a2b7d7 closes #5219 8 years ago
Julian Lam 9bab0b53b0 re: #5211, broke out meta.css.minify to accept targets, made build output marginally nicer looking 8 years ago
barisusakli 71c7ef9109 fix test 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
Julian Lam e6c9c89342 closes #5197 8 years ago
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
8 years ago
Anil Mandepudi f7b64d655a Fix issue where CSS files imported along with less files are not getting minified (#5178) 8 years ago
Julian Lam 66aea0eed1 closes #5167 8 years ago
barisusakli b44f3f4811 closes #5150 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
Barış Soner Uşaklı 5dbcd9cf3f pass string to validator 8 years ago
Barış Soner Uşaklı 9d0dc35703 closes #5081 8 years ago
psychobunny 5d28dbb0a4 closes #5027 8 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
8 years ago
barisusakli d4c512cb3f handle the case where the object is not set at all #5018 9 years ago
barisusakli 7269d45e84 closes #5018 9 years ago
Julian Lam 4410385e8f Merge pull request #5012 from phit/patch-1
Use mousetrap.js minified version
9 years ago
barisusakli c01a2bfa33 default sounds to off, show correct setting in user settings page 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
barisusakli 6d34bb4657 closes #2166 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 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 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
barisusakli 5c83075806 moved variables parse to ajaxify.js 9 years ago
barisusakli e5ecb333f9 closes #4978 9 years ago
Julian Lam 2428d5e442 Update bootstrap in ACP
Also fixed #4872 by moving user creation modal to root level
(outside of .panel)
9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
Julian Lam bc961e2157 removing reload, closes #4936, closes #4929 9 years ago