-
-
Notifications
You must be signed in to change notification settings - Fork 165
Description
This issue aims to achieve multiple goals:
- Separate logins to the main application (login.pl) from setup application
- Improve the setup user interface (and user experience)
- Standardize route declaration
- Simplify URL parsing and route dispatch
- Outsource web-framework maintenance (hook into community efforts)
- Simplify the wrapper code for the '/setup(.pl)' routes
- Increase testability of the code through unit tests (in addition to web tests)
These goals are achieved by:
- Using Dancer as the web framework (addresses (3), (4) and (5))
- Configuring Dancer to use cookie auth with separate cookies for
/setupand/login(addresses (1) - Refactoring application functions - beyond wrapping/mapping to libraries - out of
/setupinto libraries (addresses (6) and (7)) - Using a standard web-framework which allows a broader range contributors to contribute to UI improvements
These changes require the following steps to be executed:
- Establish a Dancer integration/ baseline for
/setup
(includes Dancer auth plugins integrating with LedgerSMB type authentication) - Rewrite the functons of
/setup- System information / configuration overview
- Listing available databases
- Creation of new databases
- Database sanity checks
- Copying of databases
- Creating database backups
- Creating database role backups
- Listing of users
- Creation of new users
- Modification of user role assignments
- User password resets
- Loading of template sets
- Schema upgrades
- From LedgerSMB 1.2/1.3
- From SQL Ledger 2.8/3.0
From #4408, take into account this request:
Suggestion: Adding a way to add/create a database once you have logged in as admin on the setup.pl because if you do not provide a database name and create at the login section of the setup.pl, a list of database is presented to you as a DBA, but you do not have a label + textbox + button to create a database from that exact location.
A simple GET redirection would probably do, since the user already logged ?
Thank you !
From #3314, please consider:
More small issues with setup.pl:
I have the keys, but cannot logout to lock up when I leave.
The field hints for importing vs. creating a user could say something about Postgres databases vs. other lsmb databases. Or the program could catch, recover, query and move forward.
User list is slammed against the left jamb.
On all or most setup.pl pages, there is space to have help paragraphs to the right, like many SOHO routers and network interfaces.
Conversely, space could used to combine the user list and user entry pages to make entry smoother. But
just returning to the user list from user entry should suffice.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status