Vinh
3cd7bf655e
chore: remove obsolete test code ( #2363 )
2019-06-14 17:17:30 +00:00
Wyatt Johnson
9d1f03115f
[CORL-381] Featured Comments ( #2335 )
...
* feat: initial serverside featuring support
* Update schema.graphql
* feat: add feature comment to moderation dropdown
* feat: feature comments on the stream embed
* fix: tests
* fix: optimize loading and fix tests
* feat: hide featured tab when empty
* feat: introduced flattening
* fix: snapshots
* fix: spacing
* feat: added a dark variant to popover
* feat: add featured comments tooltip
* fix: better tests
* feat: added tag counts
* chore: changed string to enum
* fix: removed unused translation
* fix: changed schema for String -> TAG
* feat: split comments -> comments, featuredComments
* fix: adapt client to new endpoints
* feat: use featured comment counts
* test: featured count handling
* fix: snapshots and optimistically approve comment during feature
* fix: remove unnecessary assertion
* feat: approve featured comments
* fix: make optimistic update less reliant on existing data
2019-06-14 16:27:25 +00:00
Wyatt Johnson
f8cf34e34d
feat: added email confirmation UI ( #2358 )
2019-06-13 23:37:51 +02:00
Diego Chavão
5311681333
[next] Fix skew tolerance to token expiration. ( #2356 )
2019-06-13 20:30:09 +02:00
Nick Funk
662f5ce314
[CORL-409] Prevent users from ignoring staff members ( #2355 )
...
* Throw error if user tries to ignore a staff member
Throws a UserCannotBeIgnoredError if a user tries to ignore
a user who is a staff member. A staff member in this case is
considered anyone who has a role of staff, moderator, or admin.
CORL-409
* Prevent users from ignoring staff in the user info popover
Creates the staff roles in a constant next to the user model.
Uses this to add a computed property to the user resolver.
CORL-409
* Remove unnecessary async declaration from userIsStaff helper function
CORL-409
* Specify ignoreable on users in client test fixtures
Allows the tests to pass for the required computed property
of ignoreable that is computed by whether a user is a staff
member or not.
CORL-409
* Update more fixtures with ignoreable property on mocked users/commenters
CORL-409
* Consolidate ignore-able calculation into re-usable helper methods
Re-use the logic for whether a role is a staff member to
clearly define when a user is ignore-able or not across the
business logic.
CORL-409
* Set the ignoreable optimisticResponse on comment mutations
We have set the ignoreable value in the graphQL schema, so now
the optimisticResponses are looking for a default value to use
until the data result arrives. Put to false since the ignoreable
value is set on our author, we likely don't want to ignore ourselves.
CORL-409
2019-06-13 17:24:50 +00:00
Vinh
3947b143cb
[CORL-423] Rearrange client files and folder ( #2352 )
...
* chore: reorganize account
* chore: reorganize install
* chore: reorganize auth files
* chore: reorganize admin files
* fix: graphql naming
* chore: adapt account routing
2019-06-11 15:33:46 +00:00
Kim Gardner
05c8f06ed8
Merge pull request #2353 from coralproject/next-patch-readme
...
README.md
2019-06-10 23:27:49 +01:00
Kim Gardner
f320e5521b
Fix lint
2019-06-10 23:09:20 +01:00
Jessie Rushing
25a7945408
README.md
2019-06-10 14:17:07 -07:00
Wyatt Johnson
d30ced8142
fix: sort by replies ( #2351 )
2019-06-08 02:10:26 +02:00
Vinh
812649153e
chore+fix: upgrade jest + fix flaky renderStream test! ( #2350 )
2019-06-07 23:44:08 +00:00
Vinh
5b64d3d14b
[next] Fix warnings and errors that appear during test ( #2348 )
...
* fix: handle react act errors
* fix: fixed deprecated reporter option
2019-06-07 22:01:57 +00:00
Vinh
d4b99a2a57
[CORL-420] Upgrade Relay ( #2346 )
...
* chore: upgrade Relay
* fix: fix errors
* fix: snapshot
* fix: relay prefix
* fix: fragment spec error
2019-06-07 21:42:26 +00:00
Wyatt Johnson
ed4e5fa2a8
[CORL-399] Hide Non-Visible Comments ( #2344 )
...
* feat: added support for hiding non-visible comments
* fix: updated copy
* feat: refined style
v5.0.0-beta.2
2019-06-06 22:24:02 +00:00
Kiwi
2cff4572cf
[CORL-394] Pre-Mod Link feature wouldn't capture suspect and other flags ( #2342 )
...
* fix: move detect premod links further down the moderation phases
* chore: version bump
2019-06-06 19:09:23 +00:00
Kiwi
8cfced464b
chore: rename accept comment to approve comment ( #2341 )
2019-06-06 18:58:11 +00:00
Cristian Dean
39d7540987
[next] Add pt-BR translation ( #2338 )
...
* Add pt-BR translation
* Add pt-BR translation on server
2019-06-05 18:04:07 +02:00
Kiwi
593d94ddbb
[CORL-218] In Stream Approve and Reject ( #2340 )
...
* feat: instream moderation
* fix: tests
* test: add tests for in stream moderation
* fix: lint
* fix: snapshots
2019-06-04 19:27:15 +02:00
Wyatt Johnson
1cf2f61bfb
[CORL-388] Health Check ( #2336 )
...
* feat: added prelim health-check endpoint
* Update health.ts
* Update health.ts
* fix: lint
2019-05-31 23:20:00 +00:00
Wyatt Johnson
132ffdb2dc
[next] Ancestors ( #2333 )
...
* feat: simplified ancestor management
* fix: removed old comment
2019-05-31 23:02:43 +00:00
Wyatt Johnson
6bd3e093b3
[CORL-157] Ignore Users ( #2328 )
...
* feat: added server impl of ignore user
* feat: added development error wrapping
* feat: Add arror to popover
* fix: dependencies
* fix: server locals watch paths
* feat: AuthorPopover & Member Since
* chore: refactor stream file organization
* feat: ignore user
* fix: file case
* feat: add support for useLocal hook!
* test: test ignored users
2019-05-31 22:41:20 +00:00
Wyatt Johnson
1302ea1918
[CORL-147] Lazy Story Creation + Proxy ( #2302 )
...
* feat: added toggle for lazy stories and proxy
* feat: improve story loading logic
2019-05-31 22:28:40 +00:00
Wyatt Johnson
4ce7512c4b
fix: replace npm-run-all with patched version ( #2332 )
2019-05-29 16:53:22 +00:00
Cristian Dean
7beab6419e
[next] Add redis_options config ( #2323 )
...
* [next] Add redis_options config
* fix: updated docs, camelcased arg, used native merge
* fix: improved CI issues
2019-05-27 19:07:56 +00:00
Kiwi
e7151806ea
fix: nunjuck formatting error ( #2322 )
2019-05-23 01:57:09 +02:00
Kiwi
dce60c5eab
[CORL-349] Show banned user info ( #2319 )
...
* feat: stream banned state ui
* fix: button color
* fix: banned permissions
* test: add tests and hide edit
* fix: show reaction button and adapt snapshots
* fix: snapshot
2019-05-23 01:48:10 +02:00
Kiwi
8618ef0b96
[CORL-380] Duplicate Email Error ( #2320 )
...
* fix: throw duplicate email error during signup
* fix: Coral.Coral.* -> Coral.*
* fix: tests
2019-05-22 22:07:07 +02:00
Kiwi
6da97c57d7
[CORL-314] Rename to Coral ( #2318 )
...
* chore: rename talk to coral
* fix: lint and unit tests
* fix: snapshot
2019-05-22 21:32:24 +02:00
Kiwi
3ea696fcc8
[CORL-339] Allow comment draft when not logged in ( #2315 )
...
* feat: allow user to draft a comment before logging in
* test: snapshot
* fix: lint
* chore: upgrade rte
* fix: snapshots
2019-05-20 18:14:09 +02:00
Kiwi
ab466510f3
fix: use custom webpackHotDevClient with debounced reload and filter unwanted warnings ( #2314 )
2019-05-15 20:33:39 +02:00
Wyatt Johnson
3ba10fd15f
[CORL-224] Flag Details ( #2293 )
...
* feat: flag details
* fix: review
* feat: implement flag details in admin
* test: test flag details
2019-05-15 18:50:47 +02:00
Kiwi
898bc0de06
feat: allow explicitly disabling client routes ( #2311 )
2019-05-15 01:27:34 +02:00
Kiwi
1794086683
[CORL-360] Embrace CSS Variables ( #2312 )
...
* fix: docz bug
* feat: implement css variables
* fix: adapt docz
* fix: webpack config
* fix: add ui l10n bundle to tests
2019-05-15 01:21:07 +02:00
Wyatt Johnson
d4b8e5ef70
[CORL-281] Metrics ( #2298 )
...
* feat: iunitial metrics implementation
* fix: graphql endpoint was throwing errors.
* feat: add metrics env variables to readme
2019-05-10 00:26:24 +02:00
Wyatt Johnson
df57b4eb17
[next] Email ( #2261 )
...
* feat: suspending, banning, now propogation
* feat: added email rendering + localization support
* fix: fix related to lib
* refactor: moved juicer to queue task
* refactor: cleanup of job processor
* refactor: improved error messaging around failed email
* feat: initial forgot passwor impl
* fix: fixed rebase errors
* feat: send back Content-Language header with requests
* feat: added ban email
* feat: implemented forgotten password API
* fix: linting
* feat: support more emails
* fix: promise patches
* feat: initial confirm email API
* feat: added rate limiting
* feat: added URL support
* feat: added email docs
* fix: updated docs
* chore: documentation review
* fix: fixed build bug
* feat: implement forgot password in auth popup
* test: add tests + fixes
* chore: rename StatelessComponent to FunctionComponent
* fix: types and test fixes
* chore: upgrade deps
* fix: THANK YOU TESTS FOR SAVING MY A**
* chore: reorder imports
* chore: remove obsolete !
* feat: implement accounts bundle
* refactor: review suggestion
* fix: rebase upgrade error
* fix: rebase bug
* feat: reset password link support
* test: add tests for account password reset page
* fix: remove redirect uri
* fix: revert local state changes
2019-05-09 22:54:56 +02:00
Kiwi
945bd7f2b0
[CORL-367] Speedup scripts & better server development and debugging ( #2306 )
...
* feat: speedup scripts & make server development faster
* feat: fix server debugging + allow attaching to a running node process
* feat: make npm run during watch less chatty
2019-05-09 22:08:12 +02:00
Wyatt Johnson
9972253056
feat: removed pulling displayName from facebook/google ( #2301 )
2019-05-07 22:34:31 +00:00
Wyatt Johnson
2b878b224b
fix: double logout will not result in failures ( #2300 )
2019-05-07 22:23:57 +00:00
Kiwi
ea6f42c256
[CORL-305] Speed up build process and upgrade dependencies ( #2304 )
...
* feat: speed up build process, upgrade majority of dependencies
* feat: allow specifying max cores
* chore: add some comments
2019-05-07 20:22:19 +02:00
Kiwi
98795d161d
[CORL-263, CORL-225] Story Titles, Moderate Story, Mini Unit ( #2294 )
...
* feat: show story title + moderate this story link
* feat: introduce mini unit
* test: add tests for moderate story link
* fix: snapshot
* fix: lint / test
* fix: unwanted margin
2019-05-03 22:01:34 +02:00
Wyatt Johnson
85e2bbc089
fix: fixed CI pipeline for releases ( #2297 )
v5.0.0-beta.1
2019-05-02 20:22:28 +00:00
Wyatt Johnson
59aaec48fc
[next] Release ( #2296 )
...
* feat: added release process
* fix: removed debug echo's
* fix: fixed typo and bug
- replaced // with /# to remove "v" prefix only, not all "v" in string
* fix: updated docs
2019-05-02 19:35:48 +00:00
Kiwi
60c8f9a0d5
[next] Tests for new story filter and combo box ( #2288 )
...
* test: add tests for changes in stories page
* test: search box and moderate specific story
* fix: remaining snapshot
* fix: test
2019-04-27 01:04:16 +02:00
Kiwi
b1efdad981
[CORL-249] Mod queues empty states ( #2289 )
...
* feat: mod queues empty states
* fix: test
2019-04-26 22:39:46 +00:00
Kiwi
ab938985e4
[CORL-294] Moderate a single story + quick search ( #2286 )
...
* feat: allow passing a `storyID` to `Query.moderationQueues`
* feat: moderate by story
* feat: implement search story combobox
* feat: add translations
* fix: tests
* fix: duplicate id
* fix: rename file
* chore: add more comments
* fix: add missing translation
* review: use query parameter "q" instead of url path
* chore: move placeholder logic inside, maybe this makes it clearer :-D
2019-04-26 14:23:46 +00:00
Wyatt Johnson
a91de05af9
fix: modified uri parsing for mongodb ( #2282 )
2019-04-25 15:16:36 +00:00
Wyatt Johnson
205e6fcd08
[next] Reaction Sort ( #2260 )
...
* feat: stream sort description to use reaction conf
* feat: use full custom translation string for the sort label
2019-04-23 20:50:02 +00:00
Kiwi
a92dcd6224
[next] Bugfixes ( #2272 )
...
* feat: suspending, banning, now propogation
* feat: new mutation api with hooks support
* [CORL-343] Center Spinner in Stream
* [CORL-344] Fix moderation card styling
* [CORL-338] Fix permalink reply bug
* [CORL-337] Fix community guidelines box width
* [CORL-341] Toggle reply form view when clicking on reply
* test: add tests
* [CORL-333] Fix bug: removing message box icon; [CORL-336] Fix bug: allow resetting custom css
2019-04-23 20:29:58 +00:00
Kiwi
5150cdf60e
[CORL-331] Better tests with types ( #2270 )
...
* feat: suspending, banning, now propogation
* feat: new mutation api with hooks support
* feat: better types in tests and refactor
* fix: lint
2019-04-23 19:46:14 +00:00
Wyatt Johnson
dbbc1af42e
[CORL-155] User Suspending and Banning ( #2247 )
...
* feat: suspending, banning, now propogation
* feat: adapting to `now`
* feat: support auth for suspension/banned
* feat: added trace-id to requests
* feat: new mutation api with hooks support
* feat: added user status filtering, current field
* feat: Implement filter by status, adapt to new USER_STATUS type, add lookup helper <3
* fix: typo
* fix: tests
* chore: rename banned status to ban status
* test: feature test + lots of test helper improvements e.g. types
* fix: add translation to ban user modal
* fix: translation
* fix: test
2019-04-22 22:57:32 +00:00