Commit Graph

130 Commits

Author SHA1 Message Date
Linty 9a46f14f1c issue #2226 refactor album selector to class-based structure
- Update existing album selectors to new instantiation method
2024-09-23 12:40:33 +02:00
Linty 634711ca3a fixes #2229 created date filter, handle parent and child dates
Add and outline check for parent date and grey check for child dates
2024-09-19 18:00:07 +02:00
Linty 874db88b5d fixes #2229 date posted filter, handle parent and child dates
Add and outline check for parent date and grey check for child dates
2024-09-19 17:37:46 +02:00
HWFord 2d2baa7052 fixes #2227 add creation date filter
Same logic as date posted
2024-09-17 16:50:38 +02:00
HWFord 921f679bca fixes ##2195 if conf['rate'] show rating filter
only allow rating filter if gallery uses rating
update api, mcs.js and tpl to check if rating
search_filters.inc.php update indentation due to extra if
2024-09-16 10:21:49 +02:00
HWFord d0b3227ed4 issue #2211 empty filters fix
since date posted filter update empty filters stopped working, this is due to PS_params.date_posted_custom not being reset properly
2024-09-06 10:22:03 +02:00
HWFord b3151e0129 fixes #2211 integrate new redesign for date posted filter
filter on date_posted custom values (specific years, months or days) along side last 7, 30 days, 3 and 6 months
following redesign by alice
2024-09-04 11:30:44 +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
HWFord 6fe1d7db65 fixes #2193 [search] add 5 new widgets
add ratings, ratios, filesize, width and height widgets
- in functions_search add clauses according to each new filter
- in ws_functions add new api parameters
- in index.php add queries to get data for filters
- in admin.lang add missing translations for filters
- in css add basic style to work for modus newspaper
- in js add script for new filters
- in tpl combine script + CSS for double slider & jquery Ui. Add slider conf, template for new widgets

TODO
- adapt css to different themes and skins
2024-07-25 16:11:07 +02:00
Linty 4d26c62470 issue #2132 album selector hierarchy added to search page 2024-03-08 15:55:43 +01:00
Linty 5da20bf1f1 fixes #2131 changing the icon prefix 2024-03-08 15:40:57 +01:00
Willy "Linty 4ecaa9153e fix #2102 wrong value on reset 2024-02-02 10:17:06 +01:00
Willy "Linty c485997162 issue #2086 change of default fontello file name in piwigo
Adapting piwigo's new default fontello file and changing the icon prefix in the code
2024-01-09 16:33:17 +01:00
Willy "Linty 5c90a44df9 fixes #2076 remove an unnecessary line
When clear is clicked in the "album" filter but the "tag" filter is activated, the clear action in the "album" filter does not work. Because of this line.

Clear action in the album filter was clearing both album and tag filters.
2023-12-26 10:22:50 +01:00
Willy "Linty 4f5d7e6b91 issue #2060 mobile version of search filters added
In mobile mode, filters now occupy 100% of the page width. A small arrow is added when the filter is open.
2023-12-11 11:33:04 +01:00
Willy "Linty 8103c48461 Fixes #2051 Move the widget as space becomes available
I calculate the overflow and if it is too much we align the widget to the right of the filter and calculation takes place each time the window is resized
2023-11-27 18:35:06 +01:00
plegall fdd2177e78 fixes #2007 no longer possible to update a filteredSearch
* Piwigo will create a new search for any modification in the filters
* we keep the "origin" of the new search with piwigo_search.forked_from field
2023-09-27 16:30:05 +02:00
HWFord e07f7d3868 related #1986 add comments 2023-09-20 16:14:26 +02:00
HWFord 236c997d6d fixes #1986 remove document on click
the document on click gets all click and triggers more clicks. This has been removed.

