291 Commits

Author SHA1 Message Date
plegall
e45e726b58 (cp 0637112) Squashed commit of the following:
commit 7190866ccf15033f27095d635546e46dacbb755e
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:33 2018 +0200

    Revert "Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin"

    This reverts commit c8b12a2ed0.

commit 1dac11ecb6783d0d5353c3d250388f018c30fc5c
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:24 2018 +0200

    Revert "Update Smarty to 3.1.3"

    This reverts commit db684f6151.

commit 3ac752dc93912ba5701d22dadd9bb3b81e5bb383
Merge: d1c2e71 8d58256
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:50:43 2018 +0200

    Merge branch 'php72' of https://github.com/Infern1/Piwigo into Infern1-php72

commit 8d58256c45
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:40:36 2018 +0100

    new feedcreator version for PHP7

commit bb0fcc3a30
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:26:27 2018 +0100

    php72 fixes, replaces each() function

commit 3db22c0d33
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:02:46 2018 +0100

    More fixes for PHP7.2

commit 50d8aafc77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 23:55:21 2018 +0100

    Some more replacements of create_function

commit 8263335c42
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 22:54:54 2018 +0100

    Fixed indents

commit 8d58b637c6
Merge: c8b12a2 8a57d77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Tue Feb 27 13:51:32 2018 +0100

    Merge remote-tracking branch 'upstream/master' into php72

commit c8b12a2ed0
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:32:46 2018 +0100

    Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin

commit db684f6151
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:23:24 2018 +0100

    Update Smarty to 3.1.3

commit 6a3f8f3e76
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Jan 17 23:40:27 2018 +0100

    Initial work to support PHP 7.2
2018-07-12 10:58:26 +02:00
plegall
fb4006bda6 (cp f520f82) fixes #726, add trigger in create_virtual_category 2017-07-03 15:56:54 +02:00
plegall
c6c6305302 (cp 346f5c3) fixes #707, hide decimal for "158.0 pages seen" 2017-06-14 19:44:28 +02:00
plegall
6b88073449 function get_fs is no longer used (since 2.4) 2017-04-07 15:28:17 +02:00
plegall
ea7e6d76e6 fixes #291, add function categories_integrity
to check and repair integrity on categories. For example,
image_category.category_id should always be linked to a categorie.id,
if not we delete the orphan line.
2017-03-02 12:27:31 +01:00
plegall
a93dba2f52 feature #606, make sure we delete oldest images first 2017-01-24 15:12:13 +01:00
plegall
42d56b658d fixes #584, better check and error for image_id on edition 2016-12-21 14:01:54 +01:00
plegall
102e0f0608 Merge branch 'jeremydurand-bug/403-configuration-new-album-position' 2016-12-05 15:36:50 +01:00
plegall
8564f1e773 fixes #537, do not consider new tags as orphan
Wait a least 1 day before!
2016-11-25 18:31:58 +01:00
plegall
5dbc6c85a9 feature #534, modernize admin homepage {wip}
* add tab
* display the pending comments as a "message" (new blue box)
* remove anything related to environment #532
* display stats as big icon + big number + caption
* new stat "storage used"
2016-10-07 14:30:54 +02:00
plegall
f9f077bb15 fixes #452, update images.lastmodified when changing tag list 2016-06-23 12:37:43 +02:00
jeremydurand
ba940dd503 fixes #403 configuration of new album position 2016-06-13 17:37:55 +02:00
plegall
a9a17a27cb feature #295, proxy support for fetchRemote 2016-02-15 15:02:16 +01:00
plegall
25edfc2663 feature #383, dedicated function to delete sessions 2016-02-12 17:44:27 +01:00
plegall
2561928b80 bug #383, fix session deletion when user deleted 2016-02-12 15:56:53 +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
modus75
ac37eb5a50 clean USER_AUTH_KEYS_TABLE when deleting user 2016-01-16 17:15:55 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
6ba0148e64 Merge branch 'feature/379-multiple-format' 2015-12-30 16:08:54 +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
be6afad731 fixes #377 use Ajax calls to refresh/delete album thumbnail 2015-12-01 12:08:10 +01: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
plegall
41043cbf0d bug 3162: because string(5) "35.10" == string(4) "35.1", we have to use === instead (or !==)
git-svn-id: http://piwigo.org/svn/trunk@30106 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-16 12:00:11 +00:00
plegall
a599995dc0 merge back r30104 (bad commit log, wrong copy/paste)
git-svn-id: http://piwigo.org/svn/trunk@30105 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-16 11:56:54 +00:00
plegall
639474d3b6 bug if (584 == )
git-svn-id: http://piwigo.org/svn/trunk@30104 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-16 11:53:38 +00:00
flop25
f1f806b8a3 feature:732
unlock sub-albums

