Wyatt Johnson and Kiwi
b63c00f26f
[next] Auth ( #2257 )
...
* feat: improved auth features + performance
* fix: auth check logic
* fix: tests
2019-04-15 19:46:55 +02:00
Kiwi and Wyatt Johnson
d217fedf9c
[CORL-171] Comment Tags ( #2248 )
...
* feat: staff badge
* feat: added tag support on the server
* feat: use tags
* fix: server tests
2019-03-29 22:29:17 +00:00
Kiwi and Wyatt Johnson
538e1fca9d
[CORL-139, CORL-140] Community ( #2239 )
...
* feat: Add table ui component
* feat: community user table
* feat: filters and role change
* fix: add some comments
* fix: user viewer
* fix: snapshots
* test: add tests
* fix: better popover experience
* fix: test
* chore: use enum
* feat: prevent server side setting your own role
* fix: cleanup
2019-03-22 20:13:11 +00:00
Wyatt Johnson and Kiwi
e70f6f5c7f
[CORL-144, CORL-143] Nudging ( #2236 )
...
* feat: added nudging beheviour to server
* fix: review fixes
* fix: fixed missed change
* fix: fixed sitewide permission error
* feat: implement client side nudging
* test: add feature tests
2019-03-22 18:09:22 +01:00
Kiwi and GitHub
9eb5afbb2b
[CORL-159, CORL-160] Stream Config Tab ( #2219 )
...
* feat: Implement stream configuration tab
* feat: split profile & configure into separate bundles
* chore: better role logic
* fix+chore: add test cases, implement expectAndFail, refactor tests
* chore: add some comments
* chore: Update src/core/client/framework/lib/form/helpers.tsx
Co-Authored-By: cvle <vinh@wikiwi.io >
* feat: support new graphql mutations/schema
* fix: ci fixes
* fix: improvement to revision loading
* fix: updated some tests
* fix: adapt client to changes
* fix: remove obsolote isClosed in UpdateStory
* ci: increase no_output_timeout for build
2019-03-18 22:07:52 +01:00
Wyatt Johnson and Kiwi
d37333be89
[CORL 133] API Review ( #2197 )
...
* refactor: removed unused subscription code
* refactor: removed management api's
* refactor: cleanup of connections
* refactor: refactored comments edge
* refactor: simplified connection resolving
* feat: added story connection edge
* fix: added story index
* feat: added user pagination and user edge
* fix: added filter to comment query
* fix: removed unused resolvers
* fix: creating a comment reply should require auth
* refactor: cleanup of graph files
* feat: removed display name, made username non-unique
* fix: fixed tests
* fix: fixed tests
* fix: added more api docs
* fix: fixed bug with installer
* refactor: fixes and updates
* fix: added linting for graphql, fixed schema
* feat: added docker build tests
* fix: upped output timeout
* fix: fixed stacktraces in production builds
* fix: removed `git add`
- `git add` was causing issues with
partial staged changs on files
* feat: improved error messaging for auth
* refactor: cleaned up queue names
* fix: merge error
2019-03-12 15:12:21 +01:00
Kiwi and GitHub
4e043638f6
[CORL-239, CORL-128] Support disabled commenting and closed stories in Stream ( #2205 )
...
* feat: closed story + disabled commenting
* test: add feature test and fix bugs
* fix: snapshot
* fix: isClosed can't be null
* fix: remove duplicate DeepPartial type
* fix: border color
2019-03-04 23:27:46 +01:00
Kiwi and GitHub
60f5b7e3c0
[CORL-282] Handle server errors in client ( #2196 )
...
* feat: Handle server errors in client
* refactor: use enum ERROR_TYPES
* chore: better comment
* fix: lint
* fix: also look in queries for custom errors
2019-03-01 21:37:02 +01:00
Wyatt Johnson and Kiwi
7ad724e576
fix: applied visibility status to replies ( #2195 )
2019-03-01 17:21:27 +01:00
Kiwi and GitHub
53e168ae93
[next] Implement configuration panes ( #2173 )
...
* feat: moderation config
* feat: configure banned and suspect words
* chore: upgrade react and test libs to the newest version <3
* chore: upgrade typescript + some refactor
* feat: general, organization and advanced configuration panes
* fix: translation
* feat: speedup fetching markdown editor
* feat: localize markdown editor
* chore: refactor container names
* chore: rename infobox to communityGuidelines
* feat: closing comment streams duration config
* test: add feature tests for configurations
* fix: mock only console.error
* chore: upgrade node
* chore: require node >= 10
* fix: better validation and default values
* feat: Make DurationField a general purpose component and reuse for Edit Comment Timeframe
* test: add unit test for duration field
* fix: patch for bug when built in production
* chore: bump npm version to latest
* fix: adapted Dockerfile to new version of node
* refactor: harmonized seconds/milliseconds to seconds
* fix: resolve bug from merge conflict
2019-02-07 01:10:51 +01:00
Wyatt Johnson and GitHub
9fa5900acc
[next] Error and Logging Improvements ( #2152 )
...
* feat: added locale support for Tenant
* feat: added secret scrubbing to logs
* chore: cleanup logger
* chore: logger improvements
* feat: re-introduce scoped pretty logger
* feat: added initial error support
* refactor: replace trace-error.TraceError with talk.InternalError
* fix: fixed error logging
* refactor: replaced Error with VError
* fix: repaired issue with error management on api
* fix: patched bug with not found handler
* feat: added translations
* feat: added location path to invalid entries
* refactor: refactored error handling on graph
* fix: moved indexing operations to master node
* refactor: added throw for when the message isn't found in testing
* fix: removed duplicate log
* fix: fixed naming on environment variable
2019-02-06 23:42:17 +00:00
Wyatt Johnson and GitHub
9b0e6ed53b
[next] MongoDB Indexes ( #2142 )
...
* feat: added mongo indexing support
* fix: fixed typescript issue
* chore: better types
* fix: revert debug stuff
* fix: addressed ts error
* feat: added config option to disable auto-indexing
* chore: reordered imports
* refactor: cleaned up some filepaths
2019-02-06 17:53:34 +00:00
Wyatt Johnson and Kiwi
94eb72a9bf
[next] Auth Callback + Chunking ( #2139 )
...
* feat: added new auth-callback
* fix: removed unused polyfill code
* fix: fixed missed intersection observer
* feat: enabled vendor chunks
* fix: fix some issues with chunk splitting
* fix: added intersection-observer to app polyfill
* fix: fixed test
* fix: removed lodash plugin which caused issue in prod
* chore: access_token -> accessToken
* feat: Show social login errors
* fix: lint + add test
* fix: restore width after facebook social login
2019-01-11 15:31:24 +01:00
Wyatt Johnson and GitHub
98a8c8dc71
[next] User Mutations ( #2133 )
...
* feat: added support for Token's
* feat: added mutations
- updateUserUsername
- updateUserDisplayName
- updateUserAvatar
- updateUserEmail
- updateUserRole
* lint: removed old commented out code
* fix: linting
2018-12-20 22:42:44 +00:00
Wyatt Johnson and Kiwi
01a2ace3f0
[next] User Input Validation ( #2125 )
...
* feat: added user validation
* fix: adapt client validation to match servers
* fix: snapshots
* feat: moved validation code to common
* chore: renamed utils/validate to helpers/validate
2018-12-20 23:33:23 +01:00
Kiwi and GitHub
065cb4b03a
[next] Auth Popup v2 ( #2101 )
...
* feat: Implement new Sign In view
* feat: Move forgot + resetPassword to new design
* feat: Implement sign up with new design
* fix: narrow gutter
* test: add unit tests
* test: integration tests
* feat: support show / hide password
* feat: support oauth2 flow
* feat: add views for user completion
* feat: implement oauth2 sign up
* test: fix snapshots
* fix: lint
* fix: get more complete mutation response
* fix: removed array of OIDC integrations
* fix: renamed resolver function
* fix: adapt oidc client implementation
* fix: targetFilter should be stream on signup
* fix: removed unneeded message
* fix: moved password into local profile
* fix: made username optional, removed valid null value
* fix: linting
* fix: respect targetFilter
* feat: support user registration mutations
- Added `setUsername`
- Added `setEmail`
- Added `setPassword`
- Added `permit` to `@auth`
- Added `email` to `User`
* fix: fixed issue with query
* feat: added user password update
* feat: complete sign in mutation
* fix: adapt some rebasing gitches
* test: improve tests
* test: unittest for setting auth token
* fix: failing tests
* test: move most tests from enzyme to react-test-renderer
* fix: remove schema warnings in tests
* test: improve window mock
* test: test different social login configurations
* test: test social logins for sign up
* fix: use htmlFor instead of for
* test: more feature tests
* feat: always go through account completion
* test: feature test account completion
* feat: addtional account completion test
* Update start.ts
* chore: refactor auth token retrieval logic
2018-12-20 22:32:04 +01:00
Kiwi and Wyatt Johnson
1fc49f8e50
[next] Moderate ( #2118 )
...
* fix: load .env before building / watching
* feat: Implement AppBar, Brand, and SubBar
* feat: add card ui component
* feat: add modqueue components
* feat: implement modqueue
* feat: add translations
* test: add unit tests
* feat: single comment view
* test: feature / integration tests for modqueue
* test: fix remaining tests
* feature: support TextMatchOptions
* fix: remove body count marker
* fix: remove accidently added package
* feat: testHelper toJSON
* chore: cleanup + comments
* chore: better types
* test: fix test
* chore: refactor decision history test
* chore: tiny fix
* fix: adjust to recent server changes
* fix: marking suspect and banned words
* feat: added moderation queue edge to accept/reject comment payloads
- Simplified moderationQueue returns
- Simplified resolvers
* feat: update counts
* feat: added id's to moderation queue and settings
* fix+test: test count changes, apply fix
* chore: adapt to server change, and remove custom mutation handlers
* fix: use common utils
* fix: purify fix, babel fix
* fix: workaround css treeshake issue and upgrade css plugins
* fix: fixed snapshot
* fix: support empty word lists
* feat: separate client config
2018-12-18 18:00:39 +00:00
Wyatt Johnson and Kiwi
6f538d3235
[next] DOM Purification ( #2115 )
...
* feat: added purify + linkify + better link detection
* fix: linting + tests
* chore: refactor RequireProperty Type
2018-12-13 00:14:29 +01:00
Wyatt Johnson and Kiwi
e134b4de04
[next] Flag Improvements ( #2114 )
...
* fix: applied fix for reaction mutation
* fix: removed comment length flag
* feat: added additionalDetails field to flags
* feat: added other flag type
2018-12-12 22:49:51 +01:00
Wyatt Johnson and Kiwi
4584c3d4fb
[next] Moderation Queues ( #2098 )
...
* fix: edit comment fix for reactions
* feat: Comment Queue Counts
- Removed "remove flag"
- Rearranged moderation services
- Rearranged comment counts on stories
- Added moderation queue counts to stories
- Added comments edge
- Improved Cursor/Connection types
- Improved count updators for stories
* feat: added shared comment counts and queues
- Added new AugmentedRedis type
- Added more log calls
- Update counts in shared counter as well
- Return a Query level Moderation Queue
* fix: fixed test
2018-12-07 00:37:33 +01:00
Wyatt Johnson and Kiwi
21e1a5cbef
[next] Comment Moderation Actions ( #2068 )
...
* fix: renamed snake case to camel case
* fix: changed case for mutators
* fix: renamed all snake case to camel case for db
* feat: added support for comment revisions + split comment actions
* fix: updated tests
* feat: implemented CommentModerationAction
* fix: fixed case issues
* feat: enabled WeakMap for wordList processsing
* chore: npm audit
2018-11-21 17:42:47 +01:00
Kiwi and Wyatt Johnson
05350d651f
[next] Admin Configure ( #2076 )
...
* feat: Add RadioButton and CheckBox
* feat: configure facebook and google auth
* feat: configure sso, localAuth and displayName + some tests
* test: add integration tests for configure auth
* test: more integration tests
* feat: add oidc support
* test: add oidc integration test
* feat: generate sso key initially
* fix: import fetchQuery from correct package
* fix: admin url
* fix: set timezone to utc when testing
* refactor: improve route config
* fix: remove obsolete line
* fix: clientMutationId increment
* fix: oidc only create when enabled
* fix: copy
* test: update snapshots
* feat: fixed graphql logging extension
* Update src/locales/en-US/admin.ftl
Co-Authored-By: cvle <vinh@wikiwi.io >
* Apply suggestions from code review
Co-Authored-By: cvle <vinh@wikiwi.io >
* test: update snapshots
* fix: change Local Auth to Email Authentication
* fix: copy updates
2018-11-19 22:47:32 +00:00
Wyatt Johnson and GitHub
ca12b73b55
[next] Story Mutations ( #2055 )
...
* feat: added mutations for removing + scraping stories
- added mutation for removing stories
- added mutation for scraping stories
- renamed all delete* to remove* to avoid reserved keyword collision
* fix: linting
* feat: implemented createStory
* feat: added support for createStory
* feat: improved Story deletion
- Deletes comments on the deleted Story
- Deletes actions of comments that were deleted via new
`root_item_id` parameter for Comment Action's
- Added logging around critical components of the remove
process
* feat: implemented mergeStory
- Added new merge function for root actions
- Added new merge function for story comments
- Added new merge function for comment status counts
- Added new remove stories function
* fix: fixed story creation method
* fix: added action count merging
* fix: removed outdated file
* fix: removed queue that got duplicated via rebase
* fix: prevent error when action counts are empty
2018-11-02 23:18:12 +00:00
Wyatt Johnson and Kiwi
b3cfe32631
[next] Story Improvements ( #2054 )
...
* feat: improved logs
* feat: improved scraper
- added scraper debug graph call
* feat: improved story closing
* fix: fixed tests
2018-11-01 21:34:48 +01:00
Wyatt Johnson
092e707785
Merge branch 'next' into next-auth
2018-10-29 17:39:06 -06:00
Wyatt Johnson and GitHub
1dc400ba58
[next] Rename Asset to Story ( #2044 )
...
* feat: rename asset -> story in server
* feat: renamed asset -> story for client code and tests
* feat: renamed article -> story
2018-10-29 22:49:35 +00:00
Wyatt Johnson
3c613754f0
feat: added allowRegistration option
2018-10-25 12:57:20 -06:00
Wyatt Johnson
d1e6d297f3
fix: fixed linting
2018-10-25 12:03:28 -06:00
Wyatt Johnson
6dab5836c3
review: adapted graph responses for OIDC mutations
2018-10-25 11:51:28 -06:00
Wyatt Johnson
eadf7bde43
feat: added memoization to the regexp generation
2018-10-25 10:55:22 -06:00
Wyatt Johnson
977161db0a
fix: linting
2018-10-25 08:58:58 -06:00
Wyatt Johnson
45cbac7972
feat: added OIDC management mutations
2018-10-24 16:54:07 -06:00
Wyatt Johnson
0bb64f1d97
feat: added OIDC discovery
2018-10-23 15:27:23 -06:00
Wyatt Johnson
3b6f3c9ea8
fix: rename wordlist to wordList
2018-10-22 15:52:17 -06:00
Wyatt Johnson
fa72d5deda
feat: support new auth methods for Tenants
...
- New Time scalar type is implemented on the Server
- Single Sign-On keys can now be generated
- Single Sign-On keys can be regenerated
- Single Sign-On keys now store the date they were generated on.
- Initial implementation of `AuthenticationTargetFilter`'s
2018-10-19 16:05:58 -06:00
Wyatt Johnson and GitHub
8184c3932e
[next] Install ( #1957 )
...
* Wip
* Adding Wizard and initial step <3
* Wip
* Adding more steps to the Install Wizard
* Mantaining state across steps
* Adding Steps
* Step Component
* wip
* feat: improved logging
* feat: added tenant install route
* Progress
* Refactor
* Adding rest install mutation
* Wip
* Done
* Addding snapshots
* URL validators
* Adding validation for url, and final step
* Header component and main variants
* fix: resolved router
* fix: corrected spec for prop
* fix: updated test snapshot
* Translations
* Translations
* Adding extra validation
* prefixing events with On - onSaveData
* prefixing events with On - onSaveData
* Adding translations, and colors from the palette
* Centering steps
* Ready
* feat: added production redirects
* fix: fixes during production
* fix: removed dead code
* Placeholder translations
* removing submit from cancel
* Adding a description for the URL field
* typo
* Refactor and renaming
* Using white as var
* Refactor and renaming
* feat: use new palette colors
* fix: extracted styles
* Adding await to avoid race condition with setState :)
* lint
* feat: added urls
* fix: wizard leaking styles
* fix: simplify icon style
* fix: adjust global body css to remove padding to allow seamless integration
* fix: types and small refactors
* fix: correctly filter wizard children
* refactor: simplify step containers
* fix: better typecheck
* test: remove obsolete snapshots
* fix: don't export FormProps
2018-10-11 22:13:02 +00:00
Wyatt Johnson
fa240376b5
Merge branch 'next' into next-respect
2018-09-26 13:29:45 -06:00
Wyatt Johnson and GitHub
20170333ed
feat: initial comment count support ( #1903 )
2018-09-26 19:23:54 +00:00
Belén Curcio
6dea28ba74
Merge branch 'next' of github.com:coralproject/talk into next-respect
...
* 'next' of github.com:coralproject/talk:
[next] SSO Refactor (#1912 )
2018-09-26 15:11:27 -03:00
Wyatt Johnson and GitHub
b916914faa
[next] SSO Refactor ( #1912 )
...
* feat: support dual sso/jwt auth
* feat: move verifier logic to seperate strategy
* fix: adjusted tests and removed aud claim
* fix: cleanup
2018-09-26 16:26:44 +00:00
Wyatt Johnson
411f5bc302
Merge branch 'next' into next-respect
2018-09-26 10:15:37 -06:00
Wyatt Johnson
7cce84b7f8
feat: added dontAgree create/delete mutations
2018-09-24 14:25:48 -06:00
Wyatt Johnson
3c640f87d3
fix: cleanup of comments service
2018-09-24 14:07:44 -06:00
Wyatt Johnson
3cdaa284ed
feat: added flag creation and deletion mutations
2018-09-24 13:46:13 -06:00
Wyatt Johnson
10748347b9
feat: support deleting comment reactions
2018-09-24 12:50:30 -06:00
Wyatt Johnson
dee14709c8
feat: added reaction adding mutation
2018-09-24 12:34:27 -06:00
Wyatt Johnson
8c3b0071c2
fix: renamed, middleware fixes
2018-09-24 12:32:57 -06:00
Wyatt Johnson
d8417eda2e
feat: introduce asset action count caching
2018-09-23 20:43:43 -06:00
Wyatt Johnson
1702040537
feat: added parent/parents edges
2018-09-22 00:26:09 -06:00
Wyatt Johnson
0fbd27cdcb
fix: fixes for comment counting
2018-09-21 23:52:28 -06:00