Benjamin Goering
b0036ef778
Remove findById in error conditions of CommentsService@addTag,removeTag
2017-03-01 14:09:03 +08:00
Benjamin Goering
4b2cc72e1a
Remove unnecessary defensive code in CommentsService
2017-03-01 14:01:12 +08:00
Benjamin Goering
388c3182ea
Change add,removeTag in CommentsService to use simpler query then elemMatch
2017-03-01 13:08:36 +08:00
Benjamin Goering
d6167e10ba
Revert ALLOWED_TAGS declaration to be arr of objects, not strings
2017-02-28 23:57:35 +08:00
Benjamin Goering
4ff6bce8ec
Add ComentsService#removeTag
2017-02-28 19:59:33 +08:00
Benjamin Goering
6e338290a1
addCommentTag mutation works
2017-02-28 19:59:32 +08:00
Wyatt Johnson
a00befafcb
Initial graph tests
2017-02-17 15:48:46 -07:00
Wyatt Johnson
fa152bda3f
Added count clearning for status changes
2017-02-15 17:48:40 -07:00
Wyatt Johnson
57d4f9d757
Changed new comment's status from null to NONE.
2017-02-15 13:21:15 -07:00
Belen Curcio
e2ebac7176
adds new mutations: setCommentStatus
2017-02-13 14:32:48 -03:00
Wyatt Johnson
c637be364a
Moved tag creation into mutator
2017-02-10 12:00:50 -07:00
gaba
f2341ca9d3
Adds tag label plugin.
2017-02-09 09:17:56 -08:00
gaba
075e62581e
Tags should be an array
2017-02-08 09:03:21 -08:00
gaba
fc880de9bf
Backend for the tags staff on staff users.
2017-02-07 16:31:39 -08:00
Wyatt Johnson
a7e9c0c776
Const, service, and model updates
...
- Updated enum values to be uppercase
- Updated services to expose service models
- Updated models to only export the mongoose model
- Moved all mongoose static methods over to new services
- Updated tests to refelct new setup
BREAKING
- Status that were uppercased (caps) have caused issues with the
admin pages
2017-01-24 12:10:32 -07:00