Commit graph

324 commits

Author SHA1 Message Date
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
patdenice
6b445114da Feature 1535: Add language manager.
git-svn-id: http://piwigo.org/svn/trunk@5357 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25 20:18:28 +00:00
plegall
663be9ca63 improvement: dynamically activate all installed themes (with checks on
parent availability and so on).

git-svn-id: http://piwigo.org/svn/trunk@5340 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25 10:08:33 +00:00
nikrou
cd0c4ae7dd Fix missing key translations for nbm and c13y
git-svn-id: http://piwigo.org/svn/trunk@5287 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 16:19:13 +00:00
plegall
363268ab99 ture 1514: improvement, impossible to activate a theme is a parent is missing
(a parent includes grand father and his own father, and his own father, and so
on... until the root theme is "default" or has no parent declared)

git-svn-id: http://piwigo.org/svn/trunk@5259 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 15:03:43 +00:00
plegall
15499d5dc1 feature 1514: improvement, impossible to delete a theme that is required
by another installed theme.

git-svn-id: http://piwigo.org/svn/trunk@5258 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 14:11:10 +00:00
patdenice
fdb92b15fa feature 1255: Move $conf['db_sqlite_default'] and $conf['dbengine_select_default'] in install.php (as constants).
PDO::SQLite is now displayed as SQLite in install page.
Always display unique SQLite engine.

git-svn-id: http://piwigo.org/svn/trunk@5239 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 23:41:19 +00:00
patdenice
2842cb6673 feature 1255: set mysql as default engine.
git-svn-id: http://piwigo.org/svn/trunk@5220 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 17:20:56 +00:00
patdenice
8db5b549d1 feature 1522: Move config_local.inc.php to local/config/config.inc.php
git-svn-id: http://piwigo.org/svn/trunk@5215 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 13:31:20 +00:00
nikrou
af78fa6193 Fix some language keys problems
Need translations !

git-svn-id: http://piwigo.org/svn/trunk@5207 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-20 22:35:39 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00