Commit Graph

9796 Commits

Author SHA1 Message Date
plegall eee57a5d2e feature #392, authentication key, new table 2015-12-31 19:53:38 +01:00
plegall 3ec3cbe6ce Merge branch 'bug/385-php7' 2015-12-30 16:21:32 +01:00
plegall 6ba0148e64 Merge branch 'feature/379-multiple-format' 2015-12-30 16:08:54 +01:00
plegall 7b653c04d6 feature #379, multiple format, download original as format
If multiple format feature is enabled, always put the original file in the formats list.
2015-12-30 16:04:32 +01:00
plegall 99b1fd2704 feature #379, multiple format, bug fixed on sync
New formats were not detected if the photo had not already at least one format.
2015-12-23 10:10:34 +01:00
plegall e439de1612 feature #379, multiple format, consider the original as a format 2015-12-22 19:04:00 +01:00
plegall 1681b02ee9 bug #385 __construct for PHP 7 compatibility 2015-12-20 21:49:11 +01:00
plegall 5bfb51c0ec PHP7 compatibility, use PasswordHash from Wordpress 4.4 (PHP5+ constructor) 2015-12-20 21:36:42 +01:00
plegall 6e2a4495bf feature #379, multiple format, add psd file extension by default 2015-12-20 21:00:28 +01:00
plegall e7183e91d9 use window.SwitchBox instead of duplicating code 2015-12-20 20:38:30 +01:00
plegall 11f37b24b4 feature #379, multiple format, no browser cache
No need random string in URL to avoid browser cache, coding tip by @modus75
2015-12-20 17:49:12 +01:00
plegall 89bc74b3f3 feature #379, multiple format, labels
Ability to customize, with $lang['format CR2'] = 'RAW Canon' (in LocalFiles Editor) for example
2015-12-20 15:44:01 +01:00
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 0f8d85491f feature #379, multiple format, hide formats when disabled 2015-12-17 14:08:53 +01:00
plegall b1b9199258 feature #379, multiple format, hide url on download link 2015-12-17 14:06:04 +01:00
plegall f66c27b731 indentation 2015-12-17 14:00:17 +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
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 acbdd756cd bug #385 PHP7 compatibility
* array concatenation no longer seem to work
2015-12-10 17:27:21 +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 5be28962a1 Merge branch 'feature/377-album-thumbnail' 2015-12-03 16:10:50 +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 64d6beb13e improved use of jQuery, by @mistic100 2015-12-01 13:50:28 +01:00
plegall be6afad731 fixes #377 use Ajax calls to refresh/delete album thumbnail 2015-12-01 12:08:10 +01:00
modus75 27389102d1 upgrade jquery from 1.11.1 to 1.11.3 2015-11-27 21:58:18 +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
plegall bfe4ff3e2f fix #369 : make sure to include the search day
... with forcing time to 00:00:00 on "start" and 23:59:59 on "stop"
2015-11-02 12:23:55 +01:00
Damien Sorel 74e2194a5f Merge pull request #365 from IGLOU-EU/IGLOU-EU-patch-1
Add //TRANSLIT to iconv for activate transliteration.
2015-10-30 18:06:23 +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
plegall 11ccdff585 Merge branch 'feature/357-orphans' 2015-10-09 20:34:35 +02:00
plegall 474942e62d fr_FR for orphans feature #357 2015-10-09 20:25:00 +02:00
plegall 92224bcbf4 fix #357 make orphans photos more obvious
... and easy to delete them all in one click. The orpans, if any, is shown as an entry in the "Photos" menu (link on Batch Manager). In the Batch Manager, new action "delete_orphans" next to prefilter.
2015-10-09 20:17:27 +02:00
mistic100 4bf7792c77 master version should be 2.8.0beta1 2015-10-09 19:52:12 +02:00
Pierrick Le Gall 47ebd6c91f pull-requests on master
... and not develop, which is no longer on Piwigo repository
2015-10-08 11:58:29 +02:00
Pierrick Le Gall 950da505a0 Merge pull request #353 from holzgeist/develop
Use HTTP_X_FORWARDED_HOST if available
2015-10-08 11:42:55 +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
mistic100 9a622724fd Update .gitignore 2015-09-15 19:28:15 +02:00
mistic100 3e7964b628 Fix #347 Missing Template class in install.php 2015-09-15 19:28:05 +02:00
mistic100 bc196ef0a4 Add .gitignore 2015-09-12 20:18:42 +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