Commit Graph

277 Commits

Author SHA1 Message Date
Henry 0065312db1 change muxrpc room.registerAlias to return the resolve URL 2021-03-23 16:50:25 +01:00
Henry 6e6a8e4910 Update muxrpc/test/nodejs/testscripts/modern_aliases.js
Co-authored-by: André Staltz <andre@staltz.com>
2021-03-23 11:26:33 +01:00
Andre Staltz 8a788f6ee6 update ssb-room-client and other deps 2021-03-23 11:26:33 +01:00
Henry 9bedf5d4f7 add JS test for alias register and revoke 2021-03-23 11:26:33 +01:00
Henry 0b7b22e11f
Merge pull request #85 from ssb-ngi-pointer/new-js-client
Use new ssb-room client module
2021-03-23 11:25:46 +01:00
cblgh 585554b456 continue refactoring, jiggle timings a bit 2021-03-23 08:19:01 +01:00
cblgh f15a5b2f11 refactor opening tunnel test, cleanup test comments 2021-03-23 08:19:01 +01:00
cblgh 5b8b1af96a wip refactor nodejs muxrpc opening tunnel test 2021-03-23 08:19:01 +01:00
cblgh 26e9787c3a clean up basic client test, refactor common logic 2021-03-23 08:19:01 +01:00
cblgh 713de8f489 rename to roomrpc, fix tunneled typo 2021-03-23 08:19:01 +01:00
cblgh ee61749918 add tap-spec for better output 2021-03-23 08:18:57 +01:00
Henry 3cea539128 overhauling a bunch of stuff 2021-03-23 08:14:49 +01:00
Henry 4ccb342bff pass tape assertion helper to testscripts 2021-03-23 08:12:10 +01:00
Henry 48d7e92667 shorten sleeps and return errors for node processes properly
TODO: make sure that nodejs processes stops properly

@staltz shared a nice page to debug this better:
https://devdocs.io/node~8_lts/process#process_event_uncaughtexception
2021-03-23 08:12:10 +01:00
Henry ca0835bb34 dedupe writeRoomHandle code 2021-03-23 08:12:09 +01:00
Henry fc7bd1aad5 add modern versions 2021-03-23 08:11:42 +01:00
Henry 82cf618279 update filenames and comments 2021-03-23 08:11:41 +01:00
Henry c4732c1c4d muxrpc/test/js: allow testscripts to require plugins 2021-03-23 08:10:44 +01:00
Henry 07feacb558 review comments for PR #91 2021-03-23 08:09:45 +01:00
Henry 489926df61
Merge pull request #91 from ssb-ngi-pointer/schema-overhaul
Schema overhaul
2021-03-23 08:08:16 +01:00
Henry dde6549f02 rename package web/user to web/members 2021-03-22 15:26:11 +01:00
Henry 4f723ab050 dashboard: change user roles
* implement SetRole on sqlite
* add dropdown form to members table
* add http endpoint for processing
* Add comment to denied keys overview
* update ban remove confirm page
2021-03-22 13:02:39 +01:00
Henry a0be3e998b various fixes 2021-03-22 13:02:39 +01:00
Henry fdedccfc8b more denied-keys fixes 2021-03-22 13:02:39 +01:00
Henry 1b6f7f5006 add denied templates and handlers
copy of previous allow-list stuff
2021-03-22 13:02:39 +01:00
Henry 36d46a8576 fix denied list in sqlite 2021-03-22 13:02:39 +01:00
Henry a9e7297f64 update cmd/server 2021-03-22 13:02:39 +01:00
Henry 8f4c60e710 muxrpc changes 2021-03-22 13:02:39 +01:00
Henry 8c48b4a2b8 web/handlers 2021-03-22 13:02:37 +01:00
Henry 92a6dcfb55 web/handlers/admin overhaul 2021-03-22 12:59:52 +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 2cc86dbae6
Merge pull request #88 from ssb-ngi-pointer/track-when-invites-are-created
Track when invites are created
2021-03-17 12:18:23 +01:00
Andre Staltz 6509cdeeef
change datetime format in invite-list.tmpl tooltip to ISO 8601 2021-03-17 13:12:30 +02:00
Andre Staltz 8f63eb0abb
change datetime format in invite-list.tmpl tooltip to ISO 8601 2021-03-17 13:12:26 +02:00
Andre Staltz 4c007d3cd0
tweak paddings and widths in invite-list.tmpl 2021-03-17 13:06:28 +02:00
Henry d8d8b38f13 add tailwind powered tooltip 2021-03-17 08:58:39 +01:00
Henry dc4645ac57 fix numbers of rows 2021-03-16 18:15:23 +01:00
Henry e6b65e3d5d fix AdminInvitesCount pluralization 2021-03-16 17:49:26 +01:00
Henry 6126e46a2a add createdAt formating 2021-03-16 17:19:38 +01:00
Henry 0f82c29f48 track created_at column for invites 2021-03-16 17:13:01 +01:00
Henry d39d1ac6e9 go fmt ./... the last PR 2021-03-16 15:13:05 +01:00
Alexander Cobleigh 04ba3b9477
Merge pull request #64 from ssb-ngi-pointer/44-notices
Add tests for notices view
2021-03-16 14:59:09 +01:00
cblgh 40d121f55e rename main branch's prev. use of webassert 2021-03-16 14:17:33 +01:00
Alexander Cobleigh 110e7813a8
Apply suggestions from code review
Co-authored-by: Henry <111202+cryptix@users.noreply.github.com>
2021-03-16 14:13:33 +01:00
cblgh 6cd0974a94 fix review feedback 2021-03-16 14:09:04 +01:00
cblgh 991df6c013 add tests for checking SaveCallCount 2021-03-16 14:09:01 +01:00
cblgh c535410d5d verify that adding a translation works as expected 2021-03-16 14:09:01 +01:00
cblgh f970f9f8c7 content / title can't be empty when adding new translation 2021-03-16 14:09:01 +01:00
cblgh 83920aa646 saving notice without content, title should not work 2021-03-16 14:09:01 +01:00