Commit Graph

13 Commits

Author SHA1 Message Date
decentral1se 00a1452cfc
Migrate to ssbc urls (#336)
* fix: ssbc urls

Closes https://github.com/ssbc/go-ssb-room/issues/332

* fix: go-ssb-refs API changes

* test: go-ssb-refs API changes

Co-authored-by: decentral1se <cellarspoon@riseup.net>
Co-authored-by: André Staltz <andre@staltz.com>
2022-11-07 11:18:13 +02:00
Henry a249fd8bee fix SPDX headers and add reuse API badge 2021-10-08 14:39:31 +02:00
Tim Nordenfur 6313ee5546 fixed some typos 2021-06-15 16:24:06 +02:00
Henry 4d3610e2fb prepare v2 release 2021-05-31 14:51:05 +02:00
Henry 7c356fa407 change []byte password to string 2021-05-13 07:39:19 +02:00
Henry 4558b208ee implement password update flow with reset tokens (fixes #98)
also update AuthFallback database

* re-write fallback auth to use alias or ssbid
* replace Create() with SetPassword() which does an upsert
* Add reset tokens to sqlite
* add test for SetPassword with reset token
2021-05-13 07:39:14 +02:00
Henry dbf0fe5801 show login error above form 2021-04-12 14:09:09 +02:00
Henry 59a5fe44a4 sqlite: make sure to return ErrNotFound 2021-04-12 14:09:09 +02:00
Henry 07feacb558 review comments for PR #91 2021-03-23 08:09:45 +01:00
Henry 5edd9b0066 mega schema overhaul
* create consolidated schema with new members table
* update interfaces
* remove allow_list and replace it with members
* update roomdb types
* rename User to Member
* add role enums
* update insert-user
2021-03-22 12:58:04 +01:00
Henry ae44a878b8 add test for visibility of notice edit buttons 2021-03-16 14:08:12 +01:00
Henry 3898b845b5 sqlite: streamline receiver names
following the pattern of their first letters. ie:

func (cn CompoundName) ...
2021-03-11 09:32:17 +01:00
Henry 117cad48a7 rename admindb to roomdb 2021-03-10 16:44:46 +01:00