Commit Graph

245 Commits (52cf224e5a21d0b0b7a764ea6863dd76859e49f3)

Author SHA1 Message Date
Baris Soner Usakli 8efea65e87 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 72c35db6fd cleanup in move rencet replies'
Julian Lam e176abae50 started , first pass
Julian Lam f949af70ad fixed
Julian Lam 6514504ddd fixed
Baris Soner Usakli 25442a89ca closes
Baris Soner Usakli 1afd7ae332 trim pagination numberS
Baris Soner Usakli 1084523c92 lots of pagination work, query params, ajaxify to pids
Baris Soner Usakli 8744013013 Merge branch 'master' of https://github.com/designcreateplay/NodeBB into pagination
Baris Soner Usakli d718eca935 fixes global meta leak, and categories meta require,
Baris Soner Usakli ef6fd35e85 lots of cleanup, moved pagination to requirejs module
Baris Soner Usakli 824c5072e8 topics should be marked read correctly if you are already in it
Baris Soner Usakli baa74958c5 can set image class for categories
Baris Soner Usakli c0712583f2 fixed category sockets
Baris Soner Usakli ae76bb3928 lots of err first fixeS
psychobunny 98d42b0ade moving social sharing parsing code from server side to client side & cleaned up templates
Baris Soner Usakli 75850bd315 closes
Julian Lam bc407ee59c fixing topic moving
Julian Lam 119079ace5 added missing link, numRecentReplies, and class values to category.create... fixed , fixed
Julian Lam ac04e04016 fixed
Baris Soner Usakli a4ae9c70df closes , closes
Baris Soner Usakli 48074ea93b redirect if category is accessed directly
Baris Soner Usakli 8626122679 category active users are stored in a sorted set now
psychobunny 1d69436b44 fix to getRecentReplies causing count = 0 to return unlimited
Baris Soner Usakli 8bfb338eee
Baris Soner Usakli daacdb50f3 closes
Baris Usakli 55d008d71f added err to callbacks
Baris Usakli 401a30e02c fixed categories.getRecentReplies so it only returns count posts instead of getting 10, posts are added and removed from sorted set when they are deleted restored
psychobunny e316dd3330 fixed a bug in create category
psychobunny a34ed92fac console.log
psychobunny e76936abfc added ability to upload category images. closes , closes
Baris Soner Usakli 76636b64db small fixes
Baris Soner Usakli b547d3577b removed a multi from categories.js
Baris Soner Usakli 32d5118266 tons more changes
Julian Lam 0a06f1ac7d Merge remote-tracking branch 'origin/master' into category-whitelisting
Baris Soner Usakli 2148f6ff95 closes
Julian Lam 5ee5c8179a category whitelist for replying to posts, lots of refactoring, too
Baris Soner Usakli 32b191fa62 removed global.io
Julian Lam 34459e7cf1 fixing category admin panel integration
Baris Usakli 541993c80a fontawesome 4 migration, closes
Baris Usakli 7c1b6d6ad2 lots of refactor for error handling
Baris Usakli 1ec6726459 template changes to recent and unread
Baris Usakli a21d91d870 closes
Baris Usakli f946918176 fixed anon images in topic view, anon users arent added to active users for a category
Baris Usakli 549017d035 cleaned up getCategories
Baris Soner Usakli ab1015b11e
Julian Lam 55e990f71d fixes - looks like someone removed the code that floated pinned
topics to the top...
Baris Usakli 98b97b9898 added callback to hmset in category.create
Baris Usakli 41cf7c6814 added commas after some requires, added missing plugins require to categories
psychobunny ca9c468edd plugins - filter:category.build_sidebars allows plugins to generate custom sidebar content
Julian Lam 5d48ed5fb4 using map instead of eachSeries to load categories for /home. Error
handling.
Baris Soner Usakli afa078d00c closes
Baris Usakli 27cb837b08 closes
psychobunny fd32d75d3b jshinted categories.js
psychobunny 64b071f277 nconf and redis wrapper no longer global objects. jshinted app.js. updated sockets.io to latest
psychobunny aea3181d27 formatting - server side core
psychobunny 84afffc761 categories.js jshinted
Baris Usakli 916150de01 closes
Baris Usakli efa8717fc5 getMultipleUserFields returns err now
Baris Usakli 599789634a closes
psychobunny bb8f75b4be merged.. conflicted up the ass. registration looks gud again
Baris Usakli a317a4d689 closes
psychobunny 9e4a3905a0 moved most span12 and span9 over to BS3; img-polaroid to img-thumbnail
Baris Usakli 1e66116e1d closes
Baris Usakli c70c67394a closes
Baris Soner Usakli 999e98e43d add label to banned users, dont hide their posts
Baris Usakli 74af205426 banned users cant login, show error messages on failed logins
Baris Usakli 929282a2f7 ban users, closes , banning a user hides all posts topics of a user and their profile page becomes inaccessible
Baris Usakli 6e17ff7981 added winston, added wrapper for winston.error until they fix it, issue
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 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 Soner Usakli 811d2df728 moved getTopicsByTids and getLatestTopics to topics.js
Baris Soner Usakli 57a4741e9e show message if there are not recent topics
Baris Soner Usakli 23598361b8 closes
Baris Soner Usakli 3f8b3894d8 C:/Program Files (x86)/Git/recent shows only the last 24 hours
Julian Lam cc1cc7cae4 first pass at meta tag construction abstraction (issue ). Also addressed issue
Baris Soner Usakli bf6a38904a skip loading a topic if cant load its data
Baris Soner Usakli 6ab37bde09 closes
Julian Lam 9e7afcf0ab fixing issue where navigating to a non-existant category_id caused NodeBB
to crash
Baris Soner Usakli e9afd4a107 fixed broken view again
Baris Soner Usakli 667a102c8b added async.eachSeries to getCategories
Baris Soner Usakli 38aa5aa3e6 refactor to remove category_name and category_slug from topic hashes
Baris Usakli 52110016c7 closes
Baris Soner Usakli eec5249eb6 possible fix for wront sorting on /recent
Baris Usakli e5301deea2 more async in categories
Julian Lam 145898c3ba using nconf to manage config file now (issue )
Julian Lam 743e0569c1 Merge branch 'master' of github.com:designcreateplay/NodeBB
Conflicts:
	src/topics.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 ba161c1f6c removed couple console.logs
