Commit Graph

76 Commits

Author SHA1 Message Date
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
Ondřej Synáček ddbf307c29 sort table rows by createdAt record property instead of IDs 2019-11-24 21:36:15 +01:00
Ondřej Synáček 389ad386d9 use unique IDs to identify records 2019-11-24 21:33:26 +01:00
Ondrej Synacek 4fe9a9d5fd make table nicer with background color 2019-11-14 09:24:55 +01:00
Ondrej Synacek eda28c29d1 invalidate cache for index template, remove text from footer for better mobile experience 2019-11-14 09:11:09 +01:00
Ondrej Synacek 29cc00717a add version information to index page 2019-11-14 09:02:56 +01:00
Ondrej Synacek 6022e918bd add version information to about page 2019-11-14 08:56:30 +01:00
Ondrej Synacek db5a31a90e fix CSS font family for system-like fonts 2019-11-14 08:53:33 +01:00
Ondrej Synacek 98c61869f9 change style to have bigger delete button 2019-11-10 16:48:04 +01:00
Ondrej Synacek 4139481c91 add ability to delete record, add emojis for action buttons 2019-11-10 16:35:54 +01:00
Ondrej Synacek 1117fe3525 remove testing method from script file 2019-11-05 21:11:00 +01:00
Ondrej Synacek 4984a26aa7 set more strict rate limiting for download endpoint 2019-11-05 21:08:59 +01:00
Ondrej Synacek 05640e2cd8 just use daily logs instead of hourly 2019-11-05 20:05:24 +01:00
Ondrej Synacek 63f8e35426 Do not use HTTPS application routing by default, make it optional via
env variable.
2019-11-04 20:34:59 +01:00
Ondrej Synacek 70f74746bd fix deprecated body-parser usage 2019-10-24 21:55:05 +02:00
Ondrej Synacek bdd80ca1c4 little styling touches 2019-10-24 21:52:31 +02:00
Ondrej Synacek 1c697df772 add Github link, update About section 2019-10-24 20:51:04 +02:00
Ondrej Synacek 06469d3236 add logger and daily rotating log files 2019-10-24 10:32:01 +02:00