Commit Graph

4672 Commits

Author SHA1 Message Date
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
Ralf Becker
43b016f1e0 missing commit from index and text field change 2015-07-15 15:09:11 +00:00
Hadi Nategh
7f01ef37ed Do not reference customfields if they are already read
-Fix second row of infolog customfields in CRM view does not respect nm filters
2015-07-14 15:12:22 +00:00
Nathan Gray
3cf6211c95 Little fixes to avoid some errors:
- Make sure widget is still there before trying to set its select options
- Make sure expand button is there before trying to remove it
- Only try to set select options if header widget is a select box
- Pass appropriate options into getEntry() so it can return null on not existing keys
2015-07-09 19:12:13 +00:00
Klaus Leithoff
c73f4bcb4c silence some chitter-chatter of etemplate_new 2015-07-07 12:14:19 +00:00
Ralf Becker
8c57206745 fix groupbox to have NO namespace (it was implemented on client-side with and on server-side without namespace before) 2015-07-07 11:37:41 +00:00
Ralf Becker
d39c2a71bf * Login/Password: handle forced password change on login page 2015-07-01 12:44:34 +00:00
Nathan Gray
64d74252cf Get cachable select options asyncronously 2015-06-30 21:17:53 +00:00
Nathan Gray
ed97ead93e If app is not found in get_rows, use the template 2015-06-29 20:33:10 +00:00
Nathan Gray
dcc69abf9b * Smarter favorite highlighting
Now highlights if the current application state matches a favorite, either by click or manually setting the filters.
2015-06-29 19:16:56 +00:00
Nathan Gray
787c83106d Fix nextmatch keyboard actions were operating only on the focused row instead of all selected rows. Fixes CTRL+selecting rows, then deleting removed the unselected row instead of the selected rows. 2015-06-23 16:07:46 +00:00
Hadi Nategh
4318bd4070 Add a base css class for making tbody of grid widget scrollable 2015-06-22 17:18:34 +00:00
Ralf Becker
5449825beb use raw custom-field data for yaml files, no user-preference specific formatting, all to use regular expressions in yaml files to modify content of placeholders, eg. commas with linebreaks: "{{name/, */\n}}" 2015-06-18 13:18:07 +00:00
Ralf Becker
46c8c6e318 minimal support for yaml files in document merge: multi-line replacements get prefixed with as many space as the placeholder 2015-06-17 19:37:40 +00:00
Hadi Nategh
b8d94441f6 Add property "data" into taglist-email for setting extra info into taglist item 2015-06-16 12:18:26 +00:00
Hadi Nategh
7ccbdfe871 Add toggledClass property to toolbar toggle actions 2015-06-15 09:11:33 +00:00
Hadi Nategh
e09b6f75b5 Leave the ckeditor width untouched, only change the height in resize 2015-06-11 11:29:44 +00:00
Nathan Gray
920616e37a Calendar et2 conversion work in progress.
Context menu is enabled, but not all actions are fully implemented yet.
2015-06-10 21:51:28 +00:00
Nathan Gray
b4d597fbb5 Add getWidget() method to default action object implementation for easier, direct access to the associated widget 2015-06-10 21:45:06 +00:00
Nathan Gray
43a1429804 Fix broken class attribute 2015-06-10 18:30:14 +00:00
Hadi Nategh
004e1ba646 Remove name attribute if passwd widget has autocomplete="off" 2015-06-03 14:07:15 +00:00
Hadi Nategh
e611eed179 Change autocomplete default value for passwd widget from "" to "off" 2015-06-03 09:05:11 +00:00
Ralf Becker
ddbe8ccec3 encryption of InfoLog entries (EPL only) 2015-05-28 14:40:33 +00:00
Ralf Becker
876db7ca1e * CustomFields: keep order of select-options (was not working for nummeric values)
fixed #9613: Order of customs field in a selectbox has changed
2015-05-28 11:29:43 +00:00
Ralf Becker
82f9190c32 * Tracker: fix slow rendering of edit popup for hugh number of tracker-user
doublicate check was iterating through all options for each option, causing it to take eg. 25s for 7000 options
2015-05-27 12:18:12 +00:00
Ralf Becker
3156134a31 remove double schema prefix "vfs://defaultvfs://default/path" 2015-05-27 12:15:36 +00:00
Ralf Becker
aff68492e1 fix magic suggest to always open a new line (sets width:0) by setting a min-width of 10em 2015-05-26 16:51:43 +00:00
Ralf Becker
db180f816d ignore CR when comparing textfields for history 2015-05-26 10:50:42 +00:00
Nathan Gray
aa724afc03 Some date formatting options could not be automatically parsed, so explicitly use user's date & time settings.
Fixes intermittent automatic {{timestamp/date}} placeholder.
2015-05-25 15:34:41 +00:00
Hadi Nategh
76d22e8515 Fix some IDE warning 2015-05-21 14:22:51 +00:00
Hadi Nategh
02ad6049fe Revert accidently commented out code from previous commit 2015-05-21 10:40:04 +00:00
Hadi Nategh
8fe33d287a Do not reinitiate the history log if it is already initiated 2015-05-21 10:38:04 +00:00
Hadi Nategh
394f7394ff Introduce a checkbox method for toolbar widget in order to be able to get/set checkbox actions
- Function pattern: widget.checkbox(action_id,[value])
- Fix encrypt toolbar action set/get according to new method
2015-05-20 15:18:00 +00:00
Nathan Gray
fbfb2f18d7 Allow column widgets a chance to resize after column change 2015-05-20 15:15:49 +00:00
Hadi Nategh
a4408aeb3f Long taglist item should not stop taglist being resized in widthways 2015-05-20 11:09:11 +00:00
Hadi Nategh
84b9f579c7 Add missing action icons in compose toolbar, and fix dragging icon has no height 2015-05-20 10:26:08 +00:00
Nathan Gray
69f1fc4696 Fix some problems with merging into email files:
- Use correct merge sub-class when merging multiple entries
- Accept merge placeholders in to/cc/bcc fields (displayed as invalid, but still accepted)
- Use merge placeholders to pull addresses from associated entry
2015-05-19 19:24:02 +00:00
Klaus Leithoff
01fdd4d33a fix/avoid warning on NULL sel_options subarray in fix_sel_options 2015-05-19 14:27:06 +00:00
Hadi Nategh
d35a0947d3 Do not show the dropdown menu if there is no actions on toolbar "more..." menu 2015-05-15 08:45:48 +00:00
Hadi Nategh
d571dffd20 New approach to history widget resize, considering if the history tab is not active and window is resized 2015-05-13 15:01:30 +00:00
Nathan Gray
652cec5463 Fix drag and drop multiple files into a subdirectory didn't get all files to the right path 2015-05-11 19:33:57 +00:00
Nathan Gray
237d1d809e * If column information is stored in a favorite, restore it along with the filters
To get column information in the favorite, change the visible columns before you create the favorite.
If the favorite has no column information, the visible columns will not be changed.
2015-05-11 17:29:31 +00:00
Hadi Nategh
7180be1840 Allow user to be able to scroll nm headers, which have v-scrolbar, instead of always trigger resize 2015-05-11 11:20:43 +00:00
Hadi Nategh
a4c50198f9 Reset kept_selection if selected rows from response are no longer available. (e.g. select all mail in a folder and delete them) 2015-05-11 08:55:24 +00:00
Hadi Nategh
2abb05ead3 Call resize handler of widgets with no excess_height which means resize is from nm 2015-05-08 13:38:42 +00:00
Hadi Nategh
fe83235b1d Add attribute class to tab elements in order to be able to distinguish between tab's DOM 2015-05-07 17:18:01 +00:00
Hadi Nategh
b0c7eb2650 Make readonly attribute available for link-to and link-list widget
- Implement tracker link_to to not give edit interface to user who has no edit access
2015-05-06 15:11:53 +00:00