Commit graph

155 commits

Author SHA1 Message Date
fbf6c550d2 move main function, launch module directly 2022-09-17 19:13:59 +00:00
bcc833d3a6 API remove some SETTINGS 2022-09-17 19:00:52 +00:00
1d8748e63a add middlewares (uvicorn) 2022-09-15 22:41:23 +00:00
e8d075a85f typo 2022-09-15 22:35:31 +00:00
3a08a9b711 update routers 2022-09-15 22:32:11 +00:00
2865fd0a6d weird whitespace 2022-09-15 22:24:32 +00:00
a16ff9d98c needed more config 2022-09-15 22:19:23 +00:00
a55bcfb9e0 API: config change to meet the UI needs 2022-09-15 22:14:02 +00:00
295c0427b6 devcontainer: zsh 2022-09-09 16:48:28 +00:00
1348869774 CORS and StaticFiles settings 2022-09-09 14:19:28 +00:00
0cdf49cf3e config documentation 2022-09-09 14:12:36 +00:00
72e3324141 default settings values handling 2022-09-09 03:16:26 +00:00
6b8d6f8bc7 SETTINGS.webdav_disable_check 2022-09-09 02:56:22 +00:00
fb5ca7bcda poetry update 2022-09-09 02:51:41 +00:00
21ac0b04cb add installed script 2022-09-09 02:50:59 +00:00
3926729e0c SETTINGS.main_{host,port} 2022-09-09 02:41:42 +00:00
f36272a6c0 some settings renames 2022-09-09 02:41:15 +00:00
564bac8ea4 documentation 2022-09-09 02:23:48 +00:00
a8c5180027 misc router 2022-09-09 02:21:52 +00:00
1f2b5a9607 get ticker ui config 2022-09-09 00:04:13 +00:00
ccbac0a455 split TickerConfig 2022-09-08 23:59:17 +00:00
83db799b96 ticker router 2022-09-08 23:44:03 +00:00
85327ce0b3 rename cal_aggregate -> aggregate 2022-09-08 23:39:42 +00:00
8b35bb7044 router startup log 2022-09-08 14:07:33 +00:00
43271bb6e3 configurable paths and names 2022-09-08 14:02:50 +00:00
baeff5c294 type checking "basic" 2022-09-08 00:37:59 +00:00
a02198dec0 webdav_check logic reversal 2022-09-07 12:57:38 +00:00
bd1d527d0e typo 2022-09-07 12:21:26 +00:00
946226c03a settings 2022-09-07 12:00:00 +00:00
3170313734 only "from"-imports 2022-09-07 00:29:32 +00:00
47aee73574 perform checks before running the API 2022-09-07 00:23:31 +00:00
c71049e930 warn -> warning 2022-09-07 00:17:55 +00:00
9349f5b756 log_level setting 2022-09-07 00:17:25 +00:00
ea85164063 utility object naming 2022-09-06 23:50:42 +00:00
e193410725 typing 2022-09-06 23:47:48 +00:00
33359aae43 logging and naming 2022-09-06 22:55:23 +00:00
f4b781912b get_ttl_hash without param 2022-09-06 22:45:23 +00:00
0de6b1d416 aggregate calendar router 2022-09-06 22:42:28 +00:00
36caa6db89 relative imports 2022-09-06 22:20:01 +00:00
a73dc51e25 allow decorator_args for timed_alru_cache 2022-09-06 07:55:52 +00:00
f99e45c7bb SETTINGS.cache_size 2022-09-06 07:54:44 +00:00
d09fe0f0e2 actually use config.image and config.calendar 2022-09-06 00:16:24 +00:00
1e9efd9cf3 calendar + aggregate config 2022-09-06 00:03:44 +00:00
e804ae68f8 Config for ticker and aggregate Calendars 2022-09-05 23:53:53 +00:00
a069fe5078 add license information to FastAPI object 2022-09-05 21:36:07 +00:00
c074bac3c8 webdav_prefix setting 2022-09-05 23:30:07 +02:00
8eeb3a61a7 DAV settings rework 2022-09-05 23:30:07 +02:00
1d62e59052 add "ticker" config component, move LogConfig to __init__ 2022-09-05 23:30:07 +02:00
077ac8efa5 correction using link 2022-09-05 23:30:07 +02:00
4da69740ae text router raw 2022-09-05 23:30:07 +02:00
bf92eadf3f brevity 2022-09-05 23:30:07 +02:00
09b7d59b39 use production mode switch for reloading 2022-09-05 23:30:07 +02:00
7a0925d60f DocStrings 2022-09-05 23:30:06 +02:00
d8ca1da9cb HTTP 404 if directory doesn't exist 2022-09-05 23:30:06 +02:00
972551d170 use Config.ticker_separator value 2022-09-05 23:30:06 +02:00
ea462b7459 unused import 2022-09-05 23:30:06 +02:00
20a32d82d6 SETTINGS.cache_seconds 2022-09-05 23:30:06 +02:00
c903144657 config creation 2022-09-05 23:30:06 +02:00
161e0e9628 logging setup 2022-09-05 23:30:06 +02:00
791a196e15 config.txt handling (missing aggregate calendars) 2022-09-05 23:30:06 +02:00
955aadfc86 nicer imports 2022-09-05 23:30:06 +02:00
77ee7c22e3 refactor main __init__ 2022-09-05 23:30:06 +02:00
105ca9d1bd .config -> .settings 2022-09-05 23:30:06 +02:00
2deda42194 CalEvent creation and validation 2022-09-05 23:30:06 +02:00
9d1329d8da sort calendar events 2022-09-05 23:30:06 +02:00
608f62b090 naming 2022-09-05 23:30:06 +02:00
fe31c9e52e async _get_calendar_events 2022-09-05 23:30:06 +02:00
ce2b729de6 DavCalendar class 2022-09-05 23:30:06 +02:00
46e39b97e9 naming 2022-09-05 23:30:06 +02:00
2c778b0d3a timed_alru_cache decorator 2022-09-05 23:30:06 +02:00
9b969b6024 dav_file dataclass 2022-09-05 23:30:06 +02:00
cf684ee5f9 PrefixUnique class, unified naming 2022-09-05 23:30:06 +02:00
f448ca79a6 calendar response model 2022-09-05 23:30:06 +02:00
f6937b5075 sync principal 2022-09-05 23:30:06 +02:00
559803ac0e use properties correctly 2022-09-05 23:30:06 +02:00
513a577914 works again, needs some work in routers._common 2022-09-05 23:30:06 +02:00
5034115281 wip/experiments 2022-09-05 23:30:06 +02:00
37b1a1ee68 quick and dirty vobject traversal 2022-09-05 23:30:06 +02:00
79c865552e quick and dirty calendar listing 2022-09-05 23:30:05 +02:00
eb69fa4ec6 don't expose CLIENT constant 2022-09-05 23:30:05 +02:00
b28d6fa4e7 Add FilePrefixLoader 2022-09-05 23:30:05 +02:00
749f56268c common "Iterator" stuff 2022-09-05 23:30:05 +02:00
9a350f6a71 text router rework: ticker comment "#", routing like image router 2022-09-05 23:30:05 +02:00
d934ba90b5 don't return None there 2022-09-05 23:30:05 +02:00
e0c2ae1d2e remove apscheduler dep 2022-09-05 23:30:05 +02:00
72e33238c4 implement timeout instead of scheduling 2022-09-05 23:30:05 +02:00
c65aba82a4 rename project 2022-09-05 23:30:05 +02:00
0db71d0ecd get_image response class 2022-09-05 23:30:04 +02:00
12959153c1 download cache 2022-09-05 23:30:04 +02:00
21805b0d8a formatting 2022-09-05 23:30:04 +02:00
12f0c5cb8f image router 2022-09-05 23:30:04 +02:00
811575536f typing improvements 2022-09-05 23:30:04 +02:00
d4158e37fb DavFile async download 2022-09-05 23:30:04 +02:00
cfb813f787 refactor DavFile init 2022-09-05 23:30:04 +02:00
6859e29986 improved typing 2022-09-05 23:30:04 +02:00
3ffc72f065 don't expose scheduler 2022-09-05 23:30:04 +02:00
b040ede864 better ticker processing 2022-09-05 23:30:04 +02:00
bdb4933887 Improved scheduling using APScheduler 2022-09-05 23:30:04 +02:00
df7b031024 ticker content + markdown 2022-09-05 23:30:04 +02:00
a4289f620d getting some webdav files 2022-09-05 23:30:04 +02:00