Commit Graph
325 Commits
Author SHA1 Message Date
Zef Hemel a16eebd902 More safetey in overriding default template files in non-empty spaces 2026-03-20 12:28:29 +01:00
Joshua BrunnerandGitHub 6aad7cff43 fix: allow colons in SB_USER password (#1893) 2026-03-18 18:40:44 +01:00
Zef Hemel e456100b5b No new logs fix 2026-03-17 11:25:10 +01:00
Zef Hemel 10c95bcba5 Runtime API: Clean up lock file on chrome hard-kill 2026-03-17 11:09:01 +01:00
Zef Hemel 587b27fbd9 Runtime API: Make logs already available before client is fully
initialized
2026-03-17 11:01:25 +01:00
Zef Hemel d04c69e74e Tests files for integration tests 2026-03-17 10:06:51 +01:00
Zef Hemel c04d7c332f First pass at "Remote API" (see docs)
Note: this is highly experimental and will likely change in the future.
2026-03-17 09:57:08 +01:00
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