b81d35a9dc
Remove debug statement
2018-01-03 21:42:49 +01:00
11fa087a76
Merge tag 'v1.0.1' into develop
...
Release 1.0.1
Add a More/Less button for uncollapsing/collapsing long lists that
have been cut using a horizontal rule.
2018-01-03 21:12:46 +01:00
f79b81cf17
Merge branch 'release/1.0.1'
2018-01-03 21:12:30 +01:00
90bcdaadf5
Add a changelog entry for the new version
2018-01-03 21:12:24 +01:00
7b2f055cc1
Bump the version to 1.0.1
2018-01-03 21:12:24 +01:00
cd14727a3b
Also change the label of the More-button when (un)collapsed
2018-01-03 21:08:19 +01:00
94a3d3ebc1
Add a More-button for collapsing the list after the first horizontal ruler
2018-01-03 20:44:59 +01:00
4dd1fef41b
Turn the footer into a proper sticky footer
2018-01-02 14:49:05 +01:00
c3701899d7
Propagate the version bump to Cargo.lock
2018-01-02 13:35:58 +01:00
4e21b01179
Merge tag 'v1.0.0' into develop
...
Version 1.0.0
First version!
2018-01-02 13:24:27 +01:00
88958ee3be
Merge branch 'release/1.0.0'
2018-01-02 13:24:18 +01:00
09302ebc3e
Add a changelog entry for the new version
2018-01-02 13:24:14 +01:00
7113c76299
Bump the version to 1.0.0; add some missing fields
2018-01-02 13:23:05 +01:00
7db9ee5670
Add a REAMDE, LICENSE and (empty) CHANGELOG Markdown file
2018-01-02 13:18:58 +01:00
c4dcc6253f
Add a footer; give the navbar the same style as the footer
2018-01-02 12:49:16 +01:00
ee0d056d18
Add the app version to the home index template context
2018-01-02 12:48:58 +01:00
0cf8335184
Add a refresh button for convenience
2018-01-02 12:34:03 +01:00
46893262c7
Add error handling to al AJAX calls
2018-01-02 12:11:38 +01:00
46c8220e16
Add a modal error dialog to the home index template and JavaScript
2018-01-02 12:11:26 +01:00
4f622923fd
Fix the list related tests to change the updatable list back
...
Otherwise every odd number of test runs, there will be a change
in test/lists/updatable.list for Git.
2018-01-01 22:17:56 +01:00
7d056b5008
Hide the navbar collapse on select via JS instead of HTML
...
Appearantly, if there is a data-toggle, the href/link part isn't
done anymore.
2018-01-01 22:01:00 +01:00
1af5fe027f
The ListStore type should not be public (anymore)
2018-01-01 21:44:58 +01:00
889351df24
Add tests for the list model
2018-01-01 21:44:12 +01:00
3251d098bd
Add tests for the static file handler
2018-01-01 21:16:55 +01:00
8863b87c4e
Add tests for the home handler
2018-01-01 21:16:47 +01:00
e98324e3fe
Move the tests for the list handlers to the right module
...
Also improve and expand the tests abit. Use serde_json to parse the
results an interpret them instead on depending on response body string
matching (which fails for changing mtimes of the test files).
2018-01-01 21:15:30 +01:00
d167c50918
Move the convert_to_html code back into to_html of the list again
...
The module function was never used outside of the context of a list
anymore.
2018-01-01 21:13:51 +01:00
810d087508
Add some tests for the list handlers
2018-01-01 18:37:26 +01:00
4b33969427
Add support for specifying a custom lists dir at startup-time
2018-01-01 18:36:58 +01:00
2ff634a01b
Fix bold text example in Markdown help
2018-01-01 15:06:07 +01:00
05b2f88cbc
Remove unnecessary use
2018-01-01 14:22:33 +01:00
f65fde7378
Move the List struct to a modules submodule
...
Move the state type ListStore back to main.rs, it is used for
a global state object (like a DB connection, etc.)
2017-12-30 22:23:16 +01:00
38801c5625
Split the handlers off into a handler submodules
...
Also move the list handlers to a separate mount point.
2017-12-30 22:06:48 +01:00
783a71488e
No longer use small buttons
...
They are hard to use in the mobile setting. Also, now that the text labels
are gone, it is not much of an issue anymore.
2017-12-30 17:20:04 +01:00
ec1e384552
Tweak and add animations
...
* Add animations when hiding/showing the button toolbars
* Tweak the list select animations
2017-12-30 17:16:45 +01:00
673b58bdec
Use a button toolbar and button group for easy hiding/showing
2017-12-30 17:14:20 +01:00
995bd82036
Fix typo
2017-12-30 16:49:45 +01:00
1f4beab939
Use icons instead of text labels for the buttons
2017-12-30 16:47:21 +01:00
99619d9e44
Add static assets of FontAwesome 5.0.2
2017-12-30 16:47:00 +01:00
6259b9b320
Move Bootstrap SCSS to static/
...
As a result the CSS maps an be used to trace the original line in the SCSS
in the browser inspector. Also, move bootstrap to a subdir to distinguish
it from the SCSS of the app itself.
2017-12-30 16:23:25 +01:00
c39a065550
Immediately collapse the navbar after selecting a list
2017-12-30 16:18:13 +01:00
95e217a84d
Add a Markdown edit help popover for the textarea
...
Also add an edit help button during editing to toggle the popover.
The popover is placed next to the textarea and is removed when
exiting edit mode.
2017-12-30 16:16:59 +01:00
dc9a9efe59
Reuse the updateList() function after saving
2017-12-30 16:16:26 +01:00
af3a6183a5
Add different styling for all unordered lists that have checkboxes
...
These checkboxes are generated through the GFM tasklist extension.
In this case there should be not list item and the padding-left
should be removed.
2017-12-30 16:14:52 +01:00
e795544dc3
Don't use card-link classes
...
The card-link class does also other things with padding and spacing.
Instead, apply the style override to all links in the list HTML.
2017-12-30 16:13:51 +01:00
8b798e1d30
Add some documentation to the custom SCSS
2017-12-30 14:07:42 +01:00
a7a90ce84b
Fix link support in list HTML
...
* Add the card-link class to all anchors in the HTML
* Override the default Bootstrap styling for links in card text
2017-12-30 14:06:46 +01:00
c2baff37f3
Rename the lists index handler for consistency
2017-12-30 13:48:07 +01:00
51d3e876d6
Enable some extentions for the Markdown syntax
...
Enable the strikethrough, tagfilter, tasklist and autolink extensions
from the GFM spec.
2017-12-30 13:46:58 +01:00
fe9a5f1f52
make the itemization padding relative
2017-12-30 13:46:43 +01:00