Commit Graph

55 Commits

Author SHA1 Message Date
Julian Lam
60c1e937a1 tweaking twitter login so that if the config is blank, trying to log in via twitter won't crash the server 2013-05-02 12:13:06 -04:00
Julian Lam
8e5714cab4 skeleton for twitter integration via passport 2013-05-02 11:11:10 -04:00
Julian Lam
69bafcf19c refactoring register to use form post instead of socket (for passport integration) 2013-05-02 10:15:55 -04:00
Julian Lam
09fb79d3a2 integrated LESS middleware to static served CSS/less files 2013-05-02 09:40:44 -04:00
Julian Lam
c7fb07e2e5 Merge branch 'master' of github.com:psychobunny/node-forum
Conflicts:
	public/templates/header.tpl
	src/webserver.js
2013-05-02 09:23:11 -04:00
Julian Lam
3ca880d81e interim commit 2013-05-02 09:13:09 -04:00
Julian Lam
de26a303d4 housekeeping 2013-05-01 22:20:30 -04:00
Julian Lam
a537c4d805 Merge branch 'master' of github.com:psychobunny/node-forum 2013-05-01 21:04:05 -04:00
Julian Lam
d712f57141 refactored user authentication (passport-local, instead of my own
half-baked implementation)
2013-05-01 21:03:49 -04:00
psychobunny
9119a9d104 small refactor of routing, cleanup, templates are now parsed entirely on client side for /, /register, /login for now 2013-05-01 22:19:54 +00:00
psychobunny
b2bc967e9b got ajaxify working with threads, some cleanup, fixed anon posting, got rid of a few more global.sockets calls 2013-05-01 21:26:47 +00:00
Julian Lam
70d3105a8e configuring express session to use a secret defined in the config file,
not a hard coded one
2013-05-01 16:27:57 -04:00
Julian Lam
924618fc29 removed account_settings template 2013-05-01 14:29:49 -04:00
Julian Lam
c298e7002e updated configuration file with redis params, and updated all redis wrapper to read configs from config file instead of defaulting to localhost -- same for express.session store 2013-05-01 12:54:04 -04:00
Baris Soner Usakli
1fb99ab848 fixed the crash when going between pages, return next() in webserver.js 2013-04-28 22:26:27 -04:00
Julian Lam
58642b1e7b removed requireAuth middleware 2013-04-28 21:15:47 -04:00
Julian Lam
2358528880 merging changes for stash pop 2013-04-28 21:11:39 -04:00
psychobunny
1037088643 commented out breaking code regarding user var 2013-04-28 20:16:22 +00:00
psychobunny
303452ef8c fixed conflicts 2013-04-28 20:10:11 +00:00
psychobunny
126f817f7d updates to posts 2013-04-28 20:07:42 +00:00
Julian Lam
f4b14df195 some more fixes to the session handling to ignore the /api folder, and
refactoring how the public directory is set up in webserver.js.

THIS COMMIT ALTERS NODEBB'S DEPENDENCIES!
Please run npm install after pulling.
2013-04-28 13:58:19 -04:00
Julian Lam
19cd9e05ed fixing login and logout sessions 2013-04-28 13:28:20 -04:00
psychobunny
7f4ea6e19b Merge branch 'master' of https://github.com/psychobunny/node-forum 2013-04-25 21:55:23 +00:00
psychobunny
98ca14e31c started working on threadss, implemented slug url, fixed crashing bug during post creation 2013-04-25 21:55:11 +00:00
Julian Lam
2a9c33b9f8 user activity counter (bug present where all users register as same session? this isn't good....) 2013-04-25 16:27:22 -04:00
psychobunny
880d6832be Merge branch 'master' of https://github.com/psychobunny/node-forum 2013-04-25 19:13:31 +00:00
psychobunny
5173498180 client side templates in, fixed home page to parse templates on ajaxify, added footer to the page transition animation for smoothness 2013-04-25 19:13:23 +00:00
Julian Lam
81364580ed new 403 page 2013-04-25 14:21:00 -04:00
Julian Lam
f774974803 logout functionality 2013-04-25 12:59:31 -04:00
Julian Lam
8d4fb77565 NEW DEPENDENCY: connect-redis
Persistent sessions with connect-redis.
2013-04-25 11:15:03 -04:00
Julian Lam
eac3785b29 fixing issue with auth (removed session saving stuff by mistake) 2013-04-25 11:04:08 -04:00
Julian Lam
3eb4f0e1a2 commenting out global.uid setting 2013-04-25 00:05:17 -04:00
Julian Lam
9e5a7b96b3 fixed broken mget implementation if no topics are present 2013-04-24 22:20:05 -04:00
psychobunny
a16f72e11c redis - added mget and multi, finished initial topics listview on home page, finished get topics method calls 2013-04-24 22:24:20 +00:00
psychobunny
877219cb58 fixed conflicts 2013-04-24 21:19:04 +00:00
Julian Lam
0985087f5d auth... 2013-04-24 17:14:05 -04:00
Julian Lam
71e410d571 Merge branch 'master' of github.com:psychobunny/node-forum
Conflicts:
	src/webserver.js
2013-04-24 16:44:12 -04:00
Julian Lam
c1186f396e some work on session login etc 2013-04-24 16:42:12 -04:00
psychobunny
d711a4e334 added post button, post window, added click handler to toaster alert, started on posts and topics schema and code 2013-04-24 20:40:34 +00:00
Julian Lam
dea9a707dc interim commit for password reset 2013-04-23 20:25:01 -04:00
Julian Lam
e56e7b549b more stuff on pw reset 2013-04-23 16:18:43 -04:00
Julian Lam
9fcbca8da9 Merge branch 'master' of github.com:psychobunny/node-forum 2013-04-23 15:39:42 -04:00
Julian Lam
a73481af8b more work with reset page 2013-04-23 15:39:23 -04:00
psychobunny
67bf1b6041 updated ajaxify to do a callback after page change, added toaster style notifications (app.alert), changes to webserver to update automatically 2013-04-23 19:38:48 +00:00
Julian Lam
0e8c4f35cd socketing for reset page - started on emailer 2013-04-23 12:06:22 -04:00
Julian Lam
f975105176 added email to registration fields, email existence check 2013-04-22 17:31:51 -04:00
Julian Lam
2d8725d522 changing socket.io to exist on the same port as the server, made config file template (removed config file from repo) 2013-04-22 15:24:23 -04:00
Julian Lam
d035307d8b changing the way the express app is instantiated 2013-04-22 15:17:41 -04:00
Julian Lam
302d1a3131 Merge branch 'master' of github.com:psychobunny/node-forum 2013-04-22 15:03:12 -04:00
Julian Lam
f894eae34f tweaks 2013-04-22 15:03:07 -04:00