Commit graph

58 commits

Author SHA1 Message Date
mtrx
6b0072df97
Updated readme for the new docker hub image 2021-05-02 19:19:23 +02:00
Leonard Lorenz
fda295b8f8 more styling 2021-04-03 23:42:21 +02:00
Leonard Lorenz
e19663d4e6 styling readme 2021-04-03 23:41:04 +02:00
mtrx
59014b5f9c
Merge pull request #4 from SunRed/master
Add compile flag again and update readme/env file
2021-04-03 23:38:45 +02:00
mtrx
787d40fb6b
fixed <id> not showing in route description 2021-04-03 23:30:06 +02:00
Leonard Lorenz
accbdb6f7a Bumped to 0.3.0. Switched /blog routes to / prefix and moved preevious / route to /about. Changed some env var loading code. 2021-04-03 23:27:58 +02:00
mtrx
5c1c0de1b1
we only need sqlite for our diesel_cli 2021-04-02 23:16:07 +02:00
0ab9e12723
Use example from README.md as default crablog.env 2021-02-13 14:13:17 +01:00
015d36ef91
Add change to compile with all threads again
Accidentally removed this on the last commits
Adds change from commit ec86734ea1 again
2021-02-13 14:04:43 +01:00
mtrx
243bc6397b
Merge pull request #1 from SunRed/master
Improve Dockerfile and include default environment file
2021-02-09 14:09:27 +01:00
5e905fa5ca
Include a default environment file 2021-02-09 11:51:58 +01:00
139242fc30
Change docker file structure and reduce image size drastically
This change reduces the generated image size of ~2.6 GB to roughly 20 MB
2021-02-09 11:44:44 +01:00
Leonard Lorenz
c7ad153adf added a div element to prevent the whole left side of a post to be a link 2020-12-05 22:43:11 +01:00
Leonard Lorenz
ec86734ea1 compile with all threads 2020-12-05 22:33:38 +01:00
Leonard Lorenz
cbc7831193 serving social icons from static instead of using the ones from their sites (faster, does not set cookies from <website of icon>) 2020-12-05 22:23:37 +01:00
Leonard Lorenz
4f6ba72fc3 added db setup documentation in readme 2020-11-22 00:54:24 +01:00
Leonard Lorenz
90bd088228 Added some more navigation buttons 2020-11-22 00:44:05 +01:00
Leonard Lorenz
d6a180bc65 fixed tag stripping 2020-11-22 00:30:52 +01:00
Leonard Lorenz
0b9758fc66 fixed static path handling and deleted html.rs 2020-11-22 00:07:05 +01:00
Leonard Lorenz
818a7bb0a0 Added request logging 2020-11-21 23:45:59 +01:00
Leonard Lorenz
8f2512e95f updated readme for social buttons 2020-11-21 22:49:12 +01:00
Leonard Lorenz
865040a68b added images to gitignore 2020-11-21 22:38:39 +01:00
Leonard Lorenz
5017fa536e added optional social media buttons 2020-11-21 22:35:36 +01:00
Leonard Lorenz
bfcf1a22e6 post by id now returns unauthorized if post is hidden 2020-11-21 21:40:48 +01:00
mtrx
3dab5f4ab0
Update README.md 2020-11-21 21:33:05 +01:00
Leonard Lorenz
ff178b4984 removed /doc directory 2020-11-21 21:27:01 +01:00
mtrx
b84a8d081f
Update README.md 2020-11-21 21:25:53 +01:00
Leonard Lorenz
7f4637e13f fixed html escaping and fixed env variable names 2020-11-21 21:17:33 +01:00
Leonard Lorenz
7becde6dc7 Global configuration, templates load once, render many times 2020-11-21 20:51:32 +01:00
Leonard Lorenz
74ab125243 fixed blog by id route embeds and removed a single quote 2020-11-17 20:33:02 +01:00
Leonard Lorenz
1fd3bdd49f added short post description for embeds 2020-11-17 20:26:14 +01:00
Leonard Lorenz
9521674ba1 detach when started 2020-11-17 18:12:26 +01:00
Leonard Lorenz
7e70485b98 should it die, we want it to restart 2020-11-17 18:05:49 +01:00
Leonard Lorenz
85ff8b12f3 Dockerization and generalization of the project. Make it accessable for everyone 2020-11-17 18:01:54 +01:00
Leonard Lorenz
d3a5cac4be move templates and static pages into rust source code to ditch i/o on page load 2020-11-14 22:38:33 +01:00
Leonard Lorenz
f0f4048835 added css to display images correctly 2020-11-02 16:13:02 +01:00
Leonard Lorenz
4fe6704e72 fixed token setting 2020-11-02 16:04:22 +01:00
Leonard Lorenz
5109d75e1a removed commented out code 2020-10-27 23:06:39 +01:00
Leonard Lorenz
874ec7e095 no need for js on clientside anymore to display the blog 2020-10-27 23:04:55 +01:00
Leonard Lorenz
77fb38403e updated source url 2020-10-27 14:55:39 +01:00
Leonard Lorenz
32ecbfa3d7 fixed screensize with html meta 2020-10-26 12:41:58 +01:00
Leonard Lorenz
621762b8d2 fixed index css and updated index 2020-10-26 12:39:05 +01:00
Leonard Lorenz
133187ad98 added html templates, static, index 2020-10-26 12:19:44 +01:00
Leonard Lorenz
6e72cba14c Added /blog/edit, inline documentation 2020-10-26 12:17:52 +01:00
Leonard Lorenz
a90ca863e7 Cleared the last warnings 2020-10-26 10:56:05 +01:00
Leonard Lorenz
4cbb673f15 Added hiding, deleting, editing posts 2020-10-25 23:23:32 +01:00
Leonard Lorenz
22846c85b3 convert newlines in blogposts to <br> tags 2020-10-23 22:50:55 +02:00
Leonard Lorenz
9c6a20d2b8 disabled auto escaping 2020-10-23 22:41:28 +02:00
Leonard Lorenz
c196a882d5 fixed submit content type 2020-10-23 12:06:19 +02:00
Leonard Lorenz
e56e43651c set correct content type 2020-10-23 11:34:54 +02:00