Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Jenkins #39

Merged
merged 187 commits into from
Aug 26, 2024
Merged

Jenkins #39

merged 187 commits into from
Aug 26, 2024

Conversation

khylpe
Copy link
Member

@khylpe khylpe commented Aug 26, 2024

No description provided.

khylpe and others added 30 commits January 25, 2024 18:56
* setting up next js

* Zustand & Folder architecture with README files

Created folder architecture with readme files. Installed Zustand which is a store manager for javascript applications.

* Update frontend README and restructured folders

* Initial commit backend

* updated README.md

* remove .idea directory

* updated gitignore
- exclude .idea/

* installed & configured antd

* Installed Axios ; Removed CSS

* init Database

---------

Co-authored-by: Capryc0rne <[email protected]>
* setting up next js

* Zustand & Folder architecture with README files

Created folder architecture with readme files. Installed Zustand which is a store manager for javascript applications.

* Update frontend README and restructured folders

* Initial commit backend

* updated README.md

* remove .idea directory

* updated gitignore
- exclude .idea/

* installed & configured antd

* Installed Axios ; Removed CSS

* init Database

* init authentication
+ Dumb DB test

* init front authentication

accessible at localhost/login

* CORS Origin fix
+ → http://localhost:3000

* disable signup ; regex for email ; handling error codes ;

* Refine userData return on login

* Regex signup ; Logout component

Displaying logout component or login/signup depending on the "user" value.
Inscreased timeout in Axios requests because we had some timeout issues.

* Signup backend module
+ /api/signup

* Fixed logout ; Fixed login response ; Regex ; Error handling

Fixed logout : remove cookie when user is null

Fixed login and signup response : we expected data to be directly accessible but user's data is actually in the "user" object of the response.

More maintainable regex expression : they are now exportable for more consistency.

Error handling : [sign up] handling codes when falling in the catch statement.

---------

Co-authored-by: Arthur CRAHÉ <[email protected]>
* setting up next js

* Zustand & Folder architecture with README files

Created folder architecture with readme files. Installed Zustand which is a store manager for javascript applications.

* Update frontend README and restructured folders

* Initial commit backend

* updated README.md

* remove .idea directory

* updated gitignore
- exclude .idea/

* installed & configured antd

* Installed Axios ; Removed CSS

* init Database

* init authentication
+ Dumb DB test

* init front authentication

accessible at localhost/login

* CORS Origin fix
+ → http://localhost:3000

* disable signup ; regex for email ; handling error codes ;

* Refine userData return on login

* Regex signup ; Logout component

Displaying logout component or login/signup depending on the "user" value.
Inscreased timeout in Axios requests because we had some timeout issues.

* Signup backend module
+ /api/signup

* Fixed logout ; Fixed login response ; Regex ; Error handling

Fixed logout : remove cookie when user is null

Fixed login and signup response : we expected data to be directly accessible but user's data is actually in the "user" object of the response.

More maintainable regex expression : they are now exportable for more consistency.

Error handling : [sign up] handling codes when falling in the catch statement.

* Moved to subfolders ; Renamed routes ; Layouts ; Forgot password link

- Moved pages in corresponding subfolder front-office or back-office.
- Renamed routes in french.
- Created layout for each page in order to change metadata.
- Created a "forgot password" link component

* Add Email Verification Feature
+ Update Database Schema

* Add Password Recovery Feature
+ Update Database Schema : ressources_relationnelles.sql

* Add Remember me Feature
+ set TTL JWT at 14 days

* Reset password ; Mail verification ; Metadata ; Password input

* new login/sign up response type.

* Add NewUser Feature

* Init Swagger: API
+ api-docs.json -> editor.swagger.io

+ composer install

* JWT auto Refresh: API

* API update + add path /api/verifyUser

+ pass "newUser" in "user" response

---------

Co-authored-by: Capryc0rne <[email protected]>
Co-authored-by: Nicolas C. Capryc0rne <[email protected]>
with test exemple & readme 

by @KilianBre
can logout, display user's icon or a default icon, changed collapse icon
* setting up next js

* Zustand & Folder architecture with README files

Created folder architecture with readme files. Installed Zustand which is a store manager for javascript applications.

* Update frontend README and restructured folders

* Initial commit backend

* updated README.md

* remove .idea directory

* updated gitignore
- exclude .idea/

* installed & configured antd

* Installed Axios ; Removed CSS

* init Database

* init authentication
+ Dumb DB test

* init front authentication

accessible at localhost/login

* CORS Origin fix
+ → http://localhost:3000

* disable signup ; regex for email ; handling error codes ;

* Refine userData return on login

* Regex signup ; Logout component

Displaying logout component or login/signup depending on the "user" value.
Inscreased timeout in Axios requests because we had some timeout issues.

* Signup backend module
+ /api/signup

