Commit Graph

1128 Commits

Author SHA1 Message Date
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