✨ api: add dummy webdav server
- webdav content inside "api" subproject - ship api.conf for development
This commit is contained in:
parent
f36192dc74
commit
0073e72f9c
17 changed files with 70 additions and 2 deletions
27
api/.devcontainer/webdav/advent22/config.toml
Normal file
27
api/.devcontainer/webdav/advent22/config.toml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
calendar = "calendar.toml"
|
||||||
|
random_seed = "foo_bar"
|
||||||
|
|
||||||
|
[admin]
|
||||||
|
username = "admin"
|
||||||
|
password = "42"
|
||||||
|
|
||||||
|
[solution]
|
||||||
|
value = "ergophobia"
|
||||||
|
|
||||||
|
[site]
|
||||||
|
title = "Advent22 UI"
|
||||||
|
subtitle = "Lorem ipsum dolor sit amet"
|
||||||
|
content = "This supports *markdown* **and** Emoji! 😂"
|
||||||
|
footer = "Pictures from [Lorem picsum](https://picsum.photos)"
|
||||||
|
|
||||||
|
[puzzle]
|
||||||
|
skip_empty = true
|
||||||
|
extra_days = [5]
|
||||||
|
begin_day = 1
|
||||||
|
begin_month = 12
|
||||||
|
close_after = 90
|
||||||
|
|
||||||
|
[image]
|
||||||
|
size = 1000
|
||||||
|
border = 60
|
||||||
|
|
||||||
BIN
api/.devcontainer/webdav/advent22/files/Gorditas-Bold_50.ttf
(Stored with Git LFS)
Normal file
BIN
api/.devcontainer/webdav/advent22/files/Gorditas-Bold_50.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
api/.devcontainer/webdav/advent22/files/OpenSans-ExtraBold_50.ttf
(Stored with Git LFS)
Normal file
BIN
api/.devcontainer/webdav/advent22/files/OpenSans-ExtraBold_50.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
15
api/.devcontainer/webdav/advent22/files/calendar.toml
Normal file
15
api/.devcontainer/webdav/advent22/files/calendar.toml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
background = "things.jpg"
|
||||||
|
favicon = "flower.jpg"
|
||||||
|
doors = [
|
||||||
|
{ day = 1, x1 = 59, y1 = 176, x2 = 219, y2 = 400 },
|
||||||
|
{ day = 2, x1 = 418, y1 = 414, x2 = 540, y2 = 462 },
|
||||||
|
{ day = 3, x1 = 640, y1 = 159, x2 = 902, y2 = 338 },
|
||||||
|
{ day = 4, x1 = 698, y1 = 395, x2 = 888, y2 = 841 },
|
||||||
|
{ day = 5, x1 = 66, y1 = 484, x2 = 196, y2 = 810 },
|
||||||
|
{ day = 6, x1 = 284, y1 = 166, x2 = 358, y2 = 454 },
|
||||||
|
{ day = 7, x1 = 266, y1 = 512, x2 = 360, y2 = 807 },
|
||||||
|
{ day = 8, x1 = 413, y1 = 183, x2 = 583, y2 = 297 },
|
||||||
|
{ day = 9, x1 = 550, y1 = 465, x2 = 617, y2 = 785 },
|
||||||
|
{ day = 10, x1 = 425, y1 = 532, x2 = 469, y2 = 778 },
|
||||||
|
{ day = 11, x1 = 388, y1 = 358, x2 = 610, y2 = 392 },
|
||||||
|
]
|
||||||
BIN
api/.devcontainer/webdav/advent22/files/flower.jpg
(Stored with Git LFS)
Normal file
BIN
api/.devcontainer/webdav/advent22/files/flower.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
api/.devcontainer/webdav/advent22/files/things.jpg
(Stored with Git LFS)
Normal file
BIN
api/.devcontainer/webdav/advent22/files/things.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
api/.devcontainer/webdav/advent22/images_auto/creek.jpg
(Stored with Git LFS)
Normal file
BIN
api/.devcontainer/webdav/advent22/images_auto/creek.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
api/.devcontainer/webdav/advent22/images_auto/fisher.gif
Normal file
BIN
api/.devcontainer/webdav/advent22/images_auto/fisher.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
BIN
api/.devcontainer/webdav/advent22/images_auto/guy.JPG
Normal file
BIN
api/.devcontainer/webdav/advent22/images_auto/guy.JPG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 858 KiB |
BIN
api/.devcontainer/webdav/advent22/images_auto/meadow.jpeg
Normal file
BIN
api/.devcontainer/webdav/advent22/images_auto/meadow.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 825 KiB |
BIN
api/.devcontainer/webdav/advent22/images_auto/mountains.gif
Normal file
BIN
api/.devcontainer/webdav/advent22/images_auto/mountains.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 MiB |
BIN
api/.devcontainer/webdav/advent22/images_auto/path.JPeG
Normal file
BIN
api/.devcontainer/webdav/advent22/images_auto/path.JPeG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
BIN
api/.devcontainer/webdav/advent22/images_auto/shore.jpg
(Stored with Git LFS)
Normal file
BIN
api/.devcontainer/webdav/advent22/images_auto/shore.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
api/.devcontainer/webdav/advent22/images_auto/tree.GIF
Normal file
BIN
api/.devcontainer/webdav/advent22/images_auto/tree.GIF
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
BIN
api/.devcontainer/webdav/advent22/images_manual/3.jpg
(Stored with Git LFS)
Normal file
BIN
api/.devcontainer/webdav/advent22/images_manual/3.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
4
api/.gitignore
vendored
4
api/.gitignore
vendored
|
|
@ -1,3 +1,5 @@
|
||||||
|
api.*.conf
|
||||||
|
|
||||||
# ---> Python
|
# ---> Python
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|
@ -151,5 +153,3 @@ cython_debug/
|
||||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
api.conf
|
|
||||||
|
|
|
||||||
5
api/api.conf
Normal file
5
api/api.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
ADVENT22__WEBDAV__PROTOCOL="http"
|
||||||
|
ADVENT22__WEBDAV__HOST="webdav"
|
||||||
|
ADVENT22__WEBDAV__PATH=""
|
||||||
|
ADVENT22__WEBDAV__AUTH__USERNAME="wduser"
|
||||||
|
ADVENT22__WEBDAV__AUTH__PASSWORD="53cr3t!"
|
||||||
Loading…
Reference in a new issue