Shivaram Lingamneni
7772b55cab
fix #2099
Add optional support for rfc1459 and rfc1459-strict casemappings
před 2 měsíci
Shivaram Lingamneni
32f7868bfd
implement draft/read-marker capability
před 2 roky
Shivaram Lingamneni
b83479247e
add # to disfavoredNameCharacters
Partially fixes #1679 , not sure whether to police the relaymsg config or not
před 2 roky
Shivaram Lingamneni
7944871eb6
migrate additional dependencies to ergochat
před 3 roky
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
před 3 roky
Shivaram Lingamneni
8abbc1072b
additionally disallow ; in nicknames
před 3 roky
Shivaram Lingamneni
15a0cda78b
pointless refactor of stripMaskFromNick
před 3 roky
Shivaram Lingamneni
48d5bd9144
fix #1436
před 3 roky
Shivaram Lingamneni
af2b433195
validate normalized masks as IRC params
před 3 roky
Shivaram Lingamneni
4b2a094921
fix #1327
před 3 roky
Shivaram Lingamneni
be138e4d71
make comment consistent with review fix
před 4 roky
Shivaram Lingamneni
21e604860f
add an explanatory comment
před 4 roky
Shivaram Lingamneni
a4f9e08a85
fix #1151
před 4 roky
Daniel Oaks
4ecd7fdf43
Allow configuring relay
před 4 roky
Shivaram Lingamneni
26fd3e69a8
fix #749
před 4 roky
Shivaram Lingamneni
4391b1ba5a
restrict ASCII mode to printable characters only
před 4 roky
Shivaram Lingamneni
781bb6b051
more systematic bad-character check in permissive mode
před 4 roky
Shivaram Lingamneni
2d4dbeba1c
disallow some bad characters in foldPermissive
před 4 roky
Shivaram Lingamneni
f9b5224ae0
have realSkeleton use cases.Fold as well
před 4 roky
Shivaram Lingamneni
91d6888b7e
fix #693
před 4 roky
Shivaram Lingamneni
baa71ba2be
remove unnecessary special-casing for ASCII
před 4 roky
Shivaram Lingamneni
332f0d8d91
fix #644
před 4 roky
Shivaram Lingamneni
938ce7e435
fix #331
před 5 roky
Shivaram Lingamneni
24c46235a3
remove m -> rn skeleton mapping again
před 5 roky
Shivaram Lingamneni
b075ea6eb9
use regular Skeleton instead of SkeletonTweaked
dan: "I probably wouldn't expect those mappings to cause much
trouble at all for legitimate users at the end of the day"
shivaram: [concurs]
před 5 roky
Shivaram Lingamneni
6e9a31a574
use confusables.SkeletonTweaked to fix the test
před 5 roky
Shivaram Lingamneni
be4d098945
fix an edge case in skeletonization
'm' skeletonizes to 'rn' (but is exempted by the isBoring check),
but the fullwidth 'm' does not skeletonize to anything. The root cause
of this is the (still unexplained) patchiness of the skeleton mapping
for fullwidth -> standard-width Latin characters; the fix is to perform
width mapping first, before either skeletonization or isBoring.
před 5 roky
Daniel Oaks
8cd5db1194
Restrict idents as other servers do
před 5 roky
Shivaram Lingamneni
c34d9e0b72
more lenient casefolding for skeletons
před 5 roky
Shivaram Lingamneni
18c0c9da45
use our fork of mtibben/confusables for now
před 5 roky
Shivaram Lingamneni
b9b2553a2f
use the TR39 skeleton algorithm to prevent confusables (#178)
před 5 roky
Shivaram Lingamneni
40e63dbbe8
fix #306
Fix spurious bidi rule violations in casefolding channel names
by stripping the # before starting the casefolding.
před 5 roky
Daniel Oaks
2419f69879
Move all errors into errors.go
před 6 roky
Daniel Oaks
197ab520bf
Change casemapping name and advertisement to match new spec
před 6 roky
Daniel Oaks
ac91a3e484
strings: Follow latest advice on PRECIS regarding string stabilizing
před 7 roky
Euan Kemp
449ef4cea1
strings: disallow ':' in nicks
This matches the behavior of inspircd at the very least.
Previously, the comment above that section claimed ':' should be
disallowed, but the code didn't do so.
I also simplified the code a little bit and added tests.
před 7 roky
Daniel Oaks
317a804644
Fix dates at top of source files
před 7 roky
Daniel Oaks
ea0121aeff
strings: Prevent crash
před 7 roky
Daniel Oaks
2b240faa90
strings: Fix nick bugs, use UsernameCaseMapped
před 7 roky
Daniel Oaks
c7fdb4656e
strings: Use inbuilt precis.Nickname encoding now
před 7 roky
Daniel Oaks
9ccd6037a6
strings: Make Nickname profile not actually case-sensitive
před 7 roky
Daniel Oaks
5e72409695
Move from ascii(ish) unicode encoding to prelim rfc7700 using functions instead
před 7 roky
Daniel Oaks
bc42960552
strings: Remove CTCP stuff, unused
před 8 roky
Daniel Oaks
5a8e7709b2
strings: Disallow more broken nicknames
před 8 roky
Daniel Oaks
1b67af7e85
strings: Also explicitly disallow . in nicknames
před 8 roky
Daniel Oaks
9d853d5be7
strings: Don't allow nicks to start with dashes or 0-9
před 8 roky
Daniel Oaks
a5911ad14c
server: Add configurable NICKLEN and CHANNELLEN
před 8 roky
Daniel Oaks
2f08401a0f
Attempt to add mostly-correct license info at the top of each file... track this stuff a bit better
před 8 roky
Daniel Oaks
fd6ed36995
strings: Restrict *? explicitly as they are used for mask matching
před 8 roky
Daniel Oaks
77bf7173ff
Require that server names must be hostnames, and nicks cannot be hostnames
před 8 roky