This release contains fixes for compiling Smeagol from source.
- Update the
time
crate to fix a build error with the latest Rust compiler. - Update
tanvity
to fix build when building with the latest version ofzstd
. Thanks @kachick! #66
Use /DEPENDENTLOADFLAG
to mitigate hypothetical DLL injection attacks on Windows.
This was attempted in the prior release, but CI did not pick up the flag.
- Implement support for transclusion (Thanks @therealbstern!) #61
- Update some dependencies based on CVEs that Dependabot flagged. These CVEs are unlikely to pose a risk to typical uses of Smeagol.
Update dependencies. Not functional changes intended.
- When navigating to a directory with no index file, instead show the overview page. This has a list of files and folders.
- The Overview button will show the files in the directory that contains the files you are currently viewing. Previously it would always show the root folder.
- Fix lack of ready message when in release builds. #53
- When editing a page, add the ability to preview your how your changes will look before saving #51
- Update dependencies, including Rocket web framework to 0.5.0-rc.2 .
- Update search index on document change #41
- Basic cross-site request forgery protection #43
- Strip symbols on release build, resulting in smaller binary size for Linux #42
- Support reading files from a Git repo #34
- Support writing files to a Git repo #35
- Improve layout on mobile.
- Rename the settings in
smeagol.toml
to use kebob-case, rather than snake_case. Specificallyh1_title
was renamed toh1-title
andindex_page
was renamed toindex-page
. This matchesCargo.toml
's use of kebob-case. - Switch the
index-page
default value toREADME
. This matches GitHub's behavior. Previously this value wasHome
.
- Add overview, which allows browsing files and folders #8
- Add basic search. Files are indexed on startup. #23
- Don't allow access to files and directories whose name starts with a dot (
.
)
- Add favicon
- Basic editing support #16
- When navigating to a non-existent markdown page, show a placeholder that allows creating that page.
- Support for serving files other than Markdown files. #6
- Support for specifying which address and port to bind the web server to.
- Add caching support for static assets. #18
- Add support for
h1_title
setting. - Add breadcrumbs navigation
- Embed CSS in Smeagol, so no internet connection is required to run #9
- Add "home" button to go to the top of the site.
Initial proof of concept version. Basically a web server that renders markdown pages into HTML. Supports the following features:
- Specifying which directory to serve.
- Responding to requests for
.md
files with the rendered HTML. - Automatically redirecting to an index page if a directory is requested.
- Specifying the name of the directory page.