Commit Graph

50 Commits

Author SHA1 Message Date
nxshock
cf9fade28e Make Register method uses Login method 2019-07-31 20:53:36 +05:00
nxshock
5a9be3d516 Add LogoutAll() test 2019-07-31 20:13:52 +05:00
nxshock
5c84714d1f Add test case for changing room visibility 2019-07-31 20:10:16 +05:00
nxshock
c652fcaca4 Complete Devices method handler 2019-07-31 20:05:28 +05:00
nxshock
b87c860d7d Add forgotten returns in case of error 2019-07-31 20:03:12 +05:00
nxshock
e8165db50f Implement ListRoom GET/PUT methods 2019-07-31 20:01:20 +05:00
ChronosX88
ef06534124
fix: Add return statement in whoami method if token is unknown
(Fixes #4)
2019-07-30 15:45:47 +04:00
nxshock
d96df1b1e5 Add test case for Logout method 2019-07-29 19:53:15 +05:00
nxshock
e5b1dbd643 Handle wrong token in whoami method 2019-07-29 19:36:58 +05:00
nxshock
ff79b25285 Add basic implementation of devices method 2019-07-29 19:32:38 +05:00
ChronosX88
1c7937dd22
feat: Add ability to change listening port 2019-07-29 18:08:13 +04:00
nxshock
8bc553aff4 Add user change password method 2019-07-25 21:56:31 +05:00
nxshock
33bb853438 Add capabilities method 2019-07-25 20:14:37 +05:00
nxshock
7293b33b6f Add user.JoinedRooms() method 2019-07-24 20:04:45 +05:00
nxshock
a05a6dfb54 Fix room.ID() method 2019-07-24 20:02:04 +05:00
nxshock
b27c537374 Move user test 2019-07-24 19:36:47 +05:00
nxshock
f0d2ea7f17 Move Logout() to user method 2019-07-24 19:31:07 +05:00
nxshock
92f2b43f56 Add user.LogoutAll() method 2019-07-24 19:15:07 +05:00
nxshock
b7cb0db6c5 Add GetUserByToken test 2019-07-23 20:46:12 +05:00
nxshock
1dbc5082a9 Add WhoAmI handler 2019-07-23 19:37:02 +05:00
nxshock
a1717ec784 Add send message event to memry backend 2019-07-23 19:24:18 +05:00
nxshock
38f9c25b1b Add test of room user count 2019-07-22 22:29:18 +05:00
nxshock
213abebf0a Remove error check for token generator 2019-07-22 22:28:55 +05:00
nxshock
4ad7285103 Add tests for memory backend 2019-07-22 22:18:58 +05:00
nxshock
1951586cdc Add room users method 2019-07-22 21:02:53 +05:00
nxshock
f7fd9f190e Add token generator test 2019-07-22 19:46:21 +05:00
nxshock
149628e07f Move token generator to backend 2019-07-22 19:46:11 +05:00
nxshock
b02c6f99ac Add user ID test 2019-07-22 19:31:33 +05:00
nxshock
89646b5a46 Add todo for leaving room 2019-07-22 19:27:23 +05:00
nxshock
32937adc80 Add leave room method 2019-07-22 18:58:18 +05:00
nxshock
c179fdc4b6 Add list of joined room members 2019-07-22 18:46:59 +05:00
nxshock
9c98ec1cf3 Move changing room topic to user method 2019-07-22 18:38:02 +05:00
nxshock
d52022726a Add room creation events 2019-07-21 17:08:16 +05:00
nxshock
a6f8ef9bdb Move CreateRoom to User method 2019-07-21 16:52:32 +05:00
nxshock
feb71433c4 Add room event on changint topic 2019-07-21 16:30:14 +05:00
nxshock
cbb1befd60 Add set romm topic method for memory backend 2019-07-21 16:04:24 +05:00
nxshock
0dde8e270c Fix user id 2019-07-21 16:04:02 +05:00
nxshock
2919be97bf Add create room method plus some rework of backend 2019-07-21 14:43:14 +05:00
nxshock
4394856f24 Remove unused files 2019-07-20 22:11:40 +05:00
nxshock
f07dfc3a33 Move versions method to separate model 2019-07-20 22:10:43 +05:00
nxshock
c084dce5ec Add room event types 2019-07-20 22:05:57 +05:00
nxshock
25bc8f82fd Move backends to separate folder 2019-07-20 21:33:02 +05:00
nxshock
a99393f7a6 Update login method structures names 2019-07-20 11:35:01 +05:00
nxshock
32637e5c37 Update login method structures and comments 2019-07-20 11:30:16 +05:00
nxshock
35f75a6ddd Merge login data types 2019-07-20 11:14:35 +05:00
ChronosX88
b0ac28ab22
refactor: Make "get login flows" using models package 2019-07-19 20:29:20 +04:00
nxshock
b140a4f726 Fix login issue 2019-07-19 21:03:29 +05:00
ChronosX88
eed0554dc5
refactor: Refactor models module structure 2019-07-19 19:52:03 +04:00
ChronosX88
3b5bc7a77b
fix: Change port number of server (because Linux prohibits listening on 80 port for non-root users) 2019-07-19 11:45:11 +04:00
ChronosX88
833bc6e2f4
refactor: Change project structure to default (Standard Golang project layout) 2019-07-19 11:39:53 +04:00