Ralf Becker
4e9ad744cc
move use strict out of global scope so it does not affect minifying / concatination
2017-10-12 11:32:18 +02:00
Hadi Nategh
b17a348c1f
VfsSelect widget is not depending of filemanager anymore, show it always
2017-10-12 10:17:58 +02:00
Hadi Nategh
8b84f56421
Fix uglify js error, complaining about ES6 syntax
2017-10-12 10:05:26 +02:00
Hadi Nategh
448cc8975f
W.I.P of VFS Select widget restructure
2017-10-11 18:27:42 +02:00
nathangray
82dd2cbc11
Fix some bugs in printing:
...
- Framework was iterating over all app tabs, not just the current one
- Skip hidden etemplate widgets
2017-10-10 10:16:08 -06:00
Ralf Becker
d78d3834c0
tel: links use no URL encoding according to rfc3966 section-5.1.4
2017-10-09 10:54:32 +02:00
Hadi Nategh
53acbfe3ea
Add some documentation
2017-10-05 17:48:43 +02:00
Nathan Gray
2659ab99ff
Merge pull request #20 from filkaris/allow_single_deselect
...
Allow single deselect for listboxes
2017-10-05 09:28:06 -06:00
Hadi Nategh
eb14b81d51
Handle filemanager links
2017-10-05 17:07:59 +02:00
Hadi Nategh
0e06fe0d64
Implement editor link handler for registered filemanager editors
2017-10-05 15:20:45 +02:00
A Sigalas
58326d07f6
Allow single deselect for listboxes
2017-10-05 10:20:01 +00:00
Hadi Nategh
50697efe55
Check if the given options are type of array or object before proceeding of translation. Fix bug "cannot assign to read only property '0' of string" in tracker site configuration.
2017-10-02 16:15:29 +02:00
nathangray
9f4f62c7aa
Fix timestamp button for CKEditor
2017-09-27 10:16:27 -06:00
Hadi Nategh
edf6e16996
* Addressbook: Add searching feature for distribution list filter
2017-09-26 16:57:45 +02:00
Hadi Nategh
772d6605a0
Avoid binding click handler multiple times
2017-09-26 15:27:01 +02:00
Hadi Nategh
4a69b8ddf4
Fix dropdown_button click handler gets called twice
2017-09-26 14:49:45 +02:00
nathangray
2078025eea
Allow keyboard shortcuts for toolbar actions
2017-09-25 16:11:22 -06:00
nathangray
17debc8063
Add timestamp button widget, use it in infolog
2017-09-21 14:56:40 -06:00
nathangray
1cddf83306
Etemplate - Ignore all hidden nodes when re-calculating size, fixes nm resizing issue with other hidden nodes after it
2017-09-19 11:07:08 -06:00
nathangray
6c7356c48e
Etemplate - Link widget - Stop app selection from hiding when you try to click it, fix app selection that only selected addressbook.
2017-09-14 09:52:19 -06:00
nathangray
95e66730c4
Etemplate - add 'app_icons' option for link-entry to show app selection as a list with icons
2017-09-13 10:22:07 -06:00
Hadi Nategh
3cdd77e687
Consider multiple rows ids when calculating row_ids, plus does comma separation
...
and URL encoding
2017-09-12 14:47:08 +02:00
Hadi Nategh
7c11d37480
Add row_id as an another nm_action url parameter
2017-09-11 19:10:47 +02:00
Hadi Nategh
35f2f3fcf1
Fix allowFreeEntry taglist does not get rendered after focus out from input field
2017-09-11 11:57:55 +02:00
nathangray
43f6acdf72
Etemplate - enhance email regex to avoid trailing dots in address, comment out some other checks we might not care about
2017-09-08 11:39:33 -06:00
Hadi Nategh
2bbe5f4862
Fix tree widget's node loses its tooltip after setLabel
2017-09-07 16:32:07 +02:00
Hadi Nategh
0ececf8c78
Set statustext value as text by default
...
- Introduce new boolean attribute called statustext_html in case we want
explicitly statustext gets rendered as html
- Fix Calendar tooltip with new statustext_html attribute
2017-09-05 19:04:45 +02:00
Hadi Nategh
1112b3bc59
Toggle checkbox action based on its value
2017-09-01 16:17:01 +02:00
Hadi Nategh
3ff804b4c8
Do not show tooltips in mobile view
2017-08-21 11:46:28 +02:00
nathangray
3808dd6fee
Fix bug where radiobuttons with the same value as Array methods would break
2017-08-14 13:32:02 -06:00
nathangray
258a739f54
Fix url widget detached node implementation to use row's statustext if provided, original statustext otherwise
2017-08-14 11:21:24 -06:00
nathangray
12f15a0a5a
Allow to disable individual radioboxes when they all share the same ID by using their value
2017-08-01 13:12:45 -06:00
nathangray
1159df66cf
Fix doubled name in link
2017-07-26 16:26:56 -06:00
Hadi Nategh
de714fae8e
Make sure invalid date object gets resolved
2017-07-17 12:49:07 +02:00
Hadi Nategh
c180bf6d30
Fix "no filter" option in nextmatch list favorites does not work
2017-07-10 18:30:20 +02:00
Hadi Nategh
825e9078ba
Take splitter-bar width into account before triggering the resize
2017-06-26 11:01:48 +02:00
Hadi Nategh
5452c7cbe1
Fix splitter does not get resized after container resize
2017-06-26 10:19:11 +02:00
nathangray
6c059fc256
Etemplate - Fix bug in vfs widget where if the name matched part of the path, the name was not displayed
2017-06-12 13:56:27 -06:00
nathangray
b0c7a55d9d
Missing translations, provided by Stefan Unverricht
2017-06-07 15:15:13 -06:00
Hadi Nategh
11c03702dd
Implement sub_app attribute for customfields widget, in order to be able to store sub-app's specific customfields
2017-06-07 17:54:09 +02:00
Hadi Nategh
802a931cc3
Fix taglist-accounts does not get right value on the first load
2017-05-26 18:10:49 +02:00
nathangray
e6e61b215b
Etemplate - allow escaped double quotes in email addresses
2017-05-25 15:16:04 -06:00
nathangray
daaf795e8f
Fix apps using an iframe for admin could not properly load the sidebox tree
2017-05-18 12:15:32 -06:00
nathangray
5765335de8
Fix download linked files as zip gave the following error:
...
CreateObject() file /var/www/epl-trunk/api/inc/class..inc.php not found!
(see df7d8c414a
)
2017-05-11 12:25:31 -06:00
nathangray
32778f20bf
Fix calendar edit recurrence losing timezone on first load
2017-05-10 13:45:32 -06:00
nathangray
379463c96d
Remove debug
2017-05-10 08:48:14 -06:00
nathangray
4696246b7b
Fix readonly link-to widget was not read-only
2017-05-04 09:33:57 -06:00
Hadi Nategh
203fa8a9be
Make sure that placeholder actions are defined and existed in client-side
2017-04-24 17:53:25 +02:00
nathangray
3ea4fda227
Do not change XMLNode, that changes the cached template. Clone it, then change it to avoid weird side effects.
2017-04-19 12:51:58 -06:00
nathangray
bf1bd63110
If tab is hidden, set widgets to readonly to avoid the need for client side validation
2017-04-19 10:44:24 -06:00
Hadi Nategh
f230917d21
Add a new option to taglist-email to allow domain part of email be optional
2017-04-19 15:49:01 +02:00
nathangray
6b294db3fc
File upload bugfixes:
...
- Javascript error uploading files with ' in their name
- uploading the same file twice to a customfield did not show the file uploaded properly
2017-04-18 09:34:33 -06:00
nathangray
68e4df3d22
Fix upload status on single uploads disappeared when upload was complete
2017-04-13 08:52:24 -06:00
nathangray
cfba2eea33
Make sure magicsuggest loses its focus class to avoid focus stealing issues with multiple on a page
2017-04-11 10:14:57 -06:00
nathangray
d5c24a2c8e
Thumbnails (and handling) of uploaded files on new entries that have not yet been saved
2017-04-10 10:39:04 -06:00
nathangray
e649793aee
Add tooltip so you can tell which phone number is which in addressbook list
2017-03-02 10:53:42 -07:00
Hadi Nategh
c1950b4b1c
Make path and up button always available in filemanager mobile theme
2017-02-01 13:17:39 +01:00
nathangray
ceea2cb976
Some more code cleanup:
...
- Remove some unexecutable code
- Fix some variable declarations
(to satisfy Scrutenizer)
2017-01-31 08:29:00 -07:00
Ralf Becker
5bf8630620
allow to additionally use just a name for which content array contains a path to upload pictures
2017-01-31 10:16:16 +01:00
nathangray
4cd8b3ee08
Fix for selecbox change event not being bound in some cases (see a81fe4f
, 768b6ae
)
2017-01-30 09:06:42 -07:00
Ralf Becker
a2a5ea15ae
fix select(-account) tags=true widget to not call onchange callback twice with different signature, now signature is onchange(_node, _widget, _change)
2017-01-30 14:44:31 +01:00
Ralf Becker
a81fe4f82a
partial revert of 768b6ae
, as filter, filter2 and cat get lost when changing a column filter
2017-01-30 09:59:56 +01:00
Hadi Nategh
3a42900eb6
Add accept attributes for widget File in order to be able to filter extensions in upload dialog
2017-01-25 10:28:10 +01:00
nathangray
8de5542803
Fix nextmatch category, filter & filter2 selectboxes did not listen for custom change return value to cancel server call
2017-01-24 08:41:05 -07:00
nathangray
a5f45e2bfa
Fix some translation problems reported by Stefan Unverricht
2017-01-10 09:30:00 -07:00
Hadi Nategh
b91560f79c
Fix collab editor fails to open files with spaces in their names
2017-01-04 14:42:17 +01:00
Hadi Nategh
fdad5d0fcf
Add src attribute as an option to iframe widget
2017-01-04 11:57:31 +01:00
nathangray
9f8c5af937
Avoid an error in etemplate2 if content is not set
2016-12-21 15:36:13 -07:00
nathangray
fbba0f2e59
- Fix a bug in print dialog, clicking header was also toggling first checkbox
...
- Missing translations from Stefan Unverricht
2016-12-06 09:45:55 -07:00
Hadi Nategh
9c2d7abd55
Implement avatar readonly widget
2016-11-18 14:50:58 +01:00
Hadi Nategh
d9031c4c2e
Implement tooltip preview for mime types icons which have preview content available
2016-11-17 11:36:26 +01:00
nathangray
c330df915f
Avoid JS error if value is undefined
2016-11-07 09:15:49 -07:00
nathangray
017e45ffd4
Fix some missing / incorrect icons
...
- Addressbook advanced search was from default
- Add favorite dialog had no icons on buttons
- All dialogs using standard button sets were either missing or from default theme
- Mail confirm all was missing Yes icon
2016-10-27 09:04:47 -06:00
Hadi Nategh
b59b44d29d
Open phonecall window target as _self instead of new tab
2016-10-27 11:07:59 +02:00
Ralf Becker
ab79e193ec
* Mail: show validation error if local part (before @) of email-address contains non-ascii chars
2016-10-20 12:29:56 +02:00
Ralf Becker
3372e1b1c2
* Mail: show which email address has a wrong format when pasting multiple ones
2016-10-20 11:47:09 +02:00
nathangray
0ca2094e2e
Fix some email addresses would not pre-fill address if you created a new contact from mail view From field
2016-10-19 09:00:55 -06:00
nathangray
f71131d28d
Change double-click to auto-size column based on current contents, to only work for fixed width columns. Relative (flex) width columns now just show a message as it was difficult to get them to properly size without weird side effects, especially with 2 relative width columns displayed.
2016-10-18 09:23:13 -06:00
Ralf Becker
9b4d727eb0
* All apps/History: fixed history tab shown empty in default (minimal) installation
2016-10-12 17:50:32 +02:00
nathangray
aa03aab010
Bind double-click to auto-size column based on current contents.
2016-10-11 16:00:01 -06:00
Hadi Nategh
c3fb98f3c1
Try to correct ckeditor references point to vendor directory
2016-10-07 12:15:03 +02:00
nathangray
19a67b92fd
Fix legacy options were not parsed if the first one was empty
...
eg. ,,,legacy,option
was not parsed
2016-10-05 16:13:31 -06:00
nathangray
8ada656d56
Fix js errors if readonly
2016-10-05 16:13:31 -06:00
Hadi Nategh
d3467b49e7
Implement fav_filter icon base on template
2016-09-29 12:06:40 +02:00
Hadi Nategh
56df11b5da
* Mobile template: Close sidemenu after clicking on items in sidebar
2016-09-21 17:39:51 +02:00
Hadi Nategh
8da2404279
Mobile template:
...
- Show fav icon when it's available
- Fix delete_action does not get removed after the row is deleted or deselected
- Fix some alignments for mail list header
2016-09-19 12:23:16 +02:00
Hadi Nategh
69604cb633
Another try to fix base_url for print_dialog template. Seems it's necessary to keep the template_base_url untocued, because template_base_url gets calculated everytime when an et2 instance loads a template.
2016-09-15 11:50:18 +02:00
Hadi Nategh
16992899d4
Let egw.link takes care of the base url. Fix sometimes nm_print_dialog template runs into CSP error
2016-09-14 15:09:32 +02:00
Hadi Nategh
1cca4183c9
WIP avatar widget:
...
- Implement upload and delete of contacts photo
- Add missing cropper stylesheet
2016-09-13 17:30:52 +02:00
Hadi Nategh
e231ac86cf
WIP of implementing cropping avatar photo
2016-09-12 16:23:57 +02:00
Hadi Nategh
7de7af4cc1
Implement position attribute for widget dialog
2016-09-12 16:00:14 +02:00
Hadi Nategh
676148ba94
Implement client-side validation check for date_duration in order to catch check the validity right after entry before submit.
2016-09-09 15:46:13 +02:00
Hadi Nategh
f98674b164
Implement step attribute for date_duration widget. Seems FF needs step to be set to be able to distinguish valid or invalid decimal input format (eg. 1.5 or 1,5)
2016-09-08 17:28:50 +02:00
Hadi Nategh
84da56ede8
WIP avatar widget:
...
- Implement editable option to be able to do some action on hover over
2016-09-07 17:27:47 +02:00
Hadi Nategh
50328495a9
WIP of avatar widget: Implement client-side avatar widget
2016-09-05 17:21:14 +02:00
Ralf Becker
845f9aee36
fix CSP error in nextmatch print, if EGroupware is installed direct into docroot
...
et2.template_base_url == '/' generates url //api/templates/... which is a protocol independent representation of domain api and not identical to /api/templates
2016-08-19 14:54:43 +02:00
Hadi Nategh
65b331749d
Fix "From" field in mail display always get abbreviated
2016-08-18 18:57:06 +02:00
Ralf Becker
94bc949cfa
* All apps: symlink files to not yet saved entries were not working
2016-08-17 16:05:26 +02:00
nathangray
a2a956005e
Add tooltip to datepicker Today button
2016-08-02 09:30:36 -06:00
Hadi Nategh
37cc46a252
* all apps: Fix vfs upload button does not work in link tab
2016-07-29 12:45:41 +02:00
Hadi Nategh
e45925b063
* All apps: Add a counter indicator for selected entries in a list in mobile template
2016-07-27 11:34:07 +02:00
Hadi Nategh
09e6d56bf5
* All apps: Fix styling glitches for search links dropdown
2016-07-26 17:05:45 +02:00
Hadi Nategh
693bf4d0a8
Fix filemanager document editor does not respect page size format
2016-07-25 18:29:34 +02:00
Ralf Becker
a4d39d5873
fix etemplate2.postSubmit() to not destroy any eT2 session, by unbinding window.onbeforeunload and rebinding it again after 100ms
...
Before postSubmit was unbinding only if current etemplates destroy_session was bound and causes so an other etemplates session_destroy to fire.
postSubmit now allways rebinds the session_destroy handler of current etemplate assuming it is only used for downloads, where current etemplate (and session) should persist.
2016-07-25 12:55:11 +02:00
Hadi Nategh
5c3bd11366
Take yyyy-mm-ddThh:mm:ss.s format into account for date widget.
...
- Fix Date widget doesn't let iOS html native datetime-local input set a value
2016-07-21 14:28:46 +02:00
Hadi Nategh
fa5767d156
Open Office Editor W.I.P:
...
- Get regex of odf mime type into widget context to be able to use it for all expose derived widgets
2016-07-20 10:33:18 +02:00
Hadi Nategh
859f38de61
W.I.P. of implementation and integration of open office document editor (.odt) with file system
2016-07-19 18:20:26 +02:00
Hadi Nategh
791d1f1d74
Implement new representation for et2_selectbox widget of multi tags with limited single row
2016-07-11 17:24:20 +02:00
Hadi Nategh
ea200604fb
Implement new nextmatch cat-filter including category colors
2016-07-07 15:45:14 +02:00
nathangray
2a8bc013d6
Fix Make sure customfield header widgets get finished, even if customfield widget is already done - fix the fix to finish all customfields, not just selectboxes
2016-07-04 13:32:35 -06:00
nathangray
27876aa3fb
Add totals (selected, successful, skipped, failed) to long task dialog
2016-07-04 12:49:47 -06:00
Ralf Becker
7ab213d94a
remove trailing comma shown in IDE as warning
2016-07-04 12:28:01 +02:00
nathangray
2615837137
Make sure customfield header widgets get finished, even if customfield widget is already done.
...
Fixes addressbook switching from 'All contacts' to organization and back loses customfield headers
2016-07-01 13:05:16 -06:00
nathangray
a2d1131aa5
Add an Abort / Retry / Skip prompt for long task when one fails
2016-06-30 15:47:32 -06:00
Ralf Becker
efccc70eb3
revert 41b5de825d
: disable scrolling too, when in seamless mode, as it prevents iframe content from being scrolled to the bottom, if that content does not implement any other means of scrolling
2016-06-30 09:06:06 +02:00
nathangray
41b5de825d
Hide iframe scrollbars too when seamless is on, hides scrollbars in Admin - Global categories
2016-06-27 10:53:50 -06:00
Hadi Nategh
66f1e302d2
Bring back enter action for taglist-email widget
2016-06-24 16:27:02 +02:00
nathangray
0787e03378
Stop taglist from stealing focus back if user clicks on another input
2016-06-20 10:38:55 -06:00
Hadi Nategh
6fbdd38e33
Implement update status for nm header objects used for mobile template (eg. action button)
2016-06-17 12:29:37 +02:00
nathangray
358df21fd2
Fix resource (contact, resource, etc.) label sometimes not found
2016-06-15 08:51:07 -06:00
nathangray
a59d3f89e7
Taglist account fixes to remove duplicates in select options after save, and fix missing labels for accounts not in the user's primary group
2016-06-14 10:35:02 -06:00
Ralf Becker
1778f8ef37
remove not used dom fragment, leftover from old code version
2016-06-13 16:03:32 +02:00
nathangray
035ef0a9c7
Some more adjustments to get disabled attribute into nextmatch unparsed
...
Fix some nextmatch columns did not show up in column selection
2016-06-09 19:13:35 +02:00
Ralf Becker
70e278d6a1
fix jquery.base64 path
2016-06-07 09:38:11 +02:00
Hadi Nategh
93217a149d
jQuery libraries updates via composer
2016-06-06 17:38:20 +02:00
Hadi Nategh
87fb94a496
Deprecate $j global variable and replace them all with standard jQuery
2016-06-02 16:52:01 +02:00
nathangray
ed57923c76
Fix set_min() & set_max() did not work in Firefox
2016-06-01 15:03:51 -06:00
nathangray
9f32a7e1a9
Don't try to change columns that can't be changed, fixes Uncaught TypeError: Cannot set property 'visible' of undefined
2016-06-01 09:30:42 -06:00
Hadi Nategh
1228270b52
Fix multiple selection taglist can not handle comma separated values
2016-06-01 13:43:08 +02:00
nathangray
a5d4400918
Some more adjustments to get disabled attribute into nextmatch unparsed
2016-05-30 17:50:16 -06:00
Hadi Nategh
736e18a553
Fix toolbar widget sometimes does not respect flat_list option
2016-05-30 17:12:55 +02:00
Hadi Nategh
179d121efa
Fix toolbar menulist height calculation
2016-05-27 16:32:56 +02:00
Hadi Nategh
55030eb5f2
Do not a tag if no call_link is set and not in mobile, empty a tag may conflict with some browser telephony addons (eg. telify in FF)
2016-05-27 15:03:46 +02:00
nathangray
473fa38969
Avoid errors if select options are not strings.
...
Happens with accounts, which can be integers
2016-05-26 15:34:54 -06:00
nathangray
5774bf9d5a
Do not try to hide the input if not there - it causes an exception, stopping the template from loading
2016-05-25 16:54:08 -06:00
nathangray
2ffcdf5dc9
Also take grid border width into account - should help with nm width in Firefox.
...
See d290485058
2016-05-18 13:56:29 -06:00
nathangray
fb8612f9fd
Fix postSubmit() - fixes broken document merging
2016-05-16 16:55:55 -06:00
nathangray
65c43ba6f0
Implement set_filter() & set_filter2() to allow application code to change filter & filter2 values, and have them updated in the client UI
2016-05-16 16:30:27 -06:00
nathangray
bb7528af20
Revert changes to nextmatch-filterheader & nextmatch-accountfilter?
2016-05-16 09:31:56 -06:00
nathangray
63d9cfbd41
Move filterheader using taglist to its own widget, nextmatch-taglistheader, and revert changes to nextmatch-filterheader & nextmatch-accountfilter
2016-05-16 09:07:08 -06:00
Ralf Becker
2cbe626fed
fix not working (documented) widget attribute "extra_link_title" by using regular "statustext"
2016-05-16 16:23:27 +02:00
Ralf Becker
2d69c1b28b
Merge branch 'master' of github.com:EGroupware/egroupware
2016-05-14 13:00:18 +02:00
Ralf Becker
5be1075f26
move empty.html used for autocomplete to api/templates/default/, as $app/src/ will not be available for direct requests
2016-05-14 12:38:31 +02:00
Hadi Nategh
ad691a7690
Fix et2_link_entry input autocomplete
2016-05-13 20:21:10 +02:00
Hadi Nategh
4b0bc10900
Fix taglist widget:
...
- Fix taglist single styling
- Fix toggle to single not working when there're multiple selected
2016-05-13 18:44:37 +02:00
Nathan Gray
eea3aac80d
Fix up the filterheader sizing to better fit in the nm header
2016-05-11 20:14:14 +00:00
Nathan Gray
da4fd02a7f
If there are 2 or less options for a filterheader, disable multiple toggle
2016-05-11 19:56:06 +00:00
Hadi Nategh
d290485058
Nm resize fix:
...
- Fix dataview grid resize not taking care of category color border
- Fix Category borders make headers misaligned
2016-05-11 16:33:54 +00:00
Nathan Gray
5dc798da7f
Fix customfield column sometimes disappearing from print
2016-05-10 17:12:39 +00:00
Nathan Gray
4dd1fd6368
Set a default of 3 rows for filterheaders to avoid vertical scroll in header
2016-05-09 19:38:31 +00:00