Commit Graph

355 Commits

Author SHA1 Message Date
Linty b9d8e076b0 (cp 0c2b0175d) 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 17:09:55 +01:00
Linty a51de38e51 (cp 91659fa84) 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:56:45 +01:00
Linty df8e34b97f (cp 562170528) turn code more robust by using sprintf instead of replace 2024-02-09 17:38:03 +01:00
Linty 7ecca50037 (cp d2e8d95d9) 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:13:14 +01:00
Willy "Linty 3dd0b5200e (cp 1629cd938) 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:55:28 +01:00
Willy "Linty df9f28b442 (cp 24bce3eb0) fix #2103 the modal is closed only if visible 2024-02-02 10:44:37 +01:00
Willy "Linty 9b4d44b32b (cp 06e0b50) 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:31:16 +01:00
plegall 8471b3f03b (cp dca43a7) issue #2072 Expand and Shrink album description field 2023-12-19 17:55:41 +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
Matthieu Leproux f4a4473f37 Issue #1704 New album edition page
* Front end development according to the mockup
* Save changes in ajax
* Implement the delete album behaviour with Jconfirm in ajax
* Adding a new Css component : infos (factorized in the tag page)
* Add a new general admin template variable : ADMIN_PAGE_OBJECT_ID (adding the id of an object on the page)
* Modify the pwg.categories.setInfo api method to fit the need of the album edition pages
* Slightly change the method time_since, add a parameter to display only the greates time unit
* Popin to change parent album, and changed it as a re-usable component
* Dropdown to replace the checkbox for comments
2023-01-02 16:24:41 +01:00
MatthieuLP 896125194c related to #1837 added dropdown for album badges 2022-12-21 14:25:19 +01:00
MatthieuLP 23a8d1d1fe related to #1834 added filtered users sentence and fixed search cancel in search input 2022-12-20 16:33:19 +01:00
MatthieuLP aa4ee2ca89 related to #1834 implemented badge on filter button 2022-12-20 14:21:23 +01:00
MatthieuLP 07ef2e0033 related to #1832 removed console.log 2022-12-20 10:54:38 +01:00
MatthieuLP 4ea57967cd fixed #1832 Number of displayed users in user manager is now saved in user_prefs 2022-12-19 16:35:46 +01:00
MatthieuLP 2a72114377 related to #1826 focus on user input when we create a user 2022-12-14 12:36:33 +01:00
MatthieuLP 6055ea13fc related to #1825 'Select the whole set' button takes in account the filters used 2022-12-14 12:11:23 +01:00
plegall 735cda77a5 fixes #1824 user manager, do not apply filter when closed 2022-12-13 15:34:33 +01:00
Matthieu Leproux be63364aa6 fixed #1812 icon-lock are shown for newly created private albums 2022-11-28 16:27:33 +01:00
plegall f4f5a7a1e3 fixes #1808 use the option selected by the user to delete photos (or not) 2022-11-25 11:09:53 +01:00
Matthieu Leproux 61aad82acd fixed #1807 no more latency on the plugin manager 2022-11-23 15:58:11 +01:00
Matthieu Leproux 06c0164bdc related to #1806 changed add album icon and add photo icon 2022-11-23 13:11:44 +01:00
Pierrick Le Gall 683e11320d Issue #1790 album manager performances (#1805)
* change the meaning of light_album_manager_threshold to load less user interface (instead of redirecting to the old album manager). In the light mode, do not load tiptip.

* remove dropdown menu, to reduce DOM size

For example, on a 16k albums, load time goes from 18 to 8 seconds on MatthieuLP computer.

Co-authored-by: Matthieu Leproux <matthieu.leproux@gmail.com>
2022-11-23 10:43:31 +01:00
Matthieu Leproux 4b0a54431a fixed #1794 keyup event is triggered only once for album creation 2022-11-16 15:18:03 +01:00
Matthieu Leproux 964db7dcd5 fixed #1793 the sort order popin validation button label changes properly 2022-11-16 14:41:03 +01:00
Matthieu Leproux 468394af66 related to #1790 optimized back end and front end a bit, but front has to be improved 2022-11-15 16:03:25 +01:00
Matthieu Leproux 9a4f9272b2 fixed #1784 added button in user edit popin to go on te history page with the user as filter 2022-11-09 15:45:48 +01:00
Matthieu Leproux 453de4a3d1 fixed #1783 added image filter from the edit image page 2022-11-09 12:41:49 +01:00
Matthieu Leproux e42f942020 fixed #1782 added sneaky way to filter by IP in the url 2022-11-09 11:40:23 +01:00
Matthieu Leproux 532fc743f2 fixed #1781 better UX for the add album popin 2022-11-08 17:23:31 +01:00
Matthieu Leproux 26d61b976e fixed #1775 proper tooltip style for sort order btn 2022-11-02 16:04:49 +01:00
Matthieu Leproux 3881377d64 fixed #1768 better label for sort order btn 2022-10-25 11:23:19 +02:00