Commit Graph

68 Commits

Author SHA1 Message Date
Julian Lam
ef52461fb6 fix: remove dead picture upload code #8260 2020-04-17 10:08:18 -04:00
psychobunny
15d6975e96 fix: ignore case for group details route 2020-04-02 12:45:01 -04:00
Barış Soner Uşaklı
f23bc347b1 fix: #8156 dont allow loading members from hidden groups 2020-02-10 13:20:10 -05:00
Barış Soner Uşaklı
96ab8d05aa fix: only allow png/jpg/bmp in cover/profile images 2019-09-21 23:10:49 -04:00
Barış Soner Uşaklı
f15c7f12b3 refactor: async/await 2019-08-19 23:17:43 -04:00
Baris Usakli
0722cc4715 refactor: globalmods/groups 2019-08-19 17:18:33 -04:00
Julian Lam
71b205a889 refactor: async/await for src/socket.io/groups.js 2019-08-14 14:25:00 -04:00
Barış Soner Uşaklı
9d1fcf4e36 fix: closes #7217 2019-02-04 14:16:47 -05: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ı
41aae6f418 closes #6749 2018-09-11 11:11:41 -04:00
LudwikJaniuk
c7f3b76b4e DRY req props that depend on auth (fix #6727) (#6731)
* DRY req props that depend on auth (fix #6727)

authentication leads to req.loggedIn and req.uid being set. However, a
later authentication event might outdate them. Here, I create one
function for setting those properties, and make sure it also is called
on the `action:middleware.authenticate` hook, which would be such an
authentication event. If there are other places, those should be added
as well.

* fix lint errors

* fix lint error

* change exports
2018-09-04 09:43:33 -04:00
Baris Usakli
de55c8e431 closes #4070 2017-08-02 13:03:39 -04:00
barisusakli
0e7740af32 fix tests for subfolder installs 2017-02-25 16:04:04 +03:00
Julian Lam
e71bd7a27f Merge branch 'master' into styleguide 2017-02-24 11:45:04 -05:00
barisusakli
3a87f2566a more group tests 2017-02-24 15:05:00 +03:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
277a7fb8b4 ESlint key-spacing, no-trailing-spaces 2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
4b6e4f085d more tests
group cover upload tests
registration approval queue tests
2016-12-02 14:05:59 +03:00
barisusakli
687cce6089 closes #5159 2016-10-27 13:00:22 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
d621b120b0 fix groups 2016-09-14 21:24:14 +03:00
barisusakli
aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
2016-09-14 14:33:39 +03:00
barisusakli
de0f4a959a fix group page permissions for global mods 2016-09-02 19:20:53 +03:00
barisusakli
07fe5057e1 make sure validator.escape() receives strings only 2016-08-27 15:45:15 +03:00
barisusakli
d227d526d1 closes #4341 2016-06-20 12:45:52 +03:00
barisusakli
25f3a31ff1 closes #4587 2016-04-30 10:47:28 +03:00
psychobunny
a68811cad2 closes #4428 2016-03-21 13:49:37 -04:00
pichalite
e878b32444 closes #4258 2016-03-10 21:24:15 +00:00
barisusakli
3ea453e8a0 closes #4006 2016-01-11 10:27:39 +02:00
psychobunny
ef20141e8f jshint 2015-10-28 16:17:27 -04:00
psychobunny
61b1f5fe32 allow regular uploading (modal) of cover photo 2015-10-28 15:22:54 -04:00
barisusakli
1e44cab79e filter:group.build 2015-09-20 17:53:59 -04:00
barisusakli
240a619a72 pretty group breadcrumbs 2015-09-12 00:13:25 -04:00
barisusakli
cb9b51e8a5 closes #3475 2015-09-11 23:57:46 -04:00
barisusakli
25502f0687 closes #3508 2015-08-28 14:31:41 -04:00
barisusakli
eaefd9d24c remove meta/title.js and meta.title.build #3481 2015-08-26 15:55:00 -04:00
Barış Soner Uşaklı
503d83998b fix indent 2015-07-07 11:39:56 -04:00
barisusakli
f08554e788 closes #2701 2015-07-06 17:39:46 -04:00
barisusakli
491d376fb4 closes #2605 2015-07-03 16:42:55 -04:00
barisusakli
718f61e3bd closes #3263 2015-06-24 17:15:58 -04:00
Barış Soner Uşaklı
4e06b7790f removed unused require 2015-06-02 16:23:48 -04:00
Barış Soner Uşaklı
4420e7a9fc closes #3188, closes #3170 2015-06-02 16:20:28 -04:00
Barış Soner Uşaklı
8eab5ac402 groups.get changes 2015-05-28 14:51:01 -04:00
Barış Soner Uşaklı
0b93738537 dont display hidden/system groups on /groups 2015-05-26 16:09:01 -04:00
Barış Soner Uşaklı
8117b4459a groups.list added start stop 2015-05-26 15:37:33 -04:00
barisusakli
2fd4bcde3f added req.uid user id for logged in users, 0 for guests 2015-04-01 00:23:57 -04:00
barisusakli
ddd4680ea7 added helpers.redirect 2015-03-09 18:22:44 -04:00
Julian Lam
03e39f7b9b isInvited mechanic for #2758 2015-02-23 16:31:23 -05:00