Added dark mode for unit mode
Templatized filter block for both unit and global mode
Optimized JS functions and added extensibility for unit mode
Modified images.setInfo method so unit mode could save orphan images
Fixed a bug where php would break if filter selection was empty in unit mode
- replace older selector with the new album selector
- moving javascript to a js file
- changed the logic for the first album (now its work with api)
- changed labels in album selector and also added an escape event (to close modal)
- Moved all related logic into album_selector.js for better maintainability and separation of concerns.
- Removed duplicates in TPL and CSS files, consolidating them into a single CSS file and a single TPL file for better organization and efficiency.
- Implementation of the album selector in the pages: photo editing, album editing and batch manager unit.
- Improved the album selector by adding a creation mode to create and select an album (only in admin pages).
...when the tooltip extends beyond the page.
I've also added the tooltips (for both storage and activity) logic to a js file `intro_tooltips.js` and imported it into `intro.tpl`
* Interface Update
Update front end according to web design
Completed the implementation of album manager
* Added image delete mechanism
* Update Validation
* Added filters according to global mode
Page is now fully translated from EN_uk to FR_fr
Harmonized global and unit mode by creating a template for the filters
TODO :
Uncomment updateBlock calls in metaSync and implement tags update
Uncomment pluginSave method and test it with an updated plugin
---------
Co-authored-by: marsooooo <marso.tison@gmail.com>
- add field for add user
- in the `pwg.users.add` method, the params `send_password_by_mail` does nothing anymore. Because we no longer want to send passwords in clear text.
- in the `pwg.users.add` add a new `auto_password` parameter to generate a random password when a user is created
- use this parameter (`auto_password`) in user_list.js
- change mail content et password page on first login
- Implementation of a new modal for modifying a user or guest
- Addition of a function to allow plugins to add a tab to the new user modal
- Fix bug: "badger-number" is updated when a user is added or deleted
- Fix bug: When the user who is editing has permissions to delete the user he is modifying, the delete icon is now displayed correctly
- Added a new api method for modifying the main user and generating a link to reset a password
- Passed $conf[‘webmaster_id’] in database configuration
If you upload several times the same photo, Piwigo detects the photo already exists
and re-use its existing id. If the lounge is active, Piwigo tries to insert the
same image_id/category_id. Let's simply acknowledge it may happen and tell MySQL to
act accordingly (ignore).
Switched every buttonGradient iteration to buttonLike and deleted buttonGradient class.
Added hover transition to themeActions and head-button classes.
More robust syntax if $_GET['section'] turns out to be null, avoid messages as PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated
As we're using selectize.js to display the albums, we need to use the methods provided by selectize.js to update the data returned by the Piwigo API.
Bug correction: when moving an album, the "sub-albums" label disappeared.