Commit Graph

14 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
Henry 4d3610e2fb prepare v2 release 2021-05-31 14:51:05 +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
cblgh 8d1f790f57 add flag for toggling usage of alias subdomains
related to #160, requested by cryptix
2021-04-20 09:22:53 +02:00
cblgh c97b7d44c3 add default language admin ui functionality 2021-04-20 09:22:49 +02:00
cblgh 418f1d6606 use custom type marshalling via database/sql interface
* remove cruft from sqlite package
* update sqlboiler.toml
* fix default value in migration
* add default tests
2021-04-07 08:53:50 +02:00
cblgh b0761783f9 persist privacy mode in sqlite :> 2021-04-06 16:52:54 +02:00
Henry 377f3512a2 remove member nickname and alias suggestion
insert-user: remove nickname
2021-03-29 15:53:33 +02:00
Henry a180c74c38 begin sign-in with ssb
* sketch session store
* use session store and unify authentication handling
* sketch muxrpc handlers
2021-03-26 13:36:42 +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 0f82c29f48 track created_at column for invites 2021-03-16 17:13:01 +01:00
Henry e6c3305229 roomdb: flesh out alias service
* update interface
* update mockdb
* update models
* implement sqlite implementation
2021-03-16 08:49:06 +01:00
Henry 117cad48a7 rename admindb to roomdb 2021-03-10 16:44:46 +01:00