Julian Lam
1a90de7dd6
added new --from-file flag that will load js/css from the precompiled file instead of recompiling it on startup
10 years ago
Julian Lam
b7ba6a0d8f
fixed #2214 - each individual thread will create its own logrotate write handler, because if one is closed, everything crashes in a cascade effect because we're calling .write() after .end(), bleh.
11 years ago
Julian Lam
7597c654a0
refactored plugin and auth init a bit, and fixed issue where successive reloads caused old login strategies to be inadvertently preserved
11 years ago
Julian Lam
dab3667773
re: #2108 , auth re-routing
11 years ago
Julian Lam
7255ce3dbe
primary worker support, and added notif pruning to primary worker jobs
11 years ago
Julian Lam
fae169697e
removing listener for templates compilation, in order to resolve race condition that was causing slow servers to not actually end up binding to the port as expected
11 years ago
Julian Lam
2d0877f80e
better handling of port in use errors with cluster
11 years ago
Julian Lam
08abbe19bc
zero downtime and reload support with cluster module
11 years ago
Julian Lam
de41896770
restart handling and crash detection
11 years ago
barisusakli
298f14ad27
removed cluster from app.js
11 years ago
barisusakli
0f46051fcf
Merge remote-tracking branch 'origin/cluster-loader' into cluster
11 years ago
Julian Lam
58a73b52b5
work-in-progress commit to get cluster module working with loader.js
11 years ago
barisusakli
cbe3b5b6dc
testing
11 years ago
Julian Lam
2bfa7d5b97
closed #2012
11 years ago
Julian Lam
0c4a788698
added callbacks to css and js reloading, issue #2010
11 years ago
Julian Lam
ba91d7aba6
proof-of-concept for hot-swapping of routes
11 years ago
barisusakli
24ebf20d7e
first commit
11 years ago
psychobunny
f6cf36ca29
emit nodebb:ready
11 years ago
psychobunny
646f0f00b3
move "NodeBB Ready" message to when it's actually ready
11 years ago
Julian Lam
970b259e06
fixed #907
11 years ago
Julian Lam
a32fd3f6f9
fixed #1222
11 years ago
Julian Lam
df8728c785
allowing plugins to define new sounds -- woot.
...
Also moving the core sounds into a separate package, soundpack-default
11 years ago
Julian Lam
7a993eb2ca
closed #1328
11 years ago
Julian Lam
f3a78c2b6f
#1328 - first pass
11 years ago
psychobunny
3ae8aa1c55
helpers.js (client/server); closes #1275
11 years ago
Julian Lam
17dd113a94
fixed issue where plugin css and js wasn't loaded -- also less files no longer blow up
11 years ago
Julian Lam
8c7b474e8b
moved fontawesome CSS into stylesheet.css, and updating the js and css middlewares to compile at app start, not on first load
11 years ago
Julian Lam
2b8a7c73ac
daily digest emails! resolved #326
11 years ago
psychobunny
941c3b2d7e
added emitter class; express.listen only after background tasks complete; closes #1227
11 years ago
psychobunny
6563a72b5b
fixed emailer templates
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
f00f7c8818
fixed apple-touch-icon for subfolder installs
11 years ago
Julian Lam
5a8a3627d2
bringing subfolder installations to v0.4.0 - JUST FOR @PLANNER
11 years ago
Julian Lam
5880590425
removing "pluginCSS", "css" in plugins is now included directly into stylesheet.css. This is a breaking change.
...
fixes #1168
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
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
1dbc47b890
deps cleanup
11 years ago
psychobunny
d471ea2d5b
app.create_route removed
11 years ago
psychobunny
6820e9e662
random jshinting expedition
11 years ago
psychobunny
f0dfee5402
clean up
11 years ago
psychobunny
6c3c669e31
moved middleware out of webserver.js and into middleware.js
11 years ago
psychobunny
936e52a43f
require db
11 years ago
psychobunny
4d598dcd63
moved process events out of webserver.js and into app.js
11 years ago
psychobunny
f46e563b8a
moved all route definitions in webserver.js into routes/index.js
11 years ago
psychobunny
08a9ce4950
moved all app.configure() code into middleware/index.js + organization/cleanup
11 years ago
psychobunny
804da0d8de
removed unused deps in webser.js
11 years ago
psychobunny
26853d024e
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
11 years ago
Baris Soner Usakli
7081c7dcc4
moved ip log to api
11 years ago
psychobunny
f35c14ee07
bugfixes + cleanup for accounts and users routes
11 years ago
psychobunny
fa103b2d6e
finally done with routes/user.js; accounts.getUserByUID; bug fixing and cleanup
11 years ago
psychobunny
08d3d9feb3
accounts.uploadPicture
11 years ago
psychobunny
e67f6d2169
re-added filter:footer.build temporarily - to be deprecated for 0.4x
11 years ago
psychobunny
cb15655c9c
app.checkAccountPermissions middleware; some clean up & bug fixes
11 years ago
psychobunny
d072ad60de
all users/ pages converted
11 years ago
psychobunny
7c873c4314
decided to functionally separate accounts from users
11 years ago
psychobunny
e64d87cb1d
all user account pages; all static pages; outgoing page
11 years ago
psychobunny
00df660fa5
robots + sitemap; some clean up
11 years ago
psychobunny
942d16a3b4
confirmEmail route
11 years ago
psychobunny
dae7b06f4d
initial login and register routes
11 years ago
psychobunny
e193d58112
unreadTotal route
11 years ago
psychobunny
08c0a7fa5e
removing old unread and recent routes
11 years ago
psychobunny
062e35c89e
app.authenticate middleware; added new recent, unread routes
11 years ago
psychobunny
4435a20d90
fixed merge conflict
11 years ago
psychobunny
27b99d5c56
webserver.js refactor init
11 years ago
Julian Lam
5b301772bb
added daemon capability to ./nodebb start, npm start/stop scripts
11 years ago
Baris Soner Usakli
38e4a6c8b0
better check
11 years ago
Baris Soner Usakli
b8c089cfaa
added check for invalid tags
11 years ago
psychobunny
2247a8b21f
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
11 years ago
psychobunny
aee2b2ecd0
allow express to serve parsed tpls via res.render
11 years ago
Baris Soner Usakli
ea6cf3bbd5
more cleanup and changes to topics
11 years ago
Julian Lam
12e3e45398
closed #1095 - js is now minified and saved to memory the first time it is requested (on prod mode), same with theme CSS
11 years ago
Julian Lam
53f1e4d3d4
dedicated stylesheet.css route for LESS compilation, no longer usin less-middleware for base theme...
11 years ago
Julian Lam
c48d81379b
logging unique IPs as well
11 years ago
Julian Lam
64c4dd7e63
communication between loader and child
11 years ago
Julian Lam
ef63d816fe
NodeBB will now listen to SIGINT signal
11 years ago
Baris Soner Usakli
29ba015d69
fixed topic thumbs
11 years ago
Baris Soner Usakli
de34beaf6d
closes #1087
11 years ago
Julian Lam
2ba11dce15
hiding search buttons and route when search is not configured
11 years ago
Julian Lam
94f67f518e
fixed issue where a URL as the logo caused apple-touch-icon to explode
11 years ago
akhoury
63c9269240
merged composer and some other files with master
11 years ago
akhoury
25207852e8
added topics thumbnails support
11 years ago
Julian Lam
bc10080c49
close #1041
11 years ago
Julian Lam
f50d77bca0
resolved #1060
11 years ago
Baris Soner Usakli
fd3efd59f9
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
11 years ago
Baris Soner Usakli
495fded6dd
closes #1038
11 years ago
Julian Lam
031e8128c7
fixed #912 , added new page string for popular topics
11 years ago
Julian Lam
bc7eb501c8
same for topics (translation + pagination)
11 years ago
Julian Lam
0b0b74a559
properly translating strings in category nojs template, and added pagination (so not all topics are loaded on every request)
11 years ago
Julian Lam
172b617cbc
using 'trust proxy' on proxied requests
11 years ago
Micheil Smith
ee0f9d2bbe
Rename themes_dir to themes_path for consistency with other configuration options
11 years ago
Julian Lam
28731e2dbd
minor typo, and a fix I missed
11 years ago
Julian Lam
f698166395
minor fixes to paths accidentally introduced in #1020
11 years ago
Julian Lam
9d8aff5e63
fixed theme previews
11 years ago
Micheil Smith
691fde0a27
Added ability to change where themes are stored via themes_dir configuration option
...
themes_dir is resolved to be relative to the root of the NodeBB install.
11 years ago
Baris Soner Usakli
a909a25393
closes #1016
11 years ago
Julian Lam
e2c6eca36e
fixed #1006
11 years ago
Baris Soner Usakli
9f663411db
brand logo fix
11 years ago
Baris Soner Usakli
475f9bea04
closes #1011 , last online wont give away your invisible status
11 years ago
Baris Soner Usakli
bc7fd3a724
fix for favicon
11 years ago
Micheil Smith
33607e0cd9
Move feed routing and logic to src/routes/feeds.js
11 years ago
Micheil Smith
8cd1005a03
Reworked startup sequence to respect server.listen() failures and timings.
11 years ago
Julian Lam
83b22a357c
Merge branch 'master' of github.com:designcreateplay/NodeBB
11 years ago
Julian Lam
03a30c8583
temporarily commenting out apple-touch-icon, since it seems to be duplicating sessions on every reload
11 years ago
Baris Soner Usakli
49254f268e
added missing next callbacks
11 years ago
Micheil Smith
a3bb9f4e3d
Changed feeds to be generated on-demand
...
No longer are we writing them to disk, instead, we simply generate on demand.
11 years ago
Baris Soner Usakli
dc592853fc
closes #942
11 years ago
psychobunny
1c1c5da8f2
isAdmin in header
11 years ago
Baris Soner Usakli
db309ce8a1
closes #661
11 years ago
Julian Lam
37f7d1d08a
resolved issue #913
11 years ago
Baris Soner Usakli
267e7a3d5b
fixed redirect
11 years ago
Baris Soner Usakli
c042d4253b
added popular rss feed
11 years ago
Baris Soner Usakli
ab2b0e6560
fixed direct loading of popular page
11 years ago
Baris Soner Usakli
a86ddc9934
closes #726
11 years ago
psychobunny
92725ee3df
Merge pull request #874 from BitBangersCode/templates-fix
...
Add custom templates to /api/get_templates_listing
11 years ago
Julian Lam
d8eec5dd2e
fixed missing og:title on category view
11 years ago
Julian Lam
b954668636
browser title, #911
11 years ago
Julian Lam
fb2b54b314
refactored meta and link tag generation to template (yay frontend processing!)
...
cache busters now always added in template, instead of throughout code
11 years ago
Julian Lam
95d671281a
moved port 80 and 443 warnings to its own conditional
11 years ago
Baris Soner Usakli
f68b692ce4
closes #863
11 years ago
Julian Lam
5482146bc4
simplified a conditional
11 years ago
Baris Soner Usakli
1084523c92
lots of pagination work, query params, ajaxify to pids
11 years ago
MrWaffle
869f9e0d86
Add custom templates to /api/get_templates_listing
11 years ago
Baris Soner Usakli
2e786cc4d1
closes #873 , removed global translator, templates and server objects
11 years ago
Baris Soner Usakli
393bb7245c
closes #866
11 years ago
Julian Lam
459d5ddccd
fixed #867 - added proper detection so that onpopstate would not react if it was a proper page load
11 years ago
Julian Lam
43808c01ec
reduced the number of 'ajaxify.go' calls to one, in /src
11 years ago
Julian Lam
b587d7b5ad
fixed issue where calls to ajaxify.go were sending in a "template" argument that had since been removed, navigating back to NodeBB from an external link now no longer clobbers the History stack.
11 years ago
akhoury
dcc6ec797e
removed use_proxy config, cleaned-up some comments and sneaked in a time log print on initialization, also, related to pull#820
11 years ago
Baris Soner Usakli
f62c82c797
send app to action:app.load
11 years ago
Julian Lam
f02cd9df82
Merge branch 'master' of github.com:akhoury/NodeBB into akhoury-master
...
Conflicts:
src/user.js
11 years ago
Aziz Khoury
659817b4f1
Update comment
11 years ago
Baris Soner Usakli
b945dfc71d
closes #843
11 years ago
Aziz Khoury
a13c321de8
added "trust proxy" config option with default to true
11 years ago
Julian Lam
e1a9fe9691
Merge branch 'WindowsFix' of github.com:BitBangersCode/NodeBB into BitBangersCode-WindowsFix
...
Conflicts:
src/webserver.js
11 years ago
Baris Soner Usakli
bbac361670
fixed crash if empty topic was loaded without ajaxify
11 years ago
psychobunny
025e1293fa
removed deprecated cssSrc, replaced with optional bootswatchCSS
11 years ago
MrWaffle
5ed77b032e
Fix plugin CSS files on Windows
11 years ago
Baris Soner Usakli
dc27638ca8
sitemap fix
11 years ago
Julian Lam
8d71098a0f
fixed detection for admin client-side scripts
11 years ago
Julian Lam
ab16b1184d
fixing issue where nojs mode of a private category would show the category topics, even if the requesting user was not allowed inside
11 years ago
Baris Soner Usakli
4912b8a893
fixed language regex
11 years ago
Baris Soner Usakli
f75e55aa11
fixed path
11 years ago
Baris Soner Usakli
d6333a3969
fixed plugin css files for relative path
11 years ago
psychobunny
6f120ff34a
closes #732 , custom robots.txt
11 years ago
Baris Soner Usakli
48074ea93b
redirect if category is accessed directly
11 years ago
Baris Soner Usakli
0edb895c2c
indent
11 years ago
Baris Soner Usakli
1466e68aa1
ssl support 101
11 years ago
psychobunny
7f8836daa4
simplified filter:server.create_routes - routes no longer require you to pass in req, res, name, route (the latter two was a mistake)
...
tl;dr - just content is all that is required. see
http://www.github.com/psychobunny/nodebb-plugin-static-page for more
info
11 years ago
Julian Lam
f7a1cca861
properly fixed #713
11 years ago
Julian Lam
e3fb996a80
Merge branch 'master' of github.com:designcreateplay/NodeBB
11 years ago
Julian Lam
fe53037e53
hopefully fixing #713
11 years ago
Baris Soner Usakli
d43f3cebc6
closes #707 , closes #686
11 years ago
psychobunny
42d77080f3
plugins: filter:server.create_routes - allow plugins to add custom templates and/or modify individual blocks withiin a template
11 years ago
Julian Lam
b52782deb8
removed use of strip_tags and using String library instead
11 years ago
Julian Lam
2c6bf93eb5
added String parsing library, sanitizing meta tag "description" for
...
topics, and added og:description meta tag -- fixes #688
11 years ago
Julian Lam
d8183c056c
added cache buster to require.js files - fixes #687
11 years ago
Julian Lam
8385ceef79
topics in private categories can no longer be accessed via ajaxify or by
...
direct link
11 years ago
Baris Soner Usakli
83cc8f3ba8
fixed header template value too
11 years ago
Baris Soner Usakli
e9fbed71ae
closes #613 , fixed allowRegistration incase its undefined
11 years ago
Baris Soner Usakli
f68f02d346
closes #679
11 years ago
Baris Soner Usakli
57d2db36e6
if not term just use empty string
11 years ago
akhoury
d9eefd667c
fixed potential guestSearch config bug
11 years ago
akhoury
114294e24a
allowGuestSearching config .. second attempt
11 years ago
Julian Lam
b86a01ded1
moving cache buster to production builds only (*facepalm* I'm bad at this)
11 years ago
Julian Lam
538356846d
fixed regression introduced by #643 . Non-logo favicon is now properly
...
referenced (absolute url, not relative)
11 years ago
Julian Lam
43c05d1d85
adding cache busters to client side files ( closed #586 )
11 years ago
psychobunny
a3734f2e15
completed custom favicon upload, closes #643
11 years ago
Baris Soner Usakli
097810a057
parseInt fixes getObjects fix
11 years ago
Baris Usakli
705754e823
merged master
11 years ago
Julian Lam
d9ee9bf5e3
revamped handling of unread messages, so that a socket call is made to all socket clients whenever a new unread message is available. Prior behaviour had the unread count updated via ajax call on ajaxify (which was clumsy at best and didn't update automagically)
11 years ago
Baris Usakli
7875138c08
added parseInt
11 years ago
Baris Usakli
c096656eff
merged master fixed conflicts
11 years ago
Julian Lam
2125bb2223
only minimizing CSS files on non-development
11 years ago
Baris Soner Usakli
2e2938616d
more mongo and redis stuff
11 years ago
psychobunny
7c8f857aaf
plugins - filter:server.create_routes allows you to define API routes as well now
11 years ago
Baris Soner Usakli
6d79521922
moved connect-redis to the redis.db file, expose the sessionStore from redis.js db file, do the same for mongo db with mongo-connect
11 years ago
Baris Usakli
c9308efbec
more work
11 years ago
Baris Usakli
190948336a
closes #590
11 years ago
Joopmicroop
7d0f160c4c
Allow same origin framing
...
Allow people to frame there own server setup
11 years ago
Baris Soner Usakli
c5f9f896b2
make all admin routes only accesible to admins
11 years ago
Julian Lam
0188ea9a3b
setting cache headers to 0 on development mode
11 years ago
psychobunny
b7aea63c53
create auth routes only after plugin system is enabled and auth.init hook is fired
11 years ago
Julian Lam
f0e8633dcc
category whitelisting for posting messages, isAdmin now error-first
11 years ago
Baris Usakli
541993c80a
fontawesome 4 migration, closes #473
11 years ago
Julian Lam
efac6272bb
default link tag (apple-touch-icon) added
11 years ago
Julian Lam
bdb30976b5
adding maxAge headers for statically served files (eep!) - issue #552
11 years ago
Julian Lam
5a5c3c8c60
added app.load action hook
11 years ago
psychobunny
353b3047cd
pulling meta info from OP not main_posts
11 years ago
psychobunny
c261babf17
minify client scripts only after plugin system is activated
11 years ago
Julian Lam
a72fc69997
added link to RSS for /recent, fixed RSS generation error for /recent
11 years ago
Julian Lam
08ef67e824
closed #536
11 years ago
psychobunny
90ce539683
fixed language file not parsing in footer
11 years ago
Julian Lam
a9ce8393e4
added footer.build and page.load hooks
11 years ago
Damian Bushong
51355a53d9
cleanup webserver.js requires
...
the .js in a require is implicit and unnecessary;
sorted the requires out so that builtins are first, then npm deps, then locally provided libs.
minor changes to some strings, just using single-quotes to match the style through the rest of the file.
11 years ago
Baris Usakli
fa9636a62a
closes #495
11 years ago
Julian Lam
a42b30fd40
removing commented out route
11 years ago
Julian Lam
37497fc5a0
fixed #393 - refactored basic route handling, moved some other routes to debug routes
11 years ago
Julian Lam
9bea23bbfe
linting webserver.js
11 years ago
psychobunny
1d6135150f
multiple plugins pointing to admin can conflict - fix
11 years ago