Commit Graph

1889 Commits

Author SHA1 Message Date
plegall 8cd9c6602c changes on Smarty side breaks all prefilter in Piwigo
It would be better to modify the way template.class.php registers prefilters
but I didn't find the appropriate data structure.
2015-12-20 14:54:07 +01:00
plegall f28420acfe feature #346, give chunk size in pwg.session.getStatus response 2015-12-20 11:49:49 +01:00
plegall ca238de66d feature #379 multiple format, step 3: add/remove
* during sync, Piwigo will detect new/removed formats for an existing photo
* multiple formats features is disabled by default
2015-12-16 18:16:16 +01:00
plegall 3282ddbe2e update Smarty to official version 3.1.28 2015-12-15 15:24:01 +01:00
plegall 8ba7a1587a feature #293 trigger to generate pwg_representative
* new function upload_file_pdf and upload_file_tiff
* code to handle videos removed for now (discussion with @xbgmsharp)
2015-12-15 10:12:46 +01:00
Damien Sorel 5a6f37edf9 Merge pull request #371 from erAck/master
fix #367 - do not specialize numeric tag to 'id-tag' URL
2015-12-14 14:42:38 +01:00
plegall ed8db3da27 bug #385 compatibility with PHP7
* replace old-style constructor with PHP5-style constructor (__construct)
* do not call set_magic_quotes_runtime() any longer
* avoid automatic conversion from array to string
2015-12-10 14:03:54 +01:00
plegall fa10e0945e bug #385 update to smarty-3.1.28-dev (from Github) 2015-12-10 14:02:22 +01:00
plegall 16f6a54fa7 fixes #384 use built-in functions to set charset 2015-12-08 13:39:09 +01:00
plegall c3b748ecbf feature #379 multiple format, step 2: download formats
* if formats are available, replace the download link on picture.php by a switchBox with all formats
* register format in the history table for future statistics
2015-12-07 10:54:18 +01:00
plegall 8e098d502a feature #379 multiple format, step 1: add formats
* new table piwigo_image_format (each photo can have 0 to many formats)
* only compatible with synchronization for now. Formats must be in sub-directory pwg_format
* formats are visible on edition page only for now
2015-12-03 16:04:02 +01:00
plegall 2080897f3b faster SQL, by @mistic100 2015-12-01 13:53:57 +01:00
plegall be6afad731 fixes #377 use Ajax calls to refresh/delete album thumbnail 2015-12-01 12:08:10 +01:00
plegall 034f689f8e fixes #373 ask a longer random string
to openssl_random_pseudo_bytes, to avoid reaching the base64 trailing "=" signs
2015-11-10 22:34:48 +01:00
Eike Rathke a8381737bd fix #367 - do not specialize numeric tag to 'id-tag' URL
Apparently there is no reason in make_section_in_url() to "escape" a
numeric URL for a tags section if tag_url_style is 'tag'. In
parse_section_url() tag_url_style is checked, and if 'tag' the URL token
is used.
2015-11-08 20:06:01 +01:00
Iglou.eu 9fb420d426 Update functions.inc.php
Add //TRANSLIT to iconv for activate transliteration.
2015-10-29 15:29:50 +01:00
modus75 d7fef70c4c fix #361 - Watermark Y repeat 2015-10-15 22:05:20 +02:00
mistic100 4bf7792c77 master version should be 2.8.0beta1 2015-10-09 19:52:12 +02:00
Tobias Ollmann 6d01f33d9f Do not add the server port when sitting behind a proxy.
Assume that Http-X-Forwarded-Host is set correctly
2015-09-17 19:44:45 +02:00
Tobias Ollmann d58534e877 Use HTTP_X_FORWARDED_HOST if available
This enables piwigo to be run e.g. in a docker container behind a proxy.
If HTTP_X_FORWARDED_HOST is not set, HTTP_HOST is used as usual
2015-09-16 19:24:57 +02:00
plegall 195791c4e2 fixes #348 force logical album sort order
This way we can safely remove empty albums without decrementing count_categories twice.
2015-09-05 00:05:35 +02:00
plegall 5579b1e1a3 closes #346 chunk_size is now a config setting 2015-08-12 14:06:55 +02:00
plegall e520cf8389 merge r31167 from branch 2.7 to trunk
bug 3223 fixed: make sure we have found a user before validating the connection


