bug 2173 fixed: rename "manual order" into "automatic order" and "by rank" into "manual order"
bug 2174 fixed: only show the automatic order options when it's relevant
new icon for the "manage photo order" screen
hide the numeric rank below the thumbnail (it is confusing for users)
tell users that you can drag'n drop to reorder photos
bug fixed: the "apply to sub-albums" options for photo orders was not working
git-svn-id: http://piwigo.org/svn/trunk@9051 68402e56-0260-453c-a942-63ccdbb3a9ee
admin maintenance leave a space between grouped 'non-destructive' actions and 'destructive' actions
git-svn-id: http://piwigo.org/svn/trunk@8898 68402e56-0260-453c-a942-63ccdbb3a9ee
higher privacy level than user privacy level.
For an acceptable solution at performance level, I have implemented a cache:
for a given user, each album has a representative_picture_id. This cache also
avoids to perform numerous "order by rand()" SQL queries which is the case
when $conf['allow_random_representative'] = true;
git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
setting. I choose to have it in the configuration file and not in the web
interface because it is a bit too technical and useful only in very specific
cases (when buggy software performed a rotation before without updating the
EXIF "orientation" tag)
git-svn-id: http://piwigo.org/svn/trunk@8763 68402e56-0260-453c-a942-63ccdbb3a9ee
administration page, a warning message is displayed if you have at least
one orphan tag + direct action to delete them.
git-svn-id: http://piwigo.org/svn/trunk@8762 68402e56-0260-453c-a942-63ccdbb3a9ee
- batch manager can delete photos added by ftp
- call sync_users on admin page less often (too many sql queries)
git-svn-id: http://piwigo.org/svn/trunk@8756 68402e56-0260-453c-a942-63ccdbb3a9ee
split the admin/photos_add_direct.php script into
admin/include/photos_add_direct_prepare.php (prepare the upload form)
+ admin/include/photos_add_direct_process.inc.php (process the submitted form)
: it makes the upload form backend easier to reuse in the future Community
plugin.
git-svn-id: http://piwigo.org/svn/trunk@8734 68402e56-0260-453c-a942-63ccdbb3a9ee
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"
git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
- combined files are deleted only from maintenance functions and not also from plugin activation/deactivation
git-svn-id: http://piwigo.org/svn/trunk@8634 68402e56-0260-453c-a942-63ccdbb3a9ee
* add l0n to the new Batch Manager where is was missing
* change photo "name" to photo "title"
* change the way we display "Select all" and "Select the whole set"
git-svn-id: http://piwigo.org/svn/trunk@8408 68402e56-0260-453c-a942-63ccdbb3a9ee
simplify the algorithm. The duplicates do not rely on physical albums, just
on duplicate filenames.
git-svn-id: http://piwigo.org/svn/trunk@8404 68402e56-0260-453c-a942-63ccdbb3a9ee
+ once the photos are deleted, redirect the page to reset the current photo set
and avoid being on an empty 2nd page.
git-svn-id: http://piwigo.org/svn/trunk@8398 68402e56-0260-453c-a942-63ccdbb3a9ee
The new "Batch Manager" offers as many features as the old "Bulk Manager" and
more to come.
The old Batch Manager (Caddie/Recent Pictures) is not removed yet and changes
that occured since last summer are not reported yet in the Batch Manager:
category/album, photo order for a given album, deletion of synchronized photos.
git-svn-id: http://piwigo.org/svn/trunk@8394 68402e56-0260-453c-a942-63ccdbb3a9ee
makes admin/include/function_upload.inc.php not dependant from include/ws_functions.inc.php (moves functions file_path_for_type and ready_for_upload_message)
cleaner method to initialize the upload settings
git-svn-id: http://piwigo.org/svn/trunk@8249 68402e56-0260-453c-a942-63ccdbb3a9ee
Imagick extension is available. ImageMagick does not strip EXIF/IPTC metadata
from "web size" version of the photo.
We force remove EXIF/IPTC from the thumbnails to save space and bandwith.
git-svn-id: http://piwigo.org/svn/trunk@8219 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 2031 fixed: redirection after category deletion preserves the current
node in the category tree.
+ the confirmation message is displayed after redirect, thanks to session
git-svn-id: http://piwigo.org/svn/trunk@8168 68402e56-0260-453c-a942-63ccdbb3a9ee
feature 2057: use http_build_query instead of add_url_params for GET data.
git-svn-id: http://piwigo.org/svn/trunk@8090 68402e56-0260-453c-a942-63ccdbb3a9ee
The code could have been shorter but this one 1) checks the resize dimension
with the rotation in mind 2) rotates the photo once resized to reduce memory
used.
git-svn-id: http://piwigo.org/svn/trunk@7868 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1988 fixed: avoid duplicate thumbnails for photos linked to several
categories when managing all photos of one of these categories.
git-svn-id: http://piwigo.org/svn/trunk@7556 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1974 fixed: don't generate invalid creation date from IPTC,
if month = 0 or day = 0, then month=1 and day=1.
git-svn-id: http://piwigo.org/svn/trunk@7507 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1906 fixed: during batch management, for a given category, use the category
defined sort order for photos, not the generic order_by.
git-svn-id: http://piwigo.org/svn/trunk@7505 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1914 fixed: broken admin web upload with PostgreSQL as database engine.
The tablename to retrieve the inserted image is mandatory for PostgreSQL and
was missing. Patch by netzimme.
git-svn-id: http://piwigo.org/svn/trunk@7170 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1872 fixed: we need to call set_make_full_url() before creating urls provided in emails
git-svn-id: http://piwigo.org/svn/trunk@7005 68402e56-0260-453c-a942-63ccdbb3a9ee
Plugin version compare must return false if plugin version is "auto" (developpement version).
Change language switch version number.
git-svn-id: http://piwigo.org/svn/trunk@6725 68402e56-0260-453c-a942-63ccdbb3a9ee
queries is constant, no matter the deepth of your tree.
+ refactor to avoid duplicate code (ascending/desceding should be only a
single parameter in a function, not 20 lines of duplicated code)
git-svn-id: http://piwigo.org/svn/trunk@6698 68402e56-0260-453c-a942-63ccdbb3a9ee
improvement: ability to hide setup warnings for upload. Warnings will
automatically come back at next user session.
git-svn-id: http://piwigo.org/svn/trunk@6629 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1747 fixed: some checks were added to verify the upload will fail for a
too big size or if the upload has failed for a too big size (test on
upload_max_filesize and post_max_size)
git-svn-id: http://piwigo.org/svn/trunk@6625 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1742 fixed: if the EXIF functions are not available:
1) display a warning (but not an error)
2) avoid to try to read EXIF data
git-svn-id: http://piwigo.org/svn/trunk@6622 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1746 fixed: a missing GD library is a setup error, it blocks the upload
form.
git-svn-id: http://piwigo.org/svn/trunk@6620 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1701 fixed: support for PNG file in browser direct upload.
If the picture is a PNG file, then the "web size" picture is also a PNG file
but the thumbnail is always a JPEG file.
git-svn-id: http://piwigo.org/svn/trunk@6617 68402e56-0260-453c-a942-63ccdbb3a9ee
Fixed anti-flood system.
Need refactoring between each interval functions
git-svn-id: http://piwigo.org/svn/trunk@6604 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1721 fixed: remove the limit of 10 tags for each photo with the new
FCBKcomplete widget. The limit can't be removed (defaut value is also 10)
but I've increased it to 100.
git-svn-id: http://piwigo.org/svn/trunk@6587 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1707 fixed: Piwigo version number always visible in administration homepage
git-svn-id: http://piwigo.org/svn/trunk@6565 68402e56-0260-453c-a942-63ccdbb3a9ee
- merged the linkroot integration with the existing gallery_url (unique $conf['gallery_url'] used for RSS, mail homepage root in the browse path)
- added an option $conf['debug_mail'] - if set all outgoing mails are saved into local_data_dir
git-svn-id: http://piwigo.org/svn/trunk@6411 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1704 fixed: windows needs a specific directory separator when creating
recursive directory.
git-svn-id: http://piwigo.org/svn/trunk@6385 68402e56-0260-453c-a942-63ccdbb3a9ee
feature 1697: ability to deactivate the synchronization method to add photos.
git-svn-id: http://piwigo.org/svn/trunk@6365 68402e56-0260-453c-a942-63ccdbb3a9ee
BUT was introducing a major visual issue for IE8. Backmerged + adds the -webkit
radius anyway.
This is a quickfix for release 2.1.1, the improved display introduced by nikrou
was nice and it would be better to have it, but working in IE8
git-svn-id: http://piwigo.org/svn/trunk@6320 68402e56-0260-453c-a942-63ccdbb3a9ee
hard coded enums values for all tables
because enum feature doesn't exists for SQLite.
git-svn-id: http://piwigo.org/svn/trunk@6153 68402e56-0260-453c-a942-63ccdbb3a9ee
fix typos on language names in install.php
correct list of available newsletters
git-svn-id: http://piwigo.org/svn/trunk@6152 68402e56-0260-453c-a942-63ccdbb3a9ee
and pgsql, also make the $pwg_db_link global in the install_db_connect function
so that it can be used in SQLite functions.
bug fixed: with pdo-sqlite, pwg_db_num_rows always returns 0, so when
initializing user data, it tries to insert the same row twice.
git-svn-id: http://piwigo.org/svn/trunk@6090 68402e56-0260-453c-a942-63ccdbb3a9ee
metadata available in "web sized" photo. This commit is a report of r4683 from
update_metadata function in admin/include/functions_metadata.php in the
duplicated code get_element_metadata of admin/site_reader_local.php. See
feature 620 for details about code duplication.
git-svn-id: http://piwigo.org/svn/trunk@6076 68402e56-0260-453c-a942-63ccdbb3a9ee
(the same for the Site Manager). The big "Quick Synchro" button is kept on
administration homepage. A link to the Synchronize screen was added into
Admin>Photos>Add>FTP+Synchro screen.
git-svn-id: http://piwigo.org/svn/trunk@6056 68402e56-0260-453c-a942-63ccdbb3a9ee
parameter (web API already use it).
By default, the $conf['upload_dir'] is no longer dependent to PHPWG_ROOT_PATH
because it becomes a real mess when admin/include/uploadify.php (called
directly, not from an include) tries to perform an upload.
Improvement: make clearer how $conf['upload_dir'] can be set (relative to the
Piwigo installation directory + HTTP reachable)
git-svn-id: http://piwigo.org/svn/trunk@6052 68402e56-0260-453c-a942-63ccdbb3a9ee