Commit Graph

300 Commits (c0e818afc617347237597193a1cc43fd8eff50f0)

Author SHA1 Message Date
Baris Soner Usakli 8947553ecd closes
Baris Soner Usakli 38aa5aa3e6 refactor to remove category_name and category_slug from topic hashes
Julian Lam 99ba792e6d changing all calls to marked to instead go through
PostTools.markdownToHTML
Baris Usakli 52110016c7 closes
Baris Soner Usakli e437b4df66 removed commented out code
Baris Soner Usakli 919efd4052 drag and drop image upload first pass
Baris Soner Usakli f7291631d8 when a post is restored update topic timestamp
Baris Usakli ff9990701b changed to async.eachSeries
Baris Soner Usakli 285e19fbbf closes
Baris Soner Usakli f90eb72706 added minimum lengths into error messages
Baris Soner Usakli 65029ae169 content length changes
Baris Usakli 03d3f59804 change to async.each for addUserInfoToPosts
Baris Usakli 8d21d4f998 closes
Baris Soner Usakli a5b324cbc4 closes
Julian Lam 87aec422e9 moved get_last_undeleted_pid to threadTools.js
Julian Lam 31f8be8a0a updating topics.getTeaser and get_last_undeleted_pid to return err first, and handled methods that called it
Baris Soner Usakli 4527b3d53c closes
Baris Soner Usakli 62ef925fd3 removed graph/picture, closes
Julian Lam d1bc8b5d91 fixing issue where NodeBB hangs if a non-existant topic was requested
Baris Soner Usakli 719182e3a8 fixed read status in categories
Baris Usakli bff188b116 fix
Baris Usakli 82319a020f more fixes
Baris Usakli a76d6c1f9a removed log
Baris Usakli 27ea41adcf fix for category teaser timestamp
Baris Usakli 1a19f0e1bc changed categories to hash
Baris Usakli 9c3046b89b more fixes
Baris Usakli 98013536d1 more fixes
Baris Soner Usakli 527e6e63cc removed console.log
Baris Soner Usakli c1484afab7 more fixes
Baris Soner Usakli fabb55426c more work:
Baris Soner Usakli eba653a3d2 get teaser fix
Baris Usakli 9dbaf9fef9 more work
Baris Usakli 1a992b7147 first batch of changes
Baris Usakli 6a83bf79b4 fixed the issue with Topics.markAsRead
Baris Usakli d7fbe6ee14 removed console.log
Baris Usakli 0e5f280327 fixed categories read notification bug
Baris Usakli aecffecdf1 footer shows total topic post count
Baris Soner Usakli 761d8fc508 recent page gets alerts when new topics and posts are created
Julian Lam 9df0b39a5d started integrating infinite post loading for topic view (re: issue )
Baris Usakli a0751d6caa Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli d3a190d74e username to userslug change
Julian Lam 89e852f692 adding 'load more topics' button to topic admin
Julian Lam 0d954b24dc removed debug statements, adding missing file re: issue
Julian Lam 32eba62ef6 developed during a merge... I am going to hell for this.
- also new topics tab in admin panel
Baris Soner Usakli 0a0f8a21f0 changed new Date().getTime() to Date.now() on server side
Baris Usakli ffbd777642 moved chat code to its own module
Baris Usakli 88a1fef941 bookmark for the post made
Julian Lam c0b018cdf4 adding noscript parsing for a topic, if accessed by a browser without javascript
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
Julian Lam 89effc5454 auto-subscribing a user to any topic that they create
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
Julian Lam 6f16088cd6 cleaning up readme file and fixing bugs in editing of posts ("asdf" anyone?)
psychobunny f1f86b1d4f added category rss. added tid to be passed back in getTopicsByTids.
psychobunny 11ad3a867e fixed slug issue with topics
psychobunny f9e015f194 cid undefined bug
psychobunny 82e8b481b8 fixed posting bug and moved new topic button to be visible if no topics found
Julian Lam 878a678643 Merge branch 'install_script'
psychobunny bcc903ee1c run npm install. starting rss atom feeds of topics. fixed bug in topics where new topics created were not being saved properly
Julian Lam 88bf9425db install script + patching up integration with install wizard
psychobunny 523ce61d1f redis schema file for organization; moved new topic button in categories higher
psychobunny 8c2b6cda69 added timestamp to teaser, continuing work on recent replies block
psychobunny 6db259cf3f Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Conflicts:
	src/posts.js
psychobunny 448673b141 recent replies part 2
Baris Usakli db6bbcc699 post every x seconds added it x to config
psychobunny a02a74604c moved CategoriesAdmin into its own file, hid popular/active, some jslinting + cleanup, renamed some fn calls to be more descriptive
psychobunny 55cb790d3c potential fix for duplicate chat results, started recent replies block
psychobunny deaf8105cc renamed get category to get categories
psychobunny 4b67f8573e recent posts done (needs polish/cleanup), and fixed bug where new topic button was not showing up in categories
psychobunny c785f06367 added 404 tpl, fix for 404 on topics, continuing refactor - categories
psychobunny 4a3ffec29f proof that comments can be misleading
psychobunny d0646ba98f typo
psychobunny cd4ca110a1 moved utils over to client side for code sharing
psychobunny a9672ab9d8 begin refactor of posts/topics + pagination + cleanup + async
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 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