This repository has been archived by the owner on Sep 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update go.sum * Login dialog - early draft * Crypto utils, sessions setup * Fixed cache.hashGetObject * Remove gin-contrib/sessions module * Login options with tests * Login options and security principal * Glob permissions * GitHub oauth flow - draft * OAuth - GitHub and Azure basic flow * Persist principal ID in the cookie * Saving principal * age stored as JSON * Login with Google * Fix tests * Checking principal permissions * Save user's ID * Save user agent, delete cookie * Controllable Login control * Assign principal to session * "login" renamed to "signin" everywhere * Assign principal to session and hide signin dialog * Sign in, sign out * canAccess * /public/{page_name} renamed to /p/{page_name} * https://app.pglet.io -> https://console.pglet.io * A separate proxy command * Update principal on every page load * Theming moved to a separate module * UpdateTheme and Dark * Trying to adjust some elements of the scheme * Start proxy service only for web-only apps * Standard light/dark themes * Fixed auth cookie lifetime * Loading message changed * Added HTML control * Customized dark theme * Make white more dimmer * Correct resources cleanup after Host clients * Update strings_test.go * Using Google Secret Manager for storing secrets * Added logging * Proxy service renamed to Client, "web" arg renamed to "local" * run the app on the local instance of Pglet server
- Loading branch information
1 parent
3d9358e
commit 33c2f3f
Showing
63 changed files
with
2,545 additions
and
849 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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react' | ||
import { IControlProps } from './Control.types' | ||
|
||
export const Html = React.memo<IControlProps>(({control}) => { | ||
|
||
const content = control.value ? control.value : ""; | ||
return <div dangerouslySetInnerHTML={{ __html: content }} />; | ||
}) |
Oops, something went wrong.