aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fixes #290, avoid error on MySQL insert with ipv6plegall2016-02-161-1/+12
|
* shorten some code (not really important)modus752016-01-161-9/+2
|
* happy new year 2016, all headers updatedplegall2016-01-141-1/+1
|
* Merge branch 'feature/293-trigger-upload'plegall2016-01-141-0/+26
|\
| * feature #293 trigger to generate pwg_representativeplegall2015-12-151-0/+26
| | | | | | | | | | * new function upload_file_pdf and upload_file_tiff * code to handle videos removed for now (discussion with @xbgmsharp)
* | feature #392, authentication keys, history logplegall2016-01-041-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.
* | feature #379 multiple format, step 2: download formatsplegall2015-12-071-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
* | feature #379 multiple format, step 1: add formatsplegall2015-12-031-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
* Update functions.inc.phpIglou.eu2015-10-291-2/+2
| | | Add //TRANSLIT to iconv for activate transliteration.
* feature 3221 Add Logger classmistic1002015-04-241-2/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@31102 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 3186: improved security on search.phpplegall2015-01-081-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@30864 68402e56-0260-453c-a942-63ccdbb3a9ee
* * feature 3142: upgrade script to Piwigo 2.7plegall2014-09-201-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
* feature:2807 better fix for svn:28995mistic1002014-07-081-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@29008 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2807: nicer display of "from to" dates (required changes in ↵mistic1002014-07-071-11/+62
| | | | | | "format_date" function) git-svn-id: http://piwigo.org/svn/trunk@28981 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove line commited by mistake in r28913plegall2014-07-021-2/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@28914 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 3046: Add option "force_fallback" to load_language + clean codemistic1002014-07-021-65/+58
| | | | git-svn-id: http://piwigo.org/svn/trunk@28913 68402e56-0260-453c-a942-63ccdbb3a9ee
* correctly stringify booleans in conf_update_parammistic1002014-06-131-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@28691 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 3038 : always apply serialize&addslashes if object/array is passed ↵mistic1002014-06-031-0/+4
| | | | | | and not parser is defined git-svn-id: http://piwigo.org/svn/trunk@28621 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 3010 : replace trigger_action/event by trigger_notify/changemistic1002014-06-021-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
* quick search - small fixes & improvementsrvelices2014-05-311-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
* feature 3038 : add $updateGlobal and $parser options to conf_update_parammistic1002014-05-291-21/+53
| | | | git-svn-id: http://piwigo.org/svn/trunk@28567 68402e56-0260-453c-a942-63ccdbb3a9ee
* added a persistent cache mechanism; used so far to cache image ids in flat ↵rvelices2014-05-111-0/+1
| | | | | | view mode git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee
* lang key with an empty value are not displayedflop252014-04-131-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@28171 68402e56-0260-453c-a942-63ccdbb3a9ee
* more query2arrayrvelices2014-02-131-28/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
* arrayfromquery optimizations: move double if from inside loop to outside + ↵rvelices2014-02-111-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
* remove PHP < 5.2 codemistic1002014-02-041-21/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@27158 68402e56-0260-453c-a942-63ccdbb3a9ee
* str2DateTime return false on empty inputmistic1002014-01-291-4/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@27043 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 3027: Fatal error on Configuration->Options->Photo sizemistic1002014-01-221-3/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@26902 68402e56-0260-453c-a942-63ccdbb3a9ee
* use custom safe_version_compare instead of version_compare to handle ↵mistic1002014-01-091-0/+32
| | | | | | versions numbers with letters git-svn-id: http://piwigo.org/svn/trunk@26591 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
* add query2array function, aiming to replace hash_from_query, ↵mistic1002013-12-201-0/+66
| | | | | | array_from_query and simple_hash_fromq_query git-svn-id: http://piwigo.org/svn/trunk@26048 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999: documentation of Template class, other classes of ↵mistic1002013-12-071-2/+0
| | | | | | template.class.php pending git-svn-id: http://piwigo.org/svn/trunk@25812 68402e56-0260-453c-a942-63ccdbb3a9ee
* move get_query_string_diff and url_is_remote to functions_url.inc.phpmistic1002013-11-211-37/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@25615 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999: Documentation of include/functions_mail|metadata|picturemistic1002013-11-181-1/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@25550 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999 : documentation of include/functions_calendar.inc.php and ↵mistic1002013-11-171-1/+1
| | | | | | Calendar classes git-svn-id: http://piwigo.org/svn/trunk@25507 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: add output fields for pwg.users.getList. registration_date,plegall2013-11-111-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
* move array_from_query to functions.inc.phpmistic1002013-11-101-0/+31
| | | | git-svn-id: http://piwigo.org/svn/trunk@25427 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999 : documentation of include/functions.inc.phpmistic1002013-11-101-151/+272
| | | | git-svn-id: http://piwigo.org/svn/trunk@25426 68402e56-0260-453c-a942-63ccdbb3a9ee
* delete replace_space function, modify get_cat_display_name_* functionsmistic1002013-11-101-47/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2995: New email templatemistic1002013-11-061-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
* feature 2651: fallback language, failed when the "child" file does not existsmistic1002013-11-011-1/+30
| | | | git-svn-id: http://piwigo.org/svn/trunk@25288 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2947 fix compatibility with PHP 5.2 and 5.3mistic1002013-10-241-22/+87
| | | | git-svn-id: http://piwigo.org/svn/trunk@25114 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: error func_get_args(): Can't be used as a function parameter ↵mistic1002013-10-241-1/+2
| | | | | | on PHP <= 5.2 git-svn-id: http://piwigo.org/svn/trunk@25113 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove all array_push (50% slower than []) + some changes missing for ↵mistic1002013-10-191-2/+4
| | | | | | feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: remove useless sprintf in the coremistic1002013-10-191-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: l10n() and {translate} with additional arguments mistic1002013-10-191-6/+13
| | | | | | TODO: apply in core git-svn-id: http://piwigo.org/svn/trunk@24988 68402e56-0260-453c-a942-63ccdbb3a9ee
* make get_query_string_diff compatible with arrays and use build-in functionsmistic1002013-10-101-16/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@24833 68402e56-0260-453c-a942-63ccdbb3a9ee
* add function conf_delete_parammistic1002013-09-051-0/+35
| | | | git-svn-id: http://piwigo.org/svn/trunk@24350 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2947 rewrite format_date() and time_since() with DateTime class + new ↵mistic1002013-08-011-79/+138
| | | | | | parameters git-svn-id: http://piwigo.org/svn/trunk@24099 68402e56-0260-453c-a942-63ccdbb3a9ee
* add mandatory option for check_input_parametermistic1002013-07-211-1/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@24009 68402e56-0260-453c-a942-63ccdbb3a9ee