Commit Graph

438 Commits (07d4466cb45d829c58dd4e2f76a790016a50ce34)

Author SHA1 Message Date
Julian Lam 499f840e1e added toggle in config to switch on and off the motd
Julian Lam 16dac16d91 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam ec463ce3d3 added motd support
Baris Soner Usakli 760037ba0a added signature to new replies
Baris Soner Usakli ef304a712f strip tags from signature when they are saving, separated info in user profile and added signature box
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.
Julian Lam 624ccc592c resolving issue where the post window stays open during navigation
- app.close_post_window now neatly closes the post window
Julian Lam 74c13ba299 Merge remote-tracking branch 'origin'
Julian Lam fd38b60bd6 fixing issue with teasers showing deleted post info
psychobunny 34133eef8c post counts + read status working on homepage category listing. fixed posts.get_cid_by_pid
psychobunny effb26c856 user friendly message if no topics exist in a category
psychobunny ab492f147f check for online/offline users, added custom redis sismembers method, fix for category view not showing up if it has no topics
Julian Lam 76aa644314 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 7c165876f1 fixed bug where deleted posts still showed up in teasers
Baris Soner Usakli 9c5fa5fc5e signature work
psychobunny 47d491b266 some left over unfinished templates fixes from last week. deeper urls now take higher precedence.
Julian Lam 7e7d8ac8a4 fixing typo in user.js... weird
Julian Lam e62fcc5831 refactored the entire privileges stack. .editable() is now deprecated, use
.privileges instead. Privileges now are inherited, so querying a topic's
privileges will automatically query it's parent category's privileges as
well, etc.
Julian Lam fd5277c815 fixed bug with isAdministator usage in Posts
Julian Lam 1a38644eb8 exposing thread tools to users in the "administrators" set, fixing up
Topics methods to call the "editable" method first instead of just
checking rep thresholds.

Also changed the limit on thread length from 10 to infinity (for now,
until infinite scrolling makes it in)
Julian Lam 7757c29889 Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam fe9adf696d new post event (although there is a bug... hmhm)
psychobunny cb6d98cecb derp conflicts
Merge branch 'master' of https://github.com/psychobunny/NodeBB

Conflicts:
	public/src/templates.js
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;
Baris Usakli 78b59432cc dont call marked if content is empty in get_teaser
Baris Usakli bece6a7878 added signature to topic template
Baris Usakli 1f5956d031 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 994b7e8b33 signature
Julian Lam 7d648e7abe Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam 297c4b8173 socketizing topic creation so that a new topic shows up automatically when one is created
Baris Usakli d8489e2c66 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli dfdbc3bea2 admin/redis page
psychobunny e694751b72 fixed templates bug in websockets
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
Julian Lam 3df8d7279b rejigged Topics.get so that it does not return a hardcoded return if no topics were returned
Julian Lam 03511cd9a8 removing console rlogs
Julian Lam 1b63207920 Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam 4b6ad9607e removing static saving of recent post, and added in dynamic pulling on Topics.get
Baris Usakli c2c4c003ab if the user updates their email change the email uid mapping, added 500ms delay to the disconnect modal
Julian Lam 12ff6bf1e1 removing server-side registration info check (as it conflicts with social network registrations)
Julian Lam 8b1ff03cbb fixing social network logins and refactoring post actions
Julian Lam e5716145ae get pid and tid and cid methods in posts and topics
Julian Lam 2258ab3503 fixing up posts behaviour when a mod is the viewer
Julian Lam 6dd960d6c3 adding moderator checking to post actions
psychobunny 7e7a4ffac5 fixed logout
psychobunny a711adfcd0 fix for recent/popular/active global categories
psychobunny 9a0e487936 fix so that empty categories dont 404
Julian Lam 9917f068f9 fixing up moderator listing
Baris Usakli 3cff31be4e getMultipleUserFields will return empty ojbect if no uids are passed in
psychobunny 211363235d removed console.log
psychobunny fd8c0c5097 fixed bug in active users causing moderators to not show up and only one active user being shown
Julian Lam e256ee99f7 Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam bdeb7b13f1 interim commit for moderator support
Baris Usakli 4cf0af0556 fixed topics
Baris Usakli 96df6abe85 broken posts
Baris Usakli 34432773d6 fix crash when you go to /topics/nonexistant
Baris Usakli 9d5f6364ad removed console.logs
Julian Lam 6013017ffd fixing bug where the favourites star was still shaded in if an anon tried to favourite a post
Julian Lam 71482163ed updating post and topic methods so that when you reply to a post or create a new topic, that topic isn't flagged as unread for you
psychobunny 725d4c09fa Merge branch 'master' of https://github.com/psychobunny/NodeBB
Conflicts:
	src/posts.js
