Uh oh!
There was an error while loading. Please reload this page.
test: add integration tests for approve borrow request - #204
Merged
Conversation
ChienNQuang
requested changes
Jun 7, 2023
ChienNQuang
left a comment
Member
There was a problem hiding this comment.
A few things need to be adjusted
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ChienNQuang pushed a commit
that referenced
this pull request
Jun 12, 2023
* test: add integration tests * fix: some stuff and add an assertion
ChienNQuang added a commit
that referenced
this pull request
Jun 21, 2023
* add: user group schema * add: digital files and entries schema * update: digital files and entries schema * add: dtos for new tables * add: base methods for entities * update: migrations indexing * test: add integration tests (#209) * test: add integration tests for approve borrow request (#204) * test: add integration tests * fix: some stuff and add an assertion * test: add integration tests for borrow document (#208) * test: add integration tests fix: time * fix and add stuffs * cleanup * Feat/reset password (#215) * add: reset password token entity, configuration, and added to app db context also renamed the parameter of OnModelCreating in ApplicationDbContext.cs to modelBuilder to satisfy SonarLint * chore: refactored SendResetPasswordHtmlMail method of IMailService.cs also: - Pass a reset password token hash so frontend can call the right link - Change one template variable name to ResetPasswordTokenHash and send the token along - Renamed HTMLMailData.cs to HtmlMailData.cs to satisfy sonarlint * add: IAuthDbContext.cs and registered it * chore: refactored IdentityService to be using abstractions instead of implementations * chore: add reset token creation logic to UserCreatedEventHandler.cs * chore: UserId foreign key naming in configuration * chore: add migrations for reset password token table * chore: modified service a little bit - Changing the way service registrations work so that 2 interfaces share the same instance - Pass the whole entity to event so that auth db context can get its id - I forgot the db context model snapshot * chore: tweaks how tokens are sent - send the token instead of the hashed version of it * add: endpoint and service to reset password * refactor: add salt (#224) * test: add unit test for password hashing * feat(SecurityUtil.cs): add password hashing implementation * refactor: add salt and pepper for password hashing * fix(IdentityService.cs): remove unused dependencies * fix: seed some more data and fix swagger not loading * add: logging entities * add: permission entity * add: request logs * add: document now has IsPrivate property and user log * add: current user service and permission manager * update: clear mapping for jwt claims * update: fix login * fix: something * add: logging to room, locker, folder creation and update * add: logging to users and staffs * update: restore import endpoint * Update/import (#239) * update: add audit and private status to document when create new import request * add: get all issued documents * add: checkin endpoint * add: approve and reject endpoint for document * finish: almost everything * reason * rename endpoint * a * modified: get all document now only return public document (#236) * get document log by id + get document logs paginated (#244) * permission * feat: get user log by id + get user logs paginated (#247) Co-authored-by: Vzart <85790072+Vzart@users.noreply.github.com> * feat: get folder log by id + get folder logs paginated (#251) * feat: get folder log by id + get folder logs paginated * fix: my skill issue --------- Co-authored-by: Vzart <85790072+Vzart@users.noreply.github.com> * Feat: implement get locker logs paginated + get locker log by id (#256) * feat: implement getting all logs and by Id for lockers * refactoring * refactoring * Update GetAllLockerLogsPaginated.cs * feat: implement get employees for the department the current user is in (#235) * feat: implement get employees for the department the current user is in * refactoring * Update GetAllEmployeesPaginated.cs * refactoring --------- Co-authored-by: Nguyen Quang Chien <87883163+ChienNQuang@users.noreply.github.com> * feat: get room log by ID and get room logs paginated (#241) * feat: get room log by ID and logs paginated * add: documentation for endpoints --------- Co-authored-by: Nguyen Quang Chien <87883163+ChienNQuang@users.noreply.github.com> * feat: implement get documents of a user (#240) * feat: implement get documents of a user * refactoring * feat: implement get request logs paginated + get request log by id (#257) * feat: implement get borrow request logs paginated + get borrow request log by id * added borrow type filter * refactoring * Update GetAllRequestLogsPaginated.cs * feat: get self documents (#238) * feat: get self documents * fix: minor stuff --------- Co-authored-by: Nguyen Quang Chien <87883163+ChienNQuang@users.noreply.github.com> * adsfads * fuck me * fuck me * fuck me 2 * fuck me 3 * fuck me 4 * haha * fuck me * i dont know what i do * fuck me 5 * borrow works now * refactor kinda oke i guess * fuck * add: migration for Logging * fix: migrations work now * test: borrow is end to end test ok I think, suppose, nothing gonna go wrong rite? * test: import request are done * final * Delete .fleet directory * final 2 --------- Co-authored-by: StarryFolf <67864500+StarryFolf@users.noreply.github.com> Co-authored-by: kaitozu <43519768+kaitoz11@users.noreply.github.com> Co-authored-by: Vzart <85790072+Vzart@users.noreply.github.com> Co-authored-by: Vzart <vo.dang.khoa.main@gmail.com>
This file contains hidden or 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
Sign up for freeto 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.