Commit graph

50 commits

Author SHA1 Message Date
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
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
e2ad10592d Fix command recent 2024-01-02 13:19:27 +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
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
61bd792572 Add slixfeed.py for command line and split xmpp into modules. 2023-12-28 14:50:23 +00:00
Renamed from slixfeed/sqlitehandler.py (Browse further)