Peter Jaszkowiak
0fffde67b5
Undeprecate `/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
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
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
Peter Jaszkowiak
ffa2bd14f8
Fix reverse proxies breaking admin translations
8 years ago
xucheng
40d73e2a54
fix ajax 404 err when base url isn't root ( #5285 )
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
069a90e792
move maintenance mode
8 years ago
barisusakli
fb47bf3889
unread/recent changes closes #4774
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
1a63672e66
more test fixes
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
e80400665e
closes #5111
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
0614957542
use req.app.render
9 years ago
Jorge Meireles
4938b00635
Fix language path ( #5032 )
9 years ago
barisusakli
9c1b1acc5b
removed unsused requires
9 years ago
barisusakli
aefba6e2b1
removed some methods
...
helpers.getBaseUser
exposeUid, exposeGroupName
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
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
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
Julian Lam
437770538c
work-in-progress commit for #4655
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
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
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
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
barisusakli
78f4cbc9e4
fix indents
9 years ago
barisusakli
0f959c341b
closes #4466
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 <[email protected] >
Date: Mon Mar 14 17:29:45 2016 -0400
allowing blacklist.test to be called synchronously
commit 979faf2dba5e6f6e2ae1bd07341e63678438daf1
Author: Julian Lam <[email protected] >
Date: Mon Mar 14 17:01:14 2016 -0400
added plain ipv6 support and finished middleware logic
commit d4b72fc1aadff34df3ed7dec52ca8d3c3728a078
Author: Julian Lam <[email protected] >
Date: Fri Mar 11 16:05:31 2016 -0500
WIP IP Banning logic middleware
commit f08b2553890c5522b6a1eaf521fe4e94df40574a
Author: Julian Lam <[email protected] >
Date: Fri Mar 11 15:26:27 2016 -0500
tweaks to ACP, rule validator
commit 868abacaa494e6b8a88bd4ea429b1b066a9ecb2e
Author: Julian Lam <[email protected] >
Date: Fri Mar 11 13:50:05 2016 -0500
IP Banning ACP page, styling, save&load functionality
9 years ago
barisusakli
3d4e058b6a
closes #4192
9 years ago
barisusakli
e6cf8ec5cf
more flagged posts shenanigans
9 years ago
barisusakli
086e99de5c
wip flagged posts
9 years ago
barisusakli
1b9e18c6fc
allow global mods to see banned users
9 years ago
Julian Lam
b1d6d81992
ensuring that auth routes are loaded _after_ plugin routes,
...
just like in a reload.
9 years ago
barisusakli
cb8fcb80d1
closes #4083
9 years ago