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

Shop 2024 #233

Merged
merged 27 commits into from
Sep 13, 2024
Merged

Shop 2024 #233

merged 27 commits into from
Sep 13, 2024

Conversation

TeddyRoncin
Copy link
Member

@TeddyRoncin TeddyRoncin commented Sep 13, 2024

Shop 2024

Ajout du shop pour 2024, fixes, remplacement de Etupay par Stripe

TeddyRoncin and others added 27 commits March 6, 2024 18:05
* test: started refactoring

* 2 new methods in operations/item : formatItem and fetchItem
* default parameter values in the createFakeTournament function

* fix: removed all harcoded tournament ids

* fix: removed all harcoded tournament ids from tests

* fix: lint

* fix: test

* fix: todo in createCart.test.ts
* feat: changed paying interface from etupay to stripe

* refactor: updated possible states, fixed some tests

* feat: started implementing a fake stripe api

* feat: added route PATCH /admin/items/stripe-sync

* test: added tests for routes PATCH /stripe/*

* fix: linted and moved Stripe instantiation

* test: added error handling test for route PATCH /admin/items/stripe-sync

* build: updated ci

* fix: pnpm version in github ci

* fix: "fixed" regex security issue

* docs: added documentation for routes + fixed some docs in general

* fix: removed deprecated fields in .env

* fix: remove all references to etupay, fully integrated stripe price ids in POST /users/current/carts

* fix: lint

* fix: explicited a piece of code

* fix: added a comment

* fix: stripe does not allow negative prices, now using coupons for items with negative price

* fix: lint

* feat: c'est bon, c'est codé

* feat: ok this time sync is really done with Stripe when items are modified

* fix: review

* fix: email autofilling payment fild

* fix: ouin ouin i had to drop almost everything, now using payment intents ouin ouin. btw doesnt work

* fix: finished what didn't work aka tests and compilation

* fix: review, removed references to "stale", lint

---------

Co-authored-by: Remi-pcn <[email protected]>
* refactor: upgraded all dependencies

* fix: github ci

* fix: sentry has changed

* Update ci.yml (#229)

* Coverage Increasing (#225)

* fix: first batch of tests

* fix: coverage goal

* fix: second batch

* fix: add some more coverage

* fix: test not stopping

* fix: unit tests

* fix: ci

* feat: add team test

* fix: improve badge coverage

* fix: lint

* fix: tests

* feat: improve badge coverage

* fix: test

* fix: respo Com

* fix: tests

---------

Co-authored-by: Teddy Roncin <[email protected]>

* fix: rolled back dependencies that create errors

* fix: lint

* fix: lint v2

---------

Co-authored-by: Noé Landré <[email protected]>
* fix: update schema and items variables

* fix: items can be update

* fix: boolean !== Boolean :|

* fix: item isn't found

* fix: items display works and attribut can be null

* fix: pnpm lint

* fix: set display = true by default

* fix: display logo

* fix: test

* feat: add more tests

---------

Co-authored-by: Antoine Dufils <[email protected]>
Co-authored-by: Antoine D <[email protected]>
Co-authored-by: Noé Landré <[email protected]>
Co-authored-by: Noé Landré <[email protected]>
* fix: replace 2023 with 2024

* fix: email colors

* fix: empty variables in env.ts & husky install depreciation

* fix: mail link to faq

* fix: null values with item updates

---------

Co-authored-by: Antoine Dufils <[email protected]>
Co-authored-by: Teddy Roncin <[email protected]>
@DevNono DevNono merged commit 4ca1d2d into master Sep 13, 2024
11 checks passed
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.

3 participants