1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-01-30 17:04:48 +01:00

93 Commits

Author SHA1 Message Date
Ondřej Synáček
05473c13c1 fix: build process to support Svelte and service worker 2020-12-23 22:05:30 +01:00
Ondřej Synáček
8900474af7 refactor: completely remove existing javascript and use Svelte app
exclusively for rendering
2020-12-20 15:24:25 +01:00
Ondřej Synáček
377a4bcd80 fix: set up logger from Svelte app on app boot 2020-12-20 15:06:08 +01:00
Ondřej Synáček
29ad7fcf73 fix: extract service worker setup to Svelte app initialization 2020-12-20 15:00:00 +01:00
Ondřej Synáček
a5b9887fec fix: bring back download prompt after fetching event data 2020-12-20 14:51:28 +01:00
Ondřej Synáček
df853d39af fix: bring back persistence when fetching event data 2020-12-20 14:46:30 +01:00
Ondřej Synáček
514b2588df feature: add parsing status to UI 2020-12-20 14:40:43 +01:00
Ondřej Synáček
290d7115d0 feature: create Svelte component for showing status UI 2020-12-20 14:29:21 +01:00
Ondřej Synáček
b28995aa1e feature: convert form input to Svelte component and create module for
fetching event data & parsing it
2020-12-20 13:50:12 +01:00
Ondřej Synáček
128b03344b feature: add store for tracking network request to API 2020-12-20 12:07:37 +01:00
Ondřej Synáček
4fad8e442d refactor: remove duplicated CSS 2020-12-15 23:15:42 +01:00
Ondřej Synáček
0f21613e39 refactor: replace event list table with Svelte version 2020-12-15 23:12:13 +01:00
Ondřej Synáček
978662b55c feature: use Svelte to render event list 2020-12-15 22:50:22 +01:00
Ondřej Synáček
470184aec0 fixup! feature: update event store contents from existing code 2020-12-15 22:42:43 +01:00
Ondřej Synáček
b86402a7ff improvement: add record migration and correct state normalization in new code 2020-12-15 22:06:45 +01:00
Ondřej Synáček
e3917ee79a feature: update event store contents from existing code 2020-12-15 22:00:45 +01:00
Ondřej Synáček
985b580d7d feature: create event store in preparation of table component
replacement
2020-12-15 21:49:15 +01:00
Ondřej Synáček
e28b378e07 feature: sync multiple tabs using local storage 2020-12-15 21:49:15 +01:00
Ondřej Synáček
61985990d0 refactor: remove checks for JS features
Since I'm introducing Svelte framework and targeting modern browsers, I
think it does not make sense to check for browser features. I can always
choose to use polyfills for backwards compatibility.

I will make sure the form is still also rendered via HTML and works for
non-SPA use.
2020-12-15 21:49:15 +01:00
Ondřej Synáček
a89777b91a feature: add Svelte framework to app, refactor tracking panel into Svelte component 2020-12-15 21:49:15 +01:00
Ondřej Synáček
a249a23ddd feature: add UI for user approval of tracking 2020-12-12 13:54:59 +01:00
Ondřej Synáček
737620e2ca feature: add endpoint for logging instrumentation 2020-12-12 13:19:34 +01:00
Ondřej Synáček
c6d85b8839 fix missing route handlers 2020-11-15 15:32:07 +01:00
Ondřej Synáček
a8c5d12a7b fix issues with deployment due to winston logging getting in the way 2020-11-15 15:13:49 +01:00
Ondřej Synáček
0ad6bba142 move app routes to separate directory for better composition in
preparation of firebase integration
2020-11-01 13:08:48 +01:00
Ondřej Synáček
cfd939a668 normalize URL when parsing event number from HTML file 2020-07-23 17:23:04 +02:00
Ondřej Synáček
a661e54524 fix invalid function signature for event data extraction
Additionally fix specs
2020-07-19 08:14:35 +02:00
Ondřej Synáček
0c9a69d8ea prettify console messages with browser logger 2020-07-19 08:14:35 +02:00
Ondřej Synáček
cf41deedd9 remove manual "no javascript" switch
This was a stupid checkbox made only as an experiment. The page can
still be loaded without JavaScript and works, no need to trigger it
manually.
2020-07-19 08:14:35 +02:00
Ondřej Synáček
f577fb6385 implement same parsing logic on server and frontend
Server now downloads the HTML file via new endpoint but the parsing logic now happens in
the browser. The reason for this is to have a way same code for both
environments.

If the JavaScript is disabled, it's still possible to call the previous
endpoint and download the file from the server.
2020-07-19 08:14:35 +02:00
Ondřej Synáček
410096398d separate utilities for logs 2020-07-19 08:14:35 +02:00
Ondřej Synáček
b3321b2f90 use crawling logic as a service for ICS retrieval 2020-07-19 08:14:35 +02:00
Ondřej Synáček
0eda018113 create client side logger 2020-07-19 08:14:35 +02:00
Ondřej Synáček
6b7c0f8454 separate front end into modules for easier refactoring later 2020-07-19 08:14:35 +02:00
Ondřej Synáček
565354bcb6 add webpack for front end builds and serve the assets from backend 2020-07-19 08:14:35 +02:00
Ondřej Synáček
9da4c33ffd remove URL requirement for DOM parser 2020-07-19 08:14:34 +02:00
Ondřej Synáček
456eaa1fbc add specs for ICS retriever 2020-07-19 08:14:29 +02:00
Ondřej Synáček
8458ae0b69 add minimum duration for DOM parser 2020-07-19 08:14:23 +02:00
Ondřej Synáček
48e012bbc0 add specs for LD JSON parser 2020-07-15 20:54:24 +02:00
Ondřej Synáček
59eb0191bf make logger optional so code can be re-used for CLI interface 2020-07-15 20:54:24 +02:00
Ondřej Synáček
bf36383bff add CLI interface made just for parsing 2020-07-15 20:54:24 +02:00
Ondřej Synáček
0f5c9cf59c add fallback time for unknown start date 2019-12-15 10:56:26 +01:00
Ondřej Synáček
34ec276de2 fix deprecated usage of constructor with Buffer 2019-11-27 12:51:13 +01:00
Ondřej Synáček
53ee2c1fb5 disable route logger for production environments 2019-11-27 12:47:36 +01:00
Ondřej Synáček
bdfb097bbb remove colorized log output, add timestamps 2019-11-27 12:44:47 +01:00
Ondřej Synáček
f22841e1f4 improve parsing for start and end dates for DOMparser 2019-11-26 22:38:47 +01:00
Ondřej Synáček
7234d442e3 fix problem in LDJSON parser when address object is not available 2019-11-25 21:55:30 +01:00
Ondřej Synáček
0210676717 invalidate cache for release v1.1.8 2019-11-24 22:39:50 +01:00
Ondřej Synáček
98ad2cf25e use event name to re-download iCal file instead of action button 2019-11-24 22:37:36 +01:00
Ondřej Synáček
ca14709309 display date of the event instead of date of the creation of iCal file 2019-11-24 22:36:12 +01:00