summaryrefslogtreecommitdiffstats
path: root/tdeio
Commit message (Collapse)AuthorAgeFilesLines
* KSSL: Set hostname in TLSext to enable SNI supportSlávek Banko2017-04-091-0/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* KSSL: Use TLS_client_method instead of TLSv1_client_methodSlávek Banko2017-04-091-7/+9
| | | | | | | This enables TLS protocols newer than v1.0 This resolves bug 2764 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed code for tdefiledialog which caused the problem explained in bugMichele Calgaro2017-02-061-3/+9
| | | | | | | | | 2743. Using the new code, editing the path information in a tdefiledialog and pressing the "open/save" button will behave exactly in the same way as if ENTER was pressed after editing the path and before pressing "open/save". Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Reverted commit 53e36f6d (master), c8ff908d (r14.0.x)Michele Calgaro2017-02-061-18/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* testing: Run tests that use DCOP in a temporary homeSlávek Banko2017-02-011-6/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* testing: run tdeio/kmimetypetest with temporary profileSlávek Banko2017-01-292-1/+33
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdeio: add testsAlexander Golubev2017-01-2930-50/+143
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeio/kmimemagic: remove MAGIC_CONTINUE flagAlexander Golubev2017-01-191-2/+2
| | | | | | | | | | | | | This resolves bug 2713 The MAGIC_CONTINUE flag resulted in a malformed mimemagic responses like "application/x-executable\012- application/octet-stream" instead of just "application/x-executable". This string being unparsed then caused the KMimeType::findByURL() to fallback to application/octet-stream for nearly every mimetype. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Added support for OpenSSL 1.1Slávek Banko2017-01-0113-365/+978
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some KOpenSSLProxy methods have been renamed to be consistent with OpenSSL 1.1 API names and to prevent hidden API changes. To ensure API / ABI compatibility, the original methods are still included but have been marked as deprecated. + SSLv23_client_method => TLS_client_method + X509_STORE_CTX_set_chain => X509_STORE_CTX_set0_untrusted + sk_dup => OPENSSL_sk_dup + sk_free => OPENSSL_sk_free + sk_new => OPENSSL_sk_new + sk_num => OPENSSL_sk_num + sk_pop => OPENSSL_sk_pop + sk_push => OPENSSL_sk_push + sk_value => OPENSSL_sk_value Additional methods have been added to KOpenSSLProxy to support the new OpenSSL 1.1 API functions that provide access to the (now) opaque SSL structures. Compatibility with OpenSSL < 1.1 is handled internally in KOpenSSLProxy. + BIO_get_data + DSA_get0_key + DSA_get0_pqg + EVP_PKEY_base_id + EVP_PKEY_get0_DSA + EVP_PKEY_get0_RSA + RSA_get0_key + X509_CRL_get0_lastUpdate + X509_CRL_get0_nextUpdate + X509_OBJECT_get0_X509 + X509_OBJECT_get_type + X509_STORE_CTX_get_current_cert + X509_STORE_CTX_get_error + X509_STORE_CTX_get_error_depth + X509_STORE_CTX_set_error + X509_STORE_get0_objects + X509_STORE_set_verify_cb + X509_get0_signature + X509_getm_notAfter + X509_getm_notBefore + X509_subject_name_cmp + _SSL_session_reused + _SSL_set_options Method "KSSL::setSession" has been renamed to "KSSL::takeSession" and its functionality has changed: the session is now transferred from the argument object to the invoked object. Since it is only used internally in TDE and the functionality is different, the method with the previous name has not been preserved. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix security issue CVE-2016-6232Slávek Banko2016-10-231-2/+12
| | | | | | Based on https://quickgit.kde.org/?p=karchive.git&a=commitdiff&h=0cb243f6 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdeio: fixed up certificate handling when certificate has expired. Also cleanEmanoil Kotsev2016-10-221-96/+18
| | | | | | | up the code. Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed handling of certificate "permanent" acceptance. This relates toEmanoil Kotsev2016-10-161-10/+27
| | | | | | | | bug 1287. Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> Partially cleaned up and modified. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed two issues with KFileDialog:Michele Calgaro2016-10-011-2/+18
| | | | | | | | | | - if the user types a new path manually, the new location was not used. Instead the older path was taken. In case the typed path does not exists, an error message is displayed - if the user selected a path from the autocompletion lists using the mouse, the new selected location was not used when slotOK was invoked. This resolves bug 2654. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Parse GENERALIZEDTIME ASN structuresTimothy Pearson2016-09-061-12/+21
| | | | This fixes certificate dates beyond year 2049.
* Fix invalid headers in PNG files and optimize for sizeTimothy Pearson2016-07-231-0/+0
|
* Fix FTBFS due to non-existent includeSlávek Banko2016-04-142-1/+4
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Remove warnings about missing embedded ELF iconsSlávek Banko2016-03-242-3/+3
| | | | | | Add file name for which the issue occurs into debug message Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Compile MIME magic fileSlávek Banko2016-01-112-2/+17
| | | | | | This partially resolves Bug 2217 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Revert a small portion of commit e0b1bfb0Slávek Banko2015-12-201-2/+2
| | | | | | This resolves Bug 2562 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix mimetype detection using magic librarySlávek Banko2015-12-061-2/+6
| | | | | | | for mime types not contained in TDE settings This resolves Bug 2392 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix crash on KSSLCertificate deallocation when a CRL is held in the ↵Timothy Pearson2015-10-231-0/+2
| | | | KSSLCertificate object
* Fix memory leak when deleting a KSSLCertificate that holds a CRLTimothy Pearson2015-10-233-1/+17
|
* Add initial CRL support to KSSLCertificateTimothy Pearson2015-09-034-4/+88
|
* Fix compiler warnings from ignored write return valuesTimothy Pearson2015-09-031-99/+131
|
* Fix unused variable compiler warningsTimothy Pearson2015-09-031-5/+4
|
* Fix compiler warningsTimothy Pearson2015-09-031-3/+5
|
* Fix compiler warning regarding missing bracesTimothy Pearson2015-09-031-18/+22
|
* Fix FTBFS on freebsdNikolaus Klepp2015-06-112-3/+3
| | | | | | This resolves Bug 2431 Signed-off-by: Nikolaus Klepp <office@klepp.biz>
* Improve ACL detection for CMake buildSlávek Banko2015-06-113-13/+9
| | | | | | Fix hidden visibility in posixacladdons Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add include directory for internal libltdlSlávek Banko2015-06-111-0/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed wrong DocPath strings. This relates to bug 2319Michele Calgaro2015-01-2312-12/+12
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Properly identify desktop filesTimothy Pearson2014-12-053-0/+23
| | | | This resolves a rather major glitch with Device Links noted on the mailing list
* Fix a number of build warningsTimothy Pearson2014-12-047-19/+36
|
* Read from X-DocPath onlyTimothy Pearson2014-11-073-3/+3
|
* Fix stragglers that were not properly renamed in the XDG standardization commitsTimothy Pearson2014-10-241-1/+1
|
* Fix exec icon location and bring it into XDG complianceTimothy Pearson2014-10-222-3/+3
|
* Fix remaining issues from mimetype icon renameTimothy Pearson2014-10-222-2/+2
|
* Repair mimetype icon usage, part 1. The following are not fully verified in ↵Timothy Pearson2014-10-221-1/+1
| | | | source as of this commit due to ubiquity: info, unknown
* Bring most mimetypes in line with XDG specifications. The following are not ↵Timothy Pearson2014-10-226-8/+8
| | | | fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown
* Bring mail_forward, mail_new, mail_replyall, mail_reply, mail_send, ↵Timothy Pearson2014-10-131-1/+1
| | | | player_pause, player_play, player_stop, player_rew, player_fwd, player_start, player_end, rotate_ccw, rotate_cw, window_fullscreen, window_nofullscreen, window_new, viewmagfit, viewmag+, viewmag1, and viewmag- icons into XDG compliance
* Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, ↵Timothy Pearson2014-10-139-19/+19
| | | | fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
* Fix incorrect Download string in TDEFileSpeedBarTimothy Pearson2014-10-131-1/+1
|
* Second part of prior commitTimothy Pearson2014-10-113-7/+7
|
* Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to ↵Timothy Pearson2014-10-116-6/+6
| | | | match XDG specifications
* Second part of prior commitTimothy Pearson2014-10-111-1/+1
|
* Fix FTBFS with libmagic < 4.23François Andriot2014-10-111-0/+4
|
* Fix FTBFS on missing magic_getpathSlávek Banko2014-10-093-1/+28
|
* Do not use magic_version function if magic version support not availableTimothy Pearson2014-10-081-0/+4
| | | | This relates to Bug 656
* Makes favorite URLs in TDE file open/save dialogs global (sared amongst all ↵Timothy Pearson2014-10-071-2/+2
| | | | | | | applications) by default This commits the following patch from Bug 1499: tdelibs: fix kurlbar global
* Fix certain shell scripts not being identifiedTimothy Pearson2014-10-072-6/+0
| | | | | This relates to Bug 656 Clean up some old development debug statements