Diocrafts
c512534bfa
fix: session_expired after login on HTTP deployments ( #241 )
...
Three changes to fix the immediate-logout issue reported by multiple
Docker users:
1. Add explicit `credentials: 'same-origin'` to the login fetch call.
This was the only fetch in the entire codebase missing it. While
modern browsers default to 'same-origin', some privacy configs or
older engines may default to 'omit', silently dropping Set-Cookie
headers from the login response.
2. Post-login cookie verification: after a successful login, the
frontend now checks that the CSRF cookie (non-HttpOnly, readable
by JS) was actually stored before redirecting. If the browser
rejected the cookies, a clear error message is shown explaining
the OXICLOUD_COOKIE_SECURE / HTTP mismatch.
3. Server-side diagnostic: the login handler now warns in logs when
Secure cookies are set on a request that didn't arrive via HTTPS
(no X-Forwarded-Proto: https header), pointing admins to the
OXICLOUD_COOKIE_SECURE=false fix.
Root cause: users who set OXICLOUD_BASE_URL=https://... (or have
OXICLOUD_COOKIE_SECURE=true) but access via plain HTTP get cookies
with the Secure flag, which browsers silently reject over HTTP.
2026-04-12 01:38:19 +02:00
Diocrafts
e91dcee0ea
fix: scale folder upload timeout by file size ( fixes #249 )
...
The folder upload path (uploadFolderEntries) used a flat 10s fetch
timeout for all files regardless of size. Large files like .CR2 RAW
images (~25MB) on slower networks (e.g. Raspberry Pi) exceeded this
timeout, causing the AbortController to kill the request before the
server received the full body — hence no server logs and 'unknown
error' on the frontend.
Changed to size-scaled timeout: 30s base + 2s per MB (min 10s).
A 25MB CR2 now gets ~80s instead of 10s.
2026-04-12 00:29:34 +02:00
Diocrafts
f08cffc0e8
feat: add VitePress docs site, music file picker modal, Dockerfile optimization, i18n keys for 14 locales
...
- Add docs/ with VitePress site (19 pages): guide, config, architecture, FAQ
- Add GitHub Actions workflow for auto-deploy to GitHub Pages
- Replace music 'Add Tracks' upload picker with in-app audio file browser modal
- Add music picker CSS styles with dark theme support
- Add missing i18n keys (search_audio, no_audio_files, etc.) to all 14 locales
- Optimize Dockerfile: shared base stage, COPY --chmod, consolidated RUN, HEALTHCHECK
- Improve README: docs links, updated stats (222+ tests, 14 languages), feature status
2026-04-11 20:58:34 +02:00
Dionisio Pozo
1bb65e6448
Merge pull request #275 from EdouardVanbelle/refactor/css-variables
...
refactor(css): maximize usage of variables (1st part)
2026-04-11 20:49:52 +02:00
Edouard Vanbelle
8d6964a0ff
POC: use FontAwesome / svg on card view to simplify code
2026-04-11 20:24:43 +02:00
Dionisio Pozo
3dc4e6a68b
Merge pull request #280 from EdouardVanbelle/style/apply-biome-formatter-linter-recos
...
style(js/css): apply biome formatter & linter recos
2026-04-11 19:06:43 +02:00
Edouard Vanbelle
5f87dbf612
fix(device-verify): includes main.css + rename class to avoid collision
2026-04-11 18:58:38 +02:00
Edouard Vanbelle
3ab219f77d
refactor(css): reduce css icons
2026-04-11 18:39:03 +02:00
Edouard Vanbelle
49c3406e4b
refacor(css): reduce dependency of theme=dark
2026-04-11 18:39:03 +02:00
Edouard Vanbelle
56a067ee96
refactor(css): apply biome format on css
2026-04-11 18:39:03 +02:00
Edouard Vanbelle
94b36e41e0
refactor(css): maximize usage of variables (1st part, to simplify CSS & style)
...
note: there is still work to do, but has there are risks to conflict I prefer to commit this first part now
2026-04-11 18:39:03 +02:00
Edouard Vanbelle
13aa90cf3c
style(js): correct linter main warnings
2026-04-11 18:27:54 +02:00
Edouard Vanbelle
c7eeb734d7
style(css+js): apply biome formatter
2026-04-11 18:20:43 +02:00
Edouard Vanbelle
21a551b836
fix(style): correct file list display (was overlapped by header)
2026-04-11 18:10:50 +02:00
Diocrafts
57b99f962e
fix(reset.css): use important on .hidden to override display styles
2026-04-11 11:18:05 +02:00
Dionisio Pozo
06cb9b7ba5
Merge pull request #278 from kabakaev/fix-blank-login-page
...
fix blank login page regression
2026-04-11 11:00:03 +02:00
Diocrafts
3ce8ec25d6
feat(music): complete music UI overhaul - bugs, UX, missing features & styling
...
- Fix dead buttons (fa-edit/fa-share → fa-pen/fa-share-alt matching icon registry)
- Fix volume icon, shuffle bias, queue removal, repeat-one CSS
- Replace native prompt/confirm/alert with Modal system
- Add click-to-select, dblclick-to-play, playback error notifications
- Add loading indicators, success toasts, close player button
- Implement remove track from playlist (DELETE endpoint)
- Implement drag & drop track reorder (PUT reorder endpoint)
- Implement manage shares dialog (GET/DELETE shares endpoints)
- Implement cover art upload & display (cover_file_id in UpdatePlaylistDto)
- Implement public/private toggle (is_public in UpdatePlaylistDto)
- Mount get_audio_metadata route in backend routes.rs
- Redesign empty state: full-width centered onboarding when 0 playlists
- Move create button into sidebar header as compact + button
- Add music.css to build.rs production CSS bundle
- Add 16+ i18n keys in en.json and es.json
- Add CSS for drag handles, track remove, cover overlay, shares dialog, public badge
2026-04-11 10:59:01 +02:00
Alexander Kabakaev
cb8e74375f
fix(reset.css): blank login page regression
2026-04-11 10:11:47 +02:00
Dionisio Pozo
d4da43ebe0
Merge pull request #273 from EdouardVanbelle/fix/photo-section
2026-04-08 14:29:01 +02:00
Dionisio Pozo
46fbcc6f0f
Merge pull request #272 from EdouardVanbelle/feat/sticky-action-bar
2026-04-08 14:28:32 +02:00
Andrey Tkachenko
da066f47fa
Music Player & Playlist Manager
2026-04-08 15:14:03 +03:00
Edouard Vanbelle
2c33eeb74c
fix(section): hide list view header in photos' section
2026-04-08 13:51:25 +02:00
Edouard Vanbelle
669623adbe
feat(layout): add a sticky page header
...
- keep action bar, breadcrumb, dropzone visible even during scroll down
2026-04-08 10:41:42 +02:00
Edouard Vanbelle
a4266a6e93
style: apply linter suggestions
2026-04-08 00:09:27 +02:00
Edouard Vanbelle
1ce29c101d
style: apply biome CSS/JS format
2026-04-08 00:09:27 +02:00
Edouard Vanbelle
786a778546
fix(main.js): add missing break in swithc/case + apply linter
2026-04-08 00:09:27 +02:00
Dionisio Pozo
e752f24c8c
Merge pull request #268 from EdouardVanbelle/feat/file-url-history
2026-04-07 18:49:42 +02:00
Edouard Vanbelle
c16e3c973e
feat(url,history): add shown file in the url
2026-04-07 11:56:09 +02:00
Edouard Vanbelle
29b01529da
fix(inlineViewer): stops media when viewer is closed
2026-04-07 11:40:14 +02:00
Edouard Vanbelle
72af70505d
fix(icon): add missing menu bar icon, visible on small media screen
2026-04-07 00:53:46 +02:00
Dionisio Pozo
2df2789824
Merge pull request #264 from EdouardVanbelle/fix/hash-url
2026-04-05 10:09:54 +02:00
Dionisio Pozo
a85bbea3d2
Merge pull request #263 from EdouardVanbelle/fix/select-all
2026-04-05 10:09:13 +02:00
Edouard Vanbelle
a110d281c3
fix(url): fix historyUrl serialization
2026-04-05 02:11:43 +02:00
Edouard Vanbelle
f72dec6fe1
fix(multiSelect): correct select all checkbox, correct shift click
2026-04-05 02:00:10 +02:00
Dionisio
4c796aaf61
fix(ui): resolve hidden class vs style.display conflict, polish toggle buttons
...
style.display='block'. All panel show/hide now uses classList.
- Fix admin badge/panel not showing in user menu (same root cause).
- Fix profile page main-content/auth-error panels (same root cause).
- Add hidden class to admin-setup-panel in login.html for consistency.
- Remove redundant .admin-setup-panel{display:none} CSS rule.
- Polish view toggle buttons: tighter gap, smaller size, subtler shadow.
2026-04-05 00:51:17 +02:00
Dionisio Pozo
f0b710e5af
Merge pull request #260 from EdouardVanbelle/refactor/merge-grid-and-list-builder
2026-04-04 17:25:54 +02:00
Edouard Vanbelle
a466a6473d
refactor(files): merge grid and list builder, use CSS only to switch between views
2026-04-04 17:21:44 +02:00
Edouard Vanbelle
46d62adc55
feat(item-selection): add ctrl/meta/alt key to toggle item selection
2026-04-04 16:27:27 +02:00
Edouard Vanbelle
534d4dc190
feat: improve drag & drop
...
* permits multiple drag & drop
* synchronize grid & list view on selection
* permits copy during ddrag & drop (use sift/alt key according your OS)
* use batch move / copy on drag & drop
2026-04-03 15:06:09 +02:00
Edouard Vanbelle
5b821a7eab
refactor(empty-list): simplify empty list, will now work on list view
2026-04-03 14:16:36 +02:00
Edouard Vanbelle
db30639823
refactor: rename View into Section to keep coherence
2026-04-03 14:16:36 +02:00
Edouard Vanbelle
8d2a45c0ff
feat(navigation): no change/blink section if already selected
2026-04-03 14:16:36 +02:00
Edouard Vanbelle
744d2c88fb
refactor: simplify multiSelect module (remove duplicates, etc)
...
- remove duplicate code
- use one uniq selection bar (for both list & grid view)
2026-04-03 13:20:19 +02:00
Dionisio Pozo
e8b9604729
Merge pull request #258 from justDance-everybody/clawoss/fix/pdf-wopi-view-fallback
2026-04-03 10:23:37 +02:00
titagass
ea714618c5
fix(viewer): fallback to inline viewer when WOPI editor fails for PDFs
2026-04-03 05:48:20 +00:00
Edouard Vanbelle
7633f00399
feat(fileList): add action column to display context menu
2026-04-02 22:56:26 +02:00
titagass
c2cb7556a5
fix(wopi): fallback to view mode for pdf files
2026-04-02 18:00:21 +00:00
Edouard Vanbelle
266fc26e16
feat(fileview) show loader only if requests take more than 100ms
2026-04-02 18:37:16 +02:00
Edouard Vanbelle
fdf1184601
feat(navigation) add browser history: permits url bookmarking on current folder
2026-04-02 18:36:28 +02:00
Dionisio Pozo
128dd8a76a
Merge pull request #248 from EdouardVanbelle/chore/file-mode
...
chore: remove all executable attributes on non bash files
2026-04-01 23:42:12 +02:00