Commit Graph

1998 Commits

Author SHA1 Message Date
plegall
1be34f33a4 fixes #1221 optionnaly include photos from sub-albums of an album matching the search request.
* 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).
2020-10-30 18:01:10 +01:00
plegall
d06637b755 fixes #1192 use HTTPS to call piwigo.org 2020-10-28 17:05:00 +01:00
plegall
6111b9a99c fixes #1247 remove hu.piwigo.org 2020-10-28 16:13:11 +01:00
plegall
6756838c0f next release is 2.11.0beta4 2020-10-02 11:21:53 +02:00
Maxime BOURMAUD
32ff00caec Feature#765 now it's possible to login with your email address (#770)
First we check for the username, if not found we check among email addresses.
2020-09-30 10:51:29 +02:00
plegall
b24c6c48f1 fixes #1069 config settings to promote mobile app (iOS only for now) 2020-09-29 15:12:19 +02:00
plegall
0530a64e91 fixes #1222 define calendar constants in calendar_base.class
So that we can include both calendar_weekly and calendar_monthly in the same script.
2020-09-11 10:34:06 +02:00
plegall
5841e2d34c next version is 2.11.0beta3 2020-08-30 11:31:10 +02:00
Zacharie
d4436b825d Issue #1208 : Implementation of the new album edit page 2020-08-13 11:56:57 +02:00
plegall
1fda692749 next version is 2.11.0beta2 2020-07-21 20:34:33 +02:00
Zacharie
16b6c399e8 Issue #1193 : Tag Manager Redesign
* 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
2020-07-08 18:18:24 +02:00
Zacharie
14cd4d3990 Issue #1193 : Add a pagination to the tag manager and fix design on dropdown 2020-07-08 18:18:23 +02:00
Zacharie
5deba88a5c Issue #1193 : Improvement of tag's manager
* 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
2020-07-08 18:12:50 +02:00
Zacharie
a3ab495446 Issue #1193 : Tag Manager redesign
* 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
2020-07-08 18:12:50 +02:00
Zacharie
fd8394df07 Bug fixes on statistic page
* 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')
2020-06-17 14:31:15 +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
plegall
cb1d7522d8 next version is 2.11.0beta1 2020-06-12 16:12:02 +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
5d24541dca Issue #1189 : Add a compare mode on years and month in the statistic page.
* 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)
2020-06-12 15:33:35 +02:00
Zacharie
d4926f31aa Issue #1167 : Group manager action and design fixes
* 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
2020-05-19 17:28:22 +02:00
Zacharie
9a293dc1c5 Issue #1167 : Add pwg.groups.duplicate to API methods, add the merge action in group manager (and small code fixes) 2020-05-19 17:28:22 +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
40182f7774 fixes #1120 check installed theme on its identifier (=directory name), not on its display name 2020-04-30 11:32:52 +02:00
Hannah
5bf85c982b fixes #1179 use standard structure for icons to remove a tag in a combined tags search
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.
2020-04-27 10:00:12 +02:00
Sam
10962c9208 Fix version comparison for session ID regen (#1178)
session_regenerate_id : as planned back in 2016, remove PHP version check entirely.

... and let's see if it still is a problem on recent PHP versions.
2020-04-23 12:51:35 +02:00
Trond Schertel
24e256da52 Fixes #1155 2020-03-25 15:00:36 +01:00
Rasmus Lerdorf
f9edbd34f7 PHP 7.4 fixes 2020-03-25 14:55:57 +01:00
plegall
8a5a2d9831 Revert "Fix PHP-7.4 Issue "
This reverts commit ea25f5b3a4.
2020-03-25 14:55:06 +01:00
plegall
cf38caff67 fixes #1119 keep the ability to reset password when there is no photo yet 2020-03-24 15:18:09 +01:00
plegall
1e23ed84d3 fixes #1168 prevent XSS on pwg.images.setInfo 2020-03-24 14:07:49 +01:00
plegall
6ac6db0d2d issue #1150 also protect groupe name on API methods 2020-02-07 17:17:17 +01:00
Ben
ea25f5b3a4 Fix PHP-7.4 Issue
PHP-7.4 Issue  = "Trying to access array offset on value of type null" in functions_category.inc.php
2020-02-07 14:43:53 +01:00
Rasmus Lerdorf
f62ee77852 Fix count() warning
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.
2019-12-16 10:50:14 +01:00
Tomas Krizek
8573e35b18 include/functions_cookie: use proper brackets for offset access
Fixes #1134
2019-12-04 10:40:47 +01:00
plegall
41b4230b39 fixes #1102 limit the number of tags shown in the menubar 2019-10-15 16:02:14 +02:00
plegall
9b695da86b (cp 15d8a19) fixes #988 no more warning on PHP 7.3
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)
2019-10-14 12:31:28 +02:00
plegall
ac5d00e89b fixes #1098 make checksum computation block size configurable, and smaller by default 2019-10-14 12:22:53 +02:00
plegall
8fe4305d35 during upgrade, use the new default Piwigo theme (modus) instead of hardcoded "elegant"
... and make sure the default Piwigo theme is active before that.
2019-10-08 12:23:54 +02:00
plegall
087284eafc next version is 2.10.0 2019-10-07 16:07:57 +02:00
plegall
fa8996e10f issue #1073 prevents from making uploaded file executable
* 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
2019-09-20 16:26:21 +02:00
plegall
5b65fca36c fixes #1068 escape the rank new MySQL 8 reserved word
This time, we do it right before sending the query to MySQL, in the pwg_query
function. This is not optimal, because we add extra processing, useless most
of the time. This solution has less impact on code, and automatically work for
all core and plugins SQL queries.
2019-08-30 12:11:47 +02:00
plegall
18460716e3 next release is 2.10.0RC1 2019-08-19 15:16:55 +02:00
Sam Wilson
7b6912ba98 Use default theme if loaded one is not found
When loading a user's theme, make sure it's installed. Also, when
determining the default theme, account for the situation in which
zero themes are installed (and use 'default' then).

Refs #1061
2019-08-14 12:18:45 +02:00
plegall
63bbba8e36 fixes #1060 always escape table/column names in advanced database functions
which are single_insert, single_update, mass_inserts and mass_updates. The new function
protect_column_name simply surrounds the name with backticks, if needed.
2019-08-13 16:44:54 +02:00
plegall
2842934633 fixes #899 API methods to manage user favorite photos
* rename methods to pwg.users.favorites.getList + pwg.users.favorites.add + pwg.users.favorites.remove (better for alpha ordered listing)
* simplify method ws_users_favorites_getList to only work with current user
* use the new option "ignore" on single_insert
2019-07-17 15:48:06 +02:00
plegall
551457f2b6 fixes #1051 ability to insert ignore on single_insert 2019-07-17 11:15:59 +02:00
Dave Anderson
1d113c002b API call to add/remove favorites (#810)
add API methods pwg.users.addFavorite and pwg.users.removeFavorite
2019-07-15 16:58:23 +02:00
Dave Anderson
d406a12d45 API call to fetch user favorites (#582)
* new api call to get user favorites
2019-07-15 16:04:52 +02:00
plegall
b101869417 update release to 2.10.0beta2 2019-07-04 11:22:09 +02:00