3350 Commits

Author SHA1 Message Date
Linty
3133552405 fixes #2220 change scope of function get_resize_result
also changed the required php version to 7.1.0
2024-09-02 18:23:52 +02:00
mistic100
3f07808d7f Fix "total_count" type on some WS methods 2024-08-30 20:24:42 +02:00
marsooooo
12ca607727 issue #2164 updated & fixed bugs on batch manager
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
2024-08-26 14:14:57 +02:00
plegall
c27d166d46 fixes #2210 add links to the new documentation in help pages 2024-08-26 13:55:44 +02:00
Linty
815a0221aa [albums] fixed warning messages in album edit page 2024-08-23 19:39:59 +02:00
Linty
d0eeb2852c fixes #2209 high-volume optimization
- Sub-albums in the album manager now load their html content progressively
- Scrolling on album focus corrected
2024-08-23 17:50:02 +02:00
Linty
149b29607b [users] changing height of group select in edit user modal 2024-08-22 15:44:12 +02:00
plegall
3ee277f8e0 fixes #171 ability to filter user list on a specific user 2024-08-21 12:11:27 +02:00
Linty
33f7849bf0 change button font size in album selector 2024-08-20 16:41:19 +02:00
Linty
7bd8b7e274 fixes #2206 add album selector on the add photo page
- 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)
2024-08-19 16:09:50 +02:00
HWFord
f2e07e460d fixes #2205 set object-fit contain
also center svgs to square
2024-08-12 14:26:04 +02:00
plegall
179ccd274f fixes #2203 purge persistent cache in invalidate_user_cache 2024-08-07 22:15:13 +02:00
Linty
bfe1e85801 fixes #2201 better implementation for the number of associated users
removed the javascript part to directly manage disabling an option via the tpl in a foreach and data in php
2024-08-07 12:41:52 +02:00
Linty
316c20e5bd fixes #2201 for each filter we add the number of associated users
and the select is deactivated if no users are associated.
2024-08-05 17:50:10 +02:00
plegall
8c4b3fb7db fixes #2198 smarter way to deal with filesize bounds 2024-08-02 17:47:45 +02:00
plegall
6fb86d25bf fixes #2162 update link to Shotwell 2024-08-02 16:18:43 +02:00
Linty
8cff72906d fixes #2132 remove unused console.log 2024-07-31 11:55:57 +02:00
Linty
653b03aacc fixes #2132 implementing and improving new album selector
- 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).
2024-07-31 11:49:44 +02:00
Linty
2f89bf6726 fixes #2189 remove password link input text when email is sent
I've also modified the messages
2024-07-16 10:15:59 +02:00
Linty
d1cd5b11ef fixes #2187 resize activity tooltips
...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`
2024-07-15 17:41:18 +02:00
plegall
8c25d7d2a1 fixes #2064 re-use existing code to open an album 2024-07-15 16:47:03 +02:00
Linty
fa92e9c3f7 fixes #2186 remove delete icon when a user is set as main user 2024-07-15 12:22:28 +02:00
Linty
31e12a4ab8 fixes #2185 remove underline and wrong color on hover buttons
button `Permissions` and `Visit history`
2024-07-15 12:20:59 +02:00
plegall
08087ba9bb fixes #2174 batch manager, call pwg.images.syncMetadata in sequence, not parallel 2024-07-09 20:04:51 +02:00
plegall
6e6a74c348 fixes #2173 allow comma separated list for image_id in pwg.images.syncMetadata 2024-07-09 15:42:31 +02:00
marsooooo
dee9e3f490 Update batchmanager.tpl
Deleted (debug} in .tpl
2024-07-02 11:49:18 +02:00
HWFord
10a8db2102 fixes #2164 batch manager unit mode redesign (#2179)
* 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>
2024-07-02 11:20:16 +02:00
HWFord
c8ccbd1cd1 fixes #2178 change color of second button
add class to change specific button color
update light and dark mode css
2024-07-02 10:37:44 +02:00
Linty
c8d7503d4e related to #2165 new add user popin
- 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
2024-06-28 18:56:28 +02:00
Linty
834b339860 issue #2158 reducing the slider-bar-wrapper
in User and Guest modal
2024-06-25 13:26:16 +02:00
plegall
831e876af0 fixes #2169 sync metadata, limit to 500 image_ids per request 2024-06-19 14:59:43 +02:00
plegall
f0ed96d93c fixes #1296 avoid posting page form before AJAX calls are finished 2024-06-19 14:48:53 +02:00
Linty
cd8ba0a456 issue #2158 fix duplication of the icon crown and name when saving 2024-06-14 15:28:07 +02:00
Linty
badc7c76b9 fixes #2167 add max-width for storage tooltips 2024-06-11 17:23:33 +02:00
Linty
0fb7ee0523 fix #1854 add default values for theme_id and plugin_id
to handle undefined keys
2024-06-11 09:28:09 +02:00
plegall
71cd92c04d fixes #2166 add feature to send anonymous stats to piwigo.org 2024-06-10 21:32:04 +02:00
Linty
27cd5cde9e related to #2158 update user and guest pop in
- 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
2024-05-31 18:12:52 +02:00
Linty
0c53880707 fixes #2149 reset the create sub-albums button click event
After an ajax request we need to reset some button events
2024-04-17 11:52:34 +02:00
plegall
0a6f235db8 fixes #2110 avoid insert errors in the lounge table
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).
2024-04-11 12:18:21 +02:00
marsooooo
acf63a700d Fixes #2144 Harmonized button colors
Switched every buttonGradient iteration to buttonLike and deleted buttonGradient class.

Added hover transition to themeActions and head-button classes.
2024-04-05 17:04:55 +02:00
plegall
3433972fe0 fixes #2138 change edit album photos icon to match batch manager icon 2024-03-27 15:04:34 +01:00
Hood-fr
75392e6886 Correction for PHP Deprecated: explode()
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
2024-03-27 14:43:35 +01:00
plegall
d69bc8b884 fixes #2134 make sure database is writeable before new version notification 2024-03-13 11:11:48 +01:00
Linty
4d26c62470 issue #2132 album selector hierarchy added to search page 2024-03-08 15:55:43 +01:00
plegall
179a69cbf7 fixes #2129 only adjust selectize box height on picture_modify and batch_manager/unit 2024-03-06 12:37:47 +01:00
plegall
e57b8b8449 fixes #1612 auto adjust height on selectize input (tags) 2024-03-01 15:54:49 +01:00
plegall
917cab5a44 fixes GHSA-7379-w44f-mfw4 and fixes GHSA-8g2g-6f2c-6h7j protect tag name from XSS 2024-03-01 11:24:50 +01:00
plegall
1000ae868e fixes #2118 add config setting animated_webp_compression_quality (default=70) 2024-02-19 17:17:36 +01:00
Linty
0c2b0175dd fixes #2119 issue #2120 uses nodes to update album UI
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.
2024-02-19 16:53:41 +01:00
Linty
91659fa848 fixes #2117 add a condition to the date-end onChange function
in the date-end OnChange event, before launching the function that will make the ajax request, we check that the `end` parameter is not "1899-12-31".
2024-02-19 12:53:31 +01:00