Tags: sprite2200/allmark
Tags
Adapted the cross-platform compilation to the go 1.5 requirements. The previous cross-compilation process does not work with go 1.5 because go 1.5 does not allow to use GOBIN (see: golang/go#11778). There is no longer a special docker-image for cross-compilation with all sources compiled for all platforms since this is no longer necessary (see: https://news.ycombinator.com/item?id=9135163) And go is no longer available for x86 architectures (see: https://golang.org/doc/go1.5)
Shortlink Index: Added an index page for all short links / direct acc… …ess links. The page lists all short links to document which have an alias assigned in the meta data section. The main purpose for this feature is to have deep links to document which don't change - even if the folder structure of a repository changes. Changes: - Aliases are now normalized an can only contain characters, numbers, underscore and dashes. - The shortlink overview page is linked in the bottom right section of every page. The route is: /! - Every document that has an alias assigned will display the short link at the bottom of the page as an input box for easy copy. - You can now use deep/short links to documents. Example: `http:https://repo.com/!some-alias` will redirect you to the document which has the alias `some-alias` assigned. - You can now assign multiple aliases to a single document - Documents no longer get a default alias assigned. If you don't specify one the document won't have an alias. Related Changes: - Improved the handling of sub templates for "aliases", "tags" and "publisher information". These section are now only defined once. - HTTPs is no longer the default for the `allmark serve` command. If you want HTTPs for a repository without a configuration use the `-secure` flag. I did this because this speeds up the startup tremendously if allmark does not have to generate a new SSL certificate.
Dropped the time from allmark serve to a fully rendered and fully-cached homepage of the markdown repository from ~15 seconds to ~3 seconds just by delaying the markdown to HTML conversion process. The test was performed on my blog repository (andykdocs.de) which contains 315 repository items with a total size of 3.5 GB of data. Also fixed the cache refresh for the full-text index. Before the full-text index was not updated when the repository changed.
Version v0.9.6: Made livereload and reindex on large repositories muc… …h more efficient. Changes will now be displayed in the browser instantaneously. Bug Fixes: - Bug Fix for the "Unique Route Issue": Whitespace in folder names are no longer replaced by "-", but by "+" to avoid ambiguous routes for different folders ("Ghost Update Bug") - Bug Fix for the `-reindex` flag. It did not work if the reindex interval was set to 0 in the config. - Bug Fix for the "Multi-Word Tag Link Issue": Tag Names are now url escaped. - Fixed the route of the RTF-Handler
Version 0.9.5: Added support for basic authentication. There is now a… … new "Authentication" object in the .allmark/config that you can set to enabled. But note, basic authentication will only work if you force HTTPs. allmark DOES NOT support basic authentication over unsecure connections. You can add users to the htpasswd file in the .allmark folder using the htpasswd tool: htpasswd .allmark/users.htpasswd <username>
PreviousNext