Git Product home page Git Product logo

login-module's Introduction

Installation

  • Create config file .env using .env.example
Key(s) Value
APP_URL App base URL
DB_ MySQL connection credentials
DB2_ Old login module MySQL connection credentials
MAIL_ Mail driver config
FACEBOOK_ FB oAuth credentials
GOOGLE_ Google oAuth credentials
PMS_ PMS oAuth credentials
AUTH_MASTER_HASH admin master password hash, use bcrypt function to create new one
  • Run install.sh

Maintenance

  • Import accounts from old login module database php artisan lm:import

  • Merge two login-module databases php artisan lm:merge HOST PORT DATABASE USERNAME PASSWORD

  • Import accounts from bebras database php artisan bebras:import HOST PORT DATABASE USERNAME PASSWORD

login-module's People

Contributors

mobydimk avatar eroux avatar mblockelet avatar dependabot[bot] avatar storup avatar zgtm avatar zenovich avatar mathias-hiron avatar gregorjerse avatar

Stargazers

Marko Šmid avatar

Watchers

 avatar James Cloos avatar Arnaud Le Grand avatar  avatar  avatar  avatar  avatar Chirantha Dulanjala avatar  avatar  avatar

login-module's Issues

A few settings of france-ioi.org that have disappeared since the login module has come

  1. One of them is quite important: decide whether or not receive a notification email when getting a reply on the forum (on a thread initiated by oneself). I don’t know what is the default value then…?

  2. As mentioned in #29, it is no longer possible to show only our first name or last name (if both values are given). Formerly, france-ioi.org had two different checkboxes for the first name and the last name, however I feel that showing only one’s last name is generally a nonsense. So a dropdown list with 3 choices might be good.

  3. We can no longer set indent size in the editor (so it is fixed at 3). I sometimes see codes with indent size of 4 (or even 2 sometimes) in the forum — which means that an external editor is used, and implies that I have to use an external editor too to cleanly edit the code. I asked for the indent size setting in 2013 or something like that and Loïc Février developed the feature.

Note that the profile configuration page has a ‘Parameters’ section which could offer controls to deal with these settings.

Quick menu displays hidden sections

In the screenshot just below, the quick menu on the left lists five sections, but only the first is displayed, so clicking on any other section has no other effect than changing the URL. Is it a bug or a feature? I feel it as a bug. Why should not sections hide in the quick menu while they hide in the main content?

image

Real name is always shown in section ‘Public information’

Whether or not we decide to show our real name, it is shown in the ‘Public information’ section, which is a bad thing I think.

image

Formerly, france-ioi.org allowed to show only the first name… It might be good to have 3 choices:

  • Do not show real name
  • Show only the first name
  • Show full name

Well, some users tell their first name in the ‘Presentation’ field.

Platform API: don't use AES-128-ECB anymore

AES-128-ECB is considered very unsafe and as "never to be used" for encryption for years.
The easiest fix is probably just to use AES-128-CBC instead. Of course, client (using the platform api) must be updated as well.

Problèmes avec l’année du bac

Bonsoir. Voici la description de bogues dont on m’a parlé ou que j’ai constatés concernant l’année du bac.

Elle reçoit parfois une valeur par défaut

D’abord, en juillet dernier, j’ai reçu une info comme quoi le paramètre pouvait recevoir une valeur sans que ce soit fait exprès. Voir http://www.france-ioi.org/forum/thread.php?idThread=75304#message_347667

Je n'ai pas indiqué l'année de mon bac; je suppose que cela s'est fait par défaut.

Il était marqué que la personne avait passé son bac en 2022 (ou peut-être 2023, je ne sais plus), au lieu de 1970. Elle a créé son compte en juillet 2022. Peut-être que la personne a vraiment gaffé ou que ce bogue a déjà été corrigé ; cette partie-là est donc peut-être à ignorer.

Mais non, le bogue semble être toujours présent : si je choisis l’option « ... » (du champ « Indiquez votre classe pour l'année 2022-2023 ») et que je sauvegarde, alors je me retrouve en… terminale ! Je suggère de supprimer cette option « ... » et de mettre « Je ne veux pas donner cette information » par défaut, tout simplement.

Elle reçoit parfois une valeur erronée

Je viens d’avoir une discussion sur IRC avec cet utilisateur : http://www.france-ioi.org/user/perso.php?sLogin=rafaelmc
D’après ses dires, il a indiqué dans son profil qu’il est en première, mais l’année du bac affichée est 2025 (au lieu de 2024). Cependant, je n’arrive pas à reproduire le bogue avec mon compte : l’année est bien calculée pour moi. (C’est quand il m’a indiqué être en première que je lui ai fait la remarque que l’année affichée pour son bac est incorrecte.)

Le champ est affiché à l’origine

image

Bogue cette fois bien plus mineur : lorsqu’on sélectionne autre chose que « Déjà bachelier » dans la liste déroulante, le champ « Année du bac » est masqué. Cependant, quel que soit le choix fait, il est affiché quand on va sur cette page de modification du profil (c’est-à-dire si on choisit sa classe, sauvegarde et retourne sur la page : le champ est affiché alors qu’il devrait être masqué).

La valeur du champ n’est pas remise par défaut quand on retourne sur la page

Quand on a indiqué l’année passée de son bac et qu’on retourne sur cette page de modification du profil, l’année n’est pas dans le champ, ce qui fait que si on sauvegarde sans l’indiquer de nouveau, cette information est perdue, et ce, même si on n’a pas décoché « Afficher seulement les champs requis ou recommandés » :

image

Wrong output format for the lti_resulat/send service

What the expected output from the lti_result/send service on success and failure?
The first error seems to return { "success": false, ... } while the second result is not handled the same way (just return true or false).

Email de vérification jamais reçu

Sur la page de mon profil, il est écrit que mon adresse email n'est pas vérifiée:
image
Quand j'essaie de la vérifier, aucun email ne m'est envoyé.
image

J'ai fait plusieurs tentatives, avec plusieurs semaines d'écart.
J'ai bien vérifié mon dossier indésirable.
Et j'ai des amis qui ont le même problème.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.