In order to change from versions 2.10.x to 11.x.y, Piwigo needs to only consider 11 as the branch, and not 11.x. Or else it will mess up with minor and major updates.
* ability to combine albums in URL index.php?/category/1/2/3 will consider 1 as $page['category'] and {2,3} as $page['combined_categories']
* new menu block "related albums" which displays only the hierarchy of albums related to the current set of photos, excluding current album(s). In the hierarchy, only the related albums have a link, not ancestors
* use configuration setting quick_search_include_sub_albums (default=false) to activate this feature.
* the list of sub-albums is not displayed in the list of album results (to avoid too long lists).
* Add a select dropdown to chose how many tag is displayed per page
* Add a message beside selection's buttons to apply selection to all tags
* Bug and design fixes
* Hide Tag item when there are more than 5
* Change data format in Ajax calls
* Remove useless code in tag.php
* Remove pwg_token in pwg.tags.add
* Minor design fixes
* Create the new design of tag manager
* Replace all actions by ajax actions
* Add delete, rename, duplicate and merge tag's functions in the Piwigo API
* Modification of group manager to match both designs
* Statistic page is now more clean with 0 or 1 values (for new Piwigos)
* Rectification of a mistake in functions_mysqli.inc.php (replace 'groups' by 'rank')
* 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
* Number of years compared is a configuration variable (default 5)
* Months compared are the actual, the last and the actual month the last year (you can also visualize the average last 12 months)
* Icon colour standardized with intro page in css
* Dark mode colour changes
* Load state changes on several actions (especially in delete popin)
* Rename group action is now effective if the name didn't change
* 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
use standard structure for icons to remove a tag in a combined tags search
The icon displays with 2 tags combined instead of 3
To avoid breaking all themes, we keep the old style by default, but the new style is available. The upgrade to 2.11 documentation will mention it.
In PHP 7.2 and later you will get a warning if you call count() on null. So either initialize $errors to an empty array here, or use empty() to check it as I have done here.
This fix was initially only for branch 2.9, and branch master should have
received a new version of jshrink, but I forgot to do it before 2.10 and now
we have a regression in 2.10. This commit will be cherry-picked to 2.10 and
we also have it on master so that we don't have a new regression in 2.11 (in
case jshrink is not properly updated)
* for the name of the file in buffer directory, do not use the name given by the user, but the md5 of the name without extension
* function add_uploaded_file deletes uploaded file if not expected