Commit Graph

136 Commits (dc2c92e721982be9d5fe2b52502758307f43c511)

Author SHA1 Message Date
Fynn Petersen-Frey dc2c92e721
feat(server/web): download entire album as zip archive (#897)
* feat(server/web): download entire album as zip archive

* fix: remove duplicate API call

* disable ZIP compression (images are already compressed)
2022-10-30 12:38:04 +07:00
Alex Tran b7f1a1ad4b
Change position of the icon 2022-10-30 11:08:55 +07:00
Anbraten 1967c1e237
feat(web): add delete button to asset viewer (#896) 2022-10-30 11:08:22 +07:00
Alex 30ba3aeea7
fix(web) date group hover not trigger correctly (#892) 2022-10-29 10:17:53 +07:00
bo0tzz 6172d80776
feat(web) Make "no albums" card clickable (#888)
* Make "no albums" card clickable

* Add cursor-pointer to clickable "no albums" card
2022-10-29 09:48:24 +07:00
Alex Tran 811494e9ed
Fix test 2022-10-28 21:00:31 +07:00
Alex 137b2ffdd0
fix(web) video keep playing when mouse is not over video (#885) 2022-10-28 20:52:14 +07:00
bo0tzz b0f10b1851
feat(web) add handler for ctrl-c copying images from viewer (#881) 2022-10-28 17:18:28 +07:00
Alex b1212fc98b
fix(web) prevent create multiple user when the instance is lagging (#882) 2022-10-28 15:29:36 +07:00
Matthias Rupp ea99567805
feat(server) Extend PUT /album/:id/assets endpoint (#857)
* Add new query parameter to API endpoint that allows adding assets to albums which potentially contain assets that are already part of this album.

* Change API endpoint

* Generate new APIs

* Fixed test

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-10-28 14:54:09 +07:00
Alex 676ad2d34f
chore(server) revert Dockerfile (#878) 2022-10-27 17:21:28 +07:00
Alex f94176a910
feat(web) dark mode (#867) 2022-10-26 11:10:48 +07:00
Alex Tran ae96508e15
Fixed unit test 2022-10-25 22:15:17 +07:00
Alex 95ebf815eb
feat(web) styling server stats page (#866) 2022-10-25 21:41:46 +07:00
Jonas Janz b713fb5650
feat(docker) revert ubuntu base image (#863)
* feat(docker) revert ubuntu base image

This PR reverts the base image for immich-server back to alpine

Adds LICENSE to all Images
Quiets apt-get commands when building
ensures write-permission for root group on app folders

Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>

* Test build old Docker content

* Revert and retry

Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-10-25 14:18:37 +07:00
Alex 6159c83fd2
feat(mobile) duplicated asset upload handling mechanism (#853) 2022-10-25 09:51:03 +07:00
Alex 7b954e21e7
fix(server): add permission for server stats api (#854) 2022-10-23 17:01:41 +07:00
Zeeshan Khan a6eea4d096
feat(web) add asset count stats on admin page (#843) 2022-10-23 16:54:54 +07:00
An | Anton Röhm 4355485581
lower z-index of #immich-scrubbable-scrollbar 2022-10-09 16:55:10 +07:00
An | Anton Röhm 342c3254cb
add z-index to #account-info-panel 2022-10-09 16:54:21 +07:00
Alex 7587f858ae
feat(server/web) Add manual job trigger mechanism to the web (#767) 2022-10-06 11:25:54 +07:00
Alex b0cd2522e0
feat(server): support .NEF file (#746) 2022-09-23 19:09:45 +07:00
Alex 103df4d9f3
fix(web) navigating forward button get in the way of video control bar (#744)
* fix(web) navigating forward button get in the way of video control bar

* Remove unsued style
2022-09-23 18:22:06 +07:00
Alex e5459b68ff
fix(server,web,mobile): Incorrectly record and show timestamp and time zone of the asset (#706)
Implemented a mechanism to extract the correct time zone from the GPS coordinate if presented in the file's EXIF, and to convert the timestamp to the correct UTC time so that the time will show correctly based on the mobile/web local time zone.
2022-09-22 15:58:17 +07:00
Alex 0d13b25f56
feat(web): Update to latest version of SvelteKit (#705) 2022-09-16 23:13:22 +07:00
Alex 75c2067836
feat(web) Remove fetching fonts from GoogleFonts (#703) 2022-09-16 17:23:31 +07:00
Thanh Pham 6abc733763
fix(web): datetime display and add TZ into environment (#618)
* fix(web): timezone

* doc(): update readme.md

* feat(web): keep using UTC timezone in default

* chore(): update doc and remove debug code

* chore(): update readme.md

* Move timezone into to .env.example

* Run prettier check

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-09-12 14:40:18 +07:00
Alex d856b35afc
feat(web) add scrollbar with timeline information (#658)
- Implement a scrollbar with a timeline similar to Google Photos
- The scrollbar can also be dragged
2022-09-09 15:55:20 +07:00
Jaime Baez b6d025da09
Fix Notification components possible memory leaks (#650)
Dispose subscriptions and timeouts when
the components are removed from the DOM
2022-09-09 07:40:35 +07:00
Jaime Baez 4f7a3afbfc Fix web lint issues 2022-09-08 17:30:49 +07:00
Jaime Baez 6725954b70 Add web check / lint npm commands
`svelte-check` returns some "hints" that can be ignored since some
are not true and others are not relevant.
2022-09-08 17:17:15 +07:00
Jaime Baez aed94bfc4c Format web code with prettier
Added `.md` and `.json` to .prettierignore
2022-09-08 12:53:09 +07:00
Jaime Baez de996c0a81
Merge pull request #612 from immich-app/add/web-ui-tests-setup
Add web UI components tests setup

@alextran1502 I'll get this merged so I can add CI checks for the web as well. Let me know if you have any questions 😃
2022-09-08 11:24:08 +07:00
Alex Tran 836b174d33
Better styling for count info 2022-09-07 21:19:24 +07:00
Alex 566039b93f
feat(web): add asset and album count info (#623)
* Get asset and album count

* Generate APIs

* Added asset count for each type

* Added api on the web

* Added info button for asset and album count to trigger getting info on hover

* Remove websocket event from photo page
2022-09-07 15:16:18 +07:00
Thanh Pham 6ffdf167fe
fix(web): detail panel overflow-x (#615) 2022-09-07 13:20:44 +07:00
Jaime Baez 6b702b13e4 Rename albums BLoC (`.bloc.ts` convention)
By convention now it's `album.bloc.ts`
2022-09-07 16:04:50 +07:00
Jaime Baez f476bd985b Add AlbumCard UI tests
- add libraries for component UI testing
- implement AlbumCard UI tests
2022-09-07 16:00:57 +07:00
Alex a337402124
fix(web): stop showing version announcement on first run of a new web instance (#609) 2022-09-07 06:38:29 +07:00
Jaime Baez 645bd8a109
Add web test setup (#597)
* Extract logic from Albums page

- move "albums" page logic to `albums-bloc`
- add types to AlbumCard custom events

* Implement some album-bloc unit-tests

- add libraries for testing
- add album factory
- changes in albums-bloc API

* Add rest of albums-bloc test

Cleanup and remove console logs

* Refactor `isShowContextMenu` writable to derived
2022-09-07 05:20:19 +07:00
bo0tzz 564ace3ddf
Use runtime env var for login page message to lower web container startup time (#577)
* Use runtime env var for loginPageMessage

* Rename VITE_LOGIN_PAGE_MESSAGE to PUBLIC_LOGIN_PAGE_MESSAGE in .env.example

* Move docker image `npm run build` step into Dockerfile

* Remove comment from web Dockerfile
2022-09-05 09:51:45 +07:00
Thanh Pham a81ef7497c
feat(server): support 3gpp format (#582)
* feat(server): support 3gpp format

* feat(web): add 3gp ext

* Support 3gp video format.

video/3gpp mimetype added to supported video format.

* feat(mobile): add tif ext

Co-authored-by: Alexandre Bouijoux <alexandre@bouijoux.fr>
2022-09-05 08:53:13 +07:00
Matthias Rupp caa7b07398
Show all albums an asset appears in on the asset viewer page (#575)
* Add route to query albums for a specific asset

* Update API and add to detail-panel

* Fix tests

* Refactor API endpoint

* Added alt attribute to img tag

Co-authored-by: Alex <alex.tran1502@gmail.com>
2022-09-05 08:50:20 +07:00
Alex 6976a7241e
Fixed upload asset to album in asset selection (#579)
* Fixed error uploading a file from album

* Fixed album selection mode show viewing asset stage

* Navigate back after uploading asset to album
2022-09-05 00:18:53 +07:00
Alex 552340add7
Feature - Implemented virtual scroll on web (#573)
This PR implemented a virtual scroll on the web, as seen in this article.

[Building the Google Photos Web UI](https://medium.com/google-design/google-photos-45b714dfbed1)
2022-09-04 08:34:39 +07:00
Thanh Pham f5f00e0f6c
fix(web): file uploading error in album page (#550)
* feat(web): show upload error notification

* fix(web): album upload issue
2022-08-31 08:12:31 +07:00
Alex f980a2f27a
Add asset repository and refactor asset service (#540)
* build endpoint to get asset count by month

* Added asset repository

* Added create asset

* get asset by device ID

* Added test for existing methods

* Refactor additional endpoint

* Refactor database api to get curated locations and curated objects

* Refactor get search properties

* Fixed cookies parsing for websocket

* Added API to get asset count by time group

* Remove unused code
2022-08-26 22:53:37 +07:00
Alex fdd9f37abd
Added error handling for layout.server.ts to avoid unaccessible to previous deploy instance due to changes in SvelteKit project 2022-08-26 11:30:45 +07:00
Alex 4be9aa091b
Added error handling notification (#536) 2022-08-26 10:36:41 +07:00
Alex 33b810de74
Removed upload button on sharing and album page 2022-08-26 10:05:15 +07:00