Commit Graph
318 Commits
Author SHA1 Message Date
Zef Hemel 822997fd5e Client available upgrade notification
If the server is updated, but the client doesn't match the server
version, a notification will appear instructing the user to reload.
2026-03-10 12:05:33 +01:00
Zef Hemel 4b66106c20 Reduce logging in common cases 2026-03-05 16:11:32 +01:00
Zef Hemel 19483e8687 Attempting to determine the build time in a more reliable way 2026-03-05 16:03:25 +01:00
Zef Hemel e9266d467e (Debug) bundle timestamps 2026-03-05 15:28:35 +01:00
Zef Hemel 0768884b7c Log SilverBullet version on server boot 2026-03-05 14:44:47 +01:00
Metin YaziciandGitHub 0dece6c135 Some authentication fixes (#1804) 2026-01-31 17:07:35 +01:00
Metin YaziciandGitHub 10520ffb3d Configure remember me option (#1796)
* Configure remember me option

* Update Configuration.md
2026-01-29 08:13:50 +01:00
Justyn ShullandGitHub b9bbb32051 Fix missing x-proxy-headers- from non-lua fetch calls (#1721)
* Fix missing x-proxy-header- on proxied fetch calls

* Don't use https for host.docker.internal proxied urls
2025-12-11 12:06:31 +01:00
Zef Hemel 5d9caacc30 Add source for change to URL decoding 2025-12-10 09:48:02 +01:00
Laurence TanandGitHub 30ecaa3985 Fix HEIC/HEIF image MIME type detection (#1709)
* fix content types

* PR feedback
2025-12-10 08:37:14 +01:00
Zef Hemel 683a7d6747 Fix URL parsing in Chrome and other browsers 2025-11-26 09:55:02 +01:00
Zef Hemel dcd7230084 Fixes #1694 2025-11-25 14:17:02 +01:00
Laurence TanandGitHub 0e9a6015e9 handle invalid-path errors (#1701) 2025-11-24 08:52:55 +01:00
Zef Hemel 2ac006d354 Fixes #1625 2025-10-30 15:56:01 +01:00
Zef Hemel 000b76a6f7 Support adding additional content to <head> using the SB_HEAD_HTML env
variable
2025-10-30 11:42:08 +01:00
Zef Hemel a7597454bd Fixes #1651 2025-10-29 09:46:20 +01:00
Mihai MaruseacandGitHub 8fdbc48f6d Make the link to the site point to real site. (#1655) 2025-10-29 06:04:40 +01:00
Zef Hemel 0c5d4b73be Prometheus metrics support 2025-10-27 17:21:50 +01:00
Zef Hemel 6ccff6c9b0 Rudamentary Prometheus metrics support 2025-10-27 17:21:12 +01:00
Zef HemelandGitHub 272f293ddb Optional client encryption (#1640)
Implements #1268
2025-10-22 15:35:37 +02:00
Zef Hemel abe2f6b909 Refactoring some server side stuff 2025-10-20 19:15:51 +02:00
Mihai MaruseacandGitHub c706e8e673 Fix build broken after #1634 (#1642) 2025-10-17 06:01:17 +02:00
Mihai MaruseacandGitHub 9a39d20213 Handle atomic updates for the binary file. (#1634) 2025-10-16 22:36:22 +02:00
Zef Hemel 5c4c71df8e Fixes #1608
Status code is now passed via x-proxy-status-code header
2025-10-10 08:51:24 +02:00
Zef Hemel ba73fd24cb Content type setting on .proxy 2025-10-08 09:01:47 +02:00
Zef Hemel 51e1eaf817 /.proxy enhancements
Now cleanly separates request and response headers for the request and
response of the http request from the ones that SB needs/serves itself.
2025-10-06 14:38:00 +02:00
Zef Hemel abf7f2782d Fixes #1589
Symlinks are supported again
2025-10-04 15:30:30 +02:00
Zef Hemel d919a2e97c Fix caching of index page for offline on auth setups 2025-10-03 10:43:28 +02:00
David HayesandGitHub 731a0cf334 Handle incoming signals and add more logging around server start. (#1584) 2025-10-02 19:25:15 +02:00
Zef Hemel 5b7e4c6027 Switch default generated CONFIG page use of the config.set API. 2025-10-01 11:31:40 +02:00
Zef Hemel d7cc6532e6 Filter hidden files and folders, as well as files without extensions
from FetchFileList

Add tests for hidden file and extension filtering in FetchFileList
2025-09-30 10:47:42 +02:00
Zef Hemel 7973a3a3c3 Enable GZIP HTTP compression for sensible content types 2025-09-29 15:49:09 +02:00
Zef Hemel 283cd4224d Fixes #1567 2025-09-26 13:55:59 +02:00
Zef Hemel beede63362 Check SB_USER format 2025-09-26 08:03:24 +02:00
Zef Hemel 61fbcb05b5 * Change timestamp back to seconds since the epoch, not milliseconds (waste of space)
* Tweaked cache headers for file listing
2025-09-25 13:07:16 +02:00
Zef Hemel dd9e4582dd Move built client files to client_bundle folder to make embedding them into the server binary cleaner. 2025-09-25 09:51:05 +02:00
Zef Hemel ee3896ee75 Further code restructuring and fix detection of space path change 2025-09-24 12:57:56 +02:00
Zef Hemel fe7956aa83 Block writes operations in read-only mode on the server 2025-09-23 08:19:29 +02:00
Zef Hemel 56b0fb164b Fixes #1560
* Adds back auto creation of index page and CONFIG page if they don't
  exist.
* Remove observe argument on backend
2025-09-22 16:48:42 +02:00
Zef Hemel d2277c376c Fixes #1559 2025-09-22 15:57:26 +02:00
Zef Hemel be5ea19f1c Add missing files... 2025-09-19 16:11:49 +02:00
Zef Hemel fdd8899b33 Fix SB_URL_PREFIX handling, added SB_LOG_PUSH to ask clients to push
client logs to the server
2025-09-19 16:10:14 +02:00
Zef Hemel 3e444ffb2a Replacing more fmt.Print with log.Print 2025-09-19 14:37:31 +02:00
Zef Hemel 1541d13834 Fix backend not setting mtime anymore (resulting in reloads and
potential conflicts)
2025-09-19 14:30:31 +02:00
Zef Hemel cd2b712fec Fix host binding 2025-09-19 13:37:20 +02:00
Zef HemelandGitHub a524c64884 Go backend (#1555)
* Replaces old Deno server with a Go implementation
* Restructured the code base accordingly
2025-09-19 13:23:20 +02:00
Zef HemelandGitHub dc2987a3f9 Sync engine rearchitecture (#1516)
* Don't require auth for .ping
* Finally introducing loggers
* Remove file list caching from disk_space_primitives
I don't think this is required anymore with the sync model
* Simplification of space primitives and more tests
* More reliable online status
* Add .zed settings
* Remove selfUpdate argument from `writeFile` no longer used
- Add `sync` config schema and document sync options
- Move sync config handling to client boot logic
- Move BootConfig type to ui_types.ts
- Remove sync env vars from server
- Update documentation for sync and architecture
* Improve sync logic and proxy routing for full sync state
* Add BoxProxy for late-bound client and improve Lua boot
- Add isMobile syscall for editor
* Add concurrency to sync process and log indexing duration
* Better service worker lifecycle management
2025-09-12 14:43:57 +02:00
Zef Hemel a4df713711 Don't require auth for .ping 2025-09-01 15:38:30 +02:00
Zef Hemel c74e878897 Shell command whitelisting and stdin support 2025-08-27 11:14:21 +02:00
Zef HemelandGitHub fe5dc80a14 Expose file system API on /.fs instead of root (#1507)
Fixes #1506
2025-08-27 09:58:11 +02:00