Thu, 29 Jul 2021 14:10:56 +0200 migrator: Use parsed command line flags already parsed by util.startup
Kim Alvefur <zash@zash.se> [Thu, 29 Jul 2021 14:10:56 +0200] rev 11734
migrator: Use parsed command line flags already parsed by util.startup
Thu, 29 Jul 2021 14:06:14 +0200 migrator: Trick net.server into thinking the config is loaded
Kim Alvefur <zash@zash.se> [Thu, 29 Jul 2021 14:06:14 +0200] rev 11733
migrator: Trick net.server into thinking the config is loaded Fixes "Loading outside Prosody or Prosody not yet initialized"
Thu, 29 Jul 2021 13:47:26 +0200 migrator: Customise startup sequence to fix #1673 (Thanks acidsys)
Kim Alvefur <zash@zash.se> [Thu, 29 Jul 2021 13:47:26 +0200] rev 11732
migrator: Customise startup sequence to fix #1673 (Thanks acidsys) Diverge from util.startup.prosodyctl() in order to skip unneeded behavior, such as loading the *Prosody* config file, which we do not need here, based on the `--config` flag which should point at the migrator config file instead. Notably removed: * read_config() since this loads the Prosody config * check_unwriteable() which checks logfiles specified in the Prosody config, so not relevant * make_dummy_hosts() but the migrator sets up its own hosts during migration
Tue, 27 Jul 2021 00:13:18 +0200 Fix various spelling errors (thanks codespell)
Kim Alvefur <zash@zash.se> [Tue, 27 Jul 2021 00:13:18 +0200] rev 11731
Fix various spelling errors (thanks codespell) Also special thanks to timeless, for wordlessly reminding me to check for typos.
Sun, 25 Jul 2021 18:58:25 +0200 mod_pubsub: Update configuration on reload (fixes #1382)
Kim Alvefur <zash@zash.se> [Sun, 25 Jul 2021 18:58:25 +0200] rev 11730
mod_pubsub: Update configuration on reload (fixes #1382) Because of the way the previous pubsub service is carried access module reloads, it would retain the configuration options with their previous values from when the service was first created.
Sun, 25 Jul 2021 16:33:19 +0200 mod_pubsub: Silence warning about 'service' as argument [luacheck]
Kim Alvefur <zash@zash.se> [Sun, 25 Jul 2021 16:33:19 +0200] rev 11729
mod_pubsub: Silence warning about 'service' as argument [luacheck] Maybe the 'service' in the outer scope should be moved down to minimize overlap with other functions that receive the same service as argument?
Sun, 25 Jul 2021 16:31:15 +0200 mod_pep: Remove now unused util.cache import
Kim Alvefur <zash@zash.se> [Sun, 25 Jul 2021 16:31:15 +0200] rev 11728
mod_pep: Remove now unused util.cache import
Thu, 22 Jul 2021 19:53:21 +0200 util.pubsub: Signal that 'persistent-items' is unsupported when disabled
Kim Alvefur <zash@zash.se> [Thu, 22 Jul 2021 19:53:21 +0200] rev 11727
util.pubsub: Signal that 'persistent-items' is unsupported when disabled XEP-0060 says that this the way to indicate that 'persistent-items' is unsupported, but doesn't explicitly say if it being disabled in the node configuration also counts as unsupported.
Wed, 21 Jul 2021 23:02:25 +0200 mod_pep: Remove use of RLU cache when persist_items was set to false
Kim Alvefur <zash@zash.se> [Wed, 21 Jul 2021 23:02:25 +0200] rev 11726
mod_pep: Remove use of RLU cache when persist_items was set to false This behavior came from some confusion over the meaning of persist_items. The correct behavior is that items are only stored when it is set to true. When set to false, the service becomes a "pure" publish-subscribe service, where items are forgotten immediately after broadcasting.
Thu, 22 Jul 2021 21:01:11 +0200 util.pubsub: Fix behavior of persist_items disabled
Kim Alvefur <zash@zash.se> [Thu, 22 Jul 2021 21:01:11 +0200] rev 11725
util.pubsub: Fix behavior of persist_items disabled When set to 'false' there is no need for a persistence interface at all, since items are not persisted after being broadcast. Had started wondering if maybe the behavior was wrong, after reading parts of XEP-0060 that pointed in that direction. Some discussion of this can be found in logs of xmpp:xsf@muc.xmpp.org?join from around 2021-07-20 Thanks to Ralph for confirming.
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip