Julian Lam
cbb0542984
changed behaviour of privilege table so that groups without explicit privileges are not shown in the privilege table
2015-05-26 12:37:44 -04:00
barisusakli
3ffd3a5d3c
closes #2970 , closes #3078
2015-04-21 16:26:29 -04:00
barisusakli
b7b44e13b1
added privileges.topics.filterUids
...
if a topic is deleted and user doesn't have permissions/admin/mod dont
send notifs
2015-04-18 16:34:32 -04:00
barisusakli
1b2da78fd8
missing lines
2015-04-11 16:50:55 -04:00
barisusakli
1ce3d7284b
closes #2995
2015-04-11 16:48:09 -04:00
barisusakli
9e3b2148ba
components
2015-04-02 22:06:22 -04:00
barisusakli
b2087f94e2
closes #2904
2015-03-30 13:31:08 -04:00
Julian Lam
c706638b5d
updating groups access control so:
...
1. Guests can no longer receive the moderate bit
2. If you attempt to grant the moderate privilege to a public group, a confirmation modal appears
3. A lock icon is present next to all private groups
2015-03-28 11:23:51 -04:00
Julian Lam
89442c91c6
fixed bug where privilege state was not correctly calculated for MongoDB installs, and fixed columnCount not being present when a the privilege list is refreshed
2015-03-28 10:19:43 -04:00
barisusakli
ed8d60b76b
move registered-users/guests to top remove admins from priv settings
2015-03-26 18:33:05 -04:00
Julian Lam
1a58ea6520
closed #2695
2015-03-25 20:04:45 -04:00
Julian Lam
7cdfe143ab
fixed bug where cid was hardcoded, and switched format back to storing group names, not slugs, #2887
2015-03-25 17:41:54 -04:00
Julian Lam
d3af278123
removed old code that was no longer necessary, updated privilege table to show all groups (similar to previous behaviour), fixes #2887
2015-03-25 16:09:38 -04:00
Julian Lam
9b84a887d3
a huge frickin' number of changes for #2887 . This is part of #2463
2015-03-25 15:43:57 -04:00
Barış Soner Uşaklı
203d4d052a
fixed my logic fail
2015-03-24 13:21:54 -04:00
Barış Soner Uşaklı
fc28cbf887
filter cids with a single .filter thanks @julianlam
2015-03-24 10:59:21 -04:00
Julian Lam
06d547a6cb
fixed bug in privilege settings where categories near the end of a list were not having their permissions read properly if earlier categories were disabled, #2887
2015-03-24 10:52:36 -04:00
Barış Soner Uşaklı
73505e9bd0
closes #2247
2015-02-25 15:37:33 -05:00
Barış Soner Uşaklı
094cd6df32
closes #2777
2015-02-25 14:17:38 -05:00
Barış Soner Uşaklı
c94c1430b7
api/post/pid route
2015-02-24 13:02:58 -05:00
Julian Lam
8ba05c08fe
category privilege rescinding
2015-01-16 17:03:19 -05:00
barisusakli
b07a522c60
one less query in privileges.topics.get
2014-12-20 18:34:02 -05:00
barisusakli
8e114c2093
moved isAdminOrMod check out of getTopicsByTids
2014-11-16 16:15:49 -05:00
barisusakli
52c12fa1b1
use wrapper functions getPostsFields and getTopicsFields
2014-11-14 20:19:14 -05:00
barisusakli
5c7487c13b
err check
2014-11-14 19:38:51 -05:00
Julian Lam
b65d518a97
properly handling error for hook filter:privileges.posts.filter
2014-11-14 17:53:20 -05:00
Julian Lam
20ea40133b
added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter
2014-11-14 17:31:44 -05:00
Julian Lam
c0fc7e9ca4
updating privilege handling to fire two new hooks, filter:privileges.topics.get and filter:category.topics.get
2014-11-12 14:33:25 -05:00
barisusakli
15e472db12
on category creation give defaults privs to admins and registered users
2014-11-11 22:58:34 -05:00
barisusakli
fa5ac04cd3
src/topics.js cleanup
2014-11-11 19:47:56 -05:00
barisusakli
604dac88e3
closes #2382 , closes #2130
2014-11-11 17:25:16 -05:00
barisusakli
c18de5cdd2
posts/recent.js refactor
2014-11-09 01:30:27 -05:00
barisusakli
420aa5e102
fix moderators
2014-11-09 00:33:26 -05:00
barisusakli
4440260f8f
closes #2275
2014-11-06 17:06:58 -05:00
barisusakli
70657251b9
no need for return
2014-11-04 23:30:11 -05:00
Julian Lam
44175188c4
handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
2014-11-04 23:19:28 -05:00
barisusakli
06f66337fb
anon checks
...
less db calls for uid 0
2014-11-04 19:06:01 -05:00
barisusakli
37d7756271
hasEnoughRep can take an array
...
user follow uid checks
2014-11-04 18:44:08 -05:00
barisusakli
9a21e9646f
only use multipart on upload routes,
...
delete temp files if there is an error in admin,
admin/mods should see topic reply
2014-10-22 18:26:01 -04:00
barisusakli
fd00dddd62
admin/mods always gets the reply privs
2014-10-22 16:12:29 -04:00
barisusakli
ec9bf48477
admins/mods can always read topics
2014-10-21 18:09:32 -04:00
barisusakli
7de9b998b5
fix typo in ajaxify, closes #2279
2014-10-19 17:11:05 -04:00
barisusakli
eab180f305
crash fix
2014-10-02 19:03:03 -04:00
barisusakli
7d93926ef7
removed async.map
2014-09-20 23:04:49 -04:00
barisusakli
4e6719e0aa
added filterUids method to privileges
...
used to filter uids on a single category
2014-09-14 12:07:24 -04:00
barisusakli
57e204df8e
removed most of the debug
...
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
2014-09-06 20:46:18 -04:00
barisusakli
0cfa430444
crash fix
2014-09-06 02:46:43 -04:00
barisusakli
7405051924
50
2014-09-06 02:41:04 -04:00
barisusakli
5fd199ae8a
check privs pids
2014-09-06 02:39:54 -04:00
barisusakli
528ee335d5
optimize getTopicsByTids and getTeasers
2014-08-06 21:30:11 -04:00