Baris Soner Usakli c7a218af9a closes
Baris Soner Usakli 4527b3d53c closes
Baris Soner Usakli 62ef925fd3 removed graph/picture, closes
Baris Usakli 6eb9af77e6 first pass at subfolder
Baris Soner Usakli dc473b06bf closes
Baris Soner Usakli 9320883f92 fixed live tiles if there are more than 2 posts
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 Soner Usakli f2d7f856aa async.each in user.js
Baris Soner Usakli 719182e3a8 fixed read status in categories
Baris Soner Usakli ed99f2671e fixed a bug that made topics invisible to users, also closes
Baris Usakli 1a19f0e1bc changed categories to hash
Baris Usakli 9c3046b89b more fixes
Baris Soner Usakli c1484afab7 more fixes
Baris Soner Usakli 5514768a3c fixed a crash
Baris Soner Usakli fabb55426c more work:
Baris Soner Usakli eba653a3d2 get teaser fix
Baris Usakli 9dbaf9fef9 more work
Baris Usakli 6a83bf79b4 fixed the issue with Topics.markAsRead
Baris Usakli d4e5d9cf2f removed console.log
Baris Usakli 0e5f280327 fixed categories read notification bug
Baris Soner Usakli d6761a293d removed console.log
Baris Soner Usakli 03e2dd3863 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 07f434be54 possible fix for topic sorting
Julian Lam 9098d61fe2 completed fb and g+ integration of buttons in category view
Julian Lam 2a946d52e0 fixed incorrect twitter link generation in category view
Baris Soner Usakli c1ba447aec fixed sorting for topics
Baris Soner Usakli 7d49294595 closes , used the sorted set and updated it when a new post is made to a topic
Julian Lam bc2d7b7d0f added twitter intent, regarding issue
Baris Usakli d3a190d74e username to userslug change
Baris Soner Usakli f49fc234c1 fixed recent replies order. closes
psychobunny 1fc596b74b fixed sidebar flashing in on empty category - got rid of javascript control and set the visibility properly from serverside
psychobunny 9029ed2663 limited recent replies to just 5
psychobunny f1f86b1d4f added category rss. added tid to be passed back in getTopicsByTids.
psychobunny 39b46eb125 prevent crash on getRecentReplies, and styled recent replies
psychobunny 8c2b6cda69 added timestamp to teaser, continuing work on recent replies block
psychobunny 448673b141 recent replies part 2
psychobunny 55c704c6f9 hide category blocks in recent tab
psychobunny a02a74604c moved CategoriesAdmin into its own file, hid popular/active, some jslinting + cleanup, renamed some fn calls to be more descriptive
psychobunny deaf8105cc renamed get category to get categories
psychobunny 43614a5197 fixed breaking issue on empty category
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 044206ad17 misc cleanup in categories
psychobunny cd4ca110a1 moved utils over to client side for code sharing
psychobunny a9672ab9d8 begin refactor of posts/topics + pagination + cleanup + async
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
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 9917f068f9 fixing up moderator listing
Julian Lam bdeb7b13f1 interim commit for moderator support
psychobunny 25e218442a updated category: tracking active participants + removed placeholder; recent author picture now pulled dynamically; graph/users/picture implemented
psychobunny fb83913670 redis wrapper removed. pretty safe to say that we didn't really need it in the first place.
psychobunny ae2be687b8 small refactor plus breadcrumbs for all ur pages
psychobunny c80d178a57 duhsign for category home page
psychobunny 97c1819dc4 forgot to commit category files