79 Commits

Author SHA1 Message Date
Ana Els
65acb988db A couple of minor PHP 8 fixes that can be applied now 2021-08-03 10:54:52 +02:00
plegall
e64acd03c5 fixes #1358 automatic call to pwg.extensions.checkUpdates can be deactivated 2021-03-05 12:19:56 +01:00
plegall
e86d5525d0 fixes #1357 incorrect day due to timezone offset 2021-03-05 11:27:58 +01:00
plegall
370ba453a2 fixes #1342i, fixes #1354 : new way to calculate dashboard storage 2021-03-05 10:49:05 +01:00
plegall
eadc846bf6 add debug on activity chart data calculation 2021-02-05 10:14:08 +01:00
plegall
ea69988eac fixes #1317 remove cache directory size calculation 2021-02-05 10:12:05 +01:00
plegall
cca28340be fixes #1304 activity table might be totally empty in the X last weeks 2021-01-29 14:34:56 +01:00
plegall
3a0e2ca38d fixes #1303 move week numbers search out of cache generation block 2021-01-29 14:31:30 +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
6772da4ab2 fixes #1293 dashboard activity chart, activity chart optimized
* make the biggest part of aggregations in the database directly
* use a 5 minutes cache in user session

This cache is not optimal. No reason to make it specific to the user session, no reason to
recalculate previous days each time. To be improved. It was urgent to find a fix for
Piwigo 11.1.0.
2021-01-22 11:54:36 +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
plegall
4d102e9eba intro: l10n everything and use existing keys as much as possible 2021-01-06 10:13:10 +01:00
Zacharie
a96d89e9d9 Design fix on intro page 2020-07-03 15:56:32 +02:00
Zacharie
2e70ebf777 Several bug fixes
* Batch Manager no longer have a php error
 * Intro Graph display the actual week when it's monday
 * fix the "groups" reserved word
 * History is now summarize on the stats pag access
 * New piwigo no longer have PHP error due to stats.php
2020-06-16 12:20:04 +02:00
Zacharie
5aef3ebbbd Issue #1190 : Dashboard Charts Modifications
* Number of weeks for Activity Chart is now in configuration file
 * Tooltip change for activity chart and add for storage chart
 * General page design change
2020-06-12 15:47:15 +02:00
Zacharie
2633042618 Issue #1190: Redesign of intro page
* Add an Activity graph for activity peaks
 * Add a storage graph for storage repartition
 * Redesign intro page for those charts
2020-06-12 15:44:00 +02:00
plegall
72094c5f88 fixes #1090 move warning about missing checksums from dashboard to sync page
* avoid scaring users for a minor issue
* convert the warning message into a simple info
* simplify algorithm for detection and only search on relevant pages (batch manager + sync page)
2019-10-14 14:14:54 +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
plegall
0ef2193471 fixes #93 automatically hide the newsletter link when clicked 2019-06-28 14:45:05 +02:00
plegall
22f3e679ee fixes #1040 move check upgrade action to maintenance page 2019-06-27 19:09:40 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02: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
MaximeBOURMAUD
2c07301467 Fixing issue #731 (#754)
* Fixing issue #731, if NB_PHOTOS is upper than 1000 display it

* Fixs issue #731 now number of picture between 1000 and 1999 are displayed

* Fixs formatting
2017-09-04 14:23:50 +02:00
plegall
8b4e2ffffb fixes #683, hide decimals when disk usage is bigger than 100GB 2017-05-18 15:06:52 +02:00
plegall
7056f33d62 fix #679, add trigger in admin/intro to let plugins modify dashboard items 2017-05-12 15:22:44 +02:00
plegall
5d6b4915bd feature #534, modernize admin home
* make stat boxes conditionnal
2016-10-07 19:41:21 +02:00
plegall
56339a0601 feature #534, modernize admin home
* convert the big button "Quick Local Sync" into a simpler action link
* simplify the "quick sync" as a specific action on site_update.php
2016-10-07 16:11:20 +02: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
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01: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
plegall
1ba3136333 feature 2920: reuse "nb pending comments" calculation in admin/intro.
add missing CSS code in r25084


git-svn-id: http://piwigo.org/svn/trunk@25085 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-22 20:48:28 +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
mistic100
2f08283864 feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +00:00
mistic100
6f04aba061 feature:65 Add support for PHP mysqli extension, activated by default, remove returns of link_identifier
git-svn-id: http://piwigo.org/svn/trunk@20462 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-30 11:12:22 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
mistic100
4cac242866 change languages keys to differentiate if "%d physical" is plural or singular, same for "and %d virtual"
+ missing ja_JP php open tag

git-svn-id: http://piwigo.org/svn/trunk@14977 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-14 21:23:31 +00:00
plegall
a3c0e7af10 bug fixed: use the existing language key
git-svn-id: http://piwigo.org/svn/trunk@14870 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-08 21:29:19 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
mistic100
c501688dbc feature:2549 Allow to disable comments for everybody
git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-14 22:29:10 +00:00
rvelices
c0bb4dfb43 feature 2384: improve average rating calculation (final)
git-svn-id: http://piwigo.org/svn/trunk@11839 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-26 19:04:50 +00:00
patdenice
90825d08ea feature:2284
Rename $conf['image_library'] into $conf['graphics_library']
Display library used in admin intro page.

git-svn-id: http://piwigo.org/svn/trunk@10684 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:10:00 +00:00
plegall
6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
rvelices
3d940e6121 feature 2102 : rename item/image/picture to photo (admin side)
also remove duplicates/unused admin lang keys

git-svn-id: http://piwigo.org/svn/trunk@8682 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-15 20:52:34 +00:00
rvelices
6eea9f9e08 feature 2102 : rename item/image/picture to photo
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14 21:19:15 +00:00
plegall
fe569ab1bf feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin.


git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-13 15:24:18 +00:00
rvelices
c206a73dd2 feature 1616: rename "category" into "album" (first commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16 19:03:56 +00:00
nikrou
1ba096945f Bug 1744 fixed : Incorrect use of timezone with SQLite
Fixed anti-flood system.

Need refactoring between each interval functions

git-svn-id: http://piwigo.org/svn/trunk@6604 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25 19:43:44 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
rvelices
d158f116d2 -fix language keys problems
git-svn-id: http://piwigo.org/svn/trunk@5178 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-18 19:21:17 +00:00
nikrou
11751ccd2c Feature 1451 : fix mispelling and missing translations
git-svn-id: http://piwigo.org/svn/trunk@5036 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-03 11:18:21 +00:00