Commit graph

161 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. 286900af63 Rename module command.py to adhoc.py. 2024-06-11 05:34:18 +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. 0a26ac163b Do not disqualify subscriptions due to being not-well-formed 2024-06-10 21:20:04 +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, Adv. f8bdfca972 Segregate XMPP (Jabber) client and component; each to its respective module. 2024-05-31 14:58:49 +03:00
Schimon Jehudah, Adv. 41b6193b78 Remove support for MUC-PM 2024-05-30 19:42:26 +03:00
Schimon Jehudah cb91d16268 Fix error upon invitation to join a groupchat (Thank you roughnecks). 2024-05-24 09:18:07 +00: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 2bab3e2deb Improve restriction handling. 2024-05-13 15:32:41 +00:00
Schimon Jehudah 095980de47 Improve access restriction (Thank you mirux) 2024-05-13 13:08:57 +00:00
Schimon Jehudah d6cd09d746 Further examination of restricting Ad-Hoc Publish 2024-05-13 08:02:24 +00:00
Schimon Jehudah 3597777bcc Restrict Ad-Hoc Publish to moderators (Thank you mirux). 2024-05-13 07:54:09 +00:00
Schimon Jehudah 0c4efbb650 Fix JID handling for MUC in form Advanced. 2024-05-13 07:35:06 +00:00
Schimon Jehudah e4237f972f Fix handling of PubSub of own Jabber ID 2024-05-13 07:28:12 +00:00
Schimon Jehudah 57e0425c13 Add error handling upon failure to to join to a groupchat (Thanks f_ from postmarketOS) 2024-05-12 16:25:21 +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 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 e0bc0bddf7 Add more operator option, also for export/import.
Fix var transfer from one form to another.
Improve handling with in-chat command arguments.
2024-03-28 17:21:45 +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 5f946fe0b6 Fix error upon attempt to get JID from values['jid'] (Thank you roughnecks). 2024-03-26 19:32:24 +00:00
Schimon Jehudah df7cc6ed2b Fix export (Thank you roughnecks).
Load commands first at session start (New PubSub related code might block or postpone commands from being loaded).
2024-03-26 17:49:16 +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 35beab7802 Add PubSub functionality. 2024-03-24 08:14:20 +00:00
Schimon Jehudah aed43f34dd Add a handler to handle pending tasks. 2024-03-18 18:49:52 +00:00
Schimon Jehudah b81ff04c0d Forms: Remove Cheogram boolean in favour of "Next".
Forms: Set title inside instructions field.
ePUB: Use new keyword argument absolute_location from xml2epub.
2024-03-15 14:55:22 +00:00
Schimon Jehudah 85311edcf2 Fix error when checking for status moderator (Thank you roughnecks).
Enhance Publish UI.
2024-03-13 20:58:38 +00:00
Schimon Jehudah 3c89b84908 (Hopefully) Fix fetching of new subscriptions. 2024-03-13 15:44:20 +00:00
Schimon Jehudah 1b2167f207 Output message instead of status code only. 2024-03-13 14:35:57 +00:00
Schimon Jehudah 6d75d02822 Fix async/await (Thank you roughnecks) 2024-03-13 13:28:32 +00:00
Schimon Jehudah b0fff01c22 Fix adding of a bookmark 2024-03-13 13:25:49 +00:00
Schimon Jehudah 8e76ae4506 Fix saving of bookmarks via bookmark manager.
Fix default settings file.
2024-03-13 11:57:53 +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 ba61250f84 Add new command: options 2024-03-09 23:31:06 +00:00
Schimon Jehudah e553166954 Improve About form.
Improve handling of setting change.
2024-03-09 19:03:18 +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 da48b429d3 Add missing parameters and rename some instances of jid to jid_bare 2024-03-07 16:28:53 +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 9969f8ded1 Add Config class as instance. See comment above class Config inside module config. 2024-03-06 12:52:07 +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