Lychee icon indicating copy to clipboard operation
Lychee copied to clipboard

Mass Edit License

Open ildyria opened this issue 5 months ago • 4 comments

Discussed in https://github.com/LycheeOrg/Lychee/discussions/3557

Originally posted by MissCatTrap July 23, 2025

Enhancement

A few of my Albums have different licenses, however the default for pictures is then inaccurate. Being able to mass update licenses would be really convenient! Screenshot 2025-07-23 at 12 04 28

ildyria avatar Jul 29 '25 06:07 ildyria

Up for grabs, possibly easy to vibe code that one with Claude (if you want to practice your vibecoding).

Required for a PR to be considered:

php side:

  • validation & authorization in app/Http/Requests/Photo (take example on other similar requests)
  • update controller in app/Http/Controllers/PhotoController.php
  • Localization (only in English), but provide the keys in the other languages.
  • Tests (see tests/Feature_v2/Photo for examples)

Frontend side:

  • update photo-service.ts
  • update contextMenu.ts
  • update galleryModals.ts
  • create appropriate modal in components/forms/photo/
  • update AlbumPanel.vue
  • update Album.vue

Those are at least the modifications needed.

ildyria avatar Jul 29 '25 07:07 ildyria

hey! can I work on this issue?

kavya-golamaru avatar Aug 25 '25 03:08 kavya-golamaru

@kavya-golamaru for sure ! :)

ildyria avatar Aug 25 '25 06:08 ildyria

@kavya-golamaru I would also recommend you have a look at our documentation: https://github.com/LycheeOrg/Lychee/tree/master/docs#readme

ildyria avatar Aug 25 '25 08:08 ildyria