psychobunny
baeed22f20
grunt: only compile ACP less if that was changed, and vice versa with theme/plugin less
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
Julian Lam
e1323c0295
Updated js code so vendors can be added to the modules folder, so
...
they can be required properly and we can finally get rid of that
really annoying "mismatched anonymous" error in Require.js.
First module to make the transition: Chart.js
9 years ago
psychobunny
42c0b973f1
closes #3134
9 years ago
psychobunny
f17fa3ca11
minify flag not actually being used
9 years ago
Julian Lam
f77f39e937
Fixed #3925
...
Also updated port local variable to be a Number, since all of the
conditional checks assume it is a number, when all along it has
been a string.... heh.
9 years ago
barisusakli
ca294fc6ec
closes #3663
9 years ago
Julian Lam
160cf93802
Fix regression caused by 4f766ac
10 years ago
Julian Lam
4f766ac7b5
Updated cache buster logic
...
Removed css and script busters in favour of a uuid/guid cache
buster that is generated when the app starts.
This change means that in the event your NodeBB crashes often,
users will not be able to rely on their browser cache to serve
an unchanged style/js file, but if that's the case, you've
got bigger problems anyway.
re: #3573
10 years ago
Julian Lam
7e6703c18e
more line ending conversion #3343
10 years ago
barisusakli
93fd938913
removed setTimeout
10 years ago
barisusakli
3063da83ef
argument fix for static/action hooks
10 years ago
Julian Lam
a462b10f94
nevermind... (@barisusakli 🧌 )
10 years ago
Julian Lam
379bdd12e0
fixed improper parsing of url in loader, and updated mongo init to not send anything in cb except err. Also updated webserver init so that it doesn't expect stuff from static:app.preload
10 years ago
barisusakli
2286d1137b
remove tab
10 years ago
barisusakli
d946a2fcbd
closes #3098
...
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
10 years ago
psychobunny
2fbe7a8190
webserver: only start listening _after_ everything is compiled
10 years ago
barisusakli
0d6772c30b
warning/errors on invalid ports config
10 years ago
Julian Lam
4fffe4da94
moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added
10 years ago
Fokke Zandbergen
f0836f4107
Skip setTimeout if it doesn't exist (<= 0.10.36)
10 years ago
psychobunny
e5c842d923
ability to send in extensions (comma delimited) to --from-file
10 years ago
psychobunny
eb6754c5eb
nice, I figured out how to speed up grunt watch
10 years ago
psychobunny
540facaaab
try #2 (I give up, grunt-watch seems so unpredictable... on windows anyways)
10 years ago
Julian Lam
aa62c52580
closed #2583
10 years ago
Julian Lam
3deb423c55
testing socket availability before attempting to bind
10 years ago
Julian Lam
68e761bed0
if using sockets, reset the umask back to the old value after listening
10 years ago
Julian Lam
b565f3ac0a
closed #2497
10 years ago
barisusakli
64c0e1df61
settimeout
10 years ago
barisusakli
9e9b138afb
removed unused code
10 years ago
barisusakli
64e13df14c
removed node cluster spawn procs on ports
10 years ago
barisusakli
1723894e5a
merge
10 years ago
Julian Lam
d430ef3983
second pass, #1984
10 years ago
Julian Lam
d5e473609c
first pass, #1984
10 years ago
barisusakli
1abe35092b
cluster socket.io fixes
...
close proxy server on loader.stop
changed handles to object
10 years ago
barisusakli
785790c414
moved handle close to fork worker
10 years ago
barisusakli
d1fcb50c7d
cluster sticky session
10 years ago
psychobunny
3aa18ebb12
no need to inform attempt to listen to address
10 years ago
barisusakli
5c3af6f549
removed webserver.init
10 years ago
barisusakli
363057cf49
closes #2390
10 years ago
barisusakli
20314991a4
tmp error check
10 years ago
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.
10 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
10 years ago
Julian Lam
dab3667773
re: #2108 , auth re-routing
10 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