Commit Graph

1710 Commits

Author SHA1 Message Date
mistic100 6b7535498c feature 3076: Enhance plugin update system
git-svn-id: http://piwigo.org/svn/trunk@28651 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-09 17:20:43 +00:00
mistic100 a70a274eaa feature 3038 : always apply serialize&addslashes if object/array is passed and not parser is defined
git-svn-id: http://piwigo.org/svn/trunk@28621 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-03 15:05:14 +00:00
plegall 8464fbbc17 bug 3082: increase generate_key randomness with openssl_random_pseudo_bytes (with fallback on mt_rand for Windows+PHP<5.3.4)
git-svn-id: http://piwigo.org/svn/trunk@28615 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-03 08:07:32 +00:00
rvelices 0fe08001c3 local css prefilter does not need new line before get_combined_css
git-svn-id: http://piwigo.org/svn/trunk@28600 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 19:57:30 +00:00
rvelices 659528da06 increase frequency of persistent cache purge (every ~100 set ops instead of ~200 set ops)
git-svn-id: http://piwigo.org/svn/trunk@28599 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 19:55:38 +00:00
mistic100 f47ef1493f use lookup string for generate_key function
git-svn-id: http://piwigo.org/svn/trunk@28591 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 12:52:00 +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 13a70520fa bug 3082: random key generation algorithm
git-svn-id: http://piwigo.org/svn/trunk@28571 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-29 20:40:45 +00:00
mistic100 b317745ac9 feature 3038 : add $updateGlobal and $parser options to conf_update_param
git-svn-id: http://piwigo.org/svn/trunk@28567 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-29 14:11:14 +00:00
rvelices 867d779ffc added persistent cache for some slow queries in feed notification (even if not important to be fast on RSS feed, it might slow down galleries that are very large and actively used)
git-svn-id: http://piwigo.org/svn/trunk@28560 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-29 05:27:57 +00:00
rvelices 20919c9875 remove unused config variable
git-svn-id: http://piwigo.org/svn/trunk@28558 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-29 05:19:46 +00:00
plegall 7b3783c981 feature 2616: better behavior at the end of upload (more like with uploadify, but no page reload)
git-svn-id: http://piwigo.org/svn/trunk@28554 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-28 16:41:56 +00:00
plegall 682148e917 feature 2616, customizations for plupload
* bug fixed, remove debug inserts in table "plupload"
* display photo title as tooltip on thumbnail
* hide useless .plupload_header
* hide any other form fieldset until an album is selected


git-svn-id: http://piwigo.org/svn/trunk@28552 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-28 09:33:17 +00:00
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