Commit graph

1670 commits

Author SHA1 Message Date
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
d8d4297a22 bug 3058: update mdetect for windows 8 mobile etc ...
git-svn-id: http://piwigo.org/svn/trunk@28068 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-04 04:20:34 +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
plegall
393b1b38ef merge r27996 from branch 2.6 to trunk
bug 3065 fixed: avoid SQL errors with external authentication



git-svn-id: http://piwigo.org/svn/trunk@27997 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-28 13:26:30 +00:00
plegall
fa53820760 merge r27925 from branch 2.6 to trunk
bug 3057: avoid warnings and SQL crash when encountering inconsistent
permissions + rewrite permissions consistancy check when setting albums
to private status.



git-svn-id: http://piwigo.org/svn/trunk@27926 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-24 20:22:43 +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
b08c46f3c3 merge r27810 from branch 2.6 to trunk
bug 3055: add security pwg_token on API methods introduced in Piwigo 2.6
(pwg.groups.addUser, pwg.groups.deleteUser, pwg.groups.setInfo, pwg.users.add,
pwg.users.setInfo, pwg.permissions.add, pwg.permissions.remove)



git-svn-id: http://piwigo.org/svn/trunk@27811 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-17 22:20:28 +00:00
plegall
cdeb5959bb merge r27715 from branch 2.6 to trunk
feature 3054: new trigger ws_users_getList



