* chore(workspaces): billing version limit graphql schema
* chore(workspaces): billing member role required
* chore(core): test helper for random string
* chore(core): test helpers
* chore(workspaces): workspaces billing version resolver
* chore(workspaces): rename version to versionsCount
* feat(graphql/serverinfo): provide maximum object size in bytes
* Places config values in a ServerConfiguration object
- updates blobstorage to use ServerConfiguration, while retaining backwards compatibility
* fix(fe2): properly handling invitedTeam auth error
* fix(fe2): disable invite dialog if not workspace admin
* fix(useremails): fix for default primary:true when creating new emails
* test fix
* chore(logging): include additional detail on object upload logs
* allow max file size to be configurable
* feat(logging): add logger to core/services/objects
* fix log line
* fix tests
* typo
* fix variable name
* convert values to megabytes
* calculating memory was causing the system to freeze
* calculating memory was causing the system to freeze
* DRY the logging metadata
* all required variables should be passed to calculateLogMetadata
* fix many things with the logging
* feat(useremails): userEmails graphql query
* feat(useremails): create user email mutation
* feat(useremails): set primary and delete user email mutations
* chore(useremails): fix update user email type
* chore(useremails): add validation for unique primary email
* chore(useremails): create typed tests for graphql and emails field resolver in user type
* chore(userEmails): group user email mutations in a specific mutation object
* linting fixes
* more lint fixes
* tests fix
* more test fixes
* chore(userEmails): cleanup
* chore(useremails): rely on knex trx for transaction handling
* chore(useremails): rely on knex trx for transaction handling
* chore(useremails): fix checkemail not present
* chore(useremails): add tests
* chore(useremails): create check function
* chore(useremails): use repository function to find primary email
* chore(useremails): fix prettier
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
* feat(useremails): userEmails graphql query
* feat(useremails): create user email mutation
* feat(useremails): set primary and delete user email mutations
* chore(useremails): fix update user email type
* chore(useremails): create typed tests for graphql and emails field resolver in user type
* chore(userEmails): group user email mutations in a specific mutation object
* linting fixes
* more lint fixes
* tests fix
* more test fixes
* chore(userEmails): cleanup
* chore(useremails): rely on knex trx for transaction handling
* chore(useremails): fix checkemail not present
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
* prep for new resources algo
* typescriptifying stuff
* minor types fix
* migrate to resources col
* repo & creation updated, WIP processing/retrieval
* WIP invite processing
* finished finalization refactor
* project invite management
* transformed all invites services
* fixed up projects & core serverinvites resolvers
* test fixes
* WIP workspace create GQL & test
* basic invite creation test works
* a buncha working tests
* more tests
* cancelation tests
* minor invite use refactor
* invite retrieval tasks
* invite use() works as expected
* filtering out broken invites
* enabled invite retrieval by token irregardless of who is it for
* minor adjustments
* tests fix
* test config improvements
* test env adjustment
* extra test case
* making resource access limits harder to ignore
* linter fixes
* eventBus type cleanup
* better generic names
* refactored serverinvites resource migration
* fix(server): better error message in project invite edge case