Jason Rasmussen
755a1331da
chore(web,server): run code coverage reports ( #1313 )
...
* chore(web,server): run code coverage reports
* chore(tests): fail test check if coverage drops
* chore: disable e2e until they are fixed
* chore(web): coverage threshold
2023-01-12 16:07:57 -06:00
Alex
6db541c89b
chore(server) Update NestJs to V9 ( #1312 )
...
* chore(server) update nestjs to v9
* remove deadcode
* downgrade local-reverse-geocoder
* Added ignore script
* remove ignore script
* Fixed local-reverse-geocoder to a working version
* Fixed issue with eslint mismatch typescript version
* chore: remove unused package
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-01-12 16:07:27 -06:00
Jason Rasmussen
67c52c3764
chore(docs): contributing ( #1311 )
...
* chore(server): linting
* chore: contributing pr checklist
2023-01-12 08:44:11 -06:00
Jason Rasmussen
131caa20eb
refactor(server): domain/infra ( #1298 )
...
* refactor: user repository
* refactor: user module
* refactor: move database into infra
* refactor(cli): use user core
* chore: import path
* chore: tests
2023-01-11 21:34:36 -05:00
Alex Tran
96e786d480
Pump
2023-01-10 16:04:14 -06:00
Alex Tran
3c09482a93
Pump
2023-01-10 16:04:06 -06:00
Alex
a648da021f
fix(server) fix order of asset in shared album to be similar to the actual album ( #1293 )
2023-01-10 15:57:03 -06:00
Alex
2ffb7cab2e
fix(web) add disable property to generated shared link ( #1287 )
2023-01-10 10:34:16 -06:00
Alex
7add754fc3
fix(web) show exif info in public shared ( #1283 )
...
* fix(web) show exif in public share page
* Added exif info to return payload'
2023-01-10 10:03:15 -06:00
Alex Tran
10ff950bb8
Up version of openapi
2023-01-09 22:39:37 -06:00
Alex Tran
6b9a4a8d6f
pump
2023-01-09 22:12:17 -06:00
Jason Rasmussen
079ee658a5
fix(mobile): omit null values from json requests ( #1212 )
...
* chore: initial template
* feat: exlude null values
* chore: regenerate openapi
* chore: merge
* feat: store changes in a patch file
* feat: extract to sh script
* chore: regenerate openapi
* chore: remove duplicate file
* feat: generate mobile by itself
* Fixed number property not decorated correctly
* Revert hotfix, fix test
* Merge main
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-09 22:08:45 -06:00
Jason Rasmussen
bd838a71d1
feat(web,server): disable password login ( #1223 )
...
* feat(web,server): disable password login
* chore: unit tests
* chore: fix import
* chore: linting
* feat(cli): server command for enable/disable password login
* chore: update docs
* feat(web): confirm dialogue
* chore: linting
* chore: linting
* chore: linting
* chore: linting
* chore: linting
* chore: fix web test
* chore: server unit tests
2023-01-09 16:32:58 -05:00
Alex
10789503c1
feat(web/server) public album sharing ( #1266 )
2023-01-09 14:16:08 -06:00
Jason Rasmussen
fd15cdbf40
fix(server): log user delete errors ( #1255 )
2023-01-04 15:33:13 -06:00
Jason Rasmussen
9e6d6b2532
feat(web,server): api keys ( #1244 )
...
* feat(server): api keys
* chore: open-api
* feat(web): api keys
* fix: remove keys when deleting a user
2023-01-02 14:22:33 -06:00
Jason Rasmussen
d9fa6619e7
refactor(server): imports and repository tokens ( #1220 )
...
* refactor: entity imports
* refactor: rename user repository token
* chore: merge imports
* refactor: rename album repository token
* refactor: rename asset repository token
* refactor: rename tag repository token
2022-12-30 07:22:06 -06:00
bt90
16b763e086
fix(docker-build): start main process with exec ( #1210 )
...
* Use exec
* Appl shellcheck fixes
* Close with newline
2022-12-29 14:49:02 -06:00
Jason Rasmussen
6974d4068b
feat(server): mobile oauth with custom scheme redirect uri ( #1204 )
...
* feat(server): support providers without support for custom schemas
* chore: unit tests
* chore: test mobile override
* chore: add details to the docs
2022-12-29 14:47:30 -06:00
Alex
1eb9ac8217
fix(server) Cannot change first time password due to null in first and last name payload ( #1205 )
...
* fix(server) Cannot change first time password due to null in first and last name payload
* Added error message for form on the web
2022-12-28 21:07:04 -06:00
Jason Rasmussen
c032cfd99e
chore(server): fix unit test ( #1194 )
2022-12-27 20:29:58 -06:00
Jason Rasmussen
380f719fd8
feat(server,web): update email address ( #1186 )
...
* feat: change email
* test: change email
2022-12-27 10:36:31 -06:00
Alex
fdf51a8855
chore(server) Increase cache-control time ( #1189 )
...
* chore(server) Increase cache-control time
* Update version for openapi
2022-12-27 10:13:44 -06:00
Alex Tran
9c38cc42f6
Up version for release
2022-12-27 09:53:04 -06:00
Jason Rasmussen
c27c89a680
feat(server): extend jwt expiration ( #1187 )
2022-12-27 09:42:01 -06:00
Jason Rasmussen
4e860b024b
refactor(server): drop salt column ( #1185 )
2022-12-26 23:03:14 -05:00
Jason Rasmussen
0c896d9e59
test(server): change password ( #1177 )
2022-12-26 16:36:06 -06:00
Jason Rasmussen
7dc12dea1e
feat(web,server): link/unlink oauth account ( #1154 )
...
* feat(web,server): link/unlink oauth account
* chore: linting
* fix: broken oauth callback
* fix: user core bugs
* fix: tests
* fix: use user response
* chore: update docs
* feat: prevent the same oauth account from being linked twice
* chore: mock logger
2022-12-26 09:35:52 -06:00
Jaime Baez
20c5578470
Make user business logic reusable ( #1114 )
...
- Refactor user business logic from `user.service` into `user.domain`
Make user business logic reusable by using `user.domain` from other services than `user.service`
- Add `jest-when` lib to make testing easier and use it in `userService`
Using when helps from coupling tests to order of mock implementations execution
- Move all user business logic from user-repository to user.service
- Fix user.service tests not awaiting promises leaking state between tests
- Presentation logic for `getUserProfileImage` moved from UserService to UserController
- Fix `user.e2e` test logic. Pending fixing the configuration of the test itself
2022-12-23 21:08:50 +01:00
Alex Tran
ab56ab9b27
Added log for unsupported Mime type
2022-12-22 21:24:28 -06:00
Jason Rasmussen
7966c925ea
fix: increase oauth timeout ( #1155 )
2022-12-21 14:44:28 -06:00
Jason Rasmussen
14db7a09e3
feat(web): user profile ( #1148 )
...
* fix: allow updateUser for admin account
* feat: update user first/last name
* feat(web): change password
2022-12-21 08:43:35 -06:00
Jason Rasmussen
21d6874e54
fix(server) utf8 original filename ( #1147 )
2022-12-20 21:46:57 -06:00
Alex Tran
69661879eb
Update openapi version
2022-12-19 13:56:25 -06:00
Alex
b88e24678b
Up version for release
2022-12-19 12:27:07 -06:00
Alex
de69d0031e
chore(server) Add job for storage migration ( #1117 )
2022-12-19 12:13:10 -06:00
Alex
c754c860fd
feat(server) user-defined storage structure ( #1098 )
...
[Breaking] newly uploaded file will conform to the default structure of `{uploadLocation}/{userId}/year/year-month-day/filename.ext`
2022-12-16 14:26:12 -06:00
Alex Tran
1efcac0946
Pump Patch
2022-12-11 14:25:51 -06:00
Matthias Rupp
415550f16d
fix(server): Allow access to assets in shared album owned by current user ( #1094 )
...
* fix(server): Allow access to assets in shared album owned by current user
* Fix sql query
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-12-11 14:24:06 -06:00
Alex
2876c7ff97
Fix(server) Microservice didn't trigger to remove user ( #1090 )
2022-12-10 18:01:29 -06:00
Alex Tran
f2cc7c2873
Fix(server) fix cannot change user password from mobile app due to first and last name property don't get passed from the app
2022-12-10 10:36:41 -06:00
Alex Tran
09103dc981
Fixed upsert new DeviceInfo with null isAutoBackup property
2022-12-10 08:36:21 -06:00
Jason Rasmussen
242165485d
fix(server): unique email database constraint ( #1082 )
2022-12-09 21:16:25 -06:00
Alex Tran
e6904ca884
api spec sync
2022-12-09 21:15:53 -06:00
Alex
0633eaf68c
Pump
2022-12-09 15:19:22 -06:00
Jason Rasmussen
14889e7d85
fix(server): require local admin account ( #1070 )
2022-12-09 14:53:11 -06:00
Jason Rasmussen
3bb103c6b6
fix(server): link 'immich' ( #1080 )
2022-12-09 14:52:56 -06:00
Jason Rasmussen
5e680551b9
feat(server,web): migrate oauth settings from env to system config ( #1061 )
2022-12-09 14:51:42 -06:00
Jason Rasmussen
cefdd86b7f
refactor(server): device info service ( #1071 )
...
* refactor(server): device info service
* use upsertDeviceInfo in mobile app
* fix: return types and dedupe code
Co-authored-by: Fynn Petersen-Frey <zoodyy@users.noreply.github.com>
2022-12-08 09:57:07 -06:00
Jason Rasmussen
58a149990d
refactor(server): server version logging ( #1073 )
...
* refactor(server): server version logging
* chore: server => microservices
2022-12-08 09:53:18 -06:00