Commit Graph

1271 Commits

Author SHA1 Message Date
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
Hadi Nategh
8f24e0dfec * Mail: fix memory exhaustion caused by e-mails with long string set on DATE field 2017-02-23 15:44:23 +01:00
nathangray
4d0419f5b4 Allow <p> tag to enable HTML parsing as well as <br> and <span>, fixes using p for line breaks and no other formatting resulted in unparsed HTML when merging. 2017-02-17 08:56:37 -07:00
Hadi Nategh
116151a092 WIP of SMIME support:
- Implement smime ecryption in compose
- Implement passphrase dialog
2017-02-15 12:23:27 +01:00
Hadi Nategh
eed277fc9e WIP of modern login page:
- Do not break account's recovery link into second line
2017-02-10 16:33:29 +01:00
Hadi Nategh
1d69265b9c WIP of modern login page:
- Fix logo size
- Implement customizable background image
- Set different logo for login
2017-02-10 15:55:30 +01:00
Hadi Nategh
508d0aa920 Try to match placeholder NENVLF with its described example 2017-02-10 10:41:43 +01:00
Hadi Nategh
83a6595d26 Handle NELF placeholder for mimetype text/html 2017-02-09 15:03:09 +01:00
nathangray
bbdd1e77c9 Skip failing false positive for PHP < 7 2017-02-08 12:32:07 -07:00
nathangray
342230ef08 Fix typo in function name 2017-02-08 12:32:07 -07:00
nathangray
d83a929254 Get tests to not fail if DB is missing - we skip the ones that need a DB 2017-02-07 16:02:06 -07:00
nathangray
eeecc2eecd Add PHPUnit tests for security, based on Ralf's previous command line tests 2017-02-07 12:28:35 -07:00
Hadi Nategh
775f8f93fc WIP of modern login page:
- Add modern social networks icons
2017-02-07 19:02:59 +01:00
nathangray
888c9028cb Define idx_data outside of the loop, since it's used later
(Thanks Scrutinizer)
2017-02-07 09:42:10 -07:00
nathangray
1338add5fb Add PHPUnit tests for Schema, based on Ralf's previous command line tests 2017-02-07 09:19:30 -07:00
nathangray
16f649322f Add some sanity checks on egw session / GLOBALS before we start testing, makes it easier to figure out where things went wrong. 2017-02-07 09:19:30 -07:00
nathangray
b2ec0e9aa6 Move IncludeMgr tests into their own test class,
originals left there since they look useful.
2017-02-07 09:19:30 -07:00
Hadi Nategh
74af635dac WIP of modern login page:
- Position social media icons
2017-02-07 12:44:00 +01:00
nathangray
e0c7ddd0cb Make stored usertime protected instead of private 2017-02-06 13:27:30 -07:00
nathangray
4d6ba96115 Move commented-out DateTime tests into their own class 2017-02-06 13:08:05 -07:00
nathangray
502caf4703 Split application specific test stuff and the Egw session stuff 2017-02-06 13:08:05 -07:00
Ralf Becker
2b45b52477 fix warning about static use of Accounts::is_(active|expried) by making it static and throw a WrongParameterException, if is_expired is called with no parameter 2017-02-06 10:38:01 +01:00
Ralf Becker
250cbb5704 * Addressbook: only add groups as distribution lists, if accounts addressbook is not hidden 2017-02-06 09:21:50 +01:00
Ralf Becker
70d803249d no maintenance version for master 2017-02-03 13:39:24 +00:00
Hadi Nategh
ce9a36ddf9 WIP of smime sing and encrypt message 2017-02-03 12:33:49 +01:00
nathangray
efe0d62df7 Add method to mock the tracking object to ease reuse 2017-02-02 08:45:58 -07:00
Ralf Becker
ba8b1c403e use cryptographically secure random_int available in PHP 7+ when generating default passwords 2017-02-02 15:45:32 +01:00
Ralf Becker
c8605a0e7d CS translations from Tony <tw.mail-AT-quick.cz> 2017-02-02 15:32:07 +01:00
Ralf Becker
c3926df7a3 add DE translation for {{letterprefix}} and remove broken one from EN lang-file 2017-02-02 12:36:15 +01:00
Ralf Becker
c3546243fe fix missing EN translation in api lang file 2017-02-02 11:35:40 +01:00
Ralf Becker
56ab357f54 CS translations from Tony <tw.mail-AT-quick.cz> 2017-02-02 11:04:11 +01:00
Ralf Becker
be32282214 maintain an maintenance_release version in api/setup/setup.inc.php, also move update-checker images to api 2017-02-02 10:38:13 +01:00
Hadi Nategh
e3bacb3565 * Mobile template: Fix "info message regarding fullscreen" does not respect the discard checkbox 2017-02-01 18:12:35 +01:00
Hadi Nategh
385977e828 * All applications: Set proper default page title if nothing is set 2017-02-01 16:23:25 +01:00
Hadi Nategh
c1950b4b1c Make path and up button always available in filemanager mobile theme 2017-02-01 13:17:39 +01:00
Hadi Nategh
c78042d522 Update PUBLIC ID of etemplate2.dtd in all templates 2017-02-01 09:59:37 +01:00
Ralf Becker
70c0a26307 * Mail/Admin: fix setting ACL or vaction notice from Admin app, if IMAP auth uses email address from account 2017-01-31 18:01:49 +01:00
nathangray
71ffd661ac Make sure to always call typeOptions() with a string
(to satisfy Scrutenizer)
2017-01-31 08:41:22 -07:00
nathangray
ceea2cb976 Some more code cleanup:
- Remove some unexecutable code
- Fix some variable declarations
(to satisfy Scrutenizer)
2017-01-31 08:29:00 -07:00
Ralf Becker
7ce511cfc1 fix json_php_unserialize to return false for not serialized content, as unserialize does and in contray to json_decode which returns null in that case
--> fixes SiteMgr no longer shows html blocks containing unserialized content
2017-01-31 11:16:51 +01:00
Ralf Becker
5bf8630620 allow to additionally use just a name for which content array contains a path to upload pictures 2017-01-31 10:16:16 +01:00
Ralf Becker
988c79319d pending it+sk translations from our translation server 2017-01-31 09:31:57 +01:00
nathangray
4edc398286 Fix a missed change of Stylite -> EGroupware 2017-01-30 09:27:33 -07:00
nathangray
76cc4d6f5c Fix a missed change of Stylite -> EGroupware 2017-01-30 09:18:33 -07:00
nathangray
4cd8b3ee08 Fix for selecbox change event not being bound in some cases (see a81fe4f, 768b6ae) 2017-01-30 09:06:42 -07:00
Ralf Becker
a2a5ea15ae fix select(-account) tags=true widget to not call onchange callback twice with different signature, now signature is onchange(_node, _widget, _change) 2017-01-30 14:44:31 +01:00
Ralf Becker
a81fe4f82a partial revert of 768b6ae, as filter, filter2 and cat get lost when changing a column filter 2017-01-30 09:59:56 +01:00
Ralf Becker
388bffc48b * All apps: fix random failure in drag-n-drop or pasting images into CKEditor eg. mail compose 2017-01-27 17:38:08 +01:00
Ralf Becker
7f8b81f45b * Admin: fix bulk password reset to pick only passwords having required strength 2017-01-27 14:27:58 +01:00
Hadi Nategh
2d8b8fc5dc WIP of SMIME support: First attempt to decrypt a smime encrypted message 2017-01-26 17:45:07 +01:00
Hadi Nategh
572ae1d77e WIP of SMIME support: Add method to extract certificate's info from pkcs12 2017-01-25 18:04:54 +01:00
Hadi Nategh
efbb02b1b7 WIP of SMIME support: implement smime type storage 2017-01-25 18:03:35 +01:00
Ralf Becker
75a83fa35c allow to store (user specific) s/mime private keys in mail account 2017-01-25 11:40:05 +01:00
Hadi Nategh
3a42900eb6 Add accept attributes for widget File in order to be able to filter extensions in upload dialog 2017-01-25 10:28:10 +01:00
nathangray
8de5542803 Fix nextmatch category, filter & filter2 selectboxes did not listen for custom change return value to cancel server call 2017-01-24 08:41:05 -07:00
Ralf Becker
45114cd2b8 fix PHP fatal on call to Api\Html::progressbar caused by no longer existing static property $netscape4 2017-01-24 10:59:52 +01:00
Hadi Nategh
389f00dead * Mail: Fix "Show All Addresses" does not show plus icon (happens only in 16.1-compat because of missing icon) 2017-01-24 10:08:38 +01:00
Hadi Nategh
2b99050d99 W.I.P of SMIME support for mail application:
- Add a method for extracting public-key from a certificate
2017-01-23 16:19:46 +01:00
Ralf Becker
da58ef5769 * Filemanager/PostgreSQL: shared files were not cleaned up after expiring of 100 days not accessed under PostgreSQL 2017-01-23 15:23:11 +01:00
Ralf Becker
f8a3bd8e34 fix typo causing filtering by group-distribution-list to fail 2017-01-23 11:27:44 +01:00
Ralf Becker
bb7fb1abf8 * Addressbook/Mail: allow to use groups as (readonly) distribution lists 2017-01-23 11:17:02 +01:00
nathangray
74c48e0592 Custom fields can be at the start of the content 2017-01-19 10:53:53 -07:00
nathangray
6ed24454f9 Allow expansion of custom fields when merging to include fields from other apps
eg: {{#other_app/#addressbook_cf/n_fn}}
2017-01-19 10:53:53 -07:00
Hadi Nategh
a3562129b0 W.I.P of SMIME support for mail application:
- Resolve smime p7b attachment and translate it to PEM format
- Assign a button to show the message is signed plus handler for showing the certificate
- Fix Smime class to only use php openssl extension
2017-01-19 18:52:44 +01:00
nathangray
845a1ec3e7 Added a checkbox for 'save as infolog' when merging multiple contacts into an email document. 2017-01-19 09:36:38 -07:00
Hadi Nategh
e992b9991d W.I.P of SMIME support for mail application 2017-01-18 19:03:29 +01:00
nathangray
f8be81e17f Clear instance singleton on destruct
Allows for unit testing
2017-01-11 15:46:12 -07:00
nathangray
5e13b8dfda - Some nicer messages when things go wrong
- Reset account backend after test
2017-01-11 15:41:53 -07:00
nathangray
a5f45e2bfa Fix some translation problems reported by Stefan Unverricht 2017-01-10 09:30:00 -07:00
Hadi Nategh
1eff570926 Consider whitespaces when trying to translate <, >, <= and >= signs in HTML:
- Fix some mails get cut off after switching to plain-text mode
2017-01-09 16:57:30 +01:00
nathangray
775ef84867 Fix namespace 2017-01-06 11:21:38 -07:00
nathangray
b439bb2b5c - Re-initialize Config on each start, since it doesn't happen normally
- Better error message for if login fails
2017-01-06 10:39:16 -07:00
nathangray
f8b57077fb A start on some automatic testing for apps
- use 'phpunit -c doc/phpunit.xml' to run tests
 - extend api/src/test/AppTest.php to write application tests
2017-01-06 10:39:16 -07:00
Hadi Nategh
c7089cadd9 Revert unintentional changes to mrconfig and ContentSecurityPolicy from commitacdf079fb180490d8659fad0f4c20dd74ea78503 2017-01-05 15:04:53 +01:00
Hadi Nategh
acdf079fb1 * Etemplate: Fix error "Etemplate\Api\Auth not found" happening while to login 2017-01-05 14:59:20 +01:00
Hadi Nategh
b91560f79c Fix collab editor fails to open files with spaces in their names 2017-01-04 14:42:17 +01:00
Hadi Nategh
fdad5d0fcf Add src attribute as an option to iframe widget 2017-01-04 11:57:31 +01:00
Ralf Becker
dc84982a55 * CalDAV/CardDAV: send unchange REALM for "bad login or password" to allow storing credentials 2017-01-04 10:18:34 +11:00
nathangray
9f8c5af937 Avoid an error in etemplate2 if content is not set 2016-12-21 15:36:13 -07:00
Hadi Nategh
2d1bb1ecc3 Another patch to previous commit in order to cover empty space 2016-12-12 10:20:46 +01:00
Hadi Nategh
760bd4106f * Mail: Fix accounts selectbox in compose dialog does not include email addresses. Additionally, let local accounts without '@' get explicitly displayed in accounts selectbox. 2016-12-12 09:35:52 +01:00
Ralf Becker
d4a64babbd fix PHP 5.4 Fatal error: Can't use function return value in write context 2016-12-08 16:22:54 +01:00
nathangray
fbba0f2e59 - Fix a bug in print dialog, clicking header was also toggling first checkbox
- Missing translations from Stefan Unverricht
2016-12-06 09:45:55 -07:00
Hadi Nategh
23aea3864c Keep allowExternalIMGs preference intact and use an explicit preference for allowed domains 2016-12-02 10:09:56 +01:00
nathangray
aad82affa1 Handle re-loading an app with the URL query parameters so it actually gets reloaded, since its internal state may have changed since the initial load 2016-12-01 11:20:25 -07:00
nathangray
db71f7660f Reduce translation duplication - use a single common message for entry copied 2016-11-24 10:30:36 -07:00
Hadi Nategh
6ed3b92298 Work in progress of mail external image handler:
- Fix styling
- Add handler for mobile and display
2016-11-24 14:35:54 +01:00
Hadi Nategh
5fb70c77ab Work in progress of mail external image handler 2016-11-23 18:52:43 +01:00
nathangray
ed6069aa4d * Infolog: Add a context menu action to view a list of linked timesheets 2016-11-22 11:41:51 -07:00
Hadi Nategh
9c2d7abd55 Implement avatar readonly widget 2016-11-18 14:50:58 +01:00
Ralf Becker
df58b405af ignore empty signatures and email, identity_name needs mail-account data to 2016-11-18 14:48:17 +01:00
Ralf Becker
f7b7bc8155 script returning all signatures of authenticated user for eM Client 2016-11-18 14:01:41 +01:00
Hadi Nategh
d9031c4c2e Implement tooltip preview for mime types icons which have preview content available 2016-11-17 11:36:26 +01:00
Ralf Becker
6d472b1592 use openssl_random_pseudo_bytes, if available, to generate etemplate_exec_id, as it is used for CSRF protection too 2016-11-17 11:09:30 +01:00
nathangray
a15aa412e2 Attempt to fix redirects to invalid /index.php 2016-11-16 09:20:03 -07:00
Ralf Becker
6a31d2462a fix identities from aliases or imap-user without @ shown with empty label, if name is empty 2016-11-14 13:43:05 +01:00
Ralf Becker
b38542439a if webserver_url does not match eg. because of proxying, fix it 2016-11-14 13:43:05 +01:00
Hadi Nategh
ad2c3674e5 A hack to fix jumping cursor issue of wodoeditor 2016-11-10 14:12:51 +01:00
Klaus Leithoff
e9155a000b * Mail/Z-Push: handle charset-problem on sending mails with added EGW-Signature 2016-11-10 12:50:51 +00:00
nathangray
8ecc188fd7 Customfields required bugs
- Load attributes from modifications array, were previously ignored
- Remove double required check, actual field widget should handle it
2016-11-07 09:22:33 -07:00
nathangray
c330df915f Avoid JS error if value is undefined 2016-11-07 09:15:49 -07:00
Ralf Becker
c20ee5575d allow to use Api\Contacts::search() without Acl check 2016-11-07 09:26:14 +01:00
Ralf Becker
b46fea5c89 * Filemanager: DB schema update to remove doublicate rows for WebDAV properties on update, caused eg. excessively by OneNote 2016-11-03 19:09:33 +01:00
nathangray
1764ee826c Fix some missing / incorrect translations, found & tranlated by Stefan Unverricht 2016-11-02 09:30:39 -06:00
Ralf Becker
2d35e890fd remove permantent error_log on restore of egw_cal_dates 2016-11-02 14:28:34 +01:00
Ralf Becker
16689ebc27 fix use of old egw class in favor of new Api\Egw 2016-11-02 09:38:37 +01:00
Ralf Becker
225bc0bbc2 fix searching for "group" reveals groups normally hidden by forced account-selection pref "groupmembers" or "none" 2016-10-31 18:46:59 +01:00
Ralf Becker
8040fa49ec remove Exception type, to not get a Type error when PHP 7+ throws an Error 2016-10-31 18:29:32 +01:00
Ralf Becker
dbae12260b fix setting alias and forwards, allow to add/remove from existing ones 2016-10-31 15:41:52 +01:00
Ralf Becker
74e2c62b48 * Admin/Mail: allow to limit users to only create identities for aliases 2016-10-28 14:27:59 +02:00
Hadi Nategh
6038936cef Fix wodocollabeditor conflicts with other libraries because of global require and define AMD modulation 2016-10-27 18:47:02 +02:00
Hadi Nategh
3b76072885 Revert changes of local definition of define variable, because they no more conflict with wodocollabeditor 2016-10-27 18:43:41 +02:00
nathangray
017e45ffd4 Fix some missing / incorrect icons
- Addressbook advanced search was from default
- Add favorite dialog had no icons on buttons
- All dialogs using standard button sets were either missing or from default theme
- Mail confirm all was missing Yes icon
2016-10-27 09:04:47 -06:00
Hadi Nategh
84207e9a5a Keep the default behavior for opening tel-url and make call_popup felixable to be able to get target 2016-10-27 14:17:42 +02:00
Hadi Nategh
b59b44d29d Open phonecall window target as _self instead of new tab 2016-10-27 11:07:59 +02:00
Ralf Becker
a23ab6a9fb * Addressbook/LDAP: fix error if egroupware-epl-compat (old API) not installed 2016-10-27 10:51:47 +02:00
nathangray
648b6fd759 If searching for an account and you include 'Group ' (or translation) in the search string, it will search just groups instead of all accounts. 2016-10-24 09:21:57 -06:00
Ralf Becker
e989d079d6 removing server-side validation of non-ascii in local part of email, because \x80-\xff gives and invalid utf-8 compilation error in preg_match with /u modifier 2016-10-20 15:21:40 +02:00
Ralf Becker
ab79e193ec * Mail: show validation error if local part (before @) of email-address contains non-ascii chars 2016-10-20 12:29:56 +02:00
Ralf Becker
3372e1b1c2 * Mail: show which email address has a wrong format when pasting multiple ones 2016-10-20 11:47:09 +02:00
Ralf Becker
ad059b81e7 add missing traversable-test mentioned by Scrutinizer 2016-10-20 10:17:20 +02:00
Ralf Becker
2fbafeaa27 add missing false-test mentioned by Scrutinizer 2016-10-20 09:50:57 +02:00
nathangray
0ca2094e2e Fix some email addresses would not pre-fill address if you created a new contact from mail view From field 2016-10-19 09:00:55 -06:00
Ralf Becker
c2d1fe6d50 only check vfs for templates, if /etemplates is mounted 2016-10-19 16:44:04 +02:00
Ralf Becker
ae712ff8a1 * Filemanager: break infinit recursion stalling eg. login by introducing max. sub-directory depth of 100
Detects infinit recursion caused eg. by fs_dir pointing to a child-directory.
No idea how to efficently test for that, without scanning all parents of all filesystme nodes.
2016-10-19 15:52:02 +02:00
Klaus Leithoff
7588c9a493 rework of fix for problem regarding send with bcc when using esync 2016-10-19 10:01:38 +00:00
nathangray
f71131d28d Change double-click to auto-size column based on current contents, to only work for fixed width columns. Relative (flex) width columns now just show a message as it was difficult to get them to properly size without weird side effects, especially with 2 relative width columns displayed. 2016-10-18 09:23:13 -06:00
Klaus Leithoff
c47d8a26c3 * Mail: fix problem regarding send with bcc when using esync 2016-10-18 13:59:32 +00:00
Ralf Becker
a81442373c fix typo 2016-10-13 17:58:27 +02:00
Ralf Becker
30cf772c4d move ADOdb row_lock and rollback_lock methods to Db class, use Db::$tablealiases and use them for backup, also added a "backup_(starts|finished)" hook for apps 2016-10-13 17:54:58 +02:00
Ralf Becker
9b4d727eb0 * All apps/History: fixed history tab shown empty in default (minimal) installation 2016-10-12 17:50:32 +02:00
nathangray
aa03aab010 Bind double-click to auto-size column based on current contents. 2016-10-11 16:00:01 -06:00
Ralf Becker
6e1429d833 change to just "Powered by EGroupware <version>" 2016-10-08 14:46:25 +02:00
Hadi Nategh
c3fb98f3c1 Try to correct ckeditor references point to vendor directory 2016-10-07 12:15:03 +02:00
Ralf Becker
315ceed672 error_log if calendar can not send notifications 2016-10-06 19:09:40 +02:00
Hadi Nategh
57349e6386 Remove spellchecker lang from preferences 2016-10-06 18:30:37 +02:00
nathangray
fa8f53e6d4 Fix VFS ajax uploads did not work if path needed expansion 2016-10-05 16:13:31 -06:00
nathangray
19a67b92fd Fix legacy options were not parsed if the first one was empty
eg. ,,,legacy,option
was not parsed
2016-10-05 16:13:31 -06:00
nathangray
8ada656d56 Fix js errors if readonly 2016-10-05 16:13:31 -06:00
Hadi Nategh
69ce664000 Fix some of content in mails with specific html formats get removed by HtmLawed's balance 2016-10-05 17:13:07 +02:00