Commit Graph

4916 Commits

Author SHA1 Message Date
Shivaram Lingamneni ed75533cb1 optionally protect against multiple starts with flock (#1873)
* optionally protect against multiple starts with flock

Fixes #1823

* use traditional .lock extension

* move config key to top level
2022-01-01 18:56:40 -05:00
Shivaram Lingamneni e112a78b9b Merge branch 'issue1883' 2021-12-30 13:07:52 -05:00
Shivaram Lingamneni a57bf46e6a small refactor 2021-12-30 12:59:14 -05:00
William Rehwinkel b929691470 Fix #1883 Nickserv gives error when user attempt to change password to * 2021-12-30 12:15:30 -05:00
Shivaram Lingamneni 24ad24562e update help entry for CHATHISTORY 2021-12-29 12:45:29 -05:00
Shivaram Lingamneni 000eb760e6 Merge pull request #1880 from progval/patch-3
README: Add link tothe LDAP plugin
2021-12-26 17:21:54 -05:00
Val Lorentz d84d6756ed README: Add link tothe LDAP plugin 2021-12-26 23:08:12 +01:00
Shivaram Lingamneni f5598cfc1c bump irctest 2021-12-23 15:53:54 -05:00
Shivaram Lingamneni 8b74cd1fd3 Merge pull request #1877 from slingamn/issue1876_invite_ban
fix #1876
2021-12-19 20:58:51 -05:00
Shivaram Lingamneni e15c355f18 fix #1876
INVITE did not exempt from +b unless the channel was coincidentally also +i.
This was a regression introduced in v2.4.0.
2021-12-19 18:30:18 -05:00
Shivaram Lingamneni 5b3ec9a605 Merge pull request #1872 from slingamn/capbug.1
correctly account for nickname in CAP LS arithmetic
2021-12-16 02:18:48 -05:00
Shivaram Lingamneni 76f7748c8a correctly account for nickname in CAP LS arithmetic
The arithmetic was assuming that the nickname is * (which it is
pre-registration). However, we were sending the actual nickname
post-registration. It would be simpler to always send *, but it
appears that the nickname is actually required by the spec:

>Replies from the server must [sic] contain the client identifier name or
>asterisk if one is not yet available.
2021-12-16 01:59:36 -05:00
Shivaram Lingamneni c5746c5105 Merge pull request #1871 from slingamn/invite_mask_unregistered_join
+I should allow unregistered users to join a +R channel
2021-12-16 00:41:24 -05:00
Shivaram Lingamneni ec4fb90d2b +I should allow unregistered users to join a +R channel
See #1858: this was the intent all along, but I missed this issue.
2021-12-15 22:52:11 -05:00
Shivaram Lingamneni aa4a82e0c8 Merge pull request #1869 from slingamn/atheme.1
fix the atheme side of #1864
2021-12-13 03:11:27 -05:00
Shivaram Lingamneni 8fc20d8eed fix the atheme side of #1864
Import stored certfps from Atheme as well.
2021-12-13 02:14:04 -05:00
Shivaram Lingamneni 98e87f6cc0 explicitly close the DB during importdb
There is no change in behavior since committing the transaction
already write(2)'s all the data to disk. But let's comply with
the official buntdb API.
2021-12-12 22:27:05 -05:00
Shivaram Lingamneni 9293858ba1 bump database version generated by importer
This should have been done in 8b2f6de3e0, since we updated both
the database schema and the importer then.
2021-12-12 22:09:42 -05:00
cranberry 15f5f2e9b0 anope2json certfp support (#1867)
* Advanced certfp support

Signed-off-by: Georg <georg@lysergic.dev>

* Moving certfp logic

Signed-off-by: Georg <georg@lysergic.dev>

* Cleaning up certfp logic

Signed-off-by: Georg <georg@lysergic.dev>
2021-12-12 20:18:41 -05:00
Shivaram Lingamneni 0483e3f6ad Merge pull request #1866 from slingamn/whox
send `*` for WHOX o (oplevel) instead of `0`
2021-12-12 03:16:03 -05:00
Shivaram Lingamneni f3f805acb8 send * for WHOX o (oplevel) instead of 0
Jobe points out that 0 is a valid oplevel in some contexts,
* is a better placeholder for "unimplemented".
2021-12-12 03:05:56 -05:00
Shivaram Lingamneni 1cd31f4d61 bump irctest 2021-12-10 01:21:40 -05:00
Shivaram Lingamneni 7bc5bfaa5c Merge pull request #1863 from slingamn/importer_utf8
anope2json, atheme2json: handle non-UTF8 data
2021-12-10 01:20:35 -05:00
Shivaram Lingamneni 4f7356f19a anope2json, atheme2json: handle non-UTF8 data
Also ignore an unrecognized field type in anope
2021-12-09 22:11:24 -05:00
Shivaram Lingamneni 0d0d9e72b4 Merge pull request #1861 from slingamn/issue1860_amode
fix #1860
2021-12-09 04:18:14 -05:00
Shivaram Lingamneni ac17bf0e9d Merge pull request #1857 from slingamn/dollarsign
disallow initial $ in nicknames
2021-12-09 04:17:57 -05:00
Shivaram Lingamneni e5dff58647 Merge pull request #1859 from slingamn/issue1858_registeredmode
fix #1858
2021-12-09 04:16:31 -05:00
Shivaram Lingamneni 9d9ee11224 fix #1860
CS AMODE changes should take immediate effect even if the nick
does not match the account.
2021-12-08 23:47:33 -05:00
Shivaram Lingamneni 3fe8d01d50 update manual for #1858 2021-12-07 01:41:11 -05:00
Shivaram Lingamneni 8be8f0f08d fix #1858
The channel mode +R used to both prevent joins by unregistered users,
and prevent unregistered users who happened to be joined from speaking.
This changes the behavior so that +R only prevents joins:

1. This allows users who were invited or SAJOIN'ed to speak
2. To restore the old semantics, chanops can set +RM
2021-12-07 01:31:07 -05:00
Shivaram Lingamneni f40d868cf5 disallow initial $ in nicknames
It collides with the massmessage mask syntax. Reported by @emersion
2021-12-06 14:17:45 -05:00
Shivaram Lingamneni 3e32e3f19e Merge pull request #1851 from slingamn/default_noctcp
make +C (no CTCP) a default channel mode
2021-12-06 12:01:24 -05:00
Shivaram Lingamneni 4d6e0120b2 plug gamja in the userguide 2021-12-06 03:25:55 -05:00
erin 5c7f8faf0c Build arm64 container images (#1855)
* Build container image on aarch64 platform

* Revert test code & correct typo

Co-authored-by: erin <erin@localhost>
2021-12-04 22:14:21 -05:00
Shivaram Lingamneni 039d8f3f2d Merge pull request #1854 from erincerys/update-docker-repo-location
Update docker repo location
2021-12-03 15:14:42 -05:00
erin b8e38819d8 Update oragono references to ergo
- Environment variable prefix
- DNSBL repo URI
- Project and repo names in link to Docker-specific instructions
- Docker container and volume names in docker run command
2021-12-03 12:07:05 -08:00
erin fba41a26df Update docker repo location in docs and docker-compose.yml 2021-12-03 11:10:52 -08:00
Shivaram Lingamneni 1951e09eea Merge pull request #1853 from slingamn/note
change FAIL AUTHENTICATE VERIFICATION_REQUIRED to be a NOTE
2021-12-03 02:31:54 -05:00
Shivaram Lingamneni cb757c703d change FAIL AUTHENTICATE VERIFICATION_REQUIRED to be a NOTE
See discussion on #1852
2021-12-01 12:16:03 -05:00
Shivaram Lingamneni 72959eb1cf Merge pull request #1852 from slingamn/fail_authenticate
add FAIL AUTHENTICATE VERIFICATION_REQUIRED
2021-11-30 20:35:33 -05:00
Shivaram Lingamneni 8ec9053448 Merge pull request #1849 from slingamn/bugs.2
fix some papercuts
2021-11-30 20:34:33 -05:00
Shivaram Lingamneni 7d66368274 add FAIL AUTHENTICATE VERIFICATION_REQUIRED
From discussion with @emersion, this will help with UX if people try to
log into their unverified accounts.
2021-11-30 15:27:25 -05:00
Shivaram Lingamneni 028f2fcaa4 make +C (no CTCP) a default channel mode 2021-11-30 13:48:34 -05:00
Shivaram Lingamneni 645721f97e fix missing parenthesis in UBAN INFO 2021-11-30 03:40:03 -05:00
Shivaram Lingamneni 8995dd8842 update DEVELOPING.md 2021-11-30 03:35:07 -05:00
Shivaram Lingamneni fd45529d94 fix #1842
Warn about banning a single IPv6 address
2021-11-30 03:27:40 -05:00
Shivaram Lingamneni eef9753912 reorder imports 2021-11-30 03:18:01 -05:00
Shivaram Lingamneni 9ff4047fa6 fix #1840
Account registrations pending verification should produce a logline and
send a sno.
2021-11-30 03:18:01 -05:00
Shivaram Lingamneni ee720f60e2 fix #1826
CS PURGE should send a snomask
2021-11-30 03:18:01 -05:00
Shivaram Lingamneni c51569420a fix #1844
Send snomasks for HS SET
2021-11-30 03:18:01 -05:00