Commit Graph

4887 Commits

Author SHA1 Message Date
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
c262fb2ad0 Fix for losing actions if they are re-linked to a new actionObject 2015-08-11 15:44:42 +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
504e4ff725 * Admin: fix SQL error when search contains a non-ascii character 2015-07-29 10:35:26 +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
Nathan Gray
c6620e2115 Prevent column selection preference from being reset, fixes forced columns don't stay forced. 2015-07-28 14:34:33 +00:00
Hadi Nategh
ba03f02571 Fix wrong encoded autoloading url 2015-07-28 13:08:16 +00:00
Hadi Nategh
c3e9afc85a Add nocheckbox option into tree widget to instruct the component not to render checkbox for the relevant item 2015-07-28 13:04:53 +00:00
Hadi Nategh
a5f347d484 Send back to server both checked and unchecked values if autoloading is used 2015-07-28 13:04:19 +00:00
Hadi Nategh
422a341513 Do not force tree node to state of open if we are using autoloading 2015-07-28 13:03:17 +00:00
Hadi Nategh
8285fb7666 Correct the value of checked option from previous commit 2015-07-28 13:02:12 +00:00
Hadi Nategh
8d424171ae Add checked option to tree widget 2015-07-28 13:01:32 +00:00
Hadi Nategh
76296180b8 added more docu and some constants with sane names 2015-07-28 13:01:07 +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
Ralf Becker
03d3f7924f 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:26:31 +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
ed9204103c * Addressbook: custom fields of accounts enabled via own-account-acl were not editable 2015-07-27 16:53:19 +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
a394a53d8b if db-object passed to so_sql_cf, use that also for querying custom-fields 2015-07-27 13:24:18 +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
4a27ecf94e Fix filemanager expose opens wrong image when the clicked image is from expanded sub foldres 2015-07-17 07:22:43 +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
aa7857a4a6 do not break buttons in multiple lines 2015-07-15 15:09:55 +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
99c67eacc7 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-15 12:14:38 +00:00
Hadi Nategh
91a162f8ba Make sure sortable gets send the request to server with correct menuaction, as jsonq always queued the request from home and that may causes wrong redirection. e.g. sortable grid inside an iframe of an application (mail.sieve) 2015-07-14 16:11:45 +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
01939c6bf6 * Selected favorite highlighting
Now highlights if the current application state matches a favorite, either by click or manually setting the filters.
2015-07-10 18:05:54 +00:00
Nathan Gray
9d5d2944c4 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:15:24 +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
dc78a9987b silence some chitter-chatter of etemplate_new 2015-07-07 12:15:19 +00:00
Klaus Leithoff
c73f4bcb4c silence some chitter-chatter of etemplate_new 2015-07-07 12:14:19 +00:00
Ralf Becker
19be03438e fix groupbox to have NO namespace (it was implemented on client-side with and on server-side without namespace before) 2015-07-07 11:38:01 +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
058ef3e89f * Login/Password: handle forced password change on login page
r53022: visualize not existing ability to unset "must change password on next login", by making it readonly
r53024: change "password about to expire in N days" warning into an once per login info-message (was a redirect to password change)
2015-07-01 17:54:18 +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
56c7c34c19 If app is not found in get_rows, use the template 2015-06-29 20:39:32 +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
ebefb71737 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-24 15:19:48 +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
b53405c973 Add property "data" into taglist-email for setting extra info into taglist item 2015-06-16 15:37:39 +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
8c66a10a75 Leave the ckeditor width untouched, only change the height in resize 2015-06-11 11:30:09 +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
Nathan Gray
21781271e4 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-06-02 21:21:21 +00:00
Ralf Becker
ddbe8ccec3 encryption of InfoLog entries (EPL only) 2015-05-28 14:40:33 +00:00
Ralf Becker
9b34bf6899 * 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:30:04 +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
cfccc90025 * 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:33 +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
c7d6dd66d4 remove double schema prefix "vfs://defaultvfs://default/path" 2015-05-27 12:15:53 +00:00
Ralf Becker
3156134a31 remove double schema prefix "vfs://defaultvfs://default/path" 2015-05-27 12:15:36 +00:00
Ralf Becker
ed01f80f24 fix magic suggest to always open a new line (sets width:0) by setting a min-width of 10em 2015-05-26 16:52:01 +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
Nathan Gray
3b80346c3a 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-26 14:33:27 +00:00
Ralf Becker
db180f816d ignore CR when comparing textfields for history 2015-05-26 10:50:42 +00:00
Ralf Becker
ee900fbafc ignore CR when comparing textfields for history 2015-05-26 10:50:04 +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
ad2d331c86 Do not reinitiate the history log if it is already initiated 2015-05-21 14:27:15 +00:00
Hadi Nategh
809d066496 Fix some IDE warning 2015-05-21 14:25:06 +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
dc3e6c12c2 Introduce a checkbox method for toolbar widget in order to be able to get/set checkbox actions
- Function pattern: widget.checkbox(action_id,[value])
2015-05-20 15:48:08 +00:00
Hadi Nategh
6a6f57dfac Long taglist item should not stop taglist being resized in widthways 2015-05-20 15:45:43 +00:00
Hadi Nategh
c8a74f0126 Add missing action icons in compose toolbar, and fix dragging icon has no height 2015-05-20 15:45:18 +00:00
Nathan Gray
f48424de9c * 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-20 15:23:55 +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
a6ba6ab17e Fix drag and drop multiple files into a subdirectory didn't get all files to the right path 2015-05-19 19:50:52 +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
c217c4a60f fix/avoid warning on NULL sel_options subarray in fix_sel_options 2015-05-19 14:29:19 +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
e544b91429 Do not show the dropdown menu if there is no actions on toolbar "more..." menu 2015-05-15 08:46:30 +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
a7459e57b4 * Etemplate/historylog: Make history log resizable, base on popup window resize 2015-05-13 15:39:40 +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
Hadi Nategh
37bc839ea7 Only apply year range to date only widgets, it causes times to break 2015-05-12 08:13:24 +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
439e32e750 Custom fields - implement ajax select widget, add year_range attribute for dates, and bug fixes 2015-05-11 18:22:43 +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
448fe5b6a8 Allow user to be able to scroll nm headers, which have v-scrolbar, instead of always trigger resize 2015-05-11 12:29:42 +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
29b2f1f210 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:56:07 +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
d95b5b9e3d Call resize handler of widgets with no excess_height which means resize is from nm 2015-05-08 13:41:17 +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
dd81c12dd9 Add attribute class to tab elements in order to be able to distinguish between tab's DOM 2015-05-07 17:19:21 +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
b73e6ea2d6 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:14:15 +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
Nathan Gray
2122f7db0f Avoid error in case $date is not set 2015-05-05 23:35:01 +00:00
Hadi Nategh
c1943235b1 Trigger widget's resize only if there's excess_height 2015-05-05 12:39:11 +00:00
Hadi Nategh
211efdda68 Trigger widget's resize only if there's excess_height 2015-05-05 12:38:11 +00:00
Hadi Nategh
50782cfa8b * Mail: Implement mail integration with new structure and add new feature
- Add mail to calendar as calendar entry, including all mail attachments as links
- Add user choice for saving mail into an existing ticket or a new ticket
- Fix mail attachments integration into infolog, tracker or calendar entry
2015-05-05 08:03:13 +00:00
Ralf Becker
debf2e03f3 remove own iterateOver implementation again, as it is already handled in parent class and creates additional problems 2015-05-04 17:24:28 +00:00
Ralf Becker
e15f9803d2 remove own iterateOver implementation again, as it is already handled in parent class and creates additional problems 2015-05-04 17:24:04 +00:00
Nathan Gray
9e3676a8c9 Only apply year range to date only widgets, it causes times to break 2015-05-04 14:46:56 +00:00
Ralf Becker
cebd7eb868 allow all sort of expanded content in legacy options eg. ",1,${cont[nm][somevalue]}" 2015-05-02 19:35:37 +00:00
Ralf Becker
d06a8f1a77 allow all sort of expanded content in legacy options eg. ",1,${cont[nm][somevalue]}" 2015-05-02 19:35:16 +00:00
Ralf Becker
562cdc409e allow to iterate over grids and set checkboxes readonly (disabled) 2015-05-02 10:43:14 +00:00
Ralf Becker
0ea5195f2e allow to iterate over grids and set checkboxes readonly (disabled) 2015-05-02 10:42:53 +00:00
Hadi Nategh
7cf6f4f246 Make sure the content of CKeidtor is ready before resize and check for none participant to resize 2015-04-30 08:10:12 +00:00
Hadi Nategh
15f18e20b5 Make sure the content of CKeidtor is ready before resize and check for none participant to resize 2015-04-30 08:07:23 +00:00
Nathan Gray
1ae125f08e Handle escaped curly bracket placeholders in rtf 2015-04-29 21:40:12 +00:00
Nathan Gray
0c90a7c234 Avoid some more ambiguous columns 2015-04-29 16:34:26 +00:00
Nathan Gray
b0a8cebc69 Avoid some more ambiguous columns 2015-04-29 16:31:48 +00:00
Ralf Becker
badc6062fa stop invalidation of not visible nextmatch, happens when switching from infolog to crm-view in addressbook 2015-04-28 16:01:39 +00:00
Ralf Becker
5ec55f9c16 stoping requesting more and more rows causing browser to stall, if browser does not give us height for rows (probably because it defered rendering) 2015-04-28 16:01:22 +00:00
Ralf Becker
e74f29fdaa stop invalidation of not visible nextmatch, happens when switching from infolog to crm-view in addressbook 2015-04-28 15:59:21 +00:00
Ralf Becker
812a9bbe8d stoping requesting more and more rows causing browser to stall, if browser does not give us height for rows (probably because it defered rendering) 2015-04-28 15:58:26 +00:00
Hadi Nategh
5b01269378 Make sure there is jquery object on ckeditor container 2015-04-28 15:28:25 +00:00
Hadi Nategh
2425f16da8 Make sure there is jquery object on ckeditor container 2015-04-28 10:31:45 +00:00
Hadi Nategh
4a554a65cd Fix htmlarea editor always wrap border around editing text in IE 2015-04-27 13:44:19 +00:00
Hadi Nategh
a3f2dc1488 Fix htmlarea editor always wrap border around editing text in IE 2015-04-27 13:39:27 +00:00
Hadi Nategh
1a6d628988 Fix resizing htmlarea widget 2015-04-27 09:11:25 +00:00
Hadi Nategh
353e5e0a9e Fix resizing htmlarea widget 2015-04-27 09:10:47 +00:00
Hadi Nategh
707eb127fb Make sure there is fields object 2015-04-24 14:37:55 +00:00
Hadi Nategh
464b933e38 Make sure there is fields object 2015-04-24 14:37:03 +00:00
Hadi Nategh
0c91565dfb Only egw-data with no download_url should not get the click handler 2015-04-22 14:58:53 +00:00