Commit graph

3240 commits

Author SHA1 Message Date
nikrou
6656dfb06a Bug 1755 fixed : Needs single quotes in queries official plugins
Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6655 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-03 12:22:58 +00:00
nikrou
b83df6be68 Bug 1754 fixed : The keyword AS is mandatory for alias in PostgreSQL queries
Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6653 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-03 12:16:12 +00:00
plegall
55f4efd7a6 bug fixed: pwg_db_fetch_array function does not exist
git-svn-id: http://piwigo.org/svn/branches/2.1@6640 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-30 18:50:32 +00:00
EricNet
773546363e git-svn-id: http://piwigo.org/svn/branches/2.1@6637 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-30 12:46:06 +00:00
EricNet
1de69261bb git-svn-id: http://piwigo.org/svn/branches/2.1@6636 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-30 12:33:57 +00:00
plegall
1b94ba922a we are on the branch 2.1 now
git-svn-id: http://piwigo.org/svn/branches/2.1@6630 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 20:43:02 +00:00
plegall
b23cc71576 improvement: ability to hide setup warnings for upload. Warnings will
automatically come back at next user session.


git-svn-id: http://piwigo.org/svn/branches/2.1@6628 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 20:15:18 +00:00
ddtddt
64863a781f [branche2.1] update TR thanks to Nakre
git-svn-id: http://piwigo.org/svn/branches/2.1@6626 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 19:15:01 +00:00
plegall
18c6018b24 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/branches/2.1@6624 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 18:39:48 +00:00
josep.torne
5fa07ff968 adding admin.lang.php ca_ES translation
git-svn-id: http://piwigo.org/svn/branches/2.1@6623 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 15:00:52 +00:00
plegall
2bccd339a6 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/branches/2.1@6621 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 00:18:40 +00:00
plegall
46e324e582 bug 1746 fixed: a missing GD library is a setup error, it blocks the upload
form.


git-svn-id: http://piwigo.org/svn/branches/2.1@6618 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-28 21:54:04 +00:00
plegall
b7bdd22773 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/branches/2.1@6616 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-28 20:57:35 +00:00
rvelices
b735fef251 favorite image icon is not taken from php but left to the theme (still in the php for the branch for theme compatibility)
git-svn-id: http://piwigo.org/svn/branches/2.1@6614 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-28 19:42:37 +00:00
ddtddt
20752c742f [branche2.1] update TR thanks to Nakre
git-svn-id: http://piwigo.org/svn/branches/2.1@6611 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-27 18:17:10 +00:00
nikrou
68aa7b4952 Bug 1740 fixed : Rating page returns database error
Query had incomplete group by clause

git-svn-id: http://piwigo.org/svn/branches/2.1@6606 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25 21:18:58 +00:00
nikrou
d7fa727afa Bug 1744 fixed : Incorrect use of timezone with SQLite
Fixed anti-flood system.

Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6605 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25 19:45:19 +00:00
nikrou
6394613e9f Bug 1735 fixed : merge from trunk
Comment page is not PostgreSQL compatible
Fixed by adding all fields except category_id in group by clause
category_id is retrieved later in an another query (with permissions filter)

Fixed also problem of FROM_UNIXTIME function not POstgreSQL compatible

git-svn-id: http://piwigo.org/svn/branches/2.1@6602 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 20:35:46 +00:00
nikrou
3a57b93baa Bug 1739 fixed : Recent pictures page returns database error
merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6600 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 18:49:48 +00:00
nikrou
5f925e150a Bug 1736 fixed : Complete RSS Feed returns error start or end dates can be null
merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6598 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 18:44:42 +00:00
vdigital
ea80c5b895 merge r6594 from trunk
Fix: Smarty error on local_head = ''


git-svn-id: http://piwigo.org/svn/branches/2.1@6595 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 08:25:18 +00:00
nikrou
24d68bed06 Fix bug 1743 : comment form is not visible because of boolean management
merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6592 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-23 18:35:21 +00:00
nikrou
d28c348908 Bug 1733 fixed : merge from trunk.
Queries must use single quotes.

git-svn-id: http://piwigo.org/svn/branches/2.1@6590 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-23 18:17:36 +00:00
plegall
b3ad6951e8 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/branches/2.1@6586 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 23:28:45 +00:00
nikrou
c04a906ec4 Bug 1737 fixed : merge from trunk
Concatenation error with POstgreSQL
Simplify same function for SQLite

git-svn-id: http://piwigo.org/svn/branches/2.1@6581 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 21:19:17 +00:00
nikrou
1661af7f3f Bug 1738 fixed : merge from trunk
hour function doesn't exists for database other than mysql.

