Commit Graph

133 Commits

Author SHA1 Message Date
Tulir Asokan
f62b27f332 Add .codeclimate.yml 2018-04-19 11:33:59 +03:00
Tulir Asokan
b1dc965a4a Gofmt 2018-04-19 11:10:34 +03:00
Tulir Asokan
b17ff318c2 Disconnect UI from main Gomuks struct. Fixes #21 2018-04-18 18:35:54 +03:00
Tulir Asokan
3b2d5fa034 Fix nick coloring 2018-04-18 17:33:59 +03:00
Tulir Asokan
670d369c92 Remove debug prints 2018-04-18 14:48:25 +03:00
Tulir Asokan
bb36996194 Add support for sending Markdown messages 2018-04-18 14:46:03 +03:00
Tulir Asokan
3750d5007f Create pills when tab-completing or clicking nicks 2018-04-18 13:38:33 +03:00
Tulir Asokan
127c896291 Fix panic handling 2018-04-18 13:38:07 +03:00
Tulir Asokan
55a2fb7803 Add tests for config handling 2018-04-17 18:13:38 +03:00
Tulir Asokan
96ce95cf14 Update preview 2018-04-17 17:29:12 +03:00
Tulir Asokan
215086dfac Add test file stubs to include them in coverage percentage 2018-04-17 15:42:43 +03:00
Tulir Asokan
36ed196454 Remove unnecessary InitViews() from GomuksUI interface 2018-04-17 01:06:22 +03:00
Tulir Asokan
e9141f6577 Recover panics in ANSImage.Render() 2018-04-16 23:01:59 +03:00
Tulir Asokan
b728678f0c Add tests for pushrule actions 2018-04-16 21:47:55 +03:00
Tulir Asokan
b0caa48db1 Set initial device name to "gomuks" 2018-04-16 21:30:34 +03:00
Tulir Asokan
262c34a45a Add coverage.html to gitignore 2018-04-16 13:31:57 +03:00
Tulir Asokan
4f4e78ae0c Fix another nil pointer panic in the HTML parser (ref #20) 2018-04-16 12:04:00 +03:00
Tulir Asokan
0d4d597909 Fix panic in HTML parser (#20) 2018-04-15 17:54:11 +03:00
Tulir Asokan
0cdde557a3 Add tests for pushrule conditions and fix bugs found when making tests 2018-04-15 15:36:01 +03:00
Tulir Asokan
bb9ed4558b Refactor things 2018-04-15 14:03:05 +03:00
Tulir Asokan
28e5f9d4b0 Add package docs 2018-04-15 13:34:39 +03:00
Tulir Asokan
53cdfb64c1
Merge pull request #18 from tulir/ui-refactor
Refactor UI to use interfaces and add advanced message rendering
2018-04-14 18:09:02 +03:00
Tulir Asokan
d060d10615 Allow clicking names to mention them 2018-04-14 15:33:20 +03:00
Tulir Asokan
ba3a6f5614 Add docs 2018-04-14 12:02:24 +03:00
Tulir Asokan
85757c387e Fix typo in newline stripping 2018-04-14 11:50:57 +03:00
Tulir Asokan
f5530ff99c Move message parsing to parser subpackage 2018-04-14 11:50:18 +03:00
Tulir Asokan
782ba0657a Make HTML rendering more advanced
Also add Python-like HTML parser thing in lib/htmlparser
2018-04-14 11:44:09 +03:00
Tulir Asokan
e7bf5bd59f Add basic HTML rendering (ref #16) 2018-04-14 00:34:25 +03:00
Tulir Asokan
69c163cfe9 Unknown changes that possibly fix and/or break things 2018-04-13 21:25:45 +03:00
Tulir Asokan
7e5e802e90 Cache TString version of UITextMessage.MsgText 2018-04-11 19:36:15 +03:00
Tulir Asokan
92a2428865 Allow clicking images and load images from cache 2018-04-11 19:20:40 +03:00
Tulir Asokan
ff7ee333a1 Rename UIString to TString, move ansimage to lib/ and switch to tcell fork 2018-04-11 17:57:15 +03:00
Tulir Asokan
c0705b02a0 Move notification package to lib/ and add open package 2018-04-11 15:05:42 +03:00
Tulir Asokan
14a84295d7 Add go.mod file 2018-04-10 23:41:56 +03:00
Tulir Asokan
75a0945a83
Add build status badge 2018-04-10 21:35:27 +03:00
Tulir Asokan
2d950126aa Enable travis for codeclimate coverage reports 2018-04-10 21:27:57 +03:00
Tulir Asokan
10ffa6189f Add a simple push rule parsing test 2018-04-10 20:51:30 +03:00
Tulir Asokan
8270bc0322 Move event parsing to ui/messages and add image displaying 2018-04-10 19:31:28 +03:00
Tulir Asokan
ee67c1446c Convert message buffer to use custom colorable strings 2018-04-10 16:07:16 +03:00
Tulir Asokan
b6e58e83a8 Include error in pretty panic log 2018-04-10 16:01:01 +03:00
Tulir Asokan
eda2b575f0 Refactor UI to use interfaces everywhere 2018-04-09 23:45:54 +03:00
Tulir Asokan
2ba2fde396 Gofmt 2018-04-02 13:47:20 +03:00
Tulir Asokan
1e082f9715 Ignore errors in NewGomuks() 2018-04-02 13:47:20 +03:00
Tulir Asokan
dd89fa621d Improve debug output options 2018-04-02 13:47:20 +03:00
Tulir Asokan
c6e9f498a4 Stop sending notifications from first sync 2018-04-02 13:47:20 +03:00
Jan Christian Grünhage
70343b4536 Document needed go version (#17) 2018-04-02 13:39:18 +03:00
Tulir Asokan
8b90e1a6ef
Update badge URLs 2018-03-27 13:12:26 +03:00
Tulir Asokan
f484521aad
Update preview 2018-03-26 22:04:28 +03:00
Tulir Asokan
adce6d3211 Don't wrap user list 2018-03-26 22:03:30 +03:00
Tulir Asokan
d684187f42 Don't send notifications for current room 2018-03-26 20:59:58 +03:00