Commit Graph

65 Commits

Author SHA1 Message Date
Henry cec7bc0e44 add flash message helper 2021-04-12 14:09:09 +02:00
cblgh 22a2348187 create /settings, move privacy modes ui into it 2021-04-12 13:42:31 +02:00
Alexander Cobleigh ff028699d2
Apply suggestions from code review
Co-authored-by: André Staltz <andre@staltz.com>
2021-04-09 14:35:06 +02:00
cblgh ac1ede43be clean up privacy mode logic 2021-04-09 13:50:15 +02:00
cblgh 092ce82ab1 wip logic for setting privacy modes 2021-04-09 13:25:40 +02:00
cblgh 99f168e81e add english translations 2021-04-08 15:42:22 +02:00
cblgh b79d46d36e remake grid using tailwind 2021-04-08 15:42:22 +02:00
cblgh 3c75fcc6b0 start styling privacy modes ui 2021-04-08 15:42:22 +02:00
Andre Staltz 67877407b8
restyle the invites page 2021-04-08 13:10:45 +03:00
André Staltz aeb0f9f824
Merge pull request #123 from ssb-ngi-pointer/style-members3
combine aliases page with members page
2021-04-08 11:58:03 +03:00
Andre Staltz 60c0b36f04
add tests for member-details 2021-04-07 14:58:31 +03:00
Andre Staltz 4f70c62ab2
combine aliases page with members page 2021-04-07 14:38:03 +03:00
Henry 01cd99b3e6 fix dashboard styling and invite count 2021-04-07 09:54:33 +02: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
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 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 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 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 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 92a6dcfb55 web/handlers/admin overhaul 2021-03-22 12:59:52 +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 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 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 416bc9c089 fix tag closing 2021-03-16 09:22:37 +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 50e4ebbaca aliases: add overview and revoke handlers 2021-03-16 08:49:47 +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 134d9124bf
style the invite-list page 2021-03-12 13:25:27 +02: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 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 c7bcef4339 invite form testing 2021-03-10 09:33:15 +01:00
Andre Staltz e5162fea5d
style the notice-edit page 2021-03-01 12:21:05 +02:00
Andre Staltz 2156ed1af0
style the notices page 2021-02-25 18:42:00 +02:00
Andre Staltz 7700eb6d4f
don't show footer in mobile menu 2021-02-25 18:38:13 +02:00
Andre Staltz 874a37cbbc
format the HTML in allow-list.tmpl 2021-02-25 18:18:58 +02:00
Henry e254803717 nits 2021-02-25 11:17:52 +01:00
Henry 99e56dbcbf re-use edit template for new translation 2021-02-25 11:13:48 +01:00
Henry 1ec3e8b064 list, set and get pinned notices 2021-02-25 10:07:47 +01:00
Henry e5a07fd8bc (Pinned)Notices
Notices are pages that admins can fill with their content to describe
and customize the room.

Pinned notices are common notices that each room has. Like a description
and privacy policy.

* update models
* simple crud test for basic notices
* edit and save notices as admin
2021-02-25 10:07:44 +01:00
André Staltz 3c921cef80
Merge pull request #39 from ssb-ngi-pointer/paginate-members
implement pagination in allow-list overview
2021-02-24 18:19:16 +02:00