Commit Graph

440 Commits

Author SHA1 Message Date
nathangray
75cc38cbfa Let et2_dialogs size themselves according to contents unless otherwise specified.
Fixes dialogs too narrow for their title
2018-05-14 16:48:36 -06:00
nathangray
394561a2fa Load filemanager translations for vfsSelectUI 2018-05-14 16:48:08 -06:00
nathangray
53c3c84838 Add checks to see if actionManager has been set before using it
Fixes errors in historylog widget
2018-05-14 11:22:47 -06:00
nathangray
b05662201f Lock UI with loader while waiting for selected rows query to complete 2018-05-11 09:06:07 -06:00
Hadi Nategh
c8f98f3fee Take user's number format into account when set date duration widget. Fixes duration widget doesn't accept "," as decimal separator in Firefox. 2018-05-11 15:48:17 +02:00
Ralf Becker
463774b0de * Admin/Mail: fix saving mail-accounts for multiple accounts 2018-05-04 15:09:21 +02:00
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