Commit Graph

4718 Commits

Author SHA1 Message Date
Ralf Becker
6a407a683b only catch "Permission denied" errors and rethrow all other, because error in et2_ready or load handler will cause a double loading of UI otherwise 2015-10-27 13:39:01 +00:00
Ralf Becker
b18d373624 fixing wired IE security errors "Permission denied", seems reload of opener caused references to egw and template cache in opener.top.etemplate2.prototype.templates becomming inaccessible, catching this errors and falling back to a window-local object 2015-10-26 21:13:34 +00:00
Nathan Gray
22210227b7 Consume enter keypress in search to prevent browser from triggering clicks on link button. 2015-10-26 15:26:51 +00:00
Ralf Becker
122ca4ade9 fix Edge complaining about required closing tag of iframe 2015-10-26 15:16:59 +00:00
Ralf Becker
db774ece2b fix intro offer was not translated and now shown in idots template, also changed wording a little and added German translation 2015-10-24 11:07:22 +00:00
Hadi Nategh
9a4ba7b781 * Etemplate: Fix issue expose view gets opened for not supported mime-type (eg. image/pdf) 2015-10-20 16:22:08 +00:00
Nathan Gray
d3530c4899 Cachebuster for category CSS 2015-10-19 22:26:09 +00:00
Hadi Nategh
938c991124 WIP Egroupware tutorial:
- Create tutorial sidebox hooks automatically
- Fix some styling for popup
- Display intro video show confirmation dialog based on session (login/logout)
2015-10-19 15:00:42 +00:00
Ralf Becker
bf97b85056 eTemplate/app apps: if PHP session lifetime is bigger then default eTemplate request lifetime of 4h use session lifetime 2015-10-19 11:36:56 +00:00
Hadi Nategh
a54294ae2e Add some documentation regarding commit #53956 2015-10-16 07:40:05 +00:00
Nathan Gray
1673cc9aed Calendar tooltip style fixes for Firefox 2015-10-15 21:34:07 +00:00
Nathan Gray
8b42f6aeb8 Load all category CSS once when loading the application to avoid missing category colors. 2015-10-15 17:28:56 +00:00
Hadi Nategh
2348b7da46 Do not trigger a second resize on split widget as it may conflict with browser bottom download bar 2015-10-15 12:59:12 +00:00
Nathan Gray
c4f46d361e Fix unable to select multiple repeat days in calendar 2015-10-14 14:50:02 +00:00
Hadi Nategh
04a8cd4f60 WIP EGroupware Tutorial:
- Implement video navigation on popup
- Implement introduction video with user confirmation dialog based on session
- New layout for tutorials list both in sidebar and popup
- Separate tutorials styles to be able to set different styles base on templates
2015-10-14 14:17:09 +00:00
Nathan Gray
025550402a Fix expandable selectbox button missing icon 2015-10-13 20:43:49 +00:00
Hadi Nategh
67e2ad0c1a WIP EGroupware Tutorial:
- Style thumbnails inside the sidebox
2015-10-13 15:07:06 +00:00
Hadi Nategh
8980fdb1fc Add background attribute to the DOMWidget in order to be able to set background-image via etemplate 2015-10-13 15:03:41 +00:00
Ralf Becker
a64cfea299 using new hook location name "hook_location" 2015-10-13 07:11:52 +00:00
Ralf Becker
0285dd94f8 allow all valid timezones in server-side validation, to allow existing values and in future select arbitrary timezones via an ajax callback 2015-10-12 14:18:33 +00:00
Hadi Nategh
de4098e550 Make sure we are not requesting server for an empty value option or other widgets but select-timezone as server won't find anything and it will fall into an infinitive loop, e.g. select-cat widget. 2015-10-12 09:55:13 +00:00
Ralf Becker
5a08713cbc * eTemplate: setting higher request timeout of 4 hours (was 2 hours) 2015-10-09 12:40:26 +00:00
Hadi Nategh
f89d4297d9 Fix infinitive request from selectbox widget 2015-10-07 13:52:56 +00:00
Nathan Gray
f57ccb9a41 Allow custom fields in IF placeholders 2015-10-06 19:59:43 +00:00
Hadi Nategh
aa81ae5e5d WIP EGroupware tutorial:
- Make popup size bigger
- Style tutorials list
2015-10-06 16:37:51 +00:00
Hadi Nategh
a6837b6a40 WIP EGroupware tutorial:
-Add popup tutorials player
-List tutorials in sidebox with their titles and thumbnails only
2015-10-05 16:01:39 +00:00
Nathan Gray
86a1e4fbfa Fix invalid options showing in link-entry custom field list by querying for the actually needed capabilities, and explictly add filemanager, which does not support them but gets special handling. 2015-10-05 15:50:30 +00:00
Nathan Gray
05ea41493d Fix missing option check to work with options sent as an in-order array (label,value), fixes some custom fields not being properly set. 2015-10-05 15:25:10 +00:00
Nathan Gray
7023d39d98 Add empty_label to Select account custom field type, so you can select nothing. 2015-10-01 15:10:38 +00:00
Nathan Gray
718dc25815 Make 100% an invalid preference size, fixes mail splitter losing splitter size preference 2015-09-30 15:29:26 +00:00
Nathan Gray
dde1a5e51d Pass current selectbox value so the server can make sure it's there 2015-09-29 16:00:12 +00:00
Hadi Nategh
5e2ec5b8d2 Fix split widget does not take right size 2015-09-29 12:14:41 +00:00
Ralf Becker
8d476dae23 Several fixed to cope better with CalDAVTester:
- adding priority=0=undefined to calendar, as it is iCalendar default
- no longer export iCalendar defaults PRIORITY=0, TRANSP=OPAQUE, CLASS=PUBLIC
- assume UTC if no timezone given, unfortunatly Horde_Icalendar currently does not tell UTC or local
- export DURATION instead of DTEND for UTC and duration less or equal 1 day (todo: store if user entered duration in db model, to be able export it as such again)
2015-09-29 10:25:32 +00:00
Hadi Nategh
3bc2e1077c WIP EGroupware tutorial:
- Implement a hook for application specific video tutorials
- Allow iframe widget to cooperate with fullscreen video play mode
2015-09-25 15:18:35 +00:00
Hadi Nategh
45b9d9e745 Do not trigger autocomplete fix if the browser is Safari and there's an input with type password, since the Safari does not respect autocomplete = off
- Fix password autofill issue in compose dialog
2015-09-23 15:51:46 +00:00
Nathan Gray
0a43abbec2 Use etemplate_widget_menupopup::fix_encoded_options() to handle select options set by get_rows functions.
Fixes tracker CRM view stops working after filtering.
2015-09-23 15:32:36 +00:00
Nathan Gray
9e9cbc2fa1 Some changes to egw.css to try to avoid it randomly ignoring rules in iframes.
Reduces wrong width in admin customfields or categories after you click 3 times.
2015-09-22 23:43:20 +00:00
Hadi Nategh
3a240eb67c Add a patch from Stefan Werfling.
-Add new hooks etemplate2_before_exec, etemplate2_before_process and etemplate2_after_process into etemplate2 execution process
2015-09-22 11:26:15 +00:00
Nathan Gray
e791caf622 Fix admin changing their columns set the default for all users 2015-09-21 21:41:54 +00:00
Nathan Gray
8e657aeb0e Do not die if select custom field is not fully set up 2015-09-21 19:43:36 +00:00
Hadi Nategh
01ec6d0406 A hack for toolbar widget to get fixed existing toolbar preferences and keep working with new actions 2015-09-18 13:32:51 +00:00
Nathan Gray
bc9a99a2af Avoid error in some cases where there is no readonly array manager yet 2015-09-16 15:46:17 +00:00
Hadi Nategh
5de5c82813 Mailvelope backup/restore integration WIP:
- Add some translation
2015-09-16 15:01:52 +00:00
Hadi Nategh
cd7324983b Mailvelope backup/restore integration WIP:
- Implements Mailvelope installation dialog
2015-09-15 16:32:56 +00:00
Hadi Nategh
4c60b761da Mailvelope backup/restore integration WIP:
- Fix template
2015-09-15 08:43:46 +00:00
Hadi Nategh
591f55e3d7 WIP mailvelope installation dialog 2015-09-14 17:38:33 +00:00
Hadi Nategh
707c68689f WIP toggle sidebar menu:
- Trigger resize for split widget, too, since the toggle can change the split pane width size
2015-09-10 09:56:38 +00:00
Nathan Gray
cf333cbbfb Add ability to select existing file in VFS for custom field type filemanager
- Fix missing ID
2015-09-09 17:02:35 +00:00
Nathan Gray
a44661fc52 Add different formatting for linked files when they're in sub-directories
- Fix bug in formatting if first link is in a subdirectory
2015-09-09 14:45:37 +00:00
Nathan Gray
48c3a39b0e If actionLinks is not set, set it to empty. Fixes error caused by no actions. 2015-09-09 14:10:43 +00:00
Nathan Gray
fbd3069456 Set autocomplete attribute so browsers can put the data in the right place (fixes problem with autofill went into address line 2) 2015-09-08 22:23:54 +00:00
Nathan Gray
841f6a575d Fix a bug in formatting for files in subdirectories 2015-09-08 19:11:00 +00:00
Nathan Gray
e033903126 Add ability to select existing file in VFS for custom field type filemanager 2015-09-08 16:02:18 +00:00
Nathan Gray
21d42e7f12 Restore email custom field type, filter out Mail app as cf type (and any other apps that do not support searching). 2015-09-08 14:23:11 +00:00
Hadi Nategh
092cbb5059 Performance improvement:
JSON stringify/parsing deep object copy is quite faster than jQuery.extend deep copy, especially in IE
2015-09-07 15:12:45 +00:00
Ralf Becker
624625ce0e update documentation and fix IDE warnings 2015-09-03 07:12:35 +00:00
Nathan Gray
57d95dde57 Silence error about missing row widget 2015-09-02 22:43:24 +00:00
Nathan Gray
31a23f0dbd Add filemanager custom field type using vfs-upload 2015-09-02 19:52:47 +00:00
Nathan Gray
687d90c37a Add different formatting for linked files when they're in sub-directories 2015-09-02 19:28:08 +00:00
Hadi Nategh
15a8df624c Fix mail's send button does not work in some occasions:
- CKEditor has its own submit handler which was making conflict with our autocomplete submit
2015-09-01 12:05:40 +00:00
Nathan Gray
ed39c529da Fix vfsUpload widget did not display its value 2015-08-31 22:32:50 +00:00
Nathan Gray
16e4ad1078 Fix etemplate request getting destroyed even though attribute changed 2015-08-31 17:12:48 +00:00
Hadi Nategh
d721de7ee9 Mailvelope backup/restore integration WIP:
- Add PGP Encryption menu into sidebox of mail and infolog
- Create Backup/Restore operation dialog
2015-08-31 16:40:33 +00:00
Ralf Becker
fb147edad5 if pdf-thumbnail-creation is not available, generate a single scaled-down pdf-icon 2015-08-27 09:30:20 +00:00
Nathan Gray
509d47bbce Fix opening linked directories gave error instead of opening in filemanager 2015-08-26 17:08:37 +00:00
Nathan Gray
56a595dc57 Expose debug level, and tie etemplate2 profiling to debug level 4 - Log 2015-08-25 16:19:40 +00:00
Hadi Nategh
d60b91f61f Introduce new widget called et2_barcode, which can generate different barcode types from a string value 2015-08-25 15:28:30 +00:00
Ralf Becker
97292e90ab fixing regression in search in ACL popup for a pattern with non-ascii chars (r53252 and r53376) 2015-08-21 09:15:45 +00:00
Ralf Becker
f57b4580a5 reverting r53406, r53423: using JSON instead of XML for templates on client-side to improve IE performace, as it did not give any performance improvement 2015-08-20 14:57:18 +00:00
Ralf Becker
43afc55932 fix not working 2. loading of a popup in IE, caused by IE freeing the cached template in top window, working around that by a getter/setter method in top etemplate2 doing a clone when storing templates 2015-08-20 08:45:21 +00:00
Ralf Becker
3b1de579f4 pending Frensh and Spanish translations from our translation server 2015-08-20 07:11:38 +00:00
Nathan Gray
86d20ea884 Fix missing styles 2015-08-18 19:07:23 +00:00
Nathan Gray
34825b0171 Use selectbox method to fix encoded options instead of own version, also handles numeric indexes.
Fixes categories in wrong order in Resources.
2015-08-18 18:41:35 +00:00
Nathan Gray
ecb972ca66 Etemplate now uses JSON instead of XML for templates on the client side.
XML files are parsed into JSON objects on the server, then sent as JSON.
Etemplate parses the JSON object on the client side instead of the XML file directly.  This is supposed to be faster for IE.
2015-08-18 17:47:40 +00:00
Ralf Becker
4efe325cdf * Admin: fix SQL error when searching in access rights popup (probably other places too) 2015-08-13 12:55:01 +00:00
Nathan Gray
c770021acb Automatically expand to multiple rows if the option is set and value is multiple so we don't lose part of the value 2015-08-11 22:26:49 +00:00
Hadi Nategh
8d7fc2000b Send response as second param into callback for long_task dialog 2015-08-11 16:23:34 +00:00
Nathan Gray
80b2e2b244 Fix for losing actions if they are re-linked to a new actionObject 2015-08-11 15:37:20 +00:00
Hadi Nategh
476606d6cb Add highlighting attribute into widget tree 2015-08-11 09:53:42 +00:00
Nathan Gray
d41c593fe5 Fix actionManager mismatch, causing missing action error on reload 2015-08-10 15:43:21 +00:00
Hadi Nategh
ae95e934a8 Add multiple marking (multiselection) to folder widget, and dhtmlxtree:
- Attribute name: multimarking, default value: false
2015-08-10 15:35:44 +00:00
Hadi Nategh
a2b96f0c9c WIP image upload via drag into ckeditor 4.5: DO not trigger et2_file uplaod if it is an type image and let CKEditor handles it 2015-08-07 15:22:20 +00:00
Ralf Becker
9ede2c0b70 WIP image upload via drag into ckeditor 4.5 2015-08-07 14:18:07 +00:00
Nathan Gray
9903a5f926 Calendar et2 conversion work in progress.
- Home favorites with context menus
2015-08-05 21:24:07 +00:00
Ralf Becker
b799107de5 * Admin: fix SQL error when search contains a non-ascii character 2015-07-29 10:35:01 +00:00
Nathan Gray
b3611a8dfd Remove popup account selection option 2015-07-28 19:08:17 +00:00
Hadi Nategh
3d765ac00f MAil tree W.I.P.:
-Enhancements in folder array
-Fix wrong encoded autoloading url
2015-07-28 12:47:02 +00:00
Nathan Gray
a0c38411e9 Make sure link_entry & file_upload are still present before trying to destroy them.
Fixes hidden error when calling etemplate2.clear() with read-only link widgets.
2015-07-27 17:16:11 +00:00
Ralf Becker
af157c3218 * Addressbook: custom fields of accounts enabled via own-account-acl were not editable 2015-07-27 16:52:55 +00:00
Nathan Gray
ea0663d531 Prevent column selection preference from being reset, fixes forced columns don't stay forced. 2015-07-27 15:24:27 +00:00
Hadi Nategh
ce9c1187bf Add nocheckbox option into tree widget to instruct the component not to render checkbox for the relevant item 2015-07-27 13:34:38 +00:00
Ralf Becker
6110c34aaa if db-object passed to so_sql_cf, use that also for querying custom-fields 2015-07-27 13:17:03 +00:00
Hadi Nategh
310c241ca4 Send back to server both checked and unchecked values if autoloading is used 2015-07-24 13:33:27 +00:00
Hadi Nategh
e3fb882eba Do not force tree node to state of open if we are using autoloading 2015-07-23 10:33:01 +00:00
Hadi Nategh
466eea3cbc Correct the value of checked option from previous commit 2015-07-22 10:06:30 +00:00
Hadi Nategh
ae4fa08e80 Add checked option to tree widget 2015-07-22 10:04:24 +00:00
Hadi Nategh
6001f9e189 Updates etemplate2.dtd file including latest changes of widgets 2015-07-21 09:09:50 +00:00
Hadi Nategh
396dd5274b Add part attribute from gird into dtd generator 2015-07-21 09:07:45 +00:00
Hadi Nategh
a3eddc1ce4 Fix filemanager expose opens wrong image when the clicked image is from expanded sub foldres 2015-07-16 17:26:22 +00:00
Ralf Becker
6776bc5e6a do not break buttons in multiple lines 2015-07-15 15:09:38 +00:00