Commit Graph

1144 Commits

Author SHA1 Message Date
Ralf Becker
508f3f81e2 fix SQL error when ordering by custom-field
as $order_by parameter can contain more then just order by columns, 
eg. group by clause
2019-01-22 17:14:40 +01:00
Hadi Nategh
b2c109ed37 Fix typo 2019-01-22 12:59:15 +01:00
nathangray
91fffd045e * Api - Fix linking into new entries fails with SQL error 2019-01-21 11:22:21 -07:00
Hadi Nategh
32dc0decf5 * Mail: add default value settings for S/MIME passphrase expiration in site configurations 2019-01-18 16:19:08 +01:00
Ralf Becker
668ba6f632 PostgreSQL needs more casts / abstraction to fix SQL error
contact_id/account_id are int, but cal_user_id is varchar
2019-01-18 10:48:36 +01:00
Hadi Nategh
941beda159 Fix cache control not being set for lavatar 2019-01-17 15:56:21 +01:00
Ralf Becker
da4929546a * Addressbook/PostgreSQL: fix SQL error when last/next date column is enabled 2019-01-16 19:46:02 +01:00
Ralf Becker
4b73aee7c8 * All apps: fix linking of filemanager files to entries, if there is no file yet 2019-01-16 18:41:58 +01:00
Hadi Nategh
a9dc895ca6 Set header content type for avatar 2019-01-16 16:48:05 +01:00
Hadi Nategh
8b661df737 Remember recently used folders in vfs select 2019-01-14 17:43:43 +01:00
Ralf Becker
bad2c9e571 fix SQL error for MariaDB 10.3 on inserting 4-byte utf-8 chars
enabling the replacement now uncoditional for MySQL/MariaDB
2019-01-14 12:08:34 +01:00
Ralf Becker
2ace2ff4ed fix PHP Fatal in non EPL: Class 'EGroupware\Api\Api\Framework' not found 2019-01-11 20:56:02 +01:00
nathangray
f8c742cdbb * Preferences - Add 'Firstname Lastname (Primary Group)' and 'Lastname, Firstname (Primary Group)' as account display options 2019-01-09 10:41:36 -07:00
Ralf Becker
bd2dcc293d * Filemanager: treat GoodSync _gsdata_ directory as hidden / not shown by default 2019-01-09 17:55:06 +01:00
Ralf Becker
54bd5eac99 * show maintenance release as version-number everywhere 2019-01-09 10:39:02 +01:00
Ralf Becker
92c22ff529 fix PHP Warning: Use of undefined constant REQUEST_URI 2019-01-08 09:51:43 +01:00
Ralf Becker
26313db8f7 fix not working mail-integration because of "extra logging" tried to convert imap object to a string 2019-01-07 18:49:22 +01:00
Ralf Becker
86ec8ee17d fix TypeError: Argument 6 passed to Nextmatch::call_get_rows() must be an instance of Etemplate\Widget or null
fix calendar edit gives an error when using [Save] button in list-view
2019-01-07 18:13:08 +01:00
Hadi Nategh
4d8a55fb17 Handle VFS full path when generating VFS select contents 2019-01-07 15:05:56 +01:00
nathangray
d21e848883 Turn on some extra info to help figure out cause of 'Illegal offset type' warning 2019-01-04 10:49:55 -07:00
nathangray
089baa12a9 Avoid warning if no external domain preference set 2019-01-04 10:38:09 -07:00
Ralf Becker
fb801dafe3 quiten permanen error_log 2018-12-25 09:32:03 +01:00
nathangray
41b95af046 Commit session right after we get rows from app 2018-12-20 10:03:12 -07:00
Hadi Nategh
490d79f774 Do not touch email addresses when creating a plaintext message 2018-12-20 16:57:46 +01:00
nicorac
a33665e373 Removed source file with clashing filename and a typo in contained class name 2018-12-20 10:00:03 +01:00
Nathan Gray
d40a282f0d
Merge pull request #47 from neomorina/patch-5
Update Taglist.php
2018-12-19 10:04:40 -07:00
nathangray
19ead4c1cc Fix some more PHP 7.2 warnings
Remove some calls to deprecated each()
2018-12-18 09:49:29 -07:00
Hadi Nategh
376be571ba Fix php warning when there's no s/mime recipientsCerts 2018-12-18 14:27:25 +01:00
nathangray
6a6ef64793 Addressbook - add additional config option to only show Last/Next date for contacts 2018-12-17 10:04:20 -07:00
Ralf Becker
339819f406 fixing sometimes too small files caused by last chunk being bigger then other chunks 2018-12-14 16:21:12 +01:00
Ralf Becker
fc2cd455ca setting a bigger chunkSize for resumable to improve upload speed (has to be 2^N!) 2018-12-14 15:16:15 +01:00
Hadi Nategh
e52f3493f1 Prevent select widget from loading when running setup-cli. Fixes travis failure. 2018-12-14 11:15:28 +01:00
Hadi Nategh
40fe3c0ce2 Try fixing loading order by explicitly select widget to load first 2018-12-14 10:43:59 +01:00
Hadi Nategh
213c8343ab Revert commit f8134a3416 2018-12-14 10:00:45 +01:00
nathangray
f8134a3416 Does this make you happy, Travis? 2018-12-13 16:04:18 -07:00
Ralf Becker
35cbfeec09 fix bundles for TinyMCE and added on for messenger 2018-12-12 17:01:49 +01: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
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
Ralf Becker
a361d05767 making translations a bit more resilient for wrong charset 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
nathangray
4bf653515a Fix PHP 7.2 warning "PHP Warning: Invalid argument supplied for foreach()" 2018-12-06 14:54:57 -07: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
Hadi Nategh
0efbbfb75f Fix smime messages stop activesync 2018-12-04 19:16:25 +01: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
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
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
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
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
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
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
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
nathangray
2fc4caec71 * Infolog - Exclude current entry from parent select/search results to avoid loop 2018-10-24 11:11:25 -06: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
1cbd0aa2a3 W.I.P. implementing TinyMCE editor and deprecating CKEditor 2018-10-19 16:35:18 +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
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
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
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
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