Commit Graph

2010 Commits

Author SHA1 Message Date
nathangray
4a9df7ef33 Got link creation via context menu working 2018-06-05 14:31:04 -06:00
nathangray
a5f5930064 Check record-level permissions 2018-06-05 14:31:04 -06:00
nathangray
d0a50d8d45 Changes needed to just get the screenshots, much more work needed for proper functionallity since I faked the permissions 2018-06-05 14:31:04 -06:00
Ralf Becker
430368eab9 new JSON response method "message" to call egw.message eg. in a popup, by using the context from the egw.json call 2018-06-05 12:29:51 +02:00
nathangray
6f7050d036 Fix taglists did not always get their options 2018-06-04 14:42:07 -06:00
nathangray
5d65420a03 Limit subjects for filenames to 200 characters to avoid failures 2018-06-04 10:24:15 -06:00
Ralf Becker
84b715c5af * Admin: allow to show last login, IP and password change in list 2018-06-01 14:46:52 +02:00
Hadi Nategh
f479314e06 Allow apps to load JavaScript or CSS files, knowing we're loading the framework or not 2018-06-01 10:37:38 +02:00
nathangray
7843da6e08 Change allowOnMultiple check to use count of selected objects, not count of actionLinks
Allows enabled check functions to call other actions's enabled functions.
2018-05-31 09:19:39 -06:00
nathangray
daa4670f60 Etemplate - missing translations 2018-05-30 13:36:04 -06:00
Hadi Nategh
ea80839b56 Stop autocomplete_url calls for taglist_thumbnail widget 2018-05-29 18:14:42 +02:00
Hadi Nategh
71ae7876d6 Fix namespace issue when calling function 2018-05-29 11:13:12 +02:00
Hadi Nategh
e9f1e8bcad Implement taglist-thumbnail for rest of upload image fields in admin site configuration 2018-05-29 11:05:08 +02:00
Hadi Nategh
b205e2f4a2 Implement new kind of taglist to show thumbnail of set value 2018-05-28 17:41:52 +02:00
Hadi Nategh
6aeb7a5c1e * Admin: Implement new feature to upload multiple images for login background image in site-configuration and show them randomly. 2018-05-28 15:31:32 +02:00
Ralf Becker
90dfe8ec54 copy 17.1 changelog to master to satisfy update checker 2018-05-23 13:16:44 +00:00
Hadi Nategh
ecb8f84afa Add complementary option for app-select widget in order to be able to exclude specific apps from the list 2018-05-22 14:39:15 +02:00
Ralf Becker
54ee23e731 use error-image from api not old phpgwapi 2018-05-20 13:22:46 +02:00
nathangray
5682044227 Fix loader never goes away if you use shift to select just a few rows 2018-05-15 08:43:13 -06:00
nathangray
e8f28b25b2 Allow prompt textbox to expand with the dialog 2018-05-14 15:54:03 -06:00
nathangray
010815ea0f Let et2_dialogs size themselves according to contents unless otherwise specified.
(just dialogs, leave others alone)
2018-05-14 15:52:03 -06:00
nathangray
e0ad35a241 Let et2_dialogs size themselves according to contents unless otherwise specified.
Fixes dialogs too narrow for their title
2018-05-14 15:16:25 -06:00
nathangray
b139583f6a Load filemanager translations for vfsSelectUI 2018-05-14 13:10:10 -06:00
Ralf Becker
e5a7156544 Translations from Ilias Chasapakis 2018-05-14 18:55:38 +02:00
Nathan Gray
3b9e5f672d
Merge pull request #40 from Sportacandy/i18n-japanese
update Japanese language files.
2018-05-14 10:05:44 -06:00
Hadi Nategh
41a983e317 Make a bigger header size assumption (32k) in order to cover importing mails with big headers 2018-05-14 14:54:44 +02:00
U-quokka\komaba
2da4ec91db update Japanese language files. 2018-05-12 08:24:38 +09:00
nathangray
5ceea5b93e Slightly more robust checking for "blank" HTML area in case CKEditor adds some styles 2018-05-11 15:00:12 -06:00
nathangray
820d269e71 Add checks to see if actionManager has been set before using it
Fixes errors in historylog widget
2018-05-11 14:33:17 -06:00
nathangray
8030c477c9 Avoid warning about scheme already registered 2018-05-11 11:25:02 -06:00
nathangray
668a4fede8 Api - Turn on merge for presentations, text templates, spreadsheet templates and presentation templates 2018-05-07 13:34:35 -06:00
nathangray
0dea93ac15 Api - Editing files in shared directories & sharing editable links 2018-05-07 10:40:12 -06:00
Hadi Nategh
f0e7f2aeed Take user's number format into account when set date duration widget. Fixes duration widget doesn't accept "," as decimal separator in Firefox. 2018-05-07 16:57:37 +02:00
nathangray
11cf369540 Turn off debug 2018-05-04 15:07:57 -06:00
nathangray
c8ddbe0680 Some more debug for Travis 2018-05-04 14:36:24 -06:00
nathangray
bd570c3676 - Fix incorrect skipped method
- Move cache clear before logout
2018-05-04 11:36:38 -06:00
nathangray
77a71d1c9c Some more debug for Travis 2018-05-04 09:58:21 -06:00
nathangray
a7a2092a48 Some more debug for Travis 2018-05-04 09:37:53 -06:00
Ralf Becker
ba366467b0 * Admin/Mail: fix saving mail-accounts for multiple accounts 2018-05-04 15:07:06 +02:00
nathangray
fba069e4b6 Some more debug for Travis 2018-05-03 14:31:48 -06:00
nathangray
1ee1c15e75 Turn on debug for sharing tests 2018-05-03 13:59:39 -06:00
nathangray
0d52cc293b Throw an exception (that phpunit can catch) rather than exiting on failure so all tests can get 2018-05-03 10:59:22 -06:00
Ralf Becker
b8e230190f * Mail: fixed equal signs (=) are not displayed in subject
Not sure why, but equal sign was removed unconditional together with other non-printable chars.
Equal sign is now removed from that preg and code is cleaned up to have a single preg removing unprintable chars independet on the function used to decode the header.
2018-05-03 11:01:08 +02:00
nathangray
1022931845 Lock UI with loader while waiting for selected rows query to complete 2018-05-02 14:10:03 -06:00
nathangray
5881ea7bd3 Only reset focused child on first creation, not every action assignment 2018-05-02 14:08:36 -06:00
nathangray
cf4752e8dd Change account filtering to give accounts when asked even if accounts are hidden in preferences 2018-04-26 14:34:09 -06:00
nathangray
6c4ea8cb38 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-23 09:24:49 -06:00
nathangray
48239f3506 Fix mail merge into mail template excluded BCC 2018-04-20 12:00:50 -06:00
Ralf Becker
fa2403f905 * 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:39:23 +02:00
Ralf Becker
d458b8dd00 Translations from Stefan Unverricht 2018-04-19 17:53:31 +02:00
nathangray
235746e4d6 * Addressbook - Add preference to turn off user groups as distribution lists 2018-04-17 09:35:08 -06:00
Ralf Becker
5bd63482ea implement __isset and ArrayAccess for Imap, to allow eg. to use empty($imap->attribute) 2018-04-17 10:28:37 +02:00
Ralf Becker
648badc44c copy 17.1 changelog to master to satisfy update checker 2018-04-13 14:50:37 +00:00
Ralf Becker
753beb06ac fix PHP 7.2 Warning: The each() function is deprecated 2018-04-13 16:08:37 +02:00
Ralf Becker
77b79f24b7 * 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:46:49 +02:00
Ralf Becker
f1437d4ccb fixing a couple more PHP Warning count(): Parameter must be an array or an object that implements Countable 2018-04-13 09:12:26 +02:00
nathangray
5f160114e9 Better error message & correct lost Vfs::$db 2018-04-12 11:23:54 -06:00
Ralf Becker
63d89a3ba0 * Setup/Restore: restore from a other charsets then utf-8 failed 2018-04-12 18:00:27 +02:00
Ralf Becker
81143a0624 * All apps: fixed moving attachments to new entries (without attachments) lost moved file 2018-04-12 15:10:05 +02:00
Ralf Becker
d70304e391 * CalDAV/resources: fix wrong ACL/rights send to clients (PHP warning in log) 2018-04-12 13:03:13 +02:00
Hadi Nategh
835913e454 Fix file upload button does not cover its caption 100% 2018-04-11 16:45:05 +02:00
Hadi Nategh
f2d5687cb2 Add some translations, thanks to Evgen Vodopivec. 2018-04-11 15:59:22 +02:00
Hadi Nategh
c0b5a7c44e Add and fix some translations, thanks to Stefan Unverricht. 2018-04-11 15:19:39 +02:00
Ralf Becker
235821b04a run fastcgi_finish_request also for non-compat install 2018-04-11 15:05:53 +02:00
Ralf Becker
7c1a481d97 fix shutdown functions did not have $GLOBALS[egw] set, caused by session created by MServer 2018-04-11 15:04:48 +02:00
Ralf Becker
ad95a01cec fixing function and test 2018-04-11 14:05:49 +02:00
Ralf Becker
047e68ecd4 limit filesystem depth for managed attachments to gard against infinit recursion 2018-04-11 11:25:53 +02:00
Ralf Becker
bded1bf17e remove 4-byte unicode when cleaning subjects 2018-04-11 11:22:11 +02:00
Ralf Becker
104cae6081 fix smime key got immediatly deleted again 2018-04-10 14:52:14 +02:00
Hadi Nategh
9be52c2d75 * Api: Fix auto-complete password field gets activated even though user hasn't selected it deliberately. 2018-04-10 12:39:27 +02:00
Hadi Nategh
16ab038d4d Fix uploading multiple files does not enable submit buttons after upload is done 2018-04-10 10:17:08 +02:00
Ralf Becker
5b93dd160c fixing not working links stream-wrapper 2018-04-10 08:54:32 +02:00
nathangray
f26b271067 Exclude symlinks from Vfs 2018-04-09 14:02:24 -06:00
nathangray
abc1ccc8f1 Trying to share a symlink actually uses the link target instead 2018-04-09 14:02:24 -06:00
nathangray
c508cd8731 Add tests for trying to share a symlink actually uses the link target 2018-04-09 14:02:24 -06:00
nathangray
cbdbae2f9a Shuffle around some code for better extendability 2018-04-09 14:02:24 -06:00
nathangray
e675ab57d4 Remove unneeded definitions, they're in parent already. 2018-04-09 14:02:24 -06:00
nathangray
e2209b1e57 - Add check to see if merge sqlfs directory is there before creating it
- Add parameter to addFiles() to provide test file content
- Add current user as owner for filesystem mount
2018-04-09 14:02:24 -06:00
Hadi Nategh
5d128cc43b * Addressbook: Fix send all contact's emails/vcards to compose dialog does not work 2018-04-09 16:42:08 +02:00
Ralf Becker
98c7a7af64 fix Scrutinizer issue (seems to be some left over old code) 2018-04-09 16:32:00 +02:00
Ralf Becker
98376b5908 * PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage 2018-04-09 16:02:00 +02:00
nathangray
2de26a0f2b Refactor sharing tests to use a base class so Collabora tests can exend it 2018-04-05 08:49:25 -06:00
nathangray
97134373dc Refactor sharing tests to use a base class so Collabora tests can exend it 2018-04-05 08:49:25 -06:00
Hadi Nategh
d9d051a97e Fix move/copy actions in link_to widget vfsSelect try to create not unwanted new symlink 2018-04-04 17:54:30 +02:00
Hadi Nategh
b8fd2f9c97 Fix vfsSelect extra buttons sometimes failing to close the dialog after execution 2018-04-04 17:51:31 +02:00
Hadi Nategh
3327077cec Increase cred_password field size in DB to be able to get fit large smime pkey. 2018-04-04 15:23:56 +02:00
nathangray
6ef00bbf9e Look in action children so placeholder actions can be in sub-levels 2018-04-03 16:24:15 -06:00
nathangray
1cb13a1f13 * Api - Fix references to sub-fields of custom field entries only merged for the first entry of each type 2018-04-03 15:27:09 -06:00
Hadi Nategh
c28e6de2ba Add some translations, thanks to Evgen Vodopivec. 2018-04-03 11:24:42 +02:00
Hadi Nategh
980b4e1ab2 Make sure mail_bo object is there before using it, fixes error "can not call undefined function reopen()" 2018-04-03 10:33:40 +02:00
Hadi Nategh
25a60bf358 Fix translation 2018-03-29 17:43:21 +02:00
nathangray
5b43b1f63c * Etemplate - Stop times from advancing 1 hour shortly after DST 2018-03-29 09:31:45 -06:00
Hadi Nategh
773a9410c5 Make sure we are not disabling submit buttons if upload is not triggered, to avoid disabled submit buttons after failure. 2018-03-28 18:20:11 +02:00
Hadi Nategh
9e7ff133b5 Fix translation 2018-03-28 11:20:36 +02:00
Hadi Nategh
df70d71cc3 Add button_icon new attribute to vfs-select widget and changes link button icon 2018-03-28 11:07:47 +02:00
Hadi Nategh
747d45e47c Set dialog button icons from Api instead of etemplate 2018-03-28 11:05:48 +02:00
Hadi Nategh
b3c26e351c Try to avoid fullwidth for some specific widgets in customfields list 2018-03-27 18:09:35 +02:00
Hadi Nategh
a3c7952925 Make second column of customfields list fullwidth 2018-03-27 15:42:42 +02:00
Hadi Nategh
0930b52934 Add translation for "previous" button in notifications 2018-03-26 17:37:05 +02:00
Hadi Nategh
2491209adf Add some translations, thanks to Stefan Unverricht. 2018-03-26 14:31:39 +02:00
Hadi Nategh
94519b0174 Fix broken priority icons in mail compose 2018-03-26 12:41:37 +02:00
nathangray
8840b5ddc6 Add readable & writable share tests for merge filesystem 2018-03-23 13:01:43 -06:00
nathangray
ff720b097a Add readable & writable share tests for entry filesystem (/apps/infolog/#) 2018-03-23 13:01:43 -06:00
nathangray
33396193ce Add writable check for filesystem:// shares 2018-03-23 13:01:43 -06:00
nathangray
127be25c38 Add explicit check for filesystem file 2018-03-23 13:01:43 -06:00
nathangray
0a7f81a2e2 Api - Sharing from filesystem:// mounts - with tests even 2018-03-23 13:01:43 -06:00
nathangray
eeae245833 Sharing test - refactor for better code, add checks on versioning backend 2018-03-23 13:01:43 -06:00
Hadi Nategh
2943b678bd Fix merge replace placeholders causes huge performance issue. Additionally, fixes the extra $ sign shown up in replaced placeholders. 2018-03-23 16:46:51 +01:00
Ralf Becker
74746a14ef * 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:09:59 +01:00
Ralf Becker
5f63892c09 copy 17.1 changelog to master to satisfy update checker 2018-03-21 17:29:30 +00:00
nathangray
e940b283ae WIP - Sharing test - now plays well with others, let's see what Travis says... 2018-03-21 09:44:42 -06:00
Ralf Becker
1d835928d2 new method Api\Framework::getUrl() to get a full / externally usable Url 2018-03-21 12:51:52 +01:00
Ralf Becker
21e123ef84 do NOT use hostname configured in setup, if it is the default localhost
stick with HTTP Host header in that case
2018-03-21 12:49:31 +01:00
Hadi Nategh
045436609d Get Sharing + Collabora into latest 17.1 version 2018-03-21 12:43:25 +01:00
nathangray
097d123a3b WIP - Sharing test - now works on its own, causes other tests to fail though 2018-03-20 15:44:46 -06:00
Hadi Nategh
be4dbc37ae * Fix opening collabora fails from a shared directory:
-we need to have collabora app to avoid CSP error since redirect share-link in collabora should get frame-src. e.g:(Collabora/Src/Ui.php:redirect(Sharing::share2link))
2018-03-16 13:15:45 +01:00
Hadi Nategh
e9b80ecee5 Remove not used csp method 2018-03-16 13:14:16 +01:00
Ralf Becker
f83f03a084 * 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:01:07 +01:00
nathangray
3185acb7b1 Add merge into the list to get /apps working again 2018-03-15 16:55:43 -06:00
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
Ralf Becker
b408c8b464 allow to specify a date-format in custom-fields using eg. format=Ymd, as it was possible in 11.1 in len field 2017-11-10 17:31:05 +01:00
Nathan Gray
43927f0bd5
Merge pull request #29 from neomorina/patch-2
Made some changes at egw_actions
2017-11-10 08:56:55 -07:00
Nathan Gray
a4608d64d7
Merge pull request #28 from neomorina/patch-1
Add MIME Type "text/csv" when "pagerepeat" found
2017-11-10 08:50:47 -07:00
Ralf Becker
3055190ea7 * CalDAV/CardDAV: fix encoding of control chars stalling iOS sync
eg. \xb is not allowed in XML and caused iOS sync to stall, as it's XML parser fails
use htmlspecialchars option ENT_XML1|ENT_DISALLOWED (PHP 5.4+) to ensure proper XML encoding
2017-11-10 15:49:30 +01:00
Ralf Becker
e5ddf8d6b6 allow to migrate accounts from ADS to SQL 2017-11-09 15:27:50 +01:00
Hadi Nategh
9f2abdd5df Remove special file drop handling on CKEditor for IE, it's no longer necessary. Fix issue of drop none image file on compose HTML area uploads the file twice. 2017-11-09 15:01:41 +01:00
Neo Morina
85866c6ef6
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.
2017-11-09 14:43:49 +01:00
Neo Morina
653a0d50c7
Added MIME Type "text/csv" when "pagerepeat" found
This gives the possibility to use "pagerepeat" in CSV files.
2017-11-09 13:16:06 +01:00
Hadi Nategh
861d714724 Fix vfsSelect does not show any content for the first load 2017-11-09 10:25:35 +01:00
nathangray
7c65127e64 Mail - Also include HTML version of email in integration data (for apps that can handle it) 2017-11-08 13:11:46 -07:00
nathangray
331364810b Fix nextmatch returned null for getDOMNode() if no sender provided
This caused it to appear hidden to etemplate print()
2017-11-07 09:01:31 -07:00
Ralf Becker
ff3ae9815d never invalidate session in sharing, as we cant regenerate it (and we dont need to) 2017-11-07 13:02:39 +01:00
Ralf Becker
719b2ff834 also log if _check_script_tag was able to disarm XSS automatic 2017-11-07 12:23:11 +01:00
Hadi Nategh
fe583421df Fix mime handler for sharing 2017-11-07 10:49:24 +01:00
Ralf Becker
cfe9204f77 allow sql fragments in Api\Storage\Base::delete as in other places 2017-11-06 16:43:23 +01:00
Ralf Becker
790fa8c71d allow sql fragments in Api\Storage\Base::delete as in other places 2017-11-06 16:24:30 +01:00
Ralf Becker
0d99d129dc deny sharing owner rights (chmod, chgrp, set eACL) and disable eACL tab 2017-11-06 14:52:12 +01:00
Ralf Becker
f21b13090f pending translations from our translation server 2017-11-04 09:36:02 +01:00
nathangray
df4f4deb1f Etemplate - Make sure to not return an empty string, it will fail when queried 2017-11-03 14:37:46 -06:00
nathangray
06e41356bd Better handling for thumbnail tooltip if not in nextmatch row 2017-11-03 13:07:02 -06:00
nathangray
dda47ca863 Disable extended ACL for readonly shares 2017-11-03 10:28:27 -06:00
Hadi Nategh
873a2a93d8 Allow multiple mime types 2017-11-03 15:05:35 +01:00
Ralf Becker
4ebf79d0e1 * Sharing/Collabora: allow to use Collabora on writable shares (EPL only) 2017-11-03 12:43:09 +01:00
nathangray
ef7956f34b Make sure lang gets passed on to registration 2017-11-02 11:13:29 -06:00
nathangray
069d49afba Disable copy / paste for readonly shares 2017-11-02 09:43:08 -06:00
Ralf Becker
3689b3d645 * Filemanager/Sharing: deny rename, move, mkdir and rmdir on readonly share 2017-11-02 13:34:10 +01:00
Ralf Becker
3a24416eb9 suppress notice screwing up thumbmails, if notices are on 2017-11-02 13:23:36 +01:00
Hadi Nategh
3465c40b50 Remove unsafe-eval CSP for CKEditor 2017-11-02 11:02:16 +01:00
A Sigalas
df6898a11c Add discard image to buttons 2017-11-01 11:59:11 +00:00
Ralf Becker
0813403b5b * All apps: get sharing working with files attached to application entries 2017-10-31 10:51:59 +01:00
Ralf Becker
b9594ea357 fix typo 2017-10-31 10:49:12 +01:00
Ralf Becker
b5574da397 remove system call used for PHP < 5.3.1 2017-10-31 09:55:23 +01:00
Ralf Becker
a4526c98cb store CalDAV/CardDAV log in user spezific log directories 2017-10-30 15:00:42 +01:00
A Sigalas
f6b314949d Add hook option in case user wants link to display another link 2017-10-30 12:52:36 +00:00
nathangray
616c11c1fb Fix wrong table name 2017-10-27 17:48:42 +02:00
nathangray
0d14155472 Fix minimum fs_id was not returning proper value 2017-10-27 17:43:40 +02:00
nathangray
90ce0cc7b6 Add a function to get the lowest fs_id for a path 2017-10-27 17:43:40 +02:00
Hadi Nategh
f42801236a Override the globalEval to mitigate potential execution of script tag 2017-10-27 17:42:44 +02:00
Ralf Becker
12dbfca137 check cookies for XSS attempts 2017-10-27 16:52:34 +02:00
nathangray
5750904809 Fix setlocale to be able to find locales on Ubuntu 2017-10-27 10:54:39 +02:00
Ralf Becker
92584a61ad * Update: fix not finishing update for more then 100 photos in addressbook
caused by contact_jpegphoto was not set to NULL, as column no longer exists in tables_current
2017-10-26 21:27:16 +02:00
Ralf Becker
5b573abef7 do not allow path traversal and htmlencode displayed path 2017-10-26 13:16:52 +02:00
nathangray
fdb47ab168 Merge calendar events into user account if there is one over user contact 2017-10-26 09:16:02 +02:00
Ralf Becker
77b42dd9a4 always send X-Content-Type-Options: nosniff
It does not harm and stops unpredictable results from browsers changing our content-types
(FF 50+ now also supports nosniff)
2017-10-25 17:35:30 +02:00
Ralf Becker
d11fe532d8 Changelog for 17.1.20171023 2017-10-23 17:27:18 +00:00
Hadi Nategh
fdb3202b6b Add new config to the admin site configuration in order to be able to upload a custom header logo 2017-10-23 13:23:52 +02:00
nathangray
b381a9aa0c Timestamp widget fixes:
- Remove new line before timestamp
- Fix focus not going to where it should
2017-10-23 12:10:45 +02:00
Hadi Nategh
c88e3b8a69 Disable new button and new action in filemanager when there's no writable right 2017-10-23 12:08:33 +02:00
nathangray
b8f8a014fa Move all tests under api/src into api/tests 2017-10-23 10:14:14 +02:00
nathangray
24de1dff3b Move PHPUnit tests from test to tests subdirectory 2017-10-23 09:51:28 +02:00
Ralf Becker
65b02c0246 bump verison to 17.1 2017-10-22 12:56:58 +02:00
Ralf Becker
c88e6e0237 disabling E_DEPRECATED, as contrib apps wont work under PHP 7.1 with having eg. contructors with same name as the class 2017-10-21 12:03:10 +02:00
nathangray
d3c596a443 - Add a parameter to pass in the class of the notification to use so we can pass in a test one
- Explicitly tell notification what type of message (plain or html) we're giving it
2017-10-21 11:29:05 +02:00
nathangray
b8f4af5602 Documentation update from the move of tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-21 11:29:05 +02:00
Hadi Nategh
ff4396030a Fix CKEditor Browse Server button to open vfsSelect 2017-10-20 18:55:22 +02:00
nathangray
31c007bac7 Give a better message if the test table is missing (Check test app not installed) 2017-10-20 10:20:49 +02:00
nathangray
accd6187e2 Get date widget duration test working again 2017-10-20 09:56:47 +02:00
nathangray
9e6ecce1d0 Move tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-18 18:30:54 +02:00
nathangray
237d81ce36 Move tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-18 15:43:35 +02:00
nathangray
865fd6405d Move sanity check to a pre-condition check 2017-10-18 11:47:28 +02:00
Ralf Becker
3ae16b20e6 added test app in fixtures 2017-10-18 11:42:03 +02:00
Ralf Becker
1d7fb9fe90 improve check $GLOBALS[egw] is correctly initilized 2017-10-18 09:10:39 +02:00
nathangray
cd49f6568d Replace the lost boolean cast 2017-10-17 16:48:35 +02:00
nathangray
88a3f3b1d4 Run test in UTC, so dates match our expectations 2017-10-17 15:40:05 +02:00
nathangray
6fad74c710 Fix test had no assertions 2017-10-17 13:29:17 +02:00
nathangray
8b1a8d38f5 Revert db10b21fa7 2017-10-17 12:48:46 +02:00
Hadi Nategh
9504bff8ee Fix wrong dialog title for link-to widget 2017-10-17 11:28:03 +02:00
Hadi Nategh
13635fb5b7 Restrict vfsSelectUI submit only to the field availability 2017-10-16 15:03:16 +02:00
Hadi Nategh
81edd22253 Get the right application base on current window context 2017-10-16 11:23:14 +02:00
Hadi Nategh
f779f5ac7f Make sure we get the etemplate_exec_id 2017-10-16 09:34:38 +02:00
nathangray
db10b21fa7 Fix child actions under 'More...' did not inherit the inheritable attributes 2017-10-13 11:13:17 -06:00
nathangray
63a3940d68 Addressbook - adjust calendar event participants to match when merging contacts 2017-10-13 09:35:36 -06:00
Hadi Nategh
1460945a03 Add status text for upload button in VfsSelect widget 2017-10-13 14:52:38 +02:00
Hadi Nategh
7922f41499 Fix file widget readonly is being set correctly 2017-10-13 14:51:45 +02:00
Hadi Nategh
052bef84ce W.I.P vfsSelect Widget:
- Fix upload feature not working
2017-10-13 13:22:45 +02:00
Hadi Nategh
08032dd776 W.I.P vfsSelect Widget:
- Make the dialog bigger
2017-10-12 18:27:27 +02:00
Hadi Nategh
5b76210218 W.I.P vfsSelect Widget:
- Fix mime types not being shown
- Fix name being displayed encoded in save2vfs mail
2017-10-12 17:45:46 +02:00
Hadi Nategh
9154392163 Find the right image 2017-10-12 17:06:17 +02:00
Hadi Nategh
2c721c95b2 W.I.P. VFS Select Widget:
- Add name and dialog_title as new attributes
- Fix SaveToVfs, SaveAttachmentToVfs, SaveAllToVfs in mail
- Fix button tile
2017-10-12 13:19:42 +02:00
Ralf Becker
4e9ad744cc move use strict out of global scope so it does not affect minifying / concatination 2017-10-12 11:32:18 +02:00
Hadi Nategh
88e5524b79 W.I.P. VFS Select Widget:
- Remove extra label of File Name
- Fix tooltip messages get overlaid by the dialog
2017-10-12 10:49:20 +02:00
Hadi Nategh
4b90a12551 W.I.P. VFS Select Widget: Fix upload button drops into second line 2017-10-12 10:22:17 +02:00
Hadi Nategh
b17a348c1f VfsSelect widget is not depending of filemanager anymore, show it always 2017-10-12 10:17:58 +02:00
Hadi Nategh
8b84f56421 Fix uglify js error, complaining about ES6 syntax 2017-10-12 10:05:26 +02:00
Hadi Nategh
448cc8975f W.I.P of VFS Select widget restructure 2017-10-11 18:27:42 +02:00
Hadi Nategh
f9aec1bf46 Take respective window object into account while building loading_prompt 2017-10-11 15:03:34 +02:00
nathangray
82dd2cbc11 Fix some bugs in printing:
- Framework was iterating over all app tabs, not just the current one
- Skip hidden etemplate widgets
2017-10-10 10:16:08 -06:00
Ralf Becker
d78d3834c0 tel: links use no URL encoding according to rfc3966 section-5.1.4 2017-10-09 10:54:32 +02:00
Hadi Nategh
de65d91dc7 Rmove fields for none private cutomfields when name refers to a single custom field 2017-10-06 16:27:37 +02:00
nathangray
a09ab65973 Fix bug preventing etemplates in iframes from being unloaded 2017-10-05 11:18:09 -06:00
nathangray
0183635c02 Add permission check for collabora before setting actions to open in editor 2017-10-05 09:55:06 -06:00
Hadi Nategh
53acbfe3ea Add some documentation 2017-10-05 17:48:43 +02:00
Nathan Gray
2659ab99ff Merge pull request #20 from filkaris/allow_single_deselect
Allow single deselect for listboxes
2017-10-05 09:28:06 -06:00
Hadi Nategh
eb14b81d51 Handle filemanager links 2017-10-05 17:07:59 +02:00
Hadi Nategh
0e06fe0d64 Implement editor link handler for registered filemanager editors 2017-10-05 15:20:45 +02:00
A Sigalas
58326d07f6 Allow single deselect for listboxes 2017-10-05 10:20:01 +00:00
Ralf Becker
6a3a944828 fix uncaught exception if Collabora is not configured or reachable 2017-10-05 11:00:38 +02:00
nathangray
1868b40359 Set up merge to open editable documents if collabora is there 2017-10-04 14:15:47 -06:00
Hadi Nategh
50697efe55 Check if the given options are type of array or object before proceeding of translation. Fix bug "cannot assign to read only property '0' of string" in tracker site configuration. 2017-10-02 16:15:29 +02:00
nathangray
9f4f62c7aa Fix timestamp button for CKEditor 2017-09-27 10:16:27 -06:00
nathangray
285eb8494b Addressbook - Merging contacts now keeps all distribution lists, and it works now 2017-09-27 09:00:46 -06:00
Ralf Becker
1ae0f29f01 return "400 Bad Request" if propfind contains invalid elements or more then one 2017-09-26 19:13:05 +02:00
nathangray
2d57801c6a * Addressbook - Merging contacts now keeps all distribution lists 2017-09-26 11:05:34 -06:00
Hadi Nategh
a4fdc052ab Filemanager "New" actions:
- Add "New" actions into nm header as drop down list
- Re-arrange actions in contextmenu
- Let Etemplate modifies sel_options if extra changes are available
2017-09-26 18:43:18 +02:00
Hadi Nategh
edf6e16996 * Addressbook: Add searching feature for distribution list filter 2017-09-26 16:57:45 +02:00
Hadi Nategh
772d6605a0 Avoid binding click handler multiple times 2017-09-26 15:27:01 +02:00
Hadi Nategh
4a69b8ddf4 Fix dropdown_button click handler gets called twice 2017-09-26 14:49:45 +02:00
Hadi Nategh
6407379388 Accept localhost as a valid url 2017-09-26 11:37:37 +02:00
nathangray
2078025eea Allow keyboard shortcuts for toolbar actions 2017-09-25 16:11:22 -06:00
nathangray
17debc8063 Add timestamp button widget, use it in infolog 2017-09-21 14:56:40 -06:00
Ralf Becker
a6ec69169d document and enhance function signaure for server-side callback of file and vfs-upload widget
also make it usable for vfs-upload widget with it's id containing entry's id
2017-09-21 11:33:40 +02:00
nathangray
2876a2838c Adjust 'Group' account search keyword so even if someone searches for 'Group', we still respect the 'type' parameter and only return user accounts if that was what was requested. 2017-09-20 09:27:39 -06:00
nathangray
1cddf83306 Etemplate - Ignore all hidden nodes when re-calculating size, fixes nm resizing issue with other hidden nodes after it 2017-09-19 11:07:08 -06:00
Hadi Nategh
6e91053f49 Fix smime key not being recognized by new get_key method 2017-09-19 12:52:43 +02:00
Ralf Becker
48554590f4 * Addressbook: store S/Mime & PGP pubkey and photo (SQL backend only) in filesystem 2017-09-19 11:38:48 +02:00
Ralf Becker
23e654ab89 fix IDE warnings 2017-09-19 11:38:48 +02:00
nathangray
6c7356c48e Etemplate - Link widget - Stop app selection from hiding when you try to click it, fix app selection that only selected addressbook. 2017-09-14 09:52:19 -06:00
nathangray
5b4fd418bf Etemplate - change select multiple validation to also consider rows > 1 to enable multiple 2017-09-14 09:19:26 -06:00
nathangray
e0eb181373 Test for overriding Horde's translations with our own 2017-09-13 17:10:48 -06:00
nathangray
95e66730c4 Etemplate - add 'app_icons' option for link-entry to show app selection as a list with icons 2017-09-13 10:22:07 -06:00
Hadi Nategh
3cdd77e687 Consider multiple rows ids when calculating row_ids, plus does comma separation
and URL encoding
2017-09-12 14:47:08 +02:00
Hadi Nategh
7c11d37480 Add row_id as an another nm_action url parameter 2017-09-11 19:10:47 +02:00
Hadi Nategh
35f2f3fcf1 Fix allowFreeEntry taglist does not get rendered after focus out from input field 2017-09-11 11:57:55 +02:00
nathangray
27fab7c259 Etemplate - keep child after instanciating 2017-09-08 12:43:28 -06:00
nathangray
1b36ecb962 Etemplate - fix a testing bug giving false positives 2017-09-08 11:49:28 -06:00
nathangray
f9e09953d1 Etemplate - clear other set limits to avoid conflicts with other tests 2017-09-08 11:42:22 -06:00
nathangray
43f6acdf72 Etemplate - enhance email regex to avoid trailing dots in address, comment out some other checks we might not care about 2017-09-08 11:39:33 -06:00
nathangray
cc1fff6c17 Etemplate - add a URL regex to catch some invalids that were making it through 2017-09-08 11:10:57 -06:00
nathangray
12ae214b76 Etemplate - fix bug where min / max could not be 0 2017-09-08 10:30:19 -06:00
nathangray
4d68048929 Etemplate - fix causing false negatives in textbox regex text 2017-09-08 09:51:55 -06:00
nathangray
2006b1f372 Etemplate - fix some bugs in min/max validation 2017-09-08 09:51:06 -06:00
nathangray
0b3cbdeae5 Etemplate - some basic selectbox tests 2017-09-08 09:00:37 -06:00
nathangray
0ead3713e2 Etemplate url widget tests 2017-09-08 09:00:37 -06:00
nathangray
c656d13a4c Silence log of validation errors 2017-09-08 09:00:37 -06:00
nathangray
d75372368a Etemplate url-email widget tests 2017-09-08 09:00:37 -06:00
Hadi Nategh
2bbe5f4862 Fix tree widget's node loses its tooltip after setLabel 2017-09-07 16:32:07 +02:00
Hadi Nategh
0ebc591d45 Add fullline_cat_bg class for fields which need to get categories colors
as background.
2017-09-07 14:46:48 +02:00
Hadi Nategh
0ececf8c78 Set statustext value as text by default
- Introduce new boolean attribute called statustext_html in case we want
explicitly statustext gets rendered as html
- Fix Calendar tooltip with new statustext_html attribute
2017-09-05 19:04:45 +02:00
Hadi Nategh
36991cb80b S/MIME:
- Encode saved mail into sent folder with ENCODE_7bit to avoid any changes.
- Fix signed mails in sent folder not being correctly verified after.
2017-09-04 12:39:58 +02:00
Hadi Nategh
4d8efd0c4a S/MIME:
- Add public key of sender into recipient keys while encrypting a message.
This make encrypted mails in sent folder readable by sender as well.
2017-09-04 11:43:33 +02:00
Hadi Nategh
ee092b0d5a S/MIME:
- Rephrase warning message for reading encrypted mails with no relevant 
pubkey and privkey
- If no mimeType provided set it to default type from mime object
2017-09-04 10:20:04 +02:00
Hadi Nategh
1112b3bc59 Toggle checkbox action based on its value 2017-09-01 16:17:01 +02:00
Hadi Nategh
f4dd4bbf96 S/MIME:
- Reveal more info about signer and certificate
2017-09-01 11:38:39 +02:00
Hadi Nategh
1a8e584e0c S/MIME:
- Fix PGP signed messages get shown as red
- Fix attachments area always gets displayed
2017-08-31 17:33:33 +02:00
Hadi Nategh
914d6b2a52 S/MIME:
- Make sure content of p12 file contained \0 chars at the end stored in credentials will not get trimmed.
2017-08-31 11:40:02 +02:00
Ralf Becker
c886d567f9 share token could still contain "+", which Vfs::encodePathComponent was not encoding
fixes some files not opening in Collabora
2017-08-30 18:16:15 +02:00
Hadi Nategh
3f06a89db5 S/MIME:
- Store full binary (pkcs12) certificate into credentials
- Extract cacert from pkcs12 and feed it into signing process
- Implement p12 export
2017-08-30 17:00:28 +02:00
Ralf Becker
b785766331 * LDAP/Mail: fix new accounts did not automatic enable mail account
Thanks to Lagrange, Joseph Fernando for the fix.
2017-08-29 20:08:43 +02:00
Hadi Nategh
f788f001d0 Fix broken mail compose 2017-08-29 11:38:08 +02:00
nathangray
495d67d5d0 Testing max & min on date widget 2017-08-28 11:44:30 -06:00
Hadi Nategh
8fd6325c3d S/MIME:
- Override send function in mailer object to be able to use additional options of part->send
- Fix Signed html message gets not working
2017-08-28 19:24:51 +02:00
Hadi Nategh
74bfeade9e S/MIME:
- Fix waring about openssl CA's bundle path
2017-08-28 16:24:56 +02:00
Hadi Nategh
4b9b5aa7e4 S/MIME:
- Add password remember option for smime_passphrase dialog in compose
2017-08-28 16:14:56 +02:00
Hadi Nategh
e3799c52fc S/MIME:
- Fix smime credentials get stored with wrong account_id
2017-08-28 15:18:25 +02:00
Hadi Nategh
466e3ad364 S/MIME:
- Missing part from commit ef04e0bb77
2017-08-28 15:02:38 +02:00
Hadi Nategh
ef04e0bb77 S/MIME:
- use acc_smime_username for fetching smime certificate
2017-08-28 14:22:55 +02:00
Hadi Nategh
668cbaaacb S/MIME:
- Store email address associated with certificate into cred_email
2017-08-28 12:35:21 +02:00
nathangray
61dc75621d Etemplate simple date widget tests 2017-08-25 10:11:41 -06:00
Hadi Nategh
36211267bf S/MIME:
- Implement unknownemail status in case signer email address is not matched with sender email address
2017-08-25 16:07:09 +02:00
Hadi Nategh
e97ee436e8 Add a generic class for hiding element 2017-08-25 12:29:47 +02:00
Hadi Nategh
63440ddbc5 S/MIME:
- Keep private key encrypted
- Show password field always
2017-08-24 18:15:40 +02:00
nathangray
b0cd55f0b6 Some more Etemplate tests 2017-08-24 08:48:07 -06:00
nathangray
97543138f8 Some test documentation 2017-08-24 08:48:07 -06:00
nathangray
997c2fd1d5 Add simple tests for textbox widget 2017-08-24 08:48:07 -06:00
Ralf Becker
567d3d0a72 fix wrong namespace 2017-08-24 16:40:23 +02:00
Hadi Nategh
bbea403298 W.I.P S/MIME:
- Generate private key and certificate
- Add export buttons for private key and certificate
- Add certificate field
2017-08-22 17:25:29 +02:00
Hadi Nategh
3ff804b4c8 Do not show tooltips in mobile view 2017-08-21 11:46:28 +02:00
Hadi Nategh
7416c58e0d W.I.P. of S/MIME:
- Add extracted email from certificate into metadata
2017-08-21 11:05:58 +02:00
Ralf Becker
946ff478c4 fix missing replace 2017-08-18 12:08:51 +02:00
Ralf Becker
191d6aec45 support PHPunit 6.0+ and older 5.7 for PHP 5.6 2017-08-18 11:45:10 +02:00
Ralf Becker
c244e72017 set required PHP version for master/17.1 to 5.6, recommended version to 7.0 and add 7.1 to Travis checks 2017-08-18 10:22:52 +02:00
Hadi Nategh
ec6e82f0a1 W.I.P. SMIME:
- Fix switching account fetches a wrong pubkey
2017-08-17 09:04:44 +02:00
nathangray
72f3dc394b Fix missing CSS includes 2017-08-15 12:53:39 -06:00
nathangray
d5831a4229 Fix opening the same URL twice did not go to the specified destination the second time a second time.
This time we redirect to index.php?cd=yes so reload also works, and fix the last active tab.
2017-08-15 10:27:52 -06:00
nathangray
3808dd6fee Fix bug where radiobuttons with the same value as Array methods would break 2017-08-14 13:32:02 -06:00
nathangray
258a739f54 Fix url widget detached node implementation to use row's statustext if provided, original statustext otherwise 2017-08-14 11:21:24 -06:00
nathangray
6566df4ff8 Fix opening the same URL twice did not go to the specified destination the second time
Eg. tracker edit went to tracker index the second time
2017-08-04 10:27:16 -06:00
nathangray
12f15a0a5a Allow to disable individual radioboxes when they all share the same ID by using their value 2017-08-01 13:12:45 -06:00
nathangray
fe7e240321 Fix browser's range requests giving an empty file every second download attempt 2017-07-28 10:35:24 -06:00
nathangray
2bfe829dd8 Fix calendar entries opened from mail using a link could not be edited 2017-07-27 13:28:37 -06:00
nathangray
1159df66cf Fix doubled name in link 2017-07-26 16:26:56 -06:00
Hadi Nategh
f600436898 W.I.P. SMIME:
- add notvalid state
- add metadata for key add to contact
2017-07-25 18:00:22 +02:00
Hadi Nategh
91fb816bb2 W.I.P. SMIME:
- Override verify method in order to pass certs bundle for verification
- Catch exception if decryption fails because encrypted message perhaps is not encrypted by receiver public key
- Define different states for signature verification
2017-07-25 17:13:49 +02:00
Ralf Becker
c6bf51180f implement expiration time for Api\Cache::(g|s)etSession() 2017-07-24 17:05:31 +02:00
Hadi Nategh
4deaf6c09a W.I.P. SMIME:
- Add missing parts from commit 0499f50943
2017-07-20 18:54:09 +02:00
Ralf Becker
b30c712e19 allow to add SQL with nummeric keys to Storage\Base::read() argument, like in ::search or Db::select 2017-07-19 17:39:22 +02:00
Hadi Nategh
2ead0ae2fb W.I.P Smime:
- Implement passphrase missing exception
2017-07-19 15:41:55 +02:00
Hadi Nategh
7eccf7c0c9 W.I.P Smime:
- Migrate smime decryption to Mail_bo
2017-07-19 15:39:28 +02:00
Hadi Nategh
de714fae8e Make sure invalid date object gets resolved 2017-07-17 12:49:07 +02:00
Hadi Nategh
78fa78983c Do not try to fetch mime part content if the content is already set 2017-07-14 09:50:19 +02:00
Stefan Werfling
3565f09ab0 Merge remote-tracking branch 'EGroupware/master' 2017-07-13 22:15:40 +02:00
Hadi Nategh
cb784c25af W.I.P. SMIME:
- Fix warning of invalid arguments
- Fix sometimes signed content not returning correct mime part
2017-07-13 15:37:02 +02:00
Stefan Werfling
680c4c43d0 change comment example 2017-07-13 13:59:03 +02:00
Stefan Werfling
834f226465 add example to comment 2017-07-13 13:56:31 +02:00
Stefan Werfling
7f572fdeb5 4loader:
namespace: add else autoload app vendor
2017-07-13 13:35:02 +02:00
Hadi Nategh
c131be8c17 W.I.P. SMIME:
- Allow saveSession to save other values in cache besides mailbox
2017-07-12 18:32:46 +02:00
Ralf Becker
79750d22a5 fix fatal error if sambaadmin is not installed, but was before 2017-07-12 18:29:01 +02:00
Hadi Nategh
06673bcb03 W.I.P. SMIME:
- Remove multipart/signed from SMIME TYPES
2017-07-11 19:03:11 +02:00
Hadi Nategh
c180bf6d30 Fix "no filter" option in nextmatch list favorites does not work 2017-07-10 18:30:20 +02:00
Hadi Nategh
afe1459387 Smime W.I.P:
- Fix couple of IDE warnings
2017-07-10 11:12:35 +02:00
Hadi Nategh
eb6fc7a366 Smime W.I.P:
- Return extracted signed content as horde_mime_part object
2017-07-10 11:05:15 +02:00
Ralf Becker
d38cc11f7e do NOT catch exceptions in hooks
maybe we need some parameter to hooks-calls, if all hooks should run, before exception get's re-thrown, as with this commit first exeception in a hook, will stop other hooks from running.
2017-07-08 18:05:15 +02:00
Hadi Nategh
d891035fbe Smime W.I.P:
- Remove initial content-type header
- Do not set flowed if it's multipart/signed
2017-07-07 17:53:02 +02:00
Ralf Becker
0528b72744 * Mail/ActiveDirectory: fix empty identity in mail compose and account not active in AD controled mail-server 2017-07-05 17:55:49 +02:00
nathangray
ef6eb77991 Use static to get token so children can override it 2017-06-30 09:47:21 -06:00
Ralf Becker
0d80fdbcf9 * Univention: forwarding mails to external addresses added in UCS 4.2 2017-06-30 14:44:55 +02:00
Hadi Nategh
825e9078ba Take splitter-bar width into account before triggering the resize 2017-06-26 11:01:48 +02:00
Hadi Nategh
5452c7cbe1 Fix splitter does not get resized after container resize 2017-06-26 10:19:11 +02:00
Ralf Becker
69456307e4 fix at PHP 7.0 not working migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)
migration loops forever, after migrating all files, as it does not detect no more files to migrate
2017-06-21 10:02:29 +02:00
Ralf Becker
4b379776b3 fix at PHP 7.0 not working migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)
can not unset variable bind to column, as it looses its bind
2017-06-21 09:42:46 +02:00
Ralf Becker
f7a9c253a9 fix SQL error when migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs) 2017-06-21 09:04:44 +02:00
Ralf Becker
a8adf9dd54 lower number of rows read per query, to not run out of memory
(eg. pec instance)
2017-06-15 09:32:59 +02:00
Hadi Nategh
1fc4f79850 Revert commit 8340520589 and implement the fix in more sane way 2017-06-14 14:52:31 +02:00
Hadi Nategh
04850b50ba Fix Disposition Notification title does not get correct translation, specifically for words with umlauts 2017-06-14 12:30:34 +02:00
Ralf Becker
f8839a488a * Mail: fix PHP Fatal error under PHP 5.4 2017-06-13 11:02:30 +02:00
nathangray
c05fe756fd Change eGroupWare -> EGroupware for notification sender 2017-06-12 14:13:29 -06:00
nathangray
6c059fc256 Etemplate - Fix bug in vfs widget where if the name matched part of the path, the name was not displayed 2017-06-12 13:56:27 -06:00
Ralf Becker
9a8be2d234 * Mail: display event-invitation, if mail contains just that and not the usualy alternatives 2017-06-12 15:29:20 +02:00
Ralf Becker
e2883e2387 * Mail: display event-invitation if it contains an attachment (eg. agenda) 2017-06-12 14:39:08 +02:00
Hadi Nategh
41caaafec9 Cover more range of long field headers 2017-06-12 11:04:10 +02:00
Hadi Nategh
276671a516 WIP SMIME:
- Override extractSignedContents in order to get content from signed message
2017-06-09 12:12:31 +02:00
nathangray
b0c7a55d9d Missing translations, provided by Stefan Unverricht 2017-06-07 15:15:13 -06:00
Hadi Nategh
11c03702dd Implement sub_app attribute for customfields widget, in order to be able to store sub-app's specific customfields 2017-06-07 17:54:09 +02:00
Hadi Nategh
fcbb31edb0 * Mail: Fix contents of emails with long header fields get disturbed while importing them into mail app 2017-06-07 11:04:19 +02:00
Ralf Becker
a9e750c8b2 WIP spam workflow and SpamTitian integration 2017-05-31 15:10:58 +02:00
Ralf Becker
79e4b6b837 change capitalisation to "EGroupware" 2017-05-31 14:04:37 +02:00
Hadi Nategh
76d5dcb6e1 WIP Notifications system:
- Fix styling for jdots template
2017-05-29 18:21:42 +02:00
Hadi Nategh
802a931cc3 Fix taglist-accounts does not get right value on the first load 2017-05-26 18:10:49 +02:00
nathangray
e6e61b215b Etemplate - allow escaped double quotes in email addresses 2017-05-25 15:16:04 -06:00
nathangray
19536925b5 Fix umlauts in favorite name would cause problems with group favorites until reload 2017-05-23 10:33:16 -06:00
Hadi Nategh
264d32d233 Fix mail shows empty mailboxes for some specific mail servers 2017-05-19 15:56:48 +02:00
nathangray
daaf795e8f Fix apps using an iframe for admin could not properly load the sidebox tree 2017-05-18 12:15:32 -06:00
Hadi Nategh
92b5133c5f Missing part from previous commit 2017-05-18 15:15:24 +02:00
Hadi Nategh
83436212b7 * Mail: Fix Disposition Notification confirmation message always come in english regardless of locale settings 2017-05-18 14:50:31 +02:00
nathangray
b685b08f8d Fix custom notifications CKEditor was broken, depending on how you loaded Admin
- also fixed if you login to admin app, then switch to another app and go to site configuration from the app's sidebox menu
2017-05-17 10:12:47 -06:00
Hadi Nategh
a74d3db798 Try to create home directory if it's not exist. Fix file upload to compose dialog fails if user has no run access to filemanager and has no home folder set 2017-05-16 16:51:35 +02:00
nathangray
5765335de8 Fix download linked files as zip gave the following error:
CreateObject() file /var/www/epl-trunk/api/inc/class..inc.php not found!

