Commit graph

21 commits

Author SHA1 Message Date
oxalica
023da5ecb2 feat(blahctl): add identity validate 2024-09-19 02:52:39 -04:00
oxalica
fac380fe55 refactor(types,register): introduce IdUrl and related types into submod
- `IdUrl` does basic validation for identity URL. Server could enforce
  additional restrictions on their own need.

- single-label doamins are now rejected by default.

- More tests are added for `IdUrl` validation.
2024-09-19 01:44:09 -04:00
oxalica
25936cc4f7 refactor(blahctl)!: push down desc_file argument 2024-09-19 00:00:32 -04:00
oxalica
5252aa19ee feat(blahctl): add identity management commands 2024-09-17 21:44:36 -04:00
oxalica
cb72d049e0 feat(types,webapi): impl id_key/act_key for all APIs and update docs 2024-09-17 21:44:36 -04:00
oxalica
985ea1d68a remove(types)!: remove members from CreateGroup
Now a group can only be created with the creator as the only initial
member. This forbids group creator from adding other members without
their consent. Additional members can join the group later at their own
will.
2024-09-16 06:39:10 -04:00
oxalica
93d1589730 refactor(types): WithSig -> Signed 2024-09-13 03:32:11 -04:00
oxalica
1e944ead31 feat: impl basic peer chat 2024-09-10 12:26:37 -04:00
oxalica
0ac841e6fa refactor: move types crate into blahd-types subpackage 2024-09-10 03:47:41 -04:00
oxalica
3bb6d1456d Enforce lint reasons 2024-09-10 01:29:21 -04:00
oxalica
59d51937da Switch room identifier from UUID to stringified i64 2024-09-06 02:06:14 -04:00
oxalica
81a566a097 Move database logic into submodule and do simple version check 2024-09-06 02:05:27 -04:00
oxalica
5fadffef4d Add GitHub CI and fix clippy warnings 2024-09-01 20:20:30 -04:00
oxalica
e84b13c876 Package with nix and add systemd unit example 2024-08-31 16:38:43 -04:00
oxalica
a63d0df443 Use serde_jcs for RFC 8785 compliancy
This fixes serialization and reduces maintainance cost, but does more
data copying on serialization.
2024-08-31 15:24:07 -04:00
oxalica
668b873b07 Reorganize workspace layout and split out blahd 2024-08-31 00:04:16 -04:00
oxalica
c492bb2537 Use rich text format for chat 2024-08-30 12:26:45 -04:00
oxalica
ff89d36ee5 Allow multiple initial members on room creation 2024-08-29 19:57:43 -04:00
oxalica
501b3e8db4 Impl private rooms 2024-08-29 17:14:56 -04:00
oxalica
482432758c Allow using userkey literal in ctl commands 2024-08-27 01:29:48 -04:00
oxalica
593da123b6 Initial impl 2024-08-27 01:29:48 -04:00