Commit Graph

313 Commits (76d8d09f9b1ebe00d1c3220ed1e1ca813492ea95)

Author SHA1 Message Date
Julian Lam 9375369b88 fixed issues caused by inadvertant globalisation (and its subsequent fix)
psychobunny bf677522a9 added additional_profile_info footer in posts view; plugins - filter:posts.custom_profile_info hook lets you add info to post block footer
also fixed app.alert - if title is not set then do not show title.
Julian Lam 9613ea9018 reverted change where post title was sanitized on saving (which didn't
seem to work), now sanitizing post title on output
Julian Lam 7bf5b2ec57 changed fireHook to be error-first, closes
Julian Lam 4cea313060 updated getPostsByPids method to resolve premature return issue, and
refactored it to use async.map instead of eachSeries
Julian Lam cdaf409a99 monkey-patching getPostsByPids so that it returns ISOString instead of relativeTime
Julian Lam 3ab7306199 linting, minor bugfix, moving hiredis to optional deps
Julian Lam 2e4e94d5f8 Merge branch 'redis-optimizations' of https://github.com/adarqui/NodeBB into adarqui-redis-optimizations
Julian Lam 99440585e6 Merge branch 'master' into optimize-22-09-2013
Conflicts:
	package.json
Baris Usakli bae9f46d8b small fixes to search
Julian Lam 5f00f1e18e renamed "toHTML" method to "parse"
Andrew Darqui d2b858c997 slight variable name changes & remove unused var from getPostsByPids, removed underscore dependency
adarqui e26cc79819 redis multi pipeline used for getPostsByPids
Baris Usakli efef9c864c closes
Baris Usakli 24e4be77d8 closes
Baris Usakli ce61138351 fixed conflicts
Baris Usakli 564662ee00 closes
psychobunny aea3181d27 formatting - server side core
Baris Usakli 7798004568 fixed active_users not deleting over 10
Julian Lam 164977972e totally derped commit
Baris Usakli a2af4a3e91 closes
Baris Usakli d2eb73df96 can add and remove images from posts
Baris Soner Usakli 54ba6efc93 can edit and add an image to a post, still cant remove previously added images #issue
psychobunny bb8f75b4be merged.. conflicted up the ass. registration looks gud again
Baris Usakli 59f4b6788a Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli a317a4d689 closes
Julian Lam 0243e9c5be issue , preparing for addition of post.parse hook by renaming markdownToHTML to just "toHTML", and making it asynchronous.
psychobunny f251b9c6c5 Merge branch 'master' into bootstrap3
Julian Lam 1961f01cab possibly fixing issue
Julian Lam aefa56221b closed
Baris Soner Usakli 545069b069 closes
psychobunny 0f8aad52b2 updated all alert-error to alert-danger (wtf did BS3 need to change that?)
Julian Lam d2aa2a9a29 derpiness
Baris Usakli c647793512 meta config changes, refactors
Julian Lam 43152bdaf9 closed - refactoring of post creation so that, normalizing post
objects

also fixes 
Julian Lam 7975844e4d renamed two hooks and added filter:post.get hook
Baris Usakli 1e66116e1d closes
Baris Usakli c05f56d28c fix for category view when its empty
Baris Usakli c70c67394a closes
Baris Usakli 92d3559146 closes
Baris Soner Usakli f83be710a0 closes , ,
Baris Usakli 929282a2f7 ban users, closes , banning a user hides all posts topics of a user and their profile page becomes inaccessible
Baris Usakli dceec0ce46 more winston, issue
Miguel Ángel Durán García deff75ad06 Typo with ending bracket
Baris Usakli ca3629d89b forgot to commit oops
Baris Soner Usakli 46afbc0ba0 assorted config fixes
Julian Lam e8f1d645fe closed
new build_title function to be called via socket

