plegall
c469f5142c
fixes #1937 quick search redirects to normal search
2023-07-03 15:22:52 +02:00
plegall
324e0549be
fixes #1933 reorganize SQL generated query for search by words on album name/desc
2023-06-29 17:36:17 +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
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
Thomas Kempf
46954e69d1
some Codestyle changes
2022-07-20 11:29:42 +02:00
Thomas Kempf
7a3d0f2d89
avoid breaking change for other plugins by keeping $search_results
2022-07-20 11:29:42 +02:00
Thomas Kempf
c36ca8712d
qsearch_results should change the ids of the result set, otherwise the changed_results will be overwritten by the following code during permission checks
2022-07-20 11:29:42 +02:00
plegall
5bc04d1143
issue #1118 missing code in d0497f0
2021-03-09 11:52:33 +01:00
plegall
d0497f035c
fixes #1118 competition between regexp models
2021-03-09 11:32:36 +01:00
plegall
1be34f33a4
fixes #1221 optionnaly include photos from sub-albums of an album matching the search request.
...
* use configuration setting quick_search_include_sub_albums (default=false) to activate this feature.
* the list of sub-albums is not displayed in the list of album results (to avoid too long lists).
2020-10-30 18:01:10 +01:00
plegall
fc193f7474
issue #830 simplify PHP files header, remove copyright/license info
2019-06-04 17:13:51 +02:00
Akimitsu [Bm]
f2834925bb
Fix syntax error
2018-07-12 15:01:32 +02:00
plegall
063711240a
Squashed commit of the following:
...
commit 7190866ccf15033f27095d635546e46dacbb755e
Author: plegall <plg@piwigo.org >
Date: Thu Jul 12 10:52:33 2018 +0200
Revert "Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin "
This reverts commit c8b12a2ed0 .
commit 1dac11ecb6783d0d5353c3d250388f018c30fc5c
Author: plegall <plg@piwigo.org >
Date: Thu Jul 12 10:52:24 2018 +0200
Revert "Update Smarty to 3.1.3"
This reverts commit db684f6151 .
commit 3ac752dc93912ba5701d22dadd9bb3b81e5bb383
Merge: d1c2e71 8d58256
Author: plegall <plg@piwigo.org >
Date: Thu Jul 12 10:50:43 2018 +0200
Merge branch 'php72' of https://github.com/Infern1/Piwigo into Infern1-php72
commit 8d58256c45
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Wed Mar 21 23:40:36 2018 +0100
new feedcreator version for PHP7
commit bb0fcc3a30
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Wed Mar 21 23:26:27 2018 +0100
php72 fixes, replaces each() function
commit 3db22c0d33
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Wed Mar 21 23:02:46 2018 +0100
More fixes for PHP7.2
commit 50d8aafc77
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Mon Mar 19 23:55:21 2018 +0100
Some more replacements of create_function
commit 8263335c42
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Mon Mar 19 22:54:54 2018 +0100
Fixed indents
commit 8d58b637c6
Merge: c8b12a2 8a57d77
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Tue Feb 27 13:51:32 2018 +0100
Merge remote-tracking branch 'upstream/master' into php72
commit c8b12a2ed0
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Thu Jan 18 00:32:46 2018 +0100
Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin
commit db684f6151
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Thu Jan 18 00:23:24 2018 +0100
Update Smarty to 3.1.3
commit 6a3f8f3e76
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Wed Jan 17 23:40:27 2018 +0100
Initial work to support PHP 7.2
2018-07-12 10:52:55 +02:00
plegall
028c4ee2d5
fixes #739 , make sure keys are reset in the "uniquified" array
...
... for a regular search, when different set of photos matches the search.
2017-07-25 18:25:36 +02:00
plegall
1d5279e4a8
fixes #647 , use the constant instead of hard coded table name
2017-04-04 15:19:24 +02:00
plegall
2ef52d20b5
filter search on albums with permissions
2017-03-30 16:10:18 +02:00
plegall
f0195903c2
typo: fill $qsr->cat_iids and not tag_iids
2017-03-30 16:04:31 +02:00
plegall
c5cd5cd216
issue #343 , quick search takes album into account
...
I basically duplicated qsearch_get_tags as qsearch_get_categories and replaced
"tag" by "cat" + obvious changes like table name to query. I also used the
resulting $qsr->cat_iids for merging with other results.
2017-03-30 15:27:20 +02:00
modus75
828bb42ce3
Fix quick search (in php 0=='' but 0!=='') !!!
2017-01-13 21:22:20 +01:00
modus75
25e2954490
fixes #563 quick search filter, wrong limits on upper range limit
2016-12-09 21:59:34 +01:00
modus75
0a90a68915
fixes #563 quick search filter, wrong limits on upper range limit
2016-12-08 22:14:37 +01:00
plegall
9a93d1f44b
fixes #548 , escape HTML chars from search expression
...
before sending them to HTML comment on frontend
2016-11-17 14:10:27 +01:00
plegall
8897e75fc2
feature #355 , OR with other "search by word" results
...
+ use $logger instead of old style "echo" for debugging
2016-02-13 19:31:26 +01:00
plegall
713bc49746
feature #355 , apply search by word on tags
...
we "simulate" a search by tag, but we still perform a "search by words" AND "search by tags", which lead to different result compared to "word on title OR file OR description OR tags"
2016-02-13 18:36:55 +01:00
plegall
c789347c51
happy new year 2016, all headers updated
2016-01-14 12:17:58 +01:00
rvelices
6547a28547
bug 3209: quick search add author: syntax
...
git-svn-id: http://piwigo.org/svn/trunk@31032 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-03-12 19:56:33 +00:00
rvelices
b3a6125892
git-svn-id: http://piwigo.org/svn/trunk@29804 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-26 20:15:53 +00:00
plegall
0ffdff9439
feature 3139: search photo by id
...
git-svn-id: http://piwigo.org/svn/trunk@29483 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-11 10:41:54 +00:00
plegall
93aa6cd832
bug 3136: search by author must be an exact match, now that we have the author listbox
...
git-svn-id: http://piwigo.org/svn/trunk@29431 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-08 09:48:55 +00:00
rvelices
cff2173deb
bug 3056 quick search - fix regex for date searches (was not working with months 11 and 12)
...
git-svn-id: http://piwigo.org/svn/trunk@29022 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-10 21:00:12 +00:00
rvelices
03c16caf50
bug 3056 quick search - allow negative values in numeric scope searches
...
git-svn-id: http://piwigo.org/svn/trunk@28996 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07 22:38:54 +00:00
rvelices
d181101085
bug 3056 quick search - small fixes & improvements
...
- scopes are case insesitive date:2013 and Date:2013 are the same thing
- use strict comparison in scopes when required e.g. date:<2013 is not matching year 2013
- allow scopes (in plugins) to overwrite behaviour of space characters ...
git-svn-id: http://piwigo.org/svn/trunk@28992 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07 20:39:29 +00:00
plegall
6f8caf22ba
feature 3093: search form, ability to select the list of properties on which
...
the search terms applies.
feature 3094: minor redesign on search form.
git-svn-id: http://piwigo.org/svn/trunk@28709 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-17 11:11:44 +00:00
mistic100
4bd32005b5
feature 3010 : replace trigger_action/event by trigger_notify/change
...
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
8b4857c773
quick search - small fixes & improvements
...
available number of comments per user do not use visible_categories (only forbidden)
git-svn-id: http://piwigo.org/svn/trunk@28579 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-31 18:50:30 +00:00
rvelices
f2c42c791e
bug 3056: quick search - cache results for 5 minutes + comments + small fix
...
git-svn-id: http://piwigo.org/svn/trunk@28459 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-13 20:09:04 +00:00
rvelices
748ede3988
bug 3056: quick search - fix variable name
...
git-svn-id: http://piwigo.org/svn/trunk@28383 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-06 19:14:11 +00:00
rvelices
76d4ccb0bb
bug 3056: quick search - fixes
...
git-svn-id: http://piwigo.org/svn/trunk@28165 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-13 04:44:14 +00:00
rvelices
1ac8599718
bug 3056: quick search - better handling of short words and photo acronyms such as AF-S EF-S X-E2 etc ...
...
git-svn-id: http://piwigo.org/svn/trunk@28152 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-10 21:23:00 +00:00
rvelices
3ceca0d755
bug 3056: quick search - now tag search is the same as image search (full text match or like operator)
...
git-svn-id: http://piwigo.org/svn/trunk@28144 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-09 21:23:49 +00:00
rvelices
3ab9ee5b47
bug 3056: quick search - fix warning; better management of variants and short words
...
git-svn-id: http://piwigo.org/svn/trunk@28128 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-08 20:45:48 +00:00
rvelices
2fa746ff10
bug 3056: quick search - added events for plugins; completed help file
...
git-svn-id: http://piwigo.org/svn/trunk@28092 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-06 06:33:46 +00:00
rvelices
35fd7da430
type error in prev commit
...
git-svn-id: http://piwigo.org/svn/trunk@28090 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05 20:06:28 +00:00
rvelices
1f3f5ff73f
bug 3069: add quick search as filter in batch manager
...
git-svn-id: http://piwigo.org/svn/trunk@28087 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05 19:24:27 +00:00
rvelices
7a84635798
bug 3056: quick search - fixes and date range scopes (posted:2003 posted:>2003 posted:*2003 posted:2003-05..20050312 etc)
...
git-svn-id: http://piwigo.org/svn/trunk@28080 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05 06:26:20 +00:00
rvelices
be877ea935
bug 3056: quick search - fixes and better numeric range searches examples:
...
ratio:0.9..1.1
ratio:0.9..
ratio:>0.9
ratio:<1.1
ratio:>3/2
ratio:16/9
git-svn-id: http://piwigo.org/svn/trunk@28066 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-04 04:14:38 +00:00
rvelices
74c69a0862
bug 3056: quick search -
...
added scoped searches tag: photo: file:
added range searches width:..1024 height: ratio: size: filesize: hits: score:
git-svn-id: http://piwigo.org/svn/trunk@28065 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-03 20:52:38 +00:00
rvelices
47c0a03291
bug 3056: quick search - fix + prepare for scoped/range searches
...
git-svn-id: http://piwigo.org/svn/trunk@28064 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-03 19:46:10 +00:00
rvelices
f46b85bc85
bug 3056: quick search
...
- added inflectors for english and french languages
- current quick search is kept in the quick search input box
- small fixes
git-svn-id: http://piwigo.org/svn/trunk@27884 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-23 05:38:05 +00:00
rvelices
dc17fc9ba9
bug 3056: quick search OR operator priority taken into account
...
search for 'mary qwerty' will ignore 'qwerty' and return only results for 'mary' if there is no such thing as 'qwerty' in the photos (if there was 'mary' and 'qwerty', the results for both 'mary' AND 'qwerty' would be shown)
git-svn-id: http://piwigo.org/svn/trunk@27882 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-22 13:03:45 +00:00