26 Commits
Author SHA1 Message Date
raucao faa7bf6146 Revoke device authorizations in place with Turbo Streams
Revoking a device redirected away from the storage dashboard, which closed the
details modal and reloaded the page. Refreshing the affected parts instead
keeps the modal open and shows the change where it happened.

- Extract the card and the modal's access list into their own components, so
  either can be re-rendered without touching the modal's open state, and share
  the group summaries between the components
- Derive the app's DOM ids from its client_id (the grouping key) and the device
  row ids from the authorization, through one helper used by both the templates
  and the controller
- Revoke one of several devices as a Turbo Stream: remove the row and refresh
  the card behind the modal and the access list
- Revoke an app's last device with a redirect, so the dashboard re-renders
  itself and grouping, sorting and the empty state stay in one place
- Fade the removed row out, deferring Turbo's own removal until the animation
  has ended

Part of #254
2026-11-03 17:45:37 +04:00
raucao b44b689caf Additional styles for rich text
CI / Test (pull_request) Failing after 40s
Especially for editable content
2026-08-09 11:42:41 -06:00
raucao 6014134396 Finish MVP for content editing 2025-05-29 14:18:14 +04:00
raucao 315cf4dd9f Add editable content helpers 2025-05-28 18:41:53 +04:00
raucao a098ea43bb Add avatar URL to Webfinger when available
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-05-14 15:39:50 +04:00
raucao 46b908839d Add avatar URL to Discourse Connect
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Discourse should download and set the avatar if the user doesn't have
one set yet.
2025-05-12 15:04:56 +04:00
raucao 5addd25186 Add service details config, use for known services 2024-09-05 11:10:54 +02:00
raucao 215d178e69 Remove empty spec files 2024-09-05 11:10:10 +02:00
raucao 079ee8833c Implement bitcoin donations via BTCPay 2024-03-02 14:31:48 +01:00
galfert 7acc3b2106 RemoteStorage OAuth dialog 2023-03-28 01:21:28 +02:00
Râu Cao 3aad27c7bd Add Pagy gem, config, styles 2023-03-01 17:08:24 +08:00
Râu Cao e675970f4c Add view helper for colored badges 2023-02-25 15:28:02 +08:00
Râu Cao 1a2482434c Rename admin users controller/route
continuous-integration/drone/push Build is passing
Started out as a simple helper page to list LDAP users, but turning into
proper user management now.
2023-02-23 21:53:12 +08:00
basti 3165714957 Implement proper mobile navigation
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-02-23 14:16:51 -06:00
basti 4f2b35ccb9 WIP New app layout
continuous-integration/drone/push Build is passing
2022-02-19 22:46:12 -06:00
basti dbc811b840 Add LndHub service, lnurl-pay endpoints
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Enables the lnurl-pay payment workflow
2021-11-22 15:41:05 -06:00
basti 0a1052fcb7 Add wallet page
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
With setup code to connect Blue Wallet to Kosmos account wallets
2021-11-20 16:13:43 -06:00
basti 2f70bae523 Format and style user donations 2020-12-19 13:16:04 +01:00
basti 40f3e8327a Basic donation records
Adds donation model/table and basic manual management in the admin
panel, as well as basic listing of users' own donations.
2020-12-17 21:56:51 +01:00
basti 7aadb5cb51 Require valid invitation to start sign-up process
continuous-integration/drone/push Build is passing
2020-12-02 19:20:01 +01:00
basti d7fbda0855 Add basic invitations 2020-12-02 15:22:58 +01:00
basti a09741ba28 Add dashboard, allow password resets when signed in 2020-11-11 18:56:06 +01:00
basti 674b0a0ff5 Add LDAP logins and password resets, config, etc. 2020-11-10 11:36:06 +01:00
basti 259856a033 Add LDAP user index 2020-11-07 16:52:51 +01:00
basti d6dbf8acf7 Plant a root 2020-11-07 14:55:07 +01:00
basti 2a23fb95cf Hello kosmos. 2020-11-07 14:49:52 +01:00