1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00
immich/mobile/openapi/lib/model
Sergey Kondrikov 7f2fa23179
feat (server, web): Share with partner (#2388)
* feat(server, web): implement share with partner

* chore: regenerate api

* chore: regenerate api

* Pass userId to getAssetCountByTimeBucket and getAssetByTimeBucket

* chore: regenerate api

* Use AssetGrid to view partner's assets

* Remove disableNavBarActions flag

* Check access to buckets

* Apply suggestions from code review

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>

* Remove exception rethrowing

* Simplify partner access check

* Create new PartnerController

* chore api:generate

* Use partnerApi

* Remove id from PartnerResponseDto

* Refactor PartnerEntity

* Rename args

* Remove duplicate code in getAll

* Create composite primary keys for partners table

* Move asset access check into PartnerCore

* Remove redundant getUserAssets call

* Remove unused getUserAssets method

* chore: regenerate api

* Simplify getAll

* Replace ?? with ||

* Simplify PartnerRepository.create

* Introduce PartnerIds interface

* Replace two database migrations with one

* Simplify getAll

* Change PartnerResponseDto to include UserResponseDto

* Move partner sharing endpoints to PartnerController

* Rename ShareController to SharedLinkController

* chore: regenerate api after rebase

* refactor: shared link remove return type

* refactor: return user response dto

* chore: regenerate open api

* refactor: partner getAll

* refactor: partner settings event typing

* chore: remove unused code

* refactor: add partners modal trigger

* refactor: update url for viewing partner photos

* feat: update partner sharing title

* refactor: rename service method names

* refactor: http exception logic to service, PartnerIds interface

* chore: regenerate open api

* test: coverage for domain code

* fix: addPartner => createPartner

* fix: missed rename

* refactor: more code cleanup

* chore: alphabetize settings order

* feat: stop sharing confirmation modal

* Enhance contrast of the email in dark mode

* Replace button with CircleIconButton

* Fix linter warning

* Fix date types for PartnerEntity

* Fix PartnerEntity creation

* Reset assetStore state

* Change layout of the partner's assets page

* Add bulk download action for partner's assets

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-05-15 12:30:53 -05:00
..
add_assets_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
add_assets_response_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
add_users_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
admin_signup_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
album_count_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
album_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
all_job_status_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
api_key_create_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
api_key_create_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
api_key_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
api_key_update_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
asset_count_by_time_bucket.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
asset_count_by_time_bucket_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
asset_count_by_user_id_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
asset_file_upload_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
asset_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
asset_type_enum.dart chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
auth_device_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
change_password_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
check_duplicate_asset_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
check_duplicate_asset_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
check_existing_assets_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
check_existing_assets_response_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
create_album_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
create_album_share_link_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
create_assets_share_link_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
create_profile_image_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
create_tag_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
create_user_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
curated_locations_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
curated_objects_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
delete_asset_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
delete_asset_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
delete_asset_status.dart chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
download_files_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
edit_shared_link_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
exif_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
get_asset_by_time_bucket_dto.dart feat (server, web): Share with partner (#2388) 2023-05-15 12:30:53 -05:00
get_asset_count_by_time_bucket_dto.dart feat (server, web): Share with partner (#2388) 2023-05-15 12:30:53 -05:00
job_command.dart chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
job_command_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
job_counts_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
job_name.dart chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
job_status_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
login_credential_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
login_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
logout_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
map_marker_response_dto.dart feat(web): Global map showing all assets with geo information (#2355) 2023-05-05 20:33:30 -05:00
o_auth_callback_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
o_auth_config_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
o_auth_config_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
queue_status_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
remove_assets_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
search_album_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
search_asset_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
search_asset_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
search_config_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
search_explore_item.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
search_explore_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
search_facet_count_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
search_facet_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
search_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
server_info_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
server_ping_response.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
server_stats_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
server_version_reponse_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
shared_link_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
shared_link_type.dart chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
sign_up_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
smart_info_response_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
system_config_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
system_config_f_fmpeg_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
system_config_o_auth_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
system_config_password_login_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
system_config_storage_template_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
system_config_template_storage_option_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
tag_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
tag_type_enum.dart chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
thumbnail_format.dart chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
time_group_enum.dart chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
update_album_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
update_asset_dto.dart chore: update api (#2428) 2023-05-11 10:49:28 -05:00
update_tag_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
update_user_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
usage_by_user_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
user_count_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
user_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00
validate_access_token_response_dto.dart chore: regenerate open api (#2374) 2023-05-03 14:27:57 -05:00