Commit Graph

218 Commits

Author SHA1 Message Date
Henry
ae44a878b8 add test for visibility of notice edit buttons 2021-03-16 14:08:12 +01:00
3db514fd66 add more tests 2021-03-16 14:08:12 +01:00
8d35860cde add basic smoke tests for notices 2021-03-16 14:08:12 +01:00
c2ae71e2c7 fix typo in function comment 2021-03-16 14:08:12 +01:00
c7b7d2ebd1 ignore vim swap files 2021-03-16 14:08:12 +01:00
Henry
206a776917
Merge pull request #78 from ssb-ngi-pointer/aliases
Aliases: database and web/muxrpc handlers
2021-03-16 11:35:50 +01:00
Henry
ca3ee626db
Update web/handlers/aliases.go
Co-authored-by: André Staltz <andre@staltz.com>
2021-03-16 10:28:00 +01:00
André Staltz
90634b0c96
Merge pull request #80 from ssb-ngi-pointer/css-invite-pages
style the invite-list page
2021-03-16 10:29:41 +02:00
Henry
416bc9c089 fix tag closing 2021-03-16 09:22:37 +01:00
Henry
c41abf5a72 add revokeAlias to muxrpc handler 2021-03-16 09:13:27 +01:00
Henry
5092f8ef9e add more godoc strings 2021-03-16 09:10:44 +01:00
Henry
757b14d419 Apply suggestions from code review
Co-authored-by: Alexander Cobleigh <cblgh@cblgh.org>
2021-03-16 08:49:58 +01:00
Henry
e47fa57c73 small fixes
* fix address on JSON response
* show address on HTML page
* add TODO for ssb-uri
2021-03-16 08:49:58 +01:00
Henry
1cc5cb435d fix cmd/server build 2021-03-16 08:49:58 +01:00
Henry
b9bcbb42ec alias JSON endpoint and testing 2021-03-16 08:49:58 +01:00
Henry
50e4ebbaca aliases: add overview and revoke handlers 2021-03-16 08:49:47 +01:00
Henry
9d60d09843 add aliases.IsValid for name checks 2021-03-16 08:49:47 +01:00
Henry
6fe202cead license headers 2021-03-16 08:49:47 +01:00
Henry
71c013ee81 some polish 2021-03-16 08:49:47 +01:00
Henry
8335a74c0e add test for alias registration over muxrpc 2021-03-16 08:49:40 +01:00
Henry
38da82980e fix builds 2021-03-16 08:49:40 +01:00
Henry
033efe5145 muxrcp: alias.register
* re-work muxrpc handler registration
* update muxrpc tests
2021-03-16 08:49:18 +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
04104c0f9e aliases: sign and verify 2021-03-16 08:48:52 +01:00
Andre Staltz
6dc7fb1788
localize invite-list page 2021-03-12 16:57:03 +02:00
Andre Staltz
25663d4d8f
support mobile layout on invite-list 2021-03-12 16:56:46 +02:00
Andre Staltz
bd9c521fcf
fix typo in AdminInvitesWelcome 2021-03-12 13:35:09 +02:00
Andre Staltz
134d9124bf
style the invite-list page 2021-03-12 13:25:27 +02:00
c9eb1aef9d
Merge pull request #77 from ssb-ngi-pointer/server-startup
Flesh out development instructions
2021-03-12 12:24:51 +01:00
d0c480d665
Apply suggestions from code review
Co-authored-by: Henry <111202+cryptix@users.noreply.github.com>
2021-03-12 11:33:01 +01:00
7ac4cda00a
Update README.md
Co-authored-by: Henry <111202+cryptix@users.noreply.github.com>
2021-03-12 11:24:12 +01:00
4a8ed9f9b3
Update README.md 2021-03-12 10:48:42 +01:00
Henry
decce2252d
Merge pull request #74 from ssb-ngi-pointer/the-big-rename
The big rename
2021-03-11 12:12:48 +01:00
Henry
ccee696507 use exported InputsInForm helper in web/handlers/admin 2021-03-11 12:08:54 +01:00
c487622633
flesh out development instructions 2021-03-11 10:44:49 +01:00
Henry
96b57b7562 split up http_test and move assertion helpers into a new package 2021-03-11 09:55:38 +01:00
Henry
639bffeffa typo in web/handlers/invites.go
Co-authored-by: Alexander Cobleigh <cblgh@cblgh.org>
2021-03-11 09:32:17 +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
ad7c01fb10 web/handlers: streamline receiver names 2021-03-11 09:32:03 +01:00
Henry
e013a5604d meta fixes
* update gitignore
* dont commit testruns
* fix github actions script
2021-03-11 09:31:46 +01:00
Henry
23c7e02c45 rename muxrpc packages 2021-03-10 16:57:49 +01:00
Henry
117cad48a7 rename admindb to roomdb 2021-03-10 16:44:46 +01:00
Henry
04824eeed7
Merge pull request #59 from ssb-ngi-pointer/invite-pages
Invite pages
2021-03-10 09:41:06 +01:00
Henry
b95c8de8be add room v1 "invite" until we have ssb-uri finalized 2021-03-10 09:35:54 +01:00
Henry
b21e2b2062 More testing
* test for invite accept form rendering
* show placeholder if there is no suggested alias
* accept form and consume endpoint
2021-03-10 09:35:30 +01:00
Henry
6945221557 check that invite.Consume adds to the allow list 2021-03-10 09:35:30 +01:00
Henry
fd21dfc60a Various fixes
* fix accept and consumed view
* Apply suggestions from Alex' code review
* define admin.Databases options struct
* structify database parameters of web/handlers
2021-03-10 09:34:36 +01:00
Henry
672647cd4d Add GetByID and GetByToken to invite service 2021-03-10 09:34:36 +01:00
Henry
98468e93a5 Invite endpoints
* Add revoke and created templates
* Render invite accept with domain
* Flesh out accept page
2021-03-10 09:33:55 +01:00
Henry
9f1fef1916 more consistent type names for handlers 2021-03-10 09:33:27 +01:00