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

Feat/stripe #226

Closed
wants to merge 371 commits into from
Closed

Feat/stripe #226

wants to merge 371 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 4, 2021

  1. Feat/discord (#64)

    * feat: channel and role creation
    
    * fix: channel and role creation
    
    * fix: channel creation
    
    * fix: put syncRoles function when the team locks
    
    * fix: add clearRoles function for removing roles if the discord id changes
    
    * fix: adding tests for the syncRoles and setupTeams functions and road to syncRoles
    
    * fix: add tests and route
    
    * fix: fixed route and added description for api documentation
    
    * fix: added coaches and tournament resp to channels
    
    * fix: last modifications
    
    * fix: bot starting
    
    * fix(tests): tests should have an end and should pass
    
    * fix(tests): tests should actually end
    
    * Fix: Discord (#75)
    
    * feat: remake discord bot with only HTTP calls
    
    * fix: change ts file to d.ts file
    
    * fix: correct suggestions
    
    * fix: correct color for team role
    
    * fix: correct permissions
    
    * fix: apply suggestions
    
    * fix: increase coverage in some part of the code
    
    * fix: lint
    
    Co-authored-by: AlbanSdl <[email protected]>
    Co-authored-by: Thomas de Lachaux <[email protected]>
    3 people authored Oct 4, 2021
    Configuration menu
    Copy the full SHA
    5716dd7 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. fix(misc): fix coach limit blocking new players in team (#76)

    * fix(misc): fix coach limit blocking new players in team
    
    * smtp credentials are now in a an uri format
    * empty tables will now longer be rendered in emails
    * fixed localhost invalid redirect_uri for discord oauth
    
    * docs: update discord.md and fake.md
    AlbanSdl authored Oct 5, 2021
    Configuration menu
    Copy the full SHA
    72df595 View commit details
    Browse the repository at this point in the history
  2. fix(tickets): optional cartItemId to return current user ticket (#77)

    * fix(tickets): optional cartItemId to return current user ticket
    
    * tickets should not be sent as an email attachment when declared as sent in pdf format
    * tickets should be base64-encoded
    
    * test(tickets): fix coverage loss
    
    * fix(env): forgot this line in previous pr
    AlbanSdl authored Oct 5, 2021
    Configuration menu
    Copy the full SHA
    be11206 View commit details
    Browse the repository at this point in the history
  3. fix(deploy): package.json

    Saperlu committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    6a22a1d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4e2cd28 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be4dba1 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. Configuration menu
    Copy the full SHA
    d4f7ebe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    403d0c6 View commit details
    Browse the repository at this point in the history
  3. fix(tickets): emails now don't send the tickets as attachments (#82)

    * fix(tickets): emails now don't send the tickets as attachments
    
    * fix(tickets): fixed the failing test
    
    * fix(tickets): added back attachments to sendEmail function
    
    * fix(tickets): adapted the test to last changes
    CocoChart authored Oct 6, 2021
    Configuration menu
    Copy the full SHA
    68a4bc4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f91095 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Configuration menu
    Copy the full SHA
    5eaf3b8 View commit details
    Browse the repository at this point in the history
  2. fix(discord): take rate limit into account (#85)

    * fix(discord): solve rate limit issues
    
    * fix(discord): take rate limit headers into account
    
    * fix(discord): removed trailing log
    
    * fix(discord): fetch user loop fix
    
    * test(discord): add tests or codecov won't like my pr
    
    * test(discord): actually enable tests
    AlbanSdl authored Oct 7, 2021
    Configuration menu
    Copy the full SHA
    1b3ed79 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #86 from ungdev/dev

    MISE EN PROOOOOD
    ThomasLachaux authored Oct 7, 2021
    Configuration menu
    Copy the full SHA
    256a2df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c862775 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #87 from ungdev/fix/discord

    fix: correct discord channels
    ThomasLachaux authored Oct 7, 2021
    Configuration menu
    Copy the full SHA
    86e93b1 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #88 from ungdev/dev

    yolo
    ThomasLachaux authored Oct 7, 2021
    Configuration menu
    Copy the full SHA
    1444d16 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Configuration menu
    Copy the full SHA
    1d9d890 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c510ac9 View commit details
    Browse the repository at this point in the history
  3. fix: correct tests

    ThomasLachaux committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    8cbea54 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #89 from ungdev/fix/user

    fix(user): users should not be able to join a team when created another one
    ThomasLachaux authored Oct 8, 2021
    Configuration menu
    Copy the full SHA
    cff6ab7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #90 from ungdev/dev

    DEPLOIEMENT !!!!!!!
    ThomasLachaux authored Oct 8, 2021
    Configuration menu
    Copy the full SHA
    d9676df View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2021

  1. Configuration menu
    Copy the full SHA
    e9e6d35 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #92 from ungdev/dev

    fix(user): allow lastname to be two char length (#91)
    ThomasLachaux authored Oct 9, 2021
    Configuration menu
    Copy the full SHA
    a0adc6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c86c663 View commit details
    Browse the repository at this point in the history
  4. fix: correct testing

    ThomasLachaux committed Oct 9, 2021
    Configuration menu
    Copy the full SHA
    d4994ec View commit details
    Browse the repository at this point in the history
  5. fix: lint

    ThomasLachaux committed Oct 9, 2021
    Configuration menu
    Copy the full SHA
    e35079e View commit details
    Browse the repository at this point in the history
  6. fix: correct tests

    ThomasLachaux committed Oct 9, 2021
    Configuration menu
    Copy the full SHA
    5f68e27 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #93 from ungdev/fix/discord

    Fix/discord
    ThomasLachaux authored Oct 9, 2021
    Configuration menu
    Copy the full SHA
    d6765b0 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #94 from ungdev/dev

    prod
    ThomasLachaux authored Oct 9, 2021
    Configuration menu
    Copy the full SHA
    3cc2b45 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. fix(items): add the amount of item left (#95)

    * fix(items): added remaining item count to /items
    
    * fix(items): correct doc and added loop for tests
    AlbanSdl authored Oct 12, 2021
    Configuration menu
    Copy the full SHA
    ef61467 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. fix(team): a team should not be locked when coach(es) have not paid (#96

    )
    
    * fix(team): a team should not be locked when coach(es) have not paid
    
    * fix(validator): fixed RegExp
    AlbanSdl authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    70362ef View commit details
    Browse the repository at this point in the history
  2. Merge pull request #97 from ungdev/dev

    Update de la prod
    ThomasLachaux authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    7a967cd View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. Configuration menu
    Copy the full SHA
    4f659e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2021

  1. Admin email 101 (#101)

    * feat(email): added base of admin emails
    
    * fix(docs): fix documentation for /admin/emails
    
    * fix(emails): better mail delevery report
    
    * added tests for /admin/emails (for both GET and POST)
    * added filter for "sender" output
    * POST /admin/emails now returns the amount of errored and healthy deliveries
    * GET /admin/emails is fixed and will now return results on non prod envs
    * added betters checks for mail syntax
    
    * fix(emails): should also test for errors in GET /admin/emails
    
    * feat(emails): add email preview
    
    * preview sends the email to the sender only
    
    * fix(emails): anim are no longer authorized to send mails
    AlbanSdl authored Oct 22, 2021
    Configuration menu
    Copy the full SHA
    c70438b View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. fix/admin (#100)

    * fix(admin): modify users list count
    
    * fix(admin): user OR in db
    
    * fix(admin): test maybe broken
    
    * fix(admin): fix admin/users + try to fix admin/users/{cartId}/carts
    
    * fix(admin): restore permission access
    
    * fix(admin): fix bugs and tests, modify docs
    
    * fix(admin): fix search and tournament fields
    
    * fix(admin): applied suggested fixes but still use only search field
    
    * fix(admin): carts now return item names along with their ids
    
    * style(admin): don't fetch entire users table to count matches
    
    * fix(tests): increase coverage
    
    * style(validator): use validators to ensure that the page is a valid integer
    
    * fix(admin): 0 was not considered as being positive (see Joi issue #772)
    
    * fix: removed imports of prisma/client
    
    Co-authored-by: AlbanSdl <[email protected]>
    DevNono and AlbanSdl authored Oct 24, 2021
    Configuration menu
    Copy the full SHA
    2d8e267 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. Suppression des rôles discord (#103)

    * fix(discord): added team & tournament roles removal
    
    * test(discord): increase coverage
    
    * removed discord role removal for target user in POST
      /admin/users/{userId}/replace as the target user must
      not be part of a team (for now)
    
    * test: optimized createFakeUser and createFakeTeam
    
    * fix(user): remove unreachable code
    
    * this function was only called by tests
      the requests are catched by updateAdminUser allowing concurrent changes
    
    * fix(fake): yarn fake was broken
    
    * seriously, who has chosen to create a zero member team ?!
    
    * fix(oauth): attach user to sentry error, log oauth requests
    
    * fix(logs): error logs should include their affected users' id
    
    * test(discord): add shared discord api mock
    
    * fix: don't execute discord role removal while token is not set
    * fix: updateUser should remove the roles of the previous discord account
    AlbanSdl authored Oct 29, 2021
    Configuration menu
    Copy the full SHA
    42d4c98 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2021

  1. Corrections (#102)

    * docs: added documentation for permissions
    
    * fix: bug fixes, properties for admin panel, typings
    
    * the `User` type now has parsed permissions (a list instead of a string)
    * `PATCH /admin/users/{userId}` can now remove the discordId and the place of a user
    
    * fix: fixed tests
    
    * fix: removed unreachable code
    
    * fix: update function signatures from dev branch
    
    * customMessage can be null in `PATCH /admin/users/{userId}`
    
    * fix(admin): add more fields to `PATCH /admin/users/{userId}`
    
    * anims are now allowed to update users
    * `username`, `lastname`, `firstname` and `email` can be updated
      with this route
    * anims cannot edit `permissions`
    
    * fix: add plain text link below validation and password reset buttons
    
    * fix: permissions should not be cleared when omitted
    
    * fix(admin): `entry` permission is allowed to forcepay users
    
    Co-authored-by: Teddy Roncin <[email protected]>
    AlbanSdl and TeddyRoncin authored Oct 30, 2021
    Configuration menu
    Copy the full SHA
    b9c2a50 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. feat(logs): admins can now see logs (#98)

    * feat(logs): admins can now see logs
    
    * fix(logs): removed 'unknown' cast from request.query
    
    * fix(logs): added a test for "500" error
    
    * fix(logs): add log generated logs to tests
    
    * fix logs not retrieved when both `userId` and `teamId` are omitted
    * logs should use env pagination settings
    * logs should no longer be generated twice (eg. on team creation)
    
    * fix: remove useless checks
    
    Co-authored-by: AlbanSdl <[email protected]>
    CocoChart and AlbanSdl authored Oct 31, 2021
    Configuration menu
    Copy the full SHA
    49b0a29 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Merge pull request #104 from ungdev/dev

    PROOOOD
    ThomasLachaux authored Nov 2, 2021
    Configuration menu
    Copy the full SHA
    23dae31 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2021

  1. feat(admin): output of GET /admin/users is sorted (#105)

    * sort order: User#team#tournamentId then User#team#createdAt then User#team#id then User#type
    AlbanSdl authored Nov 6, 2021
    Configuration menu
    Copy the full SHA
    299bda6 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2021

  1. Configuration menu
    Copy the full SHA
    65a452f View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2021

  1. fix(entry): force-pay can now consume tickets (#108)

    * fix(entry): force-pay can now consume tickets
    
    * fixed `scannedAt` property not sent by the api (because filtered as `scanned`)
    
    * fix(tests): get user filters should also be renamed in tests
    
    * update docs
    
    * fix(entry): add manual entry validation from userId if qrcode is not readable
    
    * test(admin): more tests for user filtering
    
    * update docs to match against the new query options
    AlbanSdl authored Nov 21, 2021
    Configuration menu
    Copy the full SHA
    37639a1 View commit details
    Browse the repository at this point in the history
  2. fix(mails): added highlight route body, fix docs, more checks (#106)

    * fix(mails): added highlight route body, fix docs, more checks
    
    * users with unverified email will no longer receive emails from `/admin/emails`
    
    * fix(mails): docs fixes
    
    * real docs fixes this time...
    AlbanSdl authored Nov 21, 2021
    Configuration menu
    Copy the full SHA
    76e0f59 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3525d94 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #109 from ungdev/dev

    production (including: hotfix for shop items)
    AlbanSdl authored Nov 21, 2021
    Configuration menu
    Copy the full SHA
    85057ca View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. feat(user): add partner codes (#110)

    * feat: script and compumsacode in db
    
    * fix(compumsa): await code updates
    
    * fix: name
    
    * fix: script should be executed as javascript
    
    * fix: tests
    
    Co-authored-by: Saperlu <[email protected]>
    AlbanSdl and Saperlu authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    0cc2cf9 View commit details
    Browse the repository at this point in the history
  2. fix: tickets design (#107)

    * fix: tickets design
    
    * fix: use typings from the api
    
    * fix: updated tickets designs (:warning: open.jpg is outdated)
    
    * fix: updated open tournament ticket design
    
    Co-authored-by: AlbanSdl <[email protected]>
    Co-authored-by: Corentin Chartier <[email protected]>
    Co-authored-by: CocoChart <[email protected]>
    4 people authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    17202c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    126b355 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. feat: script to inform users about the discord server (#111)

    * feat: add script
    
    * feat: discord mail
    
    Co-authored-by: Saperlu <[email protected]>
    AlbanSdl and Saperlu authored Nov 24, 2021
    Configuration menu
    Copy the full SHA
    e093240 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev'

    Saperlu committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    caa4317 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. fix: mail script

    AlbanSdl committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    d36ef7b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #112 from ungdev/dev

    fix: mail script
    AlbanSdl authored Nov 25, 2021
    Configuration menu
    Copy the full SHA
    094d69f View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Configuration menu
    Copy the full SHA
    4a6643a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #113 from ungdev/dev

    Mise en prod
    AlbanSdl authored Nov 26, 2021
    Configuration menu
    Copy the full SHA
    db9cb9a View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Configuration menu
    Copy the full SHA
    dd08f8f View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. chore(deps): update dependencies

    * updated all dependencies except nanoid 4 (not compatible yet)
    * removed one broken test (which breaks other tests)
    * eslint ignored for typescript definition files (when using erased enums or exposed types)
    AlbanSdl committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    9a65784 View commit details
    Browse the repository at this point in the history
  2. fix: use nodejs 16

    AlbanSdl committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    6f302b4 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. refactor(carts): changed the way carts pricing work (#115)

    * refactor(carts): changed the way carts pricing work
    
    * Added a price and reducedPrice field in the prisma schema
    * Added a check so only people on the same team can pay each others tickets
    * Added a new error for users not in the same team
    * Added an applyPartnerDiscount utils function
    * Changed the way fetchUserItems works
    * Updated the openapi documentation accordingly
    * Updated the tests to work with the newly created fields
    * Updated the types according to that schema
    * Updated the necessary controllers to work with that new field (getCarts and createCart)
    
    * feat: reducedPrice working
    
    * feat: forcePaid field added
    
    * chore: linting and documentation
    Pulpss authored Sep 26, 2022
    Configuration menu
    Copy the full SHA
    2db84ce View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2022

  1. Configuration menu
    Copy the full SHA
    ed0271b View commit details
    Browse the repository at this point in the history
  2. feat: add individual team route (#117)

    * feat: add individual team route
    
    * fix: linting
    
    * feat: new test and api documentation
    DevNono authored Oct 1, 2022
    Configuration menu
    Copy the full SHA
    8bc3643 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. fix: removed spectator type (#116)

    * fix: removed spectator type
    
    * fix: removed spectator type
    
    * fix: deleted or edited non-functional tests
    
    * fix(test): now checking up-to-date prices
    
    Co-authored-by: AlbanSdl <[email protected]>
    CocoChart and AlbanSdl authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    5187c69 View commit details
    Browse the repository at this point in the history
  2. fix: users cannot join tournaments where ticket price is not the same…

    … as previously bought ticket (#120)
    
    * update discount count for ssbu
    AlbanSdl authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    28caaf6 View commit details
    Browse the repository at this point in the history
  3. Mail update (#119)

    * Mail update
    
    * fix: link
    
    * Update text
    
    * fix: typo
    
    Co-authored-by: AlbanSdl <[email protected]>
    Co-authored-by: Alban Sdl <[email protected]>
    3 people authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    d64d16e View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Configuration menu
    Copy the full SHA
    1fc70cf View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Configuration menu
    Copy the full SHA
    c642d8c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #123 from ungdev/dev

    Mise en prod (1)
    AlbanSdl authored Oct 7, 2022
    Configuration menu
    Copy the full SHA
    c19c319 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. fix: update all depedencies

    Thomas de Lachaux committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    d94aac0 View commit details
    Browse the repository at this point in the history
  2. fix: dummy change to trigger the CI

    Thomas de Lachaux committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    3110aa6 View commit details
    Browse the repository at this point in the history
  3. Revert "fix: dummy change to trigger the CI"

    This reverts commit 737dfc5.
    Thomas de Lachaux committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    b27b95f View commit details
    Browse the repository at this point in the history
  4. Revert "fix: update all depedencies"

    This reverts commit f321ed5.
    Thomas de Lachaux committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    75bbfdf View commit details
    Browse the repository at this point in the history
  5. fix: update all minor depedencies

    Thomas de Lachaux committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    79ad60d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #121 from ungdev/fix/update-deps

    fix: update all dependencies
    ThomasLachaux authored Oct 18, 2022
    Configuration menu
    Copy the full SHA
    37a7373 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2022

  1. fix: ssbu discount is not sent anymore when the user already paid for…

    … it (#122)
    
    * fix: ssbu discount is not sent anymore when the user already paid for it
    
    * fix: the createCart controller was not made to be using
         the modified version of the function fetchUserItems
    fix: the fetchUserItems was not properly implemented :
         it should only look for ssbu discounts in the payed or
         pending carts, not in the other ones (canceled, refused, refunded)
    test: added testing for the new feature of the route
    
    * fix: users could add multiple discounts to their cart
    
    * feat: route GET /items now returns the ssbu discount even if user has a pending cart containing it
    the "left" field is then -1
    TeddyRoncin authored Oct 22, 2022
    Configuration menu
    Copy the full SHA
    3d8c96d View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. feat: added a modify stock route (#126)

    * feat: added a modify stock route
    
    - Added a routre to modify the stock of an item
    - Added corresponding tests for the route
    - Added corresponding documentation in the openapi.yml
    
    * feat: added a route for AdminItem
    
    - Added a route to see the item as an admin
    - Added the corresponding documentation
    - Added the corresponding tests
    - Fixed some typos with the documentation
    - Changed the way to detect for non-existant items in the queries
    
    * feat: added a general AdminItem route
    
    - Changed the names of the files to better match the project structure
    - Added a GET admin/items route to see all the items at once for an
      admin
    - Added corresponding tests for the new route
    - Added corresponding documentation for the new route
    Pulpss authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    0c0be42 View commit details
    Browse the repository at this point in the history
  2. Revert "fix: removed spectator type (#116)" (#124)

    * Revert "fix: removed spectator type (#116)"
    
    This reverts commit 5187c69.
    
    * fix: updtated test with new price
    
    * fix: update pricing and ensure ticket price is the same as already paid
    
    * fix: add test for spectator ticket
    
    Co-authored-by: AlbanSdl <[email protected]>
    CocoChart and AlbanSdl authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    6340681 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. Merge branch 'dev'

    AlbanSdl committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    345356a View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2022

  1. Configuration menu
    Copy the full SHA
    c948339 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. fix: add support for rent items and attendant drop with stale carts (#…

    …127)
    
    * fix: add support for rent items and attendant drop with stale carts
    
    * fix: sql typo
    
    * fix: missing comma
    
    * fix(tests): add tests for createCarts (on pc rental)
    
    * fix: lint
    AlbanSdl authored Nov 13, 2022
    Configuration menu
    Copy the full SHA
    dcbc910 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. Merge pull request #128 from ungdev/dev

    La location passe en prod
    AlbanSdl authored Nov 14, 2022
    Configuration menu
    Copy the full SHA
    9909ee7 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. fix: check etupay callbacks

    AlbanSdl committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    c31c987 View commit details
    Browse the repository at this point in the history
  2. fix: callback check

    AlbanSdl committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    4a892fa View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Merge pull request #129 from ungdev/dev

    feat: add etupay callback checks
    AlbanSdl authored Nov 18, 2022
    Configuration menu
    Copy the full SHA
    06fe335 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. fix: use reduced price

    AlbanSdl committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    3679a06 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

  1. fix: updated the tickets (#131)

    * fix: updated the tickets
    
    - Removed all the previous ticket backgrounds
    - Added the new ticket background
    - Updated the text displayed on the ticket
    - Updated the font used
    - Additionally, removed the Valorant tournament from the db
    
    * fix: tickets tweaks
    
    * fix: lint
    
    Co-authored-by: AlbanSdl <[email protected]>
    Pulpss and AlbanSdl authored Nov 27, 2022
    Configuration menu
    Copy the full SHA
    c842d6a View commit details
    Browse the repository at this point in the history
  2. fix: update ticket style

    AlbanSdl committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    fcb0c50 View commit details
    Browse the repository at this point in the history
  3. fix: revert remove valorant tournament

    * don't remove this tournament from the prisma file for backwards compatibility
    AlbanSdl committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    c9b297b View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. Ajout du dépôt de matériel (#130)

    Important notice : The pull request has been merged event if incomplete in order to test front.
    
    * fix: users could add multiple discounts to their cart
    
    * feat: added tables RepoItem and RepoLog in database
    feat: added 4 new routes to manage repo
    
    * fix: new tables started with an uppercase letter
    
    * test: created tests for the 4 new routes
    feat: type RepoLog now contains field item
    fix: fixed many bugs in routes
    feat: changed how the POST route works. See PR for more info
    
    * style: linted
    
    * fix: id is required
    
    Co-authored-by: Teddy Roncin <[email protected]>
    AlbanSdl and Teddy Roncin authored Nov 29, 2022
    Configuration menu
    Copy the full SHA
    e5ddf2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5803d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d622ee1 View commit details
    Browse the repository at this point in the history
  4. fix: update dependencies

    AlbanSdl committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    6c28b01 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. Mail (#132)

    * Mail update
    
    * feat: added mail to send to players
    
    * feat(mails): merge different mails
    
    * fix: small changes
    
    * fix(mails): categories no more deduplicated
    
    * fix: update ticket filename
    
    * fix: update mail contents
    
    * fix: lint
    
    Co-authored-by: Maxime Gries <[email protected]>
    AlbanSdl and B4nanaJuice authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    f1ada92 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #133 from ungdev/dev

    Mise en prod
    AlbanSdl authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    d7f0ed6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00f56c9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #134 from ungdev/dev

    fix: send proper attachment with the mails
    AlbanSdl authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    4f5c0ce View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Configuration menu
    Copy the full SHA
    49f2939 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev'

    AlbanSdl committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    b0381ab View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. fix: dockerfile

    AlbanSdl committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    d55d1de View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev'

    AlbanSdl committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    43f7e33 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. Teasing 2023 (#136)

    * feat: add pnpm and remove yarn
    
    * fix: change validate and password reset
    
    * feat: add way more doc
    
    * fix: ci and Dockerfile
    
    * feat: add partners and tournaments edition
    
    * fix: package problems
    
    * feat: add fields to tournaments
    
    * fix: api issues with types
    
    * fix: issues with some types
    
    * feat: add settings change and file upload routes
    
    * fix: api
    
    * fix: syntax error in seed.sql
    
    * fix: remove images and rules properties from Tounament
    
    * feat: add login as admin even if login is disabled
    
    * fix: partners
    
    * fix: trombi value
    
    * feat: add required functions
    
    * fix: add shortName property to Tournament
    
    * fix: no shortName
    
    * feat: delete file
    
    * feat: add User creation
    
    * fix: casters are now fully working
    
    * fix: lint
    
    * feat: start adding documentation
    
    * fix: ci
    
    * fix: some tests
    
    * feat: add test for new tournaments display
    
    * feat: add documentation
    
    * fix: lint
    
    * feat: add some tests (that are currently not working)
    
    * feat: new tests
    
    * fix: lint
    
    * feat: more tests
    
    * fix: all tests works
    
    * fix: upload compression
    
    * docs: added a part to explain what is the global state in the docs
    
    * fix: remove compumsa
    
    * fix: typo
    
    * feat: docs and add upload fake api
    
    * feat: add docs
    
    * feat: add docs
    
    * fix: add docs
    
    * fix: upload files
    
    * fix: remove docs
    
    * fix: bits
    
    * feat: uploadfile
    
    * feat: improve test
    
    * fix: upload test are now working
    
    * feat: upload
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    DevNono and Teddy Roncin authored Sep 23, 2023
    Configuration menu
    Copy the full SHA
    53fdba7 View commit details
    Browse the repository at this point in the history
  2. fix: remove compumsa & repair docker build (#137)

    * fix: remove compumsa
    
    * fix: fix Dockerfile
    
    * fix: lint
    DevNono authored Sep 23, 2023
    Configuration menu
    Copy the full SHA
    24009e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Feat/pr template (#140)

    * feat: added a template for pull requests
    
    * fix: renamed file so that the name follows more the conventions
    TeddyRoncin authored Sep 28, 2023
    Configuration menu
    Copy the full SHA
    3c39425 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    13a54ea View commit details
    Browse the repository at this point in the history
  2. refactor: removed TournamentId enum (#143)

    * refactor: removed TournamentId enum
    
    * ci: linted
    TeddyRoncin authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    8cdb193 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Update/seed (#144)

    * fix: seed
    
    * fix: removed valorant
    
    * fix: readded items in seed.sql because tests were not passing
    
    * fix: a test in pdf.test.ts tried to create a team for the valorant tournament
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    TeddyRoncin and Teddy Roncin authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    b5f8035 View commit details
    Browse the repository at this point in the history
  2. fix: player count per tournament (#146)

    Co-authored-by: Teddy Roncin <[email protected]>
    TeddyRoncin and Teddy Roncin authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    a8e1841 View commit details
    Browse the repository at this point in the history
  3. fix: login (#148)

    * fix: login
    
    * fix: login
    
    * fix: seed
    
    * fix: login/pdf
    
    * fix: add more fixes
    DevNono authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    a1c41b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e09656 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #147 from ungdev/dev

    Landing website for 2023
    TeddyRoncin authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    1603a37 View commit details
    Browse the repository at this point in the history
  6. fix: settings

    DevNono committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    ac9682f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    31db91f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    809ad56 View commit details
    Browse the repository at this point in the history
  9. Feat: Allow early login for admin (#149)

    * fix: settings
    
    * fix: settings for early login
    DevNono authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    3333d71 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Configuration menu
    Copy the full SHA
    14abc29 View commit details
    Browse the repository at this point in the history
  2. Update pull_request_template.md

    translated the tasks part
    TeddyRoncin authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    d5aa27f View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. feat: add mails for 2023 and delete cascade on casters (#151)

    * feat: add mails for 2023 and delete cascade on casters
    
    * feat: update X logo and fix lint
    
    * fix: typo
    DevNono authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    fad7943 View commit details
    Browse the repository at this point in the history
  2. feat: resendEmail (#145)

    * feat: resend email route
    
    * fix: resendEmail tests and more
    
    * tournamentId validator
    * tournamentId typed better
    * added tests for resendEmail route
    * updated some tests accordingly
    
    * fix: reverted tournament changes
    
    * removed various errors and failes tests
    
    * refactor: put resend mail directly in the controller
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    Pulpss and Teddy Roncin authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    9bbbf74 View commit details
    Browse the repository at this point in the history
  3. Feat/remove team locking (#135)

    * refactor: removed routes for team locking
    refactor: when a cart is paid, refunded or forced paid, teams can be locked or unlocked
    
    * fix: bugs
    
    fix: we didn't check that the tournament wasn't full before locking the team
    
    fix: we didn't check that the team was full before locking team
    
    fix: discord was not setup
    
    * feat: added a queue for teams, so that they can be locked even if there is no place left
    fix: there was a problem when fetching player tickets in updateCart() operation
    
    * test: added tests
    
    * added tests for route POST /etupay/callback
    * removed tests for route POST /teams/current/lock
    
    * test: added tests for route POST /admin/users/:userId/force-pay
    
    * added the tests
    * fixed a bug where a team could be not full but force pay would still lock it
    (or put it on the waiting list)
    
    * fix: small corrections in the tests
    
    * fixed some typos in the name of the tests of the file etupay/callback.test.ts
    * added some await at the end of a test to make sure instructions have finished running
    
    * test: added tests for route POST /admin/carts/:cartId/refund
    
    * added tests
    * fixed a bug in file operations/carts.ts where the check of the name of the item was done wrong
    
    * style: linted
    
    * feat: when a players arrives/leaves a team, it may now lock/unlock the team
    
    * test: added tests for route DELETE /teams/current/users/current
    
    * added tests
    * changed signature of the kickUser method : it now takes the user and not only its id
    * fixed a bug where any type of members made the team be unlocked when they were kicked / they left
    * route DELETE /teams/current/users/current no longer needs the team to not be locked
    
    * test: added tests for route DELETE /teams/current/users/:userId
    
    * added tests
    * route DELETE /teams/current/users/:userId no longer needs the team to not be locked
    
    * test: tests for route POST /teams/current/join-requests/:userId
    
    * added tests
    * the team can now be locked to make the request (it will still return an error tho,
    but not due to the fact that it is locked, but instead that it is full)
    * fixed bugs with the remake of functions kickUser and joinTeam (in the team operations file)
    
    * style: linted
    
    * test: route DELETE /teams/current
    
    * added tests
    * team can now be locked to delete it
    * a team that is locked and deleted now lets its place to a team in the waiting list
    
    * fix: teams never needs to not be locked anymore
    
    * removed the middleware isTeamNotLocked, and its usages
    * removed the tests that tested that middleware
    
    * test: added some tests
    
    * added tests to verify a team in the queue would be moved to the locked teams
    if necessary with routes :
    	- DELETE /teams/current/users/:userId
    	- DELETE /teams/current/users/current
    	- POST /admin/carts/:cartId/refund
    
    * style: lint
    
    * linted code
    * for operation imports : replaced single function imports by gobal imports
    
    * feat: updated POST /admin/users/:userId/replace
    
    * team can now be locked OR in the queue
    * added test for that
    
    * fix(tests): fix discord oauth to add support for nodejs 18+ crypto module
    
    * fix: /tournaments route test
    * a test was not passing because there was neither casters nor cashprizes on the tournaments
    
    * fix: team lock when creating a solo team (tournament with one player team), and the player has paid
    
    * fix: refreshed pnpm-lock.yaml
    
    * fix: the lockfile should be useable now
    
    * fix: tests (csgo was still used instead of cs2)
    
    * fix: added more time in the timeout for tests POST /teams/current/join-requests/:userId
    
    * feat: route GET /teams/current now also returns the position of the team in the queue
    
    * fix: linted
    
    * test: only remove the created tournament in test "GET /teams/current"
    
    * fix: small fixes
    
    * typo in variable name
    * now returning null instead of undefined when team is not in queue
    
    * fix: csgo to cs2
    
    ---------
    
    Co-authored-by: AlbanSdl <[email protected]>
    Co-authored-by: Noah Grigis <[email protected]>
    Co-authored-by: Teddy Roncin <[email protected]>
    Co-authored-by: Noé Landré <[email protected]>
    5 people authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    b7afc61 View commit details
    Browse the repository at this point in the history
  4. Feat/pokemon player (#150)

    * feat: add pokemonplayerid in teams table -> db
    
    * fix: change Int type to String in Db
    
    * feat: add pokemonPlayerId to POST /teams endpoint parameters
    
    * feat: add pokemonplayerid in teams table -> db
    
    * fix: fix linter advices
    
    * fix: bugs
    
    * changed field pokemonPlayerId in table Tournament to String
    * return error on team creation if the pokemonPlayerId is not
    specified but the tournament is the pokemon tournament
    
    * feat: add test and fix issues on Prisma
    
    * docs: add some docs
    
    * fix: lint
    
    * fix: typo
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    Co-authored-by: Noé Landré <[email protected]>
    Co-authored-by: Noé Landré <[email protected]>
    4 people authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    fb77760 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. feat: item availability, checks at cart creation (#152)

    * feat: item availability, checks at cart creation
    
    * fix: it is now possible to modify the availability dates
    
    * it has been implemented in PATCH /admin/items/:id
    
    * fix: lint
    
    * feat: everything is now modifiable in the item
    
    * fix: also the route wasn't working 😄
    
    * feat: now passing the stockDifference and not the stock
    
    * now testing each transactionState
    * there is a brand new function to generate a fake cart
    
    * fix: lint
    
    ---------
    
    Co-authored-by: Pulpss <[email protected]>
    Co-authored-by: Teddy Roncin <[email protected]>
    3 people authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    b647a58 View commit details
    Browse the repository at this point in the history
  2. feat: add partners and tournament position (#153)

    * feat: add partners and tournament position
    
    * fix: tests ?
    
    * feat: add docs and fix tests
    
    * fix: add Partner code
    
    * fix: test and api
    
    * fix: review
    
    * fix: typo
    
    * fix: fixes
    
    * fix: fixes
    DevNono authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    241079d View commit details
    Browse the repository at this point in the history
  3. docs: added swagger documentation for route PATCH /admin/items/:itemId (

    #154)
    
    Co-authored-by: Teddy Roncin <[email protected]>
    Co-authored-by: Noé Landré <[email protected]>
    3 people authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    2d9474b View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. fix: discord oauth (#158)

    * fix: discord oauth
    
    * fix: lint
    DevNono authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    0ee6af2 View commit details
    Browse the repository at this point in the history
  2. fix: typo (#156)

    Co-authored-by: Teddy Roncin <[email protected]>
    DevNono and TeddyRoncin authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    0d3956c View commit details
    Browse the repository at this point in the history
  3. Feat/position in items (#160)

    * test: a tournament was modified in this test
    
    * feat: items now have a position
    
    * fix: forgot some commented code
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    TeddyRoncin and Teddy Roncin authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    225aacf View commit details
    Browse the repository at this point in the history
  4. feat: only 1 coach is allowed per 1-player-tournament team (#157)

    * feat: only 1 coach is allowed per 1-player-tournament team
    
    * The check for the number of coach is now done on request accept, and not on request creation
    * fixed a bug in PATCH /admin/tournaments/:tournamentId
    
    * fix: lint
    
    * test: they now all have a timeout of 30s
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    TeddyRoncin and Teddy Roncin authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    89a5319 View commit details
    Browse the repository at this point in the history
  5. fix: fixed crash when caster array was empty (#161)

    Co-authored-by: Teddy Roncin <[email protected]>
    TeddyRoncin and Teddy Roncin authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    317507b View commit details
    Browse the repository at this point in the history
  6. fix: any number of teams can now be created per tournament (#162)

    * fix: any number of teams can now be created per tournament
    
    * fix: lint
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    TeddyRoncin and Teddy Roncin authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    267e60f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f6f6242 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #163 from ungdev/dev

    Merge to master for shop 2023
    TeddyRoncin authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    0fc750b View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Discord team locking messages (#164)

    * refactor: removed routes for team locking
    refactor: when a cart is paid, refunded or forced paid, teams can be locked or unlocked
    
    * fix: bugs
    
    fix: we didn't check that the tournament wasn't full before locking the team
    
    fix: we didn't check that the team was full before locking team
    
    fix: discord was not setup
    
    * feat: added a queue for teams, so that they can be locked even if there is no place left
    fix: there was a problem when fetching player tickets in updateCart() operation
    
    * test: added tests
    
    * added tests for route POST /etupay/callback
    * removed tests for route POST /teams/current/lock
    
    * test: added tests for route POST /admin/users/:userId/force-pay
    
    * added the tests
    * fixed a bug where a team could be not full but force pay would still lock it
    (or put it on the waiting list)
    
    * fix: small corrections in the tests
    
    * fixed some typos in the name of the tests of the file etupay/callback.test.ts
    * added some await at the end of a test to make sure instructions have finished running
    
    * test: added tests for route POST /admin/carts/:cartId/refund
    
    * added tests
    * fixed a bug in file operations/carts.ts where the check of the name of the item was done wrong
    
    * style: linted
    
    * feat: when a players arrives/leaves a team, it may now lock/unlock the team
    
    * test: added tests for route DELETE /teams/current/users/current
    
    * added tests
    * changed signature of the kickUser method : it now takes the user and not only its id
    * fixed a bug where any type of members made the team be unlocked when they were kicked / they left
    * route DELETE /teams/current/users/current no longer needs the team to not be locked
    
    * test: added tests for route DELETE /teams/current/users/:userId
    
    * added tests
    * route DELETE /teams/current/users/:userId no longer needs the team to not be locked
    
    * test: tests for route POST /teams/current/join-requests/:userId
    
    * added tests
    * the team can now be locked to make the request (it will still return an error tho,
    but not due to the fact that it is locked, but instead that it is full)
    * fixed bugs with the remake of functions kickUser and joinTeam (in the team operations file)
    
    * style: linted
    
    * test: route DELETE /teams/current
    
    * added tests
    * team can now be locked to delete it
    * a team that is locked and deleted now lets its place to a team in the waiting list
    
    * fix: teams never needs to not be locked anymore
    
    * removed the middleware isTeamNotLocked, and its usages
    * removed the tests that tested that middleware
    
    * test: added some tests
    
    * added tests to verify a team in the queue would be moved to the locked teams
    if necessary with routes :
    	- DELETE /teams/current/users/:userId
    	- DELETE /teams/current/users/current
    	- POST /admin/carts/:cartId/refund
    
    * style: lint
    
    * linted code
    * for operation imports : replaced single function imports by gobal imports
    
    * feat: updated POST /admin/users/:userId/replace
    
    * team can now be locked OR in the queue
    * added test for that
    
    * fix(tests): fix discord oauth to add support for nodejs 18+ crypto module
    
    * fix: /tournaments route test
    * a test was not passing because there was neither casters nor cashprizes on the tournaments
    
    * fix: team lock when creating a solo team (tournament with one player team), and the player has paid
    
    * fix: refreshed pnpm-lock.yaml
    
    * fix: the lockfile should be useable now
    
    * fix: tests (csgo was still used instead of cs2)
    
    * fix: added more time in the timeout for tests POST /teams/current/join-requests/:userId
    
    * feat: add discord messages (webhooks) when a team is locked/unlocked
    
    * fix: tests + readded pnpm-lock.yaml
    
    * fix: lint
    
    * feat: count tournament places in discord locked messages
    
    * fix: removed unnecessary this.timeout(30000) at the beginning of some tests
    
    * fix: missing await + no need for player list when unlocking
    
    * fix: removed unnecessary eslint disabled in acceptRequest.test.ts
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    Co-authored-by: AlbanSdl <[email protected]>
    Co-authored-by: Noah Grigis <[email protected]>
    Co-authored-by: Teddy Roncin <[email protected]>
    Co-authored-by: Teddy Roncin <[email protected]>
    6 people authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    786e212 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00e05fa View commit details
    Browse the repository at this point in the history
  3. Discord team locking messages (#164) (#165)

    * refactor: removed routes for team locking
    refactor: when a cart is paid, refunded or forced paid, teams can be locked or unlocked
    
    * fix: bugs
    
    fix: we didn't check that the tournament wasn't full before locking the team
    
    fix: we didn't check that the team was full before locking team
    
    fix: discord was not setup
    
    * feat: added a queue for teams, so that they can be locked even if there is no place left
    fix: there was a problem when fetching player tickets in updateCart() operation
    
    * test: added tests
    
    * added tests for route POST /etupay/callback
    * removed tests for route POST /teams/current/lock
    
    * test: added tests for route POST /admin/users/:userId/force-pay
    
    * added the tests
    * fixed a bug where a team could be not full but force pay would still lock it
    (or put it on the waiting list)
    
    * fix: small corrections in the tests
    
    * fixed some typos in the name of the tests of the file etupay/callback.test.ts
    * added some await at the end of a test to make sure instructions have finished running
    
    * test: added tests for route POST /admin/carts/:cartId/refund
    
    * added tests
    * fixed a bug in file operations/carts.ts where the check of the name of the item was done wrong
    
    * style: linted
    
    * feat: when a players arrives/leaves a team, it may now lock/unlock the team
    
    * test: added tests for route DELETE /teams/current/users/current
    
    * added tests
    * changed signature of the kickUser method : it now takes the user and not only its id
    * fixed a bug where any type of members made the team be unlocked when they were kicked / they left
    * route DELETE /teams/current/users/current no longer needs the team to not be locked
    
    * test: added tests for route DELETE /teams/current/users/:userId
    
    * added tests
    * route DELETE /teams/current/users/:userId no longer needs the team to not be locked
    
    * test: tests for route POST /teams/current/join-requests/:userId
    
    * added tests
    * the team can now be locked to make the request (it will still return an error tho,
    but not due to the fact that it is locked, but instead that it is full)
    * fixed bugs with the remake of functions kickUser and joinTeam (in the team operations file)
    
    * style: linted
    
    * test: route DELETE /teams/current
    
    * added tests
    * team can now be locked to delete it
    * a team that is locked and deleted now lets its place to a team in the waiting list
    
    * fix: teams never needs to not be locked anymore
    
    * removed the middleware isTeamNotLocked, and its usages
    * removed the tests that tested that middleware
    
    * test: added some tests
    
    * added tests to verify a team in the queue would be moved to the locked teams
    if necessary with routes :
    	- DELETE /teams/current/users/:userId
    	- DELETE /teams/current/users/current
    	- POST /admin/carts/:cartId/refund
    
    * style: lint
    
    * linted code
    * for operation imports : replaced single function imports by gobal imports
    
    * feat: updated POST /admin/users/:userId/replace
    
    * team can now be locked OR in the queue
    * added test for that
    
    * fix(tests): fix discord oauth to add support for nodejs 18+ crypto module
    
    * fix: /tournaments route test
    * a test was not passing because there was neither casters nor cashprizes on the tournaments
    
    * fix: team lock when creating a solo team (tournament with one player team), and the player has paid
    
    * fix: refreshed pnpm-lock.yaml
    
    * fix: the lockfile should be useable now
    
    * fix: tests (csgo was still used instead of cs2)
    
    * fix: added more time in the timeout for tests POST /teams/current/join-requests/:userId
    
    * feat: add discord messages (webhooks) when a team is locked/unlocked
    
    * fix: tests + readded pnpm-lock.yaml
    
    * fix: lint
    
    * feat: count tournament places in discord locked messages
    
    * fix: removed unnecessary this.timeout(30000) at the beginning of some tests
    
    * fix: missing await + no need for player list when unlocking
    
    * fix: removed unnecessary eslint disabled in acceptRequest.test.ts
    
    ---------
    
    Co-authored-by: Noé Landré <[email protected]>
    Co-authored-by: AlbanSdl <[email protected]>
    Co-authored-by: Noah Grigis <[email protected]>
    Co-authored-by: Teddy Roncin <[email protected]>
    5 people authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    7c345d9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1cc9e5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #166 from ungdev/master

    Discord team locking messages (#164) (#165)
    TeddyRoncin authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    99ef39e View commit details
    Browse the repository at this point in the history
  6. Merge pull request #167 from ungdev/dev

    Merge pull request #166 from ungdev/master
    TeddyRoncin authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    241ba78 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. Merge pull request #170 from ungdev/master

    Merge pull request #167 from ungdev/dev
    DevNono authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    36cde35 View commit details
    Browse the repository at this point in the history
  2. fix: to find tickets, we were checking items with id ticket-player in…

    …stead of ticket-player* (#168)
    
    Co-authored-by: Teddy Roncin <[email protected]>
    DevNono and Teddy Roncin authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    448512b View commit details
    Browse the repository at this point in the history
  3. fix: lock teams bugs (#171)

    * fix: real
    
    * fix: delete coaches
    
    * fix: lint
    
    * fix: team
    
    * fix: lint
    DevNono authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    7cc4007 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #172 from ungdev/dev

    Fix: Make discord working with new lock system
    DevNono authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    ca057db View commit details
    Browse the repository at this point in the history
  5. feat: channels are now deleted when a team is unlocked (#173)

    * feat: channels are now deleted when a team is unlocked
    
    * fix: basically lint
    
    * fix: wait wtf ?
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    TeddyRoncin and Teddy Roncin authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    472fc2d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ce9c4a View commit details
    Browse the repository at this point in the history
  7. Merge pull request #174 from ungdev/dev

    feat: channels are now deleted when a team is unlocked (#173)
    DevNono authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    2a2a32e View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. feat: remove position sent to client (#176)

    * feat: remove position sent to client
    
    * fix: issue
    
    * fix: doc
    DevNono authored Oct 22, 2023
    Configuration menu
    Copy the full SHA
    f7cc8b5 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    5a4a6f4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #179 from ungdev/dev

    small change in tournament and partners positions
    TeddyRoncin authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    9d2186b View commit details
    Browse the repository at this point in the history
  3. fix: when ONE item was not available, no item was (#175)

    * fix: when ONE item was not available, no item was. wft
    
    * fix: hasPaid flag was not wrightly determined
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    Co-authored-by: Noé Landré <[email protected]>
    3 people authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    dda5f17 View commit details
    Browse the repository at this point in the history
  4. fix: table Tournament now also have a coachesPerTeam field (#180)

    * fix: table Tournament now also have a coachesPerTeam field
    
    * it is returned when a route returns a tournament
    * it can be modified by route PATCH /admin/tournaments/:id
    
    * feat: added the actual implementation of the coachesPerTeam field
    
    ---------
    
    Co-authored-by: Noé Landré <[email protected]>
    TeddyRoncin and DevNono authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    8090880 View commit details
    Browse the repository at this point in the history
  5. feat: now also send messages from route POST /contact to Discord (#178)

    * feat: now also send messages from route POST /contact to Discord
    
    * fix: lint
    TeddyRoncin authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    4618e72 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. fix: add ratelimiter (#177)

    Co-authored-by: Teddy Roncin <[email protected]>
    DevNono and TeddyRoncin authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    9f65306 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. fix: a lot of small problems of route PATCH /admin/tournaments/:id (#182

    )
    
    * fix: a lot of small problems of route PATCH /admin/tournaments/:id
    * when we increased the size of a tournament, teams in the queue would not be locked
    * you could modify the fields playersPerTeam, coachesPerTeam and position
    * an error is thrown if you try to set a maximum of teams that
      is smaller than the number of locked teams
    
    * fix: f**k codecov
    
    * fix: lint
    
    * test: rate limiter
    
    * fix: lint
    
    * fix: lint again
    * first commit : change Array(...) to new Array(...)
    * after relinting : do not use new Array(...)
    * so found a third way (ty chatgpt)
    TeddyRoncin authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    4923e88 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Feat/many fixes (#181)

    * feat: add items positions update route
    
    * feat: add partners description
    
    * fix: schema
    
    * fix: missing description
    
    * fix: schema prisma
    
    * feat: add cart stale state
    
    * feat: start implementation of scanStats
    
    * fix: scanStats
    
    * fix: lint
    
    * fix: remove line that will fail 50% of time
    
    * fix: all issues
    
    * fix: tests
    
    * fix: lint
    
    * fix: lint
    DevNono authored Oct 29, 2023
    Configuration menu
    Copy the full SHA
    fd5349f View commit details
    Browse the repository at this point in the history
  2. feat: there is now a proper test environment (#183)

    * feat: there is now a proper test environment
    * a new file .env.test is loaded when process.env.NODE_ENV is 'test'
    * 2 new commands in pnpm : schema:push and test:schema:push
    
    * refactor: environment variables from .env were still loaded
    
    * there is now no concept of not being able to load an environment variable
      in the env file as most of them cannot be put in process.env
    * now making a backup of environment variables before using importing prisma
    * added 4 assertions in the before and after functions in test setup
      to make sure that variables have not been loaded (tests should not rely on them)
    * more random change : tables repoLog, repoItem and cartItem are now cleared on test setup
    
    * fix: lint
    
    * well, disabled it
    
    * fix: unlint (env was loaded in the middle of the imports ; for clarity, put it on top)
    
    * fix: github tests not starting
    
    * whether the environment variables could be loaded or not in test,
      they would overwrite values in process.env
    
    * feat: database is now updated and seeded when tests start
    
    * fix: lint
    
    * fix: what ??? (seeding was not working in tests)
    
    * docs: updated readme
    
    * test: env module
    
    * docs: added the 2 new commands to the Commands section in the README
    
    ---------
    
    Co-authored-by: Noé Landré <[email protected]>
    TeddyRoncin and DevNono authored Oct 29, 2023
    Configuration menu
    Copy the full SHA
    8ec23b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    c922cb1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #185 from ungdev/dev

    Merge to master
    TeddyRoncin authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    5370a21 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. fix: schema prisma

    DevNono committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    7db56f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a463804 View commit details
    Browse the repository at this point in the history
  3. fix: schema prisma (#186)

    DevNono authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    30bb5a5 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. fix: username fixes

    DevNono committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    dc6886a View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. fix: mails

    DevNono committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    31e11be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdb892c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #189 from ungdev/dev

    Feat mails
    DevNono authored Nov 11, 2023
    Configuration menu
    Copy the full SHA
    983dbf6 View commit details
    Browse the repository at this point in the history
  4. fix: file upload

    DevNono committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5c4b2dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    17ef68e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e0b21c6 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #190 from ungdev/dev

    fix: file upload
    DevNono authored Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5230f01 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. feat: tickets are no longer returned when a tournament is full (#191)

    * feat: tickets are no longer returned when a tournament is full
    
    * fix: fixed tests and bugs
    
    * fix: tests, some bugs, a lot
    
    * fix: lint
    
    * fix: tests
    
    * fix: final test fix
    
    * fix: lint
    
    ---------
    
    Co-authored-by: Noé Landré <[email protected]>
    Co-authored-by: Noé Landré <[email protected]>
    3 people authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    9df5484 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2309e08 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #192 from ungdev/dev

    feat: tickets are no longer returned when a tournament is full (#191)
    DevNono authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    b13d00e View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. fix: tournaments env

    DevNono committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    d2ac693 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. feat: add compression to API

    DevNono committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    adc3278 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. fix: team request (#197)

    DevNono authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    33e8c6d View commit details
    Browse the repository at this point in the history
  2. feat: add ssbu mail

    DevNono committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    cf46888 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    668888a View commit details
    Browse the repository at this point in the history
  4. Merge pull request #195 from ungdev/dev

    Add compression and badge ability
    DevNono authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    f9f44fe View commit details
    Browse the repository at this point in the history
  5. fix: request team

    DevNono committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    68250e9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b7f2ebb View commit details
    Browse the repository at this point in the history
  7. Merge pull request #199 from ungdev/dev

    fix: request team
    DevNono authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    b8f0dca View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. fix: discord logs (#198)

    DevNono authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    3b84f43 View commit details
    Browse the repository at this point in the history
  2. fix: update dependencies (#196)

    * fix: update dependencies
    
    * fix: lint
    
    * fix: build
    
    ---------
    
    Co-authored-by: Noé Landré <[email protected]>
    TeddyRoncin and DevNono authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    8ab1199 View commit details
    Browse the repository at this point in the history
  3. fix: added commissions for orga users (#194)

    * fix: added commissions for orga users
    
    * added field orgaRoles in table users
    * added table OrgaRole
    * added route GET /users/orgas
    * removed user type orga as it was unused
    * added permission orga
    * added field orgaRoles createFakeUser to specify roles to the created user
    
    * feat: added all commissions
    
    * refactor: changed way commissions are stored
    
    * replaced enum Commission by a table. This allows for ordering and
      setting names for each commission
    * changed return template of route GET /users/orgas
    
    * fix: lint
    
    * fix: do not return orgas when trombi is deactivated
    
    * fix: now also return a masterCommission field
    
    * feat: added field color in table Commission
    
    * this field is also returned
    
    * fix: lint
    
    * feat: when a detailed user is returned, it's now also returning its roles as an organizers (if any)
    
    * test: tests should now pass
    
    * feat: it's now possible to search for multiple permissions on GET /admin/users
    
    * feat: added a route to fetch commissions
    
    * feat: added field orgaRoles in route PATCH /admin/users/:userId
    
    * fix: lint
    
    * fix: typo in openapi
    
    * fix: tests
    
    * field masterCommissionId was renamed to masterCommission on route GET /commissions
    * also updated documentation to match this change
    
    * fix: renamed file controller/fetchOrgas.ts to controller/getOrgas.ts for consistency
    
    * fix: typo
    TeddyRoncin authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    15d5f91 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9831c50 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #200 from ungdev/dev

    discord fixes + badges + dependencies updated
    TeddyRoncin authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    6469314 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    973c7dc View commit details
    Browse the repository at this point in the history
  2. feat: added an way to not have your personal data publically leaked w…

    …hen you are an orga (#201)
    
    * feat: added an way to not have your personal data publically leaked when you are an orga
    
    * modified route GET /users/orgas
    * added route PATCH /admin/users/trombi
    * added columns in table User to store orga preferences
    * added column in table User to store the file the photo is saved at
    
    * fix: test + lint
    
    * refactor: created table Orga to store everything related to orgas
    
    * fix: build on tests was not passing
    
    * fix: tests - there were a few errors 👀
    
    * fix: tests are finally passing
    
    * fix: lint
    
    * fix: route GET /admin/users now returns orga data
    
    * added a function to format orga data
    
    * fix: updated return of PATCH /admin/users/:userId
    
    * docs: openapi documentation
    
    * fix: lint
    
    * feat: route POST /auth/login now returns the orga field, containing orga informations
    
    * fix: allow # in usernames
    
    * fix: replaced PNGs and JPGs by WEBPs
    TeddyRoncin authored Nov 23, 2023
    Configuration menu
    Copy the full SHA
    674f9b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8723119 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #203 from ungdev/dev

    image to webp + trombi
    TeddyRoncin authored Nov 23, 2023
    Configuration menu
    Copy the full SHA
    5cd6ef9 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Feat/gmail (#188)

    * feat: add gmail support
    
    * fix: lint
    
    * fix: tests
    
    * fix: tests
    DevNono authored Nov 24, 2023
    Configuration menu
    Copy the full SHA
    a601298 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    411e873 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2967245 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #205 from ungdev/dev

    Add gmail smtp support and fix badges
    DevNono authored Nov 24, 2023
    Configuration menu
    Copy the full SHA
    0f09c3e View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2023

  1. feat: started adding support for storing main commission of any orga (#…

    …206)
    
    * feat: started adding support for storing main commission of any orga
    
    * added field mainCommission in table Orga
    * added an optional query parameter onlyMainCommission (default: false) in GET /users/orgas
    
    * feat: can now modify main commission in route PATCH /admin/users/:userId
    
    * docs: documentation for route PATCH /admin/users/:userId
    
    * fix: routes to get a user now also return the mainCommission attribute in the orga entry
    
    * refactor: there is now a foreign key between table Commission and column Orga.mainCommissionId
    
    * fix: lint and build
    
    * feat: added column nameOnBadge on table Commission
    
    * fix: issues
    
    * fix: issues with building
    
    * fix: test
    
    * fix: typo
    
    ---------
    
    Co-authored-by: Noé Landré <[email protected]>
    TeddyRoncin and DevNono authored Nov 25, 2023
    Configuration menu
    Copy the full SHA
    2eb3eed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c0abac View commit details
    Browse the repository at this point in the history
  3. fix: add uploads for orga (#207)

    * fix: add uploads for orga
    
    * fix: lint
    
    * fix: webp
    
    * fix: from .jpg to .webp
    
    * fix: tests for file upload
    DevNono authored Nov 25, 2023
    Configuration menu
    Copy the full SHA
    7bfa0cf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b8795d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. fix: seeding

    DevNono committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    820e90a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #209 from ungdev/dev

    Add better upload for orgas
    DevNono authored Nov 26, 2023
    Configuration menu
    Copy the full SHA
    bb94fef View commit details
    Browse the repository at this point in the history
  3. fix: orga

    DevNono committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    91341f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ecdb195 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #210 from ungdev/dev

    fix: orga
    DevNono authored Nov 26, 2023
    Configuration menu
    Copy the full SHA
    e3819e1 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    eecaccf View commit details
    Browse the repository at this point in the history
  2. Feat/new tickets (#212)

    * fix: new ticket
    
    * fix: add new tickets
    
    * fix: lint
    
    * fix: test
    
    * Update seed.sql
    DevNono authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    4693ab3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed506b2 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #214 from ungdev/dev

    Fix: tickets mail operation
    DevNono authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    56623ea View commit details
    Browse the repository at this point in the history
  5. fix: when the main commission was removed and the main commission was…

    … changed, it returned an error (#211)
    
    * fix: when the main commission was removed and the main commission was changed, it returned an error
    
    * fix: relying on front data
    
    * when an orga had a filename set in the database but didn't actually upload it,
      route PATCH /admin/users/:userId returned a 500
    
    * refactor: refactored checks for route PATCH /admin/users/:userId
    
    * there could be some issues if user was not an orga,
      if main commission was changed and the old one removed, ...
    
    * fix: codecov is a wonderful tool
    
    ---------
    
    Co-authored-by: Noé Landré <[email protected]>
    Co-authored-by: Noé Landré <[email protected]>
    3 people authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    dfda881 View commit details
    Browse the repository at this point in the history
  6. fix: mails

    DevNono committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    9e294c9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d3924b View commit details
    Browse the repository at this point in the history
  8. Merge pull request #215 from ungdev/dev

    Fix mails and small issues
    DevNono authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    bda3521 View commit details
    Browse the repository at this point in the history
  9. feat: add a test badge script (#193)

    * fix: badges
    
    * feat: split tickets and badges + update badges
    
    * feat: add images
    
    * feat: add openapi
    
    * fix: lint
    
    * fix: seed
    
    * fix: lint
    
    * fix: empty picture and remove osu! constraints
    
    * fix: badges issue
    
    * fix: badges
    
    * fix: lint
    
    * fix: tickets
    
    ---------
    
    Co-authored-by: Noé Landré <[email protected]>
    Co-authored-by: Theo <[email protected]>
    3 people authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    2c8d1aa View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    49eb6f6 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #216 from ungdev/dev

    feat: add a test badge script (#193)
    DevNono authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    fe889e4 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. test: now properly testing discord calls from team locking (and unloc… (

    #187)
    
    * test: now properly testing discord calls from team locking (and unlocking)
    
    * it would be great to verify that calls are actually really done
    * we may also add a way to disable the discord fake api rate limiter for tests,
      except in a specific test that would verify it works properly
    
    * fix: lint
    
    * fix: lint
    TeddyRoncin authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    7047a86 View commit details
    Browse the repository at this point in the history
  2. feat: include more the positionInQueue attribute (#155)

    * refactor: type Team now includes the "positionInQueue" attribute
    
    * tests are not done yet
    
    * fix: add positionInQueue dans les endpoints qui renvoient Team
    
    * feat: add a test case in GET /tournaments endpoint for positionInQueue
    
    * build: fixed
    
    * fix: lint
    
    * fix: removed 2 useless lines
    
    ---------
    
    Co-authored-by: Teddy Roncin <[email protected]>
    Co-authored-by: Theo K <[email protected]>
    3 people authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    5d4c28b View commit details
    Browse the repository at this point in the history
  3. Badges recto verso (#217)

    * fix: recto-verso
    
    * fix: badges
    
    * fix: lint
    
    ---------
    
    Co-authored-by: Theo <[email protected]>
    DevNono and SanKson7 authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    4602a3b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    acc7da7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #218 from ungdev/dev

    Better badges
    DevNono authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    285c916 View commit details
    Browse the repository at this point in the history
  6. fix: route GET /users/orgas was not working

    * added query parameter includeVieux to tell whether to return the vieux commission
    TeddyRoncin committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    57e59a9 View commit details
    Browse the repository at this point in the history
  7. Revert "fix: route GET /users/orgas was not working"

    This reverts commit 57e59a9.
    TeddyRoncin committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    fb9fcef View commit details
    Browse the repository at this point in the history
  8. fix: route GET /users/orgas was not working (#219)

    * fix: route GET /users/orgas was not working
    
    * added query parameter includeVieux to tell whether to return the vieux commission
    
    * fix: lint
    TeddyRoncin authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    69e6554 View commit details
    Browse the repository at this point in the history
  9. fix: new badges design

    DevNono committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    fa30064 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6506ca9 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #220 from ungdev/dev

    Fix badge design
    DevNono authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    7e57886 View commit details
    Browse the repository at this point in the history
  12. Fix/typo (#221)

    * fix: typo, wupsy
    
    * fix: the typo was present in more places than expected
    TeddyRoncin authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    d379fe5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    28d88a1 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #222 from ungdev/dev

    Fix/typo (#221)
    DevNono authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    8c4bea0 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Update LICENSE

    TeddyRoncin authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d96a739 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Fix/repo (#223)

    * fix: repo logs are ordered
    
    * fix: sort repo items
    
    * fix: changed error messages when user tries to add 2 computers at the same time
    TeddyRoncin authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    787ffe0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47d0a57 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. test: remove harcoded tournament ids from tests (#184)

    * 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
    TeddyRoncin authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    ee54593 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Configuration menu
    Copy the full SHA
    4bbfcdb View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Configuration menu
    Copy the full SHA
    de0d447 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a1cd9b View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Configuration menu
    Copy the full SHA
    41822d4 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    9e13934 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7eb8cc3 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    8235c66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e219819 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdee37b View commit details
    Browse the repository at this point in the history
  4. build: updated ci

    TeddyRoncin committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    155c8e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    fd14476 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    984f104 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Configuration menu
    Copy the full SHA
    a853329 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb7112b View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. fix: remove all references to etupay, fully integrated stripe price i…

    …ds in POST /users/current/carts
    TeddyRoncin committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    8cca47c View commit details
    Browse the repository at this point in the history
  2. fix: lint

    TeddyRoncin committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    6ed3b14 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1dd761 View commit details
    Browse the repository at this point in the history
  4. fix: added a comment

    TeddyRoncin committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    a6a454e View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    1db8476 View commit details
    Browse the repository at this point in the history
  2. fix: lint

    TeddyRoncin committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    ec1e601 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c699d8b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96d3476 View commit details
    Browse the repository at this point in the history