Commit graph

70 commits

Author SHA1 Message Date
73c8e318b6 add extension recommendations 2024-08-17 01:05:57 +02:00
0a85a81950 template error logging, css, better rendering 2024-08-10 21:30:51 +02:00
2e7a81d7c7 introducing templating inheritance and macros 2024-08-10 21:01:49 +02:00
7fe997acff remove cookie token garbage 2024-08-10 09:41:01 +02:00
ed0c6b4f0a updated readme 2024-08-10 09:08:43 +02:00
1e3e1eddc9 clear makefile 2024-08-10 09:01:14 +02:00
c30976f2d7 major config rebuild using once cell. added ability to use .env. 2024-08-10 08:24:22 +02:00
35cd018152 Streamlined config usage 2024-05-15 00:36:14 +02:00
9be7442f7d Updated most of the libraries and fixed the resulting deprecated warnings 2024-05-14 22:51:05 +02:00
Leonard Lorenz
40b9a90bf9 updated docker-compose to use the docker hub image 2021-05-02 19:54:39 +02:00
Leonard Lorenz
16efbc7cb5 Merge branch 'master' of github.com:mtrx1337/crablog 2021-05-02 19:43:07 +02:00
Leonard Lorenz
4e0611d5c2 Updated all dependencies 2021-05-02 19:39:31 +02:00
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