Commit Graph
100 Commits
Author SHA1 Message Date
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 c44a5e2890 feature #293, also process videos
... as in Piwigo 2.7, to keep the same level of features. Plugin VideoJS may provide a better algorithm.
2016-01-14 11:21:04 +01:00
plegall 9b10ebad3a next version is 2.8.0RC1 2016-01-14 10:42:55 +01:00
plegall 39fc4a604e Merge branch 'feature/259-album-notify-users' 2016-01-11 09:28:37 +01:00
plegall 2bfd316e34 Merge branch 'feature/398-refresh-user-list' (which should also include branch 'feature/397-edit-user-popin') 2016-01-11 09:17:53 +01:00
plegall ac8c2bf470 feature #397, l10n 2016-01-09 18:53:38 +01:00
plegall a3f80046b6 feature #397, close popin when user deleted 2016-01-09 18:47:50 +01:00
plegall 71c30f46c8 feature #397, bigger padding inside popin 2016-01-09 18:37:07 +01:00
plegall d78caf8603 move new CSS rules to theme.css instead of {html_style} 2016-01-09 18:28:26 +01:00
plegall 041065a824 feature #398, update user list when user is modified 2016-01-09 18:01:18 +01:00
plegall c4678c37a2 feature #397, edit user in a popin 2016-01-09 17:55:44 +01:00
plegall 646aa6f19a Merge branch 'feature/392-auth-keys' 2016-01-06 14:41:25 +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 7bd36e0240 feature #259, notify an album to a list of users
... and not just to a group
2016-01-06 13:42:30 +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
Pierrick Le Gall aa581bd3de Merge pull request #390 from thunderrabbit/readme-typo
Fixed a few typos in README.md
2016-01-04 10:01:58 +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 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
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
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
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
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
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
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
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
Pierrick Le Gall a3538ca9a5 small changes on README 2015-07-28 15:56:05 +02:00
plegall 880b7e549d feature 3229: example for pwg.images.upload
git-svn-id: http://piwigo.org/svn/trunk@31217 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-06-16 09:41:20 +00:00
plegall b25c2af5c2 bug 3226: no need to make upgrade slow (on big tables) with a do_maintenance_all_tables() call, that is not the right time to do that
git-svn-id: http://piwigo.org/svn/trunk@31184 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-05-28 13:16:34 +00:00
plegall b5de5c7658 feature 3225: add elapsed time on each upgrade
git-svn-id: http://piwigo.org/svn/trunk@31183 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-05-28 13:10:31 +00: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
plegall 32138f1fbd bug 3223 fixed: make sure we have found a user before validating the connection
git-svn-id: http://piwigo.org/svn/branches/2.7@31167 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-05-15 12:44:57 +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
plegall cc9ac40fce merge r31041 from trunk to branch 2.7
new version 2.7.2 for language_switch


git-svn-id: http://piwigo.org/svn/branches/2.7@31042 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-03-18 08:42:05 +00:00
plegall a371746a17 new version 2.7.2 for language_switch
git-svn-id: http://piwigo.org/svn/trunk@31041 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-03-18 08:41:42 +00:00
plegall c81e627fdf merge r31039 from trunk to branch 2.7
bug 3212 fixed: add CSS rule to support themes like Modus


git-svn-id: http://piwigo.org/svn/branches/2.7@31040 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-03-18 08:33:16 +00:00
plegall ce8178c542 bug 3212 fixed: add CSS rule to support themes like Modus
git-svn-id: http://piwigo.org/svn/trunk@31039 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-03-18 08:17:16 +00:00
plegall f57bea42b7 merge r30979 from trunk to branch 2.7
bug 3201: accept - in plugin directory name (identifier)


git-svn-id: http://piwigo.org/svn/branches/2.7@30980 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-17 12:38:35 +00:00
plegall d0770df3f8 bug 3201: accept - in plugin directory name (identifier)
git-svn-id: http://piwigo.org/svn/trunk@30979 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-17 12:38:08 +00:00
plegall 22b295ff8d next version is 2.7.4
git-svn-id: http://piwigo.org/svn/branches/2.7@30974 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-16 14:04:21 +00:00
plegall 6d452e8c1b merge r30972 from trunk to branch 2.7
bug 3203 fixed: for IE, explicit the url even for staying on the same page


