Commit graph

62 commits

Author SHA1 Message Date
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
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
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
b06e1bc693 Add functionality to download articles 2024-01-09 15:53:19 +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