psychobunny 435d24eb25 differentiation between the main post and rplies including preliminary duhsign
Baris Usakli 4117a3da48 anon users use default gravatar image
Baris Usakli 9cd189e273 relative time fix
psychobunny 91b4ec2547 fixed crashing error in graph/user/picture, and started updating the main post row in topic.tpl
psychobunny 74649f64e2 Merge branch 'master' of https://github.com/psychobunny/NodeBB
psychobunny 25e218442a updated category: tracking active participants + removed placeholder; recent author picture now pulled dynamically; graph/users/picture implemented
Baris Usakli d1041bedf4 imagemagick resizing
Baris Usakli 40b8264d6e only png jpg and gifs are allowed for image upload, increase profile image size to 256kb
Baris Usakli 3b0978caa7 add friend button invisible if user is already friend
Baris Usakli 58aa0ee647 friends
Julian Lam a4dfc604e7 changed favouriting behaviour so that it no longer allows anons to favourite, and favouriting your own posts don't raise your rep count
Baris Usakli c76eeaba3e removed old upload code
Baris Usakli 39798b9f79 changed the file upload to use streams
Julian Lam 98193ecb29 Merge branch 'master' of github.com:psychobunny/NodeBB
Julian Lam 3eff46bb52 restricting posting by anons, redirects to login page and saves post to localstorage
psychobunny f608505cbb Merge branch 'master' of https://github.com/psychobunny/NodeBB
psychobunny a7cefe35f8 started to add real data to the topics listing, got latest post working per topic
Baris Usakli 233752a9c7 why does urls dont work when put into address bar
Baris Usakli 4f0901e164 anon user doesnt show up on users page anymore
Baris Usakli 073b87982b moved user routes into routers/user.js
psychobunny 3fa0f7c8b5 fixed three bugs in templates: 1) if you're sending in null as a value it should now correctly replace that field as ''. 2) you don't need to put objects last in data anymore (stupid bug) 3) you can now send multiple objects to be parsed in templates properly; Also added deprecation message to server side templates
Baris Usakli 188b1d5ada for andrew
Baris Usakli b429a31f6b more clean up
Baris Usakli 4c324664fa removed global modules
Baris Usakli d564811b71 fixed the data passing to accountedit.tpl
Baris Soner Usakli 0bb0fd5789 removed debug console.logs
Baris Soner Usakli 901b378912 css fix
Julian Lam 624658307c Merge branch 'master' of github.com:psychobunny/NodeBB
Julian Lam 487d740164 added client and server validation on registration
Baris Soner Usakli 6942107dd4 regen gravatar url when email changes
Baris Soner Usakli 62bffff3c7 forgot to add a ;
psychobunny c3e7aa9766 Merge branch 'master' of https://github.com/psychobunny/NodeBB
psychobunny 6b495767c0 removed server side templates for register
Baris Soner Usakli 71d595a552 debug image uploading
Julian Lam aab149aecf Merge branch 'master' of github.com:psychobunny/NodeBB
Julian Lam 80b20fe877 adding alternate logins to register page
Baris Soner Usakli eccd1f66d1 removed some debug stuff from image upload
Baris Soner Usakli 5796140f58 image upload changes
Baris Soner Usakli 5785b16ae9 fixed users page so that all reps and post counts are comma delimited, some image upload fixes
Baris Soner Usakli e476e27807 image upload error msgs, file size limit
Julian Lam 1b61511e8a fixed tabindex in reply window, wrapping up some minor bugs in editing
posts
Julian Lam 156d5dce08 post deletion
Julian Lam 4fd1244e2d some work on deleting posts, and allowing a mod to edit a post
Julian Lam b608a5ff97 Merge branch 'master' into edit_delete
Baris Soner Usakli 0aeeac9d61 image upload and changing images will clean up later andrew stayla
Julian Lam fdc866c840 fixing line breaks on posts markdown rendering
Julian Lam 11cc68ce8f server-side srestruction to editing posts (though need to add rep of editor blah blah)
Julian Lam a8ab0055e6 UPDATE YOUR CONFIG TO INCLUDE THE "manage_content" PERMISSION!!
users with the proper "manage_content" permission can now edit anybody's
posts
Julian Lam b244da724e edit labels, and fixing responsive layout in topic view
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
Julian Lam f1c5233aa9 sorting
Julian Lam e9a552eab4 editing of posts
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
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
psychobunny 5e901a76aa fixed the rest of the bugs that arised from the redis refactor
psychobunny b9ec62ee20 chicken wrapper gone. but as a result, found a bug that wasn't being handled properly
psychobunny fb83913670 redis wrapper removed. pretty safe to say that we didn't really need it in the first place.
psychobunny 09c9d0ee1f fixed topics bug that was prevent /latest /popular /active and subsequently the admin versions of those routes from working. removed debug statements. added admin socket room. added dynamic updating of active users on acp index
psychobunny 30323fa29f Merge branch 'master' of https://github.com/psychobunny/NodeBB
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.
Baris Usakli 5057af7bbe user edit fix for !==
Julian Lam 2ca1986b40 moving threads will refresh view for all connected clients as well
Julian Lam a0fa95b9f0 Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam c1489b2503 thread moving! (party)
Baris Usakli 44f0183b29 fixed anon users visiting user profiles
Baris Usakli 2539079c84 removed console.log
Baris Usakli 9166a9ccde user edit changes
Julian Lam 858337c633 refactoring topics to be stored as a set per category, instead of a list
Baris Usakli 0210e5a928 edit
Baris Usakli 9494bf6378 edit restrict
Julian Lam 917eadae95 Merge remote-tracking branch 'origin'
Baris Usakli 67191b3a54 Merge branch 'master' of https://github.com/psychobunny/NodeBB
Julian Lam ff025f0e48 interim commit to thread moving
Baris Usakli 5edf7efd8f user edit and profile changes
psychobunny 8e1ee88878 removed derpy + from header ill come back to that later when im more inspired... fixed ajaxify for custom routed urls, fixed recent/popular/active tab's invalid object initializer
Baris Usakli 187d5a101a edit page
Baris Usakli 36e7baa84d userS
Baris Usakli 5e36ca2fbe removed dupe function
Baris Usakli b2adda06c8 Merge branch 'master' of https://github.com/psychobunny/NodeBB
Baris Usakli d308242d2d decimal places for rep and post count
Julian Lam 4dced643c5 tweaking app.alert so that on regular fadeout (after timeout expiry), the alert is removed from the DOM
Baris Soner Usakli 6dda6ce15b removed some console.logs
Baris Soner Usakli 8710aa3457 users page
psychobunny e061fe061b added custom routing from server side, started moving hardcoded scripts into create_route
psychobunny e75076caad Merge branch 'master' of https://github.com/psychobunny/NodeBB
psychobunny 09c6aace09 custom template half in
Baris Usakli 781d7cf9cf template stuff
Baris Usakli bf731dc224 user edit
Baris Usakli cef1ba4c08 changed profile page to /users/username
Baris Usakli 0eacec8166 Merge branch 'master' of https://github.com/psychobunny/NodeBB