Commit graph

1696 commits

Author SHA1 Message Date
plegall
70bcfb5b86 feature 2616: HTML5 upload (with plupload 2.1.2). First basic implementation. Needs customization.
Chunked upload + Drag & drop (no more Flash)

use a new specific API method pwg.images.upload


git-svn-id: http://piwigo.org/svn/trunk@28545 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-27 14:11:23 +00:00
mistic100
a5b2cf8200 feature 3077 : factorize code for categories cache (TODO for other collections) + fix incorrect categories list for dissociation
git-svn-id: http://piwigo.org/svn/trunk@28542 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-26 22:03:57 +00:00
mistic100
f932ee79df feature 3077 : use Selectize with AJAX load/cache on picture_modify
git-svn-id: http://piwigo.org/svn/trunk@28494 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-17 12:11:47 +00:00
rvelices
9f8d9443c9 use persistent cache for calendar list in root flat mode (same perf improvement as category flat view)
git-svn-id: http://piwigo.org/svn/trunk@28491 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-17 06:09:33 +00:00
rvelices
3df9bd4979 fix php warning (from one of my previous commits)
git-svn-id: http://piwigo.org/svn/trunk@28484 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-15 19:24:29 +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
f1f7e5d4ad added a persistent cache mechanism; used so far to cache image ids in flat view mode
git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-11 08:26:41 +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
38ccebec61 removed url compatibility with phpwebgallery 1.6 and below
git-svn-id: http://piwigo.org/svn/trunk@28320 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-30 18:52:28 +00:00
rvelices
e9f39d188d english inflection rules ing/er
git-svn-id: http://piwigo.org/svn/trunk@28319 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-30 18:49:36 +00:00
rvelices
fc20ee6b69 move QUERY_SEARCH template ssignment from index to menubar.inc.php (works also on photo pages)
git-svn-id: http://piwigo.org/svn/trunk@28316 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-30 18:31:00 +00:00
rvelices
ac316cee71 bug 3056: quick search - english inflections improvements
git-svn-id: http://piwigo.org/svn/trunk@28196 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-15 20:22:10 +00:00
rvelices
a4c0f7c393 attempt to make silent php warnings from emogrifier
git-svn-id: http://piwigo.org/svn/trunk@28185 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-14 21:40:34 +00:00
rvelices
612509bef3 no php warning if website_url is missing from comment form submission (many spam robots do not fill it)
git-svn-id: http://piwigo.org/svn/trunk@28183 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-14 21:37:53 +00:00
rvelices
c2181683c9 bug 3056: quick search - added english inflections for -ing / -er for example searching for 'runner', 'runners' or 'running' will yield the same results for all terms (unless specifically quoted)
git-svn-id: http://piwigo.org/svn/trunk@28182 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-14 21:33:51 +00:00
flop25
8f9d4416e5 allow TakeATour to exist in the public part
typo fix in config.inc.php

git-svn-id: http://piwigo.org/svn/trunk@28180 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-14 20:58:02 +00:00
flop25
168bc751df lang key with an empty value are not displayed
git-svn-id: http://piwigo.org/svn/trunk@28171 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-13 18:44:32 +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
flop25
125c8dab47 2 triggers
todo update 2.6 branch and trigger list

git-svn-id: http://piwigo.org/svn/trunk@28101 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-06 19:25:38 +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
1786cac8b0 when displaying iptc metadata, add a space between iptc keywords (if there are many, the html line is unbreakable)
git-svn-id: http://piwigo.org/svn/trunk@28089 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05 19:33:48 +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
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