Commit graph

390 commits

Author SHA1 Message Date
Magnus Hoff
a40d45b197 Add utility for generating CSS for color themes 2018-06-16 10:32:33 +02:00
Magnus Hoff
28c8422e6b Tweak full text search representation of documents 2018-06-13 23:13:38 +02:00
Magnus Hoff
d577eabc9b Port to stable diesel API for user defined sqlite functions 2018-06-13 22:46:53 +02:00
Magnus Hoff
a582d3a627 Merge branch 'master' into process_markdown_in_sqlite 2018-06-13 22:22:08 +02:00
Magnus Hoff
b7c281e6f6 Misc upgrade of dependencies 2018-06-13 22:16:44 +02:00
Magnus Hoff
75e33b2766 Update to get rid of warnings that appeared when upgrading diesel.
One warning remains: unused import: `EmbedMigrations`. This one has been fixed in diesel, but not yet released
2018-06-13 22:03:55 +02:00
Magnus Hoff
604bea0c25 Upgrade diesel dependencies 2018-06-13 21:55:06 +02:00
Magnus Hoff
fc3bd0992a Run tests in the debug build.
Cargo has started failing to build the tests in the release configuration because tests must have panic=unwind, while the release profile is configured with panic=abort
2018-05-21 13:50:51 +02:00
Magnus Hoff
995737ff44 Revert "Disable build caching in Travis."
This reverts commit 4a8800a7c4.

It did not help with the failure on Travis.
2018-05-21 13:47:19 +02:00
Magnus Hoff
4a8800a7c4 Disable build caching in Travis.
This might or might not fix a build failure that I cannot reproduce locally
2018-05-14 08:19:16 +02:00
Magnus Hoff
81cda3bc35 Add CONTRIBUTING.md to help would-be contributors 2018-05-13 14:01:27 +02:00
Magnus Hoff
263a84637f Add a document describing the design 2018-05-13 13:57:05 +02:00
Magnus Hoff
d63ccd06b7 Cleanup 2018-05-12 14:36:52 +02:00
Magnus Hoff
c72ee90929 Return Result from main (requires Rust 1.26) 2018-05-12 14:34:09 +02:00
Magnus Hoff
b1b1a91db1 Attempt to fix font preload link 2018-01-21 11:58:04 +01:00
Magnus Hoff
b1e598cb17 Experimentally transform markdown for better presentation in full text search results
For issue #37
2018-01-19 16:49:26 +01:00
Magnus Hoff
e499a095c7 Use experimental Diesel branch for application defined sqlite functions 2018-01-19 16:47:40 +01:00
Magnus Hoff
c52ac1c2f1 Upgrade to Diesel 1.0.0 2018-01-06 09:29:15 +01:00
Magnus Hoff
bfbc81ada2 Add contributor 2017-12-17 17:32:02 +01:00
kyegupov
8b838ac8c9 Fix tests after diff bump; drive-by prettify diff tests (#56) 2017-12-17 17:14:39 +01:00
Magnus Hoff
6e3f1dab07 Upgrade to Diesel 1.0.0-beta1 2017-12-15 16:43:10 +01:00
Magnus Hoff
b7a7ae53ab Update to Diesel 0.99
This fixes #49
2017-12-15 16:29:24 +01:00
Magnus Hoff
4b1e1f9222 Promote brew install method to something one could try 2017-12-02 13:23:30 +01:00
Magnus Hoff
df05b1de79 Reset border-radius for <button> elements 2017-12-02 13:13:40 +01:00
Magnus Hoff
a6e329faf0 Simplify "Discard changes?" dialog 2017-12-02 11:06:20 +01:00
Magnus Hoff
bc0f8b8046 Restyle and refactor popup dialogs 2017-12-02 11:01:24 +01:00
Magnus Hoff
9f5b057266 Simplify styling of popups, get better results 2017-12-02 09:39:26 +01:00
Magnus Hoff
259c884045 Refactor popups a little 2017-12-01 16:52:39 +01:00
Magnus Hoff
ebef585c9c Replace use of confirm(), for #47 2017-12-01 16:44:07 +01:00
Magnus Hoff
35d13308b9 Replace use of alert(), for #47 2017-12-01 16:37:41 +01:00
Magnus Hoff
578d525e25 Better styling of popup dialog 2017-12-01 16:22:36 +01:00
Magnus Hoff
5ce9b37ab0 Update about.html 2017-11-30 13:29:21 +01:00
Magnus Hoff
2bf201e3fd Inject soft hyphen into commit hash so it works better on more screens 2017-11-30 13:24:13 +01:00
Magnus Hoff
ca805f1a9d Make it slightly clearer that the prebuilt binary is Linux only 2017-11-30 12:35:28 +01:00
Magnus Hoff
b31c47c103 Avoid deep directory structure in produced tar file 2017-11-30 12:33:07 +01:00
Magnus Hoff
342f996c8e Eliminate one weird install step by using tar instead of xz directly 2017-11-30 12:16:42 +01:00
Magnus Hoff
7dd5c046b7 Merge branch 'proper_html_handling' 2017-11-29 22:52:42 +01:00
Magnus Hoff
c780450dc3 Grammar 2017-11-29 16:52:31 +01:00
Magnus Hoff
1953baddbd Strike out brew install instructions, due to bug 2017-11-29 16:46:48 +01:00
Magnus Hoff
7e930a5df1 Words 2017-11-29 15:47:23 +01:00
Magnus Hoff
861765c85a Add brew formula 2017-11-29 15:45:03 +01:00
Magnus Hoff
b8be70ad27 Add link to documentation for enabling authentication. For #29 2017-11-29 14:31:01 +01:00
Magnus Hoff
74d2c18943 Use heuristic to guess that we hit a login redirect on saving 2017-11-29 12:53:41 +01:00
Magnus Hoff
2e406f4480 Handle authorization problems when saving article with JS 2017-11-24 17:26:46 +01:00
Magnus Hoff
af358fe22c Tweak 2017-11-24 12:20:02 +01:00
Magnus Hoff
fc7bf4cac1 Update USAGE in README 2017-11-22 14:48:06 +01:00
Magnus Hoff
afa48f5f85 Link to wiki page on making backups 2017-11-21 16:36:14 +01:00
Magnus Hoff
f261d66a3a Link to systemd install instructions 2017-11-21 14:14:57 +01:00
Magnus Hoff
98a8dd8aca Tweak print style for <pre> 2017-11-21 11:55:52 +01:00
Magnus Hoff
07c3f4204f Always update body text when editing, it could be changed server-side due to merging 2017-11-21 09:57:59 +01:00