Commit graph

52 commits

Author SHA1 Message Date
Schimon Jehudah, Adv. 64727d207f Restructure code;
Add more classes and modules;
Restore database maintenance;
Remove JSON support;
Remove Beautiful Soup.
2024-06-13 18:53:53 +03:00
Schimon Jehudah, Adv. 5a2a2f9e3f Fix automatic update; Fix command search. 2024-06-02 11:23:26 +03:00
Schimon Jehudah, Adv. 78a83ff121 Remove unnecessary code related to MUC-PM 2024-05-30 19:50:58 +03:00
Schimon Jehudah ad78295f27 Do not fetch past messages upon joining to an MUC and consequently draw back these past messages over and over (Thank you roughnecks) 2024-05-13 16:22:14 +00:00
Schimon Jehudah 8bbad28894 Create function "get_properties_of_feed";
Do not attempt to scan URL for items upon command "add";
Minor improvements;
Add more URLs to file feeds.toml.
2024-05-12 09:55:23 +00:00
Schimon Jehudah 87dc369b35 Fix update which halted upon attempt to insert data of feed due to attempt to insert a dict object instead of a string feed.image.href. 2024-04-14 17:24:16 +00:00
Schimon Jehudah bcbbf1ab04 Add functionality for handling with PubSub nodes;
Add functionality to submit items from database to PubSub nodes;
Change the fashion by which items are sent;
Fix minor issues.
2024-04-14 12:56:45 +00:00
Schimon Jehudah b6ca4aaa46 Fixed adding of URLs via chat (Thank you roughnecks) 2024-04-05 15:59:24 +00:00
Schimon Jehudah 60756dbdd2 Ad-Hoc: Add more operator options;
Ad-Hoc: Add menus (list-single) for selection from a fixed list of bookmarks ans contacts;
Database: Identifier (node name) includes hyphens instead of dots.
Database: SQLite database now stores more items.
Bookmarks: Improve code;
MUC: Improve code;
SQLite: Manjor code changes to adapt to new table;
URL: Fix redirection (hostname switcher).
2024-04-05 15:25:04 +00:00
Schimon Jehudah d6eec41a86 Add commands for PubSub.
Improve joining to MUC (WIP).
Improve PubSub (WIP).
2024-03-27 16:20:32 +00:00
Schimon Jehudah 5507b16161 Improve PubSub support (WIP).
Improve MUC handling.
Add command "send" to add feeds to other JIDs.
Ad-Hoc: Add functionality to specify JId to commit actions on upon.
Add subscription preview upon adding a subscription.
Add project Jabber RSS Transport to bots list.
Add projects Psi and Psi+ to clients list.
2024-03-26 16:23:22 +00:00
Schimon Jehudah b1a1955545 Replace configuration file INI by TOML.
Fix ping functionality when activated as component (thank you Guus and MattJ).
Add initial code for XEP-0060: Publish-Subscribe.
Fix case-sensitivity with setting keys sent in-chat-command (Thank you mirux)
2024-03-12 17:13:01 +00:00
Schimon Jehudah 8d9b060314 Add missing functions for ad-hoc command Browse.
Set 50 seconds delay between each URL.
2024-03-08 14:21:22 +00:00
Schimon Jehudah ae89521d9b Reduce amount of Python keywords async and await 2024-03-08 09:14:36 +00:00
Schimon Jehudah 05168afa14 Reload settings on runtime.
Fix several issues.
2024-03-07 19:06:31 +00:00
Schimon Jehudah 5d1cb85a36 Manage settings from a dict as a handler.
Make the inclusive/main  filter optional.
2024-03-07 14:52:51 +00:00
Schimon Jehudah aa5f45cddc Settings: Manage several class instance objects. 2024-03-07 06:56:11 +00:00
Schimon Jehudah 9bb37bc932 Add functionality to download article via ad-hoc.
Add helper for URL.
2024-02-23 02:55:31 +00:00
Schimon Jehudah 89ef18d5d7 Fix Ad-hoc form of Settings 2024-02-12 19:01:28 +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 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 00a8ed180a Fix presence and subscription handling.
Segregate and atomize into classes.
2024-02-07 00:26:42 +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 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 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 0d7f67d721 Fix handling of document error 2024-01-22 15:01:52 +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 18c93083b7 Apply patch from grym 2024-01-18 20:57:49 +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 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 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 a3d68f6a8f Add functionality to export feeds to OPML 2024-01-03 10:37:33 +00:00
Schimon Jehudah de200b3b03 Split more functions into smaller functions 2024-01-02 18:11:36 +00:00
Schimon Jehudah beb5c4c976 Fix interval status message 2024-01-02 12:06:35 +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 395c2373ae Fix error ModuleNotFoundError. Thank you roughnecks for the second time this evening! 2023-12-28 18:16:33 +00:00