mistic100
8e0f55043f
add DerivativeImage::get_one method working like DerivateImage::get_all but returning only one size
...
git-svn-id: http://piwigo.org/svn/trunk@25504 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-17 10:10:05 +00:00
plegall
b9233b8343
feature 2976: ability to set group association with pwg.users.setInfo
...
git-svn-id: http://piwigo.org/svn/trunk@25474 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 12:58:21 +00:00
mistic100
892fdb202e
feature 2976: improve lisiblity of pwg.users.getList options on APi explore + optimizations (remove in_array())
...
git-svn-id: http://piwigo.org/svn/trunk@25472 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 11:08:22 +00:00
rvelices
53ac8a878e
bug 2963: Ability to create css/js smarty templates - fixes again
...
git-svn-id: http://piwigo.org/svn/trunk@25471 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-12 21:43:50 +00:00
rvelices
18d9bff158
bug 2963: Ability to create css/js smarty templates - fixes
...
git-svn-id: http://piwigo.org/svn/trunk@25464 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-12 20:30:35 +00:00
rvelices
35337b01ae
bug 2963: Ability to create css/js smarty templates with caching
...
so far can add template=true to combine_css function
git-svn-id: http://piwigo.org/svn/trunk@25462 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-12 06:33:30 +00:00
plegall
0cb2c621de
feature 2976: makes sure we output registration_date if registration_date_* is requested (same for last_visit_*)
...
git-svn-id: http://piwigo.org/svn/trunk@25461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 22:11:11 +00:00
plegall
c10683b35b
feature 2976: add output fields for pwg.users.getList. registration_date,
...
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-11 17:30:39 +00:00
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