Commit Graph

1470 Commits

Author SHA1 Message Date
nathangray
5dfacd160f * Addressbook - Add preference to turn off user groups as distribution lists 2018-04-30 10:02:43 -06:00
nathangray
869d50d96f Change account filtering to give accounts when asked even if accounts are hidden in preferences 2018-04-30 09:36:51 -06:00
Hadi Nategh
c7f3b70b85 Increase cred_password field size in DB to be able to get fit large smime pkey. 2018-04-27 16:29:12 +02:00
nathangray
4222aab586 Api - Stop adding calcext:value-type attributes when merging to spreadsheets, they're no longer used and can cause a warning with recent templates 2018-04-24 08:47:27 -06:00
nathangray
c7d84ff9f0 Fix mail merge into mail template excluded BCC 2018-04-23 08:51:31 -06:00
Ralf Becker
ed1dd7731f Translations from Stefan Unverricht 2018-04-20 10:09:12 -06:00
Ralf Becker
e828d0564c * EMail: fix searching in email gives an error
reverting commit 5bd63482ea as the implemented __isset and ArrayAccess interface hide the one implemented by parent Horde_Imap_Client
2018-04-20 10:41:44 +02:00
nathangray
59483c4b79 * Api - Fix references to sub-fields of custom field entries only merged for the first entry of each type 2018-04-17 09:36:12 -06:00
Ralf Becker
cb3de8cf91 implement __isset and ArrayAccess for Imap, to allow eg. to use empty($imap->attribute) 2018-04-17 10:34:12 +02:00
Ralf Becker
8743ed7d0e Changelog for 17.1.20180413 2018-04-13 14:20:39 +00:00
Ralf Becker
3d449c6a33 fix PHP 7.2 Warning: The each() function is deprecated 2018-04-13 16:09:44 +02:00
Ralf Becker
8275f3401e * Setup: updates from old versions (eg. 1.4 or 1.8) no longer require to update to 14.x and 16.1 first 2018-04-13 13:49:30 +02:00
Ralf Becker
56d60ed64f fixing a couple more PHP Warning count(): Parameter must be an array or an object that implements Countable 2018-04-13 09:14:29 +02:00
Ralf Becker
1495a8b0b2 * Setup/Restore: restore from a other charsets then utf-8 failed 2018-04-12 18:01:46 +02:00
Ralf Becker
e613c59dc3 * All apps: fixed moving attachments to new entries (without attachments) lost moved file 2018-04-12 15:14:26 +02:00
Ralf Becker
298a2041ab * CalDAV/resources: fix wrong ACL/rights send to clients (PHP warning in log) 2018-04-12 13:05:14 +02:00
Hadi Nategh
44fe27f2b8 Fix file upload button does not cover its caption 100% 2018-04-11 16:45:35 +02:00
Hadi Nategh
52ee93dd8d Add some translations, thanks to Evgen Vodopivec. 2018-04-11 16:01:59 +02:00
Hadi Nategh
e7458a33a6 Add and fix some translations, thanks to Stefan Unverricht. 2018-04-11 15:20:22 +02:00
Ralf Becker
e6ccdba871 run fastcgi_finish_request also for non-compat install 2018-04-11 15:07:01 +02:00
Ralf Becker
8cd1707736 fix shutdown functions did not have $GLOBALS[egw] set, caused by session created by MServer 2018-04-11 15:07:01 +02:00
Ralf Becker
0bac07f1ba fixing function and test 2018-04-11 14:06:54 +02:00
Ralf Becker
188865566b limit filesystem depth for managed attachments to gard against infinit recursion 2018-04-11 11:26:26 +02:00
Ralf Becker
c795f13f81 remove 4-byte unicode when cleaning subjects 2018-04-11 11:24:53 +02:00
Ralf Becker
d647c197a7 fix smime key got immediatly deleted again 2018-04-10 15:22:42 +02: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
Ralf Becker
b968f65b4a fixing not working links stream-wrapper 2018-04-10 08:56:20 +02:00
Ralf Becker
4c99e0bf99 fix Scrutinizer issue (seems to be some left over old code) 2018-04-09 17:36:35 +02:00
Ralf Becker
0d984589ff * PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage 2018-04-09 17:36:35 +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
53a4130722 Fix move/copy actions in link_to widget vfsSelect try to create not unwanted new symlink 2018-04-04 17:55:14 +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
Hadi Nategh
30a9f76134 Add some translations, thanks to Evgen Vodopivec. 2018-04-03 11:26:59 +02:00
Hadi Nategh
7ac0e33fbb Make sure mail_bo object is there before using it, fixes error "can not call undefined function reopen()" 2018-04-03 10:34:52 +02:00
nathangray
41726e4293 * Etemplate - Stop times from advancing 1 hour shortly after DST 2018-03-29 09:56:47 -06:00
Hadi Nategh
045974085f Fix translation 2018-03-29 17:43:48 +02: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
293736a169 Fix translation 2018-03-28 11:34:13 +02:00
Hadi Nategh
4b61143e89 Add translation for "previous" button in notifications 2018-03-28 11:33:52 +02:00
Hadi Nategh
7f4af547d7 Try to avoid fullwidth for some specific widgets in customfields list 2018-03-28 11:22:56 +02:00
Hadi Nategh
e299c90f76 Make second column of customfields list fullwidth 2018-03-28 11:22:42 +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
b532c21653 Add some translations, thanks to Stefan Unverricht. 2018-03-26 14:32:09 +02:00
Hadi Nategh
fd3c5a56b6 Fix broken priority icons in mail compose 2018-03-26 12:43:08 +02:00
Hadi Nategh
a0ac4ed927 Fix merge replace placeholders causes huge performance issue. Additionally, fixes the extra $ sign shown up in replaced placeholders. 2018-03-23 16:48:02 +01:00
Ralf Becker
442da1e381 * Sharing/Collabora: fix not working cleanup of temp. files and shares
- 14.x installs had the job created with old class-name egw_sharing
- Wopi shares where never cleaned up, they are now after 3 month
2018-03-22 13:12:50 +01:00
Ralf Becker
7e05055a1f Changelog for 17.1.20180321 2018-03-21 12:17:41 +00:00
Ralf Becker
762c60a61f new method Api\Framework::getUrl() to get a full / externally usable Url 2018-03-21 12:40:59 +01:00
Ralf Becker
8c23fca35e do NOT use hostname configured in setup, if it is the default localhost
stick with HTTP Host header in that case
2018-03-21 11:45:25 +01:00
nathangray
e7df918794 Re-init static streamwrapper, as some of them look at permissions or preferences 2018-03-20 15:22:50 +01:00
Hadi Nategh
796f485117 Remove not used csp method 2018-03-20 15:04:28 +01:00
Ralf Becker
d426394685 correctly propagate readonly for sharing and Collabora 2018-03-20 11:54:33 +01:00
Hadi Nategh
be4696b857 Get Collabora+Sharing into latest stable version 2018-03-19 16:05:43 +01:00
Ralf Becker
6835fd023e * API: webservice call when password has been changed outside EGroupware to eg. re-encrypting (mail) credentials
Can be used eg. via CURL *after* password has been changed:
echo '<new-password> | curl --user <username> --data-raw '<old-password>' -X POST https://egw.domain.com/egroupware/api/changepwd.php
2018-03-16 11:02:52 +01:00
Ralf Becker
13c564e6a6 remove due to own table in 17.1 no longer needed migration of (private) custome-fields 2018-03-14 14:55:40 +01:00
stefanwerfling
1fe5478761 Update autoload.php
- add interface exist check for interface loading by vendor classes
2018-03-13 17:04:56 +01:00
Ralf Becker
0984cb7d8e * AD/LDAP migration: change favorites and index states too 2018-03-12 21:23:49 +01:00
Hadi Nategh
4ed5e06295 * Addressbook: Implement new feature to send vcard of contact to an already opened mail compose dialog 2018-03-12 17:46:56 +01: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
2090d4f43a WIP framework's popup storage/restore:
- Add missing template
2018-03-12 17:42:27 +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
nathangray
183ee014c6 API - Avoid issue with incompatable types by forcing to array, even if no account found 2018-03-12 09:02:52 -06:00
Ralf Becker
c4c57acf3d * EMail/Tracker/InfoLog: fix error converting mails by replacing 4-byte utf8 chars
MySQL and MariaDB before 10.1 need 4-byte utf8 chars replaced with our default utf8 charset
(MariaDB 10.1 does the replacement automatic, 10.0 cuts everything off behind and MySQL gives an error)
Changing charset to utf8mb4 requires schema update, shortening of some indexes and probably have negative impact on performace!
		if (substr($this->Type, 0, 5) == 'mysql' && $this->ServerInfo['version'] < 10.1)
		{
			$value = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $value);
		}
