Commit Graph

2059 Commits

Author SHA1 Message Date
plegall
7417d974b0 keep compatibility with PHP 5 on this one 2021-11-02 15:41:46 +01:00
Matthieu Leproux
f0608bb9fa related to #1537 Php filterable_users list made better 2021-10-22 15:30:39 +02:00
Matthieu Leproux
24e923f971 fixes #1537 Filter is done with ids now and not with usernames. 2021-10-20 15:55:52 +02:00
plegall
8e2f12fdf0 fixes #1529 rewrite list of filter users for activities
* migration task to update activity.performed_by (with object_id) for logout action (was always user guest instead of the real user)
* activities: use the actual regrouped lines to list filter users (instead of performing a separate SQL query)
2021-10-19 16:28:52 +02:00
Matthieu Leproux
f0110cead6 related to #1524 API username variication update 2021-10-19 13:45:32 +02:00
Matthieu Leproux
d8862e43ac related to #1524 Input verification 2021-10-15 14:36:05 +02:00
plegall
9c367c66f9 next release is 12.0.0RC2 2021-10-11 11:22:54 +02:00
plegall
85ee92302f issue #1344 revert 917c733 no longer necessary (see 8effbe8) 2021-10-07 16:37:42 +02:00
plegall
8effbe8e95 fixes #1356 pwg.images.uploadAsync, move auth code to inc/user.inc.php
In order to avoid loading user context as "guest" and then wait to be in ws_images_uploadAsync function to authenticate and load a new user context. This way we deal with "automatic" authentication in the same place (as apache auth or url auth) and we use the more common user context loading mecanism. Making Community compatible is now much easier.

