548 Commits (a4ab13d323929e33c2dde4be7984b4b566cb9f8e)

Author SHA1 Message Date
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 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
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
Julian Lam 7902987900 added jqueryUI to list of prefetched resources, and updated its loader to not use $.getScript(). Updated require.js files to use ?v= in the url argument for cache buster 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
Julian Lam ba412f4a56 fully completed #4658 9 years ago
Julian Lam 149565169b closes #4658 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
boomzilla 52e4a37df8 When forking a topic, updates user bookmarks in the topic to keep the last read position (#4554)
from inadvertently being too far down the topic due to post indices decreasing because
some posts were moved to a new topic.
9 years ago
Julian Lam 1d7a5f58e2 fixes #4576 9 years ago
psychobunny d83a1987eb fix routing of rjs modules 9 years ago
psychobunny d24b15a584 closes #4523 9 years ago
psychobunny c88ed66312 closes #4502 9 years ago
Julian Lam ba44db5b5b updated dependency check logic to better handle missing dependencies 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 12ed4d2af5 remove PostCSS log 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
psychobunny e134689324 we were accidentally including client-side LESS on the ACP 9 years ago
psychobunny fc65b144b1 running less compilation in series 9 years ago
Julian Lam 3e2231d2cb Fixing viewport shuffling due to image load
Introduced new method ".loadImages()" in posts client side lib
to handle viewport height changes when loading images. Requires
nodebb-plugin-markdown@5.0.0

@BenLubar @boomzillawtf
9 years ago
Julian Lam 8013f124da fixes #4471 9 years ago
psychobunny 000d5b61c7 fix for retrieving css cache 9 years ago
psychobunny baeed22f20 grunt: only compile ACP less if that was changed, and vice versa with theme/plugin less 9 years ago
barisusakli 91efab3c6d closes #4437 9 years ago
Julian Lam f7e4387748 closes #4380 9 years ago
barisusakli b6e22b7723 closes #4367 9 years ago