* Fixed logout ; Fixed login response ; Regex ; Error handling

Fixed logout : remove cookie when user is null

Fixed login and signup response : we expected data to be directly accessible but user's data is actually in the "user" object of the response.

More maintainable regex expression : they are now exportable for more consistency.

Error handling : [sign up] handling codes when falling in the catch statement.

* Moved to subfolders ; Renamed routes ; Layouts ; Forgot password link

- Moved pages in corresponding subfolder front-office or back-office.
- Renamed routes in french.
- Created layout for each page in order to change metadata.
- Created a "forgot password" link component

* Add Email Verification Feature
+ Update Database Schema

* Add Password Recovery Feature
+ Update Database Schema : ressources_relationnelles.sql

* Add Remember me Feature
+ set TTL JWT at 14 days

* Reset password ; Mail verification ; Metadata ; Password input

* new login/sign up response type.

* Add NewUser Feature

* Init Swagger: API
+ api-docs.json -> editor.swagger.io

+ composer install

* JWT auto Refresh: API

* API update + add path /api/verifyUser

+ pass "newUser" in "user" response

* Update (newUser dans user)

* add role in JWT and extend limite request at 20k

* remove auto refresh (to patch later)

* fixed build errors

* Update api.php

---------

Co-authored-by: Capryc0rne <[email protected]>
Co-authored-by: Nicolas C. Capryc0rne <[email protected]>
Co-authored-by: KilianBre <[email protected]>
* first look of the user table

* pagination get users + DB

* remove auto refresh (to patch later)

* still working on table

* + Middleware isAdmin

* + Get Users
SortBy
Search
SearchBy
Pagination

* handle pagination

* Select cols ; quickjump (page) ;

* sort

* col width ; diff actions based on role ; display all cols button

* EditUser + refacto (create Utils.php)
update API

* DeleteUser + update API

* Block / unBlock user + update API

* patch Search by

* search

* get "isBlocked" + update API

* fixed Select cols width ; started create user

* modify icons and tooltip based on value

* add sort by "blocked"

* can block/unblock user

* delete user

* edit user ; fixed checkbox ; disable actions based on role

* get countries
+ update DB
+ update API

* countries patch

* Reset filter

* Fixed type error

* tooltips to cells

* fixed DB ;

* Display country flag and select country

* user patch
- by default user was admin
- country, city, postalCode can now be nullable

* on login, send all user Data to front

* change lexicon block to ban

* isBlocked -> isBanned ; countries component ; fixed pagination ;

* Update user types and file paths

* patch ban / unban

* make messages visible again

---------

Co-authored-by: Capryc0rne <[email protected]>
* first look of the user table

* pagination get users + DB

* remove auto refresh (to patch later)

* still working on table

* + Middleware isAdmin

* + Get Users
SortBy
Search
SearchBy
Pagination

* handle pagination

* Select cols ; quickjump (page) ;

* sort

* col width ; diff actions based on role ; display all cols button

* EditUser + refacto (create Utils.php)
update API

* DeleteUser + update API

* Block / unBlock user + update API

* patch Search by

* search

* get "isBlocked" + update API

* fixed Select cols width ; started create user

* modify icons and tooltip based on value

* add sort by "blocked"

* can block/unblock user

* delete user

* edit user ; fixed checkbox ; disable actions based on role

* get countries
+ update DB
+ update API

* countries patch

* Reset filter

* Fixed type error

* tooltips to cells

* fixed DB ;

* Display country flag and select country

* user patch
- by default user was admin
- country, city, postalCode can now be nullable

* on login, send all user Data to front

* change lexicon block to ban

* isBlocked -> isBanned ; countries component ; fixed pagination ;

* Update user types and file paths

* patch ban / unban

* make messages visible again

* Sharp dep' ; fixed header ; responsivness

Header wasn't collapsing. Fixed.
Installed Sharp dependency for image optimization (handle by nextjs).
Fixed responsivness.
Button to enable/disable fixed columns (email & action) for responsivness purposes.

* fixed header ; responsivness

* Refactor SelectCountry component and add documentation

---------

Co-authored-by: Capryc0rne <[email protected]>
UX on loadings states ;
+ log connections
+ api update
+ DB update
+ patch +1 day
+ update API
@khylpe khylpe merged commit 9d1ec95 into prod Aug 26, 2024
1 of 3 checks passed
Copy link

cypress bot commented Aug 26, 2024

Ressources relationnelles    Run #317

Run Properties:  status check failed Failed #317  •  git commit 9d1ec95327: Jenkins (#39)
Project Ressources relationnelles
Branch Review prod
Run status status check failed Failed #317
Run duration 11m 57s
Commit git commit 9d1ec95327: Jenkins (#39)
Committer Arthur CRAHÉ
View all properties for this run ↗︎

Test results
Tests that failed  Failures 21
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Tests for review

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants