Alex
0c582df962
feat(server) Add filetype variable to storage template ( #1337 )
...
* feat(server) Add filetype variable to storage template
* Remove console.log
* Added additional variable for full file type
2023-01-16 15:54:52 -06:00
Jason Rasmussen
1e2f02613f
refactor: reset admin password ( #1335 )
...
* refactor: reset-admin-password
* chore: docs
2023-01-16 12:09:04 -06:00
bo0tzz
b9b2b559a1
fix(database): Set connection timeout ( #1324 )
2023-01-14 09:06:59 -06:00
Jason Rasmussen
ba04b753de
refactor: logging ( #1318 )
2023-01-13 08:23:12 -06:00
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
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
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
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
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
Jason Rasmussen
4e860b024b
refactor(server): drop salt column ( #1185 )
2022-12-26 23:03:14 -05: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
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
2876c7ff97
Fix(server) Microservice didn't trigger to remove user ( #1090 )
2022-12-10 18:01:29 -06:00
Jason Rasmussen
242165485d
fix(server): unique email database constraint ( #1082 )
2022-12-09 21:16:25 -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
Alex
5de8ea162d
feat(server) Tagging system ( #1046 )
2022-12-05 11:56:44 -06:00
Jason Rasmussen
99854e90be
feat(server): link via profile.sub ( #1055 )
2022-12-03 21:59:24 -06:00
Alex Tran
6ed072f67b
Added migration needed for OIDC
2022-11-18 23:22:27 -06:00
Alex
8bc64be77b
feat: support iOS LivePhoto backup ( #950 )
2022-11-18 23:12:54 -06:00
Jason Rasmussen
b5d75e2016
feat(server,web): system config for admin ( #959 )
...
* feat: add admin config module for user configured config, uses it for ffmpeg
* feat: add api endpoint to retrieve admin config settings and values
* feat: add settings panel to admin page on web (wip)
* feat: add api endpoint to update the admin config
* chore: re-generate openapi spec after rebase
* refactor: move from admin config to system config naming
* chore: move away from UseGuards to new @Authenticated decorator
* style: dark mode styling for lists and fix conflicting colors
* wip: 2 column design, no edit button
* refactor: system config
* chore: generate open api
* chore: rm broken test
* chore: cleanup types
* refactor: config module names
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
Co-authored-by: Zack Pollard <zack.pollard@moonpig.com>
2022-11-14 22:39:32 -06:00
Jason Rasmussen
d3c35ec9c5
feat(server,web): OIDC Implementation ( #884 )
...
* chore: merge
* feat: nullable password
* feat: server debugger
* chore: regenerate api
* feat: auto-register flag
* refactor: oauth endpoints
* chore: regenerate api
* fix: default scope configuration
* refactor: pass in redirect uri from client
* chore: docs
* fix: bugs
* refactor: auth services and user repository
* fix: select password
* fix: tests
* fix: get signing algorithm from discovery document
* refactor: cookie constants
* feat: oauth logout
* test: auth services
* fix: query param check
* fix: regenerate open-api
2022-11-14 20:24:25 -06:00
Zeeshan Khan
fe4b307fe6
feat(server,web): Delete and restore user from the admin portal ( #935 )
...
* delete and restore user from admin UI
* addressed review comments and fix e2e test
* added cron job to delete user, and some formatting changes
* addressed review comments
* adding missing queue registration
2022-11-07 15:53:47 -06:00
Zeeshan Khan
a6eea4d096
feat(web) add asset count stats on admin page ( #843 )
2022-10-23 16:54:54 -05:00
bo0tzz
87ba99755b
Remove unused variable
2022-10-13 22:17:31 +02:00
bo0tzz
c03f860f8e
Log a warning if JWT_SECRET key does not have enough bits
2022-10-13 21:54:29 +02:00
Alex
7587f858ae
feat(server/web) Add manual job trigger mechanism to the web ( #767 )
2022-10-06 11:25:54 -05:00
Zack Pollard
c33775b944
feat(server): missing exif extract nightly task ( #754 )
...
* fix: nightly reverse geocoding task checking for mapbox
* refactor: remove file size from image processor and queue data
* feat: add missing exif nightly job
* Remove filesize requirement in assetUploadedProcessorName queue insertion
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-09-28 05:41:50 -05:00
Zack Pollard
f377b64065
feat(server) Remove mapbox and use local reverse geocoding ( #738 )
...
* feat: local reverse geocoding implementation, removes mapbox
* Disable non-null tslintrule
* Disable non-null tslintrule
* Remove tsignore
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-09-22 21:50:05 -05:00
Alex
e79e92c60f
Added Log level to background service ( #685 )
2022-09-13 12:09:57 -05:00
Alex
858ad43d3b
fix(server): harden inserting process, self-healing timestamp info on bad timestamp ( #682 )
...
* fix(server): harden inserting process, self-healing timestamp info
2022-09-12 23:35:44 -05:00
Alex
b081eda76f
fix(server): change the createdAt
and modifiedAt
to the correct type in database ( #591 )
...
* Added migration files
* Remove type casting in sql query
2022-09-05 20:51:01 -05:00
Thanh Pham
a467936e73
feat(server): de-duplication ( #557 )
...
* feat(server): remove un-used deviceAssetId cols.
* feat(server): return 409 if asset is duplicated
* feat(server): replace old unique constaint
* feat(server): strip deviceId in file path
* feat(server): skip duplicate asset
* chore(server): revert changes
* fix(server): asset test spec
* fix(server): checksum generation for uploaded assets
* fix(server): make sure generation queue run after migraion
* feat(server): remove temp file
* chore(server): remove dead code
2022-09-05 14:45:38 -05:00
Thanh Pham
c76f7804ab
feat(server): generate checksum for previous uploaded assets ( #558 )
...
* feat(server): generate checksum for previous uploaded assets
* fix(server): typo
2022-09-02 08:32:21 -05:00
Thanh Pham
b80dca74ef
feat(server): calculate sha1 checksum ( #525 )
...
* feat(server): override multer storage
* feat(server): calc sha1 of uploaded file
* feat(server): add checksum into asset
* chore(server): add package-lock for mkdirp package
* fix(server): free hash stream
* chore(server): rollback this changes, not refactor here
* refactor(server): re-arrange import statement
* fix(server): make sure hash done before callback
* refactor(server): replace varchar to char for checksum, reserve pixelChecksum for future
* refactor(server): remove pixelChecksum
* refactor(server): convert checksum from string to bytea
* feat(server): add index to checksum
* refactor(): rollback package.json changes
* feat(server): remove uploaded file when progress fail
* feat(server): calculate hash in sequence
2022-08-31 09:27:17 -05:00
Alex
87f7b0849a
Added migration down for change exif file type
2022-08-26 09:13:11 -07:00
Alex
4596a8ee01
Change fileSizeInByte to bigint from int to handle large size ( #534 )
2022-08-26 09:07:59 -07:00
Thanh Pham
3b55cdc0be
refactor(server): move constant into common package ( #522 )
...
* refactor(server): move constant into common package
* refactor(server): re-arrange import statement in microservice module
* refactor(server): move app.config into common package
* fix(server): e2e testing
2022-08-23 07:34:21 -07:00
Thanh Pham
7f9f825589
fix(server): correct media info ( #508 )
...
* fix(server): correct media info
* fix(server): video metadata
2022-08-20 22:58:47 -07:00
Thanh Pham
9c30d58b10
feat(server): preserve caption fields and extract mediainfo for video ( #505 )
...
* feat(server): preserve caption fields and extract mediainfo for video
* Fixed Geocoding missing info leads to fail EXIF extraction for the whole file
Co-authored-by: Alex <alex.tran1502@gmail.com>
2022-08-20 16:31:37 -07:00
Alex Tran
e4c4b53fcd
Added imageName as searchable text on database
2022-07-26 13:43:12 -05:00
Alex Tran
d8b26c6da8
Update bug report template
2022-07-16 10:54:00 -05:00
Fynn Petersen-Frey
d69470e207
Add extended redis & DB port configuration via environment variables ( #330 )
...
* Add database port configuration via env variable
Add redis connection configuration via env variables
* Add redis connection configuration via env variables
2022-07-12 22:21:11 -05:00
Alex
357f7d1c31
Added schedule job to perform reverse geocoding if key is added after backing up assets ( #305 )
2022-07-04 15:16:39 -05:00
Zack Pollard
e6d30d72fa
Fix typeorm migrations ( #297 )
...
* fix: remove config parameter from typeorm cli and update config
the config parameter is no longer supported since version 0.3
the config now needs to export a DataSource object to work with the 0.3 cli
* fix: update all typeorm entities and migrations to be aligned with database structure
* Fixed test-util import databaseConfig
* Fixed column mismatch in raw query with new migration
* Remove dist build directory when starting dev server
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-07-04 14:20:43 -05:00
Alex
97d9b80baa
Added creation date for video from ffmpeg.prob ( #303 )
2022-07-04 13:44:43 -05:00
Alex
76bf1c0379
Remove thumbnail generation on mobile app ( #292 )
...
* Remove thumbnail generation on mobile
* Remove tconditions for missing thumbnail on the backend
* Remove console.log
* Refactor queue systems
* Convert queue and processor name to constant
* Added corresponding interface to job queue
2022-07-02 21:06:36 -05:00
Alex
a2e1d4caa2
Update server dependencies and fixed Typeorm API changes in new version ( #276 )
...
* Fixed dependencies
* Adapt typeorm API to be compatible with new version
* Fixed typeorm API in tests
* Remove console.log
2022-06-29 13:39:58 -05:00