To avoid duplicating too many lines of ws.php into inc/user.inc.php, I have moved the init of ws.php into inc/ws_init.inc.php
2021-10-07 14:53:27 +02:00
Matthieu Leproux
2c1b3579ec related to #1503 Translation adjustments, api fonction implementation date 2021-10-07 10:14:24 +02:00
Matthieu Leproux
4600fab331 related to #1503 You cant activate/deactivate plugins as admin now 2021-10-05 15:46:10 +02:00
Matthieu Leproux
4cdca54223 fixes #1491 better user filter for activity tab 2021-09-29 16:19:22 +02:00
plegall
39cd73bf08 next release is 12.0.0RC1 2021-09-23 11:42:29 +02:00
plegall
fb84527e3b issue #164 add new API method pwg.images.uploadCompleted
+ trigger ws_images_uploadCompleted when this API method is called
+ trigger empty_lounge (can be called at another moment with different effect)
2021-09-15 13:50:15 +02:00
plegall
731fd2b4e4 issue #1417 update PHPMailer from 5.2.21 to 6.5.1
Requires PHP 5.5, but Piwigo 12 is now requiring PHP 7 so it's fine.
2021-08-22 19:56:32 +02:00
plegall
61bda9ba8d issue #1378 pwg.activity.getList add list of users in details 2021-08-10 16:01:28 +02:00
plegall
94806d3dd5 next release is 12beta2 2021-08-06 16:50:17 +02:00
plegall
a0be45af34 issue #1309 compatibility PHP 8 2021-08-06 15:57:14 +02:00
Matthieu Leproux
e537eac9dd smarty 3.1.39 upgrade 2021-08-06 15:57:14 +02:00
Matthieu Leproux
adba2def7e related to #1381 changed name of the api function that calculates orphans 2021-08-04 12:35:55 +02:00
plegall
1ec5a2933c fixes #1343 remove auto-escape of reserved keywords on MySQL 8
ie no more adding backticks around "rank" and "groups". Too many collateral damages.
2021-08-03 19:27:31 +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
c64efe6ecb fixes #951 update JShrink to version 1.4.0
compatibility with PHP 8.0 but no longer to <5.6 (even if it still work on a 5.4 installation)
2021-08-02 19:16:50 +02:00
plegall
a516a5e945 fixes #867 increase required PHP version to 7.0 2021-08-02 19:16:50 +02:00
Matthieu Leproux
ddbdbd93bb fixes #1381 orphans calculation is done only when needed by ajax call 2021-07-28 16:52:44 +02:00
Matthieu Leproux
157ab47bec fixes #1454 the template tab is hiden with a configuration variable 2021-07-21 15:57:16 +02:00
Matthieu Leproux
286e8ad5b1 related to #1316 Calculates cache size and cache size derivatives 2021-07-07 18:14:00 +02:00
plegall
2e741d98d4 bug fixed: use variable for table and column names 2021-06-29 17:58:47 +02:00
plegall
6d7855cd10 remove debug trace 2021-06-29 17:18:39 +02:00
plegall
4aa76fe320 next version is 12.0.0beta1 2021-06-29 17:05:38 +02:00
Matthieu Leproux
932439b94c related to #1316 method cache size added, data fetched from php not js
Real data need to be created now
2021-06-24 17:12:09 +02:00
Matthieu Leproux
1c29b84932 related to #1378 language mistakes + csv error + changed logout icon 2021-06-23 13:57:06 +02:00
MatthieuLP
ec4d677cf7 issue #1378 add Activity tab in user manager 2021-06-22 18:15:17 +02:00
MatthieuLP
9656d0459e Push before checkout
Only indents
2021-06-22 14:59:12 +02:00
MatthieuLP
6fbb6a22fc Getting "fake" cache size from getInfos.
Displaying infos in maintenance page
2021-06-22 14:59:12 +02:00
Matthieu Leproux
cef967de8e related to #1265 edit guest user popin done properly 2021-06-16 14:06:05 +02:00
plegall
ac0d1a5b47 fixes #1419 add photos in a lounge as a temporary space
* at the end of the upload of after a maximum duration, move the photos from the lounge to their actual categories.
* do not invalidate user cache when photos are added in the lounge, thus avoiding to rebuild cache on every photo uploaded
* the lounge system activates itself only beyond 50k (by default) photo
2021-06-11 16:42:48 +02:00
Matthieu Leproux
e5ed68e6a8 Fixes #1399 Added mesage at the end of result list if result limit reached
Related to #1387 changed variables names for more clarity
2021-05-12 16:45:39 +02:00
plegall
1ce38771f5 fixes #1241 do not use no_photo_yet for normal users 2021-05-12 15:42:00 +02:00
Matthieu Leproux
b6a6227210 related to #1387 3 sec delay before auto openning albums
The variable is given in php files and used in js
2021-05-12 15:07:10 +02:00
plegall
4b6c64be3b fixes #1397 deactivating a user deletes all his sessions 2021-05-05 17:03:19 +02:00
plegall
444c653878 fixes #1368 user with "guest" status get refused connection 2021-05-05 17:03:19 +02:00
plegall
fe3147d601 issue #1265 user manager new design by @GitBluub and @MatthieuLP
Because we had a ghost page user_list_new, I didn't simply merged the feature branch, but I reproduced the new code in a single commit on master.
2021-05-05 13:49:17 +02:00
plegall
3e5acb7b6e fixes #1392 improve performances to find related albums
* new conf setting related_albums_maximum_items_to_compute (1000 by default). Beyond this number of photos in current set, do not try to find related albums.

* new conf setting related_albums_display_limit : only display the heaviest (most related) albums.
2021-05-04 17:17:05 +02:00
plegall
5bc04d1143 issue #1118 missing code in d0497f0 2021-03-09 11:52:33 +01:00
plegall
d0497f035c fixes #1118 competition between regexp models 2021-03-09 11:32:36 +01:00
plegall
649e73c89b fixes #1334 change syntax to be compatible with PHP 5.3 2021-03-08 14:27:35 +01:00
plegall
26cc5d130f fixes #1361 check related albums against permissions 2021-03-08 12:55:56 +01:00
plegall
917c733092 fixes #1344 add auth exception for pwg.images.uploadAsync
This method handles its own authentication and can be called by an anonymous request. Thus it should not be blocked by a $conf[guest_access] setting set to false.
2021-03-05 16:35:09 +01:00
plegall
e64acd03c5 fixes #1358 automatic call to pwg.extensions.checkUpdates can be deactivated 2021-03-05 12:19:56 +01:00