Commit Graph

3173 Commits

Author SHA1 Message Date
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
plegall
276afe3de9 attempt to fix #2079 with a different way to validate input 2024-02-16 18:14:40 +01:00
plegall
e95036b92a fixes GHSA-p362-cfpj-q55f protect against CSRF on batch manager unit mode 2024-02-12 16:51:53 +01:00
Linty
562170528c turn code more robust by using sprintf instead of replace for a language key 2024-02-09 17:35:42 +01:00
Linty
d2e8d95d94 issue #2106 reorganize search details
Instead of `See details` we put `and x more` with the remaining details instead of putting everything
2024-02-09 17:10:19 +01:00
HWFord
a8f4dc7569 fixes #2113 use flex to align icon and text
use flex on message block, align items to center
2024-02-09 11:23:31 +01:00
Linty
1629cd9386 issue #2106 added details to search history
API method modification `ws_history_search`: Added a new property in API return `SEARCH_DETAILS` only for searches.
These details are displayed on the `History` page in the `Search` section.
2024-02-02 11:50:56 +01:00
Linty
fe47d3e60a fix #2105 replace link icon tree by icon home
and it becomes non-clickable
2024-02-02 11:10:54 +01:00
plegall
ed4e205c7f fixes #2104 album editor, use M size (not deactivable) instead of S 2024-02-02 11:04:31 +01:00
Willy "Linty
24bce3eb03 fix #2103 the modal is closed only if visible 2024-02-02 10:39:55 +01:00
plegall
4ea2996969 fixes #2093 handle new lines on metadata sync 2024-01-29 19:27:47 +01:00
plegall
411ae43c19 fixes #2095 make "who can see..." more obviously related to privacy level 2024-01-24 15:10:03 +01:00
plegall
a94fbb8225 fixes #2080 syntax error (not always generating error) 2023-12-28 16:29:06 +01:00
plegall
1a9a8e2e4b fixes #2077 escape strings in new album editor 2023-12-26 19:34:56 +01:00
Dmitry Ivanov
d58dba671e Fix missing EXIF metadata for images uploaded in HEIC format
The representative jpg file produced for image uploaded in HEIC
format is used later to obtain EXIF metadata. Hence don't "strip"
HEIC file metadata when corresponding representative is prepared.
2023-12-23 12:52:27 +01:00
plegall
d0836a5c73 fixes #2074 make sure a session exists
Which is not the case on install.php and its call to activate_core_plugins
2023-12-22 18:51:11 +01:00
Willy "Linty
06e0b50043 issue #2073 add raw_name in tags property
We present the raw version in the input, and on the rendered version there's a small globe to show that there's a difference between the rendered and raw versions.

We have also modified the album title in the album edit page. The rendered version is now displayed, we keep the raw version in the input field.
2023-12-22 10:20:49 +01:00
Willy "Linty
dca43a71bc issue #2072 Expand and Shrink album description field 2023-12-19 17:48:07 +01:00
Willy "Linty
dba18e3735 issue #2072 add icon-resize-full and icon-resize-small 2023-12-19 17:42:22 +01:00
Willy "Linty
fbae0b735c fixes #2071 sorts users by date and username 2023-12-18 18:05:09 +01:00
Willy "Linty
a5be190ef2 issue #2071 update fontello
add icon-up and icon-down
2023-12-18 18:04:19 +01:00
plegall
288afc35a1 fixes #2070 simulate a click on whole set selection 2023-12-18 14:31:10 +01:00
Willy "Linty
c0e7e9c87f fixes #1854 use new icons
After updating fontello I put the right icons as on the mockup for core and system
2023-12-12 17:29:57 +01:00
Willy "Linty
b33d4edecb issue #1854 update fontello
add icon-robot-head and icon-piwigo
2023-12-12 17:29:13 +01:00
Willy "Linty
0ac1131e8c Issue #1854 adding a new tab in maintenance page 2023-12-12 15:58:23 +01:00
plegall
a01831b3d8 fixes #2057 register core autoupdate in system activities 2023-12-07 11:29:32 +01:00
Willy "Linty
bd152ba00e fixes #2054 avoid exceeding box limits for album directory name 2023-12-05 17:27:17 +01:00
Willy "Linty
d838ab3f17 Fixes #2053 Move script and add a user interaction
Now, to let the selectize plugin initialize, at onChange we check whether one of the inputs has been focused
2023-12-05 14:44:38 +01:00