Commit Graph

378 Commits

Author SHA1 Message Date
plegall 3ee277f8e0 fixes #171 ability to filter user list on a specific user 2024-08-21 12:11:27 +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
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
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
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
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
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
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 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
Linty 4d26c62470 issue #2132 album selector hierarchy added to search page 2024-03-08 15:55:43 +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
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
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
Willy "Linty 24bce3eb03 fix #2103 the modal is closed only if visible 2024-02-02 10:39:55 +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 fbae0b735c fixes #2071 sorts users by date and username 2023-12-18 18:05:09 +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 0ac1131e8c Issue #1854 adding a new tab in maintenance page 2023-12-12 15:58:23 +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
plegall eb0759ef12 fixes #2046 avoid strip_tags if pwg_token is provided
* pwg.categories.setInfo
* pwg.categories.add
* pwg.images.setInfo
2023-11-23 19:46:46 +01:00
Willy "Linty f98ba25555 Issue #2037 Display new icon-cone on dashboard and album manager 2023-11-10 17:53:52 +01:00
Willy "Linty a267cc022b Issue #2035 Declare new parameters
We change min and max format date, now we expect `YYYY` or `YYYY-mm`or `YYYY-mm-dd`
2023-11-10 14:40:08 +01:00
Willy "Linty 57f8dd5c36 Issue #2033 Redesign open in gallery buttons 2023-11-08 11:57:17 +01:00
plegall b5c9ca4819 issue #2016 save search in history 2023-10-02 12:31:33 +02:00
plegall fdabd4a988 fixes #1929 add parameter search on pwg.categories.getList (and use it) 2023-06-27 14:41:28 +02:00
Pierrick Le Gall 60363ecd42 Issue #1869 multi-criteria search (#1927)
* First implementation of the new multi-criteria search. It replaces the old search.php form.
* Displays live search criteria above search results. Each change reloads the list of results (displayed as thumbnails).
* New API method pwg.images.filteredSearch.update called in AJAX to live change the filters.
* New kind of filter: added_by
2023-06-21 16:11:08 +02:00
MatthieuLP 8b2216bff9 fixed #1905 History image are now clickable to go to edit 2023-04-25 10:40:34 +02:00
MatthieuLP 04e47bab39 fixed #1904 warning is hidden by default 2023-04-24 17:20:48 +02:00
MatthieuLP 47301fd120 fixed #1903 removed english sentence in user delete confirm 2023-04-24 17:19:29 +02:00
MatthieuLP 056b597cd2 fixed #1883 Cancel btn closes tag popin now 2023-04-19 11:51:49 +02:00
MatthieuLP b4285310e9 fixed #1880 Changing email to a wrong email does not block the user after validation 2023-03-14 10:49:46 +01:00
MatthieuLP 1a62df3251 fixed #1878 added status translation in user manager 2023-03-13 10:28:40 +01:00
MatthieuLP fc2bcb6507 fixed #1812 Private sub albums of private sub albums have the lock icon 2023-02-13 10:40:59 +01:00
MatthieuLP c6ada9b9ac related to #1858 Most recent user first 2023-02-06 15:01:35 +01:00
MatthieuLP 74ba35b5f9 related to #1704 created JS file for common functions of the the new popin component 2023-01-11 15:12:27 +01:00
MatthieuLP 9bccc8588f related to #1704 Better 'visible' attribute implementation in API
* fixed SQL error
* Use correct function to save 'visible' attribute
* Underlined the 'Unlock it' button on the orange alert
2023-01-09 14:49:07 +01:00
MatthieuLP 4e899b5eae related to #1704 Added alert is album is locked
* Corrected french sentences spelled wrong
* Added max length for album names in breadcrumbs
* Added attribute 'visible' in categories.setInfos
* Can now unlock an album by clicking on the alert
* Switch used to lock an album works properly now
2023-01-04 18:06:10 +01:00