Commit graph

71 commits

Author SHA1 Message Date
Schimon Jehudah, Adv.
15e6a1de66 Fix command reset (Thank you to lorenzo, Mari0 and roughnecks). 2024-06-14 19:24:38 +03:00
Schimon Jehudah, Adv.
382b5a52be Disable redundant print directives. 2024-06-14 12:52:29 +03:00
Schimon Jehudah, Adv.
fb4ca2c852 Improve batch processing of invalid items. 2024-06-14 12:38:44 +03:00
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.
def8b5f120 Modularize code. Move OPML related functions to a new module opml.py. 2024-06-11 05:21:07 +03:00
Schimon Jehudah, Adv.
245cd9832a [WIP] Add an IPC interface of type Unix domain socket (Berkeley sockets). Thank you Laura and TheCoffeMaker. 2024-06-10 18:54:27 +03:00
Schimon Jehudah, Adv.
5a2a2f9e3f Fix automatic update; Fix command search. 2024-06-02 11:23:26 +03:00
Schimon Jehudah
7f0c4f4274 Remove HTML support;
Improve handling of errors.
2024-05-20 14:23:58 +00:00
Schimon Jehudah
4ac8e0836d Fix PubSub;
Improve permission handling;
Catch more errors.
2024-05-14 19:39:58 +00: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
e4237f972f Fix handling of PubSub of own Jabber ID 2024-05-13 07:28:12 +00:00
Schimon Jehudah
34da47bcd2 Fix error handling and correct variable for function check_entry_exist (Thank you mirux) 2024-05-12 11:05:49 +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
b69953eb7f Fix sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 0 supplied. (Thank you roughnecks) 2024-04-06 21:29:03 +00:00
Schimon Jehudah
8e45ebc071 Fix function "mark all feed as read" (Thank you roughnecks) 2024-04-06 20:03:23 +00:00
Schimon Jehudah
71403cda6b Fix media (i.e. enclosure) support (Thank you roughnecks). 2024-04-06 19:59:30 +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
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
7c197c2343 Fix malfunction when setting value of key "old" to zero (Thank you roughnecks). 2024-03-13 12:09:48 +00:00
Schimon Jehudah
077042dd43 Raise exception upon missing value 2024-03-13 07:59:15 +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
f489e1f672 Reset setting or settings upon command default key or command defaults.
Fix issue of extra placeholder (Thank you mirux).
2024-03-07 20:20:10 +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
6dd1089c37 Measure function elapsed time period and display a warning for a period of over a second. 2024-03-04 10:16:49 +00:00
Schimon Jehudah
f25cb70181 Add logging 2024-03-03 14:13:01 +00:00
Schimon Jehudah
270551b8ee Message:
* Remove HTML tags from titles.
Fetch:
* Handle all exceptions.
SQLite:
* Add more functions to handle new ad-hoc commands.
Ad-Hoc:
* Move all commands into a single module called command.
* Remove commands from client and component.
Documentation:
* Comment commands that are not available.
2024-02-29 17:08:53 +00:00
Schimon Jehudah
b5e5a179f4 Add option to set message formatting.
Restore summary.
2024-02-26 01:17:50 +00:00
Schimon Jehudah
5135186717 Add support for tags 2024-02-25 19:21:10 +00:00
Schimon Jehudah
afeaa8707b Add more permissions to ad-hoc commands from MUC (see Prosody mod_muc_adhoc_bots)
Handle more errors.
Add ad-hoc command Profile.
Support Python 3.10 (tomli).
Add table for scraping HTML (WIP).
Minor fixes.
2024-02-25 01:52:24 +00:00
Schimon Jehudah
6e2a7305c2 Fix keys by setting lower case.
Consolidate commands into options.
Various of fixes and improvements.
2024-02-22 14:09:13 +00:00
Schimon Jehudah
32d765b482 Fix fetching items upon setting "old".
Add form Browse
Add form Discover and Search (experimental)
Add form Remove
2024-02-19 20:50:53 +00:00
Schimon Jehudah
85f1ba18f0 Add functionality to set feed name (i.e. command rename).
Improve forms.
2024-02-19 00:26:10 +00:00
Schimon Jehudah
bb44cd925c Fix error upon attempt to edit filter via form while another form is not set 2024-02-16 12:33:07 +00:00
Schimon Jehudah
10762a69e4 Fix check for filters and settings keys 2024-02-16 12:12:06 +00:00
Schimon Jehudah
288e5157fa Fix submission of filters 2024-02-16 02:59:01 +00:00
Schimon Jehudah
dba7eefb96 Add About, Bookmarks and Manual forms 2024-02-14 03:04:49 +00:00
Schimon Jehudah
d3af15d623 Fix commands info and help to ignore case.
Fix command read to handle lack of URL.
Add bookmark properties.
Add new experimental forms.
Thank you mirux.
2024-02-13 19:34:37 +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
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
c7fa2496a8 Fix many issues amidst change of table structure 2024-02-04 17:08:12 +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
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
18c93083b7 Apply patch from grym 2024-01-18 20:57:49 +00:00
Schimon Jehudah
80e49a8d38 Fix archiving functionality 2024-01-14 21:43:23 +00:00