aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [trunk] merge 4480 BR2 -> Tddtddt2009-12-137-212/+212
| | | | | | add config_database.inc.php to ignore list git-svn-id: http://piwigo.org/svn/trunk@4481 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update language ITriopwg2009-12-101-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@4465 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4462 from branch 2.0 to trunkplegall2009-12-091-1/+1
| | | | | | | bug 1317 fixed: force the HTTP response charset (ie encoding) to UTF-8. git-svn-id: http://piwigo.org/svn/trunk@4463 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4459 from branch 2.0 to trunkplegall2009-12-092-19/+43
| | | | | | | | | | | | | feature 1316 added: we now have the ability to only fill the single value properties that are currently empty in the database instead of automatically replacing. feature 1312: as a matter of consistency, I have changed the replace_mode (that was only for multiple values properties) into multiple_value_mode + single_value_mode. git-svn-id: http://piwigo.org/svn/trunk@4460 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix r3751 regressionEric2009-12-092-4/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@4455 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1314 : warning because of undefined variables in installationnikrou2009-12-091-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@4454 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4444 from branch 2.0 to trunkplegall2009-12-072-46/+123
| | | | | | | | | | | | | | | | | feature 1312 added: pwg.images.setInfo can replace multiple values propreties (tags/categories). The primary condition is to provide "tag_ids" and/or "categories" input parameters, ie pwg.images.set won't create emptiness. You can reduce the set of tags/categories but not remove all tags/categories. bug 1277 fixed: with a stronger algorithm for adding/replacing categories, we now avoid to recreate an existing image_category association. When a remote client calls pwg.images.setInfo, Piwigo returns an error 500 if: 1. the "categories" parameter is malformed (no numeric id inside) 2. one of the input categories does not exist at database level. git-svn-id: http://piwigo.org/svn/trunk@4445 68402e56-0260-453c-a942-63ccdbb3a9ee
* [language_switch] merge r4434 from branch 2.0 to trunkvdigital2009-12-061-0/+0
| | | | | | | | | | New: mk_MK (Macedonian) Republic of Macedonia flag git-svn-id: http://piwigo.org/svn/trunk@4435 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : file not needed. Job is done is install.phpnikrou2009-12-061-77/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@4433 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 0000796 fixed : Strengthen login handlingEric2009-12-052-0/+40
| | | | git-svn-id: http://piwigo.org/svn/trunk@4429 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4426 from branch 2.0 to trunkplegall2009-12-045-9/+9
| | | | | | | | | bug 1211 fixed: with PHP 5.3, the get_class function requires the input parameter to be an object, or else throws a E_WARNING message. In webservices files, I have replaced all "get_class" calls by "@get_class". git-svn-id: http://piwigo.org/svn/trunk@4427 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4424 from branch 2.0 to trunkplegall2009-12-041-3/+9
| | | | | | | | bug 1210 fixed: check if the memory_get_usage function is available before using it. git-svn-id: http://piwigo.org/svn/trunk@4425 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : migration scriptnikrou2009-12-043-34/+178
| | | | git-svn-id: http://piwigo.org/svn/trunk@4423 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 :nikrou2009-12-0215-83/+1438
| | | | | | | - add postgres database engine - change installation process to allow postgres or mysql database git-svn-id: http://piwigo.org/svn/trunk@4410 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4400 from branch 2.0 to trunkplegall2009-12-011-1/+1
| | | | | | | | bug 1301 fixed: it is now possible to move root category 4 into root category 49. Sometimes a single comma makes a huge difference! git-svn-id: http://piwigo.org/svn/trunk@4401 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 :nikrou2009-11-304-32/+50
| | | | | | sql functions for calendar (interval, year, month, ...) git-svn-id: http://piwigo.org/svn/trunk@4398 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 :nikrou2009-11-292-3/+3
| | | | | | | misspelled function parenthesis missing git-svn-id: http://piwigo.org/svn/trunk@4388 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature_1255:nikrou2009-11-294-27/+24
| | | | | | | - bug fix : function pwg_db_get_recent_period_expression - add extra fields for select based on "order by" git-svn-id: http://piwigo.org/svn/trunk@4387 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature_1255 :nikrou2009-11-2915-24/+101
| | | | | | | - single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255: modification in sql queriesnikrou2009-11-2520-112/+134
| | | | | | | | | - manage random function - manage regex syntax - manage quote (single instead of double) - manage interval git-svn-id: http://piwigo.org/svn/trunk@4367 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 928 :nikrou2009-11-242-6/+2
| | | | | | partial revert of svn:4280 for external authentification. git-svn-id: http://piwigo.org/svn/trunk@4357 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4345 from branch 2.0 to trunkplegall2009-11-223-3/+174
| | | | | | | | | | | feature 1051: ability to add/update a file for an existing photo. For example, you can add the "high" later. Another example is to update the "web resized" file (new dimensions is a common example). It also works for thumbnails. Updating an existing file has no impact on the logical level (list of tags, list of categories, title, description and so on). git-svn-id: http://piwigo.org/svn/trunk@4348 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4344 from branch 2.0 to trunkplegall2009-11-223-20/+160
| | | | | | | | | | feature 1051: new API method pwg.images.checkFiles. This method will be useful before asking for an update on photo files. Enhancement in code factorization. git-svn-id: http://piwigo.org/svn/trunk@4347 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4328 from branch 2.0 to trunkplegall2009-11-221-127/+83
| | | | | | | | | | | | | | improvement: to prepare feature 1051, the code to add a single file (works for the 3 picture types, ie thumb/file/high) has been factorized into a single add_file function. bug fixed: when a function not directly called by the API (such as merge_chunks or the new add_file function) returning a PwgError, it was not stopping the execution, it just sets the error code/message. Now we don't return PwgError, we only create one and then exit(). git-svn-id: http://piwigo.org/svn/trunk@4346 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1241 : revert pwg_db_fetch_row because we use $row[0]nikrou2009-11-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@4335 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou2009-11-2114-23/+21
| | | | | | OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 : misspelled functions pwg_db_free_result() (db missing)nikrou2009-11-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@4332 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : improve sqlnikrou2009-11-2111-16/+16
| | | | | | Replace in queries LIMIT N,M by LIMIT N OFFSET M git-svn-id: http://piwigo.org/svn/trunk@4331 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 : bug fixnikrou2009-11-202-1/+1
| | | | | | functions_mysql.inc.php must be loaded for install git-svn-id: http://piwigo.org/svn/trunk@4326 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 resolvednikrou2009-11-2078-691/+789
| | | | | | | | Replace all mysql functions in core code by ones independant of database engine Fix small php code synxtax : hash must be accessed with [ ] and not { }. git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
* Rollback to preview commitEric2009-11-181-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@4306 68402e56-0260-453c-a942-63ccdbb3a9ee
* Forgotten Comments author name to be escaped and correctly displayedEric2009-11-181-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@4305 68402e56-0260-453c-a942-63ccdbb3a9ee
* Escape all login and username characters in databaseEric2009-11-1819-43/+43
| | | | | | | | Display correctly usernames (I hope not to have made mistakes) git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 928 resolved.nikrou2009-11-1625-43/+46
| | | | | | | Replace include/mysql.inc.php by include/config_database.inc.php to be independant of database engine Rename database configurations variables by ones in $conf array. git-svn-id: http://piwigo.org/svn/trunk@4280 68402e56-0260-453c-a942-63ccdbb3a9ee
* git-svn-id: http://piwigo.org/svn/trunk@4278 ↵voyteckst2009-11-162-14/+14
| | | | 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou2009-11-1551-136/+136
| | | | | | small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
* quick search on image file name is not case sensitive anymorervelices2009-11-131-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@4261 68402e56-0260-453c-a942-63ccdbb3a9ee
* [language_switch] merge r4257 from branch 2.0 to trunkvdigital2009-11-111-0/+0
| | | | | | | | UPDATE: ir_IR (Persian) flag renamed in fa_IR git-svn-id: http://piwigo.org/svn/trunk@4258 68402e56-0260-453c-a942-63ccdbb3a9ee
* [language_switch] merge r4255 from branch 2.0 to trunkvdigital2009-11-111-0/+0
| | | | | | | New: ar_SA (Arabic) Saudi Arabia (officially Kingdom of Saudi Arabia) flag git-svn-id: http://piwigo.org/svn/trunk@4256 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4230 from branch 2.0 to trunkpatdenice2009-11-083-0/+87
| | | | | | Add Hungarian to LocalFiles Editor (thanks to samli). git-svn-id: http://piwigo.org/svn/trunk@4231 68402e56-0260-453c-a942-63ccdbb3a9ee
* admin multi view plugin : new option "do not save page visits to history table"rvelices2009-11-052-1/+23
| | | | git-svn-id: http://piwigo.org/svn/trunk@4208 68402e56-0260-453c-a942-63ccdbb3a9ee
* [language_switch] merge r4184 from branch 2.0 to trunkvdigital2009-11-041-0/+0
| | | | | | | | | New: zh_TW (Chinese (Traditional)) flag git-svn-id: http://piwigo.org/svn/trunk@4187 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1220 : fix regression in display when search by author or by keyword ↵nikrou2009-11-041-2/+2
| | | | | | contains quote. git-svn-id: http://piwigo.org/svn/trunk@4182 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1220 : fix XSS vulnerability.nikrou2009-10-281-6/+17
| | | | | | | | | | filter on since parameter (is_numeric) use only htmlspecialchars to filter vars to display revert rev:3600 add left join on users table Todo : use only left join on users table when a search by author is made git-svn-id: http://piwigo.org/svn/trunk@4139 68402e56-0260-453c-a942-63ccdbb3a9ee
* [language_switch] vdigital2009-10-272-0/+0
| | | | | | | New: de_AT (Austrian) flag New: ir_IR (Persian) flag git-svn-id: http://piwigo.org/svn/trunk@4130 68402e56-0260-453c-a942-63ccdbb3a9ee
* avoid php warning in template when debug template option is activatedrvelices2009-10-201-9/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@4068 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove jquery.dimensions as they are already included in the standard jQuery ↵rvelices2009-10-202-120/+0
| | | | | | distribution git-svn-id: http://piwigo.org/svn/trunk@4067 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] Merge 4046 new: de.piwigo.org/forum / es.piwigo.org/forum are ↵ddtddt2009-10-154-2/+14
| | | | | | online, PHPWG_DOMAIN updated inside Piwigo. git-svn-id: http://piwigo.org/svn/trunk@4047 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4033 from branch 2.0 to trunkpatdenice2009-10-141-0/+21
| | | | | | Plugins upgrade now delete obsolete files from obsolete.list. git-svn-id: http://piwigo.org/svn/trunk@4034 68402e56-0260-453c-a942-63ccdbb3a9ee
* [Piwigo] Bug 1189 fixed :Eric2009-10-111-0/+2
| | | | | | Adding {$NAVBAR} at top of users list. git-svn-id: http://piwigo.org/svn/trunk@4024 68402e56-0260-453c-a942-63ccdbb3a9ee