Commit Graph

333 Commits

Author SHA1 Message Date
cblgh faae7c0324 get started with privacy modes, parse -mode flag 2021-04-06 16:52:51 +02:00
Henry dafc341091
Merge pull request #114 from ssb-ngi-pointer/style-invites
style the invite pages
2021-04-06 12:29:08 +02:00
André Staltz 106e961ce9
Fix web/handlers/invites.go
Co-authored-by: Henry <111202+cryptix@users.noreply.github.com>
2021-04-06 13:17:50 +03:00
André Staltz 4a066fd7e5
buildJoinRoomURI function returns template.URL
Co-authored-by: Henry <111202+cryptix@users.noreply.github.com>
2021-04-06 13:12:11 +03:00
Andre Staltz 2c55b092a2
update chart 2021-04-06 13:10:57 +03:00
Andre Staltz 2aa82bcfbf
update tests for invite web handlers 2021-04-06 12:32:29 +03:00
Andre Staltz ed4c50dcaf
add a loading indicator on invite facade 2021-04-06 11:43:42 +03:00
Andre Staltz 08c8b0cced
style the join (claim invite) pages 2021-03-30 18:04:07 +03:00
Andre Staltz 371109c136
style the admin/invite-created template 2021-03-30 17:38:52 +03:00
André Staltz b3e46f2e8d
Merge pull request #107 from ssb-ngi-pointer/style-dashboard
Style dashboard
2021-03-30 11:50:44 +03:00
Andre Staltz d81198b78d
change Count() to return uint and error 2021-03-30 11:50:13 +03:00
Andre Staltz 6ee11a3fce
add Count() to Members, Invites, DeniedKeys 2021-03-30 11:50:13 +03:00
Andre Staltz a9027250d3
update tests for new dashboard template 2021-03-30 11:49:22 +03:00
Andre Staltz 313405d469
style the dashboard template 2021-03-30 11:49:21 +03:00
Henry 375e0a95e3
Merge pull request #111 from ssb-ngi-pointer/fix-favicon
add favicon
2021-03-30 10:44:47 +02:00
Henry 6409c79224
Merge pull request #105 from ssb-ngi-pointer/update-invites
Add support for invite consumption via JSON
2021-03-30 10:44:11 +02:00
Henry da2bf3b898 add favicon (fixes #50) 2021-03-29 17:02:21 +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 a67063ac32
Merge pull request #109 from ssb-ngi-pointer/integrate-stringer
integrate stringer dependency
2021-03-29 15:44:33 +02:00
Henry c13741d4b8 integrate stringer dependency 2021-03-29 15:42:32 +02:00
Henry 88aef8374e
Merge pull request #108 from ssb-ngi-pointer/integrate-counterfeiter
integrate counterfeiter dependency
2021-03-29 15:37:47 +02:00
Henry a62ad21165 integrate counterfeiter dependency 2021-03-29 15:33:58 +02:00
Henry bd0180f7da
Merge pull request #106 from ssb-ngi-pointer/start-http-auth-msaddr
support multiserverAddress in start-http-auth URI
2021-03-29 12:29:30 +02:00
Henry 921626b829 move NetworkInfo to network package
... and implement MultiserverAddress() there.
2021-03-29 12:29:01 +02:00
Andre Staltz 52e8ad078d
add tests for start-http-auth msaddr 2021-03-29 12:56:30 +03:00
Andre Staltz c6397c50d3
support multiserverAddress in start-http-auth URI 2021-03-29 12:34:38 +03:00
Henry 8821b99e27
Merge pull request #90 from ssb-ngi-pointer/sign-in-with-ssb
go side of sign-in with ssb
2021-03-26 18:30:30 +01:00
Henry f96b916177 final fixes
* fix auth test
* fix notices test and parallelize
* cleanup unused input lookup
2021-03-26 18:27:14 +01:00
Andre Staltz 09fcd573b4 style all the sign-in pages 2021-03-26 18:16:26 +01:00
Henry 1170275816 rename ClientRequest to ClientPayload 2021-03-26 17:58:03 +01:00
Henry 544c05b290
Apply suggestions from code review
change variable declaration in login-events.js to const

Co-authored-by: André Staltz <andre@staltz.com>
2021-03-26 14:49:04 +01:00
Andre Staltz 1dd3f2891e style the logged-in indicator to include PubKey.Ref 2021-03-26 13:45:21 +01:00
Andre Staltz c70fad79fe style the server-initiated ssb-http-auth template 2021-03-26 13:45:21 +01:00
Henry 57c6baf43d add ratelimiter middleware for HTTP and relax server timeouts
these timeouts affect server-sent events, too and interfer with sign-in with ssb.
2021-03-26 13:45:21 +01:00
Henry 7eeca8533d add tests for SSE-powered login
* add test for sse login
* add test for invalid solution
2021-03-26 13:45:21 +01:00
Henry e9883a049b various fixes 2021-03-26 13:45:21 +01:00
Henry 3db376b549 some comments 2021-03-26 13:45:21 +01:00
Henry 7a03e5b479 unify login pages 2021-03-26 13:45:21 +01:00
Henry 3b092885fb cleanup 2021-03-26 13:45:21 +01:00
Henry 428ffb0bda finalize sse login
* redirect and save the cookie
* supress a warning and redirect immediatly
2021-03-26 13:45:21 +01:00
Henry 4325e0fb3d various fixes
* fill in sid and sc
* fix logout
* cascade member removal
* fix links
* trim suffix from signature
* fix /sse/login link
* fix sse links and filenames
* fix logout
* fix typos
* fix test compilation
* fix bridge test
* correct alias url test
* add some comments
* fix potentiall "can't send" deadlock on bridge

some documentation and license headers
2021-03-26 13:45:17 +01:00
Henry 36679e5c65 add muxrpc gossip.ping 2021-03-26 13:45:17 +01:00
Henry 9aa676e040 add ssb-uri for invite consumption 2021-03-26 13:36:48 +01:00
Henry 396961e5e8 implement bridge between muxrcp and http 2021-03-26 13:36:48 +01:00
Henry afa6bee285 add server-sent events handler 2021-03-26 13:36:48 +01: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 b5e2ea6572
Merge pull request #99 from ssb-ngi-pointer/insert-patch
Use name, not os.Args[1] when creating user
2021-03-25 08:44:44 +01:00
cblgh 0f5e5a80de use name, not os.Args[1] when creating user 2021-03-24 10:22:11 +01:00
Alexander Cobleigh c65e4ec52b
Merge pull request #97 from ssb-ngi-pointer/update-insert-user
Update insert user
2021-03-24 10:13:30 +01:00