Commit Graph

44 Commits

Author SHA1 Message Date
akaessens 7fdfd38cdc Allow input of arbitraty page name
Document receiver will check for 404 error if page is invalid.
If page is valid just scrape it as if it was the full uri.

closes #34
2021-08-10 14:49:06 +02:00
akaessens 32da94c275 More logging
Signed-off-by: akaessens <24660231+akaessens@users.noreply.github.com>
2021-08-10 14:04:28 +02:00
akaessens 6248e79021 Replace asyncTasks execute with actual parallel async execution
Using executeOnExecutor(asyncTask.THREAD_POOL_EXECUTOR) all pages
are scraped in parallel. Related: #33

Note: with Android 11 the whole Aync Task is deprecated, therefore
needs to be replaced in the future.
2021-08-10 12:43:43 +02:00
akaessens e8893fd712 Add some logging 2021-08-10 12:33:46 +02:00
akaessens 748cf3c074 add shortener redirection, replace m. with mbasic. 2020-10-03 21:45:38 +02:00
akaessens 9e81e3d74a fix event info hiding after activity restore (closes #23), add comments 2020-10-03 20:12:24 +02:00
akaessens 43913ccd21 scrape more events from pages 2020-09-27 14:23:45 +02:00
akaessens 8335ffeada remove possibly fragile task counter dependent output 2020-09-27 13:18:14 +02:00
akaessens 2e1b20051a fix nullptr crash on killing asyncs 2020-09-26 23:00:23 +02:00
akaessens 5e7d9bc4dc fix oncreate scraping multiple events with same intent 2020-09-26 22:55:39 +02:00
akaessens 626128b5dc pagelinks are supported, currently limited to 5 events 2020-09-26 21:54:20 +02:00
akaessens a30756a873 prepare event page scraping, better error/result handling 2020-09-26 19:16:21 +02:00
akaessens 2750ad86e8 do not display empty information or placeholders 2020-09-26 15:45:49 +02:00
akaessens 63de4b4a4f add shared prefs, cleanup 2020-09-26 14:04:43 +02:00
akaessens 56300d78a3 use scroll view instead of card, re-add maps intent and fix soft keyboard 2020-09-05 17:14:06 +02:00
akaessens 926c2c612a first recyclerview with multiple events prototype 2020-09-04 13:24:28 +02:00
akaessens 2faf8aa003 get high-res preview also from videos 2020-08-31 17:10:10 +02:00
akaessens 320d1787aa improve high-res image url scraping 2020-08-31 16:13:43 +02:00
akaessens ba2ec36666 add german error translation 2020-08-31 12:05:24 +02:00
akaessens 81fd1f3ebb enable dark mode for help and about webviews 2020-08-31 11:32:22 +02:00
akaessens 8b5263db63 MinSdk down to 23, replace ZonedDateTime with Date 2020-08-30 21:41:58 +02:00
akaessens 7a44e467f0 add high res image preview, fix reset on activity return 2020-08-30 19:03:17 +02:00
akaessens 0950da98e1 use correct user agent and add legal info 2020-08-29 12:28:28 +02:00
akaessens 793a9e3549 prevent nullpointer exception on tests 2020-08-28 21:13:21 +02:00
akaessens ec62cb6347 switch to webview display in help and about
add icons to overflow menu
add settings with scrape url prefix selection
rewrite help and about
2020-08-28 20:47:52 +02:00
akaessens 4e319d3807 add javadoc 2020-08-28 17:32:39 +02:00
akaessens 6c0c2d23fe make fbevent properties immutable 2020-08-28 16:19:08 +02:00
akaessens 16d390094e much refactoring:
-move event formatting logic to event class
-disable editing of event output, it's available in the calendar app
-replace string datetimes with ZonedDateZime
-move uri checking logic to scraper
-update exception handling and error messages
-reformatting and renaming
-fix messy xml layouts
-update tests
-add comments
2020-08-28 16:14:03 +02:00
akaessens 05f3ba9a33 use regex find instead of replace for url matching 2020-08-26 18:47:44 +02:00
akaessens 9ab18b496f update jsoup 2020-08-15 15:31:05 +02:00
akaessens bc9cf04f10 use helper error instead of toast
move clear fuction to text input
more concise add button
remove autocorrect o textfields
closes #10
2020-08-15 13:15:01 +02:00
akaessens ac98a4a43c fix tests,
minor design fixes
2020-08-15 11:42:56 +02:00
akaessens e08497fd2d fix overlap of bottom nav bar, add error messages to fields 2020-08-15 00:31:43 +02:00
akaessens 7c975b8d7e material design and image display 2020-08-14 23:58:29 +02:00
akaessens 8a1f5f8c53 add unit tests, closes #12
fix for datetime timezone calculation
2020-07-29 19:38:39 +02:00
akaessens d37a8362a6 fix location detection
closes #4
2020-07-29 13:53:13 +02:00
akaessens 53ff8e4609 add link name after fixing 2020-07-29 11:51:10 +02:00
akaessens b88d429af1 implement Links to pages
closes #3
2020-07-29 11:42:50 +02:00
akaessens 42a91802dc fix date timezone 2020-03-27 19:31:28 +01:00
akaessens 33d4bd8556 add location address
fix for events without end date
2020-03-27 10:57:02 +01:00
akaessens ec177f4394 add icon
add error handling
fix bugs
2020-03-26 16:03:47 +01:00
akaessens 3a6f92d7b5 change css query for scraping to sth. more general 2020-03-26 10:54:38 +01:00
akaessens 3c6c51e781 rewrite layout and catch url errors 2020-03-25 23:53:49 +01:00
akaessens 065cc04667 initial version for NoFb 2020-03-25 18:33:03 +01:00