Commit Graph

1402 Commits

Author SHA1 Message Date
Daniel Oaks 9f25a42c3d
Merge pull request #340 from slingamn/skeletonfolding.2
more lenient casefolding for skeletons
2019-02-03 18:34:12 +10:00
Shivaram Lingamneni c34d9e0b72 more lenient casefolding for skeletons 2019-02-03 02:45:02 -05:00
Daniel Oaks e7399ba2b5
Merge pull request #339 from slingamn/startuplog
rename the "startup", "rehash", and "shutdown" log types to "server"
2019-02-03 12:37:24 +10:00
Daniel Oaks 1f33ad290c
Merge pull request #334 from slingamn/confusables.4
implement confusables prevention (#178)
2019-02-03 12:33:44 +10:00
Shivaram Lingamneni 7f9445324d exit 1 if startup fails 2019-02-02 21:15:41 -05:00
Shivaram Lingamneni cbe0f79f73 unify "startup", "rehash", and "shutdown" log categories as "server" 2019-02-02 21:13:01 -05:00
Daniel Oaks c55bc1c37d
Merge pull request #338 from slingamn/capnak
correctly support disabling caps with CAP REQ, fixes #337
2019-02-03 12:01:38 +10:00
Shivaram Lingamneni f48af3ee44 correctly support disabling caps with CAP REQ, fixes #337 2019-02-02 20:22:07 -05:00
Daniel Oaks 6667585605 trimspace on piped passwords 2019-02-03 08:08:12 +10:00
Daniel Oaks 6f2b610736 Allow piping into genpasswd for docker 2019-02-03 07:21:46 +10:00
Daniel Oaks becbf409da Remove deprecated line from goreleaser config 2019-02-03 05:50:23 +10:00
Shivaram Lingamneni 35948d2e5b refactor some conditions for clarity 2019-01-31 17:34:06 -05:00
Daniel Oaks ea24eadb05
Merge pull request #335 from csmith/default-config-listen-ports
Comment out 6668 bindings in default config
2019-01-31 21:54:13 +13:00
Chris Smith 5ede1e6d5a Comment out 6668 bindings in default config
These are just used as examples, and prevent Oragono from starting
up if the host doesn't have an IPv6 stack (e.g. inside docker
containers).