git-svn-id: http://piwigo.org/svn/trunk@27716 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-12 13:42:31 +00:00
rvelices
3be1afd583 removed unnecessary by ref parameters + do not define IN_ADMIN on ws method
git-svn-id: http://piwigo.org/svn/trunk@27694 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-11 20:48:27 +00:00
mistic100
1706d51c15 remove "virtual" namespaces (or whatever it's called) in emogrifier
git-svn-id: http://piwigo.org/svn/trunk@27404 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-18 17:35:38 +00:00
mistic100
a49fd1f6a4 update emogrifier
git-svn-id: http://piwigo.org/svn/trunk@27403 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-18 17:32:36 +00:00
rvelices
656ac54090 more query2array and remove unnecessary tests in often called url functions
git-svn-id: http://piwigo.org/svn/trunk@27388 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-16 07:39:19 +00:00
rvelices
9f05167bac web service always return pwg version (allow in the future mobile apps to maintain compatibility)
git-svn-id: http://piwigo.org/svn/trunk@27371 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-13 22:26:17 +00:00
rvelices
761736fc6a remove prehistoric unnecessary object references
git-svn-id: http://piwigo.org/svn/trunk@27370 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-13 22:24:06 +00:00
rvelices
2b81fbc4aa more query2array
git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-13 22:21:12 +00:00
mistic100
7146581f86 feature 2999: (incomplete) doc of mysqli functions
git-svn-id: http://piwigo.org/svn/trunk@27337 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-11 22:12:57 +00:00
rvelices
2d9887993c arrayfromquery optimizations: move double if from inside loop to outside + use directly mysqli calls to avoid function call overhead for every row retrieved from db
git-svn-id: http://piwigo.org/svn/trunk@27336 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-11 21:47:44 +00:00
rvelices
78621a3487 small optim on events trigger when several handlers are registered (no more array_slice inside the loop)
git-svn-id: http://piwigo.org/svn/trunk@27335 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-11 21:45:55 +00:00
rvelices
a1e0f1b52f feature 3043: Add event to allow calculation of rating score with a different algorithm
git-svn-id: http://piwigo.org/svn/trunk@27294 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-09 20:46:06 +00:00
mistic100
42ffeed1c3 feature 3041: Give include path to add_event_handler
$accepted_args is replaced by $include_path (retrocompatible)

git-svn-id: http://piwigo.org/svn/trunk@27238 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-06 13:02:22 +00:00
mistic100
bed530cc88 PluginMaintain is not abstract anymore, allowing partial declaration
git-svn-id: http://piwigo.org/svn/trunk@27221 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-05 20:15:05 +00:00
rvelices
ccf3a7b6c4 remove Smarty backward compatible class (pre Smarty3)
git-svn-id: http://piwigo.org/svn/trunk@27184 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-04 20:12:44 +00:00
mistic100
922de9a63d remove PHP < 5.2 code
git-svn-id: http://piwigo.org/svn/trunk@27158 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-04 11:02:38 +00:00
rvelices
3736ea89c8 removed functions provided for php backward compatibility as 5.2 is now required
git-svn-id: http://piwigo.org/svn/trunk@27152 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-03 21:15:19 +00:00
plegall
abf1bc45c4 required PHP version is 5.2
git-svn-id: http://piwigo.org/svn/trunk@27095 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-31 14:47:47 +00:00
plegall
41f66ccac6 next version is 2.7.0beta1
git-svn-id: http://piwigo.org/svn/trunk@27094 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-31 14:42:31 +00:00
mistic100
8a8c8c161d str2DateTime return false on empty input
git-svn-id: http://piwigo.org/svn/trunk@27043 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-29 20:49:19 +00:00
mistic100
fae05b2743 replace more preg_replace callback
git-svn-id: http://piwigo.org/svn/trunk@26972 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-26 00:38:37 +00:00
plegall
01301c2500 merge r26952 from branch 2.6 to trunk
bug 3035 fixed: the output of pwg.categories.getList with option
tree_output=true was modified in r22729 to fix a bug. But fixing this bug has
broken iOS/Android applications which uses this parameter. The immediate
solution is to reintroduce the bug for now and fix it cleanly later (requires
a new version of iOS/Android apps)



git-svn-id: http://piwigo.org/svn/trunk@26953 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-24 20:12:08 +00:00
mistic100
63f3531059 feature 3031: add $conf['sync_exclude_folders'] parameter
git-svn-id: http://piwigo.org/svn/trunk@26928 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-23 19:29:42 +00:00
mistic100
18eb56efd5 bug 3029: XSS on website_url comment form
git-svn-id: http://piwigo.org/svn/trunk@26916 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-23 11:06:38 +00:00
mistic100
732e0bb497 bug 3027: Fatal error on Configuration->Options->Photo size
git-svn-id: http://piwigo.org/svn/trunk@26902 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-22 10:45:24 +00:00
mistic100
4cbc723d2a bug 3025: Fatal error: Declaration of Calendar::get_date_where() must be compatible with that of CalendarBase::get_date_where()
git-svn-id: http://piwigo.org/svn/trunk@26865 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-18 15:15:53 +00:00
mistic100
4a2ee2dfd7 bug 3024: Warning: array_merge(): Argument 1 is not an array on template.class.php
git-svn-id: http://piwigo.org/svn/trunk@26863 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-18 15:11:59 +00:00
mistic100
c1b07f9230 bug 3023: Fatal error when using trigger_notify/trigger_change on PHP < 5.3
git-svn-id: http://piwigo.org/svn/trunk@26846 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-18 12:39:09 +00:00
rvelices
50927b3569 admin rating improvements
- use web service for deletion
- use datatables for rating by user
- use fontello icons

git-svn-id: http://piwigo.org/svn/trunk@26837 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-17 22:19:44 +00:00
plegall
aa7c1114a3 next release is 2.6.0 (be ready)
git-svn-id: http://piwigo.org/svn/trunk@26826 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-17 12:53:54 +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
rvelices
089c4542fb bug 2963: Ability to create css/js smarty templates with caching (scripts was not using template parameter)
git-svn-id: http://piwigo.org/svn/trunk@26718 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-14 21:13:40 +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
4f91b4b9b0 use custom safe_version_compare instead of version_compare to handle versions numbers with letters
git-svn-id: http://piwigo.org/svn/trunk@26591 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-09 21:22:13 +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
e1c2ba81b1 feature 2985: missing multiplier when comparing css orders
git-svn-id: http://piwigo.org/svn/trunk@26073 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-21 21:39:41 +00:00
mistic100
6e058da6b3 add query2array function, aiming to replace hash_from_query, array_from_query and simple_hash_fromq_query
git-svn-id: http://piwigo.org/svn/trunk@26048 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-20 10:54:02 +00:00
mistic100
6e91ec554c feature 1668: escape login and password in registration email
git-svn-id: http://piwigo.org/svn/trunk@26028 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-18 19:59:30 +00:00
rvelices
29433f1db4 invalidate_user_cache fix in web service method + do not invalidate user cache on every page hit on album list, photo etc ...
git-svn-id: http://piwigo.org/svn/trunk@25975 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-16 20:18:56 +00:00