Commit graph

1815 commits

Author SHA1 Message Date
plegall
c4b7977a42 next version is 2.8.0RC2 2016-02-01 10:52:07 +01:00
plegall
2fcf276811 fixes #413, force log in with auth key user 2016-02-01 10:05:33 +01:00
plegall
a12425629e fixes #412, warn visitor if auth key no longer valid 2016-01-29 12:44:38 +01:00
plegall
bc7316639f fixes #349, API set ranks of all album photos at once
on pwg.images.setRank, ability to provide a list of image_id (and no rank).
This way you can set the order of all photos of a given album, at once.
2016-01-28 16:03:39 +01:00
plg
f04e4d8b4f bug #408 fixed, no session_regenerate_id on early PHP 7 versions 2016-01-27 15:36:00 +01:00
plegall
74dd9b88ed Merge branch 'bug/405-css-emails' 2016-01-26 15:03:10 +01:00
modus75
69cdcf2316 fix change in smarty class name new version 2016-01-23 23:00:39 +01:00
plegall
727b9827af Revert "bug #405 fixed, embed CSS style inline"
This reverts commit f3cb99ea09.
2016-01-22 21:57:24 +01:00
plegall
f3cb99ea09 bug #405 fixed, embed CSS style inline
emogrifier could not work, unless we reapply changes introduced by @mistic100 in earlier commits 9cc816d364 and efbc08e537
2016-01-21 15:14:37 +01:00
plegall
968e9ff06d 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.
2016-01-21 15:11:32 +01:00
plegall
d33051cb72 update to Smarty 3.1.29 2016-01-21 15:10:02 +01:00
modus75
4bf51fc8e0 shorten some code (not really important) 2016-01-16 17:20:43 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
c79cb18e44 Merge branch 'feature/293-trigger-upload' 2016-01-14 11:23:45 +01:00
plegall
9b10ebad3a next version is 2.8.0RC1 2016-01-14 10:42:55 +01:00
plegall
426e10e235 feature #392, bug fixed on footer link
Use auth_key in mail cache key to avoid using the auth key of the first user.
2016-01-06 14:30:05 +01:00
plegall
c42f15dfa8 add auth_key in mail footer for pwg_mail_group 2016-01-06 14:29:32 +01:00
plegall
67e142f331 feature #392, add authentication key in NBM mails
There are many links in NBM (Notification By Mail, see screen
[Administration > Users > Notification]). I had to change several
functions to take this authentication key into account.
2016-01-04 19:54:40 +01:00
plegall
f2f9e5ecb7 feature #392, authentication keys, history log
When a user successfully performs an authentication with an auth_key, Piwigo
registers it in the history table.

For now, it is not shown/searchable in the history screen, but we can add it
in the future and we can provide a plugin with specific details about
authentication keys usage.
2016-01-04 15:04:02 +01:00
plegall
f4040a5a3a forgotten to give user_status on recursive call in create_user_auth_key, bug detected by @mistic100 2016-01-01 20:37:33 +01:00
plegall
4aeedb5a2e feature #392, authentication keys, album notification
* On album notification (for a group), sends one distinct email for each user
  with a new authentication key.

* When someone clicks the link with auth=<key> in URL, if the user is not
  already connected, Piwigo will automatically connect the user.
2015-12-31 19:59:08 +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
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
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