Magnus Hovland Hoff
|
bf34e2923b
|
Addressed many cargo clippy complaints
|
2022-04-03 22:09:36 +02:00 |
|
Magnus Hovland Hoff
|
95a73b9471
|
cargo clippy --fix
|
2022-04-03 14:29:35 +02:00 |
|
Magnus Hovland Hoff
|
9320d14d89
|
Manually fix remaining compile warnings.
|
2022-04-03 14:19:56 +02:00 |
|
Magnus Hovland Hoff
|
9f80ced3ec
|
cargo fmt
|
2022-04-03 13:47:43 +02:00 |
|
Magnus Hovland Hoff
|
26fe2b64da
|
Update edition, cargo fix and cargo fix --edition
|
2022-04-03 13:45:50 +02:00 |
|
Magnus Hovland Hoff
|
ccbabb86f8
|
Make theme optional when updating articles.
This makes sense from an API design perspective
|
2018-10-05 13:07:19 +02:00 |
|
Magnus Hovland Hoff
|
6d1c9967aa
|
Correctly mark unused variable
|
2018-10-03 18:12:27 +02:00 |
|
Magnus Hovland Hoff
|
baaab6ebc8
|
Store theme explicitly in database. Propagate theme both ways between db and frontend
|
2018-09-23 22:38:18 +02:00 |
|
Magnus Hovland Hoff
|
8f1e95bdde
|
Add theme to ArticleRevisionStub, RebaseResult and related.
This paves the way for explicitly storing the theme in the database
|
2018-09-22 23:16:58 +02:00 |
|
Magnus Hovland Hoff
|
c82228f019
|
Propagate theme in ArticleRevisions from the state struct
|
2018-09-21 08:57:35 +02:00 |
|
Magnus Hoff
|
a582d3a627
|
Merge branch 'master' into process_markdown_in_sqlite
|
2018-06-13 22:22:08 +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
|
d63ccd06b7
|
Cleanup
|
2018-05-12 14:36:52 +02: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
|
6e3f1dab07
|
Upgrade to Diesel 1.0.0-beta1
|
2017-12-15 16:43:10 +01:00 |
|
Magnus Hoff
|
0f835fa312
|
Update tests
|
2017-11-20 16:48:31 +01:00 |
|
Magnus Hoff
|
a09aa4b601
|
Expose merge conflicts in the JavaScript editor. This fixes #23
|
2017-11-20 16:37:52 +01:00 |
|
Magnus Hoff
|
b685139d5b
|
Implement merge conflict handling for the noscript case #23
|
2017-11-20 16:07:33 +01:00 |
|
Magnus Hoff
|
bf9716ccb8
|
Propagate rebase conflicts out from state object
|
2017-11-20 15:08:34 +01:00 |
|
Magnus Hoff
|
bfca5d6e78
|
Rebase title edits, #23
|
2017-11-20 13:12:36 +01:00 |
|
Magnus Hoff
|
b862ad8c73
|
Add test for rebasing over multiple revisions
|
2017-11-20 12:41:14 +01:00 |
|
Magnus Hoff
|
e92eab2c8f
|
Automatically rebase edits to historic revisions, for #23
|
2017-11-20 12:37:44 +01:00 |
|
Magnus Hoff
|
990f570a31
|
Tests for article merging
|
2017-11-17 16:17:05 +01:00 |
|
Magnus Hoff
|
d241da35fb
|
More tests
|
2017-11-16 10:44:55 +01:00 |
|
Magnus Hoff
|
2665fb3b8a
|
Add a test for State
|
2017-11-15 16:27:28 +01:00 |
|
Magnus Hoff
|
7b485f87b9
|
Refactor State, centralizing db connection and cpu pool handling
|
2017-11-15 15:58:33 +01:00 |
|
Magnus Hoff
|
3dd4927281
|
Forbid empty titles in application layer
|
2017-10-30 13:20:40 +01:00 |
|
Magnus Hoff
|
4ca748f180
|
Optionally show authors in _changes based on --trust-identity command line argument.
This fixes #19
|
2017-10-30 11:44:36 +01:00 |
|
Magnus Hoff
|
9336fbf3cd
|
Expand search api
|
2017-10-24 22:16:10 +02:00 |
|
Magnus Hoff
|
59c11897b2
|
Tweak FTS query
Attempt to smartly use NEAR searches and prefix searches depending on input. This is hopefully a good idea
|
2017-10-24 21:54:27 +02:00 |
|
Magnus Hoff
|
8104430701
|
Refactor
|
2017-10-24 21:23:18 +02:00 |
|
Magnus Hoff
|
a07f47c0f7
|
Implement quoting for the FTS search syntax of SQLite
This makes search queries safe for user input
|
2017-10-24 21:21:02 +02:00 |
|
Magnus Hoff
|
1bb1df8cf0
|
Add a first approximation of full text search. Issue #8
|
2017-10-24 16:48:16 +02:00 |
|
Magnus Hoff
|
ffccc5722c
|
Add view of historical article revisions
|
2017-10-24 11:03:09 +02:00 |
|
Magnus Hoff
|
d918d614b4
|
Refactor pagination
|
2017-10-20 20:48:43 +02:00 |
|
Magnus Hoff
|
c85715c969
|
Start tracking authors for edits. #6
|
2017-10-18 16:33:21 +02:00 |
|
Magnus Hoff
|
2cb80e2bac
|
Add sitemap. This fixes #3
|
2017-10-13 15:06:16 +02:00 |
|
Magnus Hoff
|
f22ffc112a
|
Add basic /_changes page
|
2017-10-03 10:37:18 +02:00 |
|
Magnus Hoff
|
1d485798eb
|
Implement /_new, for creating new articles without making up a URL first
|
2017-10-02 17:08:59 +02:00 |
|
Magnus Hoff
|
ad4addfc8c
|
Implement support for inserting new articles
|
2017-09-21 11:38:52 +02:00 |
|
Magnus Hoff
|
0a3cb53a66
|
Add NewArticleResource
Serve placeholder page for non-existing articles.
Redirect user-generated slugs to canonical slugs.
|
2017-09-21 10:58:54 +02:00 |
|
Magnus Hoff
|
01dafa7d37
|
Special case front page so it never gets a non-empty slug
|
2017-09-21 10:23:30 +02:00 |
|
Magnus Hoff
|
3feed530ff
|
Implement support for editing page title
|
2017-09-21 10:09:57 +02:00 |
|
Magnus Hoff
|
631e76324b
|
Cleanup. Make use of .first() and .optional() from Diesel
|
2017-09-20 23:40:07 +02:00 |
|
Magnus Hoff
|
debf44623c
|
Automatically generate slugs for articles based on title
|
2017-09-20 23:31:25 +02:00 |
|
Magnus Hoff
|
e1d823d22e
|
Implement lookup and redirect of articles by slugs
|
2017-09-20 11:54:26 +02:00 |
|
Magnus Hoff
|
320ec98d65
|
Take CPU pool as dependency for State
|
2017-09-10 12:29:33 +02:00 |
|
Magnus Hoff
|
6fb1062376
|
Execute State functions in thread pool
|
2017-09-08 16:21:24 +02:00 |
|
Magnus Hoff
|
b3e7552c16
|
Make State-functons return Future-s
|
2017-09-08 15:58:15 +02:00 |
|