Commit graph

3249 commits

Author SHA1 Message Date
plegall
99c68653b5 grammar correction, thanks to rimouski (french forum, topic 18231)
git-svn-id: http://piwigo.org/svn/branches/2.1@6677 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-10 20:07:32 +00:00
plegall
e950e97320 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/branches/2.1@6675 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-10 19:47:33 +00:00
rvelices
6c7b53e0b6 merge r6668 from trunk
- 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/branches/2.1@6669 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-06 20:11:06 +00:00
nikrou
4845a85685 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
Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6667 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-06 12:17:37 +00:00
nikrou
b2d7edfc17 Bug 1763 fixed : [PostgreSQL] double quote used in queries
Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6665 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 21:18:45 +00:00
nikrou
52c568327c Bug 1762 fixed : Compleet RSS Feed returns notice
Remove mysql specific function
Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6663 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 20:54:10 +00:00
nikrou
6b8e08936c 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

Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6661 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 19:35:36 +00:00
voyteckst
439f78a818 git-svn-id: http://piwigo.org/svn/branches/2.1@6659 68402e56-0260-453c-a942-63ccdbb3a9ee 2010-07-05 05:54:57 +00:00
vdigital
7a264aa7b2 merge r6656 from trunK
Fix: 'Menu Management' in admin



git-svn-id: http://piwigo.org/svn/branches/2.1@6657 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-04 18:34:01 +00:00
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