Commit Graph

565 Commits

Author SHA1 Message Date
Hadi Nategh
8d359ee39f Fix nextmatch rendering issue when it's inside an inactive tab 2018-11-23 10:44:50 +01:00
Hadi Nategh
ce20aaaba8 Fix typo for previous commit 2018-11-22 16:48:32 +01:00
Hadi Nategh
b6e0cc7fcc Fix tinymce steals focus from already focused element after executing a command 2018-11-22 15:42:14 +01:00
nathangray
bc5c3c161c Etemplate - for value widget sums, treat empty fields as 0 2018-11-21 15:10:43 -07:00
nathangray
38939f1f38 Improvements for entry widget for robustness, includes automatic server side tests. 2018-11-15 11:15:35 -07:00
nathangray
2bf7e14477 Etemplate - add custom field sub-fields for app-entry widgets
- add regex & regex_replace attributes to change value around
2018-11-13 14:11:26 -07:00
Hadi Nategh
48ad4f6d25 Make sure value is set before using it 2018-11-06 16:31:17 +01:00
Hadi Nategh
bb60ddd040 * Api: fix radiobox not return current selected value but the first value 2018-11-06 14:32:15 +01:00
nathangray
78752738d2 Fix Select All sometimes misses rows if there's between 50 and 1000 and you scroll down 2018-11-05 15:54:26 -07:00
Hadi Nategh
7089489db9 Hide editor statusbar from compose dialog 2018-11-05 15:35:13 +01:00
nathangray
5c03107500 Fix Select All sometimes misses rows if there's between 50 and 1000 2018-11-02 14:54:13 -06:00
Hadi Nategh
b86e2e2e6f Try to pass context on when binding events because there might be some other plugins using those events too. Fix broken avatar cropper. 2018-11-02 10:00:08 +01:00
nathangray
4f111e69d3 Etemplate - change default empty label for multiple user/group selection to more appropriate 'Select user or group' 2018-11-01 11:54:50 -06:00
Ralf Becker
2f1333a116 return and show in browser JSON parsing errors maybe caused by network problems
server sends HTTP status "400 Bad Request" with JSON payload with "error" and "errno" attributes.
error is json_last_error_msg() prefixed with "JSON ".
Not yet implemented is resending the request (max. twice) for JSON parsing errors to try to work around network problems
2018-11-01 12:00:08 +01:00
Hadi Nategh
a635ac34b4 Fix wrong constructed src url 2018-10-31 14:41:36 +01:00
Hadi Nategh
2690ec5053 Introduces avatar.php and replaces all addressbook.photo urls accordingly 2018-10-31 13:49:51 +01:00
Hadi Nategh
e6735f635d W.I.P. migration of mainscreen to et2:
- Fix extra space added when save the entry
- Fix htmlarea not getting a right height when is in inactive tab
2018-10-30 12:02:55 +01:00
Hadi Nategh
9c08c4cee7 Fix et2_htmlarea disabled not working 2018-10-29 15:11:32 +01:00
Hadi Nategh
16fe435de4 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix language setting
- Update TinyMCE
2018-10-25 18:18:47 +02:00
Hadi Nategh
b0891483cc W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add language packages
2018-10-25 10:54:31 +02:00
Hadi Nategh
7e25284816 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add configurable toolbar as preference
- Do not load CkEditor until it's used
2018-10-24 14:48:19 +02:00
Hadi Nategh
44ef6a0a30 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix CKEditor widget
- Fix editor doesn't work if no imageUpload is set
2018-10-23 17:10:33 +02:00
Hadi Nategh
345c3c2611 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add d-n-d image upload
2018-10-23 15:50:55 +02:00
Hadi Nategh
f62c5d8ea5 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Implement vfs file selector
- Add/remove more actions from toolbar
2018-10-23 13:04:20 +02:00
Hadi Nategh
987727f5fa W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add code plugin in order to be able to edit html script
2018-10-23 10:28:13 +02:00
Hadi Nategh
236006b795 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Keep editor toolbar in one line at least for mail compose
- Add a preference to enable/disable menubar at the top of editor
- Respects mode preference
2018-10-22 12:37:45 +02:00
Hadi Nategh
1cbd0aa2a3 W.I.P. implementing TinyMCE editor and deprecating CKEditor 2018-10-19 16:35:18 +02:00
Hadi Nategh
b39bcc8c36 Remove unintentional commited part from commit a9a303a 2018-10-19 14:59:20 +02:00
nathangray
289e6079f7 Last / Next date
- Fix list title back to just date
- Link leads to actual recurrence for recurring events
2018-10-12 10:51:46 -06:00
Hadi Nategh
01a54413a2 Unbind events after widget gets cleared from DOM to avoid calling events like onchange for second time (eg. infolog projectmanager selection) 2018-10-12 11:29:21 +02:00
nathangray
117b559a5e Entry share changes
- Writable share is now a checkbox
- Add Sharing -> Merge entry into email template, share gets selected options
- Add {{share}} placeholder which creates (by default) read only share
2018-10-11 12:54:17 -06:00
Hadi Nategh
970fb80675 Respect async flag with set false value 2018-10-11 14:14:21 +02:00
Hadi Nategh
c3c887da98 Fix set_account_data turns into an infinite loop because of async ajax call 2018-10-09 17:41:38 +02:00
nathangray
c197d15a28 Explicitly set async to false for user list 2018-10-04 16:09:42 -06:00
nathangray
20956c4966 Explicitly set async to false for user list 2018-10-04 16:01:44 -06:00
nathangray
590446a701 Use framework tooltips for toolbar button tooltips instead of browser titles
Avoids Firefox actually changing the title text sometimes
2018-10-04 15:21:03 -06:00
Hadi Nategh
cceba01f87 Change default value for async json_request to true 2018-10-04 17:48:13 +02:00
Hadi Nategh
577850cfd0 * Api: change default submit to async call and try to block user interfering with submitted popup until the response 2018-10-04 17:23:30 +02:00
Hadi Nategh
d022e555d5 Fix xhr url in Offline options 2018-10-02 10:12:40 +02:00
Hadi Nategh
54cafd15d7 Implement Online/Offline connection indicator 2018-10-01 15:54:42 +02:00
nathangray
3daa25ca1a Only set taglist empty label for editable widgets 2018-09-28 10:49:12 -06:00
nathangray
92e818f429 Explicitly set taglist empty label 'Select some options' when missing so it can be translated 2018-09-27 11:46:29 -06:00
Hadi Nategh
13f3cc5260 Fix some issues with select-country widget:
- Country selection in preferences does not respect selected value
- Fix missing empty labels in country selection in preferences
- Remove flag image from empty labels
2018-09-25 11:24:22 +02:00
Hadi Nategh
2010850c16 Fix couple of issues regarding AB country and region selections:
- Use taglist-state widget for US state selector
- Make sure falg class only gets added for select-country widget
- Fix some styling
2018-09-24 13:48:24 +02:00
Hadi Nategh
6c4cc97a5f Implement new taglist widget to represent list of regions of a selected country 2018-09-19 16:43:19 +02:00
Hadi Nategh
cdae6c4b01 Fix country-select does not set flag when switching between countries 2018-09-18 16:05:32 +02:00
Hadi Nategh
82065b51c3 Fix unwanted autocomplete showing up for country-select widget 2018-09-18 15:16:51 +02:00
Hadi Nategh
6e94639b0a Implement flags indication for country-select widget:
- Migrate AB country selector to select-country tags
- Migrate Country selector in preferences to use select-country tags
2018-09-18 10:46:36 +02:00
nathangray
cabbacf229 Missing translations from Stefan Unverricht 2018-09-13 14:26:54 -06:00
nathangray
4bafc12326 Remove doubled taglist header 2018-09-13 11:17:30 -06:00
nathangray
075c7851db Translate taglist option labels 2018-09-13 11:16:20 -06:00
nathangray
be34f95723 Add template fetch fallback using egw.link() if template_base_url fails 2018-08-24 12:03:19 -06:00
nathangray
e4308f3d27 Fix positioning to center after template is loaded 2018-08-23 15:41:14 -06:00
Hadi Nategh
08b9138ae6 Fix tutorials json feed and PGP Installation tutorial video 2018-08-23 14:54:37 +02:00
Hadi Nategh
36a6efe837 Fix missing translations for PGP Back/restore feature 2018-08-23 13:47:04 +02:00
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