Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -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ı
dff86b1ac9
closes #6740
...
* flag notifications will go to the flag details page instead of the post or user that was flag
* if you assign a flag to yourself you won't get a notification about it
@benlubar
2018-09-18 17:28:24 -04:00
Julian Lam
2ce6a85756
properly closes #6698
2018-08-13 14:17:51 -04:00
Julian Lam
ed9dc113b0
sanitizing notes in flags details page, fixes #6698
2018-08-10 15:01:49 -04:00
Barış Soner Uşaklı
b7f5995aab
closes #6550
2018-06-03 14:54:25 -04:00
Julian Lam
7ba2ac9f69
Merge remote-tracking branch 'origin/master' into develop
2018-04-11 16:30:03 -04:00
Barış Soner Uşaklı
bb13c4948d
closes #6448
2018-04-11 13:18:52 -04:00
Barış Soner Uşaklı
0070f5c1b2
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2018-04-05 12:34:38 -04:00
Julian Lam
e8d4fe3209
Revert "closes #6380 "
...
Turns out the issue was a malformed flag object, and not anything
code-wise
This reverts commit 956c5a2a32 .
2018-03-22 09:58:09 -04:00
Julian Lam
956c5a2a32
closes #6380
2018-03-22 09:14:37 -04:00
Baris Usakli
29b7c67946
use utils.toISOString
2018-03-15 12:43:11 -04:00
Baris Usakli
a48144e632
dont crash if description is numeric
2018-03-15 12:40:43 -04:00
Julian Lam
a126f07471
closes #6043
2018-03-09 12:57:52 -05:00
Barış Soner Uşaklı
2983fc3e5e
get group names first
2018-02-07 20:02:07 -05:00
Barış Soner Uşaklı
bb9528b82e
closes #6314
2018-02-07 18:29:56 -05:00
Barış Soner Uşaklı
7f67528280
change parallel to series in flag creation
2018-01-18 12:48:42 -05:00
Barış Soner Uşaklı
72140e5338
closes #5991 , closes #5884
2018-01-12 17:29:47 -05:00
Baris Usakli
a19537dc25
closes #6137
2017-11-29 14:04:45 -05:00
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
2017-11-15 21:35:10 -05:00
Barış Soner Uşaklı
67bc58f04c
wait for state to be updated
2017-11-12 08:45:08 -05:00
Peter Jaszkowiak
e609e497b3
Provide more error information to logs
...
Provides full stack instead of just message
2017-11-01 18:59:48 -06:00
Peter Jaszkowiak
46fafb20b9
Remove string.js dependency
2017-10-13 21:02:41 -06:00
Julian Lam
b44cfacda1
resolve XSS vulnerability in flags pages
2017-10-13 11:54:16 -04:00
Peter Jaszkowiak
da9da8190f
Bump dependencies
...
Bumping eslint & configs meant making some linting fixes
For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
2017-10-02 09:24:27 -04:00
Julian Lam
932b3f06a5
closes #5797
2017-07-04 10:09:41 -04:00
Julian Lam
f4fb9ee04b
adding filter hooks for flag list and retrieval
2017-06-16 10:58:21 -04:00
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
2017-05-27 14:51:45 -06:00
Barış Soner Uşaklı
8e31ec7199
closes #5705
2017-05-26 23:30:23 -04:00
Barış Soner Uşaklı
3d1b1a9423
closes #5706
2017-05-26 23:21:46 -04:00
Barış Soner Uşaklı
8920523e06
more tests
2017-05-13 21:45:54 -04:00
Julian Lam
71137dbf43
pass reputation to flag reporter payload as well
2017-05-10 11:21:30 -04:00
Barış Soner Uşaklı
5a9b7b673a
closes #5659
2017-05-09 14:16:21 -04:00
Barış Soner Uşaklı
5c005bbbdf
use bind
2017-04-05 15:18:27 -04:00
Barış Soner Uşaklı
1b6d96dde7
on post flag increment zset
2017-04-05 14:59:50 -04:00
Julian Lam
f2653cd380
broader error handling for empty notif creation return
2017-03-23 14:35:29 -04:00
Julian Lam
c805d55b85
creating notification for flag assignment
2017-03-17 13:16:16 -04:00
barisusakli
5a2ff8ed0a
closes #5527
2017-03-14 23:03:09 +03:00
Julian Lam
6e7b505ea7
more linting
2017-02-24 12:55:31 -05:00
Julian Lam
ddea9f534e
running eslint again
2017-02-24 12:47:46 -05:00
Julian Lam
10f270d016
adding byPid zset for flags
2017-01-12 11:31:59 -05:00
Julian Lam
bef3da5b48
pass flagId into flag.update hook
2017-01-12 10:09:47 -05:00
Julian Lam
6c04e393b5
fire hooks for flag update
2017-01-12 10:03:50 -05:00
Julian Lam
541f51e947
restrict flags interface so that moderators only see flags from cids they can actually moderate
2017-01-03 13:38:06 -05:00
Julian Lam
283ae564f2
removing incorrect parseInt
2016-12-19 12:52:47 -05:00
Julian Lam
babafde726
once more for good measure!
2016-12-19 12:40:33 -05:00
Julian Lam
2ea63f3d42
how much fun is it to fix tests when stack traces don't work? lots. :shipit:
2016-12-19 12:13:36 -05:00
Julian Lam
ad633aad45
additional tests and proper handling for purged flag targets, #5232
2016-12-19 11:16:03 -05:00
Julian Lam
0927d54c98
ability to filter flags by cid, #5232 , more tests
2016-12-14 15:53:57 -05:00
Julian Lam
ebffc44600
fix tests, #5232
2016-12-14 15:00:41 -05:00