Tessa Thornton and Wyatt Johnson
1f7fdb0d00
change keyboard shortcuts for approve/reject ( #2635 )
2019-10-15 23:04:31 +00:00
Vinh and Wyatt Johnson
3bfcc509d2
[CORL-678] Transition to eslint ( #2634 )
...
* chore: setup eslint
* chore: tslint checks with types & check for import order
* chore: complete eslint transition
* fix: tests
* fix: linting after rebase, faster lint for lint-staged
* chore: remove line
* fix: lint rules
* feat: add a11y linter and fix errors
* fix: tests
2019-10-15 22:56:38 +00:00
Cristian Dean and Wyatt Johnson
b0e0ba6633
Remove canChangeStatus condition ( #2631 )
2019-10-15 22:28:16 +00:00
Cristian Dean and Wyatt Johnson
0fbfdac846
Add CHANGE_STORY_STATUS permission to Moderators ( #2630 )
2019-10-15 22:16:08 +00:00
Wyatt Johnson and GitHub
8d08382aea
feat: skip username validation for SSO users ( #2627 )
2019-10-15 21:56:47 +00:00
Tessa Thornton and Wyatt Johnson
8409dbb4ea
ensure tab text doesn't get cut off if tab titles are long ( #2619 )
2019-10-15 20:49:37 +00:00
Sami Safatli and Kim Gardner
bae88f476e
Fix Typo ( #2629 )
2019-10-09 11:07:28 -04:00
Wyatt Johnson and GitHub
918ba10867
[CORL-681] Configurable Staff Badges ( #2620 )
...
* feat: added configurable staff badge
* fix: removed ambigous styles
2019-10-04 20:22:31 +00:00
Wyatt Johnson and GitHub
e7ab0b27f9
fix: fixed looping effect ( #2626 )
2019-10-04 19:53:14 +00:00
Wyatt Johnson and GitHub
191687335b
[CORL-682] OIDC Email and setEmail mutation ( #2623 )
...
* fix: make email optional for oidc, fix schema perms
- fixes #2622
* fix: adjust defaults for heroku
2019-10-04 17:00:25 +00:00
Tessa Thornton and Wyatt Johnson
33487be0ce
[CORL-469] keyboard shortcuts ( #2588 )
...
* make comments selectable in queue
* manage focus
* switching focus works
* keyboard navigation sort of works
* scroll into view
* prev, next, approve, reject
* shortcuts for queue switching
* ban modal?
* focus search bar with ctrl f
* keyboards shortcuts modal
* zen mode
* single comment view
* ban users from moderate cards
* clean up ts and lints
* update snaps
* add strings
* update smaps
* remove single comment view shortcut
* add single comment view to moderation queue
* clean up types
* fix deps for useEffect/useCallback hooks
* feat: added toggable help
2019-10-03 23:22:24 +00:00
Sami Safatli and Wyatt Johnson
e56793f2fb
Updated email templates ( #2621 )
2019-10-03 20:28:28 +00:00
Wyatt Johnson and GitHub
6fe4646755
[CORL-668] User Comment Rate Limiting ( #2616 )
...
* feat: added user comment rate limiting
* fix: change 30 second to 3 second
* fix: moved file
* fix: services cleanup
* fix: changes based on review
2019-10-03 19:33:52 +00:00
Tessa Thornton and Wyatt Johnson
dd45f46b19
update email templates ( #2615 )
2019-10-03 17:03:03 +00:00
Tessa Thornton and Wyatt Johnson
4a1492e88d
[CORL-90] moderator notes ( #2601 )
...
* add moderator notes and mutations
* add create moderator note mutation
* add components for moderator notes
* style moderator notes
* update styles
* prevent warning about optimistic update unused fields
* fix incorrect comment
* fix optimistic response shape
* fix create note payload type
* add migration for moderator notes
* updates from feedback
* add border width for firefox
2019-10-02 18:41:53 +00:00
Wyatt Johnson and GitHub
3a4eae87ad
[CORL-661] Encode Story ID ( #2614 )
...
* fix: encode story ID's for URL
* fix: use shared method
2019-10-02 16:21:49 +00:00
Tessa Thornton and Wyatt Johnson
fa3d442b36
[CORL-624] add note about word list case-sensitivity ( #2607 )
...
* add note about word list case-sensitivity:
* fix: removed unused keys
* fix: removed unused components
* fix: linting and key fix
2019-10-01 22:24:56 +00:00
Tessa Thornton and Wyatt Johnson
6edb411175
[CORL-650] remove duplicate text in invite form ( #2608 )
...
* remove duplicate text in invite form
* fix: reused message key
- message change consituted a grammar change
that wasn't reflected in other translated languages
2019-10-01 20:54:50 +00:00
Tessa Thornton and Wyatt Johnson
6dbc724f31
[CORL-619] update search results copy ( #2606 )
...
* update search results copy
* fix: removed unused messages
2019-10-01 20:43:50 +00:00
Cristian Dean and Wyatt Johnson
d0df6bc849
Add missing translations pt-BR ( #2604 )
2019-10-01 19:37:25 +00:00
Vinh and Wyatt Johnson
808b355a27
[CORL-181] Comment Count Injection ( #2581 )
...
* feat: inject comment counts
* fix: tests
* feat: integrate stream embed with coral counts
* chore: refactor constants
* test: test for count bundle
* test: test live comment count integration with stream embed
* feat: use defer
* fix: snapshot
* feat: auto add count.js in when calling Coral.createStreamEmbed
* fix: tests
* fix: rm duplicate test
* chore: remove unuse file
2019-10-01 19:22:15 +00:00
Wyatt Johnson and GitHub
53fa5f43e5
[CORL-325] Comment Search API ( #2578 )
...
* feat: added comment search support
* fix: updated readme
* Update README.md
2019-10-01 18:57:50 +00:00
Wyatt Johnson and GitHub
c045f52daa
[CORL-649] Migrations ( #2597 )
...
* feat: added migration framework
* chore: added premod user status migration
* feat: enhanced error handling of migrations
* fix: added missing argument from abstract method
* fix: another templating blunder
* fix: removed debug code
* feat: enhanced migration tracking
* fix: remove skipping migrations
* feat: moved indexing to migration system
* fix: linting
2019-10-01 16:00:27 +00:00
Cristian Dean and Wyatt Johnson
b3b26bd9f3
Remove X-Powered-By header ( #2605 )
2019-10-01 15:35:32 +00:00
Wyatt Johnson and GitHub
0af2fec31b
fix: include tenantID in query operation to improve index use ( #2596 )
2019-09-30 16:25:55 +00:00
Tessa Thornton and GitHub
941a385d53
[CORL-51] show comment revisions ( #2590 )
...
* add comment revisions
* reverse history order
* add strings
* update fixtures
* fix fixtures
2019-09-30 09:18:34 -04:00
Tessa Thornton and Wyatt Johnson
e61e62a238
[CORL-174] premod user ( #2572 )
...
* add types for setting user premod
* add types, fields, and mutations for user premod
* enforce premoderation on users marked premod
* add user premod to dropdown
* update specs
* fix tests
* update premod workflow to match v4
* allow user filtering by premod status
* add premod user history to account actions drawer
* update snaps
* fix permissions on new premod fields
* update strings
* fix tests
* clean up formatting and copy
* fix: nullable fixes pre-migration
2019-09-25 21:31:12 +00:00
Tessa Thornton and Wyatt Johnson
a5c3e94751
[CORL-544] use react helmet to add favicon declarations to head ( #2595 )
...
* use react helmet to add favicon declarations to head
* rename adminHead to head
* fix: case
2019-09-25 20:22:32 +00:00
Kim Gardner and Wyatt Johnson
1c24060f94
Add no comments copy in danish ( #2586 )
2019-09-24 17:57:31 +00:00
Vinh and Wyatt Johnson
4e4986fc03
fix: some form fields are not nullable ( #2577 )
2019-09-23 21:36:24 +00:00
Cristian Dean and Wyatt Johnson
37e39ff8c5
Avoid compute metrics with 404 status code ( #2587 )
2019-09-23 21:26:47 +00:00
Wyatt Johnson and GitHub
fe2d78f1f7
[CORl-640] User Registration Race ( #2583 )
...
* fix: fixes user registration endpoints
- fixes #2579
* feat: cleanup from review
- Added seperate create function
- Moved some validation around
* fix: linting
2019-09-23 21:11:16 +00:00
Kim Gardner and GitHub
43844bca18
Danish translation fixes ( #2582 )
...
* Update da files for email and errors
* Update da translations
* Add errors translations
2019-09-23 15:03:44 -04:00
Wyatt Johnson and Kim Gardner
6fb772944c
feat: expanded allowed characters in usernames to support accents ( #2585 )
2019-09-23 14:55:38 -04:00
Tessa Thornton and Wyatt Johnson
b3064c89de
[CORL-623] add live updates for comments moving from premod to approved ( #2571 )
...
* add live updates for comments moving from premod to approved
* rename disposables
* check if comment is system withheld as well as premod to publish event
2019-09-20 20:11:05 +00:00
Nick Funk and Wyatt Johnson
e4bfbbc1f8
Update COMMENT_DETECTED_SPAM marker text to Spam Detected ( #2576 )
...
Since this is used by Akismet and other spam detection tools, this
wording matches what Wordpress users will expect when seeing comments
detected as spam.
CORL-395
2019-09-20 19:48:00 +00:00
Wyatt Johnson and GitHub
25c7f89b31
[CORL-620] Persisted Query Improvements ( #2567 )
...
* fix: resolves #2566
* fix: improved retry logic
2019-09-19 18:49:57 +00:00
Wyatt Johnson and Kim Gardner
921461008e
[CORL-621] Auth Fixes ( #2569 )
...
* fix: resolve error with redirects
- fixes #2529
* fix: apply validations to username for oidc
* fix: converted components to function components
* fix: snapshots
2019-09-18 14:01:06 -04:00
Wyatt Johnson and Kim Gardner
64f102e6d4
[CORL-540] Logging improvements ( #2565 )
...
* fix: enhanced errors around story creation
* feat: enhanced child loggers
* feat: logging enhancements
2019-09-18 13:07:42 -04:00
Nick Funk and Kim Gardner
741739bc16
Un-feature a comment when it is rejected ( #2555 )
...
Also decrements the featured count for the story if rejected using the
in-stream moderation.
CORL-554
2019-09-18 12:17:31 -04:00
Sami Safatli and Kim Gardner
2cc32d4332
Translation pt-BR ( #2542 )
2019-09-18 11:47:34 -04:00
Tessa Thornton and GitHub
867f0993cc
[CORL 581] toggleable timestamp ( #2561 )
...
* toggle between relative and absolute timestamps
* make one common timestamp component
* remove unused timestamp component from /admin
2019-09-17 17:11:52 -04:00
Nick Funk and GitHub
24a27ca958
Show the viewer's username in "moderated by" on moderation cards ( #2573 )
...
If a mod is looking at a card they themselves moderated, we want their
username to show up under "moderated by". This helps them recognize cards
they themselves moderated.
CORL-615
2019-09-17 10:59:03 -06:00
Nick Funk and GitHub
d03b180a30
Set createdAt in optimistic response during SuspendUserMutation steps ( #2575 )
...
CORL-616
2019-09-17 09:51:43 -06:00
Tessa Thornton and Wyatt Johnson
72ef65577b
[CORL-605] remove user agent margin on safari search bar ( #2559 )
...
* remove user agent padding on safari search bar
* remove margin on other text fields too
* add margin reset to TextField
2019-09-13 20:29:01 +00:00
Tessa Thornton and Wyatt Johnson
8ef366f132
move toxic comment detection ahead of recent history in moderation pipeline ( #2562 )
2019-09-13 20:21:23 +00:00
Tessa Thornton and Wyatt Johnson
3114727410
[CORL-606] fix incorrect translation string ( #2560 )
...
* fix incorrect translation string
* update snap
2019-09-12 16:59:22 +00:00
Tessa Thornton and Wyatt Johnson
a89dc4675a
[CORL-516] forgot password flow in admin ( #2558 )
...
* add forgot password page and link to admin
* add translations
* update snaps
* fix: install patch
* fix: adapted localizations
* fix: added email type to email field
* fix: updated snapshots
2019-09-12 16:30:19 +00:00
Vinh and Wyatt Johnson
2559d1c0e8
fix: turn off bidi characters in favor of <bidi> tags ( #2557 )
2019-09-12 16:10:17 +00:00
Tessa Thornton and Wyatt Johnson
ea3c1e3b58
fix safari user drawer display bugs ( #2554 )
2019-09-12 16:01:58 +00:00