Commit graph

1143 commits

Author SHA1 Message Date
plegall
126f4aac29 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/branches/2.1@7169 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-13 09:42:03 +00:00
plegall
7bba167e55 bug 1872 fixed: we need to call set_make_full_url() before creating urls provided in emails
git-svn-id: http://piwigo.org/svn/branches/2.1@7004 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-22 21:10:40 +00:00
nikrou
2c6ac64a9d Fix bug 1856 : CSRF issue that allow to change admin password
Merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6903 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-13 20:17:41 +00:00
patdenice
afd653884a 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/branches/2.1@6724 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-28 16:00:25 +00:00
plegall
41757b9e1a bug 1757 fixed: ability to use HTML in author field
git-svn-id: http://piwigo.org/svn/branches/2.1@6713 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27 12:37:12 +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
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
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
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
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
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
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
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
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
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
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
nikrou
47847a2dd4 Bug 1715 fixed : SQLite: Add photos fail
must use pwg_db_* functions instead of mysql_* ones
merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6499 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:40:34 +00:00
nikrou
de5ded6fa2 Feature 1728 fixed : use autoHeight accordion param
merge from trunk

git-svn-id: http://piwigo.org/svn/branches/2.1@6497 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:34:49 +00:00
nikrou
e49ff390d3 Bug 1717 fixed : SQLite: access failure on Admin > Tools > History
hour function doesn't exists
Merge from trunk.

git-svn-id: http://piwigo.org/svn/branches/2.1@6464 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-04 19:39:02 +00:00
rvelices
1b90ca1764 - 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/branches/2.1@6410 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-28 19:55:03 +00:00
rvelices
f0d6ec33ce merge r6402 from trunk
removed unnecessary language key (Controversy) and potential sql fatal error in admin photo rating page

git-svn-id: http://piwigo.org/svn/branches/2.1@6403 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-27 20:28:43 +00:00
plegall
50cd8ed523 bug 1704 fixed: windows needs a specific directory separator when creating
recursive directory.

git-svn-id: http://piwigo.org/svn/branches/2.1@6384 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-27 07:30:03 +00:00
plegall
5488e86ada feature 1697: ability to deactivate the synchronization method to add photos.
git-svn-id: http://piwigo.org/svn/branches/2.1@6361 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-25 22:29:31 +00:00
rvelices
7ab2dd2fac merge -r 6355 from trunk
fix bug 1663 : wrong decoding of non Ascii iptc/exif (charset issue)

git-svn-id: http://piwigo.org/svn/branches/2.1@6356 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-25 19:55:28 +00:00
plegall
442005ff0a bug 1672: replace the language key where it's used.
git-svn-id: http://piwigo.org/svn/branches/2.1@6347 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24 22:17:24 +00:00
plegall
e5a564b618 merge r6320 from trunk to branch 2.1
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/branches/2.1@6323 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24 11:19:04 +00:00
Gotcha
1416cc82c8 Correction lang key
"group" => "Group"

git-svn-id: http://piwigo.org/svn/branches/2.1@6280 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-22 10:17:42 +00:00
Gotcha
082801305d merge r6247 from trunk to branch 2.1
git-svn-id: http://piwigo.org/svn/branches/2.1@6279 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-22 10:13:01 +00:00
plegall
93ddc4f810 merge r6265 from trunk to branch 2.1
Correct text alignement in .infos, .errors
30px => 53px


git-svn-id: http://piwigo.org/svn/branches/2.1@6276 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-22 09:48:17 +00:00
nikrou
d8d8ca5ed3 Fix get_enums function for SQLite
hard coded enums values for all tables
because enum feature doesn't exists for SQLite.

git-svn-id: http://piwigo.org/svn/trunk@6153 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:52:38 +00:00
plegall
8469140471 add nl.piwigo.org as domain name if current language is nl_NL
fix typos on language names in install.php

correct list of available newsletters

git-svn-id: http://piwigo.org/svn/trunk@6152 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:51:01 +00:00
plegall
3597dcaa7a bug fixed on authentication check for upgrade without the 'now' mode
git-svn-id: http://piwigo.org/svn/trunk@6131 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 21:25:33 +00:00
plegall
f34bce6847 add a warning about SQLite/PostgreSQL: they are currently in "experimental"
state.

git-svn-id: http://piwigo.org/svn/trunk@6128 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 20:32:36 +00:00
nikrou
f1c5936f8b Fix language key (return in string) for message introduction in upgrade.php
git-svn-id: http://piwigo.org/svn/trunk@6127 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 20:23:13 +00:00
nikrou
a34af69677 Amend bug 1559. standard deviation was not removed in some places.
So, sqlite crashed because std function has been removed.

git-svn-id: http://piwigo.org/svn/trunk@6125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 18:43:50 +00:00
patdenice
973d15f338 Upgrade can be launched automaticaly if user is already connected as webmaster.
git-svn-id: http://piwigo.org/svn/trunk@6110 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 23:08:51 +00:00
plegall
7c460b8258 constants should not contain - but _
git-svn-id: http://piwigo.org/svn/trunk@6091 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 00:35:43 +00:00
plegall
48ab333212 bug 1648 fixed: add the pwg_db_check_version functions for pdo-sqlite, sqlite
and pgsql, also make the $pwg_db_link global in the install_db_connect function
so that it can be used in SQLite functions.

bug fixed: with pdo-sqlite, pwg_db_num_rows always returns 0, so when
initializing user data, it tries to insert the same row twice.

git-svn-id: http://piwigo.org/svn/trunk@6090 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 00:34:56 +00:00
plegall
addb6b5ddc feature 620: ability to synchronize metadata from high definition photo, if no
metadata available in "web sized" photo. This commit is a report of r4683 from
update_metadata function in admin/include/functions_metadata.php in the
duplicated code get_element_metadata of admin/site_reader_local.php. See
feature 620 for details about code duplication.

git-svn-id: http://piwigo.org/svn/trunk@6076 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 23:45:20 +00:00
plegall
2a4d98ed75 bug fixed: on admin/cat_modify, the permissions icon had a bad src.
git-svn-id: http://piwigo.org/svn/trunk@6073 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 21:48:38 +00:00
plegall
8fd6efeb61 improve colors on admin clear theme to make it more readable (listbox and buttons, mainly)
git-svn-id: http://piwigo.org/svn/trunk@6072 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 21:46:40 +00:00
plegall
1f01b7f912 bug 1642 fixed: if no category exists, prevent from selecting an existing
category (before form submission).

git-svn-id: http://piwigo.org/svn/trunk@6057 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 21:24:34 +00:00
plegall
322d345077 bug 1641 fixed: Admin>Categories>Synchronize moved to Admin>Tools>Synchronize
(the same for the Site Manager). The big "Quick Synchro" button is kept on
administration homepage. A link to the Synchronize screen was added into
Admin>Photos>Add>FTP+Synchro screen.

git-svn-id: http://piwigo.org/svn/trunk@6056 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 20:13:03 +00:00
plegall
a3f7bac7a6 deactivate debug traces for advanced upload form
git-svn-id: http://piwigo.org/svn/trunk@6054 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 13:38:12 +00:00