Commit Graph

  • c36854ec79 Fix: Members are optionally returned not always. Paul 2021-06-11 19:02:18 +01:00
  • 2307bbd850 API: Support for mentions. Paul 2021-06-11 18:07:48 +01:00
  • 636c692924 API changes: Handle last_message on text channels and members on messages. Paul 2021-06-11 16:24:19 +01:00
  • 2f55c39acb Fix: Export permission calculator. Paul 2021-06-10 14:42:23 +01:00
  • 20043cc18d API: Client-side permissions calculator. Paul 2021-06-10 14:23:33 +01:00
  • 1f3294157a Servers: Add getBannerURL Paul 2021-06-08 14:34:17 +01:00
  • 92175cdb0d API: Pre-load given channel from invite response. Paul 2021-06-08 14:03:03 +01:00
  • e788028dc8 Channels: Allow text channels to have icons. Paul 2021-06-08 12:56:47 +01:00
  • 9e736f98fb API: Restore servers / members. Delete members. Paul 2021-06-07 16:15:58 +01:00
  • 4b3aed9399 Add members map. Paul 2021-06-07 09:16:20 +01:00
  • a87d9d9c05 Servers: Fetch, edit, kick members. Fetch invites. Paul 2021-06-06 15:26:31 +01:00
  • 3714e7d1ff Messaging: Fix message event firing twice when sending. Paul 2021-06-06 10:07:28 +01:00
  • cc3ba653ce Servers: New invite and server routes. Paul 2021-06-05 22:42:16 +01:00
  • 5bd2a4c2a2 Servers: Add support for servers and text channels Paul 2021-06-02 10:02:41 +01:00
  • ec88333a83 Sync: add support for timestamp on set. Paul 2021-06-01 11:09:13 +01:00
  • 0aabceafa4 Add support for sync. Paul 2021-05-26 13:42:18 +01:00
  • 022f96ed46 Update object to use attachment array. Paul 2021-05-25 17:37:27 +01:00
  • 3aef5b4217 Should use set() not patch() Paul 2021-05-14 23:17:40 +01:00
  • 398a4bb9e9 API changes. Fetch all members if any unknowns. Paul 2021-05-14 23:13:12 +01:00
  • c2bcb8eb65 Update january definitions. (special embeds) Paul 2021-05-09 18:54:44 +01:00
  • 840b465e9f Update January definitions. Paul 2021-05-08 17:10:49 +01:00
  • 64a2ca02fa Add embed types. Paul 2021-05-07 18:15:04 +01:00
  • b2de5acab7 Add support for message query sort. Paul 2021-05-03 16:37:16 +01:00
  • f7416c8dee Use removeField instead. Paul 2021-05-03 12:25:23 +01:00
  • 5fadffd86c Update API routes to match current. Paul 2021-05-03 11:43:06 +01:00
  • 667b38c589 Add a way to allow animated content. Paul 2021-05-03 11:35:37 +01:00
  • c755e6c766 Fix bug when not specifying size for image. Paul 2021-05-02 13:05:15 +01:00
  • ffe6386b0e Add backgrounds / icons. Paul 2021-05-01 22:09:11 +01:00
  • 2c411f26ae Allow a way to specify avatar size. Paul 2021-05-01 16:56:47 +01:00
  • 6f2643822d Add getAvatarURL back. Paul 2021-05-01 16:41:27 +01:00
  • 213e785594 Include avatar in user object. Paul 2021-05-01 16:39:26 +01:00
  • 7f0d92ec2c Fix relationship update not overriding full object. Paul 2021-05-01 15:47:00 +01:00
  • b58db9113a Update to match new API Paul 2021-05-01 13:43:46 +01:00
  • 2767b410d5 Bump ver. Paul 2021-04-24 17:57:37 +01:00
  • 8dd1da069e Merge branch 'master' of https://gitlab.insrt.uk/revolt/revolt.js Paul 2021-04-24 17:57:05 +01:00
  • 86189ebbf8 Update object for autumn Paul 2021-04-24 17:57:01 +01:00
  • 33095eb5d9 Add LICENSE insert 2021-04-19 15:37:19 +00:00
  • a8a4f5d464 Merge branch 'tsdoc' into 'master' insert 2021-04-12 20:19:39 +00:00
  • 7682597d0a Add TSDoc annotations SP46 2021-04-12 20:19:39 +00:00
  • ca1db4cb3b Fix routes. Paul 2021-04-06 15:45:55 +01:00
  • 9b7bdb27a4 New typings for routes; add md to text. Bump TS. Paul 2021-04-06 15:34:00 +01:00
  • 2bc8e6b6e6 Add presence support. Paul 2021-04-03 21:42:34 +01:00
  • 163380542b API changes. (profile + status + updates) Paul 2021-04-03 15:06:22 +01:00
  • 87d0416364 Add utility functions for profile / mutual; add new route. Paul 2021-04-02 22:14:38 +01:00
  • f98349f9d3 New data on user object; add edit route. Paul 2021-04-02 21:03:23 +01:00
  • 2bb520148c Breaking API change. Paul 2021-03-31 21:35:04 +01:00
  • 65ef95c853 Add join_call. Paul 2021-03-31 14:10:40 +01:00
  • cec93fa513 Fetch group recipients upon first seeing a group. Paul 2021-03-30 21:52:02 +01:00
  • 28ae2e307e Fix a bug where we don't open saved messages channels. Paul 2021-03-30 21:34:49 +01:00
  • 2bb1567c63 Update dependencies, specifically axios. Paul 2021-03-30 21:20:08 +01:00
  • 38ebbc2967 Fix opening existing DM. Paul 2021-03-02 09:40:49 +00:00
  • cb7029dd53 Allow string messages and make nonce optional. Paul 2021-03-01 21:55:17 +00:00
  • aa886d3bcb Fetch users when they join. Paul 2021-02-28 19:51:01 +00:00
  • 04b5bfe183 Fix channel delete. Paul 2021-02-27 21:42:33 +00:00
  • e8513276d8 Fix openDM; also fetch existing if exists. Paul 2021-02-27 20:48:06 +00:00
  • 3797ebd1c5 Bump ver. Paul 2021-02-27 15:16:32 +00:00
  • 126e4231e1 Make sure websocket is connected; send heartbeat. Paul 2021-02-27 15:16:06 +00:00
  • f4ecd615c6 Log out properly. Paul 2021-02-27 14:50:28 +00:00
  • c0c0be44eb Fix recipients array being filled twice. Paul 2021-02-27 08:10:20 +00:00
  • 6380beb2e8 Fix message event double-send. Paul 2021-02-26 13:51:50 +00:00
  • d0b4ca46bd Fix restore(); Paul 2021-02-25 18:56:47 +00:00
  • bc5b6a79df Make attachment optional, add recp util; restore uid. Paul 2021-02-25 18:29:52 +00:00
  • 4196816f85 Fix fetchMessages type. Paul 2021-02-25 18:00:10 +00:00
  • c58441e53f Add message actions to channel map. Paul 2021-02-25 17:20:34 +00:00
  • 2ba8e289ee Small changes before release. Paul 2021-02-25 10:44:33 +00:00
  • b7b54a71b8 Switch from classes to plain objects for channels / users. Paul 2021-02-24 20:47:36 +00:00
  • 58149f3afd Actually emit packet event. Paul Makles 2021-02-19 17:03:56 +00:00
  • 7ac90dd157 Fix ws client not set. Paul Makles 2021-02-19 16:44:13 +00:00
  • 1059dbccbd Expose strongly typed send function. Paul Makles 2021-02-19 16:30:50 +00:00
  • 1139251d7b Update API definitions. Paul Makles 2021-02-19 15:55:51 +00:00
  • fcea45699d Add Push API routes. Paul Makles 2021-02-18 14:23:44 +00:00
  • 76bd8d6900 Take correct substr of short content; emit patch on channels. Paul Makles 2021-02-17 14:44:28 +00:00
  • 27df3f7a2d Better typings for sendMessage. Paul Makles 2021-02-16 17:56:25 +00:00
  • c9317a67c8 Rebuild completely each time; make attachment optional. Paul Makles 2021-02-16 16:02:50 +00:00
  • 2ecdf7ef1d Attachment support. Paul Makles 2021-02-16 15:47:19 +00:00
  • b9db3c8959 Update API. Paul Makles 2021-02-16 09:54:13 +00:00
  • fbb0a599ef Fix add friend. Paul Makles 2021-02-14 13:26:05 +00:00
  • 7de6344c4d Fetch config automatically, fix another mis-match. 3.0.3-alpha.1 Paul Makles 2021-02-13 20:16:57 +00:00
  • 993144c8ec Add a way to reset the client; add invite_only field. 3.0.3-alpha.0 Paul Makles 2021-02-13 20:05:01 +00:00
  • e205f3f7d6 Add all rAuth route types. 3.0.2 Paul Makles 2021-02-13 11:50:53 +00:00
  • 48e218a817 Re-write typings for Axios. Paul Makles 2021-02-13 11:36:54 +00:00
  • cd79c9bd8b Fix fetchMessage being called with undefined id. 3.0.1-beta.14 Paul Makles 2021-02-06 17:40:25 +00:00
  • 15e7b569f2 Patch lastMessage as well. Paul Makles 2021-01-27 15:53:29 +00:00
  • fd2b19fcef Patch DM channel on message. Paul Makles 2021-01-27 15:35:38 +00:00
  • 96ec4f0795 Update "edited" object locally. Paul Makles 2021-01-27 14:20:48 +00:00
  • 10f9be875c Include connection status on WS client. Paul Makles 2021-01-27 11:49:44 +00:00
  • 15a0029f46 Switch to EventEmitter3. Paul Makles 2021-01-27 11:06:39 +00:00
  • 7895d74ee1 Fix defaults relating to User in patch(). 3.0.1-beta.8 Paul Makles 2021-01-26 21:55:22 +00:00
  • 5cfb37c859 Patch last_message object on channels when receiving messages. Paul Makles 2021-01-24 11:12:58 +00:00
  • 118b612631 Catch last_message object. Paul Makles 2021-01-24 10:35:15 +00:00
  • 93404b82fb Fix bug. Paul Makles 2021-01-22 12:26:30 +00:00
  • cce875d498 Add fetchMessages(). Paul Makles 2021-01-22 11:36:28 +00:00
  • 0698ae195d Update ver. Paul Makles 2021-01-20 20:52:58 +00:00
  • 1845af1cca Add getName() for channels, find recipient for DM channels. Paul Makles 2021-01-20 20:52:49 +00:00
  • e75086fb0b Prevent 'message' firing twice. (in cases where notification is faster) Paul Makles 2021-01-20 20:19:50 +00:00
  • c60b7f516a Add iconURL, sync "active" on DM. Paul Makles 2021-01-20 16:52:56 +00:00
  • 76ca67221c Group creation, add / remove members. System user. Paul Makles 2021-01-20 15:17:11 +00:00
  • 60197f6cd9 Message editing. Paul Makles 2021-01-19 22:21:20 +00:00
  • b04f86f583 Rewrite events for the most part; add messages. Paul Makles 2021-01-19 21:50:17 +00:00
  • 2a494c22b0 Sync on fetch Paul Makles 2021-01-19 18:16:27 +00:00