1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-01-31 01:14:48 +01:00

64 Commits

Author SHA1 Message Date
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
Ondrej Synacek
610ad61097 change copy, add about page 2019-10-23 22:29:01 +02:00
Ondrej Synacek
889de553f9 add fallback parser when LD/JSON not found, use DOM parser 2019-10-23 22:08:49 +02:00
Ondrej Synacek
a41992d53b refactor retrieving ICS file 2019-10-23 20:37:06 +02:00
Ondrej Synacek
52b86953aa add middleware for forcing https 2019-10-23 15:15:20 +02:00
Ondrej Synacek
21df3856cf add endpoint for LetsEncrypt verification and environment variables 2019-10-22 22:34:06 +02:00
Ondrej Synacek
acebfe3658 allow passing FB event number as parameter 2019-10-22 22:02:41 +02:00
Ondrej Synacek
97317aeaa4 bust cache for assets 2019-10-21 21:48:17 +02:00
Ondrej Synacek
ae94f46c6d modify styles for mobile 2019-10-21 21:45:41 +02:00
Ondrej Synacek
96862d9d76 adjust author links 2019-10-21 21:24:10 +02:00
Ondrej Synacek
31a54b4ef7 add JSON response for errors when using JS 2019-10-21 21:20:03 +02:00
Ondrej Synacek
6a1ef614ad add basic rate limiting 2019-10-21 20:44:34 +02:00
Ondrej Synacek
e4200690d9 add primitive cache busting, update service worker 2019-10-20 22:29:00 +02:00