Default credentials suggestion box

Description

In order to ease standard users to access the application at the first boot with default user and passwords, we could add an informative icon (rsc/icons/info_button.png) in the login screen that will have a mouseover tooltip taken from a .properties file (e.g. rsc/default_credentials.properties) with the default credentials:

e.g.

 

The icon could be shown at every boot but ONLY IF the default_credential.properties exists and is not empty:

e.g.

 

For packaging in different modes (CLIENT, SERVER, DEMO, etc.) we could start from a default_credentials.properties.dist and default_demo_credentials.properties.dist files:

e.g.

Environment

None

Attachments

1

Activity

Alessandro Domanico February 12, 2024 at 11:43 PM

Both PRs merged.

Please add a PR for doc, about the new .dist files

miz February 10, 2024 at 6:23 PM
Edited

The scripts now generate all the .properties files from the corresponding .dist file, in order also to be able to restore the original settings at any time. (Only exception is version.properties).

The credentials hints are shown if PORTABLE or DEMO mode is selected.

It should be ready for merge.

miz February 8, 2024 at 3:40 PM

See

miz February 7, 2024 at 12:29 AM
Edited

Yes, it will take a little while. Let me think if it makes sense to have .dist files and not just directly the .properties files in this case, and distributing them only for the PORTABLE and EXPERIMENTAL distribution.

Alessandro Domanico February 4, 2024 at 5:54 PM

All merged. Working documentation. Please could you think about scripts?

Done

Details

Assignee

Reporter

Labels

Components

Fix versions

Original estimate

Time tracking

1d 5h 30m logged

Sprint

Priority

Created November 6, 2023 at 11:37 AM
Updated September 19, 2024 at 10:08 AM
Resolved February 14, 2024 at 6:08 PM