git-svn-id: http://piwigo.org/svn/trunk@29229 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-17 20:01:10 +00:00
rvelices
8ab305a688 fix my previous commit typo mistake
git-svn-id: http://piwigo.org/svn/trunk@29068 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-21 23:36:50 +00:00
rvelices
2eca26b97c bug 3101: Allow multi language tags to be recognized from selectize or metadata sync
git-svn-id: http://piwigo.org/svn/trunk@29066 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-21 21:00:17 +00:00
rvelices
428bb952f9 more query2array on admin side
git-svn-id: http://piwigo.org/svn/trunk@29052 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-17 18:47:07 +00:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
mistic100
eaf4d5db52 related to bug 3086 : test for curl_init and curl_exec in fetchRemote
git-svn-id: http://piwigo.org/svn/trunk@28572 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-30 13:01:20 +00:00
mistic100
fea2a4efd1 feature 3077 : improve cache invalidation
- add "lastmodified" automatic field for categories, groups, users, tags and images tables
- provide a "server key" to the client cache manager

git-svn-id: http://piwigo.org/svn/trunk@28532 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-24 14:18:04 +00:00
plegall
fa53820760 merge r27925 from branch 2.6 to trunk
bug 3057: avoid warnings and SQL crash when encountering inconsistent
permissions + rewrite permissions consistancy check when setting albums
to private status.



git-svn-id: http://piwigo.org/svn/trunk@27926 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-24 20:22:43 +00:00
mistic100
fae05b2743 replace more preg_replace callback
git-svn-id: http://piwigo.org/svn/trunk@26972 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-26 00:38:37 +00:00
mistic100
63f3531059 feature 3031: add $conf['sync_exclude_folders'] parameter
git-svn-id: http://piwigo.org/svn/trunk@26928 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-23 19:29:42 +00:00
plegall
788e9eef64 merge r26921 from branch 2.6 to trunk
bug 3032 fixed: it seems that the SQL update in invalidate_user_cache_nb_tags corrupts the pwg_db_insert_id (very unexpected)


git-svn-id: http://piwigo.org/svn/trunk@26922 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-23 13:05:19 +00:00
mistic100
597be89274 bug 2989: fix r26905
git-svn-id: http://piwigo.org/svn/trunk@26907 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-22 17:18:14 +00:00
mistic100
9ee07221ec Merged revision(s) 26904 from branches/2.6:
bug 2989: Deprecated: preg_replace(): The /e modifier is deprecated

git-svn-id: http://piwigo.org/svn/trunk@26905 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-22 12:05:27 +00:00
mistic100
28f4a33bcb feature 2999: documentation of admin/include/functions.php
git-svn-id: http://piwigo.org/svn/trunk@26807 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-16 15:24:36 +00:00
mistic100
81ac87bc81 render_tag_name trigger transmit full tag data as second parameter
git-svn-id: http://piwigo.org/svn/trunk@26649 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-12 11:24:02 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
c64eb85452 mistakenly removed status check in previous commit + same thing for users
git-svn-id: http://piwigo.org/svn/trunk@25244 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 20:14:32 +00:00
mistic100
4926fced5e replace some mass_updates/inserts by single_update/insert
git-svn-id: http://piwigo.org/svn/trunk@25019 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 18:17:10 +00:00
mistic100
ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
plegall
2209edc7f0 merge r24986 from branch 2.5 to trunk
bug 2977 fixed: when moving an album, whatever the previous status
private/public we must remove irrelevant permissions (a public album
can have hidden permission, ie list of groups/users permitted). I've
also found a bug in the algorithm that selects users/groups to delete
(reverse parameters in array_diff).



git-svn-id: http://piwigo.org/svn/trunk@24987 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-18 21:02:15 +00:00
flop25
a1b66d8a33 bug:2855
bug corrected (if that was a virtual album created without parent)

git-svn-id: http://piwigo.org/svn/trunk@23886 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-09 13:37:42 +00:00
mistic100
d95425b9bb bug:2898 make some updates methods static + factorize code from plugins, themes & languages
git-svn-id: http://piwigo.org/svn/trunk@23821 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-07 11:28:12 +00:00
flop25
c17bc66aeb bug:2855
new otpion "inherit" for create_virtual_category(), and $conf['inheritance_by_default'] = false;
ToDo: album registred from Ftp

git-svn-id: http://piwigo.org/svn/trunk@23272 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-16 19:52:51 +00:00
rvelices
ea10c19ac5 feature 2836: display the number of comments/tags in the menubar
git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-24 06:46:35 +00:00
plegall
0c49940ad2 merge r21566 from branch 2.5 to trunk
bug 2867 fixed: move get_dirs function to a function file, so that it can be used in plugin LocalFiles Editor (see r18629)



git-svn-id: http://piwigo.org/svn/trunk@21567 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-15 10:06:38 +00:00