13 Commits

Author SHA1 Message Date
Cameron Pak
9008f9c6a3 fix: normalize admin basepath to prevent double slashes in URLs
Strip trailing slashes from adminBasepath in AdminController window context
and wouter Router base to prevent paths like /admin//data when users
configure adminBasepath with a trailing slash.

Amp-Thread-ID: https://ampcode.com/threads/T-019ca537-4cc4-7174-bf9a-5325d782f097
Co-authored-by: Amp <amp@ampcode.com>
2026-02-28 11:11:44 -06:00
cameronapak
d00e5fe68c Remove redundant basepath option 2025-12-30 07:34:00 -06:00
cameronapak
19e51fae63 Refactor AppReduced to use basepath config option
The `admin_basepath` configuration option has been renamed to `basepath`
for clarity and consistency. This change affects how the admin base path
is accessed and utilized within the `AppReduced` utility. Tests have
been updated to reflect this renaming.
2025-12-30 07:09:00 -06:00
cameronapak
103cbd11df Merge branch 'main' into cp/216-fix-users-link 2025-12-30 06:55:20 -06:00
dswbx
aafd333d12 fix form isRequired utils and test 2025-08-14 16:56:12 +02:00
dswbx
2fb07698d5 fixing AppReduced.spec.ts 2025-08-03 13:10:49 +02:00
cameronapak
7b86611f35 bun run format 2025-07-22 08:58:30 -05:00
cameronapak
12ef72d595 test: add comprehensive tests for AppReduced utility and path normalization 2025-07-22 08:52:32 -05:00
dswbx
7743f71a11 added format command and added trailing commas to reduce conflicts 2025-02-26 20:06:03 +01:00
dswbx
f29641c702 using path instead of pointer, replaced lodash usage 2025-02-08 09:18:24 +01:00
dswbx
78d4f928ba fix nextjs node adapter import 2025-02-06 15:19:25 +01:00
dswbx
46cf310ad6 finalize new media settings 2025-02-05 17:54:48 +01:00
dswbx
f432473ed9 initial json schema form implementation 2025-02-05 10:31:08 +01:00