Commit graph

275 commits

Author SHA1 Message Date
Schimon Jehudah
e0864cc84e Accept only numerical value for key interval 2024-02-12 09:53:49 +00:00
Schimon Jehudah
f6bc76fdf8 Fix settings update.
Add option to restore default settings.
Reorganize code.
Thank you mirux.
2024-02-11 21:31:31 +00:00
Schimon Jehudah
065311d0d8 Add switch for media 2024-02-10 23:25:05 +00:00
Schimon Jehudah
1e794b3498 Do not cancel task immediately after it is allocated.
Thank you chunk, A_Dragon, TML and graingert.
2024-02-10 21:50:37 +00:00
Schimon Jehudah
9434833449 WIP: Closer to fix double message. See task.py 2024-02-10 17:53:53 +00:00
Schimon Jehudah
c568145ecf Fix bad reference to function that does not exist and - hopefully - improve subscription handling 2024-02-07 23:41:02 +00:00
Schimon Jehudah
6c16fa4af1 Restore support for disabling and enabling feeds.
Assign handlers to "self".
Towards better handling of subscription and unsubscription.
Minor fixes.
2024-02-07 22:24:59 +00:00
Schimon Jehudah
51e48c8389 Standardize modules client and component 2024-02-07 01:12:51 +00:00
Schimon Jehudah
00a8ed180a Fix presence and subscription handling.
Segregate and atomize into classes.
2024-02-07 00:26:42 +00:00
Schimon Jehudah
422e0669f1 Add ad-hoc commands 2024-02-06 03:04:43 +00:00
Schimon Jehudah
56aaccce68 Remove more unused functions 2024-02-04 19:22:51 +00:00
Schimon Jehudah
c9424ffd85 Remove function that does not exist yet 2024-02-04 19:16:23 +00:00
Schimon Jehudah
e36816756c Print version at startup 2024-02-04 18:56:19 +00:00
Schimon Jehudah
acce4fafdc Add arguments -v and --version 2024-02-04 18:19:56 +00:00
Schimon Jehudah
c7fa2496a8 Fix many issues amidst change of table structure 2024-02-04 17:08:12 +00:00
Schimon Jehudah
f683e11c4a Update list pathnames 2024-01-31 10:55:35 +00:00
Schimon Jehudah
dc85f73de5 Replace YAML by TOML 2024-01-28 11:17:31 +00:00
Schimon Jehudah
6883eb6615 Improve listing of commands 2024-01-27 19:21:45 +00:00
Schimon Jehudah
4da2a28184 Fix selection of image.
Thank you roughnecks for the report.
2024-01-27 19:19:41 +00:00
Schimon Jehudah
9094921b40 Enable usage of private chat on groupchat 2024-01-27 17:15:28 +00:00
Schimon Jehudah
4406e61fbe Improve update interval mechanism.
Add service discovery identity.
Add exception errors.
2024-01-26 11:34:07 +00:00
Schimon Jehudah
c1ef5acc7e More fixes 2024-01-24 20:28:14 +00:00
Schimon Jehudah
386b10ae15 Fix configuration and allow commenting unused keys 2024-01-24 19:41:40 +00:00
Schimon Jehudah
8dcff0b2fe Fix configuration 2024-01-24 18:59:10 +00:00
Schimon Jehudah
2f6b86522f Add service component support.
Thank you to Mr. Guus der Kinderen from IgniteRealtime.org for promptly providing an Openfire instance for development.
2024-01-24 18:11:39 +00:00
Schimon Jehudah
c9c552e33f Add support for ePUB and Text.
Import OPML only from a moderator.
Fix error for sqlite.py module.
2024-01-23 14:37:10 +00:00
Schimon Jehudah
13d87e2be7 Set directory cache 2024-01-22 15:27:01 +00:00
Schimon Jehudah
0d7f67d721 Fix handling of document error 2024-01-22 15:01:52 +00:00
Schimon Jehudah
4c64870d8f Fix handling of document error 2024-01-22 13:29:14 +00:00
Schimon Jehudah
ddca33fcf1 Update configuration files 2024-01-22 12:55:36 +00:00
Schimon Jehudah
c4ccdd1f9d Containerized configurations (step towards a portable software. SeeTPFC portablefreeware.com) 2024-01-22 12:48:00 +00:00
Schimon Jehudah
0512e14738 Add support for JSON Feed 2024-01-20 17:28:31 +00:00
Schimon Jehudah
4743ada0ca Remove pycache files 2024-01-18 21:04:02 +00:00
Schimon Jehudah
18c93083b7 Apply patch from grym 2024-01-18 20:57:49 +00:00
Schimon Jehudah
6a7d99f1a2 Add functionality profile 2024-01-17 14:36:28 +00:00
Schimon Jehudah
80e49a8d38 Fix archiving functionality 2024-01-14 21:43:23 +00:00
Schimon Jehudah
c04a1b6534 Fix statistics 2024-01-14 18:05:12 +00:00
Schimon Jehudah
219c23a648 Restore settings functionality.
Minor fixes for image extraction and self groupchat message.
2024-01-14 12:46:38 +00:00
Schimon Jehudah
f721059278 Remove magnet link check 2024-01-13 17:27:18 +00:00
Schimon Jehudah
43fa1a463c Save enclosures
Send new message upon media detection
2024-01-13 17:17:43 +00:00
Schimon Jehudah
ec82aeb3cc Detect image from xml enclosure in addition to html img 2024-01-11 10:55:42 +00:00
Schimon Jehudah
b675618b95 Change order of html data and status code 2024-01-10 21:40:12 +00:00
Schimon Jehudah
b1cb9f7777 Handle readability exception 2024-01-10 21:20:02 +00:00
Schimon Jehudah
0ca37dfdee Improve SQLite performance.
Handle missing packages errors.
2024-01-10 20:06:56 +00:00
Schimon Jehudah
46a0819229 Add functionality to display images from first link to provide an image (experimental) 2024-01-09 22:36:16 +00:00
Schimon Jehudah
8b313acd91 Include entry Id in formed message 2024-01-09 16:00:01 +00:00
Schimon Jehudah
b06e1bc693 Add functionality to download articles 2024-01-09 15:53:19 +00:00
Schimon Jehudah
9709c052ee Improve code of module crawl.py 2024-01-09 12:34:10 +00:00
Schimon Jehudah
956ce69fcb Fix entry duplication check 2024-01-07 09:57:54 +00:00
Schimon Jehudah
fa4c85cd61 Comment breakpoint() 2024-01-06 22:17:04 +00:00
Schimon Jehudah
dbe9ec3073 Restructure modules and database.
Add OPML import functionality.
Minor improvements.
2024-01-06 22:03:08 +00:00
Schimon Jehudah
6b07640666 Fix updates retrieval 2024-01-04 13:58:06 +00:00
Schimon Jehudah
b77ef5346f More segregation of code 2024-01-04 12:38:22 +00:00
Schimon Jehudah
7135994888 Segregate code into more particular functions 2024-01-04 01:16:24 +00:00
Schimon Jehudah
96f3369539 Fix a couple of errors and split functions 2024-01-03 15:04:01 +00:00
Schimon Jehudah
94af40cf40 Fix creation of directory logs/ thanks roughnecks 2024-01-03 12:30:52 +00:00
Schimon Jehudah
9386e5de49 Add functionality to export to markdown 2024-01-03 12:17:39 +00:00
Schimon Jehudah
a3d68f6a8f Add functionality to export feeds to OPML 2024-01-03 10:37:33 +00:00
Schimon Jehudah
9843337e43 Fix missing key error 2024-01-02 18:45:43 +00:00
Schimon Jehudah
de200b3b03 Split more functions into smaller functions 2024-01-02 18:11:36 +00:00
Schimon Jehudah
e2ad10592d Fix command recent 2024-01-02 13:19:27 +00:00
Schimon Jehudah
42cf0afeff Fix respond error 2024-01-02 12:58:45 +00:00
Schimon Jehudah
d25c17a84a Fix error 2024-01-02 12:52:37 +00:00
Schimon Jehudah
57b666dde2 Remove breakpoint 2024-01-02 12:44:32 +00:00
Schimon Jehudah
2026dc9a6a Set initial value to variable response 2024-01-02 12:29:48 +00:00
Schimon Jehudah
0eaeaaa757 Fix error 2024-01-02 12:21:28 +00:00
Schimon Jehudah
8b1e03d8e9 Restrict command breakpoint 2024-01-02 12:17:48 +00:00
Schimon Jehudah
4701602355 Restrict command bookmarks 2024-01-02 12:12:29 +00:00
Schimon Jehudah
beb5c4c976 Fix interval status message 2024-01-02 12:06:35 +00:00
Schimon Jehudah
b4a20e9808 Fix command bookmarks 2024-01-02 11:52:04 +00:00
Schimon Jehudah
f65be8b5c8 WIP
Add http proxy support.
Add more functionality to handle bookmarks.
Split into more modules.
Remove callback function initdb.
Tasked status messages are broken.
2024-01-02 11:42:41 +00:00
Schimon Jehudah
8e3e06b36b Improve redirection mechanism 2023-12-29 01:35:20 +00:00
Schimon Jehudah
76b2713223 Add proxy for links.
Fix minor problems.
2023-12-29 00:45:01 +00:00
Schimon Jehudah
395c2373ae Fix error ModuleNotFoundError. Thank you roughnecks for the second time this evening! 2023-12-28 18:16:33 +00:00
Schimon Jehudah
7ee4000ee0 Laura: Fix awaitable error 4d03d6e16e 2023-12-28 17:58:49 +00:00
Schimon Jehudah
b2387a700d Fix error ModuleNotFoundError. Thank you roughnecks 2023-12-28 16:30:32 +00:00
Schimon Jehudah
08001eebf8 Add __init__.py and split muc.py into bookmark.py 2023-12-28 16:22:32 +00:00
Schimon Jehudah
61bd792572 Add slixfeed.py for command line and split xmpp into modules. 2023-12-28 14:50:23 +00:00
Schimon Jehudah
8fbe97e357 Add ClearURLs functionality.
Fix Proxy functionality (remove www).
2023-12-27 22:48:31 +00:00
Schimon Jehudah
4d03d6e16e Laura: Fix runtime warning: coroutine was never awaited
```
/usr/lib/python3.11/asyncio/events.py:73: RuntimeWarning: coroutine 'send_update' was never awaited
  self._args = None
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.11/asyncio/events.py:73: RuntimeWarning: coroutine 'send_status' was never awaited
  self._args = None
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
```
Thank you, Laura
2023-12-27 22:41:53 +00:00
Schimon Jehudah
57f429fff0 Add proxy services.
Merry Christmas to one and all!
2023-12-26 11:22:45 +00:00
Schimon Jehudah
56d0da9a76 Improve connectivity recovery 2023-12-24 18:37:05 +00:00
Schimon Jehudah
ccd01b837d Fixed error:
ERROR    Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f00643ef490>
2023-12-18 16:09:33 +00:00
Schimon Jehudah
0c80c722bb Revert change 2023-12-18 15:58:33 +00:00
Schimon Jehudah
7d711a9f11 Fix error:
ERROR    Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f00643ef490>
2023-12-18 15:56:42 +00:00
Schimon Jehudah
19bc626eb1 Add user agent setting. Add command reset (mark as read). Fix error with command recent. Fix error with command stats. Thanks roughnecks for reporting these issues. 2023-12-18 15:29:32 +00:00
Schimon Jehudah
d4b0d08480 Do not send updates when updates are not enabled. Add a new module for handling URLs. Remove awaitables from functions of mere runtime actions. 2023-12-14 08:43:30 +00:00
Schimon Jehudah
d8a1799978 Add support for configuration files. Undo most of the changes of commit ecdcfe9c22 2023-12-11 09:04:45 +00:00
Schimon Jehudah
7c928fea25 Add option to limit archived entries 2023-12-08 11:32:01 +00:00
Schimon Jehudah
e734c57bc2 Fixed new compliance mechanism. Thank you for the report, roughnecks. 2023-12-05 09:07:45 +00:00
Schimon Jehudah
ba97c33695 Disable activation token and mastership mechanism 2023-12-05 08:18:29 +00:00
Schimon Jehudah
ecdcfe9c22 Fox issue with callback (adding URL) and an attempt to import specific parts of modules 2023-12-04 14:41:02 +00:00
Schimon Jehudah
75ccfbe521 Various of modifications 2023-12-01 13:22:03 +00:00
Schimon Jehudah
88e1468bd6 Format title - add feed title to entry title 2023-11-29 18:53:24 +00:00
Schimon Jehudah
6e7c57d745 Add option to ignore old news items 2023-11-29 15:32:35 +00:00
Schimon Jehudah
634b0e3ce6 Add MUC support including bookmarks and improve filtering 2023-11-27 17:22:56 +00:00
Schimon Jehudah
071bf78e1d Add support for groupchat and activation feature 2023-11-26 15:23:52 +00:00
Schimon Jehudah
31baf96430 Add preview commands (read and select) and experimenting with XEP-0249 2023-11-26 05:48:09 +00:00
Schimon Jehudah
efa05aaba1 Fix tasks. Listen carefully to Laura. 2023-11-23 16:55:36 +00:00
Schimon Jehudah
f82550d24c Add feeds, mionr improvements and notes 2023-11-22 11:47:34 +00:00
Schimon Jehudah
bbc25d25b9 Delete main.py 2023-11-15 14:02:39 +00:00
Schimon Jehudah
cb2317b35a Fix archiving. WARNING of complexity due to UNION of SQL 2023-11-15 14:00:49 +00:00
Schimon Jehudah
031eb6ce53 Update 8 files
- /slixfeed/sqlitehandler.py
- /slixfeed/xmpphandler.py
- /slixfeed/opmlhandler.py
- /slixfeed/datahandler.py
- /slixfeed/datetimehandler.py
- /slixfeed/__main__.py
- /slixfeed/confighandler.py
- /slixfeed/filterhandler.py
2023-11-13 13:45:10 +00:00
Schimon Jehudah
9d6a211d36 Delete feedhandler.py 2023-11-02 12:16:13 +00:00
Schimon Jehudah
01803de1a9 Delete settings.py 2023-11-02 12:15:49 +00:00
Schimon Jehudah
2d5485350e Merge branch 'master' into 'WIP'
# Conflicts:
#   slixfeed/datahandler.py
#   slixfeed/xmpphandler.py
2023-11-02 12:14:30 +00:00
Schimon Jehudah
af93a3781c Remove some print command and correct commented NOTE 2023-11-02 12:05:43 +00:00
Schimon Jehudah
d712eaea31 Store looping task inside a dictionary so that it would be cancellable by pointing at the dictionary 2023-11-02 11:20:00 +00:00
Schimon Jehudah
169878c3b7 Update xmpphandler.py 2023-11-02 05:18:26 +00:00
Schimon Jehudah
85d98609c5 Update sqlitehandler.py 2023-11-02 05:18:01 +00:00
Schimon Jehudah
1f3aa9459e Update confighandler.py 2023-11-02 05:17:30 +00:00
Schimon Jehudah
eb0bec12fd Update datahandler.py 2023-11-02 05:17:04 +00:00
Schimon Jehudah
6c5f17e11a Update file confighandler.py 2023-11-02 05:15:33 +00:00
Schimon Jehudah
8511239e2c Update 6 files
- /slixfeed/database.py
- /slixfeed/sqlitehandler.py
- /slixfeed/datahandler.py
- /slixfeed/confighandler.py
- /slixfeed/xmpphandler.py
- /slixfeed/__main__.py
2023-11-02 05:14:01 +00:00
Schimon Jehudah
cb3de7feba Split main.py into modules 2023-10-24 14:43:14 +00:00
Schimon Jehudah
e1069301fa Pass title string instead of a parsed feed 2023-10-12 11:13:46 +00:00
Schimon Jehudah
b1d1af5100 Use loop.call_at 2023-10-12 11:09:31 +00:00
Schimon Jehudah
ef5f38c031 Add Settings 2023-10-10 13:42:36 +00:00
Schimon Jehudah
7e5a15d57b - Add TaskGroups so all JIDs be served co-routinely
- Add Settings
2023-10-10 13:41:20 +00:00
Schimon Jehudah
b1f5a37978 Upload New File 2023-10-10 13:38:38 +00:00
Schimon Jehudah
aa8c35d728 Add statistics 2023-10-04 12:37:31 +00:00
Schimon Jehudah
cf44241698 Update 2 files
- /slixfeed/__main__.py
- /slixfeed/database.py
2023-09-29 11:49:24 +00:00
Schimon Jehudah
ec7abb5e90 Fix database lock error (Laura) 2023-07-16 15:23:44 +00:00
Schimon Jehudah
20fe8c23af Fix database lock error (Laura) 2023-07-16 15:23:10 +00:00
Schimon Jehudah
8889f11070 Add new directory 2023-07-16 15:22:20 +00:00