-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from diggerhq/feat/selfhost
Ability to self host
- Loading branch information
Showing
218 changed files
with
2,760 additions
and
15,896 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,22 @@ | ||
SELECT | ||
oji.*, | ||
inviter.id AS inviter_id, | ||
inviter.full_name AS inviter_full_name, | ||
inviter.avatar_url AS inviter_avatar_url, | ||
inviter.email AS inviter_email, | ||
invitee.id AS invitee_id, | ||
invitee.full_name AS invitee_full_name, | ||
invitee.avatar_url AS invitee_avatar_url, | ||
invitee.email AS invitee_email, | ||
org.* | ||
FROM | ||
organization_join_invitations oji | ||
LEFT JOIN | ||
user_profiles inviter ON oji.inviter_user_id = inviter.id | ||
LEFT JOIN | ||
user_profiles invitee ON oji.invitee_user_id = invitee.id | ||
LEFT JOIN | ||
organizations org ON oji.organization_id = org.id | ||
WHERE | ||
oji.invitee_user_email ILIKE $1 | ||
AND oji.status = 'active'; |
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,22 @@ | ||
SELECT | ||
oji.*, | ||
inviter.id AS inviter_id, | ||
inviter.full_name AS inviter_full_name, | ||
inviter.avatar_url AS inviter_avatar_url, | ||
inviter.email AS inviter_email, | ||
invitee.id AS invitee_id, | ||
invitee.full_name AS invitee_full_name, | ||
invitee.avatar_url AS invitee_avatar_url, | ||
invitee.email AS invitee_email, | ||
org.* | ||
FROM | ||
organization_join_invitations oji | ||
LEFT JOIN | ||
user_profiles inviter ON oji.inviter_user_id = inviter.id | ||
LEFT JOIN | ||
user_profiles invitee ON oji.invitee_user_id = invitee.id | ||
LEFT JOIN | ||
organizations org ON oji.organization_id = org.id | ||
WHERE | ||
oji.invitee_user_id = $1 | ||
AND oji.status = 'active'; |
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
Oops, something went wrong.