Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request For Autentication (V1.3.0) #9

Merged
merged 27 commits into from
Sep 16, 2021
Merged

Pull Request For Autentication (V1.3.0) #9

merged 27 commits into from
Sep 16, 2021

Conversation

lucafano04
Copy link
Member

V1.3.0

Update Log (English)

New Features:

  • Added authentication to the site, the password/tokens can be managed by the page auth.html.
    • Dedicated Style style_auth.css for auth.html
    • The default password is "baseball", is recommended to change before using the software.
    • The password is asked for access into: auth.html admin.html admin_obs.html.
    • A valid token is required to use the API: update.php update_pass.php update_token.php settings.php.
  • Fixed the bug found on Pull request for the obs administration page (V1.2.1) #8
  • Some Bugfixes

Known bugs:

  • We haven't found any bugs yet. If you find any, please notify us!

Update Log (Italiano)

Nuove Funzioni:

  • Aggiunta l'autenticazione al sito, la password/token può essere gestita dalla pagina auth.html.
    • Stile dedicato style_auth.css per auth.html
    • La password predefinita é "baseball", si consiglia di modificarla prima di utilizzare il software.
    • Viene richiesta la password per accedere a: auth.html admin.html admin_obs.html.
    • Per utilizzare l'API è necessario un token valido: update.php update_pass.php update_token.php settings.php.
  • Risolto il bug trovato su Pull request for the obs administration page (V1.2.1) #8
  • Alcuni bug risolti

Bug noti:

  • non abbiamo trovato nessun altro bug se trovi per favore avvisami

lucafano04 and others added 25 commits June 2, 2021 10:55
Added password request to access administration pages.
On admin_OBS.html in you are going to not try again you will be redirected on no_pass.html due to OBS capability.
Created back-end password changer.
Added the password parsing to make changes to scoreboard.
Fixed bug seen on V1.2.1, now the bases works normally on auto change.
Added an authentication management page. Needs styling and integration with JS. Not currently accessible via navbar.
Removed cache from getting password
Moved auth style form `style.css` to `style_auth.css`
Updated operator check and added another exception .
Added JavaScript to the `auth.html` via the external source `auth.js`
- Added a section for token generation (P.S. it doesn't generate valid tokens, yet!)
- Added "Auth" page to navbar
To-do:
- Forms and copy button styling
- Instead of calling a testing function, the "Generate token" button will now call the main generation function
- Added auth.html in the index page
- Removed redundant code in auth.js (=> @lucafano04)

Co-authored-by: Luca Facchini <45771235+lucafano04@users.noreply.github.com>
@lucafano04 lucafano04 marked this pull request as ready for review September 12, 2021 10:02
@lucafano04 lucafano04 merged commit 07b949b into main Sep 16, 2021
@lucafano04 lucafano04 deleted the dev branch September 16, 2021 11:47
lucafano04 added a commit that referenced this pull request Dec 5, 2021
Pull Request For Autentication (V1.3.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants