Commit Graph

33 Commits

Author SHA1 Message Date
ChronosX88
32a1556de1
fix: RoomEvent methods now use the pointer to the self 2019-08-18 18:40:10 +04:00
ChronosX88
b911c7e351
feat: Move event storage to BuntDB 2019-08-18 14:56:16 +04:00
ChronosX88
e009c054cb
feat: Start implementing Sync method (WIP) 2019-08-17 12:42:56 +04:00
nxshock
585ccbc332 Move Sync method to user method 2019-08-11 18:53:18 +05:00
nxshock
d3f90c8eda Replace reflection to type assertion 2019-08-11 18:47:25 +05:00
nxshock
197b296a24 Events rework
Now Event is an interface. Moved all events stuff to separate events module.
2019-08-10 12:48:55 +05:00
nxshock
33bb47bda8 Fix backend GetEventsSince interface func 2019-08-09 23:06:37 +05:00
ChronosX88
cab885edd8
feat: Add basic GetEventsSince method for backend 2019-08-09 21:02:33 +04:00
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
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
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
3185bda38e Switch backend mutex to RW mutex 2019-08-03 22:45:08 +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
87144ee37d Make models.ApiError interface, not struct 2019-08-03 11:46:57 +05:00
nxshock
782c328e3d Add basic implementation of PublicRooms method 2019-08-02 22:55:35 +05:00
nxshock
11097f763c Add register.available method 2019-08-02 18:17:18 +05:00
nxshock
cf9fade28e Make Register method uses Login method 2019-07-31 20:53:36 +05:00
nxshock
e8165db50f Implement ListRoom GET/PUT methods 2019-07-31 20:01:20 +05:00
nxshock
f0d2ea7f17 Move Logout() to user method 2019-07-24 19:31:07 +05:00
nxshock
1dbc5082a9 Add WhoAmI handler 2019-07-23 19:37:02 +05:00
nxshock
149628e07f Move token generator to backend 2019-07-22 19:46:11 +05:00
nxshock
a6f8ef9bdb Move CreateRoom to User method 2019-07-21 16:52:32 +05:00
nxshock
2919be97bf Add create room method plus some rework of backend 2019-07-21 14:43:14 +05:00