Opened 7 years ago

Closed 6 years ago

#285 closed enhancement (implemented)

Registration via the logger

Reported by: István Váradi Owned by: István Váradi
Priority: major Milestone: MAVA reMAke
Component: other Keywords:


A new user should be able to register using the logger.

When the logger is first run (i.e. no config file found, i.e. the PID is unknown), it should display a message asking the user if he/she wants to register.

If so, a dialog box should be displayed asking for the data needed for the registration. This dialog box should be accessible via a button on the login page, although if pressed, but there is already a PID set, it should ask for confirmation before displaying the dialog box.

When the dialog box is OK'd, the user should be registered into the database with "STU" and with a new PID. If the registration is successful, the new PID should be displayed to the user with some information on what to expect next. The PID should be recorded in the configuration and the password also, if the user allows the program to remember it. An automatic login should be performed as well.

From then on, as long as the pilot is in STU status, the Login button on the Login page should bring up a page that displays two buttons: take the entrance exam and fly the check flight. It should also display some general information on where the new pilot can find extra information, etc. One or both of the buttons may be greyed out if the extrance exam and/or the check flight has been performed (and not refused).

The entrance exam button should bring up the appropriate Moodle exam in either the user's browser (preferred) or in the built-in one. An automatic login should be implemented there too.

The check flight button should go to an aircraft type selection page and then load the corresponding built-in flight and start the flight with that. At the end of the flight, the user should be able to send the PIREP as normally, but a different text should be displayed.

If the entrance exam has passed and the check flight PIREP has been accepted too, the user's status should be changed to FO, it should be given the default rights and the type certification for the type the check flight was flown with.

Change History (18)

comment:1 by István Váradi, 7 years ago

Owner: set to István Váradi
Status: newaccepted

comment:2 by István Váradi <ivaradi@…>, 7 years ago

In c4b335324b8655ee723d5dfe788ccf19caf896d2:

Implemented the registration form (re #285)

comment:3 by István Váradi <ivaradi@…>, 7 years ago

In 2b64e14287fce0efd0176b370de843c61318d289:

Added a check for any signs of a previous running of the program, and if none found, a question about registration (re #285)

comment:4 by István Váradi <ivaradi@…>, 7 years ago

In 673a9809df086e824d5f7b8b0f373b01c74aa63f:

Implemented the basic GUI logic of the registration (re #285)

comment:5 by István Váradi <ivaradi@…>, 7 years ago

In cf8bdfef70ddd9370df7575472e65aafe5fbb25f:

The surname and first name are to be entered separately (re #285)

comment:6 by István Váradi <ivaradi@…>, 7 years ago

In fd39e894ffbee0c5fe04f8c3279cb2b16e78c160:

The entry exam status can be and is queried (re #285).

comment:7 by István Váradi <ivaradi@…>, 7 years ago

In c49eee53b7c59b4989ca0104ab0e6d0a39c315cd:

The student page is displayed with proper title, help and the entrance exam button updated based on the completion state of the exam (re #285)

comment:8 by István Váradi <ivaradi@…>, 7 years ago

In 11e0462ee50a325a29a751aeacac30b1bd1c74b9:

Made the tooltip text more informative (re #285)

comment:9 by István Váradi <ivaradi@…>, 7 years ago

In 8fd245311db5001c42228262dac2aa58496f602a:

The entry exam is called in the browser when requested and the status is displayed in text as well (re #285)

comment:10 by István Váradi <ivaradi@…>, 7 years ago

In d10b450fff757a8b1e983a7101e1fed2936595b9:

The check flight can also be performed and the registration logic is hopefully complete (re #285)

comment:11 by István Váradi <ivaradi@…>, 7 years ago

In 76aae72ccabadef53ad5a72a0bb016d661ca861e:

Fixed the handling of the login information after registering (re #285)

comment:12 by István Váradi <ivaradi@…>, 7 years ago

In 9106f5dbd4c05bacf9219ce2f6fc2fd632fa6517:

The status of the entry exam is updated by the student page (re #285)

comment:13 by István Váradi <ivaradi@…>, 7 years ago

In 3891bf84376dface0c9d8ce8db0d375f37c4e45e:

Updated the documentation to reflect the changes related to the registration (re #285)

comment:14 by István Váradi, 7 years ago

Status: acceptedimplemented

comment:15 by István Váradi <ivaradi@…>, 7 years ago

In 16847856b2078fca1f8b83b9eaadc71bb3481aa5:

Fixed the PIREP auto-saving (re #285)

comment:16 by István Váradi <ivaradi@…>, 7 years ago

In 102c31aa3d558da1032d4610c6393c42da489252:

Some other data is also sent with the PIREP (re #285)

comment:17 by István Váradi, 7 years ago

Status: implementeddelivered

comment:18 by István Váradi, 6 years ago

Resolution: implemented
Status: deliveredclosed
Note: See TracTickets for help on using tickets.