Commit graph

  • fb76756482 feat(webapi): impl user registration and identity description format oxalica 2024-09-16 10:37:24 -04:00
  • 7f74d73c8c remove(webapi)!: remove auto user creation on joining or creating room oxalica 2024-09-16 06:34:27 -04:00
  • 985ea1d68a remove(types)!: remove members from CreateGroup oxalica 2024-09-16 06:19:53 -04:00
  • 93d779b615 feat(webapi): log backtrace on database errors oxalica 2024-09-16 06:13:14 -04:00
  • 2775068e49 refactor(config): split into subsections and verify on parsing oxalica 2024-09-13 07:20:48 -04:00
  • 93d1589730 refactor(types): WithSig -> Signed oxalica 2024-09-13 03:30:02 -04:00
  • 73eb441a26 refactor(*): use term msg to replace item oxalica 2024-09-13 03:11:51 -04:00
  • 4acc103afa ci: enable all non-webapi tests on stable rustc oxalica 2024-09-11 13:19:24 -04:00
  • 98b2df2fdf feat(blahd): impl socket activation integration oxalica 2024-09-11 13:14:06 -04:00
  • 87c8acd5b2 fix(module.nix): update config option definitions oxalica 2024-09-10 16:39:53 -04:00
  • 348fdc2498 fix(config): set default value of database.in_memory oxalica 2024-09-10 16:34:50 -04:00
  • ab4812e101 fix: deny room_admin on peer chat room oxalica 2024-09-10 12:46:47 -04:00
  • 1e944ead31 feat: impl basic peer chat oxalica 2024-09-10 12:15:22 -04:00
  • 9e96927693 doc: fix missed docs of member_permission oxalica 2024-09-10 12:15:56 -04:00
  • 4f48b390f7 feat(webapi): include member_permission in RoomMetadata oxalica 2024-09-10 09:33:59 -04:00
  • 5eeb12c294 test(webapi): test last seen item oxalica 2024-09-10 09:20:32 -04:00
  • 74c6fa6f6a refactor(webapi): hoist RoomMetadata to blah_types and rename last_chat to last_item oxalica 2024-09-10 09:19:15 -04:00
  • c0ec429c24 test(webapi): test room item posting and listing oxalica 2024-09-10 08:15:24 -04:00
  • 1a0347337c feat(webapi): differentiate no-room-permission from not-a-member error oxalica 2024-09-10 07:56:25 -04:00
  • 35b5aace08 refactor(tests): simplify and rename oxalica 2024-09-10 07:32:31 -04:00
  • 2759891b7b ci: skip documenting dependencies oxalica 2024-09-10 06:57:24 -04:00
  • 199985c6a2 build(toolchain),ci: switch to rust 1.82-beta for now oxalica 2024-09-10 06:22:56 -04:00
  • 7160e5adbd refactor: reorganize docs and aux files oxalica 2024-09-10 03:59:31 -04:00
  • 0ac841e6fa refactor: move types crate into blahd-types subpackage oxalica 2024-09-10 03:47:41 -04:00
  • 0a0a4aefa9 doc: document WebSocket API oxalica 2024-09-10 03:33:21 -04:00
  • 8bca2ebddc doc: update and fix errors oxalica 2024-09-10 03:02:10 -04:00
  • 3bb6d1456d Enforce lint reasons oxalica 2024-09-10 01:22:46 -04:00
  • 61850aa1ed Make mock rng a fixture to allow dyn Rng oxalica 2024-09-09 04:21:16 -04:00
  • e40ec6a324 Add tests for room join/leave and fix response status code oxalica 2024-09-09 04:13:10 -04:00
  • 5cd45232f4 Enable more local logging and disable dependencies' oxalica 2024-09-09 03:54:28 -04:00
  • ff5b7e60a7 Add tests for room create/read and fix incorrect foreign keys oxalica 2024-09-09 03:18:34 -04:00
  • c5263c607c Split out socket config and switch back to toml crate oxalica 2024-09-09 01:26:46 -04:00
  • 4f0f1405dc Librarify blahd for testing oxalica 2024-09-09 00:30:15 -04:00
  • a92f661003 doc: pin @stoplight/elements version & add sub-resource integrity Shibo Lyu 2024-09-09 11:22:00 +08:00
  • a6982868b5
    doc: pin @stoplight/elements version & add sub-resource integrity Shibo Lyu 2024-09-09 11:22:00 +08:00
  • 8f0311c0d8 doc: openapi doc Shibo Lyu 2024-09-08 22:59:14 +08:00
  • c2b8ef1a22 ci: publish openapi doc Shibo Lyu 2024-09-07 21:48:03 +08:00
  • 8bdfd43d70
    doc: openapi doc Shibo Lyu 2024-09-08 22:59:14 +08:00
  • 9379f9ae63
    ci: publish openapi doc Shibo Lyu 2024-09-07 21:48:03 +08:00
  • 67ea6aaacc Impl untilToken for item_list to avoid over-fetching seen items oxalica 2024-09-06 04:00:19 -04:00
  • 8b096ba802 Impl room listing with filter=unseen oxalica 2024-09-06 03:32:40 -04:00
  • e74da2812b Maintain room member's last seen item and fix docs oxalica 2024-09-06 02:52:31 -04:00
  • e98c9f8b3c Derive Clone, PartialEq, Eq for data types oxalica 2024-09-06 02:29:58 -04:00
  • 51e2c8418b Include cid in item responses and update docs oxalica 2024-09-06 02:26:14 -04:00
  • a7f260027d Use simplified Snowflake ID generation oxalica 2024-09-06 01:51:27 -04:00
  • 59d51937da Switch room identifier from UUID to stringified i64 oxalica 2024-09-06 00:52:53 -04:00
  • 236fb61832 Fix missed JSON error response and simplify oxalica 2024-09-03 20:55:31 -04:00
  • 4e78780569 Simplify frontend duplicated code oxalica 2024-09-03 20:18:22 -04:00
  • d3c3961298 Use proper rejection type for Auth middleware oxalica 2024-09-03 19:48:50 -04:00
  • 99d1311d63 Avoid unnecessary unwrap oxalica 2024-09-03 16:01:12 -04:00
  • 81a566a097 Move database logic into submodule and do simple version check oxalica 2024-09-03 17:52:02 -04:00
  • a37bc3f81e Return the latest message in room list for display oxalica 2024-09-03 15:08:35 -04:00
  • 2eb884766a Impl room leaving and fix frontend room combobox oxalica 2024-09-03 05:38:20 -04:00
  • cc51d53575 Fix frontend oxalica 2024-09-03 04:36:49 -04:00
  • 57b17547ca Impl room listing for testing frontend oxalica 2024-09-03 04:03:49 -04:00
  • 6831c3d25a Fix missed attrs on room creation oxalica 2024-09-03 03:14:10 -04:00
  • 2b6fbe8794 Impl global room listing at /room oxalica 2024-09-03 03:13:05 -04:00
  • a9d5eb9631 Explicitly allow Authorization header for CORS oxalica 2024-09-03 02:00:55 -04:00
  • b05f704406 Rework /room/{}/item and pagination query oxalica 2024-09-03 01:59:31 -04:00
  • 77216aa0f8 Switch from event stream to WebSocket for events oxalica 2024-09-02 21:33:05 -04:00
  • 5fadffef4d Add GitHub CI and fix clippy warnings oxalica 2024-08-31 22:48:03 -04:00
  • 812d6c8602 Reduce deps rebuild for nix package oxalica 2024-09-01 19:59:46 -04:00
  • 263c0ca44b Fix typos oxalica 2024-08-31 22:39:09 -04:00
  • 42a778bef2 Impl default config for testing frontend oxalica 2024-08-31 20:04:37 -04:00
  • 5d15900436 Impl /room and /room/{ruuid}/admin endpoints oxalica 2024-08-31 18:33:23 -04:00
  • e84b13c876 Package with nix and add systemd unit example oxalica 2024-08-31 15:40:41 -04:00
  • a63d0df443 Use serde_jcs for RFC 8785 compliancy oxalica 2024-08-31 15:08:19 -04:00
  • 6e7229e4ac Make more server constants configurable oxalica 2024-08-31 01:25:25 -04:00
  • abdc32b51f Use configuration file to simplify CLI oxalica 2024-08-31 00:53:53 -04:00
  • 4937502d4c Define error response format and refactor error handling oxalica 2024-08-30 23:54:16 -04:00
  • 4ceffe3f31 Split out timestamp check and actually check nonce oxalica 2024-08-30 20:32:48 -04:00
  • 668b873b07 Reorganize workspace layout and split out blahd oxalica 2024-08-30 19:16:44 -04:00
  • 370722731b Simplify rich text on-wire format oxalica 2024-08-30 13:04:57 -04:00
  • c492bb2537 Use rich text format for chat oxalica 2024-08-30 12:22:19 -04:00
  • 803c728273
    chore: Update zeabur configuration Yi-Jyun Pan 2024-08-30 11:26:27 +08:00
  • 4d3371e485 Add draft API docs oxalica 2024-08-29 20:50:03 -04:00
  • ff89d36ee5 Allow multiple initial members on room creation oxalica 2024-08-29 19:57:43 -04:00
  • cf5d648315 Enforce sorted fields for signed payloads oxalica 2024-08-29 18:56:52 -04:00
  • 74bd0d42e2 Report 403 Forbidden for insufficient permission oxalica 2024-08-29 18:34:50 -04:00
  • 4456513139 Fix room permission check oxalica 2024-08-29 18:19:26 -04:00
  • d672d067cd Ser/de bitflags as raw integers oxalica 2024-08-29 18:14:40 -04:00
  • 501b3e8db4 Impl private rooms oxalica 2024-08-29 15:57:46 -04:00
  • 9ced78d13d Apply more limits on incoming requests oxalica 2024-08-27 02:10:31 -04:00
  • e71140e1fa Impl example frontend oxalica 2024-08-27 01:28:28 -04:00
  • 0c905f61cf Impl API to fetch events as-is oxalica 2024-08-27 01:27:11 -04:00
  • 482432758c Allow using userkey literal in ctl commands oxalica 2024-08-26 23:45:56 -04:00
  • bcfac0c6b6 Allow CORS and fix event readiness notification oxalica 2024-08-26 22:55:08 -04:00
  • 593da123b6 Initial impl oxalica 2024-08-26 12:54:06 -04:00
  • ae7a2b09fc Init oxalica 2024-08-25 14:26:34 -04:00