70 Commits (81984285bb3af73fd41c64f4816587ec28f0a528)

Author SHA1 Message Date
Barış Soner Uşaklı 8d060065a0 fix: spec 5 years ago
Barış Soner Uşaklı e9585b9be2 fix: group userTitles translation escapes 5 years ago
Julian Lam ef52461fb6 fix: remove dead picture upload code #8260 5 years ago
psychobunny 15d6975e96 fix: ignore case for group details route 5 years ago
Barış Soner Uşaklı f23bc347b1 fix: #8156 dont allow loading members from hidden groups 5 years ago
Barış Soner Uşaklı 96ab8d05aa fix: only allow png/jpg/bmp in cover/profile images 6 years ago
Barış Soner Uşaklı f15c7f12b3 refactor: async/await 6 years ago
Baris Usakli 0722cc4715 refactor: globalmods/groups 6 years ago
Julian Lam 71b205a889 refactor: async/await for src/socket.io/groups.js 6 years ago
Barış Soner Uşaklı 9d1fcf4e36 fix: closes #7217 6 years ago
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
7 years ago
Barış Soner Uşaklı 41aae6f418 closes #6749 7 years ago
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
7 years ago
Baris Usakli de55c8e431 closes #4070 8 years ago
barisusakli 0e7740af32 fix tests for subfolder installs 8 years ago
Julian Lam e71bd7a27f Merge branch 'master' into styleguide 8 years ago
barisusakli 3a87f2566a more group tests 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli 4b6e4f085d more tests
group cover upload tests
registration approval queue tests
9 years ago
barisusakli 687cce6089 closes #5159 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
barisusakli d621b120b0 fix groups 9 years ago
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
9 years ago
barisusakli de0f4a959a fix group page permissions for global mods 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 9 years ago
barisusakli d227d526d1 closes #4341 9 years ago
barisusakli 25f3a31ff1 closes #4587 9 years ago
psychobunny a68811cad2 closes #4428 9 years ago
pichalite e878b32444 closes #4258 9 years ago
barisusakli 3ea453e8a0 closes #4006 9 years ago
psychobunny ef20141e8f jshint 10 years ago
psychobunny 61b1f5fe32 allow regular uploading (modal) of cover photo 10 years ago
barisusakli 1e44cab79e filter:group.build 10 years ago
barisusakli 240a619a72 pretty group breadcrumbs 10 years ago
barisusakli cb9b51e8a5 closes #3475 10 years ago
barisusakli 25502f0687 closes #3508 10 years ago
barisusakli eaefd9d24c remove meta/title.js and meta.title.build #3481 10 years ago
Barış Soner Uşaklı 503d83998b fix indent 10 years ago
barisusakli f08554e788 closes #2701 10 years ago
barisusakli 491d376fb4 closes #2605 10 years ago
barisusakli 718f61e3bd closes #3263 10 years ago
Barış Soner Uşaklı 4e06b7790f removed unused require 10 years ago
Barış Soner Uşaklı 4420e7a9fc closes #3188, closes #3170 10 years ago
Barış Soner Uşaklı 8eab5ac402 groups.get changes 10 years ago
Barış Soner Uşaklı 0b93738537 dont display hidden/system groups on /groups 10 years ago
Barış Soner Uşaklı 8117b4459a groups.list added start stop 10 years ago
barisusakli 2fd4bcde3f added req.uid user id for logged in users, 0 for guests 10 years ago