Too hide a dropdown when we open another, now is specific to clicks on the filters or the filter button. We remove the class and hide the dorpdown if we have clicked on another filter
2023-09-20 15:47:58 +02:00
HWFord 3f95b007a3 fixes #1984 class being removed on same class 2023-09-19 11:02:59 +02:00
plegall 682de10ddb fixes #1983 switch added_by filter from selectize to filetypes-style 2023-09-18 19:12:27 +02:00
plegall e0a82909fa fixes #1968 new values for date_posted filter
* add 24h, 3m and yNNNN (year 2023 or 2022...)
* remove 1y
* provide labels from backend instead of managing it in javascript
2023-08-26 12:55:12 +02:00
MatthieuLP a215db600b related to #1931 Moved the search filter in a dedicated template 2023-07-31 15:04:49 +02:00
MatthieuLP f62d255e0a related to #1931 & #1946 Date posted filter made like filetype filter
* Also reload page on filter deletion even if it is filled or not
2023-07-26 16:21:53 +02:00
MatthieuLP 4b02f70f3d related to #1931 added popins for albums and tags found 2023-07-26 11:49:59 +02:00
MatthieuLP 528db63bea related to #1931 & #1946 Can remove date filter with filter manager popin now 2023-07-26 09:43:32 +02:00
MatthieuLP b5dc413b40 related to #1931 & #1946 Added Posted date filter 2023-07-25 16:47:25 +02:00
MatthieuLP 6907bf26f5 related to #1931 Added empty all filters button 2023-07-24 15:22:10 +02:00
MatthieuLP 01e3bb61ea related to #1945 & #1931 Clearer code 2023-07-24 11:47:15 +02:00
MatthieuLP da62e80e82 related to #1931 New message if no filters are filled 2023-07-19 10:26:48 +02:00
MatthieuLP 356f6ff83a related to #1931 Moved delete btn inside filter forms and added a "Clear" btn. 2023-07-18 15:57:52 +02:00
MatthieuLP cabb080d91 related to #1931 Clicking outside a filter closes the openned filter 2023-07-17 15:41:30 +02:00
MatthieuLP 0266278561 related to #1931 You can now press Enter to validate filters 2023-07-12 14:53:08 +02:00
MatthieuLP 98fa5b697a related to #1931 can click outside the filter manager popin to close it 2023-07-12 11:37:05 +02:00
MatthieuLP 91fed53ec2 related to #1931 Changed filter btn title, fixed filetypes widget bug where it disapears when empty 2023-07-11 16:21:57 +02:00
MatthieuLP c6325f2e5d related to #1931 Set back widget manager reload on validation to true 2023-07-11 11:00:54 +02:00
MatthieuLP 1e944ca49a related to #1931 Filetypes widget fully functionnal 2023-07-11 10:59:56 +02:00
MatthieuLP 7a132f1933 related to #1931 Added file type widget with
* The new widget
* Translations line

Still need to connect to back and add icons
2023-07-10 16:55:08 +02:00
MatthieuLP d50d7ba620 related to #1869 added translations for MCS 2023-06-26 16:04:47 +02:00
MatthieuLP d515364622 related to #1869 Fixed author widget remove with filter manager. Also updates filter when closing them without validating 2023-06-26 11:37:20 +02:00
MatthieuLP 3d6c533e98 related to #1869 Adjustements for beta1
* Removed console.log()
* Changed widget labels
* Set back all reloads params to true
* Changed icons for add album btn in album widget
2023-06-21 16:39:23 +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
plegall 9cebf85c82 fixes #1336 alternate views for album manager
* in addition to "tile" view introduced in Piwigo 11, we add "compact" and "lines" views
* implemented by @MatthieuLP as cat_list_new in a custom branch, manually merged by @plegall on master
2021-03-04 14:42:06 +01:00
Zacharie 3b1c929e5c Issue #1200 : Design implementation and ajax implementation of changing parent and rank 2020-08-13 11:40:52 +02:00
Zacharie b32daddafe Issue #1189 : Statistic page redesign
* Statistic page totally redesign, replace by a single graphic which display for last hours, days, months and years
 * Add Chart.js plugin for graphic representation
 * Add Moment.js plugin for time operations
2020-06-12 15:33:35 +02:00
Zacharie 490f43c52b Issue #1167 Implement Group Member Manage, Group manager fixes
* Adding and removing members now works in the Member manager popup
 * Implement an intelligent research input for adding users
 * Add the plugin confirm.js
 * Add a confirm popup for the group deletion
 * Implement the "Set as group for new users" action for groups
2020-05-19 17:28:22 +02:00
modus75 8c1a4a181c issue #378 upgrade datatables to 1.10.11 2016-03-09 22:01:25 +01:00
modus75 7dd5029fc6 Merge branch 'feature/378-upgrade-datatables' 2016-03-09 21:54:47 +01:00
plegall 1928125edc fixes #425, update piecon.js 2016-02-26 19:39:36 +01:00
modus75 8b51eb1b40 upgrade datatables to 1.10.11 (issue #378) 2016-02-18 21:33:06 +01:00