Commit graph

1830 commits

Author SHA1 Message Date
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
plegall
ab00c52430 feature 3133: add colorscheme parameter for themes. This way we can use the
appropriate CSS for selectize (and other things)


git-svn-id: http://piwigo.org/svn/trunk@29389 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-03 09:02:07 +00:00
mistic100
2b1bba7ffa restore PluginMaintain::autoUpdate throwing a warning instead of a fatal error
git-svn-id: http://piwigo.org/svn/trunk@29316 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-29 07:26:53 +00:00
plegall
f044c3e0d5 next release is 2.7.0RC1
git-svn-id: http://piwigo.org/svn/trunk@29260 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-24 18:23:43 +00:00
plegall
379398d917 feature 3067: upload any file type with the new HTML5 upload form.
$file_types = conf['upload_form_all_types'] ? $conf['file_ext'] : $conf['picture_ext'];

By default, conf['upload_form_all_types'] = false;


git-svn-id: http://piwigo.org/svn/trunk@29124 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-30 13:48:35 +00:00
plegall
87a30ff064 bug 3050: increase security on reset password algorithm.
* reset key has a 1-hour life
* reset key is automatically deleted once used
* reset key is stored as a hash

Thank you effigies for code suggestions


git-svn-id: http://piwigo.org/svn/trunk@29111 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-28 19:27:50 +00:00
plegall
b97fcf2a22 feature 3105: display the link to Piwigo in connection settings notification email (option on register)
git-svn-id: http://piwigo.org/svn/trunk@29075 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-25 12:40:34 +00:00
plegall
bf58209d7d bug 3104: less rights for admins (compared to webmaster). Now an admin can't:
* delete a webmaster
* give webmaster/admin status to any user
* change status of a webmaster/admin 


git-svn-id: http://piwigo.org/svn/trunk@29074 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-25 09:10:49 +00:00
rvelices
4047d8cc8b bug 3100 display IP address of comment author on admin page and also save the entire ip address in the database, not only the first three ip components
git-svn-id: http://piwigo.org/svn/trunk@29060 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-20 21:32:56 +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