Matthieu Leproux
d8862e43ac
related to #1524 Input verification
2021-10-15 14:36:05 +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
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
61bda9ba8d
issue #1378 pwg.activity.getList add list of users in details
2021-08-10 16:01:28 +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
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
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
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
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
plegall
4b6c64be3b
fixes #1397 deactivating a user deletes all his sessions
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
649e73c89b
fixes #1334 change syntax to be compatible with PHP 5.3
2021-03-08 14:27:35 +01:00
plegall
7d7943b3ed
fixes #1275 delete password reset key when email address is changed
2020-12-22 15:04:30 +01:00
plegall
af7e4028b0
fixes #1203 add API method pwg.images.uploadAsync
...
Available as a plugin for Piwigo 2.10, this method is now embedded in Piwigo 11. Designed to work with iOS app, can be used by any remote application.
2020-11-19 18:14:05 +01:00
Zacharie
d4436b825d
Issue #1208 : Implementation of the new album edit page
2020-08-13 11:56:57 +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
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
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
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
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
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
c1eecab364
fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8
2019-06-28 18:07:53 +02:00
plegall
fc193f7474
issue #830 simplify PHP files header, remove copyright/license info
2019-06-04 17:13:51 +02:00
Yann Le Boudec
9891c79f25
issue #1019 photo upload redesign
...
Based on Samuel's mockup.
2019-05-22 16:49:35 +02:00
plegall
1646f5e631
fixes #998 temporary fix for Piwigo Remote Sync compatibility
2019-04-02 11:33:27 +02:00
plegall
940d1d2e8c
issue #552
...
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
27a6504284
issue #552 new table activity and log add/edit/delete on albums
2019-03-25 16:50:45 +01:00
Teatek
61b7974a8d
ability to set album order with web API
...
* add method pwg.categories.setRank in Piwigo web API
2019-02-13 15:00:22 +01:00
Teatek
f308af3e46
fixes #855 trigger on group deletion
...
* adding trigger (admin screen)
* adding trigger (API)
* update trigger list
2019-02-11 14:02:30 +01:00
Teatek
743d31c9e0
Fixes #863 Allow delete representative for empty albums
2019-02-01 16:38:47 +01:00
Teatek
b8d6f01b38
fixes #966 progression bar for sync metadata
...
* [Batch Manager] adding progression bar for metadata sync action
* [Batch Manager] display the number of synchronized photos in the success message
2019-01-27 17:16:13 +01: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
plegall
063711240a
Squashed commit of the following:
...
commit 7190866ccf15033f27095d635546e46dacbb755e
Author: plegall <plg@piwigo.org >
Date: Thu Jul 12 10:52:33 2018 +0200
Revert "Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin "
This reverts commit c8b12a2ed0 .
commit 1dac11ecb6783d0d5353c3d250388f018c30fc5c
Author: plegall <plg@piwigo.org >
Date: Thu Jul 12 10:52:24 2018 +0200
Revert "Update Smarty to 3.1.3"
This reverts commit db684f6151 .
commit 3ac752dc93912ba5701d22dadd9bb3b81e5bb383
Merge: d1c2e71 8d58256
Author: plegall <plg@piwigo.org >
Date: Thu Jul 12 10:50:43 2018 +0200
Merge branch 'php72' of https://github.com/Infern1/Piwigo into Infern1-php72
commit 8d58256c45
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Wed Mar 21 23:40:36 2018 +0100
new feedcreator version for PHP7
commit bb0fcc3a30
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Wed Mar 21 23:26:27 2018 +0100
php72 fixes, replaces each() function
commit 3db22c0d33
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Wed Mar 21 23:02:46 2018 +0100
More fixes for PHP7.2
commit 50d8aafc77
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Mon Mar 19 23:55:21 2018 +0100
Some more replacements of create_function
commit 8263335c42
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Mon Mar 19 22:54:54 2018 +0100
Fixed indents
commit 8d58b637c6
Merge: c8b12a2 8a57d77
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Tue Feb 27 13:51:32 2018 +0100
Merge remote-tracking branch 'upstream/master' into php72
commit c8b12a2ed0
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Thu Jan 18 00:32:46 2018 +0100
Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin
commit db684f6151
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Thu Jan 18 00:23:24 2018 +0100
Update Smarty to 3.1.3
commit 6a3f8f3e76
Author: Rob Lensen <rob@bsdfreaks.nl >
Date: Wed Jan 17 23:40:27 2018 +0100
Initial work to support PHP 7.2
2018-07-12 10:52:55 +02:00