96 Commits

Author SHA1 Message Date
HWFord
3195a33b76 fixes #2516 update message colors and design 2026-01-27 16:02:46 +01:00
Martin Raby
4f6da8ea6a Relates #2351 : To see the newsletter promote, the account must have 2 weeks ancient, 3 albums created and 30 photos uploaded 2025-07-22 13:00:27 +02:00
Martin R
6958098044 Fixes #2351 - New promote banner for newsletter
* New promote banner for newsletter

- new function that returns the url for old newsletter in the user
  language
- new image used in the banner
- new style for the newsletter banner and changes on the app promote
  banner
2025-06-11 17:01:37 +02:00
plegall
71cd92c04d fixes #2166 add feature to send anonymous stats to piwigo.org 2024-06-10 21:32:04 +02:00
Willy "Linty
f98ba25555 Issue #2037 Display new icon-cone on dashboard and album manager 2023-11-10 17:53:52 +01:00
Willy "Linty
9ca0b7bec0 Issue #1710 New storage bar tooltips
For each kind of files give the number and for each file extension give number of files and total files size
2023-11-08 12:30:21 +01:00
plegall
09890487cd fixes #1830 faster way to calculate number of orphans
* store count result in config table, as a cache
* resets this cache on invalidate_user_cache
* instead of a costly SQL query with a LEFT JOIN, use 2 simple COUNT in the 2 tables, and compare
2023-10-06 15:03:22 +02:00
plegall
bb023d09ad fixes #1913 hide/show newsletter subscribe link based on user_prefs 2023-05-10 14:40:10 +02:00
plegall
b9758356dc issue #1907 revert age-max to 30 days for latest news 2023-04-27 18:11:53 +02:00
plegall
51a413b453 fixes #1907 use porg.news.getLatest on piwigo.org
... instead of directly requesting the forum
2023-04-27 18:01:54 +02:00
plegall
97b665d8f3 issue #1827 new check on filesystem compared to what is listed in the database
While not fixing issue #1827 it helps users to detect if they have been
affected by the problem.
2022-12-16 15:11:58 +01:00
plegall
6278be093a fixes #1801 for big galleries, only compute number of orphans on the dashboard 2022-11-22 12:23:12 +01:00
plegall
cce43df25e issue #1710 first implementation of details for each storage category
Needs to be reworked for a better presentation. Expected for Piwigo 14.
2022-09-21 14:43:44 +02:00
plegall
870f1a8129 issue #1707 display Piwigo age on maintenance page instead of dashboard 2022-08-19 11:18:57 +02:00
plegall
e2c219ed63 issue #1065 missing l10n and better display of filesizes 2022-07-22 11:20:51 +02:00
Eike Rathke
8fbc17c392 Add last calculated cache size to Dashboard Storage chart (#1580)
issue #1580 Add last calculated cache size to Dashboard Storage chart

Size of cached files with all derivatives and representatives may be
as large as all image files, actually doubling the needed storage
size. So it may be nice to see it represented in the storage
chart, if one remembers to occasionally recalculate it under
Tools -> Maintenance..

Also make it possible to deactivate this setting.
2022-07-20 16:18:25 +02:00
plegall
630aba70f9 issue #28 display Piwigo.org news on dashboard 2022-07-15 09:57:52 +02:00
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