Commit Graph

265 Commits (7fa4057051d974eb8a147380d022e1416456e1e4)

Author SHA1 Message Date
barisusakli 01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
barisusakli ba32a4dc4f crash fix
barisusakli 619ca103c7 crash fix
barisusakli 197226eea6 closes
barisusakli 95c839579e closes
Julian Lam 69b9e57daf completing subcategory integration in backend, closed
Julian Lam b7c7dd98c3 ACP setting and API return for subcats
barisusakli d852f284da closes
psychobunny 90513be321 send callback directly
except this time I'm fixing my own derps instead of @barisusakli
barisusakli 528ee335d5 optimize getTopicsByTids and getTeasers
psychobunny 9a5ed0bf27 forgot err, thanks @barisusakli
psychobunny 4cda8207e2 adding uid to filter:category.get
psychobunny c88327d075 added filter:category.get
barisusakli 805e6934b9 derp this function should only return err
barisusakli 100328ef06 shorter markAsUnread
barisusakli fed8cc6d53 optimize privileges and assorted fixes.
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter

they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing  async.filter and calling the db for each id.

* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
barisusakli 586aeaf53f added error checking to install.js for categories
barisusakli 7c84680b06 closes
barisusakli 4fa79dc821 closes
category purge, deletes all topics and posts in the category
barisusakli 364d55938c if no categories found return empty array
barisusakli 48aba5fc64 category widget changes
barisusakli dfa1150709 fix missing category data
barisusakli cd08a16f77 return post count to with categories
barisusakli b1aae05a08 closes
psychobunny a51b357e67 removed deprecated categories.background property
barisusakli 68fd997efd closes
Micheil Smith 3e82cab398 Add missing new lines at end of files.
barisusakli 0ac58dbee6 more error strings
barisusakli 10f56faf9d admin cleanup
removed unnecessary admin checks in src/admin/user then realized they
are just one liners so moved them to src/socket.io.admin.js moved
categories update to categories folder
barisusakli a400e5de81
barisusakli 0741b162cb
barisusakli db3632557e moved notification push out of markAsRead
Julian Lam 7b4f596aba updating all group lib methods, and their callers --
barisusakli f83b7ee972 renamed event
barisusakli 8efc33d6a1 closes
barisusakli d2bef79888 closes
barisusakli e0911c1fff replaced exists check with getCategoryData
barisusakli cc0ac29b36 categories refactor
barisusakli 90e398e5c9 user js refactor, category fix
if a category that didn't exist was request with category/1231 or
api/category/1231 it was crashing.
Julian Lam 9bf1d345e2 adding relative path to a category image for subfolder installs
Julian Lam bf8f91f0d9 'less bad' handling of background image in home.tpl
barisusakli 76037a5f14 closes
added a new method called isSetMembers takes in an array of values to
test if they are members of a set
barisusakli 71f84655ca minor cleanup
barisusakli 16d2e65ea0 optimized getCategories
Baris Soner Usakli 42a7c037e6 removed dupe i var
Baris Soner Usakli 87f337f2fb cleanup
Baris Soner Usakli 091723a8c5 closes
Baris Soner Usakli 99bf882a1c removed cid from getTopicsByTids
Baris Soner Usakli ad37715972 empty array if not topics in catgory
Baris Soner Usakli 56bbeb9950 use disableSocialButtons from config
Baris Soner Usakli 7f2d70d7f6 minor cleanups
Baris Soner Usakli ea6cf3bbd5 more cleanup and changes to topics
Baris Soner Usakli 8da7a6f2f3 cleanup
Baris Soner Usakli 6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting
Baris Soner Usakli de34beaf6d closes
Baris Soner Usakli eb3b240b04 some cleanup of unread
psychobunny 835b4d61a2 removed active_users + moderator sidebar code from core in favour of widget system
psychobunny 1827c8390b filter:category.build_sidebars (custom sidebars in category view) is now deprecated
Baris Soner Usakli 495fded6dd closes
Baris Soner Usakli 6140d76f76 fixed index of newly created posts, matched vanilla search form to lavender
Baris Soner Usakli 791a50a01b closes
Baris Soner Usakli 53af836bdb 24 users
Baris Soner Usakli 7f4a1cd685 display 4 rows of active users
Baris Soner Usakli a274a8cc12 more unread changes
Baris Soner Usakli 242927d702 user selectable pagination
Baris Soner Usakli d5938e4024 removed BS class, not needed
Baris Soner Usakli 0c4f0dff6f closes
Julian Lam 69f90c0766 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam f8ea87b003 issue - fixed bug where if a moderators group was not found, it would cause the active users box to derp out. Also renamed the moderators priv group name
Baris Soner Usakli d6780652ad closes
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