-
Notifications
You must be signed in to change notification settings - Fork 1
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
release new version #186
Open
kaitoz11
wants to merge
163
commits into
main
Choose a base branch
from
dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
release new version #186
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
* feat: auth with refresh token and jwe using cookies scheme * feat: log out * add: data seed * add: validate endpoint * refactor: change implementation to removing cookies * fix: disable command not handle all cases and refactor something * add: seed env * add: allow credentials * update: origin localhost 3000 on dev * fix: revert to any origin
* feat: auth with refresh token and jwe using cookies scheme * feat: log out * add: data seed * add: validate endpoint * refactor: change implementation to removing cookies * fix: disable command not handle all cases and refactor something * add: seed env * add: allow credentials * update: origin localhost 3000 on dev * fix: revert to any origin * fix: revert to local 3000
* feat: auth with refresh token and jwe using cookies scheme * feat: log out * add: data seed * add: validate endpoint * refactor: change implementation to removing cookies * fix: disable command not handle all cases and refactor something * add: seed env * add: allow credentials * update: origin localhost 3000 on dev * fix: revert to any origin * fix: revert to local 3000 * fix: refresh endpoint no need to be authorized
* feat: auth with refresh token and jwe using cookies scheme * feat: log out * add: data seed * add: validate endpoint * refactor: change implementation to removing cookies * fix: disable command not handle all cases and refactor something * add: seed env * add: allow credentials * update: origin localhost 3000 on dev * fix: revert to any origin * fix: revert to local 3000 * fix: refresh endpoint no need to be authorized * update: authentication exception now return 400 instead of 401
…efresh tokens are now persistent instead of fleeting (#104)
* fix: logout not working * fix: so is refresh * fix: something
* refactor(ExceptionMiddleware.cs): add static modifier to handle methods * refactor(AuthController.cs): add ProduceResponseType to endpoints * refactor(Departments): error message * refactor(controller): Auth, Departments, Documents, Folders, Locker * refactor most api endpoints
* update: refresh and login endpoint now delete db refresh tokens and refresh tokens are now persistent instead of fleeting * update: refresh token rotation
* add: GetDepartmentById, UpdateDepartment, DeleteDepartment, EnableRoom endpoints * add: update room command and endpoint * add: get by id command and endpoint * add: documentation on endpoints I forgot to add * fix: change annotation with some documentation and get all room paginated endpoint * fix: change annotation with some documentation and get all room paginated endpoint pt2 * add: remove locker endpoint and command * add: update locker command and request * add: get locker by id endpoint and command * add: get all lockers paginated query and endpoint * add: enable folder command and endpoint * add: remove folder command and endpoint * add: get folder by id query and endpoint * add: get all folders paginated query and endpoint * add: update folder command and endpoint * add: update document command and endpoint * add: delete document command and endpoint * add: update user command and endpoint * add: get user by id query and endpoint * add: get all users paginated query and endpoint * add: remove staff from room command and endpoint * add: get staff by id query and endpoint * add: get all staffs paginated query and endpoint * add: get staff by room query and endpoint * chore: merge from dev * add: enable user command and endpoint
* refactor: controller endpoints * refactor: application features' name * refactor: remove some dependencies from tests * refactor: swagger schema and controller parameters * add: base class fixture methods * refactor: alter some schema * fix: add folder tests * refactor: again * add: api documentation * fix: i forgot this * migrations: a room now link to a department, fixed all problems related to tests
Code quality
* add: integration test * feat: get room by id * refactor: remove unesscary validator and refactor name of handler --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test * feat: enable room * fix: resolve test * add: add validator for enable room * refactor: remove unesscary validator and refactor name of handler * refactor: grammar for a happy chien-san --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test * fix: something * feat: implement remove locker fix: refactoring * refactoring * refactoring --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test * feat: implement update locker DOT IN TEST EXCEPTION MESSAGE, CHIEN * Update GetAllDepartments.cs (temporary workaround until chien provides a solution) * fuck chiến * Update UpdateLocker.cs * test * remove: exclude admin department --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test and implementation * add: i forgot this * add: search
* add: integration test and implementation * add: i forgot this * add: search * fix: search term untranslatable
* add: integration test * feat(GetFolderById.cs): implementation for get folder by id --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test * feat: get user by id * refactor: added a dot for convention --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test * feat: update user * refactor: add validator --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test and implementation * fix: my life * fix: my life again * add: search * forgive: me * fix: search term untranslatable
* add: integration test * update: error message in test * feat: update a room * refactor: add validator and fix grammar * fix: my soul * refactor: validator refactor to fit with project convention --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test and implementation * fix: my life again * add: search * fix: search term untranslatable
* add: Remove staff * test: add test for remove staff * test: add test * add: documentation for endpoint
* add: integration test * feat: implement get department by id --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test * feat: implement get locker my id --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test * update folder feature and fix tests --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* add: integration test * feat(RemoveFolder.cs): add remove folder feature * Fix(RemoveFolderTest.cs): Sorry for not doing review code properly. Lesson learnt: never trust codes from a sleepy coder! * fix: number of folder in locker decrease by 1 --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* fix: admin can see borrow request by id * la la la la
* refactor: move get all request logs to logging folder * fix: create and get entry now accept unicode * add regex validator for entry name. * fix: file extension when download * fix: stoopid 1 * fix: sorry bao san --------- Co-authored-by: StarryFolf <[email protected]>
* add: overdue worker service * fix: get logs search term * stoopid me
* fix entry related stuff * a --------- Co-authored-by: Nguyen Quang Chien <[email protected]>
* feat: users tracking * change: upload file
* xxx * xyz * ehehe
* add: dashboard controller * Feat/import document number (#393) * add: metric for import document count * log fucked up * minor stuff * get login users metric * stoopid 2 * minor changes * add: get user with largest drive * fix: appsettings * i --------- Co-authored-by: Vzart <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.