Commit Graph

1161 Commits

Author SHA1 Message Date
rvelices c3df7f2705 css rules simplification
- merged rules
- remove overly qualified inefficient selectors
etc...

git-svn-id: http://piwigo.org/svn/trunk@7869 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-24 20:42:56 +00:00
plegall 73b83574b9 feature 2040 added: automatic rotation of the photo based on EXIF Orientation.
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
2010-11-24 12:45:16 +00:00
rvelices 8e25506673 small javascript and css simplification
git-svn-id: http://piwigo.org/svn/trunk@7852 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-23 13:50:41 +00:00
rvelices ce6af255b4 removed unused css rules from admin
git-svn-id: http://piwigo.org/svn/trunk@7822 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-19 20:12:23 +00:00
Gotcha 81dfe1f5c8 Merge r7732 from br2.1 to trunk
bug:1813

git-svn-id: http://piwigo.org/svn/trunk@7733 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-09 21:52:28 +00:00
ddtddt 64125a60d4 [trunk] merge 7723 - nl_NL - add subscribe for NL to newsletter
git-svn-id: http://piwigo.org/svn/trunk@7724 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-09 08:13:53 +00:00
plegall a5ad1bbe7e merge r7555 from branch 2.1 to trunk
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
2010-11-01 21:06:51 +00:00
plegall 1fb1c6c225 merge r7506 from branch 2.1 to trunk
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
2010-10-30 20:22:15 +00:00
plegall 6fc4ec3795 merge r7504 from branch 2.1 to trunk
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
2010-10-30 20:03:30 +00:00
plegall 42a61b5cb8 merge r7489 from branch 2.1 to trunk
bug 1908 fixed: protect the uploaded photo filename against SQL injection.



