Julian Lam
c2e9cd621d
issue #57 , just for Damian :)
13 years ago
Julian Lam
7cdef19b94
issue #57 again - tightened the regex a bit more (escaped the dot)
13 years ago
Julian Lam
0553254a9b
closed #57
13 years ago
Baris Soner Usakli
62919894b4
removed the bcrypt question from install, changed default to 12
13 years ago
Baris Soner Usakli
a5b324cbc4
closes #86
13 years ago
Julian Lam
3c62b86096
Merge branch 'nconf'
13 years ago
Julian Lam
815bd7c10a
THIS IS A BREAKING CHANGE
...
===
Please run `node app --setup` after you pull this commit.
refactored install script to its own library in /src, updated redis config
params to be nconf compatible
13 years ago
Julian Lam
145898c3ba
using nconf to manage config file now (issue #24 )
13 years ago
Baris Soner Usakli
a7ed1f97df
delete old email key before setting new one when someone changes their email
13 years ago
Julian Lam
41b3eabf1a
updating code to not use a hardcoded version number, but rather read the #
...
from package.json
13 years ago
Julian Lam
d4a0b3d05a
showing the proper version # on default MOTD and globalified "ver"
13 years ago
Baris Soner Usakli
28b113c09f
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
61cc0853db
browsing thread changes to use sessions
13 years ago
Julian Lam
743e0569c1
Merge branch 'master' of github.com:designcreateplay/NodeBB
...
Conflicts:
src/topics.js
13 years ago
Julian Lam
561ff38e5a
if every post gets deleted in a topic, then the topic deletes itself also
13 years ago
Julian Lam
87aec422e9
moved get_last_undeleted_pid to threadTools.js
13 years ago
Julian Lam
31f8be8a0a
updating topics.getTeaser and get_last_undeleted_pid to return err first, and handled methods that called it
13 years ago
Baris Soner Usakli
ba161c1f6c
removed couple console.logs
13 years ago
Baris Soner Usakli
c7a218af9a
closes #80
13 years ago
Baris Soner Usakli
4527b3d53c
closes #82
13 years ago
Baris Soner Usakli
cc6bd59560
closes #75
13 years ago
Baris Soner Usakli
8d2c4fd625
closes #76
13 years ago
Baris Soner Usakli
16117d4331
changed req.connection.encrpyted to req.secure
13 years ago
Baris Soner Usakli
910e9d6ee0
closes #73
13 years ago
Baris Soner Usakli
28f888fc7d
removed console.log
13 years ago
Baris Soner Usakli
62ef925fd3
removed graph/picture, closes #72
13 years ago
Baris Soner Usakli
7e1d005cae
404 to relative path
13 years ago
Baris Soner Usakli
2c5e9d47ad
admin routes and fixes
13 years ago
Baris Soner Usakli
d7597608d5
fixed login register logout
13 years ago
Baris Usakli
6eb9af77e6
first pass at subfolder
13 years ago
Baris Usakli
d66aef7812
moved bcrpyt rounds to config file
13 years ago
Baris Usakli
93653e88df
changed most of the ajax calls to use sockets
13 years ago
Baris Soner Usakli
dc473b06bf
closes #67
13 years ago
Baris Soner Usakli
fb8b19959c
moved one of the middlewares before app.use(app.router)
13 years ago
Baris Usakli
47378fb978
error middleware, closes #60
13 years ago
Baris Usakli
bed3bf630c
removed the throw and logging the error in feed.js
13 years ago
Baris Usakli
8f2a0014b3
closes #70
13 years ago
Baris Usakli
1d39b08195
password change, closes #66
13 years ago
Baris Soner Usakli
026056c8eb
moved create/delete to top, handle error in get_online_userS
13 years ago
Baris Soner Usakli
9320883f92
fixed live tiles if there are more than 2 posts
13 years ago
Baris Soner Usakli
642bd5f3c8
removed console.log
13 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
13 years ago
Baris Soner Usakli
8f4848cc69
userList function for active users, moved it to server side too
13 years ago
Baris Soner Usakli
12f78f5d56
added forEach test
13 years ago
Baris Soner Usakli
7e35b26a43
log bcrypt error, closes59
13 years ago
Baris Soner Usakli
6ecfd611eb
removed one of the RDB,keys from user.js, canged userlist to store uids
13 years ago
Baris Soner Usakli
f760b01bfe
fixed type in user.js
13 years ago
Baris Soner Usakli
f2d7f856aa
async.each in user.js
13 years ago
Baris Soner Usakli
c47db0e908
async.each for get_userslugs_by_uids
13 years ago
Baris Soner Usakli
1c855ce502
async.each for get_userslugs_by_uids
13 years ago
Barış Soner Uşaklı
b343665ceb
Merge pull request #68 from damianb/patch-1
...
user.js cleanup
13 years ago
Damian Bushong
e3b4a6029c
Clean up excess end-of-line whitespace
13 years ago
Damian Bushong
f61e71729a
More cleanup of user.js
...
See added comments for more information on problems discovered within the codebase.
13 years ago
Baris Soner Usakli
8c8e1fef93
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
b146445db1
send 404 and error message in api_method user.js
13 years ago
Damian Bushong
7a5013325c
Force a default gravatar if no email provided
...
Gravatar provides the forceDefault option, let's use it.
13 years ago
Damian Bushong
78ef54baf2
Cleanup user.js for style guide compliance
13 years ago
Julian Lam
0a09156a5e
Merge branch 'master' of github.com:psychobunny/node-forum
13 years ago
Julian Lam
d1bc8b5d91
fixing issue where NodeBB hangs if a non-existant topic was requested
13 years ago
Baris Soner Usakli
575b7f0ecc
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
a0b4ea70b3
more cleanup in user routes
13 years ago
Julian Lam
6ac2564bad
Merge branch 'master' of github.com:psychobunny/node-forum
13 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 )
13 years ago
Baris Soner Usakli
6a4dcc75c2
changes to user routes to return null
13 years ago
Baris Soner Usakli
c7a085af52
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
399f7b47c8
for loop bench in testbed
13 years ago
Damian Bushong
8867a4d666
Update user.js
...
Fix minor copy-paste mistake
13 years ago
Damian Bushong
2c12062ce0
Update user.js
...
- Do not use a temp var here, that's just wasting memory since we're only using it once (and it isn't helping readability all that much)
- Add notes about console.error use, indicate it's temporary and needs replaced with proper logging
- Indicate that resizing code should be split out into another process (perhaps with node's built in cluster module? or child_process.spawn?)
- Do not use `res.send` with JSON data; use res.json
- Use consistent spacing and whitespace usage
13 years ago
Baris Soner Usakli
f90be52a07
warning msgs in admin
13 years ago
Baris Soner Usakli
e38d1af566
removed userrestore
13 years ago
Baris Soner Usakli
466c373c73
fix
13 years ago
Baris Soner Usakli
071ee2c038
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
d21af09a4c
fixed redis
13 years ago
Julian Lam
4abfd32a05
Merge pull request #56 from damianb/patch-2
...
Update XML responses - webserver.js
13 years ago
Baris Soner Usakli
2320d1c3b2
fixed redis var
13 years ago
Baris Soner Usakli
cdb05b4671
set postcount/rep to 0
13 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.
13 years ago
Baris Soner Usakli
7be2baa1a7
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
4c33cee051
user restore for try.nodebb
13 years ago
Damian Bushong
93f040aea8
Update webserver.js
...
Tighten code around sending xml data
13 years ago
Damian Bushong
860a6351dd
Obey HTTP spec, use HTTP 404 for not-found responses
13 years ago
Baris Soner Usakli
0eb83f1e85
css changes
13 years ago
Baris Soner Usakli
719182e3a8
fixed read status in categories
13 years ago
Baris Soner Usakli
ed99f2671e
fixed a bug that made topics invisible to users, also closes #47
13 years ago
Baris Usakli
e5131e36f3
category debug path
13 years ago
Baris Usakli
efb5cfe1ac
nothing
13 years ago
Baris Usakli
f718d25d36
=== is gud
13 years ago
Baris Usakli
154f691ba2
done?
13 years ago
Baris Usakli
d26f195a6c
fixed thread move
13 years ago
Baris Usakli
b9312bb7a5
fixed topic unlock
13 years ago
Baris Usakli
38663177b0
fixed favouriting
13 years ago
Baris Usakli
e24606ff73
fixed quoting
13 years ago
Baris Usakli
facb6eb36b
fixed delete
13 years ago
Baris Usakli
0c77db1f22
fixed editing
13 years ago
Baris Usakli
bff188b116
fix
13 years ago
Baris Usakli
95e05410a2
more fixes
13 years ago
Baris Usakli
8b13048ec1
hash change
13 years ago
Baris Usakli
478479658f
feed
13 years ago
Baris Usakli
82319a020f
more fixes
13 years ago
Baris Usakli
a76d6c1f9a
removed log
13 years ago
Baris Usakli
27ea41adcf
fix for category teaser timestamp
13 years ago
Baris Usakli
50078d7395
fixes in posttools and thread tools for hashes
13 years ago
Baris Usakli
1a19f0e1bc
changed categories to hash
13 years ago
Baris Usakli
9c3046b89b
more fixes
13 years ago
Baris Usakli
98013536d1
more fixes
13 years ago
Baris Soner Usakli
0a4ac1a346
remove async from Feed.updateTopic
13 years ago
Baris Soner Usakli
527e6e63cc
removed console.log
13 years ago
Baris Soner Usakli
c1484afab7
more fixes
13 years ago
Baris Soner Usakli
5514768a3c
fixed a crash
13 years ago
Baris Soner Usakli
fabb55426c
more work:
13 years ago
Baris Soner Usakli
eba653a3d2
get teaser fix
13 years ago
Baris Usakli
9dbaf9fef9
more work
13 years ago
Baris Usakli
1a992b7147
first batch of changes
13 years ago
Baris Usakli
67247876ff
test branch
13 years ago
Baris Soner Usakli
c571a73a8b
closes #44
13 years ago
Baris Soner Usakli
502e9876ef
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
8b58ba95d1
sort query param
13 years ago
Julian Lam
ee7a1413b9
added favicon
13 years ago
Baris Usakli
8278e524d2
fixed topic/post count :/
13 years ago
Baris Usakli
6a83bf79b4
fixed the issue with Topics.markAsRead
13 years ago
Baris Usakli
d7fbe6ee14
removed console.log
13 years ago
Baris Usakli
d4e5d9cf2f
removed console.log
13 years ago
Baris Usakli
0e5f280327
fixed categories read notification bug
13 years ago
Baris Usakli
aecffecdf1
footer shows total topic post count
13 years ago
Baris Soner Usakli
761d8fc508
recent page gets alerts when new topics and posts are created
13 years ago
Baris Soner Usakli
d0af1230b5
query params will need a fix before we can send /users?sort=latest to templates
13 years ago
Baris Soner Usakli
56dc29a747
closes #44
13 years ago
Baris Soner Usakli
caf81b7312
fixed a crash if user profile is viewed when they have no posts, fixed the footer user link it uses the userslug now
13 years ago
Baris Soner Usakli
119708bc8a
removed console.log
13 years ago
Baris Soner Usakli
c93f8c0530
recent posts in /users/ page
13 years ago
Julian Lam
3bd9be5656
Merge branch 'master' of github.com:psychobunny/node-forum
13 years ago
Julian Lam
5f5b30eae8
hotfixing notif spam on chat
13 years ago
psychobunny
69f1037d45
added qUnit unit testing framework, started categories unit tests. finally out of MVP so time to unslackmode :)
13 years ago
Baris Usakli
cde765b17d
remove socket listeners in admin/users/search
13 years ago
Baris Usakli
8781f05117
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Usakli
be0afc43a8
user search in admin/users
13 years ago
Baris Usakli
941ed7e194
user search in admin/users
13 years ago
Julian Lam
97f87ee003
Merge branch 'master' of github.com:psychobunny/node-forum
13 years ago
Julian Lam
936a284397
enabling infinite post loader (re: issue #42 ), fixes #42
13 years ago
Baris Usakli
7ca2c949dd
fixed safari script problem
13 years ago
Julian Lam
9df0b39a5d
started integrating infinite post loading for topic view (re: issue #42 )
13 years ago
Baris Usakli
c870e8bbf3
testing user search in admin panel
13 years ago
Baris Usakli
746faa9488
delete user button in admin/users. the latest/top posters and most reputation sorting is working now in admin/users
13 years ago
Baris Soner Usakli
d6761a293d
removed console.log
13 years ago
Baris Soner Usakli
03e2dd3863
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
07f434be54
possible fix for topic sorting
13 years ago
Julian Lam
9098d61fe2
completed fb and g+ integration of buttons in category view
13 years ago
Julian Lam
2a946d52e0
fixed incorrect twitter link generation in category view
13 years ago
Baris Soner Usakli
9b43f80ff8
changed login to ajax added error message for incorret login, closes #36
13 years ago
Baris Soner Usakli
c1ba447aec
fixed sorting for topics
13 years ago
Baris Soner Usakli
e0debed04f
removed ajax from make/remove admin
13 years ago
Baris Soner Usakli
ea4f39ca21
server side checks for username/email/password, closes #41
13 years ago
Baris Soner Usakli
7d49294595
closes #37 , used the sorted set and updated it when a new post is made to a topic
13 years ago
psychobunny
1162b2020d
categories admin basic features completed - name, description, icon selector + background color
13 years ago
Julian Lam
606387407f
Merge branch 'master' of github.com:psychobunny/node-forum
13 years ago
Julian Lam
bc2d7b7d0f
added twitter intent, regarding issue #35
13 years ago
Baris Usakli
a43c7bc90f
changed the /latest route to /recent to match the text
13 years ago
Julian Lam
d0e5c0dcf1
Merge branch 'master' of github.com:psychobunny/node-forum
13 years ago
Julian Lam
87e2023c86
closed #28 by implementing solution #2
13 years ago
Baris Usakli
87a786c1b0
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Usakli
51842a32da
dont let users with the same username/slug register closes #33
13 years ago
Julian Lam
578dba10cd
fixed #30
13 years ago
Baris Usakli
bbee8e94bd
fixes #34
13 years ago
Baris Usakli
a0751d6caa
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Usakli
d3a190d74e
username to userslug change
13 years ago
Julian Lam
4436dbafe9
Merge branch 'master' of github.com:psychobunny/node-forum
13 years ago
Julian Lam
89e852f692
adding 'load more topics' button to topic admin
13 years ago
Baris Usakli
ad11be657e
added turkish characters to utils.slugify
13 years ago
Baris Usakli
dd4af40be0
removed login code from user.js
13 years ago
Baris Usakli
8f92710906
moved login code from user.js to login.js
13 years ago
Baris Soner Usakli
1620d1e4be
fixes #17
13 years ago
Baris Soner Usakli
f49fc234c1
fixed recent replies order. closes #27
13 years ago
Julian Lam
e158fdc963
Merge branch 'master' of github.com:designcreateplay/NodeBB
13 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.
13 years ago
Baris Soner Usakli
e49d2707eb
changed the follower/following keys
13 years ago
Baris Soner Usakli
f657c307dc
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
13 years ago
Baris Soner Usakli
acdca15e6a
possible fix for issue #12
13 years ago
Julian Lam
f91e0848ee
updated readme to link to wiki page on running NodeBB
13 years ago
Baris Usakli
aaab212128
fixed more indentation
13 years ago
Baris Usakli
e7619e6fe3
fixed indents
13 years ago
Baris Usakli
9309722898
fixed indents
13 years ago
Julian Lam
602f0d26f9
Merge branch 'master' of github.com:psychobunny/node-forum
13 years ago
Julian Lam
d0e5938788
merging in Peter Cellik's changes to allow NodeBB to work with a passworded Redis store. Fixes #11
13 years ago
Baris Usakli
64a9e5844d
son whitespace conflicts are so 1765
13 years ago
Baris Usakli
523b787e69
added csrf to ajax calls
13 years ago
Julian Lam
0d954b24dc
removed debug statements, adding missing file re: issue #3
13 years ago
Julian Lam
e75e0011e2
Merge branch 'master' of github.com:psychobunny/node-forum
...
Conflicts:
public/css/admin.less
13 years ago
Julian Lam
32eba62ef6
developed during a merge... I am going to hell for this.
...
- also new topics tab in admin panel
13 years ago
Baris Usakli
9cf9e98b14
removed duplicate build_header
13 years ago
Baris Usakli
cef77c2fd8
changed res.send(JSON.stringify()); to res.json(). closes #25
13 years ago
Baris Usakli
3f3d81de44
admins can make others admins
13 years ago
Julian Lam
59d26d6fc9
implementing express.csrf for login and register pages (the only places where HTTP forms are used). Fixes #8
13 years ago
Baris Usakli
fc4d3d849d
better this way
13 years ago
Baris Usakli
41aeee9839
send back empty object if no data for user
13 years ago
Baris Usakli
b1e369f1fc
chat notification redirect wont be null
13 years ago
Baris Soner Usakli
32b9db5771
changes to Date.now()
13 years ago
Baris Soner Usakli
0a0f8a21f0
changed new Date().getTime() to Date.now() on server side
13 years ago
Baris Soner Usakli
f2dfba33ad
cleaned image upload a bit, no longer using the filename sent by the user
13 years ago
Baris Soner Usakli
626423e01b
path join on user routers
13 years ago
Baris Soner Usakli
b962972d21
changed the image upload to use the path module instead of /
13 years ago
Baris Usakli
ffbd777642
moved chat code to its own module
13 years ago
Baris Usakli
88a1fef941
bookmark for the post made
13 years ago
Baris Usakli
b7e2bfff3d
send notification to all followers when a user makes a post
13 years ago
Julian Lam
e32111c8bc
removing debug statements from feed.js
13 years ago
Baris Soner Usakli
39cf0476d3
follower and following count on account page
13 years ago
Baris Soner Usakli
44d07ea543
changed friends to following/followers, updated routes and the user.js functions
13 years ago
Julian Lam
05b91caf6c
noscript for home and category view (although it's not quite working for
...
category view yet)
13 years ago
Julian Lam
2dea93d0fb
Merge remote-tracking branch 'origin'
13 years ago
psychobunny
1fc596b74b
fixed sidebar flashing in on empty category - got rid of javascript control and set the visibility properly from serverside
13 years ago
Julian Lam
c0b018cdf4
adding noscript parsing for a topic, if accessed by a browser without javascript
13 years ago
psychobunny
d5f3f3d9fb
fixed serverside templates.js bug that prevented blocks from being defined
13 years ago
Julian Lam
740cf13e8d
updated less-middleware to 1.1.12 (fixing odd regression with LESS package update). Fixed issue where editing of posts was wonky because the title was being grabbed incorrectly
13 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")
13 years ago
Julian Lam
2914496799
fixing bug where an anonymous user could follow a topic... yikes
13 years ago
Julian Lam
89effc5454
auto-subscribing a user to any topic that they create
13 years ago
Julian Lam
882b9a917f
ability for users to now follow/subscribe to threads
13 years ago
Julian Lam
7e55e7b3d2
fixing quoting that broke with the introduction of the new post window
13 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
13 years ago
Julian Lam
49ea40f6ee
tweaks to composer pushing, fixed random extra letter in footer js
13 years ago
Julian Lam
1a104686ac
new header for meta title
13 years ago
Julian Lam
6a91c8a116
Merge branch 'master' of github.com:psychobunny/node-forum
13 years ago
Julian Lam
6f16088cd6
cleaning up readme file and fixing bugs in editing of posts ("asdf" anyone?)
13 years ago
psychobunny
2b3688b6f3
updated rss feeds to work on chrome
13 years ago
Julian Lam
82736d8780
editing of posts using new post window
13 years ago
Julian Lam
061c7a9e66
half broken editing
13 years ago
Julian Lam
1ff77f853c
Merge branch 'master' into post_window_refactor
13 years ago
Julian Lam
676ddcd3e3
integrating the new post window into the forum
13 years ago
psychobunny
9029ed2663
limited recent replies to just 5
13 years ago
psychobunny
3476be6233
removed atom-writer (and xml-writer) in favour of node-rss which seems to be better. updated feed.js
13 years ago
psychobunny
f1f86b1d4f
added category rss. added tid to be passed back in getTopicsByTids.
13 years ago
Julian Lam
0a00eac970
added requirejs, new 'composer' module for all posting related functions (client-side)
...
composer module only has "push" at the moment... doesn't render a window quite yet.
13 years ago
Julian Lam
1aa4a440a0
motd tweaks in admin panel
13 years ago
Julian Lam
1760cf1e89
added motd to admin panel and added colour and transitions to alt-login icons
13 years ago
psychobunny
4b17f1d4e6
wrapped up rss for topics. added a new route to access these feeds from the url topic/tid.rss
13 years ago
Julian Lam
fd350bbb4e
nibbed out and hardcoded uid 1 as an admin... first registered user becomes an admin!!
13 years ago
Julian Lam
9af39622ed
actually using identicon default across the site
13 years ago
Julian Lam
68b7609ab6
identicon integration for twitter + fixing missing social icons for registration page
13 years ago
psychobunny
9c546c92ad
removed alert
13 years ago
psychobunny
11ad3a867e
fixed slug issue with topics
13 years ago
psychobunny
f9e015f194
cid undefined bug
13 years ago
Julian Lam
c66885af51
fixing build_header misdef
13 years ago
Julian Lam
92aaeca899
Merge branch 'master' of github.com:designcreateplay/NodeBB
13 years ago
Julian Lam
48bccb3498
applying custom theme (if enabled) to all routes
13 years ago
psychobunny
82e8b481b8
fixed posting bug and moved new topic button to be visible if no topics found
13 years ago
Julian Lam
7f77ec2c5f
committing hotfix to registration
13 years ago
Julian Lam
dec9a3bef9
adding missing admin css file, some other tweaks and cleanup
13 years ago
Julian Lam
111b9dcf0a
moved admin css to its own file for LESS compilation, and adding in
...
options to update social keys for login
13 years ago
Julian Lam
0859793b15
cleanup
13 years ago
Julian Lam
f216c7f94a
some cleanup and fixing breaking bug introduced by merge
13 years ago
Julian Lam
878a678643
Merge branch 'install_script'
13 years ago