aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature/379-multiple-format'plegall2015-12-301-0/+35
|\
| * feature #379 multiple format, step 1: add formatsplegall2015-12-031-0/+35
| | | | | | | | | | | | * new table piwigo_image_format (each photo can have 0 to many formats) * only compatible with synchronization for now. Formats must be in sub-directory pwg_format * formats are visible on edition page only for now
* | fixes #377 use Ajax calls to refresh/delete album thumbnailplegall2015-12-011-0/+19
|/
* fix #357 make orphans photos more obviousplegall2015-10-091-0/+18
| | | | ... and easy to delete them all in one click. The orpans, if any, is shown as an entry in the "Photos" menu (link on Batch Manager). In the Batch Manager, new action "delete_orphans" next to prefilter.
* bug 3162: because string(5) "35.10" == string(4) "35.1", we have to use === ↵plegall2014-10-161-3/+1
| | | | | | instead (or !==) git-svn-id: http://piwigo.org/svn/trunk@30106 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge back r30104 (bad commit log, wrong copy/paste)plegall2014-10-161-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@30105 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug if (584 == )plegall2014-10-161-3/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@30104 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:732flop252014-08-171-3/+7
| | | | | | unlock sub-albums git-svn-id: http://piwigo.org/svn/trunk@29229 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix my previous commit typo mistakervelices2014-07-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@29068 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 3101: Allow multi language tags to be recognized from selectize or ↵rvelices2014-07-211-8/+14
| | | | | | metadata sync git-svn-id: http://piwigo.org/svn/trunk@29066 68402e56-0260-453c-a942-63ccdbb3a9ee
* more query2array on admin sidervelices2014-07-171-61/+49
| | | | git-svn-id: http://piwigo.org/svn/trunk@29052 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 3010 : replace trigger_action/event by trigger_notify/changemistic1002014-06-021-9/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
* related to bug 3086 : test for curl_init and curl_exec in fetchRemotemistic1002014-05-301-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@28572 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 3077 : improve cache invalidationmistic1002014-05-241-8/+53
| | | | | | | - add "lastmodified" automatic field for categories, groups, users, tags and images tables - provide a "server key" to the client cache manager git-svn-id: http://piwigo.org/svn/trunk@28532 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r27925 from branch 2.6 to trunkplegall2014-03-241-38/+152
| | | | | | | | | | bug 3057: avoid warnings and SQL crash when encountering inconsistent permissions + rewrite permissions consistancy check when setting albums to private status. git-svn-id: http://piwigo.org/svn/trunk@27926 68402e56-0260-453c-a942-63ccdbb3a9ee
* replace more preg_replace callbackmistic1002014-01-261-5/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@26972 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 3031: add $conf['sync_exclude_folders'] parametermistic1002014-01-231-7/+13
| | | | git-svn-id: http://piwigo.org/svn/trunk@26928 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r26921 from branch 2.6 to trunkplegall2014-01-231-2/+3
| | | | | | | bug 3032 fixed: it seems that the SQL update in invalidate_user_cache_nb_tags corrupts the pwg_db_insert_id (very unexpected) git-svn-id: http://piwigo.org/svn/trunk@26922 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2989: fix r26905mistic1002014-01-221-0/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@26907 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merged revision(s) 26904 from branches/2.6:mistic1002014-01-221-3/+7
| | | | | | bug 2989: Deprecated: preg_replace(): The /e modifier is deprecated git-svn-id: http://piwigo.org/svn/trunk@26905 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999: documentation of admin/include/functions.phpmistic1002014-01-161-187/+260
| | | | git-svn-id: http://piwigo.org/svn/trunk@26807 68402e56-0260-453c-a942-63ccdbb3a9ee
* render_tag_name trigger transmit full tag data as second parametermistic1002014-01-121-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@26649 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update headers to 2014. Happy new year!!mistic1002014-01-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
* mistakenly removed status check in previous commit + same thing for usersmistic1002013-10-301-35/+17
| | | | git-svn-id: http://piwigo.org/svn/trunk@25244 68402e56-0260-453c-a942-63ccdbb3a9ee
* replace some mass_updates/inserts by single_update/insertmistic1002013-10-191-14/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@25019 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove all array_push (50% slower than []) + some changes missing for ↵mistic1002013-10-191-50/+29
| | | | | | feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r24986 from branch 2.5 to trunkplegall2013-10-181-23/+16
| | | | | | | | | | | | bug 2977 fixed: when moving an album, whatever the previous status private/public we must remove irrelevant permissions (a public album can have hidden permission, ie list of groups/users permitted). I've also found a bug in the algorithm that selects users/groups to delete (reverse parameters in array_diff). git-svn-id: http://piwigo.org/svn/trunk@24987 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2855flop252013-07-091-1/+1
| | | | | | bug corrected (if that was a virtual album created without parent) git-svn-id: http://piwigo.org/svn/trunk@23886 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2898 make some updates methods static + factorize code from plugins, ↵mistic1002013-07-071-0/+54
| | | | | | themes & languages git-svn-id: http://piwigo.org/svn/trunk@23821 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2855flop252013-06-161-1/+30
| | | | | | | new otpion "inherit" for create_virtual_category(), and $conf['inheritance_by_default'] = false; ToDo: album registred from Ftp git-svn-id: http://piwigo.org/svn/trunk@23272 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2836: display the number of comments/tags in the menubar rvelices2013-03-241-0/+16
| | | | git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r21566 from branch 2.5 to trunkplegall2013-03-151-0/+26
| | | | | | | | bug 2867 fixed: move get_dirs function to a function file, so that it can be used in plugin LocalFiles Editor (see r18629) git-svn-id: http://piwigo.org/svn/trunk@21567 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2852 fixed: ability to use HTML markup in album description for ↵plegall2013-02-281-1/+1
| | | | | | pwg.categories.add git-svn-id: http://piwigo.org/svn/trunk@21070 68402e56-0260-453c-a942-63ccdbb3a9ee
* allow to pass an array to get_tag_ids()mistic1002013-02-181-1/+14
| | | | git-svn-id: http://piwigo.org/svn/trunk@20805 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2825: add maintenance action to clean the database and avoid integrity ↵plegall2013-02-041-0/+28
| | | | | | errors git-svn-id: http://piwigo.org/svn/trunk@20544 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall2013-01-011-1/+1
| | | | | | expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2773: add pwg_db_close() methodmistic1002012-10-131-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove unsed code; shorten existing code and improve readability ...rvelices2012-10-121-40/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@18628 68402e56-0260-453c-a942-63ccdbb3a9ee
* little code refactoring over r17424plegall2012-09-181-1/+10
| | | | | | | bug fixed on Edit Photo page when associating with no album. git-svn-id: http://piwigo.org/svn/trunk@17980 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2737: improve tag administration screen rvelices2012-09-051-30/+41
| | | | | | | | | | | show for every tag - the number of photos - link to public index page - link to batch manager edit add an event for extended description multi language strings (used for autocompletion and shown in the tag admin screen) instead of hard coded in the core [lang=.. git-svn-id: http://piwigo.org/svn/trunk@17765 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2732: when new tags must be added, also look first for existing tags ↵rvelices2012-09-031-58/+41
| | | | | | with different case git-svn-id: http://piwigo.org/svn/trunk@17724 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r17668 from branch 2.4 to trunkplegall2012-08-301-36/+53
| | | | | | | | | bug 2733 fixed: when creating a sub-album in a private album with pwg.categories.add, it is automatically private too. git-svn-id: http://piwigo.org/svn/trunk@17669 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2716: modifying a photo reset it's rankmistic1002012-08-061-21/+45
| | | | | | | modify associate_images_to_categories() and move_images_to_categories() to preserve ranks please test before 2.4.4 ! :-D git-svn-id: http://piwigo.org/svn/trunk@17424 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge-r17295 from branch 2.4 feature 2708: in admin, display allowed custom ↵rvelices2012-08-011-11/+24
| | | | | | derivatives and ability to delete them git-svn-id: http://piwigo.org/svn/trunk@17302 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove debug code from r17002mistic1002012-07-301-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@17210 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r17001 from branch 2.4 to trunkplegall2012-07-251-0/+25
| | | | | | | | | bug 2627 fixed: photos added with the web form or pwg.images.addSimple now have a correct image_category.rank. git-svn-id: http://piwigo.org/svn/trunk@17002 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2668 - fix php warnings on glob functionrvelices2012-06-291-2/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@16167 68402e56-0260-453c-a942-63ccdbb3a9ee
* multisize: remove 2 php warnings, delete custom derivatives (batch man + ↵rvelices2012-03-201-1/+2
| | | | | | maintenance), watermark applied to custom derivatives git-svn-id: http://piwigo.org/svn/trunk@13651 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2564: redesign on photo administration screen.plegall2012-02-101-0/+32
| | | | | | | | | | | | * one screen with several tabs (for now: properties + coi) * double select boxes for album associations and representation have been converted to simple multiple select boxes with jQuery Chosen * more details about the photo in an introduction text git-svn-id: http://piwigo.org/svn/trunk@13077 68402e56-0260-453c-a942-63ccdbb3a9ee
* upgrade jquery to 1.7.1rvelices2012-02-071-15/+23
| | | | | | | mouseout on index drop down bozes improved multisize center of interest git-svn-id: http://piwigo.org/svn/trunk@13052 68402e56-0260-453c-a942-63ccdbb3a9ee