Commit graph

334 commits

Author SHA1 Message Date
plegall
a1e51fdc29 merge r8238 from trunk to branch 2.1
feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose


git-svn-id: http://piwigo.org/svn/branches/2.1@8240 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 00:27:38 +00:00
patdenice
a0134e4078 feature 2048: remove urlencode for technicals details (already escaped with http_build_query).
git-svn-id: http://piwigo.org/svn/branches/2.1@8124 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:01:18 +00:00
patdenice
35be8d6461 feature 2057: use http_build_query instead of add_url_params for GET data.
git-svn-id: http://piwigo.org/svn/branches/2.1@8089 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-12 10:14:16 +00:00
patdenice
f92ab95b10 merge r8079, r8080, r8082, r8083, r8084 from trunk to branch 2.1
feature 2057: fetchRemote can send POST data
feature 2048: Use POST to send server data
feature 2048: add $conf['send_hosting_technical_details'] parameter
feature 2057: use $get_data parameter to send GET data.
feature 2048: send technical details only to get_version_list.php of PEM API.

git-svn-id: http://piwigo.org/svn/branches/2.1@8086 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:37:44 +00:00
patdenice
4713ca3a97 merge r8022 from trunk to branch 2.1
Feature 2048: send piwigo version

git-svn-id: http://piwigo.org/svn/branches/2.1@8023 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07 13:23:33 +00:00
patdenice
2f144d33fa merge r8020 from trunk to branch 2.1
Feature 2048: Send data to piwigo server anonymously (like php and mysql versions)

git-svn-id: http://piwigo.org/svn/branches/2.1@8021 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07 12:40:09 +00:00
ddtddt
58373dddef [branche 2.1] nl_NL - add subscribe for NL to newsletter
git-svn-id: http://piwigo.org/svn/branches/2.1@7723 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-09 08:08:17 +00:00
plegall
0591eda076 bug 1974 fixed: don't generate invalid creation date from IPTC,
if month = 0 or day = 0, then month=1 and day=1.


git-svn-id: http://piwigo.org/svn/branches/2.1@7506 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30 20:14:11 +00:00
plegall
fe0d5b7547 bug 1908 fixed: protect the uploaded photo filename against SQL injection.
git-svn-id: http://piwigo.org/svn/branches/2.1@7489 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-29 22:53:00 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
plegall
0c8cebe044 bug 1639 fixed: the upload form now correctly uses the $conf['upload_dir']
parameter (web API already use it).

By default, the $conf['upload_dir'] is no longer dependent to PHPWG_ROOT_PATH
because it becomes a real mess when admin/include/uploadify.php (called
directly, not from an include) tries to perform an upload.

Improvement: make clearer how $conf['upload_dir'] can be set (relative to the
Piwigo installation directory + HTTP reachable)

git-svn-id: http://piwigo.org/svn/trunk@6052 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 12:49:26 +00:00
plegall
884c9375f3 bug 1613 fixed: split the "pending" screen into 2 distinct sections :
admin>photos>pending + admin>tools>pending comments.

git-svn-id: http://piwigo.org/svn/trunk@5997 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 13:58:40 +00:00
plegall
73db66afa5 feature 1630: upgrade to Piwigo 2.1 :-)
bug 1604: only activate core themes not all themes.

git-svn-id: http://piwigo.org/svn/trunk@5982 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 14:28:05 +00:00
patdenice
8a1b7a4e5f Add triggers for image and thumbnail resizing.
git-svn-id: http://piwigo.org/svn/trunk@5957 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-24 22:22:32 +00:00
plegall
9ee08fcf12 feature 1605: ability to forbid theme activation, needed for gally-default.
git-svn-id: http://piwigo.org/svn/trunk@5874 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-15 22:08:37 +00:00
nikrou
8ed51d8497 Fix some issues with database connections.
install_db_connect() function must return database resource link
insert into set syntax is mysql specific

git-svn-id: http://piwigo.org/svn/trunk@5781 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 19:49:30 +00:00
plegall
8a4b177c7b feature 1587: move advanced features screen into maintenance screen.
git-svn-id: http://piwigo.org/svn/trunk@5745 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-09 21:38:16 +00:00
rvelices
4e4f257a58 fixes only:
- some searches returned bad array for page['items'] (resulting in php warnings and sometimes mysql fatal error) still existing in branch 2.0
- mysql fatal error in admin maintenance
- php warn in plugins_list.php
- fix check on function param in admin/include/functions.php

git-svn-id: http://piwigo.org/svn/trunk@5691 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-06 20:04:42 +00:00
plegall
70106a93e2 Fix missing keys: some keys have been removed by mistake during the massive
key conversion.

Remove some language keys that are really obsolete. I've updated the script
to convert language files to 2.1, I will apply "obsolete keys removal" process
in a 2nd step on other languages.

git-svn-id: http://piwigo.org/svn/trunk@5559 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-01 21:11:14 +00:00
plegall
674008ee78 bug 1550 fixed: the admin menu opens on the right section for languages_new
page.

git-svn-id: http://piwigo.org/svn/trunk@5528 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-01 12:35:49 +00:00
nikrou
a6a3a6e0c2 Fix some issues with database engines :
- insert into syntax not correct for posgresql or sqlite
- add languages table
- incorrect function for row count (sqlite)

git-svn-id: http://piwigo.org/svn/trunk@5452 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 18:16:33 +00:00
patdenice
6024107c9c feature 1502: Configuration menu is selected when theme configuration page is selected.
Remove useless global $page.

git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 15:14:21 +00:00
patdenice
29d36ffdc3 feature 1502: Allow to have configuration page for each theme.css.
About string for theme has to be saved in language theme directory (about.html)

git-svn-id: http://piwigo.org/svn/trunk@5446 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 13:30:02 +00:00
plegall
2a5529c32f Simplify installation message, no need to explain the following step, the
"no photo yet" feature makes the explanations useless at this point.

.infos admin block is used to display messages, I've set the background
transparent here, because it's the only message of the page. Anyway, I don't
think using .infos blocks are relevant if that's the only message on the page.

git-svn-id: http://piwigo.org/svn/trunk@5408 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-27 20:49:52 +00:00
patdenice
7b25308e73 Fix php5 apache configuration with upgrade.
git-svn-id: http://piwigo.org/svn/trunk@5387 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-26 16:49:23 +00:00
patdenice
29a08d54e7 Fix php5 apache configuration with install.
Fix php5 apache configuration display.

git-svn-id: http://piwigo.org/svn/trunk@5384 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-26 15:44:48 +00:00
plegall
b8a9773caf feature 1514: make the "deactivate" action inactive if there is no active
theme left.

bug fixed: when setting the default theme, make sure at least one user will
be updated.

git-svn-id: http://piwigo.org/svn/trunk@5382 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-26 14:16:54 +00:00
patdenice
55ea0f2c4c Feature 1535: Allow to install new languages from PEM.
git-svn-id: http://piwigo.org/svn/trunk@5371 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-26 00:55:12 +00:00
patdenice
b01c5cc096 Move set_tabsheet function for plugins pages to plugins class.
git-svn-id: http://piwigo.org/svn/trunk@5367 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25 22:38:09 +00:00