also added categories.getCategoryField and refactored all calls to
getTopicField to be error-first
Baris Soner Usakli 50c34e4f33 added infinite scrolling to unread page, issue
Baris Soner Usakli 1cc8214d16 infinite scrolling for topics in category view, changed how topics are stored in categories, using sorted sets instead of sets now, if you update to this commit run node app --upgrade to upgrade the redis schema,
Baris Usakli e979d1bf0d fixed home loading
Baris Usakli e69928d624 strip tags in recent replies
Baris Usakli 0bd56196cf index topic titles too
Baris Soner Usakli f0759863e6 reindex all call
Baris Soner Usakli d6b9a2799b full text search using reds, issue
Baris Soner Usakli 7297a26685 scroll to post 2
Baris Usakli 720dd9e960 scroll to posts
Baris Soner Usakli 9f2838849e moved the imgur clientID to the server config file
Julian Lam 2d64c9979e sending pid as well as content in action:save_post_content hook
Julian Lam 34bb9dddb5 sticking to style guide for method names (camelcase)
Julian Lam 25a1d25108 tested filter-type hooks, working! :)
Baris Soner Usakli 8947553ecd closes
Baris Soner Usakli 2237166e0f removed console.log
Baris Soner Usakli 85b0fe7175 images debug
Baris Soner Usakli e9afd4a107 fixed broken view again
psychobunny 1e86f379d5 removed external link icon from signatures only
Baris Usakli d9fa78a866 again
Julian Lam 99ba792e6d changing all calls to marked to instead go through
PostTools.markdownToHTML
Julian Lam f40bf46656 closed - anchors now have rel="nofollow" and open in a new window
Baris Usakli 52110016c7 closes
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 Usakli a4de1b247f decrease/increase post count on post deletion/restore
Baris Usakli 68c011ce63 recent replies link to user and topic
Baris Soner Usakli 285e19fbbf closes
Baris Soner Usakli f90eb72706 added minimum lengths into error messages
Baris Soner Usakli 65029ae169 content length changes
Baris Usakli 4f9a2d0b93 content check in posts
Baris Usakli 582cd2f011 closes
Julian Lam 145898c3ba using nconf to manage config file now (issue )
Baris Soner Usakli c7a218af9a closes
Baris Soner Usakli cc6bd59560 closes
Baris Soner Usakli 8d2c4fd625 closes
Baris Soner Usakli 910e9d6ee0 closes
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
Baris Usakli 95e05410a2 more fixes
Baris Usakli 50078d7395 fixes in posttools and thread tools for hashes
Baris Usakli 98013536d1 more fixes
Baris Soner Usakli c1484afab7 more fixes
Baris Soner Usakli fabb55426c more work:
Baris Usakli 9dbaf9fef9 more work
Baris Usakli 1a992b7147 first batch of changes
Baris Usakli 8278e524d2 fixed topic/post count :/
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
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
Baris Soner Usakli 119708bc8a removed console.log
Baris Soner Usakli c93f8c0530 recent posts in /users/ page
Julian Lam 936a284397 enabling infinite post loader (re: issue ), fixes
Julian Lam 9df0b39a5d started integrating infinite post loading for topic view (re: issue )
Baris Soner Usakli 07f434be54 possible fix for topic sorting
Baris Soner Usakli 7d49294595 closes , used the sorted set and updated it when a new post is made to a topic
Baris Usakli d3a190d74e username to userslug change
Baris Soner Usakli 1620d1e4be fixes
Baris Soner Usakli e49d2707eb changed the follower/following keys
Baris Soner Usakli acdca15e6a possible fix for issue
Baris Soner Usakli 0a0f8a21f0 changed new Date().getTime() to Date.now() on server side
Baris Usakli b7e2bfff3d send notification to all followers when a user makes a post
Julian Lam 882b9a917f ability for users to now follow/subscribe to threads
Julian Lam 6f16088cd6 cleaning up readme file and fixing bugs in editing of posts ("asdf" anyone?)
Julian Lam 061c7a9e66 half broken editing
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 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 1f99666d9f moved favourites code out of posts
psychobunny cd4ca110a1 moved utils over to client side for code sharing
psychobunny a9672ab9d8 begin refactor of posts/topics + pagination + cleanup + async
Baris Soner Usakli 760037ba0a added signature to new replies
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.
psychobunny 34133eef8c post counts + read status working on homepage category listing. fixed posts.get_cid_by_pid
Baris Soner Usakli 9c5fa5fc5e signature work
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)
Baris Usakli bece6a7878 added signature to topic template
Julian Lam 4b6ad9607e removing static saving of recent post, and added in dynamic pulling on Topics.get
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
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
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
psychobunny 25e218442a updated category: tracking active participants + removed placeholder; recent author picture now pulled dynamically; graph/users/picture implemented
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
Julian Lam 98193ecb29 Merge branch 'master' of github.com:psychobunny/NodeBB