Commit Graph

1580 Commits

Author SHA1 Message Date
mistic100 e01b40c529 move array_from_query to functions.inc.php
git-svn-id: http://piwigo.org/svn/trunk@25427 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 17:03:25 +00:00
mistic100 7d7a1ce4e4 feature 2999 : documentation of include/functions.inc.php
git-svn-id: http://piwigo.org/svn/trunk@25426 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 17:02:30 +00:00
mistic100 e6722ac1b4 delete replace_space function, modify get_cat_display_name_* functions
git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 16:18:55 +00:00
mistic100 76fc9c27dc feature 2998: Maintenance class for plugin
git-svn-id: http://piwigo.org/svn/trunk@25406 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-08 23:29:38 +00:00
mistic100 07b8dd5770 Improve display on ws.htm
git-svn-id: http://piwigo.org/svn/trunk@25394 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-08 12:16:14 +00:00
rvelices 0590f7e435 mail func (use smarty3 syntax, better debugging with error reason)
git-svn-id: http://piwigo.org/svn/trunk@25384 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07 21:04:40 +00:00
mistic100 ae974849bc feature 2995 and feature 2997
change organization of configuration page
add theme parameter on GUI
change links color of dark mail theme (pink)
remove main themes css files

git-svn-id: http://piwigo.org/svn/trunk@25372 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07 15:30:59 +00:00
mistic100 87f100e395 feature 2995: New email template
add function get_clean_recipients_list() allowing big flexibility for recipients lists

git-svn-id: http://piwigo.org/svn/trunk@25361 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 19:12:18 +00:00
mistic100 fc3b787b70 feature 2995: New email template
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-06 17:57:53 +00:00
mistic100 68636067e9 feature feature 2995: New email template
improve mail cache system
fix font-size in Thunderbird


git-svn-id: http://piwigo.org/svn/trunk@25358 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 16:21:31 +00:00
mistic100 7a5e31e401 feature 2995: New email template
rewrite pwg_mail_group() and pwg_mail_notification_admins()
new function pwg_mail_admins()
add complete template management in pwg_mail()
TODO : font-size problem in Thunderbird

git-svn-id: http://piwigo.org/svn/trunk@25357 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 15:43:41 +00:00
mistic100 7a26038e66 feature 2965: apply new template on pwg_mail()
TODO : review other mail functions, configuration GUI

git-svn-id: http://piwigo.org/svn/trunk@25344 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-05 19:23:29 +00:00
plegall d256c2d004 in case of external auth, database admin has to reset piwigo_images.added_by
git-svn-id: http://piwigo.org/svn/trunk@25338 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-05 09:08:03 +00:00
mistic100 af040415e2 feature 2651: fallback language, failed when the "child" file does not exists
git-svn-id: http://piwigo.org/svn/trunk@25288 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 15:34:30 +00:00
plegall c6363d8670 next version is 2.6.0beta2
git-svn-id: http://piwigo.org/svn/trunk@25283 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 12:46:00 +00:00
mistic100 2eae3907a7 splits ws_functions.inc.php in 8 files + comments + code cleaning
git-svn-id: http://piwigo.org/svn/trunk@25281 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 11:03:10 +00:00
plegall 2a75bbb9e5 syntax error fixed
git-svn-id: http://piwigo.org/svn/trunk@25276 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 09:33:56 +00:00
mistic100 180e1a185c feature 2976: add three methods for permissions management
git-svn-id: http://piwigo.org/svn/trunk@25245 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 20:29:48 +00:00
plegall df6718f3f8 feature 1668, user manager redesign: ability to add a new user (call to pwg.users.add through AJAX)
Move the "send connection settings" code to function register_user (avoid code duplication).


git-svn-id: http://piwigo.org/svn/trunk@25237 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 12:54:46 +00:00
rvelices e0518947f3 private method becomes public (use in plugin)
git-svn-id: http://piwigo.org/svn/trunk@25231 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 06:34:21 +00:00
mistic100 fc5c5d4b7c add two extra param to render_element_description trigger: main_page_element_description and picture_page_element_description
git-svn-id: http://piwigo.org/svn/trunk@25202 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-29 09:31:06 +00:00
mistic100 1996dadfe7 feature 2976: add 'display' parameter for pwg.users.getList
git-svn-id: http://piwigo.org/svn/trunk@25196 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28 17:53:36 +00:00
mistic100 492a65418a feature 2976: new options for pwg.users.setInfo + user_id can be an array
git-svn-id: http://piwigo.org/svn/trunk@25195 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28 17:20:34 +00:00
mistic100 4445af1217 feature 2976: can change user status and level
fix saving problem of groups.is_default value
use WS_PARAM_OPTIONAL when possible (TODO: use for old methods)

git-svn-id: http://piwigo.org/svn/trunk@25118 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 16:21:24 +00:00
mistic100 757fe9a821 feature 2976: API methods for users and groups management
TODO : methods to manage albums permissions

