aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Feature 1459 : add support for SQLite3 via PDOnikrou2010-02-261-0/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@4967 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 :nikrou2010-02-151-3/+3
| | | | | | | update pwg_db_insert_id() function. PosgreSQL needs table name to retrieve last insert auto increment id. git-svn-id: http://piwigo.org/svn/trunk@4892 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 511 : fix problems with calendar functionsnikrou2010-02-032-3/+3
| | | | | | add pwg_db_concat() function git-svn-id: http://piwigo.org/svn/trunk@4833 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4730 from branch 2.0 to trunkplegall2010-01-231-0/+14
| | | | | | | | | bug 1396: when a photo was deleted, the code to avoid orphans as category representative was 1) wrong (because a photo doesn't have to belong to a category to represent it) 2) at the wrong place. git-svn-id: http://piwigo.org/svn/trunk@4731 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4682 from branch 2.0 to trunkplegall2010-01-151-0/+8
| | | | | | | | | feature 620: if no exif/iptc found in the "web resized" photo, then we search into the high definition picture if available. Thanks to Jochen Roth (Polly) for the patch. git-svn-id: http://piwigo.org/svn/trunk@4683 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4680 from branch 2.0 to trunkplegall2010-01-151-0/+3
| | | | | | | | bug 1380: now correctly synchronizes metadata on a single photo, needs a nicer fix on trunk. git-svn-id: http://piwigo.org/svn/trunk@4681 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4617 from branch 2.0 to trunkplegall2010-01-041-0/+1
| | | | | | | feature 1364: subscribe to pl.piwigo.org/announcement when current language is pl_PL git-svn-id: http://piwigo.org/svn/trunk@4618 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1328 : improve check functionnikrou2009-12-141-4/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@4493 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1328 add function to check tokennikrou2009-12-141-0/+22
| | | | git-svn-id: http://piwigo.org/svn/trunk@4492 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 :nikrou2009-12-021-0/+98
| | | | | | | - 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-293-8/+13
| | | | | | | - 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-251-1/+1
| | | | | | | | | - 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 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou2009-11-212-2/+2
| | | | | | OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : improve sqlnikrou2009-11-212-3/+3
| | | | | | 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 resolvednikrou2009-11-207-303/+35
| | | | | | | | 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
* Escape all login and username characters in databaseEric2009-11-183-8/+8
| | | | | | | | 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-161-1/+1
| | | | | | | 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
* Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou2009-11-155-28/+28
| | | | | | small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 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
* merge r4005 from branch 2.0 to trunkpatdenice2009-10-091-1/+1
| | | | | | | | bug 1187: set_magic_quote_runtime and get_magic_quote_gpc are depreciated and can produce notices from PHP 5.3. Add a @ to avoid this notices. This functions need to be removed with PHP 6 git-svn-id: http://piwigo.org/svn/trunk@4006 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3822 from branch 2.0 to trunkpatdenice2009-09-051-20/+5
| | | | | | Update pclzip to 2.8.1 (PHP 5.3 compatibility) git-svn-id: http://piwigo.org/svn/trunk@3823 68402e56-0260-453c-a942-63ccdbb3a9ee
* Allow to add description.txt file in language directory for plugin description.patdenice2009-08-011-1/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@3716 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3656 from branch 2.0 to trunkplegall2009-07-211-1/+1
| | | | | | | feature 953: avoid fatal error when delete a photo (added with pwg.images.add API) and the file doesn't not exist on the filesystem. git-svn-id: http://piwigo.org/svn/trunk@3657 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3620 from branch 2.0 to trunkplegall2009-07-171-2/+10
| | | | | | | feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigo announcement newsletter. git-svn-id: http://piwigo.org/svn/trunk@3621 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3581 from branch 2.0 to trunkpatdenice2009-07-151-108/+411
| | | | | | | Update pclzip library to 2.8 git-svn-id: http://piwigo.org/svn/trunk@3582 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3401 from branch 2.0 to trunkplegall2009-06-081-2/+2
| | | | | | | feature 1020: simplify the URL to subscribe to Piwigo Announcements Newsletter. git-svn-id: http://piwigo.org/svn/trunk@3402 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3381 from branch 2.0 to trunkplegall2009-05-311-0/+9
| | | | | | | | feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from Piwigo itself. Admins can perform this action at the end of installation or on administration panel index. git-svn-id: http://piwigo.org/svn/trunk@3382 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000974: Adding a link to the gallery in the notification of ↵rub2009-04-211-1/+9
| | | | | | inscription git-svn-id: http://piwigo.org/svn/trunk@3243 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature_948_accordion feature 948 : fix problem with incorrect submenu open ↵nikrou2009-03-191-0/+2
| | | | | | in admin use a new variable (U_ACTIVE_MENU) and use default position defined in selected_admin_menu if not exists git-svn-id: http://piwigo.org/svn/trunk@3216 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update version in plugins table during plugin activation.patdenice2009-03-161-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@3205 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3196 from branch 2.0 to trunkplegall2009-03-131-12/+5
| | | | | | | | | bug 926 fixed: change links to piwigo.org so that they go to existing URLs. new: if the current language is french, the links go to fr.piwigo.org instead. git-svn-id: http://piwigo.org/svn/trunk@3197 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix html warnings. unclosed monotagsnikrou2009-03-091-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
* Last (I hope) paranoic optims ...rvelices2009-02-141-3/+58
| | | | | | | | | - move get_uysername and get_groupname from public to admin/functions.inc.php - optim in index.php - tags.tpl does not need smarty modifier included - move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page) git-svn-id: http://piwigo.org/svn/trunk@3145 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Show number of downloads in plugins list.patdenice2009-02-131-0/+10
| | | | | | | - Allow to sort plugins by number of downloads. - Fix plugin revision URL (no more revision_view in PEM). git-svn-id: http://piwigo.org/svn/trunk@3143 68402e56-0260-453c-a942-63ccdbb3a9ee
* - moved check upgrade feed code to admin/include/functions_upgrade.phprvelices2009-02-131-1/+49
| | | | | | | - refactored some code (shorter and somehow faster - but nothing revolutionary) - decrease lost space in permalinks.tpl and hard coded column width (was illisible) git-svn-id: http://piwigo.org/svn/trunk@3136 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bad $lang.rub2009-01-131-2/+2
| | | | | | Remove not necessary information messages on upgrade. git-svn-id: http://piwigo.org/svn/trunk@3072 68402e56-0260-453c-a942-63ccdbb3a9ee
* Send user language when retrieving datas from PEM api.patdenice2009-01-131-0/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@3070 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-0413-13/+13
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add home and identification buttons after installation.patdenice2008-11-231-1/+17
| | | | | | | | - Use fetchRemote function for remote site actions. - Corrections in fetchRemote fnction. - Move PLUGIN_PICTURE_BEFORE in picture.tpl. git-svn-id: http://piwigo.org/svn/trunk@2902 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Bug fixed: username or password with accented character are now accepted ↵patdenice2008-11-222-12/+21
| | | | | | | | | for upgrade. - Simplify query in pwg_session_write function. - Retrieve data with cURL method in fetchRemote function now work with forwarded URL. git-svn-id: http://piwigo.org/svn/trunk@2900 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add argument at trigger_action in invalidate_user_cache function rub2008-11-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2892 68402e56-0260-453c-a942-63ccdbb3a9ee
* Delete caches and optimize tables on upgraderub2008-11-191-4/+16
| | | | git-svn-id: http://piwigo.org/svn/trunk@2890 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Replace some mysql_query by pwg_query function.patdenice2008-11-191-3/+3
| | | | | | | | | - Add home button after upgrade.php. - Add utf8 charset for access denied message. - Replace some #content by .content in css files. - Fix menubar blocks borders with IE. git-svn-id: http://piwigo.org/svn/trunk@2884 68402e56-0260-453c-a942-63ccdbb3a9ee
* Delete cache data when category is deleted.rub2008-11-171-1/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@2882 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add fetchRemote function which allow to retrieve datas over HTTP protocol ↵patdenice2008-11-154-7/+117
| | | | | | | | | | | using cURL method, file_get_contents function or fsockopen method. This allow to retrieve datas or files even if allow_url_fopen is deactivated. - Use fetchRemote function in plugins manager and in latest version checking. - Add german translations for upgrade.lang.php. - Remove empty line at the end of pclzip.lib.php. - Change display of deactivated plugins after upgrade. git-svn-id: http://piwigo.org/svn/trunk@2880 68402e56-0260-453c-a942-63ccdbb3a9ee
* - improve 1.3.1 upgrade (automatic write in mysql.inc.php).patdenice2008-11-071-3/+8
| | | | | | | - translate 1.3.1 upgrade informations messages. - security fix in upgrade login. git-svn-id: http://piwigo.org/svn/trunk@2838 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Webmaster or administrator can login to run upgrade.patdenice2008-11-062-5038/+2771
| | | | | | | | | - Inserting upgrade line in mysql.inc.php still work. - Convert espagnol upgrade file to utf8. - Minor changes in upgrade processus. - Remove all comments in pclzip.lib.php. git-svn-id: http://piwigo.org/svn/trunk@2836 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add roma theme to upgrade page.patdenice2008-11-031-5/+2
| | | | | | - Upgrade translation. git-svn-id: http://piwigo.org/svn/trunk@2819 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bugs correction in upgrade_1.7.0.php.patdenice2008-11-011-0/+46
| | | | | | - only non-standard plugins are deactivated during upgrade. git-svn-id: http://piwigo.org/svn/trunk@2815 68402e56-0260-453c-a942-63ccdbb3a9ee