79 Commits (aca50f1fe1792dcf428136327f4137a60f3c76d7)

Author SHA1 Message Date
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
6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Barış Soner Uşaklı 6659a520e0 closes #6465 7 years ago
Baris Usakli bf770636c5 closes #6377 7 years ago
Barış Soner Uşaklı 723f31a362 closes #6323 7 years ago
Barış Soner Uşaklı 7b6282f530 closes #6308 7 years ago
Barış Soner Uşaklı b84e132601 remove unused settings 7 years ago
Peter Jaszkowiak 74ceb78800 Upvote notification frequency selection (#6087)
Closes #5963

- Notify on every upvote
- Notify on every tenth upvote
- Notify logarithmically (on 10, 100, 1000...)
- Disable upvote notifications
7 years ago
Barış Soner Uşaklı dd176dd5f2
Notification delivery (#6072)
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
7 years ago
Barış Soner Uşaklı 6c755869cd
add back missing onSettingsLoaded 7 years ago
Barış Soner Uşaklı e7318a1cea Mongo cache (#6002)
* cache mongodb objects

remove user settings cache since it is cached at the object level

* removed indexOf from isMemberOfSets

* change has to get, change maxAge to 0
7 years ago
Baris Usakli 68bcfb2883 closes #5975 7 years ago
Baris Usakli 500c978a26 closes #5944 7 years ago
Baris Usakli 6cd0582b42 add filter:user.saveSettings 8 years ago
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash 8 years ago
Barış Soner Uşaklı fa5026c92e clear settings cache on all nodes on save 8 years ago
Barış Soner Uşaklı db532fbb0d fix user settings cache 8 years ago
Barış Soner Uşaklı 9ebbd65544 up user settings cache size 8 years ago
Barış Soner Uşaklı e7d076a084 closes #5634 8 years ago
barisusakli e85e35cf0c closes #5497 8 years ago
Peter Jaszkowiak c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli 69b766bbc8 more tests 8 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
barisusakli 4b3b123cd0 closes #5042 9 years ago
barisusakli 6d34bb4657 closes #2166 9 years ago
barisusakli b9ad7f2dbb remove unused group code from settings 9 years ago
barisusakli a53f7f65db change homePageRoute logic 9 years ago
barisusakli c042d16f40 dont set homePageRoute to `custom` if field is empty 9 years ago
Barış Soner Uşaklı 27ad34138b fix crash 9 years ago
barisusakli 94432ff796 closes #4582
remove leading /
9 years ago
barisusakli 6cc08f3868 fix indent 9 years ago
barisusakli e564260650 moved groupTitle from user settings to user profile/edit 9 years ago
Julian Lam a9f966f23c closes #4503, /cc @BenLubar 9 years ago
barisusakli 76fcc9ec35 this is fine 9 years ago
boomzillawtf 6aa0f8eb8a fix #4452: default to scroll to my post 9 years ago
boomzillawtf ceb3b6ebe7 Add setting to avoid showing a post after it is submitted to keep the user's place on the page to address issue #4363 9 years ago
barisusakli ac09036156 closes #4053 9 years ago
barisusakli 4608b8f07b closes #4183 9 years ago
barisusakli 04aea9ec22 closes #4094, also add missing next to notifyFollowers 9 years ago
yariplus 853aa37cd2 Add user home pages. #3616 9 years ago
psychobunny e90ee46cd1 closes #3603 10 years ago
barisusakli a4d7022e68 closes #2958 10 years ago
psychobunny 0150e0e063 closes #3069 10 years ago