Informacje o wydaniu / Piwigo 2.10.0

znacząca aktualizacja, skupiająca się na wyglądzie o interakcji z użytkownikiem

2.10.0
Pobierz Piwigo 2.10.0

Opublikowane dnia 8 październik 2019

md5sum

We are thrilled to present Piwigo’s latest update!

This 2.10 version marks a turning point in Piwigo’s history, as it is the first step for a new Piwigo, redesigned according to current standards. The journey is not over yet, still we are proud of the work that has been made by our talented designers. But design is nothing without user oriented features brought to you by our dedicated developement team and great contributors.

Let us lead you through this Piwigo 2.10 release note!

Modus is the new default theme, with 8 new skins

Modus, a theme created a few years ago, becomes the default theme for Piwigo 2.10. Modus was selected because it is stable, compatible with high definition screens and compatible with many extensions. I na sam koniec, Modus jest interaktywny. Meaning it automatically adapts to small screens such as a phones and to wide screens such as a televisions.

Here you can see the default skin "Newspaper" with a black and white colorscheme.

We didn’t simply make it the default theme, we also refreshed Modus with 8 new skins.

My name is Hannah, currently studying User eXperience (UX) design at ActivDesign in Rennes (France). I started working for Piwigo as an intern in January 2019, my main mission is to modernise the look of Piwigo.

Brainstorming with Pierrick, we decided to start with refreshing the default gallery theme. Firstly we switched to Modus for its responsivness, its capability to adapt to high definition display but nonetheless needed a visual update to comply with 2019 standards. Therefore I created 8 new skins, changing colors, spacing, hiding some buttons that weren’t needed, rounding corners... my favourite is Blueberry.

An overall redesign for the administration

New overall design, with new header, menubar and tabs. There is less borders, more empty spaces

Here you can see how the refreshed upload form behaves when no album is available yet.

My name is Samuel Lefebvre and I am a UX UI designer. As a trainee for Piwigo, my main role was to improve the aesthetics of the administration interfaces, i.e. User Interface (UI). I also worked to improve user workflow, i.e. User eXperience (UX).

Before starting the redesign of the administration, I spent a lot of time using it in order to better understand the difficulties that users could encounter. On the other hand, I also studied competition. I hope you’ll like this new vision of the Piwigo administration!

Odświeżony panel kontrolny

Nowy panel administratora w wersji z kolorami!

Nowy, ciemny tryb

Panel administracyjny w naszym nowym, ciemnym trybie. Ten schemat kolorów został zaprojektowany dla użytkowników pracujących w mało doświetlonych środowiskach. Oczywiście tło jest "znacznie" ciemniejsze, ale także kolor tekstu jest mniej kontrastowy w menu. Chcemy by Piwigo było miłe dla oka!

The upload form gets a new design

We have tried to make it as "nice and clean" as possible, so you can focus on the important task: uploading your photos.

First step, you select an album and some photos.

Second step, the transfer is running. You can see the remaining photos in the upload queue and thumbnails of the photos already uploaded.

Last step, Piwigo sums up the upload and gives you quick access to manage the uploaded photos, either individually or as a batch.

Zarządca Albumów, większy i prostszy

Album manager has been refreshed with big action buttons.

Status postępu przy synchronizacji metadanych

Instead of requesting to synchronize metadata on all photos at once, the batch manager smartly cuts the whole block into smaller blocks and shows a progress bar.

No more "execution time exceeded" with the new progress bar. Of course, we have made it slower for this demo, it’s much faster in reality

Check for upgrade action was moved

The "check for upgrade" action was moved from the Dashboard to the Maintenance page.

Admin help opens as a popin

The help on the administration page now opens as a popin (internal widget) instead of an old-styled popup.

Domyślnie wyłączyliśmy komentarze użytkowników

Bez paniki, nie usunęliśmy tej opcji, tylko teraz jest domyślnie wyłączona. Możesz zapytać, "Po co wyłączać istniejące funkcjonalności?". Ponieważ zbyt wiele widocznych funkcjonalności może wystraszyć użytkowników, dopiero co testujących Piwigo. Musimy mądrze wybrać, co jest najważniejszy dla większości użytkowników.

Na Piwigo.com, gdzie znajduje się tysiące stron Piwigo, mamy ciekawe statystyki. które cechy są najczęściej używanie. Tylko 16% instalacji Piwigo ma ponad 10 komentarzy użytkowników. Co więcej, większość to użytkownicy używający komentarzy zamiast opisu zdjęć.

Duplikaty otrzymały mądrzejsze sortowanie

Zarządca wsadowy pomaga teraz znajdować zdublowane zdjęcia. Ta funkcjonalność nie jest nowa, ale poprawiliśmy ją dla Piwigo 2.10. Now if you search duplicates based on date, photos will be sorted by date, so that you can easily compare duplicates as series.

Here in Piwigo 2.9 when searching duplicates, the duplicates are not displayed next to each other. Imagine you have a set of 500 duplicates, it may become time consuming to select the ones to delete.

