Commit Graph

522 Commits

Author SHA1 Message Date
HWFord 49b2ab3855 issue #2211 missing alternating lines
for months of even years the background colour now alternates
2024-09-20 11:10:44 +02:00
plegall 40947217ac fixes #2230 search filters, always display all date_posted presets 2024-09-19 18:21:53 +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
Linty 9462c7aa09 issue #2229 update fontello icon
remove list check
add gallery-icon-check-outline
2024-09-19 17:34:08 +02:00
HWFord 2d2baa7052 fixes #2227 add creation date filter
Same logic as date posted
2024-09-17 16:50:38 +02:00
HWFord 2783a8b848 issue #2211 update fontello add list check
used in posted date and creation date for gallery filters
2024-09-16 15:10:02 +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 9d4b2a6693 [mcs] disable filesize input on filter
temporarily disable input, committed by accident when not finished
keep input but disable them for now
2024-09-04 11:50:23 +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
plegall b6789d4de9 fixes #2218 avoid search engines to index search pages 2024-09-03 21:05:57 +02:00
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