This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ressources * Rajout front (/creer-ressource, une-ressource/id, /ressrouces) * Create layout.tsx * Modification affichage des ressources Autres points d'améliorations : - Faire l'affichage d'une ressource (par catégorie) -Terminer les filtres -Rajouter des détails * Update page.tsx * Modification créer/liste ressource Rajout envoi de l'idUser et ressource publique (true/false) * add type + DB + API v26 * badge number of categories * Création du back getARessource * stats/users + API + CR of ressources * dashboard & some details * fix build errors * add "+1" to view_count * ressource update live * CreateRessource API DB * working on create ressource * withCredentials * accept/reject + API * [Back-office] Ressource pages * Ressources pages & middleware * accept/reject/block pending accepted/rejected/blocked + API * subfolder for ressource management * first look of pending ressources with partial mocks * accept / reject / block a ressource * popconfirm on actions * jsp si j'ai tout cassé start REFACTO category / ressource API * getRessource * test without mock * j'ai pas test * Fixed layout * Nouvelle hiérarchisation des fichiers (connected) - (disconnected) * refacto + add myRessources + API * stats ressources + myRessources + API * Only view profil (update is disable for the moment (not dev) ) (#27) * Commit des modification sur le profil + branche basée sur dev * Update général Rajout layout global pour le front office + rajout dashboard + modification de l'affichage du profil par le user provider + rajout drapeaux sur l'affichage du profil * Update page.tsx * update * Update général fonctionnalité viewUpdateProfil * Update header.tsx * Update header.tsx * Modification du component PasswordInput Rajout boolean useRegex (true/false) * Disable bouton "Modifier" car la fonctionnalité n'est pas encore développée * fixed layouts & folders * fixed build error * List of pending ressources in "my ressources" * Disable modifier on view profil * UX for disabled modify on profil * Moved Page Summarry component * add staffComment + API + DB * add staffComment to /block (patch to post) + API * add profile picture random on create / signup + DB (new table) * change route to "ressource/create" add route edit + API * edit route correction * delete route + API * change access stats ressource * edit ressource all field required. * dashboard preview for ressources stats * fixed create ressource endpoint * fixed build error * comments for refuse & block ressource * staff comment to ressource type for block & refuse ressource * Edit a ressource * UI tabs for mes-ressources * accepted / blocked / refused ressources * Change api / user api / users api / category + API * remove disabled ressources from sidebar * delete ressource by moderator + + API * Si la ressource n'est pas acceptée, seul l'owner et le staff peuvent la voir * delete a ressource & display a ressource * recommended extensions * fixed verify email Since an unverified account can log in, the verification-email page must be accessible to everyone * Modification viewAndUpdate profile création composant "changeUserPassword" + modification de la page profil existante * Update couleur border viewAndUpdateProfile * Ajout des mentions légales * refractor ressources accordions * Rajout des bouton supprimer profil/données profil + récuperer ses données * Profil : align to left * edit swagger * scroll admin sidebar * List des catégories + affichage des ressources par catégorie * empty email & password test * wrong credentials & pipeline * remove right credentials tests * Update cypress.yml * Par pitié le K * test * test password visibility * test empty signup * Init test DB ! create the DB and import it before test :) * fixed middleware * Display empty element if no ressources to display * test cookies * test login right credentials * dashboard tests * update layouts, not found page and routing * button link to homepage * more tests Categories test must be based on ressources branch * Update Test DB * some tests * show empty component when no ressources * remove ressources list from header remove ressources list from header since ressources are available through the categories * reroute user based on role * display modify ressource only if owner * display list of ressources --------- Co-authored-by: KilianBre <[email protected]> Co-authored-by: Capryc0rne <[email protected]>
- Loading branch information
1 parent
35ff9f9
commit c2b49a3
Showing
144 changed files
with
9,477 additions
and
2,334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Cypress Tests | ||
on: [push] | ||
jobs: | ||
cypress-run: | ||
runs-on: ubuntu-latest | ||
# Runs tests in parallel with matrix strategy https://docs.cypress.io/guides/guides/parallelization | ||
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs | ||
# Also see warning here https://github.com/cypress-io/github-action#parallel | ||
strategy: | ||
fail-fast: false # https://github.com/cypress-io/github-action/issues/48 | ||
matrix: | ||
containers: [1, 2] # Uses 2 parallel instances | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Cypress run | ||
# Uses the official Cypress GitHub action https://github.com/cypress-io/github-action | ||
uses: cypress-io/github-action@v6 | ||
with: | ||
# Starts web server for E2E tests - replace with your own server invocation | ||
# https://docs.cypress.io/guides/continuous-integration/introduction#Boot-your-server | ||
# we must cd in frontend | ||
working-directory: frontend | ||
install: npm install | ||
build: npm run build | ||
start: npm start | ||
wait-on: "http://localhost:3000" # Waits for above | ||
# Records to Cypress Cloud | ||
# https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record | ||
record: true | ||
parallel: true # Runs test in parallel using settings above | ||
env: | ||
# For recording and parallelization to work you must set your CYPRESS_RECORD_KEY | ||
# in GitHub repo → Settings → Secrets → Actions | ||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | ||
# Creating a token https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token | ||
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
.env | ||
.env.backup | ||
.env.production | ||
.env.testing | ||
.phpunit.result.cache | ||
Homestead.json | ||
Homestead.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.