Commit Graph

1841 Commits

Author SHA1 Message Date
Hadi Nategh
d7b17e27b9 Add some more tools into simple mode 2018-12-13 12:52:10 +01:00
nathangray
e089093b89 User data request has to be synchronous or we can get many identical requests 2018-12-12 16:37:48 -07:00
nathangray
8ea0be0abf Add editableWidget to make HTML widget editable on double click 2018-12-12 15:23:13 -07:00
nathangray
33759f0cd9 Queue all concurrent server requests, but discard the earliest pending requests if the queue gets full 2018-12-12 09:32:44 -07:00
Ralf Becker
35cbfeec09 fix bundles for TinyMCE and added on for messenger 2018-12-12 17:01:49 +01:00
nathangray
9b61ac58c5 Limit concurrent server requests from nextmatch to 5, wait others until the pending ones get answered 2018-12-11 14:16:37 -07:00
Ralf Becker
b34fc0cfc2 fix not allways working transliteration of utf-8 to ascii
- using now mb_convert_encoding($str, 'html-entities', 'utf-8') if available
- remove all non-ascii as a precausing after all conversions attempts
2018-12-11 17:44:33 +01:00
Hadi Nategh
a25f8ece13 W.I.P. of modern theme with SVG icons enabled:
- add application specific id to tabs
2018-12-11 17:02:13 +01:00
Hadi Nategh
d2b3effba2 W.I.P. of modern theme with SVG icons enabled 2018-12-11 16:48:15 +01:00
Ralf Becker
01bd78e34a fix PHP 7.3 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2" 2018-12-11 12:45:50 +01:00
nathangray
68a316fb3f Fix PHP 7.2 warning "PHP Warning: Invalid argument supplied for foreach()" 2018-12-10 09:32:42 -07:00
Ralf Becker
7b69f8cfa5 * Api/Filemanager/WebDAV: fix SQL error if login error or WebDAV path contains non-ascii chars
in that case we transliterate these to ascii for storage in egw_access_log table, which only allows ascii chars
2018-12-10 16:47:16 +01:00
Hadi Nategh
b24d9f9cde Fix missing space and extra spaces in calendar's birthday tooltip 2018-12-10 14:20:35 +01:00
Hadi Nategh
d437852fe2 Fix broken width in show_dialog 2018-12-10 11:39:58 +01:00
Ralf Becker
fc95580c05 pending spanish translations from our translation server 2018-12-10 12:29:14 +01:00
Ralf Becker
a361d05767 making translations a bit more resilient for wrong charset 2018-12-10 10:59:43 +01:00
Ralf Becker
3552afa91c converting turkish translations to utf-8 2018-12-10 10:59:43 +01:00
Ralf Becker
bb2557491d * Api: truncate varchar for all DB types now, as MariaDB 10.3 also errors on to big content 2018-12-09 13:54:35 +01:00
Hadi Nategh
80fb0315d4 Make hover_action available for none detached description 2018-12-07 11:16:14 +01:00
nathangray
4bf653515a Fix PHP 7.2 warning "PHP Warning: Invalid argument supplied for foreach()" 2018-12-06 14:54:57 -07:00
Ralf Becker
a26e0717b5 remove he and rw translations, as they contain (nearly) nothing and are not selectable 2018-12-06 14:11:42 +01:00
Ralf Becker
b3079c3df6 to long http header cause Nginx to reject the response with 502
upstream sent too big header while reading response header from upstream
2018-12-06 10:56:22 +01:00
nathangray
ab76966e02 Fix taglist doesn't always show current value on load 2018-12-05 16:04:46 -07:00
Ralf Becker
b67fc51893 copy 17.1 changelog to master to satisfy update checker 2018-12-05 10:23:37 +00:00
Hadi Nategh
0efbbfb75f Fix smime messages stop activesync 2018-12-04 19:16:25 +01:00
Ralf Becker
2dc6178313 copy 17.1 changelog to master to satisfy update checker 2018-12-04 16:27:27 +00:00
Ralf Becker
dc073f858a fix tabs added by code where not reported and sometimes missing clickable class for image buttons 2018-12-04 17:05:39 +01:00
Ralf Becker
63fa1e98db * CalDAV/CardDAV: allow up to 255 char UIDs to support OutlookCalDAVSynchronizer 2018-12-04 10:51:05 +01:00
nathangray
87ea099f05 Calendar - fix selecting 'Select all' did not consistently set select_all in calendar listview 2018-12-03 15:31:12 -07:00
nathangray
de58e561a9 API - Make send() extending signature compatible parent 2018-12-03 15:31:12 -07:00
Ralf Becker
e805a02ef3 fix not working sharing if primary DB node has failed 2018-12-03 18:29:05 +01:00
nathangray
314fe706f5 If a single attachment fails, continue with the others instead of failing altogether 2018-12-03 10:19:38 -07:00
nathangray
211a8e5251 Fix PHP 7.2 deprecated each() 2018-11-29 11:00:54 -07:00
nathangray
85a3b3e027 Fix some PHP 7.2 warnings "PHP Warning: count() Parameter must be an array or object ..." 2018-11-29 10:13:49 -07:00
nathangray
ee5d7461fa Handle changes to query that were not there when sent 2018-11-28 14:57:08 -07:00
nathangray
4a8b94bed8 Fix some PHP 7.2 warnings "PHP Warning: Use of undefined constant ..." 2018-11-28 11:11:45 -07:00
nathangray
4b989d016c Log useful error message if select or radio custom field has no values 2018-11-28 11:06:17 -07:00
Hadi Nategh
579b4f6923 Remove rte_features from preferences 2018-11-28 18:06:38 +01:00
Hadi Nategh
4ec54ffd36 Fix titles for html editor toolbars 2018-11-28 11:32:42 +01:00
Hadi Nategh
fd36f854a3 W.I.P. of disableIfNoEPL attribute:
- Implement the same attribute for sidebox menu
- Fix if hideOnDisabled is enabled it will ignore the disableIfNoEPL and it will not show the menu at all
- Adopt addressbook Mail VCard menu
2018-11-27 15:22:50 +01:00
Hadi Nategh
f3ebfacc57 Introduce new action attribute to disable EPL actions via action system 2018-11-27 11:50:23 +01:00
Hadi Nategh
377766293f Fix mail with forwarded attachment may not be shown if there's no name assigned 2018-11-26 17:06:19 +01:00
Ralf Becker
ff7c7326f5 need to use "c" for partial updates, as "r+" requires the file to exits 2018-11-24 08:07:09 +08:00
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
Ralf Becker
0326f67f90 WIP getting PUT with range-requests working for chunked uploades
eg. for RAI client
With this commit it should work for regular / non-versioned files
2018-11-22 18:50:59 +08:00
Ralf Becker
dd8e9c6269 use full url-encoding for all clients as required by most clients and RFC 2018-11-22 18:15:43 +08:00
Ralf Becker
630c340ce8 * WebDAV: fix encoding for Cyberduck or Mountain Duck clients 2018-11-22 18:15:43 +08:00
nathangray
bc5c3c161c Etemplate - for value widget sums, treat empty fields as 0 2018-11-21 15:10:43 -07:00
Ralf Becker
0ea9d513e5 fix PHP 7.2 Warning count(): Parameter must be an array or an object that implements Countable 2018-11-20 08:09:13 +08:00
nathangray
132b0fca1c Change tests to try and make Widget scan happy 2018-11-15 15:11:52 -07:00
nathangray
38939f1f38 Improvements for entry widget for robustness, includes automatic server side tests. 2018-11-15 11:15:35 -07:00
Hadi Nategh
5745919c5a Fix broken tutorial onclick handler 2018-11-14 09:57:40 +01:00
nathangray
5ca429b972 ID reset has to go after parent call, or things break 2018-11-13 15:06:46 -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
9437c89d74 Missed translations reported by Stefan Unverricht 2018-11-01 11:56:09 -06: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
Ralf Becker
6b633b2c50 fix added extra line in front of content 2018-10-30 15:38:31 +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
8339ddd962 Complement part for the previous commit 2018-10-29 15:19:25 +01:00
Hadi Nategh
9c08c4cee7 Fix et2_htmlarea disabled not working 2018-10-29 15:11:32 +01:00
Ralf Becker
0f80e158ff also set Error/Errno, if database is readonly 2018-10-28 09:29:25 +01:00
Hadi Nategh
9b993e5484 Revert unintentional commit 2018-10-25 18:23:36 +02: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
e60d061183 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix selector fails when textarea id includes some specific chars
- Fix width and height
2018-10-25 16:16:39 +02:00
Hadi Nategh
b00b37efa8 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix image upload via old file_selector for etemplate apps
2018-10-25 15:31:41 +02:00
Hadi Nategh
39944322b5 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Replace fckEditor with tinymce for old etemplate apps
2018-10-25 12:32:18 +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
nathangray
2fc4caec71 * Infolog - Exclude current entry from parent select/search results to avoid loop 2018-10-24 11:11:25 -06:00
Hadi Nategh
908ee59d1a W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add missing icon
2018-10-24 14:59: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
Ralf Becker
8ae20c34b9 fix PHP Warning: array_shift() expects parameter 1 to be array, null given 2018-10-19 13:55:23 +02:00
Ralf Becker
1d826e798a fix SQLSTATE[42000]: Syntax error or access violation in filemanager
caused by not correctly quoted empty string instead of id in extended ACL
2018-10-19 13:46:06 +02:00
Ralf Becker
180c07e23c fix PHP Warning: A non-numeric value encountered 2018-10-19 09:46:30 +02:00
Ralf Becker
9e99c8608c copy 17.1 changelog to master to satisfy update checker 2018-10-18 14:33:14 +00:00
Ralf Becker
adee0b4c52 fix warning about unknown option 'ro' by filesystem streamwrapper
it is handled by vfs, so ignoring it here
2018-10-18 11:13:04 +02:00
nathangray
9be59b55bf - Accept an extra array from ajax_create
- Filter extra array by db columns
2018-10-15 14:57:24 -06: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
97eb04e75c Fix broken inline images because of wrong url 2018-10-12 16:58:38 +02: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
747e0ecda1 - Last / next event date for accounts too
- Fix bug showing deleted events
- Fix bug showing wrong next date if recurring
2018-10-11 17:09:12 -06: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
nathangray
233832b889 Remove unused title, use Api\DateTime for time conversion 2018-10-10 10:28:28 -06:00
nathangray
16ddefcecf Use custom query for last/next event instead of search 2018-10-09 15:05:35 -06:00
Ralf Becker
9f6a7e3187 fixing no grant required for inviting contacts 2018-10-09 18:59:56 +02:00
nathangray
cb902a3219 Fix complex name finding to handle select options with label & value set, not just simple key => values 2018-10-09 10:20:51 -06:00
Ralf Becker
d8e6c3b919 fix storing and retrieval of urls containing % or %25
- PUT with url containing an encoded % (%25) was stored as is, due to minimal encoding in HTTP_WebDAV_Server class, now this is changed back to store just %
- PROPFIND/REPORT was urldecoding the caldav_name/path, so % as well as %25 were reported as %25
- multiget REPORT was not finding a caldav_name containing %25 reported in PROPFIND as %2525
--> all above is working now and caldav_name with %25 or %2525 can not read via multiget
2018-10-09 18:04:34 +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
Ralf Becker
109117316c fix PHP Fatal error: Declaration of EGroupware\Api\CalDAV\Principals::delete(&$options, $id) must be compatible with EGroupware\Api\CalDAV\Handler::delete(&$options, $id, $user) 2018-10-09 13:43:25 +02:00
Ralf Becker
cc22e89242 * CalDAV: CalDAVSynchronizer: only allow owner/organizer to update or delete an event (not users with edit/delete rights) 2018-10-09 13:15:11 +02:00
Ralf Becker
985879b56c remove long decrecated use of <app>/inc/(functions|header).inc.php, giving a PHP Warning because of undefined EGW_APP_INC constant 2018-10-08 12:50:34 +02:00
Ralf Becker
d152738321 fix PHP Warning: Invalid argument supplied for foreach() 2018-10-08 12:48:46 +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
nathangray
13598f5342 Prefer most specific select options, if available 2018-10-02 14:19:12 -06:00
Ralf Becker
c950d7b0c1 check if we have a valid template and/or theme on 17.1 update 2018-10-02 12:43:29 +02:00
Hadi Nategh
d022e555d5 Fix xhr url in Offline options 2018-10-02 10:12:40 +02:00
nathangray
f2cfd94391 Add a keep emails flag (default true), set to false to skip saving merged emails to sent folder 2018-10-01 11:16:17 -06:00
nathangray
20629e2a16 Mail merge - Accept false as folder to skip saving to mail folder 2018-10-01 11:15:31 -06: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
nathangray
dd8fc59d6a * Addressbook - fix birthday cache was not cleared when birthday edited 2018-09-26 11:27:50 -06:00
Hadi Nategh
b7c359a6f1 * Mail: implement new preference to configure mail identity label shown as mail folder header 2018-09-25 15:00:01 +02: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
5615fbf15e Fix commit 4bd103fd7d 2018-09-24 15:00:17 +02:00
Hadi Nategh
475a25b66c Add list of states for more countries 2018-09-24 14:23:58 +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
nathangray
4a819f70d4 Move grant cache to class level to ease testing 2018-09-20 11:05:17 -06:00
Ralf Becker
f7d09e9ec0 * CalDAV: work around problems with Outlook CalDAV Synchroniser (https://caldavsynchronizer.org/)
- sends a DELETE to reject a meeting request --> deletes event for all participants, if user has delete rights on the calendar
- always sends all participants back with status NEEDS-ACTION --> resets status of all participant, if user has edit rights
--> remove all add, edit, delete rights from other users
2018-09-20 15:58:00 +02:00
Hadi Nategh
9e1d9e143e * Mail: fix deleting mails from draft folder does not respect "move to trash" in delete message preference 2018-09-20 15:25:11 +02:00
Hadi Nategh
66bb77b37c Fix 7-5 days switch action in calendar toolbar does not show a right cursor 2018-09-20 14:25:24 +02:00
Hadi Nategh
4bd103fd7d Make sure whitespaces are removed from certkey before doing comparison 2018-09-20 14:14:05 +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
nathangray
e805551575 Keep image tags when merging into HTML templates 2018-09-18 10:21:36 -06:00
Hadi Nategh
1c9836f95e Add more regions into country class 2018-09-18 17:04:37 +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
Ralf Becker
1eb64136ce fix not working login with permanent redirect to login page: session could not be verified 2018-09-17 15:03:19 +02:00
Ralf Becker
5ceabc8e96 fix parsing of boolean attributes:
- no defaults for disabled/readonly as it defaults depend on readonlys[__ALL__] is set or not
- only cast value to boolean, if it does not contain a variable eg. "!@no_something"
2018-09-17 11:16:38 +02:00
Ralf Becker
321b56e2b6 * Addressbook: private addressbook in newer installations could not be enabled
caused by forced preference value of false casted to string as "", now we write all forced and default preferences with value false as "0" AND update all forced preferences only from "" to "0"
2018-09-14 14:02:51 +02:00
nathangray
cabbacf229 Missing translations from Stefan Unverricht 2018-09-13 14:26:54 -06:00
nathangray
752138cc16 Make link-to results list taller, search box in nextmatch header wider 2018-09-13 11:44:27 -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
Ralf Becker
e483ec4957 automatic cast and defaults for boolean attributes
Not all attributes are implemented, as many dont play any role on server-side.
Fixes taglist-account multiple="false" returns array(<selected id>)
2018-09-13 14:57:50 +02:00
nathangray
822b967fe3 Better handling of HTML tables when merging.
Fixes table within table broke format parsing.
2018-09-12 16:46:36 -06:00
Ralf Becker
9f3f3e501d fix PHP Warning: Use of undefined constant OPENLDAP_LDAPSERVER 2018-09-12 17:06:31 +02:00