psychobunny
9a5ed0bf27
forgot err, thanks @barisusakli
11 years ago
psychobunny
4cda8207e2
adding uid to filter:category.get
11 years ago
psychobunny
c88327d075
added filter:category.get
11 years ago
barisusakli
805e6934b9
derp this function should only return err
11 years ago
barisusakli
100328ef06
shorter markAsUnread
11 years ago
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.
11 years ago
barisusakli
586aeaf53f
added error checking to install.js for categories
11 years ago
barisusakli
7c84680b06
closes #1709
11 years ago
barisusakli
4fa79dc821
closes #1281
...
category purge, deletes all topics and posts in the category
11 years ago
barisusakli
364d55938c
if no categories found return empty array
11 years ago
barisusakli
48aba5fc64
category widget changes
11 years ago
barisusakli
dfa1150709
fix missing category data
11 years ago
barisusakli
cd08a16f77
return post count to with categories
11 years ago
barisusakli
b1aae05a08
closes #1518
11 years ago
psychobunny
a51b357e67
removed deprecated categories.background property
11 years ago
barisusakli
68fd997efd
closes #1419
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
barisusakli
0ac58dbee6
more error strings
11 years ago
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
11 years ago
barisusakli
a400e5de81
#1269
11 years ago
barisusakli
0741b162cb
#1265
11 years ago
barisusakli
db3632557e
moved notification push out of markAsRead
11 years ago
Julian Lam
7b4f596aba
updating all group lib methods, and their callers -- #1252
11 years ago
barisusakli
f83b7ee972
renamed event
11 years ago
barisusakli
8efc33d6a1
closes #976
11 years ago
barisusakli
d2bef79888
closes #1194
11 years ago
barisusakli
e0911c1fff
replaced exists check with getCategoryData
11 years ago
barisusakli
cc0ac29b36
categories refactor
11 years ago
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.
11 years ago
Julian Lam
9bf1d345e2
adding relative path to a category image for subfolder installs
11 years ago
Julian Lam
bf8f91f0d9
'less bad' handling of background image in home.tpl
11 years ago
barisusakli
76037a5f14
closes #1191
...
added a new method called isSetMembers takes in an array of values to
test if they are members of a set
11 years ago
barisusakli
71f84655ca
minor cleanup
11 years ago
barisusakli
16d2e65ea0
optimized getCategories
11 years ago
Baris Soner Usakli
42a7c037e6
removed dupe i var
11 years ago
Baris Soner Usakli
87f337f2fb
cleanup
11 years ago
Baris Soner Usakli
091723a8c5
closes #1101
11 years ago
Baris Soner Usakli
99bf882a1c
removed cid from getTopicsByTids
11 years ago
Baris Soner Usakli
ad37715972
empty array if not topics in catgory
11 years ago
Baris Soner Usakli
56bbeb9950
use disableSocialButtons from config
11 years ago
Baris Soner Usakli
7f2d70d7f6
minor cleanups
11 years ago
Baris Soner Usakli
ea6cf3bbd5
more cleanup and changes to topics
11 years ago
Baris Soner Usakli
8da7a6f2f3
cleanup
11 years ago
Baris Soner Usakli
6e5a6b8784
upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting
11 years ago
Baris Soner Usakli
de34beaf6d
closes #1087
11 years ago
Baris Soner Usakli
eb3b240b04
some cleanup of unread
11 years ago
psychobunny
835b4d61a2
removed active_users + moderator sidebar code from core in favour of widget system
11 years ago
psychobunny
1827c8390b
filter:category.build_sidebars (custom sidebars in category view) is now deprecated
11 years ago
Baris Soner Usakli
495fded6dd
closes #1038
11 years ago
Baris Soner Usakli
6140d76f76
fixed index of newly created posts, matched vanilla search form to lavender
11 years ago
Baris Soner Usakli
791a50a01b
closes #1028
11 years ago
Baris Soner Usakli
53af836bdb
24 users
11 years ago
Baris Soner Usakli
7f4a1cd685
display 4 rows of active users
11 years ago
Baris Soner Usakli
a274a8cc12
more unread changes
11 years ago
Baris Soner Usakli
242927d702
user selectable pagination
11 years ago
Baris Soner Usakli
d5938e4024
removed BS class, not needed
11 years ago
Baris Soner Usakli
0c4f0dff6f
closes #962
11 years ago
Julian Lam
69f90c0766
Merge branch 'master' of github.com:designcreateplay/NodeBB
11 years ago
Julian Lam
f8ea87b003
issue #961 - 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
11 years ago
Baris Soner Usakli
d6780652ad
closes #960
11 years ago
Baris Soner Usakli
8efea65e87
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
11 years ago
Baris Soner Usakli
72c35db6fd
cleanup in move rencet replies'
11 years ago
Julian Lam
e176abae50
started #961 , first pass
11 years ago
Julian Lam
f949af70ad
fixed #949
11 years ago
Julian Lam
6514504ddd
fixed #889
11 years ago
Baris Soner Usakli
25442a89ca
closes #878
11 years ago
Baris Soner Usakli
1afd7ae332
trim pagination numberS
11 years ago
Baris Soner Usakli
1084523c92
lots of pagination work, query params, ajaxify to pids
11 years ago
Baris Soner Usakli
8744013013
Merge branch 'master' of https://github.com/designcreateplay/NodeBB into pagination
11 years ago
Baris Soner Usakli
d718eca935
fixes global meta leak, and categories meta require, #873
11 years ago
Baris Soner Usakli
ef6fd35e85
lots of cleanup, moved pagination to requirejs module
11 years ago
Baris Soner Usakli
824c5072e8
topics should be marked read correctly if you are already in it
11 years ago
Baris Soner Usakli
baa74958c5
can set image class for categories
11 years ago
Baris Soner Usakli
c0712583f2
fixed category sockets
11 years ago
Baris Soner Usakli
ae76bb3928
lots of err first fixeS
11 years ago
psychobunny
98d42b0ade
moving social sharing parsing code from server side to client side & cleaned up templates
11 years ago
Baris Soner Usakli
75850bd315
closes #772
11 years ago
Julian Lam
bc407ee59c
fixing topic moving
11 years ago
Julian Lam
119079ace5
added missing link, numRecentReplies, and class values to category.create... fixed #754 , fixed #751
11 years ago
Julian Lam
ac04e04016
fixed #719
11 years ago
Baris Soner Usakli
a4ae9c70df
closes #742 , closes #741
11 years ago
Baris Soner Usakli
48074ea93b
redirect if category is accessed directly
11 years ago
Baris Soner Usakli
8626122679
category active users are stored in a sorted set now
11 years ago
psychobunny
1d69436b44
fix to getRecentReplies causing count = 0 to return unlimited
11 years ago
Baris Soner Usakli
8bfb338eee
#712
11 years ago
Baris Soner Usakli
daacdb50f3
closes #645
11 years ago
Baris Usakli
55d008d71f
added err to callbacks
11 years ago
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
11 years ago
psychobunny
e316dd3330
fixed a bug in create category
11 years ago
psychobunny
a34ed92fac
console.log
11 years ago
psychobunny
e76936abfc
added ability to upload category images. closes #638 , closes #532
11 years ago
Baris Soner Usakli
76636b64db
small fixes
11 years ago
Baris Soner Usakli
b547d3577b
removed a multi from categories.js
11 years ago
Baris Soner Usakli
32d5118266
tons more changes
11 years ago
Julian Lam
0a06f1ac7d
Merge remote-tracking branch 'origin/master' into category-whitelisting
11 years ago
Baris Soner Usakli
2148f6ff95
closes #559
11 years ago
Julian Lam
5ee5c8179a
category whitelist for replying to posts, lots of refactoring, too
11 years ago
Baris Soner Usakli
32b191fa62
removed global.io
11 years ago
Julian Lam
34459e7cf1
fixing category admin panel integration
11 years ago
Baris Usakli
541993c80a
fontawesome 4 migration, closes #473
11 years ago