Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
abika committed May 5, 2016
2 parents 35c548f + 59ea509 commit dce72e3
Show file tree
Hide file tree
Showing 116 changed files with 7,805 additions and 4,469 deletions.
10 changes: 4 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/kontalk.db
/kontalk.properties
*.pgp
*.asc
*.crt
/win_installer/*.exe

# Gradle
Expand All @@ -14,12 +16,8 @@
/.nb-gradle/

# IntelliJ Idea
/.idea/workspace.xml
/.idea/tasks.xml
/.idea/gradle.xml
/.idea/libraries/
/.idea/inspectionProfiles/
/*.iml
.idea/
*.iml

# Package Files #
#*.jar
Expand Down
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

22 changes: 0 additions & 22 deletions .idea/compiler.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .idea/copyright/profiles_settings.xml

This file was deleted.

57 changes: 0 additions & 57 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

124 changes: 0 additions & 124 deletions .idea/uiDesigner.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: java

jdk:
- oraclejdk8

before_install:
- git submodule update --init

29 changes: 20 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
kontalk-java-client
===================

[![Build Status](https://travis-ci.org/kontalk/desktopclient-java.svg?branch=master)](https://travis-ci.org/kontalk/desktopclient-java)

A platform independent Java client for Kontalk (http://www.kontalk.org). Includes connectivity to the Jabber network!

The desktop client uses your existing Kontalk account from the [Android client](https://github.com/kontalk/androidclient/blob/master/README.md#kontalk-official-android-client). Instructions for exporting the key [here](https://github.com/kontalk/androidclient/wiki/Export-personal-key-to-another-device).
Expand All @@ -19,19 +21,28 @@ The desktop client uses your existing Kontalk account from the [Android client](

## Key Features

- connecting to Kontalk server with an already existing Kontalk account
- automatically adding XMPP roster entries from server
- manually adding arbitrary Kontalk or Jabber user
- automatically requesting/adding public keys for other Kontalk user
- sending/receiving (encrypted) text messages from/to Kontalk user
- sending/receiving (plain) text messages from/to arbitrary Jabber/XMPP user (clients like [Pidgin](https://pidgin.im/) or [Conversations](https://github.com/siacs/Conversations))
- sending/requesting server receipts according to XMPP extension
- ability to block all messages for specific user
- receiving files send from the Android client
Connect with Kontalk...
- Use the existing Kontalk account from your phone.
- Synchronized contact list (=XMPP roster).
- Add new Kontalk users by phone number.
- The client automatically requests public keys for safe communication.
- Your communication with Kontalk users is encrypted by default.

... and beyond:
- Exchange text messages with any Jabber/XMPP users!
- Add new Jabber contacts by JID.
- Tested with clients like [Pidgin](https://pidgin.im/) or [Conversations](https://github.com/siacs/Conversations).

**Note: private key and messages are saved unencrypted and can be read by other
applications on your computer!**

## Implemented XEP features:
- XEP-0184: Message receipts
- XEP-0085: Chat state notifications
- XEP-0191: User blocking
- XEP-0066: File transfer over server
- XEP-0084: Avatar images

## Support us

* If you are missing a feature or found a bug [report it!](https://github.com/kontalk/desktopclient-java/issues)
Expand Down
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
apply plugin: 'application'
apply plugin: 'java'

sourceCompatibility = '1.7'
targetCompatibility = '1.7'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'

mainClassName = 'org.kontalk.Kontalk'
ext.clientCommonDir = 'client-common-java'
Expand Down Expand Up @@ -33,6 +33,7 @@ dependencies {
compile group: 'org.bouncycastle', name: 'bcpg-jdk15on', version: "$bcVersion"
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: "$bcVersion"
compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: "$bcVersion"
compile group: 'commons-cli', name: 'commons-cli', version: "1.3.1"
compile group: 'commons-codec', name: 'commons-codec', version: "1.10"
compile group: 'commons-configuration', name: 'commons-configuration', version: "1.10"
compile group: 'commons-io', name: 'commons-io', version: "2.4"
Expand Down
2 changes: 1 addition & 1 deletion client-common-java
Submodule client-common-java updated 29 files
+4 −1 build.gradle
+1 −1 config/header.txt
+ gradle/wrapper/gradle-wrapper.jar
+2 −2 gradle/wrapper/gradle-wrapper.properties
+3 −7 gradlew
+1 −1 gradlew.bat
+106 −0 src/main/java/org/kontalk/client/AvatarDataExtension.java
+197 −0 src/main/java/org/kontalk/client/AvatarMetadataExtension.java
+1 −1 src/main/java/org/kontalk/client/BitsOfBinary.java
+1 −1 src/main/java/org/kontalk/client/BlockingCommand.java
+1 −1 src/main/java/org/kontalk/client/E2EEncryption.java
+179 −103 src/main/java/org/kontalk/client/GroupExtension.java
+144 −0 src/main/java/org/kontalk/client/HTTPFileUpload.java
+178 −0 src/main/java/org/kontalk/client/KontalkGroupManager.java
+1 −1 src/main/java/org/kontalk/client/OpenPGPEncryptedMessage.java
+1 −1 src/main/java/org/kontalk/client/OutOfBandData.java
+1 −1 src/main/java/org/kontalk/client/PublicKeyPresence.java
+1 −1 src/main/java/org/kontalk/client/PublicKeyPublish.java
+1 −1 src/main/java/org/kontalk/client/PushRegistration.java
+1 −1 src/main/java/org/kontalk/client/RosterMatch.java
+1 −1 src/main/java/org/kontalk/client/ServerlistCommand.java
+1 −1 src/main/java/org/kontalk/client/UploadExtension.java
+1 −1 src/main/java/org/kontalk/client/UploadInfo.java
+1 −1 src/main/java/org/kontalk/client/VCard4.java
+18 −12 src/main/java/org/kontalk/util/CPIMMessage.java
+125 −0 src/test/java/org/kontalk/client/GroupExtensionTest.java
+0 −79 src/test/java/org/kontalk/client/GroupTest.java
+1 −1 src/test/java/org/kontalk/client/PublicKeyPresenceTest.java
+4 −4 src/test/java/org/kontalk/util/CPIMMessageTest.java
2 changes: 1 addition & 1 deletion nbproject/licenseheader.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
${licenseFirst}
</#if>
${licensePrefix} Kontalk Java client
${licensePrefix} Copyright (C) 2014 Kontalk Devteam <devteam@kontalk.org>
${licensePrefix} Copyright (C) 2016 Kontalk Devteam <devteam@kontalk.org>
${licensePrefix}
${licensePrefix} This program is free software: you can redistribute it and/or modify
${licensePrefix} it under the terms of the GNU General Public License as published by
Expand Down
Loading

0 comments on commit dce72e3

Please sign in to comment.