Commit Graph

78 Commits

Author SHA1 Message Date
nxshock
f8c6a259e2 Fix nil events field 2019-08-08 20:01:55 +05:00
nxshock
3bbb8b19a8 Fix room aliases 2019-08-08 19:38:30 +05:00
nxshock
a2869ebf85 Switch mutex RLock to Lock for RW method 2019-08-07 19:33:10 +05:00
nxshock
20fea5c1dd Remove wront assertion after event rework 2019-08-07 19:16:40 +05:00
ChronosX88
b7aff5cac6
Merge branch 'master' into refactor/eventCol 2019-08-07 13:11:51 +04:00
ChronosX88
57a2beceb2
refactor: Make events as one collection in Backend 2019-08-07 13:07:11 +04:00
nxshock
4de7078f42 Add implementation of room alias methods 2019-08-06 20:28:39 +05:00
nxshock
febdc5f31f Add test case for short username 2019-08-06 18:59:28 +05:00
nxshock
91b28d2dc1 Make coomon.Filter synonym of filter request 2019-08-05 20:06:46 +05:00
nxshock
330f362e54 Rework filter methods 2019-08-05 19:39:28 +05:00
ChronosX88
6dba957e5f
fix: Fix bug with filter adding 2019-08-05 14:13:37 +04:00
ChronosX88
501c7b0795
feat: Add Filter API [WIP] 2019-08-04 20:46:31 +04:00
nxshock
a513e35953 Start implementation of Invite method 2019-08-04 13:47:58 +05:00
nxshock
3185bda38e Switch backend mutex to RW mutex 2019-08-03 22:45:08 +05:00
nxshock
1e87bcac8b Fix TestPublicRooms 2019-08-03 22:39:35 +05:00
nxshock
d47457a67c Add basic implementation of Post publicRooms method 2019-08-03 19:47:33 +05:00
nxshock
713fc3cb02 Update imports 2019-08-03 19:19:18 +05:00
nxshock
da35c59aaa Fix basic regexp for username validation 2019-08-03 18:54:58 +05:00
nxshock
1816362e9a Add simple username validation 2019-08-03 12:54:32 +05:00
nxshock
4793970e87 Add room state test 2019-08-03 11:59:52 +05:00
nxshock
87144ee37d Make models.ApiError interface, not struct 2019-08-03 11:46:57 +05:00
nxshock
a2ebc64065 Add publicrooms method test 2019-08-02 23:11:32 +05:00
nxshock
782c328e3d Add basic implementation of PublicRooms method 2019-08-02 22:55:35 +05:00
nxshock
823ab7e100 Add filling of room state field on room creation 2019-08-02 21:48:48 +05:00
nxshock
e293cd0255 Implement room state field 2019-08-02 21:46:46 +05:00
nxshock
11097f763c Add register.available method 2019-08-02 18:17:18 +05:00
nxshock
2cffa574fa Implement leaving room method 2019-08-01 19:29:43 +05:00
nxshock
490bd56e2d Add test GetRoomByID with wrong id 2019-07-31 21:42:43 +05:00
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