Commit graph

80 commits

Author SHA1 Message Date
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
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
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
56f85fdf26 Add command version.
Invite to groupchat upon command support.
2024-02-23 14:54:54 +00:00
Schimon Jehudah
7d45a3249a Add ability to set number of immediate sent updates 2024-02-23 14:25:56 +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
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
7b98d32d7f Fix keywords extracted from sqlite.
Improve modiles fetch and crawl.
Add form featured feeds.
Add form roster manager.
Add form subscibers manager.
WIP
2024-02-17 23:21:44 +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
4e193a2b02 Add for Add Subscription.
Segregating more code as one task per function, particularly adding of new subscription.
Fix allow/deny keys.
2024-02-16 01:46:04 +00:00
Schimon Jehudah
e8d5f082d0 Add export/import forms.
Improve Subscriptions form (non functional yet).
2024-02-15 00:16:51 +00:00
Schimon Jehudah
c8cd5e1b09 Improve groupchat functions to handle with erroneous cases 2024-02-14 17:09:54 +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
e0864cc84e Accept only numerical value for key interval 2024-02-12 09:53:49 +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
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
422e0669f1 Add ad-hoc commands 2024-02-06 03:04:43 +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
dc85f73de5 Replace YAML by TOML 2024-01-28 11:17:31 +00:00
Schimon Jehudah
6883eb6615 Improve listing of commands 2024-01-27 19:21:45 +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
8dcff0b2fe Fix configuration 2024-01-24 18:59:10 +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
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
13d87e2be7 Set directory cache 2024-01-22 15:27:01 +00:00
Schimon Jehudah
0d7f67d721 Fix handling of document error 2024-01-22 15:01:52 +00:00
Schimon Jehudah
4c64870d8f Fix handling of document error 2024-01-22 13:29:14 +00:00