(see df7d8c414a)
2017-05-11 12:25:31 -06:00
nathangray
32778f20bf Fix calendar edit recurrence losing timezone on first load 2017-05-10 13:45:32 -06:00
nathangray
379463c96d Remove debug 2017-05-10 08:48:14 -06:00
nathangray
4696246b7b Fix readonly link-to widget was not read-only 2017-05-04 09:33:57 -06:00
Ralf Becker
cac463749e fix PHP Warning: explode() expects parameter 2 to be string, array given on line 375 2017-05-03 18:02:18 +02:00
Ralf Becker
af780e5168 caching images for 10 days and allowing to use it for ico extension too 2017-04-28 16:12:11 +02:00
Hadi Nategh
695cf12ded WIP of background & logo image upload into instance dir:
- Fix regexp can not cope with spaces
2017-04-28 14:21:50 +02:00
Ralf Becker
47df7828ce handler to download images from $files_dir/anon-images/ without login 2017-04-28 12:08:20 +02:00
nathangray
d277c8b6cf Avoid warning about app list being null instead of array if there's no apps
Appears to happen when session expires
2017-04-27 08:10:15 -06:00
Hadi Nategh
a206ec325a * ActiveSync: Fix error body part not set, while trying to forward an email 2017-04-26 17:23:48 +02:00
Hadi Nategh
203fa8a9be Make sure that placeholder actions are defined and existed in client-side 2017-04-24 17:53:25 +02:00
Hadi Nategh
73e2243b33 Fix email identity with no domain part set 2017-04-24 11:39:02 +02:00
nathangray
75124d097b PHP v5.4 syntax 2017-04-21 15:04:24 -06:00
nathangray
f60461eb9f PHP v5.4 syntax 2017-04-21 12:33:27 -06:00
nathangray
9d1756e5d9 Basic Etemplate testing
Some simple exec / process round-trip tests
2017-04-21 12:17:59 -06:00
Hadi Nategh
ba7f8f2d80 Fix splitter line in split widget does not always get fullwidth 2017-04-21 14:08:37 +02:00
Hadi Nategh
524296b757 * Mail: Fix vacation notice can not deal with aliases, which have no domain set 2017-04-21 11:08:39 +02:00
Hadi Nategh
848535874e Set children of readonly tab to disabled to avoid server side validation error 2017-04-20 18:33:52 +02:00
nathangray
3ea4fda227 Do not change XMLNode, that changes the cached template. Clone it, then change it to avoid weird side effects. 2017-04-19 12:51:58 -06:00
nathangray
bf1bd63110 If tab is hidden, set widgets to readonly to avoid the need for client side validation 2017-04-19 10:44:24 -06:00
Hadi Nategh
7b810b57f3 Adopt taglist server side accordingly regarding domainOptional attribute 2017-04-19 16:40:20 +02:00
Hadi Nategh
f230917d21 Add a new option to taglist-email to allow domain part of email be optional 2017-04-19 15:49:01 +02:00
Ralf Becker
a468c57284 allow hooks to send redirects via Exception\Redirect, thought only first redirect will be executed, if there are multiple hooks 2017-04-19 10:43:29 +02:00
nathangray
6b294db3fc File upload bugfixes:
- Javascript error uploading files with ' in their name
- uploading the same file twice to a customfield did not show the file uploaded properly
2017-04-18 09:34:33 -06:00
Hadi Nategh
163b6b6522 Give preferences popup bigger size plus show fulltext of selectboxes 2017-04-18 14:57:04 +02:00
nathangray
8d7a9b7284 Move VFS widget file handling from Etemplate/Widget/Customfields to Storage/Customfields, to avoid errors with CalDAV/CardDAV not being able to find Etemplate/Widget/Customfields 2017-04-17 09:48:45 -06:00
nathangray
944718daaa Some more tests of basic Etemplate stuff 2017-04-17 08:30:24 -06:00
nathangray
bcd86f7ae9 Fix bug where some elements would not be returned if a child of a later sibling was the same type 2017-04-17 08:30:24 -06:00
nathangray
68e4df3d22 Fix upload status on single uploads disappeared when upload was complete 2017-04-13 08:52:24 -06:00
Ralf Becker
caad687406 allow to filter by multiple account_id/uidNumber 2017-04-13 12:54:19 +02:00
nathangray
cfba2eea33 Make sure magicsuggest loses its focus class to avoid focus stealing issues with multiple on a page 2017-04-11 10:14:57 -06:00
Hadi Nategh
df998bab26 W.I.P. smime support:
- Make sure recipients addresses are not in RFC822 format
2017-04-11 17:29:44 +02:00
Hadi Nategh
1a63b5681d W.I.P. smime support:
- Fix stdClass not exist
2017-04-11 15:29:31 +02:00
Hadi Nategh
fff5543d3d W.I.P. smime support:
- Override verify method, in order to extract content
2017-04-11 14:24:22 +02:00
nathangray
d5c24a2c8e Thumbnails (and handling) of uploaded files on new entries that have not yet been saved 2017-04-10 10:39:04 -06:00
nathangray
ee62801ace W.I.P. Some more Etemplate testing stuff 2017-04-10 08:12:17 -06:00
Ralf Becker
e817e59fb8 * LDAP: fix fatal error in minimal install 2017-04-07 18:50:38 +02:00
Hadi Nategh
d609c67d8a Some adjustment for modern login-page 2017-04-06 18:17:47 +02:00
Ralf Becker
8d5d178869 fix exception stalling new installations 2017-04-06 16:50:37 +02:00
Ralf Becker
fcf50f1bc0 fix last commit by storing db attribute as wakeup order wakes up acl before parent 2017-04-06 13:45:47 +02:00
Ralf Becker
6c97df764c do NOT store Acl data in session, as it can be quite huge 2017-04-06 09:47:52 +02:00
nathangray
6f13a9caa9 Test some core Widget functions 2017-04-05 10:10:08 -06:00
Ralf Becker
c0e1f3ac67 always need to translate app-title, as users might use different languages 2017-04-05 10:18:09 +02:00
Ralf Becker
96413c1096 fix no translations loaded, by keeping just that pref in the session, as it is used before rest of prefs get restored 2017-04-05 10:02:41 +02:00
nathangray
d690c7d9d3 Use a constant for birthday cache time 2017-04-04 12:10:09 -06:00
Ralf Becker
2adeddce8d do NOT store user preferences and apps in session, we restore them from instance cache 2017-04-04 19:13:43 +02:00
nathangray
99595ba1cf Moce calendar birthday stuff into contacts, expire the birthday cache if birthdays change 2017-04-04 10:58:46 -06:00
nathangray
319d217a3e Some test adjustments to make things a little smoother, and prepare for some widget tests 2017-04-04 10:31:30 -06:00
Ralf Becker
dfbd0d2e6f do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions 2017-04-04 16:54:36 +02:00
Hadi Nategh
786ad5b71b Implement a new option for sidebox menu, called sendToBottom, in order to be able to sort a specific item at the bottom of the sidebox menu 2017-04-04 16:51:41 +02:00
Ralf Becker
4f9e14fcc6 never storing rows in Etemplate\Request and by that keeping apps from storing it as state into the session 2017-04-04 15:04:44 +02:00
Ralf Becker
76087e2cb7 * Api: keep session small / quick to load by limiting number of cached link-titles 2017-04-04 09:58:57 +02:00
nathangray
8cfb2c997f Silence error_log, hopefully fix wrong row count 2017-03-23 11:34:35 -06:00
nathangray
d92de5501d Addressbook - limit previous / next event to the previous / next 2 years, instead of all time
Gives slightly faster performace and reduces memory useage.
2017-03-23 09:09:05 -06:00
nathangray
6551a71b41 Addressbook - Fix filtering by addressbook in duplicates view. 2017-03-22 14:23:05 -06:00
nathangray
d5386625d5 Addressbook - Duplicate view - Fix a bug with types, add some debug to help with long queries. 2017-03-17 10:01:23 -06:00
nathangray
c65c081585 Fix searching in duplicate contact list 2017-03-16 11:06:58 -06:00
nathangray
71de64fe8f Break out parsing search into its own function 2017-03-16 10:54:27 -06:00
nathangray
56d9424c1d Fix duplicate contact view to make sense if you have more than 3 matching rows 2017-03-16 10:53:53 -06:00
Ralf Becker
06214add74 use line-breaks in login-message 2017-03-16 12:12:48 +01:00
Hadi Nategh
0f84e305a2 Remove not necessary error_log 2017-03-15 18:00:14 +01:00
Hadi Nategh
2b0fecd8bd Return form including etemplate-data if the output_mode is set to 1 2017-03-15 16:55:24 +01:00
Ralf Becker
e2d25e741b pending CS and FR changes from our translation server 2017-03-15 11:54:24 +01:00
Hadi Nategh
3cd15c6b3c Do not show input field if taglist is readonly 2017-03-14 16:43:58 +01:00
nathangray
23bf37b98e * Addressbook - new view to show duplicate contacts 2017-03-13 12:11:53 -06:00
Ralf Becker
bb5a845600 our error_handler did not allow to supporess just warnings
eg. by using: error_reporting(error_reporting()&~E_WARNING);
2017-03-13 16:41:12 +01:00
Ralf Becker
211e60b45d fix through proxying not matching webserver_url using X-Forwared-Host header 2017-03-10 22:04:15 +01:00
Ralf Becker
78880b5238 missing commit for readonly db stuff 2017-03-09 20:17:50 +01:00
Hadi Nategh
66315db75a WIP SMIME suport:
- Integrate smime encryption inti mailer class
2017-03-09 17:33:46 +01:00
Ralf Becker
6221e69229 fix regexp to only match beginning of string 2017-03-09 16:42:50 +01:00
Ralf Becker
23ac04df8d allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php 2017-03-09 12:08:00 +01:00
nathangray
78c5f31ff5 * Addressbook - When viewing a user account's calendar or next/previous dates, use the account calendar over the contact calendar 2017-03-08 09:53:52 -07:00
Ralf Becker
9361927edf prefer window over top, which might cause a security exception 2017-03-08 15:02:29 +01:00
Ralf Becker
e63cb7c849 same story tutorial popup: ignore security exception if window.top is in a different security context
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:25:52 +01:00
Ralf Becker
f0925ef32c same story for framework: ignore security exception if window.top is in a different security context
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:21:29 +01:00
Ralf Becker
d1b963c98b ignore security exception if window.top is in a different security context
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:14:16 +01:00
Ralf Becker
1c80a22413 added (commented out) code to enable IMAP log for a single user 2017-03-08 10:33:00 +01:00
nathangray
0f83206907 * All apps - Add special search case for #<int> to only match the ID, not search the whole entry 2017-03-07 12:24:42 -07:00
nathangray
5926c5e7be Allow docm and xlsm merge templates 2017-03-07 12:08:01 -07:00
Hadi Nategh
3209484d31 Cover more events on XSS regexp and avoid confusion between legitimate words with beginning of "on" and on[Events] 2017-03-06 19:12:56 +01:00
nathangray
e649793aee Add tooltip so you can tell which phone number is which in addressbook list 2017-03-02 10:53:42 -07:00
nathangray
d0913cb309 Fix title & description in calendar events were not escaped 2017-03-01 10:52:38 -07:00
Ralf Becker
acfcd24983 fix not updated logout time on new farm 2017-03-01 13:36:42 +01:00
Ralf Becker
832276f969 give quota-limit from SMTP/SQL precedence over (cached) quota from Dovecot 2017-02-28 18:39:55 +01:00
Ralf Becker
c9822e3023 Merge pull request #8 from filkaris/mail_account_bug
If Mail Account has empty password, it's still regarded as imap
2017-02-28 14:04:19 +01:00
A Sigalas
11b2eff8c5 Host always needed, not imap if username & pass missing 2017-02-28 12:55:04 +00:00
A Sigalas
b4e29edaea If Mail Account has empty password, it's still regarded as imap 2017-02-28 12:40:14 +00:00
Ralf Becker
282c0bc90f method to disable a hook for the current request 2017-02-28 13:27:48 +01:00
Ralf Becker
80cb358d88 fix use of old accounts_sql class, only existing if old phpgwapi is installed 2017-02-28 10:14:38 +01:00
Ralf Becker
38b0dd0dd0 fix PHP Deprecated: Non-static method EGroupware\Api\Vfs\Sqlfs\StreamWrapper::url_stat() should not be called statically 2017-02-27 20:39:46 +01:00
nathangray
608f9d1142 Some translation improvements from Stefan Unverricht 2017-02-27 11:14:31 -07:00
Ralf Becker
d6590cbf64 fix PHP Fatal, if debug is enabled 2017-02-27 17:31:08 +01:00
nathangray
6dd3f4838f Keep any notification errors 2017-02-27 08:10:48 -07:00
Hadi Nategh
738a1acd0e Revert Htmlawed option comment back into value 1 2017-02-27 13:33:24 +01:00
Ralf Becker
f55d36cc50 improve waterfall by releasing session 2017-02-25 15:18:21 +01:00