nathangray
98b223bde8
Only reset focused child on first creation, not every action assignment
2018-05-02 14:09:04 -06:00
Hadi Nategh
1f190682d0
* Api: Fix auto-complete password field gets activated even though user hasn't selected it deliberately.
2018-04-10 12:40:02 +02:00
Hadi Nategh
d47ae08b72
Fix uploading multiple files does not enable submit buttons after upload is done
2018-04-10 10:17:44 +02:00
Hadi Nategh
4a3773ddcd
* Addressbook: Fix send all contact's emails/vcards to compose dialog does not work
2018-04-09 16:42:43 +02:00
Hadi Nategh
9a3b42bbf9
Fix vfsSelect extra buttons sometimes failing to close the dialog after execution
2018-04-04 17:54:58 +02:00
nathangray
41726e4293
* Etemplate - Stop times from advancing 1 hour shortly after DST
2018-03-29 09:56:47 -06:00
Hadi Nategh
3c283c8129
Make sure we are not disabling submit buttons if upload is not triggered, to avoid disabled submit buttons after failure.
2018-03-28 18:22:32 +02:00
Hadi Nategh
967fcea673
Add button_icon new attribute to vfs-select widget and changes link button icon
2018-03-28 11:13:53 +02:00
Hadi Nategh
5c19bbfd2c
Implement new feature for vfs-select widget to accept extra buttons action. Additionally, add extra "copy" and "move" actions to link-to vfs dialog.
2018-03-28 11:13:26 +02:00
Hadi Nategh
5221ad68f9
Set dialog button icons from Api instead of etemplate
2018-03-28 11:08:10 +02:00
Hadi Nategh
fd3c5a56b6
Fix broken priority icons in mail compose
2018-03-26 12:43:08 +02:00
Hadi Nategh
d83bb1c483
Fix tracking of opened popups not working after framework reload
2018-03-12 17:43:24 +01:00
Hadi Nategh
ba31de222d
WIP framework's popup storage/restore:
...
- fix typo
2018-03-12 17:42:50 +01:00
Hadi Nategh
f6b22c3643
WIP framework's popup storage/restore:
...
- Keep tracking of popup's window object and restore it when needed
- Implement a method to check an already opened popup and execute a method in the selected popup context
- Fix vcard import into opened compose windows not working
2018-03-12 17:41:38 +01:00
Hadi Nategh
98f4abc0db
Add a fallback site title to avoid showing undefined as title
2018-03-12 12:18:39 +01:00
nathangray
eccb8a9df2
Etemplate - email widget tooltip - show loading while waiting for server response, remove tooltip if nextmatch scrolls
2018-03-07 11:47:28 -07:00
nathangray
cdafb417d3
Etemplate - don't assume event data will still be there after a timeout, fixes occasional errors about it being missing
2018-03-07 11:47:16 -07:00
nathangray
614287a0ba
Fix add contact tooltip to work inside nextmatch again
2018-03-07 11:47:07 -07:00
nathangray
45c7aa7c9c
* Api - Check if email address is known before offering 'Add as contact' button
2018-03-07 11:46:58 -07:00
Hadi Nategh
00cd9175e9
Add closing timer on notifications
2018-02-19 17:21:03 +01:00
Hadi Nategh
5f21737a42
Make sure the node is available before addressing its tooltip, fixes broken rename folder action in mail
2018-02-15 14:01:54 +01:00
Hadi Nategh
1570633761
Add some translations and adopt link list widget to take editor opener handler preference into account
2018-02-08 14:25:58 +01:00
Hadi Nategh
06ef14c78e
* Filemanager: Add new user preference in order to be able to exclude specific file extensions from being opened by document editor (eg. Collabora)
2018-02-08 14:15:51 +01:00
Ralf Becker
f2c4ccd1b0
fixing the fix again: removing check from client side
...
We can not use "(?<![.\s])", used to check that name-part does not end in
a dot or white-space. The expression is valid in recent Chrome, but fails
eg. in Safari 11.0 or node.js 4.8.3 and therefore grunt uglify!
Server-side will fail in that case because it uses the full regexp.
2018-02-05 17:02:14 +01:00
Ralf Becker
f203fa3eb2
fixing the fix, now "email.@domain.com" is invalied, but "x@domain.com" is valid
2018-02-05 16:07:46 +01:00
Ralf Becker
5668f9b04a
one letter name-part in email address failed validation, eg. "x@egroupware.org"
2018-02-05 15:35:41 +01:00
nathangray
c1e03779ff
Switch phrase to one already translated, make confirmation dialog a little wider
2018-01-29 16:32:41 -07:00
Ralf Becker
f28fbb06fa
make NM lettersearch lettes translatable via phrase "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2018-01-24 10:11:55 +01:00
nathangray
80b00ee78c
Update resumable file library, fix bug breaking drag & drop from filesystem in Firefox
2018-01-15 08:48:13 -07:00
Hadi Nategh
929676793c
Fix a bug notifications sidebar in client-side not being translated
2018-01-12 16:32:20 +01:00
Hadi Nategh
757c58acc9
Add proper icon for vfsSelect submit button
2018-01-04 12:03:11 +01:00
nathangray
335b3d2f9e
Etemplate - make sure nextmatch action popups get properly closed
2017-12-18 14:52:06 -07:00
nathangray
d055f04f96
Etemplate - add 'format' option to timestamper to specify the time format
2017-12-18 14:37:04 +01:00
Hadi Nategh
92ea34ea5b
Merge pull request #26 from filkaris/link-type
...
Add hook option in case user wants link to display another link
2017-12-18 12:31:24 +01:00
Hadi Nategh
ba07b10032
Revert "Make selectbox tags&search available for nextmatch header filter"
...
This reverts commit 28f4155360
.
2017-12-18 12:30:15 +01:00
Hadi Nategh
28f4155360
Make selectbox tags&search available for nextmatch header filter
2017-12-18 12:15:36 +01:00
Hadi Nategh
b8c27d3370
Make sure the appname is from the current window
2017-12-18 12:13:36 +01:00
Hadi Nategh
6c6518b445
* Mail/Admin: Fix upload picture into mail signature from editor image browser does not work.
2017-12-18 12:07:49 +01:00
Hadi Nategh
9fdd6d6d5a
Fix vfsSelect dialog does not preserve the name field on reload
2017-12-18 09:59:59 +01:00
nathangray
32296f45fa
Fix typo breaking the setting of autocomplete params
2017-12-15 10:31:21 -07:00
Hadi Nategh
18b21c0aef
Fixes for broken select-account:
...
- Fix select account dialog Ok button not working
- Fix selecting a searched account in dialog not working
- Fix broken search dialog
2017-12-06 14:23:48 +01:00
Hadi Nategh
a1b8198d42
* Tracker: Fix broken tracker queue selectbox filter
2017-12-05 12:18:03 +01:00
Hadi Nategh
77d27f6d72
Make sure the options are typeof array or object
2017-12-04 18:49:31 +01:00
nathangray
0650989615
* Etemplate - fix bug preventing Shift + Select until you refresh the app
2017-11-30 10:22:06 -07:00
nathangray
442db88174
Fix various missing translations, found by Stefan Unverricht
2017-11-30 10:12:55 +01:00
nathangray
e8758c9cd6
Some style fixes:
...
- Missing icons in several dialogs
- Change nextmatch dialog action to use et2_dialog
2017-11-29 11:27:57 +01:00
Ralf Becker
13d28a3da4
* Addressbook: fix lost picture in upload
2017-11-29 10:12:48 +01:00
Ralf Becker
a049b86324
fix avatar/files update issues
2017-11-29 10:12:32 +01:00
nathangray
e6931f76ee
Translate months too
2017-11-28 09:12:01 -07:00
nathangray
94512e47ed
Translate days of the week
2017-11-28 09:11:53 -07:00
nathangray
e5851f9249
Fix select all disables multi-entry actions
2017-11-28 09:08:31 -07:00
nathangray
039de1e355
Better handling of target to support custom fields, now switches to the target tab
2017-11-22 10:18:26 -07:00
nathangray
f43ddba7bc
Avoid error if this.input is not yet set
2017-11-22 10:40:15 +01:00
nathangray
6d300827a9
- Fix typo
...
- Fix value not re-set after changing select options if value was ''
2017-11-21 08:44:21 -07:00
nathangray
ad617c0b8f
Etemplate - implement DetachedDOM interface on read-only checkbox, fixes set for every row bug in nextmatch
2017-11-16 11:15:36 -07:00
nathangray
1237dbf2a8
Fix nextmatch returned null for getDOMNode() if no sender provided
...
This caused it to appear hidden to etemplate print()
2017-11-14 08:48:17 -07:00
Hadi Nategh
6261d55e38
* Addressbook: Fix avatar icon is doubled if contact has no avatar set
2017-11-13 12:18:04 +01:00
Hadi Nategh
a4ebc6e814
Remove special file drop handling on CKEditor for IE, it's no longer necessary. Fix issue of drop none image file on compose HTML area uploads the file twice.
2017-11-09 15:02:37 +01:00
Hadi Nategh
0ec79af82f
Fix mime handler for sharing
2017-11-07 10:51:40 +01:00
nathangray
df4f4deb1f
Etemplate - Make sure to not return an empty string, it will fail when queried
2017-11-03 14:37:46 -06:00
nathangray
06e41356bd
Better handling for thumbnail tooltip if not in nextmatch row
2017-11-03 13:07:02 -06:00
Hadi Nategh
873a2a93d8
Allow multiple mime types
2017-11-03 15:05:35 +01:00
A Sigalas
df6898a11c
Add discard image to buttons
2017-11-01 11:59:11 +00:00
Hadi Nategh
f42801236a
Override the globalEval to mitigate potential execution of script tag
2017-10-27 17:42:44 +02:00
nathangray
b381a9aa0c
Timestamp widget fixes:
...
- Remove new line before timestamp
- Fix focus not going to where it should
2017-10-23 12:10:45 +02:00
Hadi Nategh
c88e3b8a69
Disable new button and new action in filemanager when there's no writable right
2017-10-23 12:08:33 +02:00
Hadi Nategh
ff4396030a
Fix CKEditor Browse Server button to open vfsSelect
2017-10-20 18:55:22 +02:00
Hadi Nategh
9504bff8ee
Fix wrong dialog title for link-to widget
2017-10-17 11:28:03 +02:00
Hadi Nategh
13635fb5b7
Restrict vfsSelectUI submit only to the field availability
2017-10-16 15:03:16 +02:00
Hadi Nategh
81edd22253
Get the right application base on current window context
2017-10-16 11:23:14 +02:00
Hadi Nategh
f779f5ac7f
Make sure we get the etemplate_exec_id
2017-10-16 09:34:38 +02:00
Hadi Nategh
7922f41499
Fix file widget readonly is being set correctly
2017-10-13 14:51:45 +02:00
Hadi Nategh
052bef84ce
W.I.P vfsSelect Widget:
...
- Fix upload feature not working
2017-10-13 13:22:45 +02:00
Hadi Nategh
08032dd776
W.I.P vfsSelect Widget:
...
- Make the dialog bigger
2017-10-12 18:27:27 +02:00
Hadi Nategh
5b76210218
W.I.P vfsSelect Widget:
...
- Fix mime types not being shown
- Fix name being displayed encoded in save2vfs mail
2017-10-12 17:45:46 +02:00
Hadi Nategh
9154392163
Find the right image
2017-10-12 17:06:17 +02:00
Hadi Nategh
2c721c95b2
W.I.P. VFS Select Widget:
...
- Add name and dialog_title as new attributes
- Fix SaveToVfs, SaveAttachmentToVfs, SaveAllToVfs in mail
- Fix button tile
2017-10-12 13:19:42 +02:00
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
Hadi Nategh
f9aec1bf46
Take respective window object into account while building loading_prompt
2017-10-11 15:03:34 +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
nathangray
a09ab65973
Fix bug preventing etemplates in iframes from being unloaded
2017-10-05 11:18:09 -06: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
Hadi Nategh
163b6b6522
Give preferences popup bigger size plus show fulltext of selectboxes
2017-04-18 14:57:04 +02: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
Hadi Nategh
d609c67d8a
Some adjustment for modern login-page
2017-04-06 18:17:47 +02:00
Ralf Becker
9361927edf
prefer window over top, which might cause a security exception
2017-03-08 15:02:29 +01:00
Ralf Becker
e63cb7c849
same story tutorial popup: ignore security exception if window.top is in a different security context
...
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:25:52 +01:00
Ralf Becker
f0925ef32c
same story for framework: ignore security exception if window.top is in a different security context
...
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:21:29 +01:00
Ralf Becker
d1b963c98b
ignore security exception if window.top is in a different security context
...
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:14:16 +01: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
nathangray
d0913cb309
Fix title & description in calendar events were not escaped
2017-03-01 10:52:38 -07:00
Hadi Nategh
74af635dac
WIP of modern login page:
...
- Position social media icons
2017-02-07 12:44:00 +01:00
Hadi Nategh
e3bacb3565
* Mobile template: Fix "info message regarding fullscreen" does not respect the discard checkbox
2017-02-01 18:12:35 +01:00
Hadi Nategh
385977e828
* All applications: Set proper default page title if nothing is set
2017-02-01 16:23:25 +01: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