Commit Graph

691 Commits

Author SHA1 Message Date
Tulir Asokan
9c4788f6e2 Update README 2018-04-22 20:23:33 +03:00
Tulir Asokan
7e946a0703 Fix golint warnings 2018-04-22 20:14:40 +03:00
Tulir Asokan
adee1ffcc4 Add doc.go to lib/util/ 2018-04-21 22:19:00 +03:00
Tulir Asokan
76af9d3345 Update README 2018-04-21 22:03:07 +03:00
Tulir Asokan
7abfd97cda Allow clicking on room list entries to switch room. Fixes #30 2018-04-21 21:53:52 +03:00
Tulir Asokan
7da1555c84 Improve Markdown rendering
* Remove paragraphs from output HTML
* Remove mention link wrapper from text (leaving only mention name)
2018-04-21 21:24:07 +03:00
Tulir Asokan
d147fc7579 Improve tab completion system 2018-04-21 19:41:19 +03:00
Tulir Asokan
c3386ba118 Fix golint issues 2018-04-19 11:35:52 +03:00
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