aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-16fixes #290, avoid error on MySQL insert with ipv6plegall1-1/+12
2016-01-16shorten some code (not really important)modus751-9/+2
2016-01-14happy new year 2016, all headers updatedplegall1-1/+1
2016-01-04feature #392, authentication keys, history logplegall1-0/+2
When a user successfully performs an authentication with an auth_key, Piwigo registers it in the history table. For now, it is not shown/searchable in the history screen, but we can add it in the future and we can provide a plugin with specific details about authentication keys usage.
2015-12-15feature #293 trigger to generate pwg_representativeplegall1-0/+26
* new function upload_file_pdf and upload_file_tiff * code to handle videos removed for now (discussion with @xbgmsharp)
2015-12-07feature #379 multiple format, step 2: download formatsplegall1-1/+3
* if formats are available, replace the download link on picture.php by a switchBox with all formats * register format in the history table for future statistics
2015-12-03feature #379 multiple format, step 1: add formatsplegall1-0/+15
* 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-10-29Update functions.inc.phpIglou.eu1-2/+2
Add //TRANSLIT to iconv for activate transliteration.
2015-04-24feature 3221 Add Logger classmistic1001-2/+0
git-svn-id: http://piwigo.org/svn/trunk@31102 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-08merge r30864 from trunk to branch 2.7plegall1-2/+2
bug 3186: improved security on search.php git-svn-id: http://piwigo.org/svn/branches/2.7@30867 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-08bug 3186: improved security on search.phpplegall1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@30864 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-20* feature 3142: upgrade script to Piwigo 2.7plegall1-1/+1
* link to Tour 2_7_0 at the end of upgrade * activate plugin Take a Tour by default git-svn-id: http://piwigo.org/svn/trunk@29665 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-08feature:2807 better fix for svn:28995mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@29008 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07feature 2807: nicer display of "from to" dates (required changes in ↵mistic1001-11/+62
"format_date" function) git-svn-id: http://piwigo.org/svn/trunk@28981 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-02remove line commited by mistake in r28913plegall1-2/+0
git-svn-id: http://piwigo.org/svn/trunk@28914 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-02feature 3046: Add option "force_fallback" to load_language + clean codemistic1001-65/+58
git-svn-id: http://piwigo.org/svn/trunk@28913 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-13correctly stringify booleans in conf_update_parammistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@28691 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-03feature 3038 : always apply serialize&addslashes if object/array is passed ↵mistic1001-0/+4
and not parser is defined git-svn-id: http://piwigo.org/svn/trunk@28621 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02feature 3010 : replace trigger_action/event by trigger_notify/changemistic1001-5/+5
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-31quick search - small fixes & improvementsrvelices1-6/+5
available number of comments per user do not use visible_categories (only forbidden) git-svn-id: http://piwigo.org/svn/trunk@28579 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-29feature 3038 : add $updateGlobal and $parser options to conf_update_parammistic1001-21/+53
git-svn-id: http://piwigo.org/svn/trunk@28567 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-11added a persistent cache mechanism; used so far to cache image ids in flat ↵rvelices1-0/+1
view mode git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-13lang key with an empty value are not displayedflop251-1/+1
git-svn-id: http://piwigo.org/svn/trunk@28171 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-13more query2arrayrvelices1-28/+4
git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-11arrayfromquery optimizations: move double if from inside loop to outside + ↵rvelices1-98/+33
use directly mysqli calls to avoid function call overhead for every row retrieved from db git-svn-id: http://piwigo.org/svn/trunk@27336 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-04remove PHP < 5.2 codemistic1001-21/+2
git-svn-id: http://piwigo.org/svn/trunk@27158 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-29str2DateTime return false on empty inputmistic1001-4/+8
git-svn-id: http://piwigo.org/svn/trunk@27043 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-22bug 3027: Fatal error on Configuration->Options->Photo sizemistic1001-3/+2
git-svn-id: http://piwigo.org/svn/trunk@26902 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-09use custom safe_version_compare instead of version_compare to handle ↵mistic1001-0/+32
versions numbers with letters git-svn-id: http://piwigo.org/svn/trunk@26591 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-12-20add query2array function, aiming to replace hash_from_query, ↵mistic1001-0/+66
array_from_query and simple_hash_fromq_query git-svn-id: http://piwigo.org/svn/trunk@26048 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-07feature 2999: documentation of Template class, other classes of ↵mistic1001-2/+0
template.class.php pending git-svn-id: http://piwigo.org/svn/trunk@25812 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-21move get_query_string_diff and url_is_remote to functions_url.inc.phpmistic1001-37/+0
git-svn-id: http://piwigo.org/svn/trunk@25615 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18feature 2999: Documentation of include/functions_mail|metadata|picturemistic1001-1/+8
git-svn-id: http://piwigo.org/svn/trunk@25550 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-17feature 2999 : documentation of include/functions_calendar.inc.php and ↵mistic1001-1/+1
Calendar classes git-svn-id: http://piwigo.org/svn/trunk@25507 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11feature 2976: add output fields for pwg.users.getList. registration_date,plegall1-2/+2
registration_date_string, registration_date_since, last_visit, last_visit_string, last_visit_since. bug fixed: format_date(), removing leading zero on day number git-svn-id: http://piwigo.org/svn/trunk@25459 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10move array_from_query to functions.inc.phpmistic1001-0/+31
git-svn-id: http://piwigo.org/svn/trunk@25427 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10feature 2999 : documentation of include/functions.inc.phpmistic1001-151/+272
git-svn-id: http://piwigo.org/svn/trunk@25426 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10delete replace_space function, modify get_cat_display_name_* functionsmistic1001-47/+0
git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06feature 2995: New email templatemistic1001-1/+1
restore get_l10n_args removed at r25357 apply changes to NBM git-svn-id: http://piwigo.org/svn/trunk@25360 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01feature 2651: fallback language, failed when the "child" file does not existsmistic1001-1/+30
git-svn-id: http://piwigo.org/svn/trunk@25288 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24bug:2947 fix compatibility with PHP 5.2 and 5.3mistic1001-22/+87
git-svn-id: http://piwigo.org/svn/trunk@25114 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24feature 2978: error func_get_args(): Can't be used as a function parameter ↵mistic1001-1/+2
on PHP <= 5.2 git-svn-id: http://piwigo.org/svn/trunk@25113 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19remove all array_push (50% slower than []) + some changes missing for ↵mistic1001-2/+4
feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19feature 2978: remove useless sprintf in the coremistic1001-5/+5
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19feature 2978: l10n() and {translate} with additional arguments mistic1001-6/+13
TODO: apply in core git-svn-id: http://piwigo.org/svn/trunk@24988 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10make get_query_string_diff compatible with arrays and use build-in functionsmistic1001-16/+9
git-svn-id: http://piwigo.org/svn/trunk@24833 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-09-05add function conf_delete_parammistic1001-0/+35
git-svn-id: http://piwigo.org/svn/trunk@24350 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-08-01bug:2947 rewrite format_date() and time_since() with DateTime class + new ↵mistic1001-79/+138
parameters git-svn-id: http://piwigo.org/svn/trunk@24099 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-21add mandatory option for check_input_parametermistic1001-1/+6
git-svn-id: http://piwigo.org/svn/trunk@24009 68402e56-0260-453c-a942-63ccdbb3a9ee