Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make xmpp-client into a library #113

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
95b17cd
Fallback to just the DNS name if there is no xmpp-client SRV
Feb 9, 2016
5fdf3ce
Add MUC support (though there is *NO* Multi-Party OTR yet)
Feb 9, 2016
c486c7f
Merge pull request #1 from tridentli/muc_support
massar Feb 9, 2016
a0749e1
Add a simple .gitignore
Feb 9, 2016
4fc36b1
Split out re-usable utility functions into xlib
Feb 9, 2016
3c2c5ec
Split off the CACert certificate
Feb 9, 2016
0b937a3
Ignore the locally build binary
Feb 9, 2016
a16dd21
Replace term with XIO abstraction
Feb 9, 2016
d544df4
Move XIO code to xlib/xio.go and xlib/xioterm.go
Feb 9, 2016
93d4b83
Move remaining terminal portions to xioterm
Feb 9, 2016
a5df0f6
Move Session and Config to xlib, split off PriorityList
Feb 10, 2016
8088399
Split out the XEP-0004 form handler
Feb 10, 2016
5e44c32
Split off logging functions/types
Feb 10, 2016
8d79741
Move the jabber.ccc.de cacert loading to session so that anything tha…
Feb 10, 2016
0a052a0
Split off generic connect function
Feb 10, 2016
315b30c
Gracefully handle errors while connecting
Feb 11, 2016
f2bffee
Store and pass the password in the Config structure
Feb 11, 2016
dc41a64
Move stanza handling to Session.Handle() - now only commands are need…
Feb 11, 2016
a6f76c8
Add a separate FetchRoster() so that it can be triggered
Feb 11, 2016
7764c9d
Fetch the Roster
Feb 11, 2016
3363263
Use the xlib.PriorityList which is where it lives now
Feb 11, 2016
02326d8
Also pass the destination of a message to xio.Message()
Feb 11, 2016
943e697
Teach XIO about the session, as XIO will be passed back to callers
Feb 11, 2016
2da0a41
Merge pull request #2 from tridentli/library
massar Feb 11, 2016
f39e0e6
Note that it is the TLS handshake that fails
Feb 11, 2016
9418faa
Remove Set/GetSession() combo, this situation should be resolved with…
massar Feb 15, 2016
303a8a4
Handle client presence tracking so that we get their jid's in from fo…
massar Feb 16, 2016
e5c6106
Merge branch 'master' of github.com:tridentli/xmpp-client into library
massar Feb 16, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fetch the Roster
Jeroen Massar committed Feb 11, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 7764c9d0d330c92ea5222594998f0cd1fe342b51
2 changes: 2 additions & 0 deletions ui.go
Original file line number Diff line number Diff line change
@@ -89,6 +89,8 @@ func main() {

s.SignalPresence("")

s.FetchRoster()

input := NewInput(xio)

commandChan := make(chan interface{})