git-svn-id: http://piwigo.org/svn/trunk@25117 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 13:38:12 +00:00
mistic100 2d2a2e2813 bug 2988: register_user() must returns new user id
git-svn-id: http://piwigo.org/svn/trunk@25116 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 13:01:25 +00:00
mistic100 d6211432ec two new options for API methods : 'admin_only' and 'post_only'
git-svn-id: http://piwigo.org/svn/trunk@25115 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 10:01:35 +00:00
mistic100 e7fafb73a1 bug:2947 fix compatibility with PHP 5.2 and 5.3
git-svn-id: http://piwigo.org/svn/trunk@25114 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 09:07:17 +00:00
mistic100 fcf12b0b28 feature 2978: error func_get_args(): Can't be used as a function parameter on PHP <= 5.2
git-svn-id: http://piwigo.org/svn/trunk@25113 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 08:42:36 +00:00
mistic100 24b977d877 feature:2982 API: add high-level type check
introduces some constants fro bool, int, float, positive and notnull parameters
types are tested in PwgServer::invoke and no in each method
+ some optimizations + update methods descriptions

git-svn-id: http://piwigo.org/svn/trunk@25077 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-22 12:58:58 +00:00
mistic100 f11fcfcb0b fix parse error from r25018
git-svn-id: http://piwigo.org/svn/trunk@25026 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-20 14:29:27 +00:00
mistic100 3e9c75d2bb add "abstract" keyword for API base classes + PwgRestRequestHandler inherits from PwgRequestHandler
git-svn-id: http://piwigo.org/svn/trunk@25025 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-20 09:37:45 +00:00
mistic100 4926fced5e replace some mass_updates/inserts by single_update/insert
git-svn-id: http://piwigo.org/svn/trunk@25019 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 18:17:10 +00:00
mistic100 ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
mistic100 2f08283864 feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +00:00
mistic100 6313ae831d feature 2978: l10n() and {translate} with additional arguments
TODO: apply in core

git-svn-id: http://piwigo.org/svn/trunk@24988 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 09:21:01 +00:00
plegall a397debf02 merge r24967 from branch 2.5 to trunk
bug 2973 fixed: automatically use encoding windows-1252 instead of iso-8859-1
(unless we find utf-8 signs) on IPTC before converting to utf-8



git-svn-id: http://piwigo.org/svn/trunk@24968 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-17 20:15:51 +00:00
rvelices 5abcfccff0 removed unused css rules, password recover form has a fieldset as all other forms, no exit if mail send fails
git-svn-id: http://piwigo.org/svn/trunk@24966 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-17 19:38:06 +00:00
plegall 6380e4d475 feature 2965: move phpmailer files in a specific directory
git-svn-id: http://piwigo.org/svn/trunk@24953 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-17 13:25:12 +00:00
plegall ed40a38fca feature 2965: move phpmailer files in a specific directory
git-svn-id: http://piwigo.org/svn/trunk@24952 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-17 13:24:36 +00:00
plegall d1a0a85520 feature 2965: replace custom mail functions by PHPMailer (version 5.2.7).
Based on patch by msakik.

function pwg_send_mail no longer used (all is done in pwg_mail)

new param $conf['smtp_secure']

work still in progress, some obsolete code must be removed


git-svn-id: http://piwigo.org/svn/trunk@24951 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-17 13:05:30 +00:00
mistic100 efbc08e537 2816: {strip} removes too much things, fixed again for smarty 3
git-svn-id: http://piwigo.org/svn/trunk@24877 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-12 11:14:07 +00:00
mistic100 92d692a334 make get_query_string_diff compatible with arrays and use build-in functions
git-svn-id: http://piwigo.org/svn/trunk@24833 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10 10:53:59 +00:00
mistic100 d05cff9ccc add function conf_delete_param
git-svn-id: http://piwigo.org/svn/trunk@24350 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-09-05 10:41:12 +00:00
mistic100 12707a70f2 bug 2865: correct handle of sockets for mysqli
git-svn-id: http://piwigo.org/svn/trunk@24346 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-09-05 08:06:31 +00:00
mistic100 8dc9978c02 feature:2950 add function request_plugin_update()
git-svn-id: http://piwigo.org/svn/trunk@24160 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-08-14 21:30:28 +00:00
mistic100 e9e8d495ef bug:2947 rewrite format_date() and time_since() with DateTime class + new parameters
git-svn-id: http://piwigo.org/svn/trunk@24099 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-08-01 17:03:57 +00:00
mistic100 0b203a8701 add mandatory option for check_input_parameter
git-svn-id: http://piwigo.org/svn/trunk@24009 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-21 12:05:10 +00:00
plegall 80fc1c2f96 feature 2941: add trigger on get_webmaster_mail_address
git-svn-id: http://piwigo.org/svn/trunk@23887 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-09 16:41:59 +00:00
mistic100 b1316542e4 bug:2939 switch_lang_to() must reload plugins files
git-svn-id: http://piwigo.org/svn/trunk@23823 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-07 12:54:44 +00:00