Commit Graph

38 Commits

Author SHA1 Message Date
Opliko
b9583ed838 Add privilege for accessing user information (#7859)
* Add view users info global privilege

* Show user ip only to global mods and admins

* fix missing comma

* Hide link for users without correct privilege

* move getting privilege information to getAllData

* Hide the link from Global Moderators as well

* Give Global Moderator view:users:info privilege

* Restrict ip in post menu to view:users:info

* add some trailing commas....

* Add privilege to categories test

* Add group privilege to categories test

* add upgrade script

* fix style for TravisCI

* more styling - change spaces to tabs

* some more styling fixes (hopefully final one)

* fix style for Travis CI

* hide ip in chat messages

* Don't show even hidden ips on user profile page
2019-09-17 14:02:52 -04:00
Baris Usakli
a3541d887b feat: async/await controllers/accounts 2019-08-12 14:49:40 -04:00
Barış Soner Uşaklı
9c022afae1 Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
7df57ba7a7 remove dupe code 2018-06-01 13:12:32 -04:00
Barış Soner Uşaklı
b0dad9bd7f closes #6369 2018-05-31 15:05:12 -04:00
Barış Soner Uşaklı
ac1f7eefe5 closes #2304 2018-01-31 15:20:17 -05:00
Barış Soner Uşaklı
ff6c6a54c1 make upload permissions global
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
2018-01-03 13:27:34 -05:00
Baris Usakli
4a73621dca chat privilege 2017-12-18 15:43:57 -05:00
Baris Usakli
27a6b8a713 lint fixes 2017-08-11 11:55:46 -04:00
Julian Lam
d9ad26c7c5 the meat of #5862, making chat loading not require an ajaxification 2017-08-10 17:00:43 -04:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
feb8405f95 ESlint eol-last 2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
52f2028206 ESlint no-multiple-empty-lines 2017-02-17 22:08:23 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
dada858565 add canReply to messages 2016-11-18 17:35:10 +03:00
barisusakli
553ee7dcdd more chat tests 2016-10-26 12:07:00 +03:00
barisusakli
bcdd7b12f0 closes #5149 2016-10-23 09:28:54 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
aca0a893e7 remove since properly 2016-10-03 22:18:47 +03:00
barisusakli
fe50c8d124 closes #5078 2016-10-03 20:35:36 +03:00
barisusakli
abd99760e5 closes #5070 2016-09-30 13:19:55 +03:00
barisusakli
9f2533b5ba closes #5054 2016-09-26 22:01:47 +03:00
barisusakli
d1989babf5 closes #5044 2016-09-22 20:00:39 +03:00
barisusakli
4be20799ec fix getRecentChats 2016-09-20 14:41:53 +03:00
barisusakli
202edfa47e chat history access 2016-09-20 14:26:26 +03:00
barisusakli
d7df6c0b06 remove more from config 2016-02-10 12:53:39 +02:00
barisusakli
478faac945 closes #3997 2015-12-24 09:52:25 +02:00
barisusakli
94d8671447 not needed 2015-12-23 13:15:45 +02:00
barisusakli
df605babff closes #3983 2015-12-23 12:28:19 +02:00
barisusakli
abed319da2 closes #3996 2015-12-23 11:27:34 +02:00
barisusakli
f0b333e8a1 closes #3929 2015-12-19 20:20:41 +02:00
barisusakli
d2b54ae0f8 display less derpy chat list 2015-12-17 11:47:32 +02:00
barisusakli
832a20e59e markRead fixes 2015-12-16 15:43:01 +02:00
barisusakli
784ff07907 ability to add/remove users from chat rooms, tagsinput 2015-12-16 13:35:24 +02:00
barisusakli
8fab270852 leaveRoom method, small fixes 2015-12-16 11:30:10 +02:00
barisusakli
5d1169e686 changed the chat route to /chats/:roomid? 2015-12-15 19:05:32 +02:00
barisusakli
b556652582 fix chat redirect 2015-10-15 13:00:32 -04:00
barisusakli
e5e41e85f2 accounts refactor #2
and various 404 fixes
2015-09-25 13:11:11 -04:00