* 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
* 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
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.
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.
* 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.
+ 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)
* 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
* 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
* 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)
* 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
* 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
* 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"