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

release new version #186

Open
wants to merge 163 commits into
base: main
Choose a base branch
from
Open

release new version #186

wants to merge 163 commits into from

Conversation

kaitoz11
Copy link
Member

@kaitoz11 kaitoz11 commented Jun 4, 2023

No description provided.

kaitoz11 and others added 30 commits May 26, 2023 10:07
* 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
* 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]>
ChienNQuang and others added 30 commits July 12, 2023 01:54
* 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
Labels
release new release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants