Commit Graph

3976 Commits

Author SHA1 Message Date
Hadi Nategh
fd976ea1dc Backport commit r48051, committed by Nathan Gray. Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-14 07:41:24 +00:00
Ralf Becker
8d8b7b6d4a fix for somehow empty etemplate request content, giving an error when (or after) sending mail 2014-08-11 15:13:38 +00:00
Hadi Nategh
82fa583951 svn commit -m 'Backport commit 47925 committed by NathanGray. Handle num_rows set by application:
- Don\'t overwrite num_rows setting if the application sets it for some reason
- If num_rows is 0, don\'t get the initial rows server side
- If num_rows is 0 and the initial rows are missing, trigger an update right away to get them asyncronously.' etemplate
2014-08-04 09:39:44 +00:00
Hadi Nategh
59bc2e04a8 Backport commit 47924 committed by NathanGray. Trigger a clear event on the etemplate DOMContainer when the etemplate is cleared, so app code can listen for it. 2014-08-04 09:22:38 +00:00
Hadi Nategh
d2ba902fd1 Make sure we are getting the current appName 2014-07-30 15:50:05 +00:00
Klaus Leithoff
b0933c32b9 fix typo, that prevented the correct split of TreeNodeOpenItems 2014-07-29 12:51:56 +00:00
Hadi Nategh
67aa23f11b As we replace spaces with + for those account ids which contain spaces, therefore we need to do the same for getting request-id too. 2014-07-28 15:43:36 +00:00
Ralf Becker
787d5385ba * Addressbook/all apps: dates change every time they get stored (temporary fix as conditions causing that are not clear) 2014-07-25 10:17:38 +00:00
Ralf Becker
a4f21dbf00 quiten permanennt error_log in etemplate_widget::run, if widget is disabled, and therefore not running 2014-07-24 09:39:27 +00:00
Hadi Nategh
e7da57c6cb Backport commit 47853 by ng, Fix detached date label 2014-07-23 12:54:02 +00:00
Ralf Becker
6a7258e98e Don't clear children if tabs attribute not provided 2014-07-23 09:15:00 +00:00
Ralf Becker
0abcd5e68f Refine select option searching when the id is like parent[selectbox].
- only search parents when the ID has multiple parts
- fix case when selectbox was in the sel_options arrayMgr, but had no options, parent was used as select options
2014-07-23 09:14:24 +00:00
Ralf Becker
8eb1cb6ee6 Extend run() method for tabs:
- Apply additional tabs once in run() before applying the method, instead of in each method
- Apply tab readonlys to disable tabs, so they can be skipped
2014-07-23 09:06:51 +00:00
Nathan Gray
6dfd8c616b - Add special handling for ids like something[{}] to only send select options once
- Don't need to process or send options for account, it is done client side now.
2014-07-22 14:18:33 +00:00
Ralf Becker
7cf1d222ae log not compiling PHP expressions as warning, as they are most likely caused by wired content, eg. filenames containing a $ 2014-07-21 15:27:33 +00:00
Nathan Gray
59e76d78c5 Fix extra options not used in read only select-account 2014-07-21 14:51:47 +00:00
Ralf Becker
346215edc6 setting an (unlikely) custom delimiter, to allow to use "," in value, eg. folder-name, IF values are specified as array 2014-07-21 12:58:08 +00:00
Ralf Becker
994d10fcde * Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway 2014-07-18 10:03:18 +00:00
Ralf Becker
d810ea5132 removed not used setting of application via GET parameter 2014-07-18 08:49:04 +00:00
Ralf Becker
bd2a9c6f45 fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker 2014-07-17 17:26:25 +00:00
Hadi Nategh
344c2f2064 Correct "Save as Zip" icon in link widget contxt menu 2014-07-17 14:23:51 +00:00
Klaus Leithoff
5b6913baf3 use self::get_id on multiple selects and radio AND regard its output-format 2014-07-17 12:40:08 +00:00
Ralf Becker
a425342d82 change @import (r47700-r47709) 2014-07-17 10:47:02 +00:00
Nathan Gray
9c57ef865d If link has a target, use that.
Causes linked files to be opened in new browser tab.
2014-07-16 15:03:09 +00:00
Ralf Becker
5a6221ee63 fixed problems reported by LFRZ 2014-07-16 12:18:43 +00:00
Ralf Becker
3557cd4ac8 fixed PHP Strict Standards: Declaration of etemplate_widget_*::set_attrs() should be compatible with etemplate_widget::set_attrs() 2014-07-16 06:51:33 +00:00
Nathan Gray
051befced5 Don\t 2014-07-14 14:18:32 +00:00
Nathan Gray
4104f793b2 Call applyFilters() function instead of setting directly, which skipped change detection.
Fixes selection not cleared when applying a favorite.
2014-07-14 14:11:41 +00:00
Ralf Becker
d1d743e4b9 fixed broken regular expression for multiple comma-separated values (dash in character class has to be last character!) 2014-07-13 09:15:29 +00:00
Hadi Nategh
80f1abf3a2 Try to use xmlDoc.responseText as xmlDoc.response might not be available in IE 2014-07-11 16:50:38 +00:00
Hadi Nategh
1471def4b2 No need to use Microsoft.XMLDOM for IE anymore, since IE 7+ supports XMLHttpRequest object 2014-07-11 16:08:01 +00:00
Hadi Nategh
b95f53f073 Try to get attribute with getAttribute method, IE does not support element dataset 2014-07-11 15:53:58 +00:00
Hadi Nategh
9ae80ec4c1 Use getAttribute to get the data-group value to use it for toolbar sorting.\n\r -Fix group is undefined error opening mail in IE10 2014-07-11 12:57:47 +00:00
Ralf Becker
673ff54ebb Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br 2014-07-09 19:41:32 +00:00
Ralf Becker
2a6168a1c2 * Addressbook: fixed sorting of category tree
fixes not displayed cat-tree and validation error introduced with r47575
2014-07-09 11:18:47 +00:00
Nathan Gray
48016d16c0 Fix category tree sorting 2014-07-08 23:15:49 +00:00
Nathan Gray
a5b9173fc9 Handle multiple buttons in a single custom field 2014-07-08 20:13:51 +00:00
Nathan Gray
210ebb5706 - Add $$user/primary_group$$ common placeholder
- Add calendar_owner/<contact> sub-placeholders, including primary_group
2014-07-08 19:05:09 +00:00
Nathan Gray
b7a6e53163 * Added context menu to download all linked files in one zip file
As long as there are 2 or more files linked to the entry, you can download them all as a zip using the link list context menu.
2014-07-08 16:51:01 +00:00
Ralf Becker
2de7931700 * Admin: custom-fields were not loaded, account was edited from admin not addressbook 2014-07-08 15:05:20 +00:00
Ralf Becker
55722f4520 change default value for unset checkbox to be in line with old eTemplate, using "" that evaluates in PHP and javascript to false and not string "false" 2014-07-08 11:31:57 +00:00
Hadi Nategh
a1285433bd Add alert method to et2_dialog in order to create alert dialog with optional arguments message, title and dialog type. Additionally, remove an not used argument from et2_dialog.confirm method 2014-07-08 10:29:59 +00:00
Ralf Becker
3d79bae09a Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br 2014-07-08 09:57:42 +00:00
Nathan Gray
ed6013605e If a custom field is added to the column list, invalidate known columns to get all new data back, in case app did not send custom fields in the first request. Fixes needing to reload after displaying custom fields in nextmatch 2014-07-08 04:21:02 +00:00
Nathan Gray
7a1d2dc0cd Customfield lists need to create all widgets, so they can be enabled if the column is changed without re-doing the whole thing 2014-07-08 03:37:47 +00:00
Nathan Gray
760dc4b1d3 When update(true), also invalidate record change detection, to re-fetch all known rows 2014-07-08 03:35:55 +00:00
Nathan Gray
7eb528ee1f Instead of replacing a dropped image with an error image, we'll remove it, and pass the image to the first et2_file widget with a drop target. That's not ideal, but it should work for us in most cases until CKEditor fully supports drag and drop.
(Firefox only)
2014-07-07 20:48:35 +00:00
Nathan Gray
08c10a70aa Update Resumable from github, fixes some problems with setting et2_file value to a list of files in firefox. 2014-07-07 20:26:48 +00:00
Nathan Gray
1273955f9d Allow possibility to include select all flag in url in addition to selected IDs 2014-07-07 16:46:16 +00:00
Nathan Gray
15ddeb2a24 - Avoid duplicate ID warning by only returning the value from the matching radio button
- Fix radiobuttons where the options/values were set in the template instead of sel_options
2014-07-07 16:19:37 +00:00