4
1
Fork 0
Commit Graph

37 Commits (af01b635544c62527e26db10c9f178ddec9b0400)

Author SHA1 Message Date
Ambrose Chua af01b63554 Break apart middleware, router and main 2019-08-31 17:39:26 +08:00
Daniel Lim ca87bef767 Default user fields to empty rather than NULL 2019-08-31 15:46:56 +08:00
Ambrose Chua ad7029f26a Add back unmerged stuff 2019-08-31 12:32:22 +08:00
Ambrose Chua b24874b661
Re-add PinConversation 2019-08-31 11:38:56 +08:00
Daniel Lim c86f427e7f Merge conflicts 2019-08-31 11:21:11 +08:00
Daniel Lim 1256066597 Resolves #17 pinned field for conversation 2019-08-11 11:06:19 +08:00
Ambrose Chua 117aefc0fc
Split handlers in preparation for testing 2019-08-04 13:19:07 +08:00
Ambrose Chua 54e6ae658d
fix: Cleanup formatting and add pinned chats schema 2019-07-27 23:03:05 +08:00
Daniel Lim e81b91eebb Get Users by Phone should return single user. Fixes #15 2019-07-04 05:37:38 +08:00
Daniel Lim 3c3f26086d GetUserByUsername mispelled username 2019-07-04 05:32:38 +08:00
Daniel Lim 36ae44d829 Handle adding DM to person whose DM already exists. Fixes #14 2019-07-03 11:03:44 +08:00
Daniel Lim ea6729f0e5 Prevent adding more than one person to a DM. Fixes #13 2019-07-03 10:14:50 +08:00
Daniel Lim 59c8e4a907 Support group picture in endpoints 2019-07-02 23:31:37 +08:00
Daniel Lim faa2076a43 Bugfixes 2019-07-02 23:16:03 +08:00
Daniel Lim a48a4f4e2d Added option to specify created conversation is a DM 2019-07-02 23:01:44 +08:00
Daniel Lim 1064edce60 Added support for postgres listener on member changes 2019-06-22 18:49:45 +08:00
Daniel Lim 31b305a9c6 Endpoint to edit users. Fixes #11 2019-06-21 11:14:07 +08:00
Daniel Lim cfc9ea0672 Added profile_pic field as per issue #10 2019-06-21 08:58:01 +08:00
Daniel Lim 3bb821003c Get user returns name of opposing user for DMs. Fixes issue #8 2019-06-19 21:24:39 +08:00
Daniel Lim f48fc9fa01 Added dm field in conversations as per issue #7 2019-06-19 15:12:36 +08:00
Daniel Lim 061611dd96 Added bio field to User as per issue #10 2019-06-19 11:05:34 +08:00
UnicodingUnicorn 7ab43cf9f2 Get user by username as per issue #9 2019-06-18 18:53:04 +08:00
UnicodingUnicorn 1ec0f43517 Added username to User as per issue #9 2019-06-18 18:35:35 +08:00
UnicodingUnicorn d84bde9b4d Fixes #6 Added ON CONFLICT clause to INSERT in CreateUser 2019-06-14 05:30:32 +08:00
UnicodingUnicorn a9adc633ab Removed trailing slashes in handler routes. Fixes issue #5 2019-03-16 02:21:41 +08:00
UnicodingUnicorn 6b446d85d0 backend-auth integration 2019-02-24 04:01:34 +08:00
UnicodingUnicorn d323083f74 Use env for config instead of flags 2019-02-18 23:43:00 +08:00
UnicodingUnicorn a0f72735f7 Test data init scripts 2019-02-18 22:18:08 +08:00
UnicodingUnicorn 1904525ebf Do not return querying user in response of GetConversationMembers 2019-02-17 22:55:27 +08:00
UnicodingUnicorn 3ae40e9ff9 Fixed missing parse phone in CreateContact 2019-02-17 21:36:36 +08:00
UnicodingUnicorn 4db8c52237 CreateContact support for unregistered user 2019-02-17 20:47:08 +08:00
UnicodingUnicorn 7e30174ed3 Populate phone_number in GetConversationMembers 2019-02-17 08:59:02 +08:00
UnicodingUnicorn c4cb9c35da IF NOT EXISTS 2019-02-16 13:02:50 +08:00
UnicodingUnicorn 09f177e37b Moved postgres to backend-core 2019-02-16 13:01:34 +08:00
UnicodingUnicorn 50497125d4 Documented flags 2019-02-06 11:38:10 +08:00
UnicodingUnicorn e4ce8ee2d8 Ported code over from beep v1. Wrote API documentation. Changed some POST/PATCH handlers to respond an empty body instead of just parroting the supplied body 2019-01-27 09:53:34 +08:00
Beep 853bbe3da9 Initial commit 2019-01-25 16:11:23 +00:00