2018-03-12 14:03:52 +01:00
Hadi Nategh
98f4abc0db Add a fallback site title to avoid showing undefined as title 2018-03-12 12:18:39 +01:00
Ralf Becker
9ce0feaf9b * Api: use proxy configuration when downloading available tutorial videos 2018-03-12 11:19:10 +01:00
Hadi Nategh
569c7d2218 Fix tutorials.json url to use https 2018-03-12 11:08:38 +01:00
Ralf Becker
181747d006 Fix not working textbox validators containing backslashes
PHP xml parser reads backslashes literal from attributes, 
while JavaScript ones need them escaped (eg. like PHP strings)
-> replace \\ with \ to get following XML working: validator="/^\\d+$"
2018-03-10 17:57:12 +01:00
nathangray
b475edc7a2 Silence warning about time in array format by passing it to constructor 2018-03-09 15:15:36 -07:00
Ralf Becker
09b6d37a04 * ActiveDirectory: additional allow accountExpires=0 for never expires
(beside attribute is not set or has value 9223372036854775807)
2018-03-09 19:57:09 +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
nathangray
562e690f85 * Mail - Improvements to list display in address search results
Now automatic group lists & created distribution lists limited to 10 each
If there are more, this is indicated with ellipsis
2018-03-07 11:44:39 -07:00
Hadi Nategh
f97c18c108 * Mail: Fix "tel:" href links wrongly get denied by mail compose 2018-03-05 18:21:06 +01:00
Hadi Nategh
d7ce6af567 Fix mail with a bold digits gets removed from text part 2018-03-05 17:32:16 +01:00
Hadi Nategh
bba57a254b Fix broken sharing caused by commit 89a8e6f448 2018-03-05 11:15:35 +01:00
Hadi Nategh
a987ddbe85 Make sure replace only and only VT char (Vertical Tab) 2018-03-02 12:14:17 +01:00
Ralf Becker
4ada67ee81 if we can not store failed login attempts in database, store it in cache 2018-02-28 18:02:53 +01:00
Ralf Becker
e4a5d599a2 * All apps: multiselect custom-field switches to single select after submit 2018-02-28 13:42:36 +01:00
Ralf Becker
ec9cc20c11 Switching consistent hashing (Libketama) off by default
as for just 2 Memcached servers it creates an extrem unbalanced 
distribution favoring the 2. server and has no benefits,
as requests to the failed node can only go to the other one anyway.
2018-02-28 10:47:35 +01:00
nathangray
5807fd0f43 * InfoLog/PHP7.1: fix fatal error stalling merge-print of some InfoLog templates under PHP 7.1+
Make prefix argument optional
2018-02-28 10:15:51 +01:00
Ralf Becker
e437a92c7e update to EGroupware GmbH and 2018 2018-02-26 14:06:14 +01:00
Ralf Becker
64aba9cbb9 * Admin: new config to generate no or lowercase email addresses for new users 2018-02-20 09:17:17 +01:00
Hadi Nategh
00cd9175e9 Add closing timer on notifications 2018-02-19 17:21:03 +01:00
nathangray
da586c3512 Use abstraction to determine mime type, see 9a398594ac 2018-02-15 10:20:02 -07:00
nathangray
f262fed4b2 Place check on session first to avoid errors if it's missing 2018-02-15 09:30:08 -07:00
nathangray
f4e2230191 * Etemplate - Don't trust browsers mime if we don't have to - fixes incorrect mime types and Resources rejecting pictures 2018-02-15 08:42:22 -07:00
nathangray
564a4cab5d * Admin - fix group list filter & sort
- Remove created & modified columns since they're not stored for groups
- Fix email sort
- Fix search returned all results
2018-02-15 08:41:29 -07:00
Hadi Nategh
027af2c760 * Mail: Fix spacing issue between grouped toolbars 2018-02-15 15:14:39 +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
Ralf Becker
c9cc1f2e63 fix PHP Warning if keys contain a backslash as in namespaced classes 2018-02-15 09:56:39 +01:00
nathangray
a1a43afe53 * Api - Fix sharing from mounted shares failed with 404 2018-02-14 10:30:23 -07:00
Ralf Becker
cf722f6d01 * Filemanager/Sharing: fix PHP 7.1 error causing auth request to popup
Session only stores app-names and $GLOBALS[egw_info][user][apps] gets restored from $GLOBALS[egw_info][apps] for the allowed app-names. Check if we need to restore from installed apps array was using is_array($GLOBALS[egw_info][user][apps][api]) instead or isset($GLOBALS[egw_info][user][apps][0]), as check if it is a real, non associative array
2018-02-14 09:47:32 +01:00
Ralf Becker
d2479a71f8 Changelog for 17.1.20180209 2018-02-09 11:12:29 +00:00
Ralf Becker
fc42b3474d pending DE and SK translation from Stefan Unvericht 2018-02-09 12:06:22 +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
9d5ddc84e2 * Filemanager: Add an user preference for being able to chose whether opening a merge print document should download it or open it with collabora editor 2018-02-08 14:24:05 +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
Hadi Nategh
0bbbad3a8c Allow custom theme for mobile template 2018-02-08 10:31:23 +01:00
nathangray
e9d29852ad * Api - Fix some spelling errors, reported by Stefan Unverricht 2018-02-07 13:31:50 -07:00
Ralf Becker
56f9c9478d also fixing preg for email with optional domain part 2018-02-05 19:13:49 +01:00
nathangray
8231f44ce2 Attempt to prefer user's date format when parsing date from a string.
Should fix merging into spreadsheet problems with certain date formats (dd/mm/yyyy)
2018-02-05 10:11:59 -07: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
Hadi Nategh
189de3ddda * Addressbook: Fix avatar photo gets removed when adding category to contact via contextmenu 2018-01-31 18:25:40 +01:00
Ralf Becker
886655597c Changelog for 17.1.20180130 2018-01-30 16:34:48 +00:00
Ralf Becker
a23be28d97 allow user & password again as in http://user:pass@example.com/ to fix tests 2018-01-30 17:03:38 +01:00
Ralf Becker
4d35e42eeb allow private IP addresses (starting with 10.|169.254.|192.168.) too 2018-01-30 16:20:43 +01:00
nathangray
c1e03779ff Switch phrase to one already translated, make confirmation dialog a little wider 2018-01-29 16:32:41 -07:00
nathangray
782deb84f1 Fix wiki links did not load properly after login if your session was expired 2018-01-29 08:43:39 -07:00
Ralf Becker
a17f2fc0b7 update/add support options in setup and about EGroupware page 2018-01-29 12:50:58 +01:00
Ralf Becker
30645713c6 * LDAP/ActiveDirectory: fix sorting accounts by anything other then account-name fails 2018-01-29 12:49:33 +01:00
Ralf Becker
ee68f41be2 using PHP_BINARY constant instead of - sometimes not set - $_SERVER['_'] 2018-01-26 14:17:07 +01:00
Ralf Becker
f28fbb06fa make NM lettersearch lettes translatable via phrase "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 2018-01-24 10:11:55 +01:00
Ralf Becker
297ff61523 * Mail: fix invalid domain name in headers stall whole mailbox
Horde_Idna::decode() and Horde_Mime_Headers::toArray() throws Horde_Idna_Exception for invalid domain names in email addresses like "test@-domain.com", which stall display of whole folder
2018-01-23 13:01:52 +01:00
Ralf Becker
a291fbeac6 fix call to protected method EGroupware\Api\Mail::clean_subject_for_filename() from context mail_integration 2018-01-23 09:29:25 +01:00
nathangray
e3ad2ebdf0 Mail - Reorganize and use same cleaning function when saving mail as infolog as for saving to VFS 2018-01-22 09:18:16 -07:00
Ralf Becker
b26c82bae6 allow to sepecify last security release for multiple major versions 2018-01-21 10:29:03 +01:00
Ralf Becker
178b476aad Changelog for 17.1.20180118 2018-01-18 09:06:55 +00:00
Hadi Nategh
7e1b5602f1 * Mail: Fix a security issue when sharing of attached files as download links in compose dialog exposes all folders as readonly shares 2018-01-17 17:56:09 +01:00
nathangray
aae5094797 * Allow private custom fields in notifications, with filtering according to set permissions. Private custom fields are removed from notifications to non-users. 2018-01-15 12:52:33 -07:00
nathangray
001821175b * API - Make sure private custom fields are not accidentally included in notification due to being cached 2018-01-15 12:52:15 -07: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
Neo Morina
e47ecfbe82 Made some changes at egw_actions
This is a usefull for opening "second level results" as a popup.
"Second level results" couldn't get opened as a popup at Project Manager app when i try to add a new Project as Template at the selected Project.
2018-01-11 10:27:28 -07:00
Hadi Nategh
757c58acc9 Add proper icon for vfsSelect submit button 2018-01-04 12:03:11 +01:00
Ralf Becker
f296889dda Changelog for 17.1.20171218 2017-12-20 06:11:08 +00:00
nathangray
335b3d2f9e Etemplate - make sure nextmatch action popups get properly closed 2017-12-18 14:52:06 -07:00
Ralf Becker
be8b18cf90 allow to specify a date-format in custom-fields using eg. format=Ymd, as it was possible in 11.1 in len field 2017-12-18 14:42:22 +01: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
e6c50537f9 Add more translations, thanks to Stefan Unverricht 2017-12-18 10:43:16 +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
d5ac9b90a8 * Mail: Fix empty trash/empty junk actions causes error in some mail servers, e.g. Cyrus. 2017-12-15 15:25:16 +01:00
Hadi Nategh
aeec7a869f Fix collabora can not open vfs symlinks from apps 2017-12-13 10:17:45 +01:00
nathangray
08f0073361 Add flag for select all to collabora action 2017-12-11 11:22:32 -07:00
Hadi Nategh
80576f7956 * Mail: fix vacation notice still sending out notification mail even if the original mail is a spam. 2017-12-08 13:54:54 +01:00
Ralf Becker
db6e6b376f replace from PostgreSQL not understood && with standard AND 2017-12-07 17:28:54 +08:00
Ralf Becker
42ea57c124 * All apps/PostgreSQL: fix SQL error when deleting an entry without attachments 2017-12-07 17:21:26 +08:00