git-svn-id: http://piwigo.org/svn/trunk@7490 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-29 22:53:26 +00:00
plegall 00ebefc966 merge r7169 from branch 2.1 to trunk
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
2010-10-13 09:43:18 +00:00
plegall c6a5f13d23 feature 1616: rename category into album, a few language keys were missing
git-svn-id: http://piwigo.org/svn/trunk@7024 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-27 23:32:09 +00:00
plegall 70978fdf54 merge r7004 from branch 2.1 to trunk
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
2010-09-22 21:20:31 +00:00
rvelices 5ff171684e feature 1616: rename "category" into "album" (4th commit; almost there)
git-svn-id: http://piwigo.org/svn/trunk@6993 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-21 21:14:54 +00:00
rvelices b472955f7d feature 1616: rename "category" into "album" (3rd commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6988 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-21 20:19:41 +00:00
rvelices 7907d31a9c feature 1616: rename "category" into "album" (second commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6969 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-19 19:50:02 +00:00
rvelices c206a73dd2 feature 1616: rename "category" into "album" (first commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16 19:03:56 +00:00
rvelices 1da8e53dd4 feature 1845: be able to delete photos added through synhronization (postgres compatibility)
git-svn-id: http://piwigo.org/svn/trunk@6946 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16 17:24:05 +00:00
nikrou 5421126743 Fix bug 1856 : CSRF issue that allow to change admin password
git-svn-id: http://piwigo.org/svn/trunk@6897 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-13 19:40:42 +00:00
rvelices 7b515a89cc feature 1845 : be able to delete photos added through ftp synchronization
git-svn-id: http://piwigo.org/svn/trunk@6873 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-09 20:10:50 +00:00
patdenice 1323e7dd36 merge r6724 from branch 2.1 to trunk
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
2010-07-28 16:17:53 +00:00
plegall a61e471e02 merge r6713 from branch 2.1 to trunk
bug 1757 fixed: ability to use HTML in author field


git-svn-id: http://piwigo.org/svn/trunk@6714 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27 12:37:38 +00:00
plegall 1448b42df0 feature 408: ability to automatically sort sub-categories. The number of SQL
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
2010-07-23 21:33:56 +00:00
nikrou a9849aa9b6 Bug 1763 fixed : [PostgreSQL] double quote used in queries
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 21:18:14 +00:00
vdigital 7303892a87 Fix: 'Menu Management' in admin
git-svn-id: http://piwigo.org/svn/trunk@6656 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-04 07:39:44 +00:00
nikrou 267c1c63a2 Bug 1755 : Needs single quotes in queries official plugins
git-svn-id: http://piwigo.org/svn/trunk@6654 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-03 12:20:38 +00:00
plegall fbe9b7122d merge r6628 from branch 2.1 to trunk
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
2010-06-29 20:18:10 +00:00
plegall a1bddbe806 merge r6624 from branch 2.1 to trunk
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
2010-06-29 18:42:11 +00:00
plegall de5efe8330 merge r6621 from branch 2.1 to trunk
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
2010-06-29 00:26:43 +00:00
plegall 4b4d79c239 merge r6618 from branch 2.1 to trunk
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
2010-06-28 23:12:40 +00:00
plegall c6d981cc58 merge r6616 from branch 2.1 to trunk
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
2010-06-28 20:58:38 +00:00
nikrou a9d6cbce34 Bug 1740 fixed : Bug 1740 fixed : Rating page returns database error
Query had incomplete group by clause
Merge from branch 2.1

git-svn-id: http://piwigo.org/svn/trunk@6607 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25 21:21:02 +00:00
nikrou 1ba096945f Bug 1744 fixed : Incorrect use of timezone with SQLite
Fixed anti-flood system.

Need refactoring between each interval functions

git-svn-id: http://piwigo.org/svn/trunk@6604 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25 19:43:44 +00:00
nikrou 4b4293ffff Bug 1739 fixed : Recent pictures page returns database error
If there's no image in database, don't select thems !

git-svn-id: http://piwigo.org/svn/trunk@6599 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 18:48:24 +00:00
plegall 1015546138 merge r6586 from branch 2.1 to trunk
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
2010-06-22 23:43:36 +00:00
nikrou 5a677f1151 Bug 1738 fixed : hour function doesn't exists for database other than mysql.
git-svn-id: http://piwigo.org/svn/trunk@6578 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 21:01:05 +00:00
plegall 2ab566c956 merge r6564 from branch 2.1 to trunk
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
2010-06-21 19:55:51 +00:00
nikrou 324bdad746 Bug 1733 fixed : single quotes in queries
git-svn-id: http://piwigo.org/svn/trunk@6550 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 18:10:11 +00:00
nikrou c14850486a Bug 1733 fixed : (amend) String values must be delimited by single quotes in queries
forgot on query

git-svn-id: http://piwigo.org/svn/trunk@6544 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 14:49:46 +00:00
nikrou a14278f247 Bug 1733 fixed : String values must be delimited by single quotes in queries
git-svn-id: http://piwigo.org/svn/trunk@6542 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 13:49:24 +00:00
nikrou ad676ee2c8 Bug 1715 fixed : SQLite: Add photos fail
must use pwg_db_* functions instead of mysql_* ones

git-svn-id: http://piwigo.org/svn/trunk@6498 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:38:43 +00:00
nikrou 6b0aebc1b5 Feature 1728 fixed : use autoHeight accordion param
git-svn-id: http://piwigo.org/svn/trunk@6496 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:31:55 +00:00
nikrou fd0f465c59 Fix bug 1717 : SQLite: access failure on Admin > Tools > History
hour function doesn't exists

git-svn-id: http://piwigo.org/svn/trunk@6463 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-04 19:36:56 +00:00
rvelices 722c4a3a97 merge r6368,6410 from branch-2.1 to trunk
- 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
2010-05-28 19:58:51 +00:00
rvelices 41594f3494 removed unnecessary language key (Controversy) and potential sql fatal error in admin photo rating page
git-svn-id: http://piwigo.org/svn/trunk@6402 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-27 20:27:05 +00:00
plegall d63d95e024 merge r6384 from branch 2.1 to trunk
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
2010-05-27 07:31:08 +00:00
plegall 5f597c2cba merge r6361 from branch 2.1 to trunk
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
2010-05-26 00:20:07 +00:00
rvelices 4d013f7a32 fix bug 1663 : wrong decoding of non Ascii iptc/exif (charset issue)
git-svn-id: http://piwigo.org/svn/trunk@6355 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-25 19:49:13 +00:00
plegall cd219bc685 merge r6347 from branch 2.1 to trunk
bug 1672: replace the language key where it's used.


git-svn-id: http://piwigo.org/svn/trunk@6348 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24 22:19:41 +00:00
plegall adfcba658e bug 1667 fixed: r6027 was fixing a minor error on tabs for Google Chrome/Safari
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
2010-05-24 09:29:15 +00:00