424 Commits (23ed1af282aa9b8d30231edf8adce017d8c209a1)

Author SHA1 Message Date
barisusakli 30f35c42f6 fix eslint 8 years ago
barisusakli a3cbe5e090 #5436 8 years ago
barisusakli 21eefb9760 closes #5436 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
Peter Jaszkowiak bb1bfb0449 Merge branch 'master' into assets-route 8 years ago
barisusakli a15aaaf389 closes #5394
dont allow socket.emits during maintenance mode
8 years ago
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts 8 years ago
barisusakli ae7f9bac98 prevent crash if uri is malformed 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 2f07c18c5a All hail the glorious translation prebuilding 8 years ago
Julian Lam 2a9088d571 updating checkGlobalPrivacySettings middleware to hook into write-api for auth 8 years ago
Peter Jaszkowiak ffa2bd14f8 Fix reverse proxies breaking admin translations 9 years ago
barisusakli 53fe432d8a fix hook 9 years ago
barisusakli 97c0b33cf6 filter:middleware.render 9 years ago
Julian Lam acf2e4078b fixes #5263 9 years ago
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 9 years ago
Julian Lam 23cdeeb344 linting :shipit: 9 years ago
Julian Lam a1b49a98e7 locking down session deletion route to admins and global mods only 9 years ago
barisusakli 6beacdb80c fix headers for new installs
encodeURI(undefined) === "undefined"
9 years ago
Julian Lam b7fa8c1db1 fixes #5230 9 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
9 years ago
barisusakli 17f8afd0dc closes #5230 9 years ago
barisusakli 38bc8ad5ae maintenance tests 9 years ago
barisusakli 2476ab3684 closes #5202 9 years ago
barisusakli ce9be7e694 closes #5132 9 years ago
Julian Lam 663f05b972 adding back banReason to header rendering, as it regressed in 1f10e0b 9 years ago
Julian Lam 1f10e0b287 fixed #5166 9 years ago
Julian Lam f97f45a138 logic to show a modal to banned users when they try to log in via SSO 9 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
9 years ago
barisusakli a995afbfe0 fix style 9 years ago
Julian Lam 2463e85c0d allowing moderators access to the account info page 9 years ago
Barış Soner Uşaklı 041022db63 #5145
dont crash if res.locals.config is undefined
9 years ago
barisusakli c972a339e6 fix value 9 years ago
barisusakli 862678eefe encodeURIComponent header values 9 years ago
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 9 years ago
Julian Lam eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes #5113 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 9 years ago
barisusakli 98fff29869 closes #5082 9 years ago
barisusakli 15409f92cd escape history data, hide moderation note in api 9 years ago
barisusakli 282ac56bf6 adde expose methods back
used by plugins
9 years ago
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
9 years ago
barisusakli 478da29423 closes #5020 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 9 years ago
barisusakli a0f2e8a8ec use req.uid 👍 9 years ago
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
barisusakli f7540a7edc closes #4811 9 years ago
barisusakli 409621c661 closes #4843 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago