Commit Graph

9306 Commits

Author SHA1 Message Date
riopwg d1f86f09c4 git-svn-id: http://piwigo.org/svn/trunk@6875 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-09-10 21:12:13 +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
rvelices 855a7dbb7a bug fix (recent some months): RSS and mail notifications could send the same thumbnail several times
git-svn-id: http://piwigo.org/svn/trunk@6870 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-09 13:15:50 +00:00
ddtddt 2a0cf1dac7 [Trunk] delete language/templates
git-svn-id: http://piwigo.org/svn/trunk@6837 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-02 08:39:17 +00:00
patdenice f517a023f1 merge r6779 from branch 2.1 to trunk
Change Vietnamese language name (must be Tiếng Việt)

git-svn-id: http://piwigo.org/svn/trunk@6780 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-08-19 12:46:29 +00:00
plegall 455e6641d4 merge r6735 from branch 2.1 to trunk
less generic word


git-svn-id: http://piwigo.org/svn/trunk@6736 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-29 16:37:06 +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 b0e523b218 merge r6715 from branch 2.1 to trunk
bug 1785 fixed: the number of related tags is no longer hard coded


git-svn-id: http://piwigo.org/svn/trunk@6716 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27 12:50:37 +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 aadf746e49 merge r6711 from branch 2.1 to trunk
add trigger for ExtendedDescription on photo name


git-svn-id: http://piwigo.org/svn/trunk@6712 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27 12:30:59 +00:00
rub 8ce85643a6 merge -c6705 from branch 2.1 to trunk
Feature 0001778: Thumbnails missing on NBM

Fix move_ccs_rules_to_body function

git-svn-id: http://piwigo.org/svn/trunk@6706 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-24 21:02:34 +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
plegall 361ef07c3c merge r6677 from branch 2.1 to trunk
grammar correction, thanks to rimouski (french forum, topic 18231)


git-svn-id: http://piwigo.org/svn/trunk@6678 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-10 20:07:53 +00:00
plegall cfa17aece5 merge r6675 from branch 2.1 to trunk
complement to r6657: having a new key for the admin menu is a good thing but
the "Menu Management" label is not coherent with other admin menu labels.
Furthermore, all languages already have the word "Menu" in common.lang.php, no
need to display an english "Menu Management" if the translation is missing.



git-svn-id: http://piwigo.org/svn/trunk@6676 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-10 20:05:24 +00:00
rvelices 4748adc3f5 - removed function get_extra_fields and its usage (unnecessary + perf issue when retrieving many image ids in a section)
- 2 fixes recent feed.php commit
  * month names were decalated by one
  * strptime function is not implemented under Windows in php
- added somme missing $ROOT_URL in templates

git-svn-id: http://piwigo.org/svn/trunk@6668 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-06 20:10:03 +00:00
nikrou 804d79a625 Bug 1766 fixed : [PostgreSQL] unkown database function UNIX_TIMESTAMP()
Add a new function pwg_db_date_to_ts() to calculate a timestamp from a date

git-svn-id: http://piwigo.org/svn/trunk@6666 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-06 12:14:17 +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
nikrou 531ee35375 Bug 1762 fixed : Compleet RSS Feed returns notice
Remove mysql specific function

git-svn-id: http://piwigo.org/svn/trunk@6662 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 20:46:55 +00:00
nikrou c1414297fb Bug 1760 fixed : Avoid session fixation
After connection, session id is changed using session_regenerate_id
but without removing old session. Passing param true makes the job.

git-svn-id: http://piwigo.org/svn/trunk@6660 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 19:34:15 +00:00
voyteckst 8fa8880122 Latest translations
git-svn-id: http://piwigo.org/svn/trunk@6658 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-04 20:56:41 +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
nikrou dd955526ae Bug 1754 fixed : The keyword AS is mandatory for alias in PostgreSQL queries
git-svn-id: http://piwigo.org/svn/trunk@6652 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-03 12:12:25 +00:00
plegall 58cb482d7a merge r6640 from branch 2.1 to trunk
bug fixed: pwg_db_fetch_array function does not exist


git-svn-id: http://piwigo.org/svn/trunk@6641 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-30 18:50:54 +00:00
EricNet e60d924665 git-svn-id: http://piwigo.org/svn/trunk@6638 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-06-30 12:53:31 +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
ddtddt eb72d60641 [trunk] update TR thanks to Nakre
git-svn-id: http://piwigo.org/svn/trunk@6627 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 19:15:27 +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
rvelices 7125711f59 merge r6414 from branch 2.1
favorite image icon is not taken from php but left to the theme

git-svn-id: http://piwigo.org/svn/trunk@6615 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-28 19:45:21 +00:00
ddtddt 3b946ffd16 [trunk] update TR thanks to Nakre
git-svn-id: http://piwigo.org/svn/trunk@6612 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-27 18:18:27 +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 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