HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 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
barisusakli
229326acd6
another tab
9 years ago
barisusakli
f43be13f87
fix indent
9 years ago
barisusakli
bec688cea0
relative path fix
9 years ago
barisusakli
ca294fc6ec
closes #3663
10 years ago
barisusakli
25502f0687
closes #3508
10 years ago
barisusakli
be11577aa4
closes #2477
10 years ago
Julian Lam
b481a28b6e
sendFile instead of sendfile
11 years ago
Julian Lam
0c4a788698
added callbacks to css and js reloading, issue #2010
11 years ago
Julian Lam
4d73a563c5
closed #1850
11 years ago
dhingey
b57dbc37cd
Fix relative path URL bugs in the plugin API.
...
Fixes plugin-related 404 URLs, as well as the plugin directory URL
for installations which use a relative path.
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
psychobunny
f01cb88c57
deprecated: plugins/fireHook, filter:server.create_routes, filter:admin.create_routes
11 years ago
psychobunny
1ef95bd09e
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
...
Conflicts:
app.js
public/templates/category.tpl
public/templates/popular.tpl
public/templates/recent.tpl
public/templates/unread.tpl
src/routes/plugins.js
src/webserver.js
11 years ago
Julian Lam
5a8a3627d2
bringing subfolder installations to v0.4.0 - JUST FOR @PLANNER
11 years ago
psychobunny
23e4eb7cd9
deprecating filter:server.create_routes and filter:admin.create_routes; maintains limited functionality but recommended you migrate asap
11 years ago
psychobunny
178edd150a
moved action:app.load out of webserver; passing in app, mdw, and controllers into action:app.load. now we can create routes dynamically ;)
11 years ago
psychobunny
90a80ad83d
plugins can now define a templates directory which gets compiled onload without requiring any hooks
11 years ago
psychobunny
b9e119241e
moved get_custom_templates into plugins.js
11 years ago
psychobunny
8f7a7fec7d
more cleanup; commenting out custom plugin routes until its fixed properly
11 years ago
psychobunny
c0cd6148f4
one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files
11 years ago
psychobunny
f785f7f6e3
added deprecation notice to plugins/fireHook
11 years ago
Julian Lam
0fecbf7cbf
entity decoding in filenames
11 years ago
Julian Lam
561b42d0f9
new staticDirs format, @mrwaffle
11 years ago
Julian Lam
f50d77bca0
resolved #1060
11 years ago
Julian Lam
734d8f96e8
fixing symbols in plugin static path filenames -- can I tag people in commit messages? @frissdiegurke
11 years ago
Julian Lam
79af442306
resolved #926
11 years ago
Julian Lam
024cfc17c5
tweak
11 years ago
Julian Lam
38ee3fd5a3
don't bother firing hooks received by js unless a listener exists
11 years ago
Baris Soner Usakli
d6333a3969
fixed plugin css files for relative path
11 years ago
Julian Lam
e67af67180
fixing derped plugin css files due to cache buster
11 years ago
Dan Rowe
94fdeb2378
Missed one lcasing
...
Also anyone else nervous about arbitrary hook execution here?
11 years ago
Baris Soner Usakli
cdbca7d262
more cleanup in routes/user.js
11 years ago
Baris Soner Usakli
140f90f7f3
cleaned up requires
11 years ago
Julian Lam
0188ea9a3b
setting cache headers to 0 on development mode
11 years ago
Julian Lam
87309601ce
closed #533
11 years ago
Julian Lam
2cf55dcf9f
added action:page.load hook
11 years ago
Julian Lam
4353a9da25
issue #478 - hot-swapping of plugins
11 years ago