Henry
ec4edcccbc
rename broadcast types
2021-05-17 15:40:33 +02:00
Henry
3fae8a200a
change handler registration
2021-05-17 15:31:29 +02:00
Henry
27fc5713cc
change isRoom to have metadata
...
fixes #58
2021-05-17 12:24:29 +02:00
Henry
81c05a663d
Support open invites ( fixes #102 )
2021-05-17 10:16:26 +02:00
Henry
385b98a3a1
add privacy mode and role tests ( fixes #185 )
...
* denied/remove
* denied/add
* invites/revoke
* members/remove
* notices/edit
* notices/add
also:
* add members.CheckAction helper
* fix muxrpc abort bug and update to v2.0.5
* strictly use SeeOther not 307 (fixes #149 )
2021-05-14 14:27:01 +02:00
Henry
98c5a59348
Merge pull request #211 from ssb-ngi-pointer/passwords-overhaul
...
Overhaul passwords
2021-05-14 08:07:31 +02:00
Henry
aa50cb4aeb
tweak css a bit
2021-05-14 08:06:45 +02:00
Henry
7c356fa407
change []byte password to string
2021-05-13 07:39:19 +02:00
Henry
be35f154b7
add tests for new password features
...
* reset link creation
* own password change
* setPasswordWithToken
* also: move member handler funcs to own file
2021-05-13 07:39:19 +02:00
Henry
336596552e
fix HTML in i18n strings
...
previously it just worked on errors
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
d1a25ebe2a
Merge pull request #65 from ssb-ngi-pointer/testing-docs
...
add wip personal notes on testing
2021-05-12 14:03:21 +02:00
0e00e1caaa
update examples, clean up testing docs
2021-05-12 12:32:18 +02:00
Henry
5bfb5316f8
minor fixes
...
remove unsed about page and fix some typos
2021-05-11 10:17:02 +02:00
Henry
653d0926f7
add password change form
2021-05-11 10:16:35 +02:00
Henry
3d9c567cf6
add link to own member details on the top right
2021-05-11 08:29:55 +02:00
Henry
eaaed06fba
add label to own entry in members list
...
Shows a green "this is you" label on the members list. Green because
that's also the color of the tag on the top right.
Also changes the color of the moderator label from green to blue to be
less confusing.
2021-05-11 08:18:35 +02:00
Henry
8b52e4b2a0
Merge pull request #207 from ssb-ngi-pointer/bugfixing
...
Bugfixing
2021-05-10 14:04:29 +02:00
Henry
cf3cf1791e
reduce tunnel debug logging
2021-05-10 13:53:04 +02:00
Henry
5385ef65bb
add middleware to check roles
...
fixes #176
2021-05-10 13:52:45 +02:00
Henry
691f0e75b9
add test for notice creation role check
...
updates #176
2021-05-10 13:52:45 +02:00
Henry
800023b9fc
update muxrpc
2021-05-10 13:52:45 +02:00
Henry
2ecf61f123
don't allow making tunnels to initiator
2021-05-10 13:52:45 +02:00
Henry
e72f1a3787
cleanup redirect mess for denied removal
...
updates #205
2021-05-10 13:51:29 +02:00
Henry
7c75b27c8d
have a clear error on taken aliases
...
fixes #194
2021-05-10 13:51:05 +02:00
Henry
ae1fd47ad9
Merge pull request #201 from ssb-ngi-pointer/test-against-190
...
Add a test where clients are disconnected forcefully
2021-04-26 16:02:27 +02:00
68cbfbead5
Merge pull request #204 from ssb-ngi-pointer/update-readme
...
Update documentation, add screenshot
2021-04-26 15:59:47 +02:00
Henry
f42200638f
update ssb-room-client to 0.13.0
2021-04-26 15:55:43 +02:00
62668dbedd
update documentation, add screenshot
2021-04-26 14:40:08 +02:00
Henry
9b9db80406
dont use pull.drain without done cb in test code
...
and change timeouts slightly
2021-04-26 12:21:00 +02:00
Henry
97dc3c2df5
Add a test where clients are disconnected forcefully
...
updates #190
2021-04-26 12:09:48 +02:00
Henry
1a1a25a792
Merge pull request #198 from ssb-ngi-pointer/room1-tests
...
check that roomstate doesn't keep stale connections
2021-04-26 10:09:14 +02:00
Henry
3969372993
reconnect testing
2021-04-26 10:06:34 +02:00
Henry
3093385635
refactor makeTestClient
...
re-use keys and be able to change the mocks
2021-04-26 09:39:11 +02:00
Henry
bdf99ab4fa
add staleness and tunnel.connect tests
2021-04-26 09:39:11 +02:00
Henry
7a74f7806c
move makeTestClient to utils
2021-04-26 09:39:11 +02:00
fa6fa3267e
Merge pull request #200 from ssb-ngi-pointer/privacy-mode-tests
...
Privacy mode tests 💯 💯
2021-04-26 09:34:55 +02:00
Henry
3651432b42
use errHandler in admin tests
2021-04-26 09:29:22 +02:00
cae80e385e
make alias mockdb return alias entry
2021-04-26 09:29:22 +02:00
c3ac3a1678
test that non-members are not blocked from establishing connections for community mode servers
2021-04-26 09:29:22 +02:00
346ba14ec9
test connection establishment for non-members in restricted rooms
2021-04-26 09:29:22 +02:00
72e97dd374
refactor out unused reference
2021-04-26 09:29:22 +02:00
f0b4c7a534
test that alias resolving is turned off for restricted rooms
2021-04-26 09:29:22 +02:00
ab06233f28
test invite creation under community & restricted for admin, mod & member
...
Update web/handlers/admin/setup_test.go
Co-authored-by: Henry <111202+cryptix@users.noreply.github.com>
2021-04-26 09:29:17 +02:00
80686dec26
cherrypick: ts.User is now pointer
2021-04-23 13:25:13 +02:00
Henry
57c1375e54
fix missing context
2021-04-23 11:25:35 +02:00
Henry
e6ca0ed74b
remove unused argument
2021-04-23 08:56:01 +02:00
Henry
8811127eae
disable debugging logger
2021-04-23 08:56:01 +02:00
User Cryptix
fc5d3e440e
add json response for invite facade ( fixes #188 )
2021-04-23 08:55:50 +02:00
Henry
c991e0831f
add a test
2021-04-23 08:55:37 +02:00