git-svn-id: http://piwigo.org/svn/branches/2.7@30973 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-16 12:57:00 +00:00
plegall 2d01221893 bug 3203 fixed: for IE, explicit the url even for staying on the same page
git-svn-id: http://piwigo.org/svn/trunk@30972 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-16 12:56:36 +00:00
plegall 3e8f2b4c34 merge r30970 from trunk to branch 2.7
bug 3179 fixed: back merge r26971 (bug:2700) which introduced jBreadCrumb with this bug on Safari and not working. Maybe a future plugin instead.


git-svn-id: http://piwigo.org/svn/branches/2.7@30971 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-16 09:02:26 +00:00
plegall e21c62eb04 bug 3179 fixed: back merge r26971 (bug:2700) which introduced jBreadCrumb with this bug on Safari and not working. Maybe a future plugin instead.
git-svn-id: http://piwigo.org/svn/trunk@30970 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-16 09:00:29 +00:00
plegall cd74b8548f merge r30952 from trunk to branch 2.7
bug 3202 fixed: additional input check for filter_level


git-svn-id: http://piwigo.org/svn/branches/2.7@30953 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-12 14:39:36 +00:00
plegall 6de82cb36f bug 3202 fixed: additional input check for filter_level
git-svn-id: http://piwigo.org/svn/trunk@30952 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-12 14:39:09 +00:00
plegall c0608565da merge r30950 from trunk to branch 2.7
bug 3201 fixed: check plugin identifier


git-svn-id: http://piwigo.org/svn/branches/2.7@30951 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-12 14:35:42 +00:00
plegall 3c28040ca8 bug 3201 fixed: check plugin identifier
git-svn-id: http://piwigo.org/svn/trunk@30950 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-12 14:32:33 +00:00
plegall f07a61c105 merge r30948 from trunk to branch 2.7
bug 3200 fixed: add input checks on admin history


git-svn-id: http://piwigo.org/svn/branches/2.7@30949 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-12 14:30:14 +00:00
plegall 9faae3e25e bug 3200 fixed: add input checks on admin history
git-svn-id: http://piwigo.org/svn/trunk@30948 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-12 14:29:19 +00:00
plegall 11f530c514 bug 3198: replace (toString.call by {}.toString.call to make it work with IE (all versions)
git-svn-id: http://piwigo.org/svn/branches/2.7@30942 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-10 13:52:47 +00:00
plegall 483dc8c065 bug 3198: upgrade Bootstrap tour to version 0.10.1 + change patch to replace toString.call by {}.toString.call (compatibility with IE)
git-svn-id: http://piwigo.org/svn/trunk@30941 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-10 13:49:36 +00:00
plegall 48354d14aa merge r30887 from trunk to branch 2.7
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/branches/2.7@30888 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-12 08:39:43 +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 f5561856a2 bug 3187: sort albums by names without accents
git-svn-id: http://piwigo.org/svn/trunk@30874 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-09 14:14:45 +00:00
plegall a9c7ac432c next release is 2.7.3
git-svn-id: http://piwigo.org/svn/branches/2.7@30868 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-08 13:22:10 +00:00
plegall 6d04381f9d merge r30864 from trunk to branch 2.7
bug 3186: improved security on search.php


git-svn-id: http://piwigo.org/svn/branches/2.7@30867 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-08 13:11:46 +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 4fb06e52fc next release is 2.7.2
git-svn-id: http://piwigo.org/svn/branches/2.7@30569 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-21 12:29:49 +00:00
plegall 9a53efa36a merge r30563 from trunk to branch 2.7
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/branches/2.7@30566 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-21 12:19:21 +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 40256be64a bug 3174 fixed: avoid using load_conf_from_db, use 3rd parameter updateGlobal instead
git-svn-id: http://piwigo.org/svn/trunk@30460 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-12 13:34:53 +00:00
plegall 5b9c25cf03 merge r30375 from trunk to branch 2.7
bug 3171 fixed: no need to double escape the file name from HTML5 upload


git-svn-id: http://piwigo.org/svn/branches/2.7@30376 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-06 09:17:46 +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
plegall 3f835e9aae merge r30310 from trunk to branch 2.7
bug 3165 fixed: template variable ACTIVATE_COMMENTS had been accidentally removed with Piwigo 2.6


git-svn-id: http://piwigo.org/svn/branches/2.7@30311 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-26 09:43:43 +00:00
plegall 2d75fd4579 bug 3165 fixed: template variable ACTIVATE_COMMENTS had been accidentally removed with Piwigo 2.6
git-svn-id: http://piwigo.org/svn/trunk@30310 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-26 09:42:26 +00:00