aboutsummaryrefslogtreecommitdiffstats
path: root/libathemecore/function.c
Commit message (Expand)AuthorAgeFilesLines
* libathemecore/function: parse_age - Implement time specifiers for years for a...Gravatar Ben C2018-02-171-1/+3
* libathemecore/function: Move build_criteriastr, which was duplicated in NS LI...Gravatar Ben C2018-02-171-0/+16
* libathemecore/function: Move parse_age, which was duplicated in NS LIST and C...Gravatar Ben C2018-02-171-1/+24
* BotServ/set_saycaller: Add SET SAYCALLER command. Import Atheme commits 0b16...Gravatar Ben C2017-10-111-1/+1
* Import Atheme commits 87f25f5 and 08012f1.Gravatar Ben C2017-10-071-75/+80
* Import Atheme commit 4d7df1cGravatar Ben C2017-08-261-2/+2
* libathemecore/function: Make random_string vastly more random.Gravatar Ben C2017-07-171-2/+3
* libathemecore/function: naturalareacode_encode should use 30, not 36.Gravatar Ben C2016-05-221-1/+1
* libathemecore/function.c: Add naturalareacode_{en|de}code functions.Gravatar Ben C2016-05-181-0/+24
* function.c: Add base36_{en|de}code functions.Gravatar Ben C2016-04-181-0/+23
* libathemecore/function.c/validtopic and libathemecore/string.c/strip_ctrl sho...Gravatar Ben C2016-03-281-0/+1
* libathemecore\function.c: Add check_not_enough_non_wildcard_chars function - ...Gravatar Ben C2016-03-281-0/+42
* Default ChanServ channel setting flags are now presented in OS INFO and just ...Gravatar Ben C2016-03-141-0/+31
* Default NickServ account flags are now presented in OS INFO and just after a ...Gravatar Ben C2016-03-141-1/+33
* From upstream - When sending email, use a nicer entity name if available. - m...Gravatar Ben C2014-10-191-2/+2
* Add UF_SERVICE user flag and some support in proto modulesGravatar Alex Iadicicco2014-08-061-0/+8
* libathemecore: is_founder(): remove overzealous assert (closes #343)Gravatar William Pitcock2014-08-021-1/+2
* Remove all trailing whitespaceGravatar Rylee Fowler2014-07-081-2/+2
* core: time_ago(): make output much shorter (1d 2h 3m 4s)Gravatar Mantas Mikulėnas2014-06-211-7/+6
* core: time_ago(): skip seconds for >1w durations•••Make the output shorter. Once it reaches months or even years, one-second precision isn't that useful anymore. Gravatar Mantas Mikulėnas2014-06-211-2/+2
* Fixed resource leak in libathemecore/function.cGravatar Parted Cloud2014-02-201-0/+4
* libathemecore, *serv: unify all three copies of create_challenge()•••Should've done this earlier, I guess. Gravatar Mantas Mikulėnas2013-10-091-0/+19
* libathemecore: Disallow ban masks starting with a colon more cleanly.•••Formerly, validhostmask() accepted things like :test!*@* which were then rejected by chanban_add() (because they break the protocol) but this did not provide a clear error message, and pretty_mask() changed things like :test to *!*@*. Gravatar Jilles Tjoelker2013-05-201-4/+5
* Changing -r to -f (standard for most MTAs)Gravatar ozzy23452012-11-141-1/+1
* Adding envelope sender addressGravatar ozzy23452012-11-101-1/+1
* email: Don't compare pointers to a string literal.Gravatar Jilles Tjoelker2012-10-281-2/+2
* email: Fix some -Wshadow warnings.Gravatar Jilles Tjoelker2012-10-281-2/+2
* libathemecore: replace &nicksvs& and friends in outbound e-mail.Gravatar William Pitcock2012-10-261-0/+9
* libathemecore: add combine_path() functionGravatar William Pitcock2012-10-191-0/+14
* libathemecore: fix compile error caused by git going mentalGravatar William Pitcock2012-10-141-1/+1
* libathemecore: strip bad data from e-mail templatesGravatar William Pitcock2012-10-141-0/+2
* libathemecore: replace &sourceinfo&.Gravatar William Pitcock2012-10-141-1/+3
* Merge branch 'stricter-email-checking' of git://github.com/marienz/athemeGravatar William Pitcock2012-10-081-15/+52
|\
| * Make email_canonicalizer_t take a mutable buffer (again).Gravatar Marien Zwart2012-10-051-15/+6
| * Fix canonicalize_emails prototype.Gravatar Marien Zwart2012-10-051-1/+1
| * Rework email_canonicalize to not abuse the hook system.Gravatar Marien Zwart2012-10-031-14/+60
* | libathemecore: use MOWGLI_OS_WIN instead of _WIN32 check (this allows buildin...Gravatar William Pitcock2012-10-051-3/+3
|/
* Merge branch 'stricter-email-checking' of git://github.com/marienz/athemeGravatar William Pitcock2012-10-021-0/+80
|\
| * Brown-paper-bag fix for previous commit: use strshare_get, not strshare_ref.Gravatar Marien Zwart2012-09-301-1/+1
| * Make canonicalize_email return a shared string.•••All current callers (and probably most future callers) immediately strshare the result (not just for memory efficiency, but also so they can do a direct pointer-comparison to other canonical email addresses), and according to nenolod there is no good reason to avoid strshare even for callers that do not need it. Gravatar Marien Zwart2012-09-301-11/+11
| * Use the canonical email address when checking for registration limits.Gravatar Marien Zwart2012-09-291-4/+13
| * Store "canonical" email addresses, generated through a hook.•••They are not actually used for anything just yet. Gravatar Marien Zwart2012-09-291-0/+40
| * Tidy up email_within_limits following review comments from nenolod.•••Use an inline loop instead of a callback and rename some variables. Gravatar Marien Zwart2012-09-291-24/+18
| * Move email registration limit checking to libathemecore, call from set_email.Gravatar Marien Zwart2012-09-251-0/+37
* | escape backslashes in email To: fields; they're special according to rfc2921Gravatar Stephen Bennett2012-10-011-0/+2
|/
* email: Restore the network name in the subject field.Gravatar Jilles Tjoelker2012-09-191-0/+1
* libathemecore: quote 'from' and 'to' addresses. (closes #32)Gravatar William Pitcock2012-09-191-2/+2
* libathemecore: refactor sendemail() functionGravatar William Pitcock2012-09-191-79/+27
* libathemecore: allow customization of the from address for e-mails originatin...Gravatar William Pitcock2012-09-101-2/+3
* libathemecore: validemail() minimum limit should be 4 characters to allow for...Gravatar William Pitcock2012-07-081-2/+2