Commit graph

321 commits

Author SHA1 Message Date
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
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
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
nikrou
324bdad746 Bug 1733 fixed : single quotes in queries
git-svn-id: http://piwigo.org/svn/trunk@6550 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 18:10:11 +00:00
nikrou
c14850486a Bug 1733 fixed : (amend) String values must be delimited by single quotes in queries
forgot on query

git-svn-id: http://piwigo.org/svn/trunk@6544 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 14:49:46 +00:00
nikrou
a14278f247 Bug 1733 fixed : String values must be delimited by single quotes in queries
git-svn-id: http://piwigo.org/svn/trunk@6542 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 13:49:24 +00:00
nikrou
ad676ee2c8 Bug 1715 fixed : SQLite: Add photos fail
must use pwg_db_* functions instead of mysql_* ones

git-svn-id: http://piwigo.org/svn/trunk@6498 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:38:43 +00:00
rvelices
722c4a3a97 merge r6368,6410 from branch-2.1 to trunk
- 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/trunk@6411 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-28 19:58:51 +00:00
plegall
d63d95e024 merge r6384 from branch 2.1 to trunk
bug 1704 fixed: windows needs a specific directory separator when creating
recursive directory.


git-svn-id: http://piwigo.org/svn/trunk@6385 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-27 07:31:08 +00:00
rvelices
4d013f7a32 fix bug 1663 : wrong decoding of non Ascii iptc/exif (charset issue)
git-svn-id: http://piwigo.org/svn/trunk@6355 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-25 19:49:13 +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
plegall
c695136e4d bug 1328: backport the pwg_token on trunk
bug 1329: backport the check_input_parameter on trunk

feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring
on this feature to make the code simpler and easier to maintain (I hope).

git-svn-id: http://piwigo.org/svn/trunk@5195 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:25:39 +00:00
plegall
3a076f460d feature 724: FCBKcomplete propagated to element_set_global and
element_set_unit to manage tags.

Note: multiple instances of FCBKcomplete on the same page does not work as
good as a single instance.

git-svn-id: http://piwigo.org/svn/trunk@5188 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 12:50:19 +00:00
plegall
cd00dffa72 feature 1515: the new admin menu organization implies to tell the accordion
menu which section to open on page load.

I've moved the single function in functions_themes.inc.php to function.php to
avoid misunderstanding with theme manager.

Ability to preset the active menu (in the future, a plugin may add its admin
page anywhere in the menu, this features needs other change to be possible)

git-svn-id: http://piwigo.org/svn/trunk@5173 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-17 23:50:53 +00:00