See oragono/oragono-docker#5
2019-01-31 08:43:48 +00:00
Daniel Oaks 3f2fc13563
Merge pull request #330 from csmith/readme-docker
Add docker info to README
2019-01-31 20:35:56 +13:00
Shivaram Lingamneni bea3889a1f bump vendor to include oragono/confusables 2019-01-30 22:02:14 -05:00
Shivaram Lingamneni 18c0c9da45 use our fork of mtibben/confusables for now 2019-01-30 22:02:14 -05:00
Shivaram Lingamneni b9b2553a2f use the TR39 skeleton algorithm to prevent confusables (#178) 2019-01-30 21:48:53 -05:00
Chris Smith d2c1705931
Marker docker section as BETA
(Here be dragons)
2019-01-29 23:36:32 +00:00
Shivaram Lingamneni a11486d699
Merge pull request #332 from slingamn/rtlnickmasks
fix spurious bidi violations when casefolding the nickmask of an RTL nick
2019-01-29 17:46:32 -05:00
Shivaram Lingamneni 8438afcc5c fix: usernames from ident don't get a ~ 2019-01-28 23:35:00 -05:00
Shivaram Lingamneni 4bbba5b478 fix the issue for AllNickmasks as well 2019-01-28 23:12:25 -05:00
Shivaram Lingamneni a2a9788f39 fix spurious bidi violations when casefolding the nickmask of an RTL nick 2019-01-28 18:15:35 -05:00
Chris Smith 63c2167220
Add docker info to README
Mention that the Dockerfile etc are in a different repository
2019-01-27 23:28:19 +00:00
Shivaram Lingamneni 14ce8d850e
Merge pull request #329 from slingamn/dkline_refactor.4
refactor [dk]lines
2019-01-27 03:10:51 -05:00
Shivaram Lingamneni 96737ea6d7 fix a memory leak
Even after the timer fired, we were retaining a pointer to it;
clean those up too along with the other cleanup tasks.
2019-01-23 02:06:00 -05:00
Shivaram Lingamneni 854d85a474 add schema change for [dk]line refactor 2019-01-22 17:18:38 -05:00
Shivaram Lingamneni 6bdc6af186 refactor [dk]lines, implement #144 2019-01-22 17:18:38 -05:00
Shivaram Lingamneni f154ea9583 add an error message for schema changes 2019-01-22 01:25:32 -05:00
Daniel Oaks 85276c5e6d Merge branch 'master' of github.com:oragono/oragono 2019-01-12 22:18:08 +10:00
Daniel Oaks 63fde2d62a Re-enable MaxLine 2019-01-12 22:17:51 +10:00
Daniel Oaks 16981f2abb
Merge pull request #327 from slingamn/misc3
two service bug fixes
2019-01-10 12:05:50 +10:00
Shivaram Lingamneni 0475fe882c fix ns register validation bug 2019-01-09 15:03:44 -05:00
Shivaram Lingamneni d6494957a4 forbid logging in twice via nickserv 2019-01-05 20:59:42 -05:00
Shivaram Lingamneni 3db6c9472b
Merge pull request #325 from slingamn/services.1
services refactor
2019-01-05 18:30:26 -05:00
Shivaram Lingamneni 598d9a025b review fix: add maxParams for service commands 2019-01-04 11:45:59 -05:00
Shivaram Lingamneni 4caa362f18 fix histserv nick reservation 2019-01-04 10:32:08 -05:00
Shivaram Lingamneni a52d167278 additional defensive check in EnforcementStatus 2019-01-03 23:44:01 -05:00
Shivaram Lingamneni efc0ce3b81 fix an edge case in configurable nickname reservation 2019-01-03 23:05:47 -05:00
Shivaram Lingamneni b80df0885f refactor services code 2019-01-03 22:34:11 -05:00
Daniel Oaks ea970f94a0
Merge pull request #323 from slingamn/initdb.1
fix #322
2019-01-03 09:18:19 +10:00
Daniel Oaks 0e22f8d6a5
Merge pull request #324 from slingamn/misc_again.5
some more changes
2019-01-03 09:16:44 +10:00
Shivaram Lingamneni 501bb1e5c5 replay JOIN/PART/QUIT/KICK as PRIVMSG from HistServ
see https://github.com/ircv3/ircv3-specifications/issues/293
2019-01-02 17:58:04 -05:00
Shivaram Lingamneni f20abf414f don't log an error logline for an incorrect SASL password 2019-01-02 10:29:42 -05:00
Shivaram Lingamneni 2ee89b15b3 per-user settings for nickname enforcement 2019-01-02 10:15:59 -05:00
Shivaram Lingamneni d0ded906d4 fix a fairly bad bug where nicks could get out of sync
during nick change, removeInternal(client) was being called even before checking
whether the new nick was in use or reserved. Reproduction steps:

1. Log in a client 'alice'
2. Log in a client 'bob'
3. bob issues /nick alice, which fails (correctly) with:
:oragono.test 433 bob alice :Nickname is already in use
4. alice issues /msg bob hi, which fails (incorrectly) with:
:oragono.test 401 alice bob :No such nick
2019-01-02 10:15:59 -05:00
Shivaram Lingamneni 9a2117f75d preregNick doesn't need synchronization
(since it's only accessed from the client's own goroutine)
2019-01-02 10:15:59 -05:00
Shivaram Lingamneni f94f737b31 add support for login throttling 2019-01-02 10:15:59 -05:00
Shivaram Lingamneni 3cd3601a30 refactor join/part 2019-01-02 09:55:45 -05:00
Shivaram Lingamneni 960d51159c add ClientDetails struct for getting a snapshot of client state 2019-01-02 09:55:45 -05:00