1086 Commits (b4a4fd8679c2106f7ad1ffdb66532099d2a60fa2)

Author SHA1 Message Date
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 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
barisusakli a15aaaf389 closes #5394
dont allow socket.emits during maintenance mode
8 years ago
Julian Lam bfd16d188e Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak bf44ca20f2 Better deprecation warning for old language route 8 years ago
Peter Jaszkowiak 54ac23cc7a Revert "No 404 responses for missing language files"
This reverts commit f0c941e5ae.
8 years ago
Peter Jaszkowiak f0c941e5ae No 404 responses for missing language files 8 years ago
Julian Lam dbb71423a8 executing core middlewares first before secondary or plugin middlewares 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
Julian Lam 73879b824c Merge branch 'master' into develop 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 e1a29f4aa8 Switch to `assets` route 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
barisusakli 274448426d helpers.setupAdminPageRoute 8 years ago
Julian Lam 43056a4bfa Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak ffa2bd14f8 Fix reverse proxies breaking admin translations 8 years ago
Julian Lam 5e109bb4a8 Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
xucheng 40d73e2a54 fix ajax 404 err when base url isn't root (#5285) 8 years ago
Julian Lam 753d4b0275 wrapped up basic functionality of list and detail for flags, filter support. #5232 8 years ago
Julian Lam dde3d2b135 Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 8 years ago
Julian Lam a1b49a98e7 locking down session deletion route to admins and global mods only 8 years ago
Julian Lam 98a104564b some light refactoring, details API (#5232) 8 years ago
Julian Lam 640df0379e flag list page (#5232) 8 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
8 years ago
barisusakli 4ff71f6b0b allow two sections 8 years ago
barisusakli 069a90e792 move maintenance mode 8 years ago
barisusakli fb47bf3889 unread/recent changes closes #4774 8 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
8 years ago
Julian Lam 727710fbd9 using middleware.authenticate for chat route instead of ensureLoggedIn 8 years ago
Julian Lam 1abef16cd9 fixes #5147 8 years ago
barisusakli 1e486875f4 add top posters and most rep to acp 8 years ago
barisusakli 1a63672e66 more test fixes 8 years ago
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 8 years ago
Julian Lam e80400665e closes #5111 8 years ago
barisusakli 5f16205d15 closes #5109 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
barisusakli 6f86621e30 closes #5096 8 years ago
barisusakli 0614957542 use req.app.render 8 years ago
barisusakli fe50c8d124 closes #5078 8 years ago
Jorge Meireles 4938b00635 Fix language path (#5032) 9 years ago
barisusakli 9f2533b5ba closes #5054 9 years ago
barisusakli 202edfa47e chat history access 9 years ago
barisusakli 2c140c2107 ability to filter flags by category 9 years ago
barisusakli fac68d52f6 cache group membership methods
groups.isMember
groups.isMembers
groups.isMemberOfGroups
clear cache for user on group.join & group.leave
9 years ago
barisusakli 9c1b1acc5b removed unsused requires 9 years ago
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
9 years ago
barisusakli 4aac8bbe6a closes #2222 9 years ago
barisusakli 84f88a6f15 refactor user search
use pagination on results
removed infinite scroll
changed the term and section to use the query param as well
pagination urls respect search
9 years ago
barisusakli 409621c661 closes #4843 9 years ago
Julian Lam 093b21fc31 fixes #4954 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
Julian Lam 71a5e4a8a1 better error handling for session revocation if no login session is present, #4214 9 years ago
barisusakli d2cbd7e6dc new priv for uploads 9 years ago
barisusakli 7b86fd3dc0 closes #4835 9 years ago
Julian Lam 55bcc28e0e closes #4831 9 years ago
Julian Lam 4c62784358 closes #4829 9 years ago
Julian Lam d5961cfca3 #4827 9 years ago
barisusakli 789a3736af closes #4820 9 years ago
Julian Lam a14263349b updated termsOfUse to use registration interstitial instead of being integrated into register template 9 years ago
Julian Lam d2926f4fe7 WIP registration interstitial 9 years ago
Julian Lam f03018b7cc updated middlewares so if you have not completed registration, you will be required to do so 9 years ago
Julian Lam 0ba0001f75 WIP registration interstitial 9 years ago
psychobunny b37b083a4d new privilege: Access Topic
differentiation between Access Category and Access Topic, ie. allows you
to see the category view but not actually enter the topic itself
9 years ago
Julian Lam ba412f4a56 fully completed #4658 9 years ago
Julian Lam 149565169b closes #4658 9 years ago
Julian Lam 437770538c work-in-progress commit for #4655 9 years ago
barisusakli b3fa5583f8 closes #4650 9 years ago
Julian Lam 621e0d145e closes #4617
Serving english timeago strings from server instead of round-trip
re-request on failure.
9 years ago
Julian Lam f1deaa6fa5 Exposing middleware to app/req, organisation.
Organisation -- moved 404 and error controllers into the
controllers file instead of as local variables in routes/index
9 years ago
barisusakli 69e25fe4d5 closes #4612 9 years ago
barisusakli 702597d759 change /user/uid to /uid/:uid
so it doesn't conflict with actual user routes
was causing incorrect redirects if a user had a numeric userslug
@julianlam
9 years ago
barisusakli eb0aea6390 add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
9 years ago
Barış Soner Uşaklı 03b047bd59 fix another crash 9 years ago
barisusakli 09a03bbe10 fix validator crash 9 years ago
Julian Lam a500914143 Updated 404 for image handling
If an image or asset specified in static file handler is not
found (ENOENT), then the 404 handler is now invoked (as opposed to
prior, where a handled exception was thrown).

Also, when requesting images inline that do not exist, NodeBB
will now send back "404 Not Found" instead of the entire 404
page. If you access the broken link directly, you'll see the
404 page.
9 years ago
Julian Lam d0f08b4dd4 added prompt to passport input for Google SSO 9 years ago
Barış Soner Uşaklı 35ac64db7f Merge pull request #4504 from BenLubar/unread-topics
Add /unread/new, which is the same as /unread but does not show topics that were already partially read by the user.
9 years ago
Julian Lam 2ddcaa9ce1 added new hook for hotswap preparation 9 years ago
barisusakli 229326acd6 another tab 9 years ago
barisusakli f43be13f87 fix indent 9 years ago
barisusakli bec688cea0 relative path fix 9 years ago
barisusakli f7ac1d89ff fix undefined next 9 years ago
Ben Lubar 217f0c5652 Switch to a named filter for unread to allow future expansion.
Don't use the query string as it is not passed to infinite scroll.
9 years ago
Julian Lam 22f73a8f68 fixes #4463 9 years ago
barisusakli 78f4cbc9e4 fix indents 9 years ago
barisusakli 0f959c341b closes #4466 9 years ago
barisusakli f665a1e353 closes #4394 9 years ago
barisusakli b6e22b7723 closes #4367 9 years ago
Julian Lam 184a2c4540 IP blacklist functionality -- re: #4367
Squashed commit of the following:

commit 5c42fd732d091fa66cf5b45a2af5e1697cc1efcd
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Mar 14 17:29:45 2016 -0400

    allowing blacklist.test to be called synchronously

commit 979faf2dba5e6f6e2ae1bd07341e63678438daf1
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Mar 14 17:01:14 2016 -0400

    added plain ipv6 support and finished middleware logic

commit d4b72fc1aadff34df3ed7dec52ca8d3c3728a078
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 16:05:31 2016 -0500

    WIP IP Banning logic middleware

commit f08b2553890c5522b6a1eaf521fe4e94df40574a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 15:26:27 2016 -0500

    tweaks to ACP, rule validator

commit 868abacaa494e6b8a88bd4ea429b1b066a9ecb2e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 13:50:05 2016 -0500

    IP Banning ACP page, styling, save&load functionality
9 years ago
psychobunny 9e832e006a closes #2920 9 years ago
psychobunny e069150625 closes #2165 9 years ago
barisusakli 3d4e058b6a closes #4192 9 years ago
barisusakli 5b6e8bd167 closes #4171 9 years ago
barisusakli e6cf8ec5cf more flagged posts shenanigans 9 years ago