-
Notifications
You must be signed in to change notification settings - Fork 3
/
plan.txt
68 lines (50 loc) · 1.55 KB
/
plan.txt
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Plan of action:
Structure
setup.py
telepathy-hangups (executable)
TelepathyPython (stripped down version of Tp-python)
TelepathyHangups
.service
.manager
TelepathyHangups
ConnectionManager (created by main app)
Protocol (static)
Auth (wraps a TH auth object)
Connection (wraps a TH client object (after we've done the auth) we've done auth UserList)
ChannelManager ( wraps a ConversationList)
TextChannel (wraps a TH conversation object)
Plan of attack:
- make two demo apps
- merge together
- mainloop problem can be solved with https://bitbucket.org/a_ba/gbulb
see also http://stackoverflow.com/questions/26675297/asyncio-calls-running-in-gtk-main-loop
Tp spec can be found: http://telepathy.freedesktop.org/spec/
Milestone 0.1:
(Tp side)
- create a CM that can be seen in KTp DONE
- send/receive a hello world DONE
- show a hardcoded roster DONE
(Hangups side)
- create a client object, log in, DONE
- get event for new chat / new message in chat DONE
Milestone 0.2:
- connect Using get_auth_stdin + saved cookie file DONE
- roster, even if using old API as long as it works in KTp DONE
- start 1-1 chats working with name in the chat
Milestone 0.3:
- open chat when we receive a message
- group chats
*BLOG*
Milestone 0.4:
- proper install + DBus activate
- set_presence
- avatars
- contact caps (hardcode that they can have text channels)
- email the hangups guys
Milestone 0.5:
- proper auth
- error handling
Milestone 0.6:
- all the packaging nonsense. Licenses, COPYING files etc.
- update to Messaging API in chats.
*RELEASE*