Tags: cambiatus/backend
Tags
Feature/316 add auth (#126) * Remove CircleCI references * Fix name on migration * Update Ecto version * Add Ecto models for contacts * Improve contact type and add it to graphql * Rename migration * Add convinience iex functions * Improve mix.exs readability * Remove 'Profile' naming from GraphQL Improve docs and readability of several files * Finalize implementation * Improve docs * Add products to user * fix tests * Update lib/cambiatus/error.ex Co-authored-by: Andrey Miskov <amiskov@gmail.com> * Adjust failed schema generation * Adjustments to add token to new sign_up * Improve error handling * Add sign in to GraphQL and refactor it * Fix sign Up * Add authentication for update_user mutation * Add auth to upsert KYC mutation * Improve docs for updateUser mutation * Add authorization to upsertaddress * Add authorization to deleteKyc and deleteAddress * Add authentication to Notification history - Also add it to register push and improve error handling * Add authorization to readNotification * Add authorization to completeObjective * Add authorization to a few communities queries * Add authorization to analysis queries * Add authorization to country, search and shop queries * Add auth to get user * Show only active products on query * Only display actions that are not completed. * Add available action query * Improve Action.available query * Add env configs * Adjust sign_up tests * Adjust auth test * Adjust KYC schema tests * Adjust notification tests * Adjust account resolver * Adjust commune resolver test * Final tests adjustments * Add orders to community and product * Add ordering to user claims * Show claimable actions only * Adjust filter of claimable actions * Fix fuzzy search test * Remove old commented sign_in matching * Improve descriptions, fix required user_type * Rename variable Stop using usr and use user * Adjust shop types * Added query test coverage for kyc and notification Testing graphql authorization as well. * Improve docs to inform required authentication * Remove authentication requirement for country object * Add variables to be compatible with our compilation process * Support invitation signIn on graqphl * Adjust pattern matching Co-authored-by: Andrey Miskov <amiskov@gmail.com> Co-authored-by: venomnert <neerthigan@gmail.com>