mirror of
https://github.com/immich-app/immich.git
synced 2025-01-10 13:56:47 +01:00
4a8887f37b
* refactor(server): delete assets endpoint * fix: formatting * chore: cleanup * chore: open api * chore(mobile): replace DeleteAssetDTO with BulkIdsDTOs * feat: trash an asset * chore(server): formatting * chore: open api * chore: wording * chore: open-api * feat(server): add withDeleted to getAssets queries * WIP: mobile-recycle-bin * feat(server): recycle-bin to system config * feat(web): use recycle-bin system config * chore(server): domain assetcore removed * chore(server): rename recycle-bin to trash * chore(web): rename recycle-bin to trash * chore(server): always send soft deleted assets for getAllByUserId * chore(web): formatting * feat(server): permanent delete assets older than trashed period * feat(web): trash empty placeholder image * feat(server): empty trash * feat(web): empty trash * WIP: mobile-recycle-bin * refactor(server): empty / restore trash to separate endpoint * test(server): handle failures * test(server): fix e2e server-info test * test(server): deletion test refactor * feat(mobile): use map settings from server-config to enable / disable map * feat(mobile): trash asset * fix(server): operations on assets in trash * feat(web): show trash statistics * fix(web): handle trash enabled * fix(mobile): restore updates from trash * fix(server): ignore trashed assets for person * fix(server): add / remove search index when trashed / restored * chore(web): format * fix(server): asset service test * fix(server): include trashed assts for duplicates from uploads * feat(mobile): no dialog for trash, always dialog for permanent delete * refactor(mobile): use isar where instead of dart filter * refactor(mobile): asset provide - handle deletes in single db txn * chore(mobile): review changes * feat(web): confirmation before empty trash * server: review changes * fix(server): handle library changes * fix: filter external assets from getting trashed / deleted * fix(server): empty-bin * feat: broadcast config update events through ws * change order of trash button on mobile * styling * fix(mobile): do not show trashed toast for local only assets --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
1 line
No EOL
9.4 KiB
XML
1 line
No EOL
9.4 KiB
XML
<svg width="900" height="600" viewBox="0 0 900 600" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="transparent" d="M0 0h900v600H0z"/><path d="M652.027 354.871c3.18 58.598-111.384 177.75-252.591 133.648-65.674-20.513-60.111-54.56-110.05-99.432-29.766-26.744-72.534-46.967-84.429-85.842-10.276-33.554-3.975-69.62 13.841-93.079 40.066-52.757 120.951-88.883 200.649-5.76 79.698 83.123 224.361-.663 232.58 150.465z" fill="url(#a)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M518.801 457.714H368.937c-18.95 0-34.697-14.624-36.109-33.538l-16.235-219.855h254.009l-15.693 219.764c-1.357 18.95-17.122 33.629-36.108 33.629z" fill="#929292" stroke="#929292" stroke-width="24.404" stroke-linecap="round" stroke-linejoin="round"/><path d="M443.905 276.719v108.597" stroke="#fff" stroke-width="24.404" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M299.109 204.321h289.592-289.592z" fill="#929292"/><path d="M299.109 204.321h289.592m-54.298 0-18.335-48.905a36.2 36.2 0 0 0-33.901-23.493h-76.524a36.2 36.2 0 0 0-33.901 23.493l-18.335 48.905" stroke="#929292" stroke-width="24.404" stroke-linecap="round" stroke-linejoin="round"/><path d="m505.987 276.719-7.783 108.597M381.823 276.719l7.783 108.597" stroke="#fff" stroke-width="24.404" stroke-linecap="round" stroke-linejoin="round"/><path d="M597.208 445.75c-.597-1.81-1.848-3.266-2.799-4.87-7.053-12.073-13.099-24.612-17.726-37.841-2.818-8.042-5.598-16.103-7.483-24.425-1.66-7.314-3.097-14.666-3.844-22.148-.391-3.882-.765-7.744-.895-11.644-.075-2.09-.429-4.179-.261-6.269.317-3.807.205-7.651 1.212-11.382.187-.691.374-1.4.653-2.053 1.587-3.825 5.15-4.59 8.173-1.81 1.456 1.344 2.501 2.986 3.471 4.684 4.497 7.855 8.229 16.084 11.531 24.499 5.075 12.912 9.647 26.011 13.901 39.203.765 2.388 1.512 4.795 2.594 7.165 0-1.287.187-2.612-.037-3.862-.355-1.81-.243-3.601-.355-5.393-.69-11.121-.597-22.26-.317-33.4.112-4.441.522-8.919 1.045-13.36.354-3.004.616-6.027 1.026-9.012 1.213-8.639 2.407-17.297 5.635-25.489.635-1.623 1.474-3.153 2.706-4.403 2.481-2.556 5.56-2.37 7.818.429 2.183 2.706 3.247 5.952 4.18 9.218 1.156 4.105 1.754 8.303 2.295 12.539.914 7.165 1.119 14.367 1.38 21.588.168 4.908.355 9.834.206 14.741-.168 5.486-.15 10.99-.448 16.476-.299 5.486-.485 10.953-.765 16.439 0 .149.037.28.093.616.746-1.213.84-2.463 1.12-3.62 3.452-14.573 7.874-28.847 13.714-42.636 3.62-8.528 7.632-16.868 13.174-24.369 2.239-3.042 4.627-5.953 7.93-7.893 1.754-1.026 3.601-1.829 5.747-1.269 2.239.578 3.545 2.108 4.329 4.18 1.119 2.966 1.399 6.064 1.138 9.161a131.902 131.902 0 0 1-2.034 14.554c-1.735 8.808-4.31 17.372-7.464 25.769-5.821 15.543-12.501 30.769-18.901 46.107-.28.653-.728 1.268-.579 2.052-.224.037-.336.168-.336.373 0 .056.131.112.206.168.056-.186.093-.354.149-.541 1.231-.858 1.81-2.239 2.612-3.396 4.385-6.288 8.901-12.464 13.864-18.304 4.833-5.673 9.852-11.177 16.252-15.17 2.276-1.418 4.609-2.725 7.426-2.706 3.191.019 5.356 1.455 6.363 4.534.653 1.997.821 4.012.579 6.158-.821 7.09-3.77 13.304-7.52 19.181-5.225 8.173-11.27 15.711-17.745 22.933-6.493 7.239-13.845 13.509-21.439 19.517-6.736 5.337-13.36 10.822-20.022 16.234-1.791 1.455-3.62 2.873-5.541 4.161-1.922 1.306-3.975 1.623-6.177 1.007-8.769-2.5-17.39-5.318-25.469-9.647-6.326-3.396-12.204-7.426-17.745-11.998-5.318-4.366-10.431-8.937-15.114-13.975-4.124-4.46-8.005-9.125-10.823-14.554-.895-1.717-1.306-3.508-1.119-5.43.186-1.941 1.661-3.583 3.601-3.769 1.642-.15 3.303-.131 4.926.391 4.348 1.4 8.005 3.994 11.476 6.83 7.706 6.325 15.356 12.707 22.67 19.48 2.165 2.015 4.423 3.937 6.643 5.896.28.243.56.467.933.504.093.336.224.616.597.728.019.056.037.112.075.149.018.019.074.019.112.019-.075-.056-.15-.094-.224-.15.093-.354-.037-.653-.373-.895zm-356.066 0c-.598-1.81-1.848-3.266-2.799-4.87-7.053-12.073-13.099-24.612-17.727-37.841-2.817-8.042-5.597-16.103-7.482-24.425-1.661-7.314-3.097-14.666-3.844-22.148-.392-3.882-.765-7.744-.895-11.644-.075-2.09-.429-4.179-.262-6.269.318-3.807.206-7.651 1.213-11.382.187-.691.374-1.4.653-2.053 1.586-3.825 5.15-4.59 8.173-1.81 1.456 1.344 2.5 2.986 3.471 4.684 4.497 7.855 8.228 16.084 11.531 24.499 5.075 12.912 9.647 26.011 13.901 39.203.765 2.388 1.512 4.795 2.594 7.165 0-1.287.186-2.612-.037-3.862-.355-1.81-.243-3.601-.355-5.393-.69-11.121-.597-22.26-.317-33.4.112-4.441.522-8.919 1.045-13.36.354-3.004.615-6.027 1.026-9.012 1.213-8.639 2.407-17.297 5.635-25.489.634-1.623 1.474-3.153 2.706-4.403 2.481-2.556 5.56-2.37 7.818.429 2.183 2.706 3.247 5.952 4.179 9.218 1.157 4.105 1.754 8.303 2.296 12.539.914 7.165 1.119 14.367 1.38 21.588.168 4.908.355 9.834.206 14.741-.168 5.486-.15 10.99-.448 16.476-.299 5.486-.485 10.953-.765 16.439 0 .149.037.28.093.616.746-1.213.84-2.463 1.12-3.62 3.452-14.573 7.874-28.847 13.714-42.636 3.62-8.528 7.632-16.868 13.173-24.369 2.24-3.042 4.628-5.953 7.931-7.893 1.754-1.026 3.601-1.829 5.747-1.269 2.239.578 3.545 2.108 4.329 4.18 1.119 2.966 1.399 6.064 1.138 9.161a131.902 131.902 0 0 1-2.034 14.554c-1.735 8.808-4.31 17.372-7.464 25.769-5.821 15.543-12.501 30.769-18.902 46.107-.279.653-.727 1.268-.578 2.052-.224.037-.336.168-.336.373 0 .056.131.112.205.168.056-.186.094-.354.15-.541 1.231-.858 1.81-2.239 2.612-3.396 4.385-6.288 8.9-12.464 13.864-18.304 4.833-5.673 9.852-11.177 16.252-15.17 2.276-1.418 4.609-2.725 7.426-2.706 3.191.019 5.355 1.455 6.363 4.534.653 1.997.821 4.012.579 6.158-.821 7.09-3.77 13.304-7.52 19.181-5.225 8.173-11.27 15.711-17.745 22.933-6.493 7.239-13.845 13.509-21.439 19.517-6.736 5.337-13.36 10.822-20.022 16.234-1.791 1.455-3.62 2.873-5.542 4.161-1.921 1.306-3.974 1.623-6.176 1.007-8.77-2.5-17.39-5.318-25.47-9.647-6.325-3.396-12.203-7.426-17.744-11.998-5.318-4.366-10.431-8.937-15.114-13.975-4.124-4.46-8.005-9.125-10.823-14.554-.895-1.717-1.306-3.508-1.119-5.43.186-1.941 1.66-3.583 3.601-3.769 1.642-.15 3.303-.131 4.926.391 4.348 1.4 8.005 3.994 11.475 6.83 7.707 6.325 15.357 12.707 22.671 19.48 2.165 2.015 4.423 3.937 6.643 5.896.28.243.56.467.933.504.093.336.224.616.597.728.019.056.037.112.075.149.018.019.074.019.112.019-.075-.056-.15-.094-.224-.15.093-.354-.038-.653-.373-.895z" fill="#c2c2c2"/><path d="M222.126 451.421c.352 4.375.784 8.75 1.047 13.14.102 1.787.285 3.574.055 5.378-.064.493-.2.93-.45 1.35-.581.922-1.528 1.278-2.582.995-.924-.258-1.63-.832-2.313-1.455-2.159-1.924-3.988-4.147-5.841-6.362-7.76-9.338-13.644-19.76-17.886-31.12a137.288 137.288 0 0 1-3.332-9.978c-1.136-3.857-1.575-7.811-1.772-11.805-.232-5.062.071-10.1.957-15.089.295-1.69.866-3.324 1.542-4.885.492-1.148.953-1.261 2.144-1.132 2.447.29 4.266 1.721 6.108 3.103 5.016 3.792 9.087 8.424 12.22 13.841 2.799 4.827 4.797 10.002 6.164 15.387.794 3.121 1.45 6.275 1.993 9.452.938 5.353 1.341 10.763 1.784 16.172.092.995.159 1.998.235 2.984-.032.024-.057.032-.073.024zm460.848-10.406c1.407-4.692 3.25-9.153 5.047-13.631a406.083 406.083 0 0 1 3.654-8.753c2.296-5.35 4.373-10.777 6.154-16.32a133.032 133.032 0 0 0 3.729-14.518c1.452-7.299 2.248-14.647 2.209-22.08-.047-6.931-.716-13.783-2.758-20.442-1.032-3.372-2.515-6.527-4.822-9.246-1.263-1.489-2.715-2.771-4.509-3.592-3.121-1.427-6.083-.976-8.866.922-2.35 1.621-3.996 3.851-5.405 6.293-1.887 3.257-3.153 6.769-4.224 10.351-4.542 15.254-5.325 30.814-3.789 46.577.609 6.21 1.543 12.379 2.353 18.569 1.126 8.614 1.187 17.243.584 25.887-.302 4.34-.461 8.679-.361 13.018.024 1.004.095 1.985.351 2.954.509 1.91 1.759 2.695 3.728 2.35a6.338 6.338 0 0 0 2.488-.98c1.621-1.088 3.163-2.281 4.377-3.795 1.128-1.416 2.538-2.345 4.071-3.218 11.112-6.315 21.38-13.766 30.513-22.738 4.998-4.91 9.612-10.161 13.36-16.115 1.039-1.641 2.02-3.301 2.629-5.157.109-.311.206-.626.28-.949.611-2.746-1.053-4.607-3.84-4.25-1.825.229-3.415 1.082-4.965 2.001-3.588 2.133-6.901 4.659-10.149 7.259-8.718 6.971-17.117 14.325-24.961 22.274-2.161 2.191-4.175 4.512-6.165 6.842-.168.186-.242.509-.713.487z" fill="#c2c2c2"/><path d="M156.405 340.229c6.488 12.201 24.443 15.349 24.443 15.349s7.425-16.636.927-28.834c-6.488-12.201-24.433-15.352-24.433-15.352s-7.425 16.636-.937 28.837z" fill="url(#c)"/><path d="M620.81 140.079c4.976-7.329 1.388-18.451 1.388-18.451s-11.654.769-16.625 8.103c-4.976 7.33-1.393 18.447-1.393 18.447s11.654-.769 16.63-8.099z" fill="url(#d)"/><path d="M641.87 244.749c-14.625-2.957-23.414-20.569-23.414-20.569s14.931-12.809 29.556-9.841c14.626 2.957 23.415 20.558 23.415 20.558s-14.931 12.809-29.557 9.852z" fill="url(#e)"/><circle cx="629.592" cy="168.642" r="11.353" fill="#c2c2c2"/><circle cx="669.705" cy="276.01" r="9.21" fill="#E1E4E5"/><circle cx="339.266" cy="104.767" r="10.321" fill="#E1E4E5"/><circle cx="660.69" cy="472.781" r="7.779" transform="rotate(90 660.69 472.781)" fill="#E1E4E5"/><circle cx="246.555" cy="139.909" r="10.581" transform="rotate(105 246.555 139.909)" fill="#E1E4E5"/><defs><linearGradient id="a" x1="515.099" y1="706.117" x2="300.802" y2="-260.718" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#EEE"/></linearGradient><linearGradient id="b" x1="517.377" y1="296.133" x2="432.795" y2="-83.942" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#EEE"/></linearGradient><linearGradient id="c" x1="183.898" y1="383.483" x2="147.92" y2="258.367" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#EEE"/></linearGradient><linearGradient id="d" x1="637.106" y1="111.549" x2="576.937" y2="169.386" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#EEE"/></linearGradient><linearGradient id="e" x1="588.637" y1="229.619" x2="729.206" y2="228.315" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#EEE"/></linearGradient></defs></svg> |