Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced edits #64

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Conversation

rachung2510
Copy link

I wanted to use Piwigo as a collaborative image repository instead of just a gallery, and decided to expand the functionalities of the Community plugin, mostly on the edit side.

Changes include:

  • Added three more actions: add & remove from favourites, move to album and download (single and zip)
  • Added filters: scope (user-uploaded vs whole gallery), prefilters {favourites, recents, no album, no tags}, album, tags and qsearch
  • Added permissions for both filters and actions: admins can choose whether to enable filters and actions, and set scope permissions for actions. Original actions {delete photos, add/del tags} are enabled by default
  • Added features are all optional. The settings can be configured to the original community function by disabling all filters, disabling all added actions, and setting the scope of all actions to "photos uploaded by user only".
  • Also fixed CSS: layout issues and colors for clear themes, and updated CSS of added features. Checked themes modus and bootstrap darkroom.
  • Added zh_CN translations for added content, and also updated some previously missing translations

Added filters {scope, prefilter, album, tags, qsearch}.
Added actions {add/del favorites, move to album, download}.

Original "photos posted by {user}" section is shown if filters are
disabled in community admin permissions.
Styles for filter section based on admin batch manager filter styles.
Fixed: Styles for clear themes (eg. white legends not visible)
Fixed: Certain font sizes to rem instead of px
Added zip path for new action {download}.
Added query suffixes for filters: favorites, recent pics, tags and
qsearch.
Changed conditions for generation of edit_url based on configured
permissions in admin.
Default arrays for filters and actions permissions created on
installation.
Directory for zip files created for action {download}.
Default arrays for filters and actions permissions created on
installation.
Directory for zip files created for action {download}.
Styles for filter section based on admin batch manager filter styles.
Fixed: Styles for clear themes (eg. white legends not visible)
Fixed: Certain font sizes to rem instead of px
Filter permissions {scope, prefilter, album, tags, qsearch}
configurable (enabled).
Action permissions configurable: enable and choose scope. Delete and
add/del tags enabled by default as per original plugin; add/del favorites, move to album and
download actions can be disabled.
Added zip path for new action {download}.
Added query suffixes for filters: favorites, recent pics, tags and
qsearch.
Changed conditions for generation of edit_url based on configured
permissions in admin.
Default arrays for filters and actions permissions created on
installation.
Directory for zip files created for action {download}.
Styles for filter section based on admin batch manager filter styles.
Fixed: Styles for clear themes (eg. white legends not visible)
Fixed: Certain font sizes to rem instead of px
Filter permissions {scope, prefilter, album, tags, qsearch}
configurable (enabled).
Action permissions configurable: enable and choose scope. Delete and
add/del tags enabled by default as per original plugin; add/del favorites, move to album and
download actions can be disabled.
Bug fixed: missing function and var for ajax album creation for "move to
album" action

Bug fixed: invalidate_user_cache() added to update image count badges
Bug fixed: missing function and var for ajax album creation for "move to
album" action

Bug fixed: invalidate_user_cache() added to update image count badges
This reverts commit 13da8b6.
Copy link

@tkempf tkempf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply pr#64 Enhanced edits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants