Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
ortuman committed Mar 20, 2018
0 parents commit 98588bc
Show file tree
Hide file tree
Showing 113 changed files with 15,697 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Binaries for programs and plugins
*.exe
*.dll
*.so
*.dylib
debug

# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# System folders
.DS_Store

# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
.glide/

# PID files
*.pid

# Log files
*.log

# Storage folder
.data/

# Project folders
.idea/
.vscode/
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
language: go

os:
- linux
- osx

go:
- 1.10.x
- 1.9.x

before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libidn; fi

script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
- go test -race -coverprofile=bufferpool.coverage.txt -covermode=atomic ./bufferpool
- go test -race -coverprofile=config.coverage.txt -covermode=atomic ./config
- go test -race -coverprofile=log.coverage.txt -covermode=atomic ./log
- go test -race -coverprofile=module.coverage.txt -covermode=atomic ./module
- go test -race -coverprofile=server.coverage.txt -covermode=atomic ./server
- go test -race -coverprofile=server.compress.coverage.txt -covermode=atomic ./server/compress
- go test -race -coverprofile=server.transport.coverage.txt -covermode=atomic ./server/transport
- go test -race -coverprofile=storage.coverage.txt -covermode=atomic ./storage
- go test -race -coverprofile=storage.model.coverage.txt -covermode=atomic ./storage/model
- go test -race -coverprofile=stream.c2s.coverage.txt -covermode=atomic ./stream/c2s
- go test -race -coverprofile=stream.errors.coverage.txt -covermode=atomic ./stream/errors
- go test -race -coverprofile=util.coverage.txt -covermode=atomic ./util
- go test -race -coverprofile=version.coverage.txt -covermode=atomic ./version
- go test -race -coverprofile=xml.coverage.txt -covermode=atomic ./xml

after_success:
- bash <(curl -s https://codecov.io/bash)
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.1.15] - 2018-03-20
### Added
- Initial release (https://xmpp.org/rfcs/rfc3921.html)
- Added support for XEP-0030 (Service Discovery)
- Added support for XEP-0049 (Private XML Storage)
- Added support for XEP-0054 (vcard-temp)
- Added support for XEP-0077 (In-Band Registration)
- Added support for XEP-0092 (Software Version)
- Added support for XEP-0138 (Stream Compression)
- Added support for XEP-0160 (Best Practices for Handling Offline Messages)
- Added support for XEP-0199 (XMPP Ping)
6 changes: 6 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Names should be added to this file like so:
# Individual's name <email> <email2> <emailN>

# Please keep the list sorted.

Miguel Ángel Ortuño <ortuman@protonmail.com>>
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM golang:1.10

LABEL org.label-schema.version=latest
LABEL org.label-schema.vcs-url="https://github.com/ortuman/jackal.git"
LABEL org.label-schema.name="jackal"
LABEL org.label-schema.vendor="Miguel Ángel Ortuño"
LABEL maintainer="Miguel Ángel Ortuño <ortuman@protonmail.com>"

WORKDIR /jackal

RUN apt-get update
RUN apt-get install -y --no-install-recommends libidn11-dev

RUN go get -u github.com/ortuman/jackal
RUN go build github.com/ortuman/jackal

ADD ./cert/key.pem /jackal/cert/key.pem
ADD ./cert/cert.pem /jackal/cert/cert.pem

ADD docker.jackal.yml /etc/jackal/jackal.yml

EXPOSE 5222

ENTRYPOINT ["/jackal/jackal"]
Loading

0 comments on commit 98588bc

Please sign in to comment.