Skip to content

Commit 834e5bb

Browse files
committed
Merge branch 'master' into is64/users-refactoring
2 parents c8ba806 + b901a65 commit 834e5bb

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

api/specs/web-server/_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from models_library.rest_error import EnvelopedError, Log
1616
from pydantic import BaseModel, Field, confloat
1717
from 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,
@@ -30,7 +30,7 @@
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,

services/static-webserver/client/source/class/osparc/MaintenanceTracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

services/static-webserver/client/source/class/osparc/NewUITracker.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
},

services/static-webserver/client/source/class/osparc/desktop/MainPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 = [];

services/web/server/src/simcore_service_webserver/login/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
)
1212
from settings_library.email import SMTPSettings
1313
from 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

1616
from ..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)

services/web/server/src/simcore_service_webserver/login_accounts/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
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)

0 commit comments

Comments
 (0)