aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-23fixes #452, update images.lastmodified when changing tag listplegall1-0/+119
2016-02-15feature #295, proxy support for fetchRemoteplegall1-0/+13
2016-02-12feature #383, dedicated function to delete sessionsplegall1-5/+1
2016-02-12bug #383, fix session deletion when user deletedplegall1-1/+1
2016-01-28fixes #349, API set ranks of all album photos at onceplegall1-1/+30
on pwg.images.setRank, ability to provide a list of image_id (and no rank). This way you can set the order of all photos of a given album, at once.
2016-01-16clean USER_AUTH_KEYS_TABLE when deleting usermodus751-0/+1
2016-01-14happy new year 2016, all headers updatedplegall1-1/+1
2015-12-03feature #379 multiple format, step 1: add formatsplegall1-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
2015-12-01fixes #377 use Ajax calls to refresh/delete album thumbnailplegall1-0/+19
2015-10-09fix #357 make orphans photos more obviousplegall1-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.
2014-10-16merge r30106 from trunk to branch 2.7plegall1-3/+1
bug 3162: because string(5) "35.10" == string(4) "35.1", we have to use === instead (or !==) git-svn-id: http://piwigo.org/svn/branches/2.7@30107 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-16bug 3162: because string(5) "35.10" == string(4) "35.1", we have to use === ↵plegall1-3/+1
instead (or !==) git-svn-id: http://piwigo.org/svn/trunk@30106 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-16merge back r30104 (bad commit log, wrong copy/paste)plegall1-1/+3
git-svn-id: http://piwigo.org/svn/trunk@30105 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-16bug if (584 == )plegall1-3/+1
git-svn-id: http://piwigo.org/svn/trunk@30104 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-17feature:732flop251-3/+7
unlock sub-albums git-svn-id: http://piwigo.org/svn/trunk@29229 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-21fix my previous commit typo mistakervelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@29068 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-21bug 3101: Allow multi language tags to be recognized from selectize or ↵rvelices1-8/+14
metadata sync git-svn-id: http://piwigo.org/svn/trunk@29066 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-17more query2array on admin sidervelices1-61/+49
git-svn-id: http://piwigo.org/svn/trunk@29052 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02feature 3010 : replace trigger_action/event by trigger_notify/changemistic1001-9/+9
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-30related to bug 3086 : test for curl_init and curl_exec in fetchRemotemistic1001-1/+2
git-svn-id: http://piwigo.org/svn/trunk@28572 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-24feature 3077 : improve cache invalidationmistic1001-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
2014-03-24merge r27925 from branch 2.6 to trunkplegall1-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
2014-01-26replace more preg_replace callbackmistic1001-5/+11
git-svn-id: http://piwigo.org/svn/trunk@26972 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-23feature 3031: add $conf['sync_exclude_folders'] parametermistic1001-7/+13
git-svn-id: http://piwigo.org/svn/trunk@26928 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-23merge r26921 from branch 2.6 to trunkplegall1-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
2014-01-22bug 2989: fix r26905mistic1001-0/+3
git-svn-id: http://piwigo.org/svn/trunk@26907 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-22Merged revision(s) 26904 from branches/2.6:mistic1001-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
2014-01-16feature 2999: documentation of admin/include/functions.phpmistic1001-187/+260
git-svn-id: http://piwigo.org/svn/trunk@26807 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-12render_tag_name trigger transmit full tag data as second parametermistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@26649 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05Update headers to 2014. Happy new year!!mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30mistakenly removed status check in previous commit + same thing for usersmistic1001-35/+17
git-svn-id: http://piwigo.org/svn/trunk@25244 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19replace some mass_updates/inserts by single_update/insertmistic1001-14/+5
git-svn-id: http://piwigo.org/svn/trunk@25019 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19remove all array_push (50% slower than []) + some changes missing for ↵mistic1001-50/+29
feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-18merge r24986 from branch 2.5 to trunkplegall1-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
2013-07-09bug:2855flop251-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
2013-07-07bug:2898 make some updates methods static + factorize code from plugins, ↵mistic1001-0/+54
themes & languages git-svn-id: http://piwigo.org/svn/trunk@23821 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-16bug:2855flop251-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
2013-03-24feature 2836: display the number of comments/tags in the menubar rvelices1-0/+16
git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-15merge r21566 from branch 2.5 to trunkplegall1-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
2013-02-28bug 2852 fixed: ability to use HTML markup in album description for ↵plegall1-1/+1
pwg.categories.add git-svn-id: http://piwigo.org/svn/trunk@21070 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-18allow to pass an array to get_tag_ids()mistic1001-1/+14
git-svn-id: http://piwigo.org/svn/trunk@20805 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-04bug 2825: add maintenance action to clean the database and avoid integrity ↵plegall1-0/+28
errors git-svn-id: http://piwigo.org/svn/trunk@20544 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall1-1/+1
expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13feature 2773: add pwg_db_close() methodmistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-12- remove unsed code; shorten existing code and improve readability ...rvelices1-40/+6
git-svn-id: http://piwigo.org/svn/trunk@18628 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-18little code refactoring over r17424plegall1-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
2012-09-05feature 2737: improve tag administration screen rvelices1-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
2012-09-03bug 2732: when new tags must be added, also look first for existing tags ↵rvelices1-58/+41
with different case git-svn-id: http://piwigo.org/svn/trunk@17724 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30merge r17668 from branch 2.4 to trunkplegall1-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
2012-08-06bug 2716: modifying a photo reset it's rankmistic1001-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