Hadi Nategh
cb2aa3399f
Do not use opened //** pattern as it will mixed up with line numbers pattern in minifying debug mode
2015-11-09 10:03:12 +00:00
Nathan Gray
c992e8830c
Fix selectbox shows incorrect selection if options get changed & value does not
2015-11-05 21:44:11 +00:00
Hadi Nategh
731e490ade
* All applications: Prompt user to select an action when drag and drop on lists
...
- Implement a generic cancel action for all drop actions on nextmatch
2015-11-04 15:30:34 +00:00
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
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
Hadi Nategh
a54294ae2e
Add some documentation regarding commit #53956
2015-10-16 07:40:05 +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
025550402a
Fix expandable selectbox button missing icon
2015-10-13 20:43:49 +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
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
Hadi Nategh
f89d4297d9
Fix infinitive request from selectbox widget
2015-10-07 13:52:56 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Nathan Gray
64d74252cf
Get cachable select options asyncronously
2015-06-30 21:17:53 +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
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
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
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
Hadi Nategh
211efdda68
Trigger widget's resize only if there's excess_height
2015-05-05 12:38:11 +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
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
0ea5195f2e
allow to iterate over grids and set checkboxes readonly (disabled)
2015-05-02 10:42:53 +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
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
Hadi Nategh
2425f16da8
Make sure there is jquery object on ckeditor container
2015-04-28 10:31:45 +00:00
Hadi Nategh
353e5e0a9e
Fix resizing htmlarea widget
2015-04-27 09:10:47 +00:00
Hadi Nategh
464b933e38
Make sure there is fields object
2015-04-24 14:37:03 +00:00
Hadi Nategh
c9ef30367e
Only egw-data with no download_url should not get the click handler
2015-04-22 14:58:20 +00:00
Nathan Gray
27e2f787a1
Date widget:
...
- Add year_range attributes to set the options in the year dropdown
- Experimental min and max attributes
Custom fields:
- Allow to set attributes in options field for some widget types (not ones that lists of options)
2015-04-21 19:46:33 +00:00
Nathan Gray
79332f31a5
Simple et2 implementation of ajax_search widget
2015-04-21 16:47:33 +00:00
Hadi Nategh
4ea0638267
Do not add taglist emails one by one, add them all in one, as the rendering process in magicsuggest would be very resource consuming
2015-04-21 15:40:02 +00:00
Hadi Nategh
9b9313026f
Do not bind click handler on media mime type to be opened in expose view if there is no download_url(e.g. attachments of mail integration have no download_url befre they get saved)
2015-04-21 12:20:12 +00:00
Nathan Gray
611c35fc5f
Silence some spurious warnings on null and ""
2015-04-16 16:19:41 +00:00
Ralf Becker
c6bfc44d08
reverting previous commit, as it breaks in other places
2015-04-16 12:10:55 +00:00
Ralf Becker
0b07bccdca
partially revert r52487: as it doublicates some options and changes value of empty label from "" to 0
2015-04-16 12:04:06 +00:00
Hadi Nategh
9c13096e67
A temporary fix for widget link_list because of none match server-side and client-side data structure
2015-04-16 08:26:53 +00:00
Nathan Gray
5a6d9b5fcb
Use timeout to get selected autocomplete value instead of just the entered text
2015-04-15 22:33:06 +00:00
Nathan Gray
1da6e78def
Modifications to cached options
...
- country list no longer supports options when caching
- copy options to avoid modification with additonal options
2015-04-15 15:56:33 +00:00
Nathan Gray
b08f90d930
Don't apply selection if it is not returned after an update, but keep it in case the user needs to scroll first.
2015-04-14 16:48:53 +00:00
Nathan Gray
897a16cd8f
Don't keep selection if it is not returned after an update.
...
Fixes IDs stay after entry is changed to not match the current filters.
2015-04-14 16:40:15 +00:00
Ralf Becker
cdd8b29fa7
not giving an error for undefined href / download-url
2015-04-14 13:12:17 +00:00
Nathan Gray
5cfd583904
Allow applications to add additional options to selectbox type options.
2015-04-13 21:57:46 +00:00
Nathan Gray
3f6dce63c3
Fix missing parent path parts
2015-04-13 20:01:36 +00:00
Nathan Gray
cbcb273367
Remove all actions before setting to prevent conflicts between old and new actions with the same id
...
Also update existing row actions (fixes issue with r52449)
2015-04-13 17:20:47 +00:00
Hadi Nategh
ab7ada048d
Revert commit #52449 , causing context menu's sub action get lost after et2_refresh
2015-04-13 10:03:27 +00:00
Ralf Becker
1120df65dc
check if download_url is not already an url (some stream-wrappers allow to specify that!)
2015-04-11 08:18:53 +00:00
Hadi Nategh
809ad4a678
Fix click handler does not work always for images with href attribute
2015-04-09 10:52:05 +00:00
Hadi Nategh
58ea1e3773
Do not trigger expose view if one of the operator keys (e.g. Ctrl) are held, in order to be able to select entries
2015-04-09 07:59:55 +00:00
Nathan Gray
f926605ea7
Remove all actions before setting to prevent conflicts between old and new actions with the same id
2015-04-08 22:41:44 +00:00
Nathan Gray
894714c3f5
Fix error in historylog caused by trying to load a template widget for infolog status 'template'
2015-04-08 20:49:36 +00:00
Hadi Nategh
19f55e73d8
Fix touch on filemanager heirarchical folder open arrow does not open the sub folder, using touch devices
2015-04-07 16:01:34 +00:00
Ralf Becker
fd435043ad
fixed not shown readonly value for numerical values
2015-04-03 14:20:19 +00:00
Ralf Becker
d82f65e95e
reverting r52412, as it breaks not validating not send values, sending empty array for nothing selected in selectbox instead of (not submitted) null value
2015-04-03 12:43:26 +00:00
Nathan Gray
17885d27af
Handle bad rounding / floating point math fun
2015-04-02 14:57:16 +00:00
Hadi Nategh
ed092a5887
Trigger expose view by clicking on link-list's links
2015-04-02 08:37:13 +00:00
Nathan Gray
5edd9b902a
Add button type to et2_dropdown_buttons to stop default browser behaviour.
...
Fixes filters get cleared when pressing enter in entryfilter
2015-04-01 23:04:45 +00:00
Nathan Gray
db74398622
Adapt detection for missing 'All' category option to array of options style
2015-04-01 20:17:53 +00:00
Nathan Gray
bd51cb4a08
Add support for multi-part history values into historylog
2015-04-01 19:35:35 +00:00
Nathan Gray
1deb3d4f34
Selectbox options kept on the client side
...
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
Hadi Nategh
5c944330c5
Expose link widget WIP:
...
- Implement expose view for link-string widget
- Adapt link-string widget, and other widgets which are using expose to download_href link
2015-04-01 16:51:18 +00:00
Hadi Nategh
3987e3f033
Expose view few changes:
...
- Implement download button and locate it in expose view
- Style control icons better
- Give control icons tooltip
2015-04-01 15:43:14 +00:00
Nathan Gray
1f88ddf303
Fix single-field customfields widgets not setting value properly
2015-03-31 19:48:46 +00:00
Ralf Becker
9fc67020cc
* Mail: setting default font-face and -size reliable and remove space in front of cursor
2015-03-31 17:01:25 +00:00
Nathan Gray
3125dcba42
- Fix infinite loop in onchange trigger on selectboxes under some cases
2015-03-31 16:29:15 +00:00
Nathan Gray
6671f4090a
- Fix missing onchange trigger on selectboxes
...
- Avoid loops caused by onchange trigger when applying filters
2015-03-31 16:23:41 +00:00
Hadi Nategh
c5ddcdfcf9
Fix regular expression in expose view
...
- Exclude tif and xcf images from expose view
- Define a global regexp for expose
2015-03-31 13:39:55 +00:00
Hadi Nategh
467578d34f
Consider iceweasel browser in autocomplete_fix handling
2015-03-31 12:30:43 +00:00
Hadi Nategh
69fe18d1e0
Do not show expose thumbnail for single media entry
2015-03-31 10:31:25 +00:00
Hadi Nategh
ed2bed1b97
Fix click handler on links does not stop propagation, causes unwanted click event
2015-03-31 10:01:51 +00:00
Ralf Becker
1805c4a425
quick fix for tracker links on title open wrong popup
2015-03-31 07:15:53 +00:00
Hadi Nategh
9e8a7dab61
Define an undefined var
2015-03-30 13:41:12 +00:00
Hadi Nategh
a06de7758b
Specify css class on customfield's row with named as field's id, in order to be able to customize its style
2015-03-30 09:50:53 +00:00
Hadi Nategh
01e339815f
Fix customfields options with multiple negated fields and single custom field
2015-03-27 16:32:51 +00:00
Hadi Nategh
ff507682eb
Replace deprecated console.timelineEnd and console.timeline with console.timeEnd and console.time
2015-03-27 10:46:56 +00:00
Hadi Nategh
c3eed99cdd
Introduce new target type called "_browser", in order to specify browser default link handling
...
- Description widget using href, the default target would be _browser
- Call filemanager egw.open with target _browser
2015-03-27 10:13:57 +00:00
Hadi Nategh
186a6b968f
Revert description widget changes from commit 52279
2015-03-26 12:42:16 +00:00
Hadi Nategh
caffcee09d
Fix eml attached files not getting opened in popup
2015-03-26 10:15:36 +00:00
Hadi Nategh
59a47e405a
Fix URL for expose media in description widget
2015-03-26 08:48:23 +00:00