File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed
static-webserver/client/source/class/osparc
web/server/src/simcore_service_webserver Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1515from models_library .rest_error import EnvelopedError , Log
1616from pydantic import BaseModel , Field , confloat
1717from simcore_service_webserver ._meta import API_VTAG
18- from simcore_service_webserver .login ._controller .rest .auth import (
18+ from simcore_service_webserver .login ._controller .rest .auth_schemas import (
1919 LoginBody ,
2020 LoginNextPage ,
2121 LoginTwoFactorAuthBody ,
3030 PhoneConfirmationBody ,
3131 ResetPasswordConfirmation ,
3232)
33- from simcore_service_webserver .login ._controller .rest .registration import (
33+ from simcore_service_webserver .login ._controller .rest .registration_schemas import (
3434 InvitationCheck ,
3535 InvitationInfo ,
3636 RegisterBody ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ qx.Class.define("osparc.MaintenanceTracker", {
4141
4242 statics : {
4343 CHECK_INTERVAL : 15 * 60 * 1000 , // Check every 15'
44- CLOSABLE_WARN_IN_ADVANCE : 48 * 60 * 60 * 1000 , // Show Closable Ribbon Message 48h in advance
44+ CLOSABLE_WARN_IN_ADVANCE : 4 * 24 * 60 * 60 * 1000 , // Show Closable Ribbon Message 4 days in advance
4545 PERMANENT_WARN_IN_ADVANCE : 60 * 60 * 1000 // Show Permanent Ribbon Message 60' in advance
4646 } ,
4747
Original file line number Diff line number Diff line change @@ -34,18 +34,18 @@ qx.Class.define("osparc.NewUITracker", {
3434 let msg = "" ;
3535 msg += qx . locale . Manager . tr ( "A new version of the application is now available." ) ;
3636 msg += "<br>" ;
37- msg += qx . locale . Manager . tr ( "Click the Reload button to get the latest features." ) ;
37+ msg += qx . locale . Manager . tr ( "Reload the page to get the latest features." ) ;
3838 // permanent message
39- const flashMessage = osparc . FlashMessenger . logAs ( msg , "INFO" , 0 ) . set ( {
39+ osparc . FlashMessenger . logAs ( msg , "INFO" , 0 ) . set ( {
4040 maxWidth : 500
4141 } ) ;
42- const reloadButton = osparc . utils . Utils . reloadNoCacheButton ( ) ;
43- flashMessage . addWidget ( reloadButton ) ;
42+ // stop tracker in case it was running
4443 this . stopTracker ( ) ;
4544 }
4645 } )
4746 . catch ( ( ) => setTimeout ( ( ) => checkNewUI ( ) , 5 * 1000 ) ) ;
4847 } ;
48+
4949 checkNewUI ( ) ;
5050 this . __checkInterval = setInterval ( checkNewUI , this . self ( ) . CHECK_INTERVAL ) ;
5151 } ,
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ qx.Class.define("osparc.desktop.MainPage", {
5656 // Some resources request before building the main stack
5757 osparc . MaintenanceTracker . getInstance ( ) . startTracker ( ) ;
5858 osparc . CookieExpirationTracker . getInstance ( ) . startTracker ( ) ;
59- // osparc.NewUITracker.getInstance().startTracker();
59+ osparc . NewUITracker . getInstance ( ) . startTracker ( ) ;
6060
6161 const store = osparc . store . Store . getInstance ( ) ;
6262 const preloadPromises = [ ] ;
Original file line number Diff line number Diff line change 1111)
1212from settings_library .email import SMTPSettings
1313from settings_library .postgres import PostgresSettings
14- from simcore_service_webserver .login_accounts .plugin import setup_login_accounts
14+ from simcore_service_webserver .login_accounts .plugin import setup_login_account
1515
1616from ..constants import (
1717 APP_PUBLIC_CONFIG_PER_PRODUCT ,
@@ -147,7 +147,7 @@ def setup_login(app: web.Application):
147147
148148 app .router .add_routes (auth .routes )
149149 setup_login_auth (app )
150- setup_login_accounts (app )
150+ setup_login_account (app )
151151
152152 app .router .add_routes (confirmation .routes )
153153 app .router .add_routes (registration .routes )
Original file line number Diff line number Diff line change 99
1010
1111@ensure_single_setup (__name__ , logger = _logger )
12- def setup_login_accounts (app : web .Application ):
12+ def setup_login_account (app : web .Application ):
1313 app .add_routes (_controller_rest .routes )
You can’t perform that action at this time.
0 commit comments