Commit Graph

710 Commits

Author SHA1 Message Date
Hadi Nategh
698e77e0cb Implement reset user preferences for admin toolbar actions 2018-08-21 17:22:58 +02:00
Hadi Nategh
d7c462149a W.I.P. of toolbar admin default prefs:
- Set default preference by admin
- Consider default preference for the first time login users
2018-08-16 16:52:20 +02:00
Hadi Nategh
2ebbf89b0c Set a placeholder icon if nothing found 2018-08-16 16:49:54 +02:00
Hadi Nategh
bf151cff7b W.I.P. of toolbar admin default prefs:
- Add admin settings button
- Add dialog
2018-08-16 12:29:35 +02:00
Ralf Becker
bbe551d4cc sending appliction/json aka JSON as direct payload for all POST ajax requests
instead of additionally encoding them as form-data
2018-08-16 11:07:50 +02:00
Hadi Nategh
ccda87b157 W.I.P. of toolbar admin default prefs 2018-08-15 16:50:46 +02:00
Hadi Nategh
c69532e7f0 Another attempt to invalidate zero with space (\u200B) char in the beginning an email address 2018-08-15 11:36:37 +02:00
Hadi Nategh
e433c708df Fix taglist fails to invalidate email address which starts with none visible unicode char 2018-08-14 17:15:35 +02:00
Ralf Becker
5e7ef5386c allow additional "UPDATED" success message to keyring.importPublicKey 2018-08-14 11:33:28 +02:00
Hadi Nategh
73b6ab8128 IE 11 and below does not support ES6 syntax we need to use some polyfills 2018-08-10 10:31:40 +02:00
nathangray
60e43ab60b Etemplate - getWidgetById() can handle nested[type][names] 2018-08-09 12:41:37 -06:00
Hadi Nategh
7289e80e92 Wait till common translations are loaded then ask for IE browser compatibility 2018-08-08 11:12:57 +02:00
Hadi Nategh
3604e66fa6 Exclude Edge from previous commit 2018-08-07 16:30:53 +02:00
Hadi Nategh
4c7d7fa9ca Add IE browser warning as message after login 2018-08-07 16:26:54 +02:00
Hadi Nategh
c5a291218a Fix full_email option in email-url not working 2018-08-03 16:15:24 +02:00
Ralf Becker
e53482289a fix not displayed requrested and comment 2018-08-03 15:38:34 +02:00
Hadi Nategh
a9a303a6ff Add new preference to control default action of editing a document (open with:Collabora|CollabEditor|Download) 2018-08-03 11:08:00 +02:00
nathangray
04334eb0f0 Etemplate - Hide tabs from tab widget if there's only one tab 2018-08-02 09:23:30 -06:00
Ralf Becker
250b56589c WIP allow to document admin actions, if EPL policy app is installed 2018-08-02 11:43:56 +02:00
nathangray
a5b232d129 Make sure we get the actions from the right app 2018-07-30 08:58:14 -06:00
Ralf Becker
747b3bb103 fix typeError if enableClass method is called without _target parameter
stalling rendering of nextmatch rows in filemanager
2018-07-30 11:35:07 +02:00
nathangray
dca3c1ec30 * Etemplate - timestamper widget now supports timezone attribute to force a certain timezone 2018-07-27 13:31:02 -06:00
nathangray
c15eeb66a8 Pass the action as expected 2018-07-26 15:30:14 -06:00
nathangray
26ed40bd73 Use default action for file part of path if it can be found 2018-07-25 14:56:41 -06:00
Hadi Nategh
f5422526ce Make sure there's a context and selectionMgr objects before using them 2018-07-25 14:11:45 +02:00
Hadi Nategh
f99672a742 Fix d-n-d indicator shows wrong number of selected rows if it's a select all 2018-07-25 11:22:04 +02:00
nathangray
fbea34819a * Filemanager - make files and their paths clickable 2018-07-24 14:31:17 -06:00
nathangray
7805844b7c Better support for no_actions row flag so fetched rows with no_actions are not selected by 'select all' 2018-07-24 10:10:31 -06:00
nathangray
f7e194b0b4 Respect no_actions flag in controller_selection when selecting a range / all 2018-07-23 12:53:41 -06:00
nathangray
d5e0bc1615 * Addressbook - Fix bug preventing turning off letter filter after some actions 2018-07-18 13:43:32 -06:00
nathangray
675f0e2998 Check that file mime is there before trying to match on it to avoid error if it's false 2018-07-18 12:24:06 -06:00
nathangray
10db110ea3 Keep selection manager's index map set on reset 2018-07-18 10:26:08 -06:00
nathangray
2d5e471fd8 Paginate fetching missing selected rows, limit fetch to 1000 rows 2018-07-17 16:56:58 -06:00
nathangray
9e19baf492 Handle action enable/disable class checks on rows that are not currently rendered by checking their data 2018-07-17 10:20:52 -06:00
nathangray
658e84e59f Fix bug where nextmatch selection manager was holding onto selected rows 2018-07-16 16:17:36 -06:00
Hadi Nategh
e9f4a72031 Do not add the loading prompt container if it's already there 2018-07-13 16:32:44 +02:00
Hadi Nategh
cc3e00f9f1 * Mail: take opened compose dialogs into account when trying to forward attachment, share files into mail or vcard attachment from addressbook 2018-07-11 14:39:40 +02:00
Hadi Nategh
03fd308d00 Remove comma from personal part since comma is preserved as address separator 2018-07-05 14:29:49 +02:00
Hadi Nategh
9317cdd216 Fix contacts with ampersands in their name will fail in mailto function 2018-07-05 11:28:12 +02:00
Hadi Nategh
8bdf9e27f6 Fix empty row on nm response 2018-07-04 17:09:44 +02:00
Hadi Nategh
2bc4f2b8a4 On nm init check for grid total number to avoid placeholder actions 2018-07-04 16:57:09 +02:00
Hadi Nategh
f9fa811e2e Take nm response after initialization into account when trying to create emptyRow for placeholders action 2018-07-04 16:43:53 +02:00
Hadi Nategh
18efbfad98 * Api: Fix enabled actions don't show up on nm initiation 2018-07-03 18:21:58 +02:00
Hadi Nategh
ad913ff93d Do not push popup windows if we are in mobile framework 2018-06-29 10:05:28 +02:00
Hadi Nategh
36726c7400 Add new attributes into core widget in order to be able to set widget->type attributes in preferences 2018-06-27 17:40:26 +02:00
Hadi Nategh
6aec99eab1 Consider app name when trying to fetch icon for taglist 2018-06-22 16:00:38 +02:00
Hadi Nategh
263cba6bf1 Support icon feature for taglist widget 2018-06-22 15:06:53 +02:00
Hadi Nategh
23c844b90d Remove magicsuggest from api then add it to vendor 2018-06-21 13:39:00 +02:00
nathangray
3929432c14 Clear the selection before creating the empty row.
Fixes empty rows not getting placeholder actions in some cases.
2018-06-20 09:40:35 -06:00
nathangray
23394e9e76 Keep current value if provided 2018-06-13 14:44:12 -06:00
Hadi Nategh
ce52dd10ad * Addressbook: Inform the user about number of contacts adding to mail compose dialog via Email action 2018-06-07 14:45:42 +02:00
nathangray
6708ccb043 Record share emails in history log & display them instead of user when set 2018-06-06 15:51:46 -06:00
nathangray
0582f2347f Fix a few issues from Scrutinizer
- Remove debug code
- Remove some unused variables
- Add get_ui() to base class that gives error message (should always be a subclass)
2018-06-06 09:54:49 -06:00
nathangray
4a9df7ef33 Got link creation via context menu working 2018-06-05 14:31:04 -06:00
nathangray
d0a50d8d45 Changes needed to just get the screenshots, much more work needed for proper functionallity since I faked the permissions 2018-06-05 14:31:04 -06:00
Ralf Becker
430368eab9 new JSON response method "message" to call egw.message eg. in a popup, by using the context from the egw.json call 2018-06-05 12:29:51 +02:00
nathangray
6f7050d036 Fix taglists did not always get their options 2018-06-04 14:42:07 -06:00
nathangray
7843da6e08 Change allowOnMultiple check to use count of selected objects, not count of actionLinks
Allows enabled check functions to call other actions's enabled functions.
2018-05-31 09:19:39 -06:00
Hadi Nategh
ea80839b56 Stop autocomplete_url calls for taglist_thumbnail widget 2018-05-29 18:14:42 +02:00
Hadi Nategh
e9f1e8bcad Implement taglist-thumbnail for rest of upload image fields in admin site configuration 2018-05-29 11:05:08 +02:00
Hadi Nategh
b205e2f4a2 Implement new kind of taglist to show thumbnail of set value 2018-05-28 17:41:52 +02:00
nathangray
5682044227 Fix loader never goes away if you use shift to select just a few rows 2018-05-15 08:43:13 -06:00
nathangray
010815ea0f Let et2_dialogs size themselves according to contents unless otherwise specified.
(just dialogs, leave others alone)
2018-05-14 15:52:03 -06:00
nathangray
e0ad35a241 Let et2_dialogs size themselves according to contents unless otherwise specified.
Fixes dialogs too narrow for their title
2018-05-14 15:16:25 -06:00
nathangray
b139583f6a Load filemanager translations for vfsSelectUI 2018-05-14 13:10:10 -06:00
nathangray
820d269e71 Add checks to see if actionManager has been set before using it
Fixes errors in historylog widget
2018-05-11 14:33:17 -06:00
Hadi Nategh
f0e7f2aeed 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-07 16:57:37 +02:00
Ralf Becker
ba366467b0 * Admin/Mail: fix saving mail-accounts for multiple accounts 2018-05-04 15:07:06 +02:00
nathangray
1022931845 Lock UI with loader while waiting for selected rows query to complete 2018-05-02 14:10:03 -06:00
nathangray
5881ea7bd3 Only reset focused child on first creation, not every action assignment 2018-05-02 14:08:36 -06:00
Hadi Nategh
9be52c2d75 * Api: Fix auto-complete password field gets activated even though user hasn't selected it deliberately. 2018-04-10 12:39:27 +02:00
Hadi Nategh
16ab038d4d Fix uploading multiple files does not enable submit buttons after upload is done 2018-04-10 10:17:08 +02:00
Hadi Nategh
5d128cc43b * Addressbook: Fix send all contact's emails/vcards to compose dialog does not work 2018-04-09 16:42:08 +02:00
Hadi Nategh
b8fd2f9c97 Fix vfsSelect extra buttons sometimes failing to close the dialog after execution 2018-04-04 17:51:31 +02:00
nathangray
6ef00bbf9e Look in action children so placeholder actions can be in sub-levels 2018-04-03 16:24:15 -06:00
nathangray
5b43b1f63c * Etemplate - Stop times from advancing 1 hour shortly after DST 2018-03-29 09:31:45 -06:00
Hadi Nategh
773a9410c5 Make sure we are not disabling submit buttons if upload is not triggered, to avoid disabled submit buttons after failure. 2018-03-28 18:20:11 +02:00
Hadi Nategh
df70d71cc3 Add button_icon new attribute to vfs-select widget and changes link button icon 2018-03-28 11:07:47 +02:00
Hadi Nategh
747d45e47c Set dialog button icons from Api instead of etemplate 2018-03-28 11:05:48 +02:00
Hadi Nategh
94519b0174 Fix broken priority icons in mail compose 2018-03-26 12:41:37 +02:00
Hadi Nategh
eb1eed5b8d 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-13 17:43:21 +01:00
Hadi Nategh
2d71cdf0f5 Fix tracking of opened popups not working after framework reload 2018-03-12 17:04:17 +01:00
Hadi Nategh
72bc17abf7 Add a fallback site title to avoid showing undefined as title 2018-03-12 12:16:50 +01:00
Hadi Nategh
81a79f0da8 WIP framework's popup storage/restore:
- fix typo
2018-03-09 17:53:36 +01:00
Hadi Nategh
a8e10cdc64 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-09 17:48:09 +01:00
Hadi Nategh
b7582fa9a0 Add hover_action for detached description widget 2018-02-26 17:54:13 +01:00
nathangray
d76a08b434 Etemplate - email widget tooltip - show loading while waiting for server response, remove tooltip if nextmatch scrolls 2018-02-20 10:32:04 -07:00
nathangray
56b40adb26 Etemplate - don't assume event data will still be there after a timeout, fixes occasional errors about it being missing 2018-02-20 10:28:18 -07:00
Hadi Nategh
7510a94e11 Add closing timer on notifications 2018-02-19 17:17:24 +01:00
Hadi Nategh
69e83c5aaf Make sure the node is available before addressing its tooltip, fixes broken rename folder action in mail 2018-02-15 14:01:11 +01:00
nathangray
28eaee5707 Fix add contact tooltip to work inside nextmatch again 2018-02-12 10:33:24 -07:00
nathangray
c67560049c * Api - Check if email address is known before offering 'Add as contact' button 2018-02-08 13:19:26 -07:00
Hadi Nategh
3bbad14683 Add some translations and adopt link list widget to take editor opener handler preference into account 2018-02-07 15:18:43 +01:00
Hadi Nategh
9c4b26f4fb Make sure the original link_registry values of filemanager-editor are not touched 2018-02-07 12:38:07 +01:00
Hadi Nategh
8e0243294c Implement proposed filemanager mime type open handler based on user preferences 2018-02-06 18:00:36 +01:00
Ralf Becker
419b1656fb 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:01:15 +01:00
Ralf Becker
75a39143f8 fixing the fix, now "email.@domain.com" is invalied, but "x@domain.com" is valid 2018-02-05 16:06:46 +01:00
Ralf Becker
6efe719ea1 one letter name-part in email address failed validation, eg. "x@egroupware.org" 2018-02-05 15:32:00 +01:00
nathangray
3fed690b9e Switch phrase to one already translated, make confirmation dialog a little wider 2018-01-29 15:55:12 -07:00
Ralf Becker
65e7c7be78 make NM lettersearch lettes translatable via phrase "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 2018-01-24 10:08:55 +01:00
nathangray
f6ae17c0d3 Vfs widget - error handling so it doesn't fail and take down the app if file is weird 2018-01-15 11:53:38 -07:00
nathangray
236d8e8f06 Update resumable file library, fix bug breaking drag & drop from filesystem in Firefox 2018-01-11 11:46:28 -07:00
Hadi Nategh
2bf7597647 Fix a bug notifications sidebar in client-side not being translated 2018-01-11 17:23:58 +01:00
Hadi Nategh
33b41c3f6a Add proper icon for vfsSelect submit button 2018-01-04 12:02:36 +01:00
Hadi Nategh
652a23be7c W.I.P. migrating of Collabeditor (webodf) from filemanager and Api to an individual app 2017-12-19 18:48:40 +01:00
nathangray
e491f4112a Etemplate - make sure nextmatch action popups get properly closed 2017-12-18 14:51:07 -07:00
Hadi Nategh
81bcd9fb42 Fix vfsSelect dialog does not preserve the name field on reload 2017-12-18 09:58:40 +01:00
nathangray
d6916b3580 Fix typo breaking the setting of autocomplete params 2017-12-15 10:29:55 -07:00
Hadi Nategh
9fb74c1b7c Make selectbox tags&search available for nextmatch header filter 2017-12-07 15:58:25 +01:00
Hadi Nategh
594bd63181 * Mail/Admin: Fix upload picture into mail signature from editor image browser does not work. 2017-12-06 16:25:43 +01:00
Hadi Nategh
fecb034955 Make sure the appname is from the current window 2017-12-05 18:02:11 +01:00
Nathan Gray
fade7185ae
Merge pull request #31 from filkaris/history_rows
Historylog widget: Ability to set nextmatch num_rows
2017-12-05 08:40:30 -07:00
Hadi Nategh
24af670de9 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-05 15:21:25 +01:00
Hadi Nategh
8ca3a19cd9 * Tracker: Fix broken tracker queue selectbox filter 2017-12-05 12:17:19 +01:00
Hadi Nategh
fe5c7a5186 Make sure the options are typeof array or object 2017-12-04 17:02:34 +01:00
A Sigalas
e9de76af7a Set option for num_rows 2017-12-01 11:04:31 +00:00
nathangray
f45afa1b6b * Etemplate - fix bug preventing Shift + Select until you refresh the app 2017-11-30 10:21:40 -07:00
nathangray
ad6c143059 Fix various missing translations, found by Stefan Unverricht 2017-11-29 09:58:01 -07:00
Ralf Becker
546606141e * Addressbook: fix lost picture in upload 2017-11-29 16:25:08 +08:00
Ralf Becker
dd4ae60fa2 fix avatar/files update issues 2017-11-29 09:58:36 +08:00
nathangray
2d93c48b75 Some style fixes:
- Missing icons in several dialogs
- Change nextmatch dialog action to use et2_dialog
2017-11-28 15:59:06 -07:00
nathangray
1f042783f7 Fix select all disables multi-entry actions 2017-11-27 15:06:13 -07:00
nathangray
105e191920 Translate months too 2017-11-22 11:30:14 -07:00
nathangray
6477c81097 Translate days of the week 2017-11-22 11:13:35 -07:00
Hadi Nategh
41dece3d57
Merge pull request #26 from filkaris/link-type
Add hook option in case user wants link to display another link
2017-11-22 17:21:41 +01:00
nathangray
57abd48625 Etemplate - add 'format' option to timestamper to specify the time format 2017-11-21 10:26:54 -07:00
nathangray
2364a39de0 Avoid error if this.input is not yet set 2017-11-20 09:26:04 -07:00
nathangray
ffd66b56d7 - Fix typo
- Fix value not re-set after changing select options if value was ''
2017-11-17 10:05:46 -07:00
nathangray
e6bc7940b3 Etemplate - implement DetachedDOM interface on read-only checkbox, fixes set for every row bug in nextmatch 2017-11-16 10:03:01 -07:00
nathangray
f9e1e1b2a6 Better handling of target to support custom fields, now switches to the target tab 2017-11-14 10:35:21 -07:00
Hadi Nategh
1b0c1b9960 * Addressbook: Fix avatar icon is doubled if contact has no avatar set 2017-11-13 12:16:08 +01:00
Hadi Nategh
9f2abdd5df 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:01:41 +01:00
nathangray
331364810b Fix nextmatch returned null for getDOMNode() if no sender provided
This caused it to appear hidden to etemplate print()
2017-11-07 09:01:31 -07:00
Hadi Nategh
fe583421df Fix mime handler for sharing 2017-11-07 10:49:24 +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
A Sigalas
f6b314949d Add hook option in case user wants link to display another link 2017-10-30 12:52:36 +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
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
nathangray
aad82affa1 Handle re-loading an app with the URL query parameters so it actually gets reloaded, since its internal state may have changed since the initial load 2016-12-01 11:20:25 -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
Hadi Nategh
ad2c3674e5 A hack to fix jumping cursor issue of wodoeditor 2016-11-10 14:12:51 +01:00
nathangray
c330df915f Avoid JS error if value is undefined 2016-11-07 09:15:49 -07:00
Hadi Nategh
6038936cef Fix wodocollabeditor conflicts with other libraries because of global require and define AMD modulation 2016-10-27 18:47:02 +02:00
Hadi Nategh
3b76072885 Revert changes of local definition of define variable, because they no more conflict with wodocollabeditor 2016-10-27 18:43:41 +02: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
84207e9a5a Keep the default behavior for opening tel-url and make call_popup felixable to be able to get target 2016-10-27 14:17:42 +02: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
nathangray
286c730d08 Allow children for paste actions automatically pulled from drop actions 2016-08-24 14:28:55 -06:00
Hadi Nategh
b7eb55f6fa W.I.P. collab editor:
- Make all editors options available
- Add viewOptions available for configuration
- Disable active avatar by default
- Some styling for member's list, member's marker and avatar
- Add mobile template for editor
2016-08-23 12:29:49 +02:00
nathangray
7abf44c6a3 Add actions (Add) for blank parts of planner view 2016-08-22 09:39:09 -06: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
Hadi Nategh
704a47a182 W.I.P collab Editor:
- Fix collab editor define global variable conflicts with some other libraries which use define global
2016-08-16 12:52:26 +02:00
Hadi Nategh
55c0122155 W.I.P collab editor:
- Add isDocumentModified method to wodocollabtexteditor
2016-08-15 17:18:35 +02:00
Hadi Nategh
60c34e5881 W.I.P of collaborative odf editor:
- Define ServerFactory for egw collab
- Revert unintentional commits on Server.js
2016-08-05 12:41:11 +02:00
Hadi Nategh
5917a70dcc W.I.P of collaborative odf editor:
- Add wodocollabtexteditor library
2016-08-03 18:16:20 +02:00
nathangray
a2a956005e Add tooltip to datepicker Today button 2016-08-02 09:30:36 -06:00
Hadi Nategh
9d1fca0710 Make sure html property of html object in egw_seperateJavascript is type of string 2016-08-02 12:17:16 +02:00
Hadi Nategh
37cc46a252 * all apps: Fix vfs upload button does not work in link tab 2016-07-29 12:45:41 +02:00
Ralf Becker
96caf6effd * Admin/APC(u): fix error in clear cache: if APC(u) runs out of memory clearing just instance cache clear whole cache 2016-07-28 12:02:21 +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
Ralf Becker
58d2e49843 fix two more cases in which "show_generation_time" is queried and should never trigger a request to server, see 1c6c930312 2016-07-21 10:51:17 +02:00
Ralf Becker
45111b8cd9 if "common" prefs are not loaded, do not display page generation time
Before we queried page_generation_time common preference without a callback, which send a synchronious request to server to fetch common preferences, when it returned it looked for the preference again and send the next synchronious request to the server, in an infinit loop. Now setting _callback parameter of egw.preference() to false, just returns undefined, if common preferences are not yet loaded, but dont try to query them from server
2016-07-20 17:15:41 +02:00
Hadi Nategh
ef6bc4c7ce Open Office Editor W.I.P:
- Implement create new document
- Add select file dialog for saving a newly created doc
2016-07-20 15:35:25 +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
42ff5bc5aa Remove not used library from api 2016-07-18 11:32:03 +02:00
Hadi Nategh
1fcbb03153 Evaluate show_generation_time preference value before calling for pageGenTime 2016-07-15 17:25:07 +02:00
Hadi Nategh
c9f542e766 Fix chosen touch events handler to get it working for both iOS and Android 2016-07-15 15:36:49 +02:00
Hadi Nategh
4c59ea9d5f Implement touch events for jquery chosen. Fix filter-categories does not work in iOS 2016-07-15 14:16:56 +02:00
Hadi Nategh
9d054b9437 Fix asyncIncludetime in genPageTime repeats itself into DOM instead of updating the value 2016-07-15 09:35:02 +02:00
Hadi Nategh
eba29d3541 Create DOM node for pageGenTime data 2016-07-14 17:21:51 +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
b1e666245a Check and ask for the notification permission if nothing yet set 2016-07-11 12:24:59 +02:00
Hadi Nategh
f01d6bc404 Add a method to egw.notification to check API availability 2016-07-11 12:01:29 +02:00
nathangray
9b80a7d133 Fix favorite delete confirm dialog header was not translated 2016-07-07 10:19:13 -06:00
Hadi Nategh
ea200604fb Implement new nextmatch cat-filter including category colors 2016-07-07 15:45:14 +02:00