Giter Site home page Giter Site logo

betagouv / aidants_connect Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 14.0 81.55 MB

Home Page: https://aidantsconnect.beta.gouv.fr

License: MIT License

Python 78.13% HTML 17.39% CSS 0.54% Dockerfile 0.01% Makefile 0.01% JavaScript 1.67% SCSS 2.23% Procfile 0.01%

aidants_connect's People

Contributors

albacagnina avatar anna-livia avatar berengereaujard avatar blageir avatar camillefwok avatar christophehenry avatar dependabot[bot] avatar flightan avatar gmingli avatar jdauphant avatar liviaribeiro avatar lycia-r avatar marjolainelb avatar matteo-goracci avatar metamatik avatar morendil avatar mrjmad avatar raphodn avatar rebeccadumazert avatar sandcha avatar thimy avatar tut-tuuut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aidants_connect's Issues

[New Feature] Aidant fill Usager's information

Scenario : The Aidant enters all information

Given I am logged in as an Aidant
When I enter the following information about a user

  • family name
  • preferred name (not mandatory)
  • First names (separated by spaces)
  • Birthdate
  • Place of birth
  • Country of birth

Then the app formats the information as follows

Champs Type Description Pattern
given_name string prénoms séparés par des espaces (standard OpenIDConnect) [A-Za-zÀÂÄÇÉÈÊËÎÏÔÖÙÛÜŸàâäçéèêëîïôöùûüÿÆŒæœ -'] - [Details]
family_name string le nom de famille de naissance (standard OpenIDConnect) [A-ZÀÂÄÇÉÈÊËÎÏÔÖÙÛÜŸÆŒ -'] - [Details]
birthdate string la date de naissance (standard OpenIDConnect) [ YYYY-01-01 ] - (\d{4})-01-01 - (Présumé mois)[ YYYY-MM-01 ] - (\d{4})-(\d{2})-01 - (Présumé jours)[ YYYY-MM-DD ] - (\d{4})-(\d{2})-(\d{2})[Details]
gender string hommes ou femmes (standard OpenIDConnect) Masculin : M (male)Féminin : F (female)
birthplace string le code INSEE du lieu de naissance Si né en France (Taille de 5)[(([0-8][0-9AB])|(9[0-8AB]))[0-9]{3}] - [Details] - [Liste]En cas de pays étrangerEn cas de pays étranger : Champs vide
birthcountry string le code INSEE du pays de naissance Pour les pays étrangers (Taille de 5)[99[0-9]{3}] - [Details]Pour la France99100

Scenario : The Aidant does not enter all mandatory information

Given I am logged in as an Aidant
When I enter the following information about a user

  • family name
  • preferred name (not mandatory)
  • First names (separated by spaces)
  • Birthdate
  • Place of birth
  • NOT Country of birth

Then the page shows an error message prompting them to fill it out

Scenario : The Aidant enters bad information

Given I am logged in as an Aidant
When I enter the following information about a user

  • family name with numbers

Then the page shows an error message prompting them to correct it

[Tech] Test Login page

  • Test the login page in view test
  • Test the login page from the homepage (integration tests) ✅

[New Mandat] Print mandat for signing

Given I am creating a new mandat
Given the Usager chose the scopes and FranceConnected
Given The recap page is displayed
When I click on "print the mandat"
Then I download a PDF with all the mandat information

Location : New Mandat / Recap page

[New Mandat] Default to Service Public's category

Given I am an aidant
Given I am creating a new mandat
When I choose the scopes
Then I see the categories of Service public
I can select several categories
I can "En savoir plus"
I can select "1 time" or "36 months"

[New Feature] Login

Feature: LogIn

Scenario: A registered Aidant can login

Given I click on the FranceConnect button on a Service Provider
Given I pick AidantConnect as my Identity Provider
Given I am a registered Aidant
When I enter my credentials on the form on the page
Then I am logged in

Scenario: An unregistered Aidant cannot login

Given I click on the FranceConnect button on a Service Provider
Given I pick AidantConnect as my Identity Provider
Given I am not a registered Aidant
Given I enter my credentials on the form on the page
Given I get an error message

[New issue] Unrequired fields when filling a user profile

Scenario : Aidant fills user profile without all information

Given I am logged in as an Aidant
When I miss some information (first names, preferred name, date of birth, place of birth or country of birth
Then I am still able to find a user's information

Code 500 : Erreur interne du serveur

Bonjour,

Nous rencontrons des difficultés de connexion pour certains utilisateurs. Nous avons une instance Aidant Connect avec ~ 70 utilisateurs et certains rencontrent cette erreur à la connexion.

A priori ils sont tous créés sur le même modèle et se connectent via l'otp. Nous utilisons la dernière version du projet.

Dans les logs on peut voir ce genre de message : aidants_connect_web.models.Aidant.DoesNotExist: Aidant matching query does not exist.

Si quelqu'un a une piste, une idée.

Merci 👍

image

[New Feature] [AC as FI ] Access list of mandat

Given I am an Aidant
When I use FC to connect to a website
When I use Aidant Connect FI
When I log in with my ID/Password
Then I access the list of the Usager I have a Mandat with
Then I select the Usager and the Demarche I am about to do
Then I am connected as the Usager on the website

[New Feature] Create a new Aidant

Feature: Create a new Aidant

scenario: SuperAdmin created Aidant

Given I am a superadmin
Given I am logged in
When I create a new user
Then I need the following information:

  • email
  • password
  • Name of company (Siret)
  • Family name
  • First name
  • Role
  • Date of Signed code of conduct

Then I ask the new aidant to sign the Charte

Refactor tests route/template

♻️ Les tests pour déclarer l'existence d'une route et le fait qu'elle est traitée par un template particulier deviennent répétitifs, il serait utile de réifier la logique de connexion et la tester une seule fois.

[New Issue] FranceConnect can get the User's Infomation

Scenario : FranceConnect requests Authorization

Given FranceConnect has sent a valid client_id attribute and a state attribute when calling the /authorize url ✅
When The Aidant has entered valid User information ✅
Then Aidant connect returns a code along with the state parameter ✅

Scenario : FranceConnect requests Token

Given AidantConnect has Authorized a FC connection
When FranceConnect has sent valid attributes when calling the /token url
Then Aidant connect returns token along with a token_id object

Scenario : FranceConnect requests UserInfo

Given AidantConnect has given a token to FC
When FranceConnect has sent valid attributes when calling the /user_info url
Then Aidant connect returns formated user information

Refactor Connexion

♻️ la classe Connection commence à regrouper des informations disparates: une partie concerne la connection France Connect, une autre représente plus une sorte de "panier" contenant les ingrédients pour construire un (ou plusieurs) Mandats, ce deuxième rôle au minimum mériterait d'être explicité ne serait-ce qu'en extrayant une classe dédiée
cc @Morendil

[Dashboard] Add best way to contact Usager

Given I am an Aidant
Given I am logged in
When I select an Usager (not implemented)
Then I can see the best way to contact an Usager I work with

  • SMS
  • Email
  • Letter
  • Other ? Phone ?

[fonctionalité] l'usager peut consulter ses mandats

[ ] Ajoute un datetime de fin à chaque mandat
[ ] Par défaut, la date de fin est déterminée par la durée du mandat
[ ] Si l'Aidant ou l'usager souhaite mettre fin au mandat, la date de fin est modifiée pour devenir le datetime.now()
[ ] Lors de l'utilisation du mandat, seuls les mandats actifs sont montrés à l'aidant

[New Mandat] Make mandat making more accessible

Following the OpenLab, how can we make the mandat more accessible for the usager.

DoD
"Un aidant est confiant face à l'information contenu dans le mandat"
"Un usager est rassuré par le contenu"
"Un usager est informé de la façon sont sont stockées et utilisées ses informations personnelles"
Idées

  • Pictos

Préciser que l'identifiant aidant est son adresse mail

L'écran de connexion par login/mot de passe contient le libellé "Nom d'utilisateur", c'est trompeur car il exige en fait la saisie de l'adresse mail.

Fermer cette issue si le système d'authentficiation des aidants est remplacé par magic_auth comme prévu.

Ajout d'une licence

Hello, super d'avoir ouvert le code ! Avez-vous envisagé l'ajout d'une licence ?

Je pense qu'une MIT serait très bien.

Fournir un script d'initialisation de la base Postgres

Pour faciliter la prise en main par les personnes souhaitant contribuer au développement, il peut être utile de savoir initialiser rapidement une base de données avec au minimum un aidant, permettant de se connecter comme aidant. (La possibilité de créer un aidant via l'admin de Django en fait une question de confort plus qu'un besoin critique.)

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.