This repository was archived by the owner on May 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Refacto, admin dashboard (entry, users, info) and filestorage #122
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* remove route and middleware from login * add route and middleware at module declaration * remove auto-discovering controller * remove express init * remove useless regex * Separate (and rename) handler for password actions * Use models in controller instead of collection of models * Update routes for password management * delete arena, move all inside controllers * move middlewares to controllers * rename auth.js to index.js * Delete no more used files * WIP * add prettier * refactor list users * Refactore Register * refactore tournaments routes * add get ticket to user * move express init outside controllers * allow router parameter name to be customized * refactore create, delete and add user for teams * Refactore delete user from team * Add documentation on teams route module * Refactore GET `/teams/{id}` * remove email from response it's not needed * refactore teams list * Add check for edit * Refactore request and refuse request for teams * Refactore `/items` route * move routes to correct modules * Add ip middleware * refactore create network * remove bad return * refactore get all networks * refactore get on network by mac * remove deprecated files need to know more avout this former stats functionnality * rename to add-items because it's what it actually does * Rename/move/refactore get current cart * remove not used middleware * refactore add item to basket * refactore edit an item in cart * refactore delete item from cart * remove useless line * refactore list carts from user * refactore pay cart from user * refactore get one item from cart * refactore edit network * remove useless model + useless check * Add some kind of documentation * move etupay callback * move register to auth * add missing `../` * remove useless middleware * move `isAuth()` higher in the stack * isTeamPaid -> hasTeamPaid * move check password inside change-password module * move loginCheck in `login.js` * move resetCheck in `reset.js` * uncomment mail sending * add some documentation * add authentication on mail server * add `reset` email type * add online check for etupay * Refactore deleteAllCurentCart also rename it to `WipeItemsFromCart` * change indent * update route for `GetCurrentCart` * remove not used anymore `isAuth` * change to `post` * remove `console.log` * fix wrong model used * add userId var * refactore account validation
* feat: entry endpoint, clean useless middleware, add app.locals * feat: forcepay and search route * feat: utils search and hasCartPaid
* add dependency for mime-type * add route to get a file by its name * update .env.example to add ARENA_FILES_SERVE * fix lint
* feat: entry endpoint, clean useless middleware, add app.locals * feat: forcepay and search route * feat: list infos, post info * feat: delete info * fix: rename to request, response * fix: return QA, update .env.example * feat: add userId in info
* feat: entry endpoint, clean useless middleware, add app.locals * feat: forcepay and search route * feat: list infos, post info * feat: delete info * feat: list users * fix: rename to request, response * fix: return QA, update .env.example * feat: add userId in info * feat: paid filter * feat: refacto cartitem association * feat: add gigasearch and scanned filter * feat: add orga filter * feat: edit permissions place, add user carts to list * feat: externalise includes * feat: don't accept 'none' permission * feat: add user in custom include * feat: include all carts * fix: NO INJECTION * giga search : remove duplicated entries * fix etupay return route * Return users email in team * fix POST /team/:teamId/users route * Add refund cart route * require admin permission to refund a cart * Refacto user list route
florianess
previously approved these changes
Nov 23, 2019
florianess
approved these changes
Nov 25, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.