aboutsummaryrefslogtreecommitdiffstats
path: root/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-06-24Bug 1736 fixed : Complete RSS Feed returns errornikrou1-19/+57
start or end dates can be null git-svn-id: http://piwigo.org/svn/trunk@6597 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24Bug 1735 fixed : Comment page is not PostgreSQL compatiblenikrou1-2/+2
Fixed by adding all fields except category_id in group by clause category_id is retrieved later in an another query. Fixed also problem of FROM_UNIXTIME function not POstgreSQL compatible. git-svn-id: http://piwigo.org/svn/trunk@6596 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-23Bug 1743 fixed : comment form is not visible because of boolean managementnikrou1-0/+4
git-svn-id: http://piwigo.org/svn/trunk@6591 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-23Fix bug 1733 : queries must use single quotesnikrou1-4/+4
git-svn-id: http://piwigo.org/svn/trunk@6589 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22Bug 1737 fixed : Concatenation error with POstgreSQLnikrou3-10/+4
Simplify same function for SQLite git-svn-id: http://piwigo.org/svn/trunk@6580 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22Bug 1738 fixed : hour function doesn't exists for database other than mysql.nikrou4-12/+21
git-svn-id: http://piwigo.org/svn/trunk@6578 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-12misplaced closing paranthesis in common.inc.phprvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@6523 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-10Bug 1730 fixed : search doesn't work when database engine is not mysqlnikrou1-1/+1
For posgresql and sqlite date must allways use day and month with two diggits. git-svn-id: http://piwigo.org/svn/trunk@6518 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09Fix bug 1722 : PosgtreSQL wants all fields in select to be in Group by clausenikrou3-12/+30
or agregate function Fix issue for lambda function (incorrect number of params) git-svn-id: http://piwigo.org/svn/trunk@6510 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09Bug 1716 fixed : Check upgrades failed in intronikrou1-3/+3
Incorrect use of database dependant functions. Fixed same problem for ws functions git-svn-id: http://piwigo.org/svn/trunk@6500 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-07- revert r6473 and r6475rvelices2-33/+32
- moved call to event format_exif_data earlier git-svn-id: http://piwigo.org/svn/trunk@6484 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-06previous commit was still not okrvelices1-4/+4
- quick fix (maybe not the cleanest) of regression 2.0 -> 2.1 when displaying metadata on picture page (event called with different input) git-svn-id: http://piwigo.org/svn/trunk@6475 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-06- quick fix (maybe not the cleanest) of regression 2.0 -> 2.1 when ↵rvelices2-27/+27
displaying metadata on picture page (event called with different input) git-svn-id: http://piwigo.org/svn/trunk@6473 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-04Fix bug 1717 : SQLite: access failure on Admin > Tools > Historynikrou2-0/+12
hour function doesn't exists git-svn-id: http://piwigo.org/svn/trunk@6463 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-01- do not remove slashes before calling insert_user_comment (homogeneity with ↵rvelices3-22/+7
update_user_comment and general use of slashes in piwigo) - when using a modifier on a non array variable use @| instead of | (generated code is simpler and faster) git-svn-id: http://piwigo.org/svn/trunk@6437 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-29Bug 1705 fixed : double quotes were not escapednikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@6423 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-28merge r6368,6410 from branch-2.1 to trunkrvelices4-52/+44
- 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-27merge r6384 from branch 2.1 to trunkplegall1-0/+4
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-26merge r6361 from branch 2.1 to trunkplegall1-0/+3
feature 1697: ability to deactivate the synchronization method to add photos. git-svn-id: http://piwigo.org/svn/trunk@6365 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-25fix bug 1663 : wrong decoding of non Ascii iptc/exif (charset issue)rvelices1-15/+18
git-svn-id: http://piwigo.org/svn/trunk@6355 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24merge r6338 from branch 2.1 to trunkplegall1-4/+4
bug 1694 fixed: COMPUTED Exif fields were not displayed on picture.php git-svn-id: http://piwigo.org/svn/trunk@6340 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24Fix bug 1695 : incorrect boolean to string conversion for SQLite and ↵nikrou3-9/+9
PostgreSQL database engines git-svn-id: http://piwigo.org/svn/trunk@6339 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24merge r6321 from branch 2.1 to trunkplegall1-1/+2
bug 1682: r6312 was producing a MySQL error (depending on the MySQL server version) because a count() implies a group by. This code change was checked against MySQL 5.0.75, MySQL 5.0.51 (where the error occured) and SQLite 3.6.22. git-svn-id: http://piwigo.org/svn/trunk@6322 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24$themeconf['id'] hard coded in template classpatdenice1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@6318 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-23merge r6313 from branch 2.1 to trunkplegall1-1/+1
bug 1685 fixed: typo on identification.php link git-svn-id: http://piwigo.org/svn/trunk@6316 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-23merge r6312 from branch 2.1 to trunkplegall1-14/+18
bug 1684 fixed: the test to check availability of the user_infos line was wrong. I had changed the old db_num_rows > 0 because it was not working with SQLite. As suggested by nicolas, let's use a simpler trick "count(1)" in the query itself, this way it should work with any database engine. I've also removed the while (true) (ugly infinite loop, with a condition for exit) that was producing an infinite loop for Piwigo installations with 2.0 database model and 2.1 code (before launching upgrade.php) git-svn-id: http://piwigo.org/svn/trunk@6315 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-23merge r6311 from branch 2.1 to trunkplegall1-0/+41
bug 1683 fixed: as soon as an admin modifies the admin>conf>options>guest settings, registration is broken. This is because user_infos.theme/language are emptied (while they should not). I have also added an "automatic repair" piece of code in get_default_user_info function. This piece of code should be removed for 2.2 with the appropriate migration task. git-svn-id: http://piwigo.org/svn/trunk@6314 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09Fix get_enums function for SQLitenikrou2-2/+26
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-09add nl.piwigo.org as domain name if current language is nl_NLplegall1-1/+1
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-08bug 1652 fixed: json_encode function is required for admin.php?fckb_tags=1plegall3-33/+54
(used in the new tags widget) git-svn-id: http://piwigo.org/svn/trunk@6126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08Amend bug 1559. standard deviation was not removed in some places.nikrou2-2/+0
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-07bug 1649 fixed: search EXIF/IPTC in the high definition photo if there is noplegall1-3/+18
EXIF/IPTC in the web sized photo. git-svn-id: http://piwigo.org/svn/trunk@6093 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07SQLite availabilty must be check by existence of SQLite3 classnikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@6092 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07bug 1648 fixed: add the pwg_db_check_version functions for pdo-sqlite, sqliteplegall4-2/+47
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-04remove debug traceplegall1-1/+0
git-svn-id: http://piwigo.org/svn/trunk@6075 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04bug 1501 fixed: with apache_authentication, fall back to REDIRECT_REMOTE_USERplegall1-4/+18
if REMOTE_USER is not set. git-svn-id: http://piwigo.org/svn/trunk@6074 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03bug 1063 fixed: avoid error when adding a tag in chinese or russian characters.plegall1-0/+7
In any language where the str2url would return an empty string. The behavior doesn't change for european characters. rvelices warned me about the many issues we might encounter with copy/paste of the URL and required url_encode/url_decode BUT after many tests (Linux with Firefox 3.0/Google Chrome 5, MacOS 10.6 with Firefox/Safari, WindowsXP with IE6/Firefox) I've found 0 problem, even with the most error prone mode $conf['tag_url_style'] = 'tag' git-svn-id: http://piwigo.org/svn/trunk@6060 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03bug 1639 fixed: the upload form now correctly uses the $conf['upload_dir']plegall1-2/+4
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-03improvement: use the same code to check upload readiness in admin>photos>addplegall1-11/+18
screen and in web API. bug fixed: UploadForm partly takes into account the configurable upload directory (must be propagated everywhere in the UploadForm process) git-svn-id: http://piwigo.org/svn/trunk@6051 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03bug 1635 fixed: new API method pwg.images.checkUpload tells pLoader if Piwigoplegall1-0/+48
is ready for upload (currently, it checks write access on the upload directory) git-svn-id: http://piwigo.org/svn/trunk@6049 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-30bug 1637: make the privacy level the same everywher, use "who can see this ↵plegall1-0/+42
photo?" instead of "minimum privacy level". git-svn-id: http://piwigo.org/svn/trunk@6025 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29feature 1502: Add $themeconf['load_parent_local_head'] parameterpatdenice1-7/+9
git-svn-id: http://piwigo.org/svn/trunk@6006 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29bug 860 related: don't try to update the configuration during install becauseplegall1-1/+3
pwg_query is not available yet. git-svn-id: http://piwigo.org/svn/trunk@5999 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29bug 860 related: if the directory doesn't exist (SVN users) first try toplegall1-10/+16
create it. To avoid useless checks on filesystem (rvelices should appreciate) a configuration variable tells if we have to check or not. git-svn-id: http://piwigo.org/svn/trunk@5998 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29feature 1502: $themeconf['load_css_parent'] apply recursivelypatdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5993 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29feature 1502: Add $themeconf['load_parent_css'] parameterpatdenice1-3/+10
git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29bug 1484: prevent XSS vulnerability, encode url.plegall1-1/+0
improvement: no need to transmit the REQUEST_URI from PHP, Smarty already knows it. git-svn-id: http://piwigo.org/svn/trunk@5990 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28bug 1484: after a "quick connect" you are correctly redirect to the same page.plegall1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@5986 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28bug 860: display a more readable error when the _data directory is not writableplegall2-3/+20
git-svn-id: http://piwigo.org/svn/trunk@5985 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28feature 1630: upgrade to Piwigo 2.1 :-)plegall3-13/+46
bug 1604: only activate core themes not all themes. git-svn-id: http://piwigo.org/svn/trunk@5982 68402e56-0260-453c-a942-63ccdbb3a9ee