Commit graph

3223 commits

Author SHA1 Message Date
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
fb1d1c43d6 Bug 1735 fixed : amend commit 6596
Need to add permissions filter to retrieve categories

git-svn-id: http://piwigo.org/svn/trunk@6601 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 20:22:21 +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
nikrou
3aaa5b2dfd Bug 1736 fixed : Complete RSS Feed returns error
start or end dates can be null

git-svn-id: http://piwigo.org/svn/trunk@6597 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 18:42:39 +00:00
nikrou
e1ecc62b83 Bug 1735 fixed : 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.

Fixed also problem of FROM_UNIXTIME function not POstgreSQL compatible.

git-svn-id: http://piwigo.org/svn/trunk@6596 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 18:36:24 +00:00
vdigital
ad07b1c50b Fix: Smarty error on local_head = ''
git-svn-id: http://piwigo.org/svn/trunk@6594 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 08:19:51 +00:00
nikrou
5561730d35 Bug 1743 fixed : comment form is not visible because of boolean management
git-svn-id: http://piwigo.org/svn/trunk@6591 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-23 18:34:45 +00:00
nikrou
186e9df5af Fix bug 1733 : queries must use single quotes
git-svn-id: http://piwigo.org/svn/trunk@6589 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-23 18:11:00 +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
bedacf7b08 Bug 1737 fixed : Concatenation error with POstgreSQL
Simplify same function for SQLite

git-svn-id: http://piwigo.org/svn/trunk@6580 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 21:18:42 +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
rvelices
f4d4a3dbcf merge r6575-6576 from branch 2.1
-removed use of fix-khtml.css (I tried Safari and it does not need it)
- better javascript funcs + shorter notation

git-svn-id: http://piwigo.org/svn/trunk@6577 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 19:40:31 +00:00
nikrou
88fb540780 remove unused
git-svn-id: http://piwigo.org/svn/trunk@6572 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 19:32:13 +00:00
nikrou
2bad9871e2 Fix html bug : input field must be in a block tag
git-svn-id: http://piwigo.org/svn/trunk@6570 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 19:06: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
4a9e60885f Remove useless file
git-svn-id: http://piwigo.org/svn/trunk@6559 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-19 19:56:10 +00:00
ddtddt
22e50808c6 [trunk] update TR thanks to Nakre
git-svn-id: http://piwigo.org/svn/trunk@6558 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-19 14:38:49 +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
rvelices
8cdd30a828 moved content of not-ie.css (1 rule) into theme.css and obsoleted not-ie.css
git-svn-id: http://piwigo.org/svn/trunk@6531 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-15 04:10:46 +00:00
rvelices
613855b83b misplaced closing paranthesis in common.inc.php
git-svn-id: http://piwigo.org/svn/trunk@6523 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-12 09:55:41 +00:00
nikrou
ce187863e8 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.

git-svn-id: http://piwigo.org/svn/trunk@6518 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-10 21:07:22 +00:00
ddtddt
09e7d9c498 [trunk] merge 6516 feature:1731 Add Quebec localisation thanks to TiOger
git-svn-id: http://piwigo.org/svn/trunk@6517 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-10 20:05:47 +00:00
nikrou
175e9a110d 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)

git-svn-id: http://piwigo.org/svn/trunk@6510 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 20:25:03 +00:00
rvelices
80f2c704c9 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/trunk@6507 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 19:12:10 +00:00
ddtddt
450ba045e7 [trunk] small bug
git-svn-id: http://piwigo.org/svn/trunk@6505 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 18:52:34 +00:00
nikrou
a629994ea9 Bug 1716 fixed : Check upgrades failed in intro
Incorrect use of database dependant functions.
Fixed same problem for ws functions

git-svn-id: http://piwigo.org/svn/trunk@6500 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:55:54 +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
EricNet
35275b920a git-svn-id: http://piwigo.org/svn/trunk@6493 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-08 23:38:57 +00:00
EricNet
5697e03bca git-svn-id: http://piwigo.org/svn/trunk@6492 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-08 23:23:23 +00:00
EricNet
d93b10f430 git-svn-id: http://piwigo.org/svn/trunk@6491 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-08 22:51:07 +00:00
EricNet
82a21e2d8d git-svn-id: http://piwigo.org/svn/trunk@6490 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-08 22:30:10 +00:00
EricNet
6e33818b90 git-svn-id: http://piwigo.org/svn/trunk@6489 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-08 13:40:30 +00:00
EricNet
f8dca378bf git-svn-id: http://piwigo.org/svn/trunk@6487 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-08 12:19:22 +00:00
rvelices
249094fee9 - revert r6473 and r6475
- moved call to event format_exif_data earlier

git-svn-id: http://piwigo.org/svn/trunk@6484 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-07 19:05:04 +00:00
samli
6fbfd767b9 [trunk] update HU language
git-svn-id: http://piwigo.org/svn/trunk@6483 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-07 18:37:06 +00:00
ddtddt
e36b4d441c [trunk] merge 6481
git-svn-id: http://piwigo.org/svn/trunk@6482 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-06 20:39:51 +00:00
vdigital
dc1121c3f4 Fix: Insignificant issue "Scrollbars beside categories thumbnails(with long names)!"
http://piwigo.org/forum/viewtopic.php?id=16041

git-svn-id: http://piwigo.org/svn/trunk@6478 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-06 18:59:16 +00:00
rvelices
85ed20da2c previous commit was still not ok
- quick fix (maybe not the cleanest) of regression 2.0 -> 2.1 when displaying metadata on picture page (event called with different input)

git-svn-id: http://piwigo.org/svn/trunk@6475 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-06 10:48:12 +00:00
rvelices
fbf4326d5a - quick fix (maybe not the cleanest) of regression 2.0 -> 2.1 when displaying metadata on picture page (event called with different input)
git-svn-id: http://piwigo.org/svn/trunk@6473 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-06 10:13:42 +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
plegall
8a1f11a294 merge r6460 from branch 2.1 to trunk
feture 1712 : backmerge r6454, useless feature. It can be done another way
without changing core code.


git-svn-id: http://piwigo.org/svn/trunk@6461 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-03 19:01:36 +00:00
plegall
a79d547f05 merge r6454 from branch 2.1 to trunk
feature 1712: ability to add a CSS class on body 


git-svn-id: http://piwigo.org/svn/trunk@6455 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-03 12:49:31 +00:00
rvelices
2a99a22130 - do not remove slashes before calling insert_user_comment (homogeneity with update_user_comment and general use of slashes in piwigo)
- when using a modifier on a non array variable use @| instead of | (generated code is simpler and faster)

git-svn-id: http://piwigo.org/svn/trunk@6437 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-01 19:52:44 +00:00
samli
d7b71e2167 [trunk] update HU language
git-svn-id: http://piwigo.org/svn/trunk@6435 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-31 20:20:54 +00:00
nikrou
73bcf3d432 Fix html bug
git-svn-id: http://piwigo.org/svn/trunk@6429 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-31 11:02:38 +00:00
nikrou
0005a6eec1 Bug 1705 fixed : double quotes were not escaped
git-svn-id: http://piwigo.org/svn/trunk@6423 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-29 11:32:01 +00:00