-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement GraphQL MUC Light user queries #3563
Conversation
Codecov Report
@@ Coverage Diff @@
## feature/graphql #3563 +/- ##
===================================================
+ Coverage 81.36% 81.47% +0.11%
===================================================
Files 454 456 +2
Lines 32955 33068 +113
===================================================
+ Hits 26814 26943 +129
+ Misses 6141 6125 -16
Continue to review full report at Codecov.
|
This comment was marked as outdated.
This comment was marked as outdated.
f19d81b
to
2638714
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
348844e
to
7869e2a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
7869e2a
to
7e8b7b6
Compare
This comment was marked as outdated.
This comment was marked as outdated.
7e8b7b6
to
fe44123
Compare
This comment was marked as outdated.
This comment was marked as outdated.
fe44123
to
48283d4
Compare
small_tests_24 / small_tests / 48283d4 small_tests_23 / small_tests / 48283d4 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 48283d4 dynamic_domains_mysql_redis_24 / mysql_redis / 48283d4 dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 48283d4 dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 48283d4 ldap_mnesia_24 / ldap_mnesia / 48283d4 internal_mnesia_24 / internal_mnesia / 48283d4 ldap_mnesia_23 / ldap_mnesia / 48283d4 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 48283d4 pgsql_mnesia_23 / pgsql_mnesia / 48283d4 mysql_redis_24 / mysql_redis / 48283d4 pgsql_mnesia_24 / pgsql_mnesia / 48283d4 mssql_mnesia_24 / odbc_mssql_mnesia / 48283d4 riak_mnesia_24 / riak_mnesia / 48283d4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It all looks really good in general. I added a few minor comments.
Separate creating a room with generated id from creating a room with the given one.
34fb70f
to
52f77be
Compare
This comment was marked as outdated.
This comment was marked as outdated.
small_tests_24 / small_tests / 52f77be small_tests_23 / small_tests / 52f77be dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 52f77be dynamic_domains_mysql_redis_24 / mysql_redis / 52f77be dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 52f77be dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 52f77be ldap_mnesia_23 / ldap_mnesia / 52f77be ldap_mnesia_24 / ldap_mnesia / 52f77be internal_mnesia_24 / internal_mnesia / 52f77be pgsql_mnesia_23 / pgsql_mnesia / 52f77be mssql_mnesia_24 / odbc_mssql_mnesia / 52f77be mysql_redis_24 / mysql_redis / 52f77be pgsql_mnesia_24 / pgsql_mnesia / 52f77be elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 52f77be riak_mnesia_24 / riak_mnesia / 52f77be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All great 👍
This PR implements the user part of the MUC Light category. The user API is basically the admin API without a
user
argument in queries and the user is taken from the context. User tests are mostly adapted admin tests.In addition, this PR introduces a blocking list management API both for users and admin. It also adds a
NonEmptyString
scalar that validates if the given string is not empty.I also provide here some admin part improvements:
StanzaPayload
type.