Commit graph

313 commits

Author SHA1 Message Date
plegall
fb84527e3b issue #164 add new API method pwg.images.uploadCompleted
+ trigger ws_images_uploadCompleted when this API method is called
+ trigger empty_lounge (can be called at another moment with different effect)
2021-09-15 13:50:15 +02:00
Matthieu Leproux
286e8ad5b1 related to #1316 Calculates cache size and cache size derivatives 2021-07-07 18:14:00 +02:00
Matthieu Leproux
817e007f04 Fixes #1432 Removed the duplicate pwg_activity() call that doubled the number if tags added in activity tab 2021-06-17 15:22:25 +02:00
plegall
ac0d1a5b47 fixes #1419 add photos in a lounge as a temporary space
* at the end of the upload of after a maximum duration, move the photos from the lounge to their actual categories.
* do not invalidate user cache when photos are added in the lounge, thus avoiding to rebuild cache on every photo uploaded
* the lounge system activates itself only beyond 50k (by default) photo
2021-06-11 16:42:48 +02:00
plegall
ea69988eac fixes #1317 remove cache directory size calculation 2021-02-05 10:12:05 +01:00
plegall
cac24635a9 fixes #1300 fall back on exec(du) instead of pure PHP to calculate cache size
This algorithm does not work for Windows and when "exec" is disabled. But not having this cache size is not a major issue. What is a problem is when calculating the cache size breaks the execution, which must be avoided.
2021-01-27 19:46:53 +01:00
plegall
ab81e7707f fixes #1290 avoid calling external command to calculate directory size
+ add a 5 minutes cache to avoid calculating cache size too often
* tested with anold PHP 5.5 (could work with earlier versions, but I prefer to not take the risk)
2021-01-21 10:39:47 +01:00
Louis
f8f219b6ee #1237 menubar closed in dashboard/plugin
menubar doesn t open an extension like it used to, for example dashboard opend photos and plugins opened tools below
2020-10-22 15:40:29 +02:00
Zacharie
d527c47023 Add a new tab to manage album page : search album (based on Hannah mock up), minor changes in button behaviour on add photo page 2020-09-03 15:18:44 +02:00
Zacharie
d4436b825d Issue #1208 : Implementation of the new album edit page 2020-08-13 11:56:57 +02:00
Zacharie
e6b0574cde Issue #1206 : Minor design fix 2020-08-13 11:49:31 +02:00
Zacharie
c4b38d1a41 Issue #1167 : Fixes and code cleaning 2020-05-19 17:28:22 +02:00
Zacharie
df46475e1b Issue #1167 : Implement group merge function
* Implement new API function pwg.groups.merge
 * Generalize the delete group function in admin/include/functions.php
 * Implement merge action in Group Manager
 * Add loading state on grouped delete in group manager
 * Member manager's design fixes
2020-05-19 17:28:22 +02:00
plegall
b31d68fbd9 fixes #1182 with inheritance_by_default, copy only permissions from parents and do not add admins 2020-05-07 12:30:47 +02:00
plegall
c1eecab364 fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8 2019-06-28 18:07:53 +02:00
Sam Wilson
8e9cb6de23 Quote 'rank' field name in SQL
Add backticks to reserved word 'rank' in SQL queries.

Bug: GH #919
2019-06-27 17:50:59 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
940d1d2e8c issue #552
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
27a6504284 issue #552 new table activity and log add/edit/delete on albums 2019-03-25 16:50:45 +01:00
Teatek
61b7974a8d ability to set album order with web API
* add method pwg.categories.setRank in Piwigo web API
2019-02-13 15:00:22 +01:00
Teatek
2cf5c63ca1 fixes #854 adding trigger on tag deletion 2019-02-01 14:07:56 +01:00
Teatek
b05241f508 Fixes #272 missing md5sum
* dashboard: add warning if missing checksums
* add a "compute all missing md5sum" option in batch manager (inspired by delete orphans)
* progress bar when computing md5sums
2019-01-22 10:26:52 +01:00
plegall
063711240a 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:52:55 +02:00
plegall
f520f82736 fixes #726, add trigger in create_virtual_category 2017-07-03 15:56:21 +02:00
plegall
346f5c3849 fixes #707, hide decimal for "158.0 pages seen" 2017-06-14 19:42:21 +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