Commit Graph

43 Commits

Author SHA1 Message Date
decentral1se 00a1452cfc
Migrate to ssbc urls (#336)
* fix: ssbc urls

Closes https://github.com/ssbc/go-ssb-room/issues/332

* fix: go-ssb-refs API changes

* test: go-ssb-refs API changes

Co-authored-by: decentral1se <cellarspoon@riseup.net>
Co-authored-by: André Staltz <andre@staltz.com>
2022-11-07 11:18:13 +02:00
Henry a249fd8bee fix SPDX headers and add reuse API badge 2021-10-08 14:39:31 +02:00
Henry 81c05a663d Support open invites (fixes #102) 2021-05-17 10:16:26 +02:00
Henry aa50cb4aeb tweak css a bit 2021-05-14 08:06:45 +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 3d9c567cf6 add link to own member details on the top right 2021-05-11 08:29:55 +02:00
cblgh c6077337d1 use more robust identifier for test 2021-04-20 10:36:40 +02:00
cblgh c97b7d44c3 add default language admin ui functionality 2021-04-20 09:22:49 +02:00
cblgh ee185e5f43 don't render language picker if we have less than 2 translations 2021-04-20 09:12:15 +02:00
cblgh 9863c6b166 add template func for listing languages 2021-04-20 09:11:41 +02:00
cblgh cb3feb2a2e add language picker element mock 2021-04-20 09:09:57 +02:00
Andre Staltz 23f3a844b4
show home on the footer, and edit notice when logged in 2021-04-08 13:28:08 +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 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
Andre Staltz 09fcd573b4 style all the sign-in pages 2021-03-26 18:16:26 +01:00
Andre Staltz 1dd3f2891e style the logged-in indicator to include PubKey.Ref 2021-03-26 13:45:21 +01:00
Henry 7a03e5b479 unify login pages 2021-03-26 13:45:21 +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 92a6dcfb55 web/handlers/admin overhaul 2021-03-22 12:59:52 +01:00
Andre Staltz 03fb9b9833
don't show menu button on mobile menu page 2021-02-25 18:40:42 +02:00
Andre Staltz 2b7200512f
move the notices-list link to the admin nav 2021-02-25 18:17:51 +02:00
Andre Staltz b02932228e
style the show notice page 2021-02-25 17:42:57 +02:00
Andre Staltz ce98eeb377
style the footer and notice links 2021-02-25 17:23:51 +02:00
Andre Staltz 62d31f08b9
implement new template func "urlToNotice" 2021-02-25 17:18:51 +02:00
Henry ec7e57d2f5 place list of notices in the top nav 2021-02-25 11:22:25 +01:00
Andre Staltz eaf4a4447c
new route "menu" that is accessible on mobile only 2021-02-24 12:08:21 +02:00
Andre Staltz 622b01a854
highlight active menu item with current_page_is 2021-02-23 18:41:02 +02:00
Andre Staltz 1dbc09a81a
responsive design of admin menus 2021-02-23 14:24:20 +02:00
Andre Staltz 0aa8265cd4
prettify the allow-list main page 2021-02-23 12:23:16 +02:00
Henry d774056f29 establish old asset paths 2021-02-22 15:51:58 +01:00
Henry b5330884ab move inline style tag to seperate file
also the assets paths they are a little different after #26
2021-02-22 15:13:16 +01:00
Andre Staltz 143b910f9f improve styles of template containers and sign-in 2021-02-22 14:57:45 +01:00
Henry 6416d1c215 allow list interface 2021-02-15 14:43:32 +01:00
Andre Staltz 0eb957dbb8
fix css flash-of-unstyled-content 2021-02-12 17:34:20 +02:00
Henry 9019ebd130 just one /style.css
use 'go generate -tags dev' to produce the dev build and 'go generate'
for the prod build. have them produce the same file.

The only problem is that one needs to run this in web/styles first
before updating assets.
2021-02-11 18:37:51 +01:00
Andre Staltz 8401472b8f
setup Tailwind css project in web/styles 2021-02-11 18:30:16 +02:00
Henry 7fa52a6e2d various fixes
* fix nav link
* fix roomstate lock and ticker
* fix copy pasta typos

web/handlers: stop using /testing/base in news

This was a brainfart. The idea for a more minimal base template came
from another project with different frontend code.

This stopped us from seeing tempalting errors in the nav area.

Might want to scratch these tests alltogether and just have one place
with all the http tests.
2021-02-11 15:31:45 +01:00
Henry 158ef5221e web/i18n: Add defaults and test for labels (fixes #8) 2021-02-10 14:39:38 +01:00
Henry e62d6c06fb web/tempalates: add missing closing a tag to base 2021-02-09 16:11:48 +01:00
Henry 743de1d1f6 add simple authenticated navigation
{{is_logged_in}} returns a *admindb.User value or nil depending on their
state. This can be used to build conditional rendering.
2021-02-09 12:39:57 +01:00
Henry 0a67bf690b some cleanup and a Readme 2021-02-04 14:13:52 +01:00
Henry fdf11f9a23 start http and html skelleton 2021-02-04 11:36:02 +01:00