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
cblgh
362e40e473
add test for checking incomplete notice save requests
2021-03-16 14:09:01 +01:00
cblgh
8be59c9575
route add/language returns 405 for non-POST req
2021-03-16 14:08:54 +01:00
cblgh
a8061c0f20
rename webassert.InputsInForm->ElementsInForm
...
* webasserts.InputsInForm now also takes a Tag as arg
2021-03-16 14:08:30 +01:00
cblgh
e8b577719a
refactor tests to use internal webassert module
2021-03-16 14:08:30 +01:00
cblgh
cc17f97077
update to use roomdb instead of admindb
2021-03-16 14:08:12 +01:00
cblgh
ba2fbbef8e
notice edit test cleanup
2021-03-16 14:08:12 +01:00
cblgh
76fe1ec8d2
wip: verify edit form has required inputs
2021-03-16 14:08:12 +01:00
cblgh
0a90dd1c60
update some comments
2021-03-16 14:08:12 +01:00
Henry
b10b2513ec
fix misleading comment variable
2021-03-16 14:08:12 +01:00
Henry
ae44a878b8
add test for visibility of notice edit buttons
2021-03-16 14:08:12 +01:00
cblgh
3db514fd66
add more tests
2021-03-16 14:08:12 +01:00
cblgh
8d35860cde
add basic smoke tests for notices
2021-03-16 14:08:12 +01:00
cblgh
c2ae71e2c7
fix typo in function comment
2021-03-16 14:08:12 +01:00
cblgh
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