~kris/9p

disco

ref: c252ac25c6645f66e03c84997a644ebe73b7cb20 disco/TODO -rw-r--r-- 1.1 KiB
c252ac25 — Sean Hinchee Merge pull request #18 from neutralinsomniac/master 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Commands:

:r -- register via Register(email)

:d [n] file -- dump backlog of last 'n' msgs to a file 'file'

:m needs fixed

s/word/words/ eats 'word', s/word/words/g works as expected

Features:

* read $home/lib/discord.face for profile picture (or just face?)

* runtime verify proper permissions -rw------- 0600 for discord.ndb

* flag for larger backlog loading (similar to :m, which is broken atm)

* CAPTCHA solution -- http-proxy is a bad one

* refine :p and its menu
	* when leaving a pm, drops back to channel dialogue from last guild (feature?)

* fix :m not displaying more than loaded backlog

* fix ctrl+d not closing out cleanly (treat the same as :q)

* add [b] go back to pm's menu from within pm's rather than the :c menu for last guild

Bugs:

* (maybe a Go bug) ­ if you do: `drawterm -G … -c disco` then ctrl+c the terminal (from Linux or so), load maxes and memory allocation spikes on the plan9 server

* The following error at boot:

	Connecting...2019/07/17 23:39:53 [DG0] wsapi.go:552:onEvent() error unmarshalling READY event, json: cannot unmarshal number into Go struct field ReadState.last_message_id of type string
	 PASSED!