Commit Graph

468 Commits

Author SHA1 Message Date
nathangray
3b04c84f61 Keep selection manager's index map set on reset 2018-07-19 14:11:53 +02:00
nathangray
9c3ff2182e Paginate fetching missing selected rows, limit fetch to 1000 rows 2018-07-19 14:11:26 +02:00
nathangray
6d51f91842 * Addressbook - Fix bug preventing turning off letter filter after some actions 2018-07-19 14:00:08 +02:00
nathangray
dcb8f4fb3a Handle action enable/disable class checks on rows that are not currently rendered by checking their data 2018-07-17 18:42:00 +02:00
Hadi Nategh
5b174c47f2 Fix empty row on nm response 2018-07-17 14:48:01 +02:00
Hadi Nategh
736d880ef9 On nm init check for grid total number to avoid placeholder actions 2018-07-17 14:47:49 +02:00
Hadi Nategh
c46202763a Take nm response after initialization into account when trying to create emptyRow for placeholders action 2018-07-17 14:47:37 +02:00
Hadi Nategh
60f2f4fee6 * Api: Fix enabled actions don't show up on nm initiation 2018-07-17 14:47:26 +02:00
Hadi Nategh
f5f7358445 Apply attach ao patch 2018-07-17 14:16:29 +02:00
nathangray
74edbe227d Fix bug where nextmatch selection manager was holding onto selected rows 2018-07-17 11:36:06 +02:00
Hadi Nategh
4aec40b456 Do not add the loading prompt container if it's already there 2018-07-13 16:33:20 +02:00
Hadi Nategh
01de6fe629 Remove comma from personal part since comma is preserved as address separator 2018-07-13 10:48:39 +02:00
Hadi Nategh
7306ce7e82 Fix contacts with ampersands in their name will fail in mailto function 2018-07-13 10:48:02 +02:00
Hadi Nategh
fb6ce01e50 Do not push popup windows if we are in mobile framework 2018-07-13 10:42:19 +02:00
Hadi Nategh
b81f663ec4 Add new attributes into core widget in order to be able to set widget->type attributes in preferences 2018-07-13 10:40:31 +02:00
Hadi Nategh
15f0900c03 Consider app name when trying to fetch icon for taglist 2018-07-13 10:22:42 +02:00
Hadi Nategh
60bba2bbc7 Support icon feature for taglist widget 2018-07-13 10:19:53 +02:00
Hadi Nategh
14bbfe9dfa Remove magicsuggest from api then add it to vendor 2018-07-13 10:04:08 +02:00
Hadi Nategh
7ab13f20d8 Revert attempt to attach ao because it breaks select all actions by keeping previous executed registeredRows and accumulate them for further actions 2018-07-06 12:20:16 +02:00
Hadi Nategh
01b4919c7d Make selectbox tags&search available for nextmatch header filter 2018-07-02 15:27:20 +02:00
Hadi Nategh
bf62d5578d * Addressbook: Inform the user about number of contacts adding to mail compose dialog via Email action 2018-06-29 15:22:53 +02:00
nathangray
7b01dab757 Clear the selection before creating the empty row.
Fixes empty rows not getting placeholder actions in some cases.
2018-06-22 12:40:13 -06:00
nathangray
ad669ad334 Keep current value if provided 2018-06-13 14:44:46 -06:00
Hadi Nategh
1ed64e7005 Stop autocomplete_url calls for taglist_thumbnail widget 2018-05-29 18:15:33 +02:00
Hadi Nategh
6947ec069a Implement taglist-thumbnail for rest of upload image fields in admin site configuration 2018-05-29 11:06:04 +02:00
Hadi Nategh
8b7f6012d6 Implement new kind of taglist to show thumbnail of set value 2018-05-29 09:32:38 +02:00
nathangray
af3eadb419 Fix loader never goes away if you use shift to select just a few rows 2018-05-15 08:43:40 -06:00
nathangray
eb1a1f147c Let et2_dialogs size themselves according to contents unless otherwise specified.
(just dialogs, leave others alone)
2018-05-14 16:48:45 -06:00
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