Commit Graph

704 Commits

Author SHA1 Message Date
HWFord 87ef37b820 issue #2028 change a font color for breadcrumb
for dark mode
2023-11-06 12:03:33 +01:00
HWFord 4208c8ebbc issue #2028 update search css
minor changes to default theme css for search
minor changes to dark and clear colors
2023-11-03 16:29:07 +01:00
HWFord cfe34cc071 issue #2028 update fontello in theme default
missing broom and checkmark needed for search
2023-11-03 16:10:32 +01:00
HWFord b6c738b3cf fixes #2028 Move search filters css and script combines
In search_filters.inc add the combine scripts and css specific to search,
Remove them from index.tpl
In index keep fontello combine, only in if search
Remove pwg-icon class to avoid icon conflits with themes
Move search CSS to its own file, remove it from theme.css,
It has also been taken from modus
Have specific CSS for clear and dark themes (they handle only color)
2023-10-31 17:16:16 +01:00
plegall c94313fdc3 issue #2001 make sure TAGS tpl variable is always set 2023-10-24 15:14:38 +02:00
HWFord 0c99bf6062 issue #2028 add fontello to default theme
specific fontello files
2023-10-23 13:45:24 +02:00
plegall c904d536a5 fixes #2025 add author field in search by words filter 2023-10-18 18:19:30 +02:00
OSWorX 018d2b031b Update search_filters.inc.tpl
Missing translation
2023-10-04 12:15:04 +02:00
plegall 02afefdd3e PHP 8 compatibility, check template variable DATE_POSTED before use 2023-09-29 12:34:33 +02: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
plegall 52969a7708 issue #1957 albums/tags found now correctly filled 2023-08-17 11:12:56 +02:00
plegall 05f7a7e417 issue #1955 change icon for search_in_set feature 2023-08-17 11:02:45 +02:00
plegall 2c3b6ba6ec issue #1955 search in this set (an album or some tags) 2023-08-12 16:49:42 +02:00
plegall b787dfd291 issue #1953 improved privacy on searches and associate each search to its creator
* remove temporary functions ws_gallery_getSearch and ws_gallery_updateSearch
* split get_search_array into sub-functions to use them in web API
* use search_uuid as search_id instead of the numeric search.id : better privacy
* only the creator of the search can update it
* if a visitors tries to open the search of another user, it (the search) gets forked into a new search
2023-08-09 19:18:30 +02:00
plegall 0761e43d5f make sure template does not break when TAGS_FOUND or ALBUMS_FOUND not provided 2023-08-03 12:45:02 +02:00
MatthieuLP 6c9159ddfb related to #1931 Added search css in default/theme.css 2023-07-31 16:20:15 +02:00
MatthieuLP a215db600b related to #1931 Moved the search filter in a dedicated template 2023-07-31 15:04:49 +02:00
MatthieuLP 4424a6dade related to #1931 Responsive for mcs with lots of filters 2023-07-28 10:50:06 +02:00
MatthieuLP c16da5e492 related to #1931 add data display for tag and album popin, this is placeholder data for now 2023-07-28 10:22:21 +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 63869f9ac8 related to #1931 added buttons for albums and tags found 2023-07-26 11:07:04 +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 27217c8c57 related to #1931 Escape translations 2023-07-19 14:32:54 +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 08f63f5648 related to #1931 better order for search options in search by word filter 2023-07-12 10:20:02 +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 5a40343c61 related to #1931 Changed widget labels and added translation lines 2023-06-28 10:39:41 +02:00
MatthieuLP 9b7efde945 related to #1931 moved validate btn on the side of selectize inputs 2023-06-27 17:08:03 +02:00
plegall 0534202c40 fixes #1930 remove search_rules 2023-06-27 15:20:41 +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
plegall c01ec38bc4 issue #1869 search filters, optimize filter data loading and match permissions
* only load list of authors if this filter is active (same for tags, added_by...)
* if the search_rules include album 123 but this album is not available to current user, remove it from search_rules before sending it to template
2023-06-22 12:00:43 +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