Commit graph

164 commits

Author SHA1 Message Date
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
fade34e224 webdavclient3 version 2022-09-05 23:30:04 +02:00
e49115e9e0 dev email, env file (reminder: create new token!) 2022-09-05 23:30:04 +02:00
6c8646813e Added PoC webdav functionality 2022-09-05 23:30:04 +02:00
352b508c48 empty FastAPI project 2022-09-05 23:30:04 +02:00
89bfbf3b18 empty "api" python project 2022-09-05 23:26:21 +02:00