Commit Graph

1441 Commits

Author SHA1 Message Date
nathangray
6be5b8f678 Fix editing a file through gave not found error if the symlink was in a versioned directory 2018-03-15 16:55:43 -06:00
Hadi Nategh
65b2588d65 Add missing negation from commit 600872a4bf 2018-03-15 12:24:19 +01:00
nathangray
b5a4b050d5 WIP - Sharing test - some debug, starting to test writable 2018-03-14 15:14:34 -06:00
Hadi Nategh
600872a4bf An attempt to fix broken collabora sharing which originally got broken by commit f166fbdd46 in order to get mounted template sharing fixed. 2018-03-14 18:58:30 +01:00
Ralf Becker
dcb78d9776 remove due to own table in 17.1 no longer needed migration of (private) custome-fields 2018-03-14 14:50:46 +01: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
Ralf Becker
ddd4127ee7 * AD/LDAP migration: change favorites and index states too 2018-03-12 21:22:12 +01:00
nathangray
357e5a3326 Re-init static streamwrapper, as some of them look at permissions or preferences 2018-03-12 13:51:04 -06:00
Hadi Nategh
5de5c09207 Fix styling of opened popups selector dialog 2018-03-12 17:05:49 +01:00
Hadi Nategh
2d71cdf0f5 Fix tracking of opened popups not working after framework reload 2018-03-12 17:04:17 +01:00
Ralf Becker
c2c1bdb6ad * 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:02:13 +01:00
Hadi Nategh
72bc17abf7 Add a fallback site title to avoid showing undefined as title 2018-03-12 12:16:50 +01:00
Ralf Becker
163c87db82 * Api: use proxy configuration when downloading available tutorial videos 2018-03-12 11:16:57 +01:00
Hadi Nategh
fbf63bf65c Fix tutorials.json url to use https 2018-03-12 11:08:09 +01:00
Ralf Becker
32d10dd243 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:55:12 +01:00
Ralf Becker
e578e64926 ActiveDirectory: additional allow accountExpires=0 for never expires
(beside attribute is not set or has value 9223372036854775807)
2018-03-09 19:51:49 +01:00
Hadi Nategh
81a79f0da8 WIP framework's popup storage/restore:
- fix typo
2018-03-09 17:53:36 +01:00
Hadi Nategh
b2526b340f WIP framework's popup storage/restore:
- Add missing template
2018-03-09 17:51:29 +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
nathangray
223b55d631 Api - Allow sharing to use Collabora to open files instead of downloading 2018-03-07 11:29:00 -07:00
Hadi Nategh
d2859d5cee * Mail: Fix "tel:" href links wrongly get denied by mail compose 2018-03-05 18:16:12 +01:00
Hadi Nategh
53b97078ad Fix mail with a bold digits gets removed from text part 2018-03-05 17:31:47 +01:00
Hadi Nategh
dca72ebd9c Fix broken sharing caused by commit 89a8e6f448 2018-03-05 11:13:54 +01:00
nathangray
9a51ad9211 API - Avoid issue with incompatable types by forcing to array, even if no account found 2018-03-02 10:21:43 -07:00
Hadi Nategh
63dd5ce96b Make sure replace only and only VT char (Vertical Tab) 2018-03-02 12:13:13 +01:00
Ralf Becker
205cf9c588 replace non-utf8 chars in content send to browser with utf8 replacement char
before we were removing the whole string
2018-03-01 17:38:45 +01:00
Ralf Becker
f800ab008b if we can not store failed login attempts in database, store it in cache 2018-02-28 18:01:32 +01:00
Ralf Becker
a799abb0a0 * All apps: multiselect custom-field switches to single select after submit 2018-02-28 13:41:13 +01:00
Ralf Becker
c1e8ac6324 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:45:48 +01:00
Hadi Nategh
b7582fa9a0 Add hover_action for detached description widget 2018-02-26 17:54:13 +01:00
Ralf Becker
69f91de4a7 update to EGroupware GmbH and 2018 2018-02-26 14:03:23 +01:00
nathangray
e259895e2e WIP on sharing test
try to fix it for Travis
2018-02-21 15:13:16 -07:00
nathangray
a4e80ea9a0 WIP on sharing test
try to fix it for Travis
2018-02-21 15:03:45 -07:00
nathangray
529991e283 WIP on sharing test - now actually working with other tests after 2018-02-20 15:32:37 -07: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
Ralf Becker
8b88e748f7 * Admin: new config to generate no or lowercase email addresses for new users 2018-02-20 09:15:42 +01:00
Hadi Nategh
7510a94e11 Add closing timer on notifications 2018-02-19 17:17:24 +01:00
nathangray
8f752fcc03 * 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-02-16 11:19:47 -07:00
nathangray
816db05496 Use abstraction to determine mime type, see 9a398594ac 2018-02-15 10:16:04 -07:00
nathangray
05f7754f0e WIP on sharing test - now actually finding & checking the files 2018-02-15 09:37:48 -07:00
nathangray
54dcc794a2 - Re-init VFS for each test class
- Balance output buffering
2018-02-15 09:33:01 -07:00
nathangray
89a8e6f448 Place check on session first to avoid errors if it's missing 2018-02-15 09:19:26 -07:00
Hadi Nategh
2945021b20 * Mail: Fix spacing issue between grouped toolbars 2018-02-15 15:14:06 +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
Ralf Becker
e3c67a1c63 fix PHP Warning if keys contain a backslash as in namespaced classes 2018-02-15 09:52:24 +01:00
nathangray
9c29079ddf Silence warning about time in array format by passing it to constructor 2018-02-14 08:38:48 -07:00
Ralf Becker
f4927d7e0b * 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:03:14 +01:00
nathangray
f166fbdd46 * Api - Fix sharing from mounted shares failed with 404 2018-02-13 15:10:34 -07:00
nathangray
28eaee5707 Fix add contact tooltip to work inside nextmatch again 2018-02-12 10:33:24 -07:00
Ralf Becker
71a5d5dcb6 copy 17.1 changelog to master to satisfy update checker 2018-02-09 14:12:30 +00:00
Ralf Becker
c2bb28d3f1 pending DE and SK translation from Stefan Unvericht 2018-02-09 12:34:50 +01: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
4e0be8a887 Allow custom theme for mobile template 2018-02-08 10:10:15 +01:00
nathangray
a8ffe5ab05 * Api - Fix some spelling errors, reported by Stefan Unverricht 2018-02-07 13:30:55 -07:00
nathangray
01e7ea5dfe Mark test incomplete 2018-02-07 11:13:54 -07:00
nathangray
582e11c4ba Allow to pass egw_info in when creating session 2018-02-07 10:22:53 -07:00
nathangray
091b052943 WIP on sharing test 2018-02-07 10:22:00 -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
034b17a49a Implement new user preference in order to be able to select a handler for opening a merge print document 2018-02-07 13:15:29 +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
d934f33ea6 also fixing preg for email with optional domain part 2018-02-05 19:13:01 +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
f07dbf7439 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-02 11:37:30 -07:00
Hadi Nategh
1494d1a6e9 * Addressbook: Fix avatar photo gets removed when adding category to contact via contextmenu 2018-01-31 16:10:48 +01:00
nathangray
cf2b759054 * 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-01-30 11:28:27 -07:00
Ralf Becker
b1275c4d1e copy 17.1 changelog to master to satisfy update checker 2018-01-30 16:37:54 +00:00
nathangray
9a398594ac * Etemplate - Don't trust browsers mime if we don't have to - fixes incorrect mime types and Resources rejecting pictures 2018-01-30 09:14:52 -07:00
Ralf Becker
20cde78af3 allow user & password again as in http://user:pass@example.com/ to fix tests 2018-01-30 16:54:43 +01:00
Ralf Becker
a9ee58cfad allow private IP addresses (starting with 10.|169.254.|192.168.) too 2018-01-30 16:19:35 +01:00
nathangray
3fed690b9e Switch phrase to one already translated, make confirmation dialog a little wider 2018-01-29 15:55:12 -07:00
nathangray
f453c5b056 Fix typo in doc 2018-01-29 09:04:29 -07:00
Ralf Becker
bff3b0215e * LDAP/ActiveDirectory: fix sorting accounts by anything other then account-name fails 2018-01-29 12:47:57 +01:00
Ralf Becker
37957a49f4 update/add support options in setup and about EGroupware page 2018-01-29 10:20:18 +01:00
Ralf Becker
6b2501430e using PHP_BINARY constant instead of - sometimes not set - $_SERVER['_'] 2018-01-26 14:15:32 +01:00
nathangray
be93c24def Make sure popup notifications are fully in recipient's language
"Message from" and "Linked entries" were in sender's language
2018-01-25 15:40:25 -07:00
nathangray
670b74cf23 Fix wiki links did not load properly after login if your session was expired 2018-01-24 10:28:34 -07:00
Ralf Becker
65e7c7be78 make NM lettersearch lettes translatable via phrase "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 2018-01-24 10:08:55 +01:00
Ralf Becker
034eddb37e * 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 12:58:35 +01:00
Ralf Becker
3dadd5b14b fix call to protected method EGroupware\Api\Mail::clean_subject_for_filename() from context mail_integration 2018-01-23 09:31:54 +01:00
nathangray
e13bd2ed63 Mail - Reorganize and use same cleaning function when saving mail as infolog as for saving to VFS 2018-01-22 09:13:19 -07:00
Ralf Becker
79ee97a22c allow to sepecify last security release for multiple major versions 2018-01-21 10:27:40 +01:00
Ralf Becker
ffb0631154 copy 17.1 changelog to master to satisfy update checker 2018-01-18 11:49:38 +00:00
Hadi Nategh
5e94600677 *Mail: Fix sharing of attached files as download links in compose dialog exposes all folders as readonly shares 2018-01-17 16:32:21 +01:00
nathangray
74dafc653a Tests for customfields read options from file 2018-01-16 11:04:12 -07: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
f402561d7d Better tests for Customfields, fix a couple of permission bugs revealed
Found a problems when requesting 'all' custom fields, it would still use current user permissions
2018-01-12 10:03:34 -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
nathangray
3709d773d9 * Allow private custom fields in notifications, with filtering according to set permissions. Private custom fields are removed from notifications to non-users. 2018-01-10 10:43:43 -07:00
Hadi Nategh
33b41c3f6a Add proper icon for vfsSelect submit button 2018-01-04 12:02:36 +01:00
Ralf Becker
57b92c29de
Merge pull request #32 from stefanwerfling/patch-1
Update autoload.php
2017-12-23 12:27:53 +07:00
nathangray
a9b616fa20 * API - Make sure private custom fields are not accidentally included in notification due to being cached 2017-12-21 11:26:51 -07:00
stefanwerfling
bfabaa52eb
Update autoload.php
- add interface exist check for interface loading by vendor classes
2017-12-21 19:19:03 +01:00
Ralf Becker
ad8746643f copy 17.1 changelog to master to satisfy update checker 2017-12-20 06:14:45 +00: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
e9d82bcadc Add more translations, thanks to Stefan Unverricht 2017-12-18 10:42:08 +01: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
a3b903b75c * Mail: Fix empty trash/empty junk actions causes error in some mail servers, e.g. Cyrus. 2017-12-15 13:33:04 +01:00
Hadi Nategh
9b639b1fe0 Fix collabora can not open vfs symlinks from apps 2017-12-13 10:10:04 +01:00
Hadi Nategh
d52ede97c5 * Mail: fix vacation notice still sending out notification mail even if the original mail is a spam. 2017-12-08 13:54:11 +01:00
Hadi Nategh
9fb74c1b7c Make selectbox tags&search available for nextmatch header filter 2017-12-07 15:58:25 +01:00
Ralf Becker
2cec97a6c5 replace from PostgreSQL not understood && with standard AND 2017-12-07 17:28:00 +08:00
Ralf Becker
4a13fb4c21 * All apps/PostgreSQL: fix SQL error when deleting an entry without attachments 2017-12-07 17:16:46 +08:00
Ralf Becker
93353a55c0 * Filemanager/PostgreSQL: cant open file in Collabora because of SQL error
Syntax error: 7 ERROR: syntax error at or near "=“, PostgreSQL needs true/false not 1/0
2017-12-07 16:45:01 +08: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
nathangray
ced6c63ddd Fix historylog pagination, found by Filippos Karailanidis 2017-12-05 15:13:30 -07: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
nathangray
6506418e61 * Api - Fix nested custom field merging 2017-12-01 11:58:44 -07:00
nathangray
2df24a3aaf Add flag for select all to collabora action 2017-12-01 10:36:58 -07:00
Hadi Nategh
90a5e91fc7 * Addressbook: fix bug setting Hide User Account in preferences into Show all accounts breaks show accounts 2017-12-01 14:58:44 +01:00
A Sigalas
e9de76af7a Set option for num_rows 2017-12-01 11:04:31 +00:00
Hadi Nategh
a93722959b Use filemanager_select for old etemplate apps 2017-12-01 11:05:32 +01:00
nathangray
f45afa1b6b * Etemplate - fix bug preventing Shift + Select until you refresh the app 2017-11-30 10:21:40 -07:00
Ralf Becker
08d2b52d2a copy 17.1 changelog to master to satisfy update checker 2017-11-30 10:28:58 +00:00
nathangray
ad6c143059 Fix various missing translations, found by Stefan Unverricht 2017-11-29 09:58:01 -07:00
nathangray
e88afc07d0 * Addressbook - fix SQL error with accounts hidden + Organisation by location / department
- Fix accounts missing if no preference for hide accounts set
2017-11-29 09:12:05 -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
Hadi Nategh
95d1911528 Fix error Call to a member function setDate() on boolean 2017-11-27 18:05:47 +01:00
Ralf Becker
df26dc2913 update maintenance_release version in master, to not show yellow "update arrow" 2017-11-26 09:09:44 +08:00
Ralf Becker
e4f51b5692 fix stalled update if jpegphoto is empty string (and not null) 2017-11-23 14:55:11 +01: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
b04eb80b39 Addressbook - fix show/hide account preference bugs
- account filter was missing for show active
- preference changed to match current value
2017-11-21 11:07:50 -07:00
nathangray
57abd48625 Etemplate - add 'format' option to timestamper to specify the time format 2017-11-21 10:26:54 -07:00
Hadi Nategh
1ecfab062a Fix list of favorites in VfsSelect contains previous selected contents as well 2017-11-20 17:49:46 +01:00
nathangray
2364a39de0 Avoid error if this.input is not yet set 2017-11-20 09:26:04 -07:00
Hadi Nategh
7e6bcc035f Make favorites available as an individual button in VfsSelect dialog 2017-11-20 17:01:50 +01: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
b47777422b Make prefix argument optional 2017-11-16 09:56:20 -07:00
Hadi Nategh
1f998f1612 Fix attempting to open a document link in infolog pops collabora link even the user has no permission to the collabora app 2017-11-16 16:31:22 +01:00
nathangray
867c661796 Fix missing fields in merge if info_contact is not a addressbook entry 2017-11-15 15:41:12 -07:00
nathangray
c8369f9b39 Addressbook - fix hide accounts preference did not work for duplicate & organisation views
- Added a new preference option to hide only deactivated accounts
2017-11-15 11:29:10 -07:00
nathangray
ddd45ccc2e Mail - stop additional mail in sent folder when merging multiple contacts into email 2017-11-14 17:00:17 -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