Commit Graph

165 Commits

Author SHA1 Message Date
Max Berger
19f9d0a8c7 web ui: New setting for browser-based login
This is useful in cases where OIDC login is active
which would then redirect the user to a central
login page.

See https://github.com/Kozea/Radicale/issues/2143
2026-05-27 19:43:57 +02:00
Peter Bieringer
eef26b9e9e Merge pull request #2135 from royborgen/master
Web UI dark theme with automatic browser/OS color scheme detection
2026-05-27 08:25:12 +03:00
Roy Borgen
48c21d5fd7 reverted index.html 2026-05-25 21:57:59 +02:00
Roy Borgen
0095fbd616 Keeping newline at EOF 2026-05-25 21:17:09 +02:00
Roy Borgen
a8a91c956b Fix CSS variable syntax issues 2026-05-25 00:16:28 +02:00
Max Berger
1f42397132 Hide copy button in insecure environments 2026-05-23 23:33:39 +02:00
bb2
69d46d1673 UI: Decode URL in text field for better readability
This PR is a follow-up to #2138. It extends the URL decoding logic to include the edit collection dialogs, ensuring a consistent user experience.
2026-05-23 23:11:28 +08:00
bb2
28ff21ccc9 UI: Decode URL in text field for better readability
This PR is a follow-up to #2138. It extends the URL decoding logic to include the delete collection dialogs and homepage collection titles, ensuring a consistent user experience.
2026-05-23 23:10:05 +08:00
bb2
877fb3c50c Fix JS Type Check error (v2) 2026-05-23 21:26:45 +08:00
bb2
d16501f1f3 Fix JS Type Check error 2026-05-23 21:16:23 +08:00
bb2
ccfbef066b UI: Decode URL in text field for better readability
**Optimize visual display:**
Decodes the URL displayed in the input field using `decodeURIComponent`. This makes the displayed link more user-friendly and intuitive, avoiding a screen full of percent signs in internationalized scenarios where collection folder names contain non-English characters or special symbols.

**Ensure copy safety:**
Preserves the original, encoded standard URL internally as `_completedUrl`. Clicking the "Copy" button or manually selecting the entire text box to copy will still place the original, encoded standard link into the clipboard.
2026-05-23 19:57:49 +08:00
Roy Borgen
fa3dae5e4d Cleaned up line spacing 2026-05-23 09:49:47 +02:00
Roy Borgen
ff1d0360ce Reverted back to using a single main.css and added dark theme auto switching 2026-05-22 23:11:34 +02:00
Roy Borgen
95c90df8c0 Merged dark theme into main.css using CSS variables 2026-05-22 23:02:32 +02:00
bb2
3c08b44b41 UI: remove unused completeHref import in CollectionsScene.js
Fixes the JS Type Check error in CI after removing the completeHref function call.
2026-05-22 23:31:56 +08:00
Roy Borgen
e79bfa5def added dark theme css 2026-05-21 22:03:09 +02:00
Roy Borgen
4c82b3ed2c Added dark theme CSS and automatic theme switching based on OS/browser settings 2026-05-21 22:01:18 +02:00
bb2
9b1750e0ea UI: Avoid redundant URL completion in CollectionsScene
**Problem Description:**
Redundant URL completion in `CollectionsScene.js`. The file passes a `collection.href` that already contains the full path prefix to `UrlTextHandler.setHref`. Because `setHref` internally calls `completeHref` again, the path is double-completed (over-completed), resulting in a malformed URL.

