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