Commit Graph

12 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
decentral1se 49aaff968f
fix: accept invites as an existing member is ok
PR #302

Closes https://github.com/ssb-ngi-pointer/go-ssb-room/issues/299.

Co-authored-by: decentral1se <cellarspoon@riseup.net>
2022-03-28 13:48:00 +03:00
boreq 5687fd5fa1 Fix alias not being displayed on the invites page
Reading the template of the invites page it was the intention of the
author to display the aliases instead of user refs if they are
available. The code loading the invites wasn't properly loading the
aliases of the useres who created them though always leading to this
data not being populated. This fix populates the aliases when listing
invites.

Additionally turned the invite author field into a link. This requires
some extra styling.

Fixes #245.
2021-11-23 09:22:14 -03: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 377f3512a2 remove member nickname and alias suggestion
insert-user: remove nickname
2021-03-29 15:53:33 +02:00
Henry d1d108b9b7 Add support for invite consumption via JSON 2021-03-29 15:53:30 +02:00
Henry 07feacb558 review comments for PR #91 2021-03-23 08:09:45 +01:00
Henry 0b1eaf2520 roomdb: remove HasID and HasFeed from members (GetBy* is enough) 2021-03-22 12:58:04 +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 117cad48a7 rename admindb to roomdb 2021-03-10 16:44:46 +01:00