Commit Graph
51 Commits
Author SHA1 Message Date
carlosalbertorg 4282d6c6e9 feat: Add a Logs viewer to the admin UI
Nginx Proxy Manager had no way to inspect application or nginx logs
from the web UI - admins had to shell into the container or read
`docker logs`. This adds an admin-only Logs page that can tail:

- the backend application log, now also mirrored to
  /data/logs/backend.log (in addition to stdout) and rotated by the
  logrotate timer that already runs every 2 days
- the Let's Encrypt/certbot log, which certbot already writes to
  /data/logs/letsencrypt.log via its existing --logs-dir flag
- per-host nginx access/error logs (proxy, redirection, 404 and
  stream hosts), with the file path always resolved server-side from
  a validated host_type enum + numeric host_id, never from client
  input

Reads use a reverse chunked scan (64KB chunks, capped at 5MB scanned
per request) instead of loading whole files into memory, and the
frontend polls every 5s only while the tab is focused and "Live" is
on, so this stays cheap on both CPU and memory. No new runtime
dependencies were added on either side.

Purely additive: two new admin-only endpoints
(GET /api/logs/sources, GET /api/logs/tail), no existing behaviour
changed.
2026-09-22 13:11:38 -03:00
Luca 24b072a120 fix: Rename user.avatar to owner and disable sorting 2026-09-06 17:31:47 +02:00
Jamie Curnow 4ecb047299 Update frontend packages
- Major update for react-table
- Fix Hosts menu staying around after selecting a menu item
2026-08-22 23:23:20 +10:00
DOLBAEB 6008a666dd Adds host info to proxy host delete confirmation modal 2026-05-16 14:18:48 +02:00
jc21 868d0b08ad Merge pull request #5489 from tomas-bara/bugfix/stream-enable-translation
Fix translation in streams table ignoring current enable/disable state
2026-05-14 10:33:54 +10:00
DOLBA3B ff066d5626 Adds column sorting to Nginx tables 2026-05-05 21:12:04 +02:00
Tomáš Bára 26a2bcab42 Fix translation in streams table ignoring current enable/disable state 2026-04-16 09:13:10 +02:00
piotrfx 427afa55b4 Add TOTP-based two-factor authentication
- Add 2FA setup, enable, disable, and backup code management
- Integrate 2FA challenge flow into login process
- Add frontend modal for 2FA configuration
- Support backup codes for account recovery
2025-12-28 11:58:30 +01:00
jc21 f1039ce2ef Merge pull request #4928 from 7heMech/develop
UI/UX improvements
2025-11-18 18:37:22 +10:00
Javier Pastor 0ec1a09c30 fix issues #4939
add other translations
2025-11-14 00:06:18 +01:00
7heMech 9807e25d45 Remove unused import 2025-11-13 12:49:48 +02:00
7heMech 824c895f52 Remove cn where not needed 2025-11-13 12:47:01 +02:00
7heMech d783cc3b90 Remove unused styles 2025-11-12 17:58:54 +02:00
7heMech 17cc75fe7d Fix language and theme selectors on mobile and desktop 2025-11-12 17:43:46 +02:00
7heMech 441a7262cd Add scheme back in destination 2025-11-11 12:54:01 +00:00
Jamie Curnow 0ceb7d0892 Fix #4838 when showing avatars of deleted users 2025-11-05 12:33:13 +10:00
Jamie Curnow 06b67ed4bc Remove user name column from audit log 2025-11-04 14:57:10 +10:00
Jamie Curnow 52e528f217 Remove incomplete languages and cleanup 2025-11-02 21:28:25 +10:00
Jamie Curnow 4709f9826c Permissions polish for restricted users 2025-10-31 12:50:54 +10:00
Jamie Curnow 82a1a86c3a Log in as user support 2025-10-30 14:45:22 +10:00
Jamie Curnow 89abb9d559 Fix bugs from feedback 2025-10-29 08:48:29 +10:00
Jamie Curnow 5d6916dcf0 Tidy up
- Add help docs for most sections
- Add translations documentation
- Fix up todos
- Remove german translation
2025-10-28 15:41:11 +10:00
Jamie Curnow 0f718570d6 Use status components for true/false things 2025-10-28 14:18:52 +10:00
Jamie Curnow fac5f2cbc5 Cert column provider tweaks 2025-10-28 11:51:27 +10:00
Jamie Curnow 3b9beaeae5 Various tweaks and backend improvements 2025-10-28 11:38:26 +10:00
Jamie Curnow 678593111e Settings polish 2025-10-28 08:53:01 +10:00
Jamie Curnow 83a2c79e16 Custom certificate upload 2025-10-27 19:26:33 +10:00
Jamie Curnow 0de26f2950 Certificates react work
- renewal and download
- table columns rendering
- searching
- deleting
2025-10-27 18:08:37 +10:00
Jamie Curnow bb6c9c8daf Certificates section react work 2025-10-26 00:28:39 +10:00
Jamie Curnow f2b5b19a83 More react
- consolidated lang items
- proxy host paths work
2025-10-16 18:59:19 +10:00
Jamie Curnow 7af01d0fc7 Use a modal manager 2025-10-14 17:49:56 +10:00
Jamie Curnow 43599b4028 Access list modal polish 2025-10-09 22:14:54 +10:00
Jamie Curnow 227e818040 Wrap intl in span identifying translation 2025-10-02 23:06:51 +10:00
Jamie Curnow d0767baafa Proxy host modal basis, other improvements 2025-10-02 08:12:37 +10:00
Jamie Curnow e36c1b99a5 Redirection hosts ui 2025-10-02 08:12:37 +10:00
Jamie Curnow 9339626933 Streams polish 2025-10-02 08:12:37 +10:00
Jamie Curnow 100a7e3ff8 Streams modal 2025-10-02 08:12:37 +10:00
Jamie Curnow a3d17249d0 User table polish and audit log updates 2025-10-02 08:12:37 +10:00
Jamie Curnow fc8a5e8b97 404 hosts search 2025-10-02 08:12:37 +10:00
Jamie Curnow da68fe29ac 404 hosts polish 2025-10-02 08:12:37 +10:00
Jamie Curnow 18537b9288 404 hosts add update complete, fix certbot renewals
and remove the need for email and agreement on cert requests
2025-10-02 08:12:37 +10:00
Jamie Curnow 54e036276a API lib cleanup, 404 hosts WIP 2025-10-02 08:12:36 +10:00
Jamie Curnow 058f49ceea Certificates react table basis 2025-10-02 08:12:33 +10:00
Jamie Curnow 429046f32e Audit log table and modal 2025-10-02 08:12:33 +10:00
Jamie Curnow 8ad95c5695 Set password for users 2025-10-02 08:12:31 +10:00
Jamie Curnow d40e290a89 Biome update 2025-10-02 08:12:24 +10:00
Jamie Curnow 7a6efd8ebb User Permissions Modal 2025-10-02 08:12:09 +10:00
Jamie Curnow 0b2fa826e0 Introducing the Setup Wizard for creating the first user
- no longer setup a default
- still able to do that with env vars however
2025-10-02 08:12:05 +10:00
Jamie Curnow 6ab7198e61 User table polishing, user delete modal 2025-10-02 08:11:17 +10:00
Jamie Curnow 61a92906f3 Notification toasts, nicer loading, add new user support 2025-10-02 08:11:14 +10:00