-
Notifications
You must be signed in to change notification settings - Fork 8
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 #4663 from GSA-TTS/main
- Loading branch information
Showing
23 changed files
with
192 additions
and
146 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class SessionExpiredException(Exception): | ||
def __init__(self, message="Your session has expired. Please log in again."): | ||
self.message = message | ||
super().__init__(self.message) | ||
|
||
|
||
class SessionWarningException(Exception): | ||
def __init__(self, message="Your session is about to expire."): | ||
self.message = message | ||
super().__init__(self.message) |
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
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 was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
backend/dissemination/api/api_historic_v0_1_0_alpha/create_functions.sql
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
backend/dissemination/api/api_historic_v0_1_0_alpha/create_schema.sql
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
backend/dissemination/api/api_historic_v0_1_0_alpha/create_views.sql
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
backend/dissemination/api/api_historic_v0_1_0_alpha/drop_schema.sql
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
backend/dissemination/api/api_historic_v0_1_0_alpha/drop_views.sql
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
backend/dissemination/api/api_historic_v0_1_0_alpha/views.py
This file was deleted.
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,15 @@ | ||
document.addEventListener("DOMContentLoaded", function () { | ||
|
||
const modalTrigger = document.createElement("a"); | ||
modalTrigger.setAttribute("href", `#session-expired-modal`); | ||
modalTrigger.setAttribute("data-open-modal", ""); | ||
modalTrigger.setAttribute("aria-controls", 'session-expired-modal'); | ||
modalTrigger.setAttribute("role", "button"); | ||
modalTrigger.className = "sign-in display-flex flex-row"; | ||
document.body.appendChild(modalTrigger); | ||
|
||
setTimeout(() => { | ||
modalTrigger.click(); | ||
modalTrigger.remove(); | ||
}, 100); | ||
}); |
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,14 @@ | ||
document.addEventListener("DOMContentLoaded", function () { | ||
const modalTrigger = document.createElement("a"); | ||
modalTrigger.setAttribute("href", `#session-warning-modal`); | ||
modalTrigger.setAttribute("data-open-modal", ""); | ||
modalTrigger.setAttribute("aria-controls", 'session-warning-modal'); | ||
modalTrigger.setAttribute("role", "button"); | ||
modalTrigger.className = "sign-in display-flex flex-row"; | ||
document.body.appendChild(modalTrigger); | ||
|
||
setTimeout(() => { | ||
modalTrigger.click(); | ||
modalTrigger.remove(); | ||
}, 100); | ||
}); |
Oops, something went wrong.