git-svn-id: http://piwigo.org/svn/branches/2.1@6579 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 21:01:47 +00:00
rvelices
7629b2723a - better javascript funcs + shorter notation
git-svn-id: http://piwigo.org/svn/branches/2.1@6576 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 19:39:12 +00:00
rvelices
5b19405ff2 removed use of fix-khtml.css (I tried Safari and it does not need it)
git-svn-id: http://piwigo.org/svn/branches/2.1@6575 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 19:37:56 +00:00
nikrou
913e3a8c41 merge from trunk; remove unused
git-svn-id: http://piwigo.org/svn/branches/2.1@6574 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 19:33:33 +00:00
nikrou
32828aa848 Fix html bug : input field must be in a block tag
Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6571 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 19:07:54 +00:00
plegall
73b5557703 bug 1707 fixed: Piwigo version number always visible in administration homepage
git-svn-id: http://piwigo.org/svn/branches/2.1@6564 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-21 19:44:48 +00:00
josep.torne
02559d73f8 adding iso file for catalan language
git-svn-id: http://piwigo.org/svn/branches/2.1@6563 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-21 16:11:47 +00:00
josep.torne
0ee13a42cf catalan translation fixing a word
git-svn-id: http://piwigo.org/svn/branches/2.1@6562 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-19 21:02:08 +00:00
josep.torne
d1ceb94f9d adding catalan language about.html file
git-svn-id: http://piwigo.org/svn/branches/2.1@6561 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-19 20:59:12 +00:00
nikrou
08ac5408ff Remove useless file
git-svn-id: http://piwigo.org/svn/branches/2.1@6560 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-19 19:56:50 +00:00
ddtddt
08b1094b0c [branche2.1] update TR thanks to Nakre
git-svn-id: http://piwigo.org/svn/branches/2.1@6557 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-19 14:34:48 +00:00
josep.torne
7ce7346116 adding catalan language
git-svn-id: http://piwigo.org/svn/branches/2.1@6556 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-19 11:33:23 +00:00
josep.torne
1a1d098bce adding catalan language
git-svn-id: http://piwigo.org/svn/branches/2.1@6555 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-19 11:21:31 +00:00
nikrou
dbe75d113b Bug 1733 fixed : merge from trunk
single quotes in queries

git-svn-id: http://piwigo.org/svn/branches/2.1@6551 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 18:11:11 +00:00
nikrou
5baa3409e5 Bug 1733 fixed : merge from trunk
String values must be delimited by single quotes in queries
Forgot one query

git-svn-id: http://piwigo.org/svn/branches/2.1@6545 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 14:50:58 +00:00
nikrou
6067c4ef2b Bug 1733 fixed : merge from trunk
String values must be delimited by single quotes in queries

git-svn-id: http://piwigo.org/svn/branches/2.1@6543 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 13:51:52 +00:00
rvelices
2a6e5d0a43 merge r6531 from trunk to branch 2.1
moved content of not-ie.css (1 rule) into theme.css and obsoleted not-ie.css

git-svn-id: http://piwigo.org/svn/branches/2.1@6532 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-15 04:11:33 +00:00
rvelices
49952e574c misplaced closing paranthesis in common.inc.php
git-svn-id: http://piwigo.org/svn/branches/2.1@6524 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-12 09:56:20 +00:00
nikrou
9bbddd0cc4 Bug 1730 fixed : search doesn't work when database engine is not mysql
For posgresql and sqlite date must allways use day and month with two diggits.
merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6519 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-10 21:08:34 +00:00
ddtddt
406b9bfcd9 [branche2.1] feature:1731 Add Quebec localisation thanks to TiOger
git-svn-id: http://piwigo.org/svn/branches/2.1@6516 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-10 20:02:47 +00:00
nikrou
a59d15b7b6 Fix bug 1722 : PosgtreSQL wants all fields in select to be in Group by clause
or agregate function
Fix issue for lambda function (incorrect number of params)

merge from trunk.

git-svn-id: http://piwigo.org/svn/branches/2.1@6511 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 20:26:47 +00:00
rvelices
54fc109f97 merge r6507 from trunk
optim: replace html_options call in picture.tpl with a foreach (html_options loads several smarty files which is overkill for one single use for admins only

git-svn-id: http://piwigo.org/svn/branches/2.1@6508 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 19:13:02 +00:00
ddtddt
2848ca55bb [trunk] small bug
git-svn-id: http://piwigo.org/svn/branches/2.1@6504 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 18:51:41 +00:00
EricNet
0f6c48d73f git-svn-id: http://piwigo.org/svn/branches/2.1@6503 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-09 16:53:13 +00:00
nikrou
a9774635bd Bug 1716 fixed : SQLite: Check upgrades failed in intro
Incorrect use of dependant database function
Fixed same problem in ws functions

merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6501 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:57:57 +00:00