Now in Piwigo 2.10, the batch manager shows the duplicates next to each other, based on duplicates criteria. Easy to compare, select and remove.

Temat SmartPocket jest teraz kompatybilny z Androidem 9.

We know Android 10 was announced a few days ago, but even the previous version Android 9 is not running on many devices these days. The mobile theme, SmartPocket, was not correctly loaded with Android 9. Jest to naprawione w Piwigo 2.10.

Talking about SmartPocket... even if Modus, Piwigo 2.10's new default theme, is responsive, we are keeping SmartPocket activated by default. It means it will be used automatically if Piwigo detects the visitor is using a mobile device. Możesz wyłączyć SmartPocket jeśli wolisz zawsze używać Modus.

1 click to set sub-albums public

From the album edition page, tab "permissions", you could already set the sub-albums private. Now it’s also possible to set them public.

Show album dates

Ponownie, nie jest to nowa funkcjonalność, ale ułatwiliśmy jej aktywację. Piwigo can display the dates of the photos associated to the album. Please note that all themes will support it. For example, Modus only shows album dates if you disable square thumbnails for albums.

No need to use the local configuration to activate it, a simple click is enough.

W galerii, okres jaki obejmuje album, jest teraz wyświetlany z boku jego tytułu.

We encourage all Piwigo users to subscribe to Piwigo.org newsletter, but once you are subscribed it’s obviously no longer necessary to show you the subscribe link. With Piwigo 2.10 this link will automatically disappear once you are subscribed. And because we don’t want to bother you with this newsletter if you don’t want it, you can also simply ask to hide this link.

On the Piwigo administration dashboard, at the bottom of the page, you can either subscribe to our newsletter or hide this link.

Technical features

Please note that more detailed documentation is available about Technical changes in Piwigo 2.10. Please read it to make your extensions compatible with Piwigo 2.10.

Kompatybilne z MySQL 8

MySQL 8 is starting to run on production environments and many users have reported some issues with Piwigo. Indeed, MySQL has added some "reserved keywords", such as groups or rank that are used in Piwigo database column or table names.

Działania Administratora zostają odnotowane

Many actions you perform in the administration are now stored in an activity table in the database. For example if you add/edit/delete a photo/album/tag/user/group or if you login/logout, Piwigo will register who did the action and when. Na razie, Piwigo jedynie odnotowuje te działania. Później będziemy w stanie je pokazać.

Zaktualizowana biblioteka PhpMailer

The PHP library Piwigo uses to send emails, PhpMailer, was updated to be compatible with PHP 7.2 and later.

New triggers

We have added 2 new triggers when tags and groups are deleted:

  • trigger_notify("delete_tags", $tag_ids);
  • trigger_notify('delete_group', $groupids);

Each theme has it own repository

All themes were removed from the Piwigo core repository, even those included in the Piwigo installation zip archive. Each theme has now its own repository on Github. This way we have a specific bugtracker for each theme. Actually, this is exactly what we’ve done for years with plugins!

udoskonalenia API

  • nowypwg.images.setMd5sum ustawa sumę kontrolna zdjęć, gdzie jej brakuje.
  • nowypwg.categories.setRank changes the sort order of an album among its siblings. You can also reorder the whole set of albums at once.
  • nowypwg.users.favorites.add dodaje zdjęcie do ulubionych użytkownika.
  • nowypwg.users.favorites.remove usuwa zdjęcie z ulubionych użytkownika.
  • nowypwg.users.favorites.getList zwraca listę ulubionych zdjęć użytkownika.
  • zaktualizowanepwg.session.login now accepts empty password (just like web login form).

Nagłówki w plikach źródłowych zostały uproszczone

We have simplified source code headers in all PHP files. Instead of writing a full copyright with years + a summary of GPLv2 license, we just tell readers to open the COPYING file.

Zamiast:

<?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery                                    |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2016 Piwigo Team                  https://piwigo.org |
// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify  |
// | it under the terms of the GNU General Public License as published by  |
// | the Free Software Foundation                                          |
// |                                                                       |
// | This program is distributed in the hope that it will be useful, but   |
// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
// | General Public License for more details.                              |
// |                                                                       |
// | You should have received a copy of the GNU General Public License     |
// | along with this program; if not, write to the Free Software           |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA.                                                                  |
// +-----------------------------------------------------------------------+

mamy teraz uproszczony nagłówek:

<?php
// +-----------------------------------------------------------------------+
// | This file is part of Piwigo.                                          |
// |                                                                       |
// | For copyright and license information, please view the COPYING.txt    |
// | file that was distributed with this source code.                      |
// +-----------------------------------------------------------------------+
    

The main goal was to remove years in these headers, because it required updating all Piwigo PHP files each year, for no specific coding change. The good side effect is that we now have a clean COPYING file with details on copyright with dates and trademark + a LICENSE file with the whole GPLv2 license.