Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make: Fix build of util.struct on *BSD | Kim Alvefur | 2022-03-04 | 1 | -1/+2 |
| | |||||
* | net.stun: tests: Remove stray print() from debugging | Matthew Wild | 2022-03-04 | 1 | -3/+0 |
| | |||||
* | Merge config-updates+check-turn from timber | Matthew Wild | 2022-03-04 | 29 | -113/+1120 |
|\ | |||||
| * | net.stun: Add tests for serialization/deserialization | Matthew Wild | 2022-03-04 | 1 | -0/+100 |
| | | |||||
| * | net.stun: Use util.bitcompat to deal with bit module variances across Lua ↵ | Kim Alvefur | 2022-03-04 | 1 | -0/+1 |
| | | | | | | | | versions | ||||
| * | net.stun: Use util.strbitop | Kim Alvefur | 2022-03-04 | 1 | -11/+1 |
| | | | | | | | | Improves performance since the whole procedure is done in C | ||||
| * | util.bit53: Add left- and right shift operations | Kim Alvefur | 2021-06-28 | 1 | -0/+2 |
| | | | | | | | | | | While not used by anything in Prosody, it is known to be used by some 3rd party modules. | ||||
| * | util.prosodyctl: check turn: New command to verify STUN/TURN service is ↵ | Matthew Wild | 2022-03-04 | 1 | -2/+163 |
| | | | | | | | | operational | ||||
| * | net.stun: New library that implements STUN/TURN parsing/serialization | Matthew Wild | 2022-03-04 | 1 | -0/+292 |
| | | |||||
| * | util.hex: Deprecate to/from in favour of encode/decode, for consistency! | Matthew Wild | 2022-03-04 | 8 | -27/+31 |
| | | |||||
| * | util.struct: Import Roberto 'struct' library v0.3 | Matthew Wild | 2022-03-04 | 4 | -2/+431 |
| | | | | | | | | | | | | | | Downloaded from http://www.inf.puc-rio.br/~roberto/struct/ This is for compatibility with Lua 5.2 (and 5.1). Eventually we can replace this with string.pack/string.unpack which are available in 5.3+. | ||||
| * | COPYING: An overdue update. Also add some clarity about third-party code. | Matthew Wild | 2022-03-04 | 1 | -2/+22 |
| | | |||||
| * | prosody.cfg.lua.dist: Remove comment about mod_*.lua above modules_enabled | Matthew Wild | 2022-03-03 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | This is a very old statement, but people generally don't need to check for the files, and shouldn't be encouraged to put them in Prosody's source dir. The installer will be the way forward for most people, and hg for the rest. Manually moving files into the right place is not something most users should be doing. | ||||
| * | prosody.cfg.lua.dist: Fix plugin_paths description (thanks Zash) | Matthew Wild | 2022-03-03 | 1 | -2/+3 |
| | | |||||
| * | prosody.cfg.lua.dist: Add comments explaining the individual TURN options | Matthew Wild | 2022-03-02 | 1 | -0/+3 |
| | | |||||
| * | prosody.cfg.lua.dist: Improved descriptions for a number of modules | Matthew Wild | 2022-03-02 | 1 | -8/+8 |
| | | |||||
| * | prosody.cfg.lua.dist: Alphabetical ordering of modules within each section | Matthew Wild | 2022-03-02 | 1 | -19/+19 |
| | | |||||
| * | prosody.cfg.lua.dist: Improve mod_mam description to indicate its purpose | Matthew Wild | 2022-03-02 | 1 | -1/+1 |
| | | |||||
| * | prosody.cfg.lua.dist: Remove mod_admin_telnet | Matthew Wild | 2022-03-02 | 1 | -2/+1 |
| | | | | | | | | mod_admin_shell should preferably be used instead | ||||
| * | prosody.cfg.lua.dist: Reword plugin_paths to de-emphasize Prosody's source dir | Matthew Wild | 2022-03-02 | 1 | -3/+2 |
| | | | | | | | | | | The previous wording may contribute to people trying to install custom modules to Prosody's source directory instead of adding to plugin_paths. | ||||
| * | prosody.cfg.lua.dist: Remove network_backend option | Matthew Wild | 2022-03-02 | 1 | -4/+0 |
| | | | | | | | | | | | | The only sensible option for most people these days is "epoll". The option is still supported, but it should only be needed by packagers for specific platforms (e.g. BSD may choose libevent for kqueue) or other special cases. | ||||
| * | prosody.cfg.lua.dist: Remove example certificate, this should just work | Kim Alvefur | 2022-02-13 | 1 | -1/+0 |
| | | |||||
| * | net.server_epoll: Disable verbose mode by default | Kim Alvefur | 2022-02-12 | 1 | -2/+1 |
| | | |||||
| * | prosody.cfg.lua.dist: Remove allow_registration in favor of invites | Kim Alvefur | 2022-02-11 | 1 | -3/+0 |
| | | | | | | | | | | This settings should now only be used by public servers, which have their own documentation | ||||
| * | prosody.cfg.lua.dist: Comment improvements: s2s authentication | Matthew Wild | 2022-02-14 | 1 | -2/+2 |
| | | |||||
| * | prosody.cfg.lua.dist: Comment improvements: authentication | Matthew Wild | 2022-02-14 | 1 | -0/+5 |
| | | |||||
| * | prosody.cfg.lua.dist: Improve section-like layout via headers and spacing | Matthew Wild | 2022-02-14 | 1 | -0/+9 |
| | | |||||
| * | prosody.cfg.lua.dist: Comment improvements | Matthew Wild | 2022-02-14 | 1 | -2/+3 |
| | | |||||
| * | prosody.cfg.lua.dist: Update s2s_secure_auth comment and default | Matthew Wild | 2022-02-14 | 1 | -2/+3 |
| | | |||||
| * | prosody.cfg.lua.dist: TURN configuration improvements and example | Matthew Wild | 2022-02-14 | 1 | -1/+12 |
| | | |||||
| * | prosody.cfg.lua.dist: Enable csi_simple by default | Matthew Wild | 2022-02-14 | 1 | -1/+1 |
| | | | | | | | | | | It was added here in 2018, and at that time probably a bit too new to be enabled by default. Times change, and most people have this enabled now. | ||||
| * | usermanager, mod_saslauth: Default to internal_hashed if no auth module ↵ | Matthew Wild | 2022-02-10 | 3 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | specified The default config was updated in this way long ago, but if no option was present in the config, Prosody would load internal_plain. This change can result in changes (for the better) for people using very old configuration files lacking an 'authentication' setting. | ||||
| * | prosody.cfg.lua.dist: Remove require_encryption options | Matthew Wild | 2022-02-14 | 1 | -10/+0 |
| | | | | | | | | | | | | | | | | | | Reasons: - These now default to enabled when not specified since 38b5b05407be - Practically all servers require encryption these days for c2s/s2s. - Disabling encryption can be considered a special case that doesn't need to be in the default config file. | ||||
| * | core.certmanager: Turn soft dependency on LuaSec into a hard | Kim Alvefur | 2022-02-10 | 2 | -14/+4 |
| | | | | | | | | | | | | The default network backend server_epoll already requires LuaSec so Prosody won't even start without it, so we can get rid of these lines here too. | ||||
| * | various: Require encryption by default for real | Kim Alvefur | 2021-12-25 | 6 | -6/+7 |
| | | | | | | | | | | | | | | | | | | These options have been specified (and enabled) in the default config file for a long time. However if unspecified in the config, they were not enabled. Now they are. This may result in a change of behaviour for people using very old config files that lack the require_encryption options. But that's what we want. | ||||
| * | mod_invites_register: Default to require encryption | Matthew Wild | 2022-02-10 | 1 | -1/+1 |
| | | | | | | | | In line with the Prosody-wide default change for 0.12. | ||||
| * | mod_legacyauth: Default to require encryption | Matthew Wild | 2022-02-10 | 1 | -1/+1 |
| | | |||||
| * | prosody.cfg.lua.dist: Remove mod_http_files | Kim Alvefur | 2022-02-10 | 1 | -1/+0 |
| | | | | | | | | | | | | | | Serving web pages outside of specialized modules seems like a rare use case that doesn't warrant a spot in the default config file. Many users seem to have it confused with mod_http_upload, so removing it should help with that. | ||||
| * | prosody.cfg.lua.dist: Move Dialback down | Kim Alvefur | 2022-02-10 | 1 | -1/+1 |
| | | | | | | | | Mostly a source of security issues lately | ||||
| * | prosody.cfg.lua.dist: Remove https_certificate, this should Just Work now | Kim Alvefur | 2022-02-05 | 1 | -3/+0 |
| | | |||||
| * | prosody.cfg.lua.dist: Remove mention of deprecated daemonize option | Kim Alvefur | 2022-02-05 | 1 | -1/+1 |
| | | | | | | | | Just run ./prosody like me! | ||||
| * | prosody.cfg.lua.dist: Remove installer_plugin_path | Kim Alvefur | 2022-02-05 | 1 | -4/+0 |
| | | | | | | | | | | Most users shouldn't need to add this, and it works out of the box. Not important enough to justify having it in the default config. | ||||
| * | prosody.cfg.lua.dist: Add new modules | Kim Alvefur | 2022-02-10 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | mod_admin_shell enabled by default because it's awesome! mod_smacks and mod_bookmarks under recommended since they're recommended by the compliance suite XEP-0459 Invites under nice to have and enabled by default to enable a somewhat nice out of the box experience Other new modules mostly under Other mod_external_services left out since it's an advanced thing | ||||
| * | prosody.cfg.lua.dist: Add note about 'localhost' | Kim Alvefur | 2021-02-04 | 1 | -0/+3 |
| | | |||||
* | | prosodyctl: check dns: Allow admin to specify undiscoverable external IPs in ↵ | Matthew Wild | 2022-03-02 | 1 | -0/+5 |
| | | | | | | | | config | ||||
* | | prosodyctl: check dns: List discovered addresses for diagnostic purposes | Matthew Wild | 2022-03-02 | 1 | -0/+16 |
| | | | | | | | | | | | | It is very common to get the "unknown address" warning with this command, but people do not always understand it, or know how to debug it. Now we clearly show the addresses that prosodyctl discovered. | ||||
* | | util.prosodyctl: check: warn about unreferenced components, suggest disco_items | Matthew Wild | 2022-03-02 | 1 | -0/+35 |
| | | |||||
* | | util.prosodyctl: Warn about enabled public registration in 'check config' | Matthew Wild | 2022-03-02 | 1 | -0/+28 |
| | | |||||
* | | util.poll: Add support for the poll() API | Kim Alvefur | 2022-02-23 | 3 | -2/+133 |
| | | | | | | | | Might be better than select(), more portable than epoll. | ||||
* | | util.poll: Expose API (epoll or select) used | Kim Alvefur | 2022-02-27 | 2 | -6/+11 |
| | | | | | | | | Could he handy to know for debugging or decisions |