cleanup
This commit is contained in:
parent
e80a5d9d6d
commit
d479863a63
|
@ -1,22 +0,0 @@
|
||||||
name: 'deploy'
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Cloning repo
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Get Repo Name
|
|
||||||
id: repo_name
|
|
||||||
run: echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY##*/})"
|
|
||||||
|
|
||||||
- name: Push to dokku
|
|
||||||
uses: dokku/github-action@master
|
|
||||||
with:
|
|
||||||
branch: 'main'
|
|
||||||
git_remote_url: 'ssh://dokku@staging.discours.io:22/${{ steps.repo_name.outputs.repo }}'
|
|
||||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
15
.github/CONTRIBUTING.md
vendored
15
.github/CONTRIBUTING.md
vendored
|
@ -229,21 +229,6 @@ mutation Logout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation CreateUser {
|
|
||||||
_create_user(
|
|
||||||
params: {
|
|
||||||
email: "test@domain.com",
|
|
||||||
password: "<bcrypt-hashed-password>",
|
|
||||||
nickname: "test",
|
|
||||||
}
|
|
||||||
) {
|
|
||||||
id
|
|
||||||
email
|
|
||||||
roles
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mutation UpdateUser {
|
mutation UpdateUser {
|
||||||
_update_user(
|
_update_user(
|
||||||
params: {
|
params: {
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
This repo is with CI/CD Gitea needs and fetch.conf for fetch-daemon service
|
|
||||||
|
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://authorizer.dev">
|
<a href="https://authorizer.dev">
|
||||||
<img alt="Logo" src="https://authorizer.dev/images/logo.png" width="60" />
|
<img alt="Logo" src="https://authorizer.dev/images/logo.png" width="60" />
|
||||||
|
|
|
@ -113,13 +113,6 @@ const EditUserModal = ({
|
||||||
status: 'success',
|
status: 'success',
|
||||||
position: 'top-right',
|
position: 'top-right',
|
||||||
});
|
});
|
||||||
} else if (res.data?._create_user?.id) {
|
|
||||||
toast({
|
|
||||||
title: 'User created successfully',
|
|
||||||
isClosable: true,
|
|
||||||
status: 'success',
|
|
||||||
position: 'top-right',
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
onClose();
|
onClose();
|
||||||
updateUserList();
|
updateUserList();
|
||||||
|
|
|
@ -38,14 +38,6 @@ export const UpdateUser = `
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const CreateUser = `
|
|
||||||
mutation createUser($params: CreateUserInput!) {
|
|
||||||
_create_user(params: $params) {
|
|
||||||
id
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
export const DeleteUser = `
|
export const DeleteUser = `
|
||||||
mutation deleteUser($params: DeleteUserInput!) {
|
mutation deleteUser($params: DeleteUserInput!) {
|
||||||
_delete_user(params: $params) {
|
_delete_user(params: $params) {
|
||||||
|
|
|
@ -189,13 +189,6 @@ export default function Users() {
|
||||||
status: 'success',
|
status: 'success',
|
||||||
position: 'top-right',
|
position: 'top-right',
|
||||||
});
|
});
|
||||||
} else if (res.data?._create_user?.id) {
|
|
||||||
toast({
|
|
||||||
title: 'User verification successful',
|
|
||||||
isClosable: true,
|
|
||||||
status: 'success',
|
|
||||||
position: 'top-right',
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
updateUserList();
|
updateUserList();
|
||||||
};
|
};
|
||||||
|
@ -279,17 +272,6 @@ export default function Users() {
|
||||||
});
|
});
|
||||||
updateUserList();
|
updateUserList();
|
||||||
return;
|
return;
|
||||||
} else if (res.data?._create_user?.id) {
|
|
||||||
toast({
|
|
||||||
title: `Multi factor authentication ${
|
|
||||||
user.is_multi_factor_auth_enabled ? 'disabled' : 'enabled'
|
|
||||||
} for user`,
|
|
||||||
isClosable: true,
|
|
||||||
status: 'success',
|
|
||||||
position: 'top-right',
|
|
||||||
});
|
|
||||||
updateUserList();
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
toast({
|
toast({
|
||||||
title: 'Multi factor authentication update failed for user',
|
title: 'Multi factor authentication update failed for user',
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/authorizerdev/authorizer
|
|
|
@ -1 +0,0 @@
|
||||||
package graph
|
|
|
@ -1 +0,0 @@
|
||||||
package model
|
|
Loading…
Reference in New Issue
Block a user