Commit Graph

510 Commits

Author SHA1 Message Date
plegall c0d1245f19 issue #2202 search filter, always display all filetypes 2024-08-07 22:15:13 +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
HWFord 08357f59eb related #2193 add new icons
icons used for new search widgets
2024-07-25 12:04:46 +02:00
HWFord aac54ba1f0 fixes #2192 set max-height and overflow
remove height from outer container of options, set max height and overflow for options container
2024-07-24 09:42:11 +02:00
HWFord 796eecdbf9 relates #2170 missing closing div 2024-06-20 13:37:21 +02:00
HWFord 983d943548 issue #2170 update picture tpl to embed pdf reader
Add default config pdf_viewer_filesize_threshold
Add function to get number of PDF pages
Add translations
update picture.php to send pdf filesize threshold and nb page to tpl
update picture.tpl to add number of pages for PDF
picture_content.tpl update for new config name and add translation functions. use embed for pdf if file ext = pdf
2024-06-20 11:56:19 +02:00
plegall b20886cbe3 fixes #2156 force a default PAGE_BANNER 2024-04-24 16:43:13 +02:00
marsooooo 562fb6c0be Fixes #2147 Add style elements to generated page
Updated generated html code so it fits the design
Added warning triangle icon as svg

Page now hides the login button in case user is already logged in
2024-04-12 15:49:09 +02:00
plegall 3af5594993 fixes #2140 PHP 8 issues 2024-03-27 15:00:21 +01: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
plegall 1de1a0a7ab fixes #2094 more lines for selectize in search filters 2024-01-24 14:20:11 +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 215c6c785a issue #2086 update fontello
Change file name (because it's linked to font-family) and icon prefix. To avoid conflicts.
2024-01-09 16:29:56 +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
HWFord 4ddba31f24 fixes #2047 change broom icon to rotating arrow 2023-11-22 17:04:34 +01:00
HWFord 80d65a26fb issue #2047 update fontello 2023-11-22 17:03:09 +01:00
HWFord a52a38121c fixes #2043 add 2023 and 2024 png
also add background-color to clear admin to make image more readable
2023-11-17 11:51:40 +01:00
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