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
Nathan Gray
2122f7db0f
Avoid error in case $date is not set
2015-05-05 23:35:01 +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
Nathan Gray
1ae125f08e
Handle escaped curly bracket placeholders in rtf
2015-04-29 21:40:12 +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
Hadi Nategh
2425f16da8
Make sure there is jquery object on ckeditor container
2015-04-28 10:31:45 +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
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
9cebe6a8fb
Fix unable to remove last value from multiselect
2015-04-02 15:41:05 +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
Ralf Becker
b086604711
move "Save as" phrase to common and merge-cli run
2015-04-01 08:00:07 +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
5026216842
Treat iceweasel browser like as firefox
2015-03-31 13:55:05 +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
4368ccbb58
Fix some more typo in customfield widget
2015-03-26 19:07:08 +00:00
Hadi Nategh
0328abf1c4
Fix typo in customfield widget
2015-03-26 17:08:49 +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
Nathan Gray
9c28235334
Fix select options with ${row} were not always found
2015-03-25 21:45:57 +00:00
Nathan Gray
ad070b221c
Fix file information action
2015-03-25 21:19:59 +00:00
Ralf Becker
5887bc4313
* Mail, Filemanager: use now same handling, pdf, text or html are opened now in popup, fixes viewing of attachments using mobile theme
2015-03-25 17:48:24 +00:00
Hadi Nategh
320816b4cb
Do not show thumbnail indicator for image widget expose view
2015-03-24 18:16:10 +00:00
Hadi Nategh
fe9f480212
Prepare description widget for mime handling
...
-Add mime_data attribute representing hash for data stored on service-side with egw_link::(get|set)_data()
-Do not show thumbnail indicator for expose view
-Bind click handler when it is neccessary to handle a link
2015-03-24 18:08:57 +00:00
Nathan Gray
99657a094b
After we find a match, no need to keep looking.
2015-03-24 15:18:19 +00:00
Hadi Nategh
89a9ea4bb1
Some more WIP of attachment mime handling
2015-03-24 11:40:06 +00:00
Ralf Becker
14cd9dfb34
fix sub-template of modified etemplate (WebDAV Url) wont work, as cache-buster / timestamp got added without download prefix, causing WebDAV to not find sub-template, because it treats everything but "?download" as part of URL
2015-03-24 10:52:14 +00:00
Hadi Nategh
70510ca506
Use text-overflow-ellipsis for very long infolog titles in listview to avoid collision with info_id
2015-03-23 17:00:22 +00:00
Hadi Nategh
7c6bd961a7
Give 100% width to toolbar's actionlist
2015-03-23 16:16:33 +00:00
Ralf Becker
8431629ed2
* All apps: nummeric custom-fields (float or new integer) sort nummeric in lists
2015-03-23 08:38:30 +00:00
Ralf Becker
e7bdc85530
fix not working hbox for selectbox, they were not on one line
2015-03-20 20:30:33 +00:00
Ralf Becker
dff07e68a5
empty-label was not translated if set via (legacy-)options
2015-03-20 19:25:51 +00:00
Ralf Becker
7fa86b19ca
do NOT send select-options for each autorepeated row for id like "set[$row_cont[id]][value]" and fix merging of app preset options with type-specific ones to not overwrite the later
2015-03-20 15:38:20 +00:00
Ralf Becker
63a7af621d
allow to submit partial content by passing a container(-widget) to etemplate2.submit()
...
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 02:12:33 +00:00
Ralf Becker
21aa3eb325
onkeypress handler for textbox and number widget
2015-03-19 21:21:03 +00:00
Ralf Becker
66ecee59a5
fix javascript error stalling eT2 rendering, if option label is null eg. because it could not be json encoded because of non-utf8 chars in it
2015-03-19 10:54:29 +00:00
Ralf Becker
35f6de7f2a
fix warning
2015-03-19 10:52:34 +00:00
Ralf Becker
fac9f796a8
implement formatting of numbers in read-only widget
2015-03-18 22:04:47 +00:00
Ralf Becker
d40f41950b
fixed not run validation on server-side for templates included via template tag
2015-03-18 21:31:16 +00:00
Ralf Becker
7269552342
fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]"
2015-03-18 21:30:22 +00:00
Nathan Gray
0db176f0b2
No need to strip out mime again, it's already removed by egw_link
2015-03-18 17:28:49 +00:00
Hadi Nategh
feae7b3638
Focus on the first input field only if the field is empty for mobile theme
2015-03-18 16:55:53 +00:00
Ralf Becker
cc851bb6e8
$cont is NOT root but current name-space in old eTemplate, leaving now identical $_cont for now
2015-03-17 23:15:17 +00:00
Ralf Becker
41671d733a
there should be no validation for disabled widgets
2015-03-17 22:00:54 +00:00
Hadi Nategh
26057f6848
Fix file upload from file_selection dialog not working in IE and Safari
2015-03-17 17:27:00 +00:00
Ralf Becker
387d5053dd
stop etemplate_widget_template::instance from returning a stdClass object for a not found template after content-expanding, leading to a fatal error in etemplate_widget line 338
2015-03-17 14:07:20 +00:00
Ralf Becker
3d05a43417
implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table
2015-03-17 09:44:14 +00:00
Nathan Gray
984bbf4d44
Include lettersearch when forcing preferences
2015-03-16 22:28:18 +00:00