-
Notifications
You must be signed in to change notification settings - Fork 187
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
[test-only][full-ci] Api tests. get notification on different languages #6254
Conversation
ScharfViktor
commented
May 8, 2023
- set and get languages setting
- get notification on different languages
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
05f4454
to
2febdb9
Compare
💥 Acceptance test wopiValidatorTests-ocis failed. Further test are cancelled... |
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.
do we need the changes in deployments/examples/ocis_traefik/docker-compose.yml
?
no, accidentally commited |
765efc9
to
9d0d501
Compare
"properties": { | ||
"id": { | ||
"type": "string", | ||
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\\$[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}![a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" |
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.
may be we can make a function and name what type of regex pattern is ths and substitute. may be we can use such pattern in other place as well.
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's space id like 3db75261-afa8-4224-9c10-f8459fd047d7$1eb6a3e9-5dba-4887-b1b2-0c26d73d4e83!1eb6a3e9-5dba-4887-b1b2-0c26d73d4e83
We have pattern for checking spaceID but my spaceUUID contains !
. self::getUUIDv4Regex() -> maybe it is bug(because objectId is normal spaceId).
public static function getSpaceIdRegex(): string {
return self::getUUIDv4Regex() . '\\\$' . self::getUUIDv4Regex();
Otherwise I have to add something like:
public static function getFullSpaceIdRegex(): string {
return self::getUUIDv4Regex() . '\\\$' . self::getUUIDv4Regex(). '\\\!' . self::getUUIDv4Regex();
d45072a
to
ca9e6c3
Compare
…es (#6254) * get notification on different languages * set default english if no configured * fix * fix after review * fix after rebase * after review
…es (#6254) * get notification on different languages * set default english if no configured * fix * fix after review * fix after rebase * after review