Commit Graph

526 Commits (7a10cffb25d2bb6ffe2b75cf2ec1bb98804bad8c)

Author SHA1 Message Date
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 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 7c165876f1 fixed bug where deleted posts still showed up in teasers
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 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)
Baris Usakli 78b59432cc dont call marked if content is empty in get_teaser
Baris Usakli 1f5956d031 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 994b7e8b33 signature
Julian Lam 297c4b8173 socketizing topic creation so that a new topic shows up automatically when one is created
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 4b6ad9607e removing static saving of recent post, and added in dynamic pulling on Topics.get
Julian Lam e5716145ae get pid and tid and cid methods in posts and topics
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
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 34432773d6 fix crash when you go to /topics/nonexistant
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 25e218442a updated category: tracking active participants + removed placeholder; recent author picture now pulled dynamically; graph/users/picture implemented
psychobunny a7cefe35f8 started to add real data to the topics listing, got latest post working per topic
Julian Lam b244da724e edit labels, and fixing responsive layout in topic view
Julian Lam f1c5233aa9 sorting
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 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
Julian Lam 2ca1986b40 moving threads will refresh view for all connected clients as well
Julian Lam c1489b2503 thread moving! (party)
Julian Lam 858337c633 refactoring topics to be stored as a set per category, instead of a list
Julian Lam 917eadae95 Merge remote-tracking branch 'origin'
Julian Lam ff025f0e48 interim commit to thread moving
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
Julian Lam b57109f6fd floating pinned articles to the top of the topic list
Julian Lam f0eeec8932 fixing alert removal by alert_id and adding alerts when thread is locked or pinned
Julian Lam 8bccc8466e Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam bf7c602cd8 thread pinning
psychobunny 2dccfb96e7 Merge branch 'master' of https://github.com/psychobunny/NodeBB
Conflicts:
	src/posts.js
	src/topics.js
psychobunny ae2be687b8 small refactor plus breadcrumbs for all ur pages
Julian Lam d35bffa830 removing topic from listing if deleted, and adding lock icon if thread is locked
Julian Lam 43a76f9c9c fixing socket returns to emit to everybody in the room (on thread locking/deletion)
Julian Lam 7bbc630dfb Merge remote-tracking branch 'origin' into thread_options
Conflicts:
	public/src/templates.js
Julian Lam 250c70bdfc topic locking and deletion
psychobunny 31542cd9be finished recent, popular and active posts shells, just need to update api methods
Julian Lam b2c6d4f7c7 interim commit to thread options
psychobunny fa64e84dcc fixed a bug in templates, introduced categories, added default setup script onload, moved home.tpl code over to category, created hierachies
psychobunny 178bc82a55 removed deprecated functions from topics.js (server side parsing) and fixed the 150ms initial delay on first load
psychobunny 724c1511af moved slugify to utils
Julian Lam 86af1b2af5 topic creation now checks for valid pid as well
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
Baris Usakli 2a3ef2408f fixed post content
Baris Usakli 3c86b43ba3 post count is incrementing when replying
Baris Usakli ed26728a0f show username on homepage
Julian Lam 0ae4e31163 RUN "npm install" AFTER THIS GIT PULL!!
Integrated markdown parsing to all post content. Title content by default
not going to be parsed, using default options unless circumstances dictate
otherwise.
Baris Usakli 39b24436d0 removed global.socket, passing in socket to the functions now
psychobunny b2bc967e9b got ajaxify working with threads, some cleanup, fixed anon posting, got rid of a few more global.sockets calls
Julian Lam 62779ef0dd relative time on topics and posts
Baris Soner Usakli 20aa5d439e log server errors in browser
added uid to posts
psychobunny 303452ef8c fixed conflicts
psychobunny 126f817f7d updates to posts
Julian Lam 570dfd9786 updated topics module to use uid as a passed in param, instead of through global.uid
psychobunny 98ca14e31c started working on threadss, implemented slug url, fixed crashing bug during post creation
psychobunny 5173498180 client side templates in, fixed home page to parse templates on ajaxify, added footer to the page transition animation for smoothness
Julian Lam eac3785b29 fixing issue with auth (removed session saving stuff by mistake)
Julian Lam 9e5a7b96b3 fixed broken mget implementation if no topics are present
psychobunny a16f72e11c redis - added mget and multi, finished initial topics listview on home page, finished get topics method calls
psychobunny e50e136d83 inbetween some changes but asked to pull so I'll comment better later
psychobunny d711a4e334 added post button, post window, added click handler to toaster alert, started on posts and topics schema and code