-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.13.0' into main
- Loading branch information
Showing
266 changed files
with
7,977 additions
and
5,710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ jobs: | |
if: startsWith(github.ref, 'refs/heads/release') || startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/heads/develop') | ||
run: | | ||
echo ${{ secrets.PAT }} | docker login ghcr.io -u airydevci --password-stdin | ||
./scripts/push-images.sh ${{ github.ref }} | ||
./scripts/push-images.sh | ||
- name: Install aws cli | ||
uses: chrislennon/[email protected] | ||
env: | ||
|
@@ -67,4 +67,4 @@ jobs: | |
aws s3 cp bazel-bin/infrastructure/cli/airy_linux_bin s3://airy-core-binaries/develop/linux/amd64/airy | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,6 @@ package-lock.json | |
|
||
# Misc | ||
.DS_Store | ||
|
||
# Testing | ||
cypress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
docs/docs/cli/reference.md | ||
**/*/cli/reference.md | ||
**/*/changelog.md | ||
build/ | ||
bazel-* | ||
**/*/.docusaurus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"bracketSpacing": false, | ||
"singleQuote": true, | ||
"jsxBracketSameLine": true, | ||
"semi": true, | ||
"trailingComma": "es5", | ||
"printWidth": 120, | ||
"arrowParens": "avoid", | ||
"endOfLine": "auto", | ||
"overrides": [ | ||
{ | ||
"files": "*.{ts,tsx}", | ||
"options": { | ||
"parser": "typescript" | ||
} | ||
}, | ||
{ | ||
"files": "*.md", | ||
"options": { | ||
"singleQuote": false, | ||
"quoteProps": "preserve", | ||
"trailingComma": "none" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.12.0 | ||
0.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...pi/auth/src/main/java/co/airy/core/api/auth/controllers/payload/SignupRequestPayload.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,15 +105,26 @@ void canSignupAndLogin() throws Exception { | |
} | ||
|
||
@Test | ||
void canRestPassword() throws Exception { | ||
void canValidateSignup() throws Exception { | ||
final String firstName = "grace"; | ||
final String email = "[email protected]"; | ||
final String password = "trustno1"; | ||
|
||
final String signUpRequest = "{\"email\":\"" + email + "\",\"first_name\":\"" + firstName + "\",\"password\":\"" + password + "\"}"; | ||
|
||
webTestHelper.post("/users.signup", signUpRequest).andExpect(status().isBadRequest()); | ||
} | ||
|
||
@Test | ||
void canResetPassword() throws Exception { | ||
final String email = "[email protected]"; | ||
|
||
final String signUpRequest = "{\"email\":\"" + email + "\",\"first_name\":\"something\"," + | ||
"\"last_name\":\"hopper\",\"password\":\"trustno1\"}"; | ||
|
||
webTestHelper.post("/users.signup", signUpRequest).andExpect(status().isOk()); | ||
|
||
final String passwordResetRequest = "{\"email\":\"" + email + "\"}"; | ||
final String passwordResetRequest = "{\"email\":\"" + email + "\",\"password\":\"trustno1\"}"; | ||
|
||
doNothing().when(mail).send(Mockito.eq(email), anyString(), anyString()); | ||
|
||
|
@@ -186,7 +197,7 @@ void canChangePassword() throws Exception { | |
final JsonNode jsonNode = objectMapper.readTree(signupResponse); | ||
final String userId = jsonNode.get("id").textValue(); | ||
|
||
final String requestPasswordRequest = "{\"email\":\"" + email + "\"}"; | ||
final String requestPasswordRequest = "{\"email\":\"" + email + "\", \"password\":\"trustno1\"}"; | ||
|
||
doNothing().when(mail).send(Mockito.eq(email), anyString(), anyString()); | ||
|
||
|
Oops, something went wrong.