git-svn-id: http://piwigo.org/svn/trunk@31168 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-05-15 12:45:50 +00:00
rvelices 811ade468a ?> at end of php (even if not required)
git-svn-id: http://piwigo.org/svn/trunk@31157 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-05-12 20:29:02 +00:00
mistic100 271e1f5688 feature 3221 Lazy log file open, clean code
git-svn-id: http://piwigo.org/svn/trunk@31103 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-04-24 17:06:47 +00:00
mistic100 0c576ea19d feature 3221 Add Logger class
git-svn-id: http://piwigo.org/svn/trunk@31102 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-04-24 14:00:50 +00:00
plegall b3541bf16b feature 2955: make the keywords separator configurable
git-svn-id: http://piwigo.org/svn/trunk@31097 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-04-21 12:07:14 +00: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 4e60430dc6 use query2array
git-svn-id: http://piwigo.org/svn/trunk@31031 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-03-12 19:51:21 +00:00
rvelices c7ea93cba3 use query2array + removed unused declaration
git-svn-id: http://piwigo.org/svn/trunk@31030 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-03-12 19:46:33 +00:00
plegall 68caff7099 feature 2943: ability to display metadata (via plugin) even if Piwigo core
finds no EXIF. Patch by xbgmsharp (will be used by plugin videoJS).


git-svn-id: http://piwigo.org/svn/trunk@30887 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-12 08:38:09 +00:00
plegall 639edaa04b bug 3186: improved security on search.php
git-svn-id: http://piwigo.org/svn/trunk@30864 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-08 13:06:27 +00:00
plegall 40e8427a99 bug 3178 fixed, in_array check is not reliable when you compare string (user input) and numeric values
git-svn-id: http://piwigo.org/svn/trunk@30563 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-21 12:17:18 +00:00
plegall 1cc9155c74 bug 3171 fixed: no need to double escape the file name from HTML5 upload
git-svn-id: http://piwigo.org/svn/trunk@30375 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-06 09:16:30 +00:00
rvelices 2b58912b96 bug 3163: pwg.tags.getImages mysql error if order parameter is provided
git-svn-id: http://piwigo.org/svn/trunk@30359 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-03 21:07:33 +00:00
plegall c08e34dea3 bug 3078: avoid zlib issue on Ubuntu 14.04 (PHP 5.5) and maybe other systems
git-svn-id: http://piwigo.org/svn/trunk@29904 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-06 10:45:23 +00:00
plegall 18f045bf35 bug 3111: cleaner code for get_browser_language (no more reference as parameter)
git-svn-id: http://piwigo.org/svn/trunk@29840 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-30 08:23:34 +00:00
plegall 7e5722ce78 bug 3111: add comment to help understand the code
git-svn-id: http://piwigo.org/svn/trunk@29839 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-29 20:55:00 +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
mistic100 0f0b8e0430 final fix for plugins update ?
- plugins.version is not updated in "activate" action
- plugins.version is updated in "update" action and "load_plugin()" function (not only for plugins using maintain.class.php)

cases covered:
- autoupdate while active or inactive
- FTP update while active or inactive


git-svn-id: http://piwigo.org/svn/trunk@29779 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-25 09:25:24 +00:00
mistic100 17a72f2bb2 fix plugins autoupdate: call ##_maintain::update when updating from back-office
git-svn-id: http://piwigo.org/svn/trunk@29773 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-24 17:30:08 +00:00
plegall 60e849b8bc feature 3067: add pdf in conf.picture_ext to illustrate PDF representative generation
git-svn-id: http://piwigo.org/svn/trunk@29762 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-23 13:39:04 +00:00
plegall 3ef5464b26 bug fixed: register_user can be called with no ['mail_address']
git-svn-id: http://piwigo.org/svn/trunk@29759 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-23 08:37:16 +00:00
plegall aace8fa154 next version is 2.7.0
git-svn-id: http://piwigo.org/svn/trunk@29737 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-22 13:06:28 +00:00
plegall 4dbf817829 feature 3083: return the upload_file_types in pwg.session.getStatus (list of file extension, comma separated)
git-svn-id: http://piwigo.org/svn/trunk@29729 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-22 09:29:00 +00:00
plegall b0cc8f1bc2 * feature 3142: upgrade script to Piwigo 2.7
* link to Tour 2_7_0 at the end of upgrade

* activate plugin Take a Tour by default


git-svn-id: http://piwigo.org/svn/trunk@29665 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-20 11:43:01 +00:00
plegall 194b0ca3c9 bug 3119 fixed: patch by mmoy, allow @import url(http://...); directives in minified CSS file.
git-svn-id: http://piwigo.org/svn/trunk@29636 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-19 08:46:12 +00:00
plegall 67f358e012 next version is 2.7.0RC2
git-svn-id: http://piwigo.org/svn/trunk@29553 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-16 10:04:42 +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