**Solution:**
Instead of using `completeHref(collection.href)`, use `window.location.origin + collection.href` to manually construct the full URL, preventing the secondary completion bug.
2026-05-21 19:24:12 +08:00
Max Berger
effefac02f UI: New function: Support property overrides on incoming shares 2026-05-02 23:04:33 +02:00
Max Berger
a75b8b03d3 UI: Refactored CollectionScene.show_collections for easier handling 2026-05-02 23:02:31 +02:00
Max Berger
67aa15b32d UI: Change sort order to show own before incoming shares 2026-05-02 23:02:31 +02:00
Max Berger
7eafbe943b UI: Re-use sharing cache for individual shares
This should reduce network usage in some situations.
2026-04-30 14:38:48 +02:00
Max Berger
cdf9e62e0b expose server version via PROPFIND on root collection and display in the UI for authenticated users 2026-04-29 23:13:36 +02:00
Peter Bieringer
ca450a6176 Merge pull request #2113 from maxberger/shareself
UI: Default share to self on conversions for map shares
2026-04-26 21:24:17 +02:00
Max Berger
3eb7ccdfae UI: Default share to self on conversions 2026-04-26 21:02:37 +02:00
Max Berger
42f8d5df41 UI: Fix: Load username from principal component
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 20:46:02 +02:00
Max Berger
cbf1d5088b UI: Fix handling of servers with Prefix
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 18:08:42 +02:00
Peter Bieringer
ab71a1249b Merge pull request #2109 from maxberger/trimowner
UI: Trim owner length for incoming shares
2026-04-26 09:06:04 +02:00
Max Berger
2387eb1e55 UI: Trim owner length for incoming shares 2026-04-25 22:59:31 +02:00
Max Berger
6eaf058433 UI: allow uppercase characters in href 2026-04-25 22:51:09 +02:00
Max Berger
5c1e67918e UI: (internal) rename close button to close on incoming shares
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 21:58:25 +02:00
Max Berger
f1af26a798 UI: Add support for usernames with @ symbol 2026-04-25 21:26:43 +02:00
Max Berger
c0a726ab8a UI: More compact layour, auto-scroll to user in shares 2026-04-23 22:22:11 +02:00
Max Berger
7f3895099f UI: Show title and description in sharing dialogs 2026-04-22 22:38:16 +02:00
Max Berger
66d4827250 UI: Dynamic window titles including URL 2026-04-22 22:13:40 +02:00
Max Berger
ecac9c6ced UI: Bugfix showing sharing permissions 2026-04-22 20:59:06 +02:00
Max Berger
3866a648e7 UI: Only clear errors on successful login 2026-04-16 23:00:57 +02:00
Peter Bieringer
c13f2734f2 fix for https://github.com/Kozea/Radicale/issues/2084 2026-04-12 09:09:20 +02:00
Max Berger
a32cc13e53 Clear Errors in Login Form on show 2026-04-11 23:11:06 +02:00
Max Berger
a5780f2dc5 UI/Sharing: Allow explicit setting of write-properties permission 2026-04-11 21:52:03 +02:00
Max Berger
1dff07460b Set 'p' permission for tokens 2026-04-10 09:08:18 +02:00
Max Berger
327da6b9c3 UI: Base sharing settings on collection permissions rather than server features 2026-04-04 18:34:06 +02:00
Max Berger
52111c02cf UI: Retrieve permissions when loading collections 2026-04-04 17:28:24 +02:00
Max Berger
afbce5ac87 UI: Add copy to clipboard button to URL displays 2026-03-29 23:46:30 +02:00
Max Berger
045ab573db UI: Unify URL handling, show full URL everywhere 2026-03-29 23:13:22 +02:00
Max Berger
1921c0c8eb UI: Add title attribute (popups) to icon elements 2026-03-29 22:04:16 +02:00
Max Berger
405c192158 UI: Fix html/css validation errors 2026-03-29 00:23:00 +01:00
Max Berger
9688db7e21 UI: Remove leftover hardcodes for bday conversion 2026-03-28 23:42:14 +01:00
Max Berger
e631734e6e Make class methods actual class methods instead of setting them in the constructor 2026-03-28 23:37:12 +01:00
Max Berger
7766c80c6a Add support for browser back/forward 2026-03-28 23:21:18 +01:00