Baris Soner Usakli
7e1d005cae
404 to relative path
12 years ago
Baris Soner Usakli
d7597608d5
fixed login register logout
12 years ago
Baris Usakli
6eb9af77e6
first pass at subfolder
12 years ago
Baris Soner Usakli
dc473b06bf
closes #67
12 years ago
Baris Soner Usakli
fb8b19959c
moved one of the middlewares before app.use(app.router)
12 years ago
Baris Usakli
47378fb978
error middleware, closes #60
12 years ago
Baris Soner Usakli
9320883f92
fixed live tiles if there are more than 2 posts
12 years ago
Baris Soner Usakli
642bd5f3c8
removed console.log
12 years ago
Baris Soner Usakli
ac04bef26e
live tiles on home page, ninjaed from andrew might need to randomize starting times, can be disabled by removing the slider class from the div, maybe this should be a setting in admin/categories
12 years ago
Baris Soner Usakli
1c855ce502
async.each for get_userslugs_by_uids
12 years ago
Julian Lam
d1bc8b5d91
fixing issue where NodeBB hangs if a non-existant topic was requested
12 years ago
Julian Lam
6ac2564bad
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
5eda18e03c
fixing issue with routes that don't have (or need) a corresponding api_method case from crashing due to 404. (issue #53 )
12 years ago
Baris Soner Usakli
399f7b47c8
for loop bench in testbed
12 years ago
Baris Soner Usakli
e38d1af566
removed userrestore
12 years ago
Baris Soner Usakli
466c373c73
fix
12 years ago
Baris Soner Usakli
071ee2c038
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
12 years ago
Baris Soner Usakli
d21af09a4c
fixed redis
12 years ago
Julian Lam
4abfd32a05
Merge pull request #56 from damianb/patch-2
...
Update XML responses - webserver.js
12 years ago
Baris Soner Usakli
2320d1c3b2
fixed redis var
12 years ago
Baris Soner Usakli
cdb05b4671
set postcount/rep to 0
12 years ago
Damian Bushong
cec23817e2
Update webserver.js
...
Forgot this section - also use text/plain mimetype since we're not responding using XML to errors; if we're going to do that, we need to do it right in the first place.
12 years ago
Baris Soner Usakli
7be2baa1a7
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
12 years ago
Baris Soner Usakli
4c33cee051
user restore for try.nodebb
12 years ago
Damian Bushong
93f040aea8
Update webserver.js
...
Tighten code around sending xml data
12 years ago
Damian Bushong
860a6351dd
Obey HTTP spec, use HTTP 404 for not-found responses
12 years ago
Baris Soner Usakli
ed99f2671e
fixed a bug that made topics invisible to users, also closes #47
12 years ago
Baris Usakli
e5131e36f3
category debug path
12 years ago
Baris Usakli
82319a020f
more fixes
12 years ago
Baris Usakli
1a19f0e1bc
changed categories to hash
12 years ago
Baris Usakli
9c3046b89b
more fixes
12 years ago
Baris Usakli
98013536d1
more fixes
12 years ago
Baris Soner Usakli
fabb55426c
more work:
12 years ago
Baris Usakli
9dbaf9fef9
more work
12 years ago
Baris Usakli
1a992b7147
first batch of changes
12 years ago
Baris Usakli
67247876ff
test branch
12 years ago
Julian Lam
ee7a1413b9
added favicon
12 years ago
Baris Soner Usakli
9b43f80ff8
changed login to ajax added error message for incorret login, closes #36
12 years ago
Baris Usakli
a43c7bc90f
changed the /latest route to /recent to match the text
12 years ago
Julian Lam
87e2023c86
closed #28 by implementing solution #2
12 years ago
Julian Lam
578dba10cd
fixed #30
12 years ago
Baris Usakli
d3a190d74e
username to userslug change
12 years ago
Julian Lam
4d99870063
updating nodebb executable so that it sends a NODE_ENV environment
...
variable in, and modified app.js and redis lib to read it.
12 years ago
Julian Lam
f91e0848ee
updated readme to link to wiki page on running NodeBB
12 years ago
Baris Usakli
9309722898
fixed indents
12 years ago
Baris Usakli
64a9e5844d
son whitespace conflicts are so 1765
12 years ago
Baris Usakli
523b787e69
added csrf to ajax calls
12 years ago
Julian Lam
0d954b24dc
removed debug statements, adding missing file re: issue #3
12 years ago
Baris Usakli
9cf9e98b14
removed duplicate build_header
12 years ago
Baris Usakli
cef77c2fd8
changed res.send(JSON.stringify()); to res.json(). closes #25
12 years ago
Julian Lam
59d26d6fc9
implementing express.csrf for login and register pages (the only places where HTTP forms are used). Fixes #8
12 years ago
Julian Lam
05b91caf6c
noscript for home and category view (although it's not quite working for
...
category view yet)
12 years ago
Julian Lam
c0b018cdf4
adding noscript parsing for a topic, if accessed by a browser without javascript
12 years ago
psychobunny
d5f3f3d9fb
fixed serverside templates.js bug that prevented blocks from being defined
12 years ago
Julian Lam
6df57c4a9b
committing the broken template parsing for andrew to see (webserver.js, line 121. Uncomment the commented out object, or substitute in "posts")
12 years ago
Julian Lam
882b9a917f
ability for users to now follow/subscribe to threads
12 years ago
Julian Lam
a09cfd9304
started work on noscript tags in pages (but blocked by template bug with block processing), allowed reverting of theme in ACP
...
introducing mixins css file
12 years ago
Julian Lam
1a104686ac
new header for meta title
12 years ago
psychobunny
2b3688b6f3
updated rss feeds to work on chrome
12 years ago
psychobunny
f1f86b1d4f
added category rss. added tid to be passed back in getTopicsByTids.
12 years ago
Julian Lam
1aa4a440a0
motd tweaks in admin panel
12 years ago
psychobunny
4b17f1d4e6
wrapped up rss for topics. added a new route to access these feeds from the url topic/tid.rss
12 years ago
Julian Lam
9af39622ed
actually using identicon default across the site
12 years ago
psychobunny
9c546c92ad
removed alert
12 years ago
psychobunny
f9e015f194
cid undefined bug
12 years ago
Julian Lam
c66885af51
fixing build_header misdef
12 years ago
Julian Lam
48bccb3498
applying custom theme (if enabled) to all routes
12 years ago
Julian Lam
7f77ec2c5f
committing hotfix to registration
12 years ago
Julian Lam
88bf9425db
install script + patching up integration with install wizard
12 years ago
Julian Lam
5d7ec10aae
Merge branch 'master' into install_script
12 years ago
Julian Lam
65b6010d74
installation wizard under /install
12 years ago
Julian Lam
405318844f
allowing multiple less files to compile down to one
12 years ago
Julian Lam
00a9ec0f12
interim commit
12 years ago
psychobunny
a02a74604c
moved CategoriesAdmin into its own file, hid popular/active, some jslinting + cleanup, renamed some fn calls to be more descriptive
12 years ago
psychobunny
4b67f8573e
recent posts done (needs polish/cleanup), and fixed bug where new topic button was not showing up in categories
12 years ago
psychobunny
c785f06367
added 404 tpl, fix for 404 on topics, continuing refactor - categories
12 years ago
Julian Lam
7e46f8c6ce
uniqueId support in notifications
12 years ago
Julian Lam
681bf270a1
hotfix to path to utils
12 years ago
Julian Lam
1f7ab82f78
Merge remote-tracking branch 'origin' into notifications
...
Conflicts:
src/webserver.js
12 years ago
psychobunny
cd4ca110a1
moved utils over to client side for code sharing
12 years ago
Julian Lam
78713f0599
Merge remote-tracking branch 'origin' into notifications
12 years ago
Baris Usakli
acd797fe20
changed github link on home
12 years ago
Julian Lam
c8d48127ad
more changes to notification dropdown in header bar
12 years ago
Julian Lam
6bae30336a
foundation for user notifications
12 years ago
Julian Lam
6cd65e6598
fixing motd so that it shows default motd if config is empty
12 years ago
Julian Lam
499f840e1e
added toggle in config to switch on and off the motd
12 years ago
Julian Lam
ec463ce3d3
added motd support
12 years ago
Julian Lam
26781157b3
refactoring posts, topics, and categories so that each "get" is moved up
...
one level. Topics.get will get all of the posts in a tid, etc.
12 years ago
Julian Lam
624ccc592c
resolving issue where the post window stays open during navigation
...
- app.close_post_window now neatly closes the post window
12 years ago
psychobunny
34133eef8c
post counts + read status working on homepage category listing. fixed posts.get_cid_by_pid
12 years ago
Julian Lam
7c165876f1
fixed bug where deleted posts still showed up in teasers
12 years ago
psychobunny
cb6d98cecb
derp conflicts
...
Merge branch 'master' of https://github.com/psychobunny/NodeBB
Conflicts:
public/src/templates.js
12 years ago
psychobunny
fb52dfc6c8
templates refactor part 2
...
updated so that tpls get loaded on demand as opposed to all at once on
load; added a function to pull the tpl list on load instead of having to
manually define new templates in code; some clean up; added utils.walk;
12 years ago
Julian Lam
7d648e7abe
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
297c4b8173
socketizing topic creation so that a new topic shows up automatically when one is created
12 years ago
psychobunny
1cdbd376ba
deprecated server side templates finally. code sharing between client side and server side templates; force_refresh parameter added to temasd
...
deprecated server side templates finally. code sharing between client
side and server side templates; force_refresh parameter added to
templates config.json; created initialization fn for webserver
12 years ago
Julian Lam
4b6ad9607e
removing static saving of recent post, and added in dynamic pulling on Topics.get
12 years ago
Julian Lam
e256ee99f7
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
bdeb7b13f1
interim commit for moderator support
12 years ago
Baris Usakli
34432773d6
fix crash when you go to /topics/nonexistant
12 years ago
psychobunny
91b4ec2547
fixed crashing error in graph/user/picture, and started updating the main post row in topic.tpl
12 years ago
psychobunny
25e218442a
updated category: tracking active participants + removed placeholder; recent author picture now pulled dynamically; graph/users/picture implemented
12 years ago
Baris Usakli
073b87982b
moved user routes into routers/user.js
12 years ago
Baris Usakli
188b1d5ada
for andrew
12 years ago
Baris Usakli
4c324664fa
removed global modules
12 years ago
Baris Usakli
d564811b71
fixed the data passing to accountedit.tpl
12 years ago
Baris Soner Usakli
0bb0fd5789
removed debug console.logs
12 years ago
Baris Soner Usakli
901b378912
css fix
12 years ago
Baris Soner Usakli
62bffff3c7
forgot to add a ;
12 years ago
Baris Soner Usakli
71d595a552
debug image uploading
12 years ago
Julian Lam
aab149aecf
Merge branch 'master' of github.com:psychobunny/NodeBB
12 years ago
Julian Lam
80b20fe877
adding alternate logins to register page
12 years ago
Baris Soner Usakli
eccd1f66d1
removed some debug stuff from image upload
12 years ago
Baris Soner Usakli
5796140f58
image upload changes
12 years ago
Baris Soner Usakli
5785b16ae9
fixed users page so that all reps and post counts are comma delimited, some image upload fixes
12 years ago
Baris Soner Usakli
e476e27807
image upload error msgs, file size limit
12 years ago
Baris Soner Usakli
0aeeac9d61
image upload and changing images will clean up later andrew stayla
12 years ago
Baris Soner Usakli
7d27a7c6d3
changed user update profile so that it only updates specific fields, before it was possible to send in rep,post count
12 years ago
Julian Lam
e9a552eab4
editing of posts
12 years ago
psychobunny
f218e0f3a7
user has read feature - turns post count badge red if there is a new post and grey if the user has seen this post already
12 years ago
psychobunny
a4e8f9e706
cleaned up webserver a bit, moved over authentication stuff into its own file, got rid of unused routes, user routes still need to be moved out but am waiting for baris to finish
12 years ago
psychobunny
30323fa29f
Merge branch 'master' of https://github.com/psychobunny/NodeBB
12 years ago
psychobunny
f3f08a9c94
more fixes to ajaxify, updated /users blocks to sit flush to the left, started work on the ACP including basic templates, added a method to get active users in all rooms (socket connections), added more routes mostly pointing to admin, added a routing folder to start organizing routes better, starting with admin.
12 years ago
Baris Usakli
5057af7bbe
user edit fix for !==
12 years ago
Baris Usakli
44f0183b29
fixed anon users visiting user profiles
12 years ago
Baris Usakli
2539079c84
removed console.log
12 years ago
Baris Usakli
9166a9ccde
user edit changes
12 years ago
Baris Usakli
0210e5a928
edit
12 years ago
Baris Usakli
9494bf6378
edit restrict
12 years ago
Baris Usakli
5edf7efd8f
user edit and profile changes
12 years ago
Baris Usakli
187d5a101a
edit page
12 years ago
Baris Usakli
36e7baa84d
userS
12 years ago
Baris Usakli
5e36ca2fbe
removed dupe function
12 years ago
Baris Usakli
d308242d2d
decimal places for rep and post count
12 years ago
Baris Soner Usakli
6dda6ce15b
removed some console.logs
12 years ago
Baris Soner Usakli
8710aa3457
users page
12 years ago
psychobunny
e061fe061b
added custom routing from server side, started moving hardcoded scripts into create_route
12 years ago
psychobunny
e75076caad
Merge branch 'master' of https://github.com/psychobunny/NodeBB
12 years ago
psychobunny
09c6aace09
custom template half in
12 years ago
Baris Usakli
781d7cf9cf
template stuff
12 years ago
Baris Usakli
bf731dc224
user edit
12 years ago
Baris Usakli
cef1ba4c08
changed profile page to /users/username
12 years ago
Baris Usakli
0eacec8166
Merge branch 'master' of https://github.com/psychobunny/NodeBB
12 years ago
psychobunny
91d9775cc4
fixed slugs from disappearing if f5ing
12 years ago
Baris Usakli
283dbc477b
Merge branch 'master' of https://github.com/psychobunny/NodeBB
12 years ago
Baris Usakli
6a6eeae426
edit changes
12 years ago
Julian Lam
7bbc630dfb
Merge remote-tracking branch 'origin' into thread_options
...
Conflicts:
public/src/templates.js
12 years ago
psychobunny
ace64cec7b
Merge branch 'master' of https://github.com/psychobunny/NodeBB
12 years ago
psychobunny
31542cd9be
finished recent, popular and active posts shells, just need to update api methods
12 years ago
Baris Usakli
ec104b05d4
added links to user profiles from posts and the breadcrumbs
12 years ago
psychobunny
6dfc44c63c
Merge branch 'master' of https://github.com/psychobunny/NodeBB
...
Conflicts:
src/webserver.js
12 years ago
psychobunny
5153aa7652
added template mapping, did users->account
12 years ago
Baris Usakli
49cb5fddcd
removed some console.log
12 years ago
Baris Usakli
ec754d601d
users profile page, need to add templates
12 years ago
Julian Lam
b2c6d4f7c7
interim commit to thread options
12 years ago
Julian Lam
d7c5a3c150
merging from stash
12 years ago
psychobunny
fa64e84dcc
fixed a bug in templates, introduced categories, added default setup script onload, moved home.tpl code over to category, created hierachies
12 years ago
Julian Lam
4f38bb10e8
Merge remote-tracking branch 'origin'
12 years ago
Julian Lam
b6f3211ce7
if a thread is locked, the reply buttons all now say "locked", and the
...
post reply window will not pop up
12 years ago
Baris Soner Usakli
da837f662a
redirect /login and /register to /account if user is already logged in
12 years ago
Julian Lam
30bf27f1c7
Merge remote-tracking branch 'origin' into posts-refactor
12 years ago
Julian Lam
08c303b3c7
interim commit
12 years ago
psychobunny
8a2c18de5b
fixed ajaxify bug that was rendering pages twice (solved flicker issue); fixed entering rooms that was casuing rep/streaming posts to not work; fixed /accounts to work by adding get data route; fixed bug that preventing gravatars from loading if there was more than one post in the thread
12 years ago
Baris Soner Usakli
c906b7419a
added reputation to /account
12 years ago
Baris Soner Usakli
fee76db8dc
more fixes
12 years ago
Baris Soner Usakli
954392e4c4
fixes to gravatars and get functions in user.js
12 years ago
Baris Soner Usakli
08f7b64ccf
hash changes to user data
12 years ago
Julian Lam
1fc6e0db2c
added email verification on registration
...
added email header and footer
12 years ago
Baris Soner Usakli
73e958e627
added join date to users, fixed post count when a new topic is created. account page shows time joined,picture and name
12 years ago
psychobunny
69565b0ded
fixed a bug where anonymous users couldnt access topics
12 years ago
psychobunny
3e96f64191
streaming posts. also moved topics to be entirely client side parsed. made some changes. added block level caching to templates. added a prepare method to templates
12 years ago
psychobunny
bcb672e1fe
socket rooms! and almost finished rep (socket updates) except for one small bug where current_user isnt being pulled
12 years ago
Baris Usakli
7dc9fd83c1
account page shows up when logged in and 403 when logged out
12 years ago
Julian Lam
6d36df1604
tweaking users/* calls
12 years ago
Julian Lam
9c05a76fcb
facebook integration
12 years ago
psychobunny
c113f4151b
Merge branch 'master' of https://github.com/psychobunny/node-forum
...
Conflicts:
public/css/style.less
src/webserver.js
12 years ago
psychobunny
517b4de2fe
threads look awesome now
12 years ago
Julian Lam
8be3b8c05e
accidentally developed on a merge commit... *fingers crossed*
...
Merge branch 'master' of github.com:psychobunny/node-forum
Conflicts:
public/templates/login.tpl
12 years ago
Julian Lam
32d9b5349e
beginning google integration
12 years ago
psychobunny
c73feeea2a
hide alternate login strategies if config is not set
12 years ago
Julian Lam
60c1e937a1
tweaking twitter login so that if the config is blank, trying to log in via twitter won't crash the server
12 years ago
Julian Lam
8e5714cab4
skeleton for twitter integration via passport
12 years ago
Julian Lam
69bafcf19c
refactoring register to use form post instead of socket (for passport integration)
12 years ago
Julian Lam
09fb79d3a2
integrated LESS middleware to static served CSS/less files
12 years ago
Julian Lam
c7fb07e2e5
Merge branch 'master' of github.com:psychobunny/node-forum
...
Conflicts:
public/templates/header.tpl
src/webserver.js
12 years ago
Julian Lam
3ca880d81e
interim commit
12 years ago
Julian Lam
de26a303d4
housekeeping
12 years ago
Julian Lam
a537c4d805
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
d712f57141
refactored user authentication (passport-local, instead of my own
...
half-baked implementation)
12 years ago
psychobunny
9119a9d104
small refactor of routing, cleanup, templates are now parsed entirely on client side for /, /register, /login for now
12 years ago
psychobunny
b2bc967e9b
got ajaxify working with threads, some cleanup, fixed anon posting, got rid of a few more global.sockets calls
12 years ago
Julian Lam
70d3105a8e
configuring express session to use a secret defined in the config file,
...
not a hard coded one
12 years ago
Julian Lam
924618fc29
removed account_settings template
12 years ago
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
12 years ago
Baris Soner Usakli
1fb99ab848
fixed the crash when going between pages, return next() in webserver.js
12 years ago
Julian Lam
58642b1e7b
removed requireAuth middleware
12 years ago
Julian Lam
2358528880
merging changes for stash pop
12 years ago
psychobunny
1037088643
commented out breaking code regarding user var
12 years ago
psychobunny
303452ef8c
fixed conflicts
12 years ago
psychobunny
126f817f7d
updates to posts
12 years ago
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.
12 years ago
Julian Lam
19cd9e05ed
fixing login and logout sessions
12 years ago
psychobunny
7f4ea6e19b
Merge branch 'master' of https://github.com/psychobunny/node-forum
12 years ago
psychobunny
98ca14e31c
started working on threadss, implemented slug url, fixed crashing bug during post creation
12 years ago
Julian Lam
2a9c33b9f8
user activity counter (bug present where all users register as same session? this isn't good....)
12 years ago
psychobunny
880d6832be
Merge branch 'master' of https://github.com/psychobunny/node-forum
12 years ago
psychobunny
5173498180
client side templates in, fixed home page to parse templates on ajaxify, added footer to the page transition animation for smoothness
12 years ago
Julian Lam
81364580ed
new 403 page
12 years ago
Julian Lam
f774974803
logout functionality
12 years ago
Julian Lam
8d4fb77565
NEW DEPENDENCY: connect-redis
...
Persistent sessions with connect-redis.
12 years ago
Julian Lam
eac3785b29
fixing issue with auth (removed session saving stuff by mistake)
12 years ago
Julian Lam
3eb4f0e1a2
commenting out global.uid setting
12 years ago
Julian Lam
9e5a7b96b3
fixed broken mget implementation if no topics are present
12 years ago
psychobunny
a16f72e11c
redis - added mget and multi, finished initial topics listview on home page, finished get topics method calls
12 years ago
psychobunny
877219cb58
fixed conflicts
12 years ago
Julian Lam
0985087f5d
auth...
12 years ago
Julian Lam
71e410d571
Merge branch 'master' of github.com:psychobunny/node-forum
...
Conflicts:
src/webserver.js
12 years ago
Julian Lam
c1186f396e
some work on session login etc
12 years ago
psychobunny
d711a4e334
added post button, post window, added click handler to toaster alert, started on posts and topics schema and code
12 years ago
Julian Lam
dea9a707dc
interim commit for password reset
12 years ago
Julian Lam
e56e7b549b
more stuff on pw reset
12 years ago
Julian Lam
9fcbca8da9
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
a73481af8b
more work with reset page
12 years ago
psychobunny
67bf1b6041
updated ajaxify to do a callback after page change, added toaster style notifications (app.alert), changes to webserver to update automatically
12 years ago
Julian Lam
0e8c4f35cd
socketing for reset page - started on emailer
12 years ago
Julian Lam
f975105176
added email to registration fields, email existence check
12 years ago
Julian Lam
2d8725d522
changing socket.io to exist on the same port as the server, made config file template (removed config file from repo)
12 years ago
Julian Lam
d035307d8b
changing the way the express app is instantiated
12 years ago
Julian Lam
302d1a3131
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
f894eae34f
tweaks
12 years ago
psychobunny
65b035c9c9
Merge branch 'master' of https://github.com/psychobunny/node-forum
12 years ago
psychobunny
3d81f129e3
added login, fixed gitignore
12 years ago
Julian Lam
1d3d3df73b
optimizing for express, tweaks to config file
12 years ago
Julian Lam
a2d727dd86
setting up config file for use in app, updated readme
12 years ago
psychobunny
b04d262fe4
init, just some testing
12 years ago