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
Riley Davis
44a06aef46
do not render tab content unless they're active
2017-01-13 14:33:01 -07:00
Riley Davis
0eefd3364b
update tests
2017-01-12 15:25:36 -07:00
Riley Davis
f1272338cd
re-use dispatch function
2017-01-12 13:30:53 -07:00
Riley Davis
3285a5ec29
add status to Comment. /comments/pending and /comments/rejected ONLY return the respective comments
2017-01-12 12:16:13 -07:00
Wyatt Johnson
4eb7c72ae2
Merge branch 'master' into email-confirm
2017-01-05 18:45:06 -07:00
gaba
7b9dbb5afd
Review changes.
2017-01-04 12:24:01 -03:00
gaba
8e5e75ed6f
It works for user signin/signup and posting comments.
2016-12-23 14:57:39 -08:00
gaba
6892ef85f8
Sending the CSRF to the POST request.
2016-12-23 13:56:42 -08:00
gaba
8e6aa23d32
More CSRF in front-end.
2016-12-23 13:07:16 -08:00
gaba
ec3e9d1cd4
Merge branch 'master' into csrf
2016-12-22 14:23:01 -08:00
gaba
54d0096dd1
More CSRF in forms.
2016-12-22 14:17:09 -08:00
Riley Davis
a9a9ebdfd9
normalize constant names
2016-12-22 13:53:42 -07:00
Riley Davis
9d1d109ec0
Merge branch 'master'
...
Conflicts:
client/coral-admin/src/reducers/index.js
2016-12-22 12:28:55 -07:00
Riley Davis
b8b47e9c2c
normalize constant names
2016-12-21 16:56:29 -07:00
Riley Davis
7cbd06834f
set defaults on fetchAssets
2016-12-21 16:39:29 -07:00
David Jay
cfed42be2c
Correcting bug in fetchAssets.
2016-12-21 12:05:25 -08:00
David Jay
29fa26260c
Handling undefined values in fetchAssets call.
2016-12-21 11:39:21 -08:00
Riley Davis
4f9e793810
remove logs
2016-12-21 11:23:08 -07:00
David Jay
a490aaeaf0
Merge branch 'master' of github.com:coralproject/talk into admin-asset-list
2016-12-20 17:02:24 -08:00
Riley Davis
9e0ab7d2a1
load actions in a reducer
2016-12-20 15:47:27 -07:00
Riley Davis
652a41971b
Merge branch 'master'
...
Conflicts:
client/coral-admin/src/containers/ModerationQueue/ModerationQueue.js
2016-12-20 14:51:36 -07:00
Riley Davis
7351aecade
update user constants
2016-12-20 13:48:00 -07:00
Riley Davis
55c5f6d5be
use spread operator. update action constants
2016-12-20 13:25:21 -07:00
Riley Davis
96141d8abc
remove status from new comment
2016-12-20 13:23:36 -07:00
Riley Davis
7a1c3e730b
fix lint
2016-12-20 12:56:44 -07:00
Riley Davis
96ed008b96
remove some more string literals
2016-12-20 12:50:12 -07:00
Riley Davis
0a19a284ab
simplify banUser dialog action creators
2016-12-20 12:47:23 -07:00
Riley Davis
268f6616a5
update the status correctly
2016-12-20 12:45:30 -07:00
Riley Davis
11d8b2cd91
update a comment's status
2016-12-20 12:39:57 -07:00
Riley Davis
b4b3420549
remove banUser and create fetchModerationQueueComments actions
2016-12-20 12:21:10 -07:00
Riley Davis
86c74d69c7
save wordlist to the server
2016-12-19 15:03:18 -07:00
David Jay
979b54166b
Updating search with delay.
2016-12-16 16:24:32 -05:00
David Jay
1154b65c91
Updating state from menu.
2016-12-15 14:19:44 -05:00
David Jay
c7b232f0b3
Adding action to upate asset state.
2016-12-15 13:10:23 -05:00
David Jay
86eef68b16
Adding status menu.
2016-12-15 12:25:43 -05:00
David Jay
78c81aeaf4
Adding asset reducer.
2016-12-14 19:30:59 -05:00
David Jay
b98201afa3
Adding and testing function to fetch assets in talk reducer.
2016-12-14 19:03:07 -05:00
David Jay
cd63f49a5e
Disabling save button on error and updating translations.
2016-12-12 19:08:35 -05:00
David Jay
d229d5a96f
Updating route to davidjay.
2016-12-09 19:28:19 -05:00
gaba
ecd3f5c347
IT removes duplicated code.
2016-12-08 18:19:00 -10:00
gaba
9bfac3872e
Moves banUser to users actions instead of comments actions.
2016-12-08 18:16:17 -10:00
gaba
0e2a7decd4
Adds ban/unban to cli. Fix ban user in the admin.
2016-12-07 14:55:49 -10:00
gaba
3463e09cab
Setting the showuserdialog in the reducer for comments.
2016-12-02 17:05:23 -08:00
gaba
29f547d268
Trying to fix ban user dialog.
2016-12-02 06:35:55 -08:00
gaba
15eb946f00
Trying to get the Dialog up.
2016-12-01 13:05:10 -08:00
gaba
443cd031d5
Ban button.
2016-11-30 19:20:07 -08:00
gaba
2dd3359cb6
Merge branch 'master' into ban-user
2016-11-30 13:31:59 -08:00
gaba
a30388682e
Merge branch 'master' into ban-user
2016-11-30 11:26:44 -08:00
Riley Davis
a7f94fce83
implement coralApi fetch
2016-11-29 14:44:37 -07:00