Commit graph

72 commits

Author SHA1 Message Date
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
rvelices
eeb9c387cc bug 3056: Improve/rewrite quick search engine: by default AND is used to match all entered terms, OR operator, grouping using brackets ()
still work in progress

git-svn-id: http://piwigo.org/svn/trunk@27868 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-21 05:16:35 +00:00
plegall
7f39d5b695 bug 3020 and bug 3021 fixed: additionnal checks in search inputs
git-svn-id: http://piwigo.org/svn/trunk@26825 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-17 12:50:14 +00:00
mistic100
81ac87bc81 render_tag_name trigger transmit full tag data as second parameter
git-svn-id: http://piwigo.org/svn/trunk@26649 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-12 11:24:02 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
da06285d4e feature 2999: documentation of functions_search and functions_tag
git-svn-id: http://piwigo.org/svn/trunk@25658 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-23 22:57:15 +00:00
mistic100
f11fcfcb0b fix parse error from r25018
git-svn-id: http://piwigo.org/svn/trunk@25026 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-20 14:29:27 +00:00
mistic100
ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
rvelices
dcd7bbef2a fix quick search php warnings in some very rare cases
git-svn-id: http://piwigo.org/svn/trunk@22175 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-12 19:57:51 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
rvelices
1e6e762643 feature 2760: allow tag exclusion in quick search
git-svn-id: http://piwigo.org/svn/trunk@18636 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 15:40:14 +00:00
rvelices
3180f1638a quick search - better handling of wildcard begin/end in tag names (technically rewrote parts of query analser)
still to do: exclusion of matching tags

git-svn-id: http://piwigo.org/svn/trunk@18207 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-24 20:50:24 +00:00
rvelices
528c75ab35 bug 2735: fix/improve non latin language tags
a. non latin tags (greek/cyrillic...) are not sorted case-insesitive and group by letter view in tag list is not case insesitive
b. quick searching tag names does not perform correctly accent folding (e.g. Köln and Koln do not match) and case insesitivity for non latin letters
c. missing from remove_accents characters in romanian language (Latin Extended-B)
  ? c8 98 = LATIN CAPITAL LETTER S WITH COMMA BELOW
  ? c8 99 = LATIN SMALL LETTER S WITH COMMA BELOW
  ? c8 9a = LATIN CAPITAL LETTER T WITH COMMA BELOW
  ? c8 9b = LATIN SMALL LETTER T WITH COMMA BELOW
d. str2url allow non latin letters in output only if the input does not contain any valid lating letter/digit. we should always allow non latin letters in output 

git-svn-id: http://piwigo.org/svn/trunk@17748 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-04 20:03:33 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
rvelices
ab8deea23b bug fix quick search - file name was not correctly search (typo error)
git-svn-id: http://piwigo.org/svn/trunk@11979 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-22 19:14:11 +00:00
rvelices
4232445260 feature:2248 Improve quick/query search results
git-svn-id: http://piwigo.org/svn/trunk@10340 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-12 19:46:36 +00:00
plegall
6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
rvelices
e123585dde bug 2105 : Browsing tags is slow if tags contains many photos
git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 21:16:42 +00:00
rvelices
4c9c38a9f1 bug 2101: php warning/errors + broken navigation when using the advanced search form
git-svn-id: http://piwigo.org/svn/trunk@8611 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-11 21:02:52 +00:00
nikrou
a9849aa9b6 Bug 1763 fixed : [PostgreSQL] double quote used in queries
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 21:18:14 +00:00
nikrou
ce187863e8 Bug 1730 fixed : search doesn't work when database engine is not mysql
For posgresql and sqlite date must allways use day and month with two diggits.

git-svn-id: http://piwigo.org/svn/trunk@6518 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-10 21:07:22 +00:00
rvelices
4e4f257a58 fixes only:
- some searches returned bad array for page['items'] (resulting in php warnings and sometimes mysql fatal error) still existing in branch 2.0
- mysql fatal error in admin maintenance
- php warn in plugins_list.php
- fix check on function param in admin/include/functions.php

git-svn-id: http://piwigo.org/svn/trunk@5691 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-06 20:04:42 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00