Commit graph

  • 0e529f75f8
    Windows: attempt build tests [skip ci] Bram Matthys 2019-08-25 18:02:38 +0200
  • ebaac5a6b8
    Get rid of various never used config options and also port the U4 fix for Windows where it says "Too many connections" way too quickly. (Sorry for mixing both in 1 commit..) Bram Matthys 2019-08-25 17:48:32 +0200
  • 38b55fb3c5
    Not ready for release yet, but bump git version to alpha2 already now that the Windows build is working (5.0.0-alpha1 had no Windows build). Bram Matthys 2019-08-25 14:38:02 +0200
  • 6ead10f42d
    Windows: build with /WX (equivalent to -Werror) and turn on /analyze again. Not sure how long I can bear that last one though as now compilation takes about 15 minutes rather than a few. Bram Matthys 2019-08-25 13:34:41 +0200
  • 8484511296
    Make Windows build compile without warnings with /W3 Disable these warnings, though: C4267: downgrade of size_t to int and such. pointless... C4101: unreferenced local variable C4018: signed/unsigned mismatch C4244: implicit conversions with "possible loss of data". there are 75+ of them and they are likely all harmless and/or intentional (usually plain obvious too) C4996: fixme! warnings about deprecated functions, currently only for GetVersion.. Bram Matthys 2019-08-25 13:00:31 +0200
  • 6f884a6f60
    Windows build: cannot pass by reference directly. Solves: warning C4133: 'function': incompatible types - from 'long *' to 'const time_t *const ' Bram Matthys 2019-08-25 10:36:17 +0200
  • c7a057cab1
    Fix for previous commit (windows makefile etc..). Bram Matthys 2019-08-25 10:22:54 +0200
  • 33dc939a6d
    Windows build: remove more warnings. Update Makefile.windows. Bram Matthys 2019-08-25 10:04:57 +0200
  • dea31523e3
    Add some (redundant) information regarding the last ./Config question. [skip ci] Bram Matthys 2019-08-24 20:02:47 +0200
  • d357ef8957
    More config.h cleanups. Lower kill chase time limit from 90 to 30 which seems more reasonable to me. Bram Matthys 2019-08-24 19:57:40 +0200
  • 153e38be10
    Get rid of "max sendq" ./Config question, which actually was only setting the default class::sendq that pretty much everyone overrides in class (isn't this even required? ;D). Rename to DEFAULT_SENDQ since we have DEFAULT_RECVQ too. Bram Matthys 2019-08-24 19:50:39 +0200
  • d19b4e70ad
    Remove old and broken option SHOW_INVISIBLE_LUSERS Bram Matthys 2019-08-24 19:45:26 +0200
  • d06715d9ee
    REMOTEINC_SPECIALCACHE is no longer optional Bram Matthys 2019-08-24 19:41:14 +0200
  • 9e02ca2b3c
    More FORMAT_STRING() checking, get rid of old (non-)USE_VARARGS stuff. Fix some more bugs (type differences) when compiling in DEBUGMODE. Bram Matthys 2019-08-24 19:37:25 +0200
  • a3b5f29626
    Mass change of time_t in printf-like functions to %lld with an explicit cast to (long long). On *NIX we could get away with lazily assuming time_t is of the same length as long (and use %ld), even though the specification says nothing about it. Unfortunately on Windows things are not that simple: 'time_t' is 'long long' (64 bits) and both 'int' and 'long' are 32 bits, even when compiling in 64 bit mode. Bram Matthys 2019-08-24 18:33:52 +0200
  • 85b3b91b19
    Windows build: Add format string verification during build. (Will be used to hunt and fix those time_t integer type mismatches) Bram Matthys 2019-08-24 17:10:44 +0200
  • 1f99b282b0
    Similarly, get rid of DISABLE_STACKED_EXTBANS ./Config question since that define no longer exists... Bram Matthys 2019-08-23 20:39:27 +0200
  • 444c4f4381
    Get rid of some old/rarely used ./Config shit Bram Matthys 2019-08-23 20:37:27 +0200
  • a6eac922ea
    Remove unused function create_snomask() Bram Matthys 2019-08-23 20:28:48 +0200
  • ccf80d16f2
    SnomaskAdd(): remove 3rd argument (unset_on_deoper), as all snomasks are IRCOp-only now, they will always be removed on deoper. Bram Matthys 2019-08-23 20:23:54 +0200
  • e889a07849
    Updates to ircvsnprintf(): add %lld and remove special handling of %lu. And some re-indenting when we're at it... Bram Matthys 2019-08-23 08:41:47 +0200
  • 9a562dea24
    Windows: Move the uninstaller to bin\uninstaller Windows: Use generic docs URL for documentation Bram Matthys 2019-08-22 20:15:46 +0200
  • d6faa00ae8
    Use generic includes Bram Matthys 2019-08-22 19:15:16 +0200
  • 02a4bbc348
    Get rid of this stupid 'TS' type, just use 'time_t'. Bram Matthys 2019-08-22 18:39:28 +0200
  • e65f96a9e0
    Windows build: 'clean' should really cleanup.. [skip ci] Bram Matthys 2019-08-22 18:07:36 +0200
  • 8c70769bef
    Windows: Use W7 API (or later) so we have inet_pton/inet_ntop. Bram Matthys 2019-08-22 18:01:59 +0200
  • 8007a83020
    Get rid of include/inet.h and use system headers properly. Bram Matthys 2019-08-22 17:48:39 +0200
  • a1920d7733
    Windows installer: require Windows 7 or newer (bye XP/Vista) [skip ci] Bram Matthys 2019-08-22 17:34:10 +0200
  • 1c52557c92
    Update makecert.bat for Windows with new paths [skip ci] Bram Matthys 2019-08-22 17:10:09 +0200
  • 02d3364373
    More Windows fixes... Bram Matthys 2019-08-22 16:43:05 +0200
  • d8f080de67
    Drop support for systems without snprintf() and vsnprintf() Those are in POSIX.1-2001. Even Windows has them nowadays... "Our" implementation doesn't even work properly under Win64. Bram Matthys 2019-08-22 16:41:39 +0200
  • f5168b6323
    Buildbot: U5: curl-ssl -> curl (always SSL/TLS after all...) Bram Matthys 2019-08-22 15:39:48 +0200
  • b8c6e2e88b
    Updates for BuildBot on Windows: 32 to 64 bit transition, visual studio 2019 and some directory name updates as we now put all the shit in c:\dev\unrealircd-5-libs, or c:\projects\unrealircd-5-libs in case of buildbot.. Bram Matthys 2019-08-22 15:32:03 +0200
  • 87b8d27648
    Windows: move *.exe and libraries to bin\ directory, move LICENSE.txt and Donation.txt to doc\ Bram Matthys 2019-08-22 15:08:16 +0200
  • bcceea9065
    Windows: build fixes and it is now a 64 bit application. See https://bugs.unrealircd.org/view.php?id=5320 Expect several more major fixes/changes to follow... Bram Matthys 2019-08-22 14:42:16 +0200
  • b87b4dd61a
    Windows: Fix path in makecert.bat Bram Matthys 2019-08-22 14:37:49 +0200
  • 5e0ed6d626
    UnrealIRCd 5.0.0-alpha1 Bram Matthys 2019-08-20 19:39:04 +0200
  • 71935d6d48
    Use +f in +f examples (duh) [skip ci] Bram Matthys 2019-08-19 16:41:11 +0200
  • 142289c2de
    Let's just call it a database rather than persistent storage file. Also, fix a small memory leak if the database was corrupted. Bram Matthys 2019-08-19 16:38:57 +0200
  • 86f7d8c5cc
    Document new 'r' (repeat) flood type and 'd' (drop) action in release notes. [skip ci] Bram Matthys 2019-08-19 16:28:12 +0200
  • 5a8d231c6d
    Floodprot changes (floodprot.c): 1) Clean up check_for_chan_flood() 2) Make the new repeat action kick by default (instead of forcing 'b' if no action is specified) 3) Also make repeat work with timed bans Bram Matthys 2019-08-19 16:12:51 +0200
  • dd5d93ae77
    Mostly cleanups / unimportant stuff. Bram Matthys 2019-08-19 15:27:03 +0200
  • 7cda4eab53
    Fix memory leaks in the new tkldb and channeldb modules. Bram Matthys 2019-08-19 15:26:15 +0200
  • cbea57fefe
    Fix read after free in module API code when unloading channel mode, client capability, history backend or message tag for good. Bram Matthys 2019-08-19 15:25:12 +0200
  • 6f87314bbf
    Funny mistake :D Bram Matthys 2019-08-19 10:10:47 +0200
  • e72845bddf
    link::options::tls was not working (an alias for link::options::ssl) Bram Matthys 2019-08-18 19:25:42 +0200
  • fc0c06621b
    AppArmor: use a more generic rule for data/ now that we have all these databases, and who knows what else the user has (think: 3rd party modules). Bram Matthys 2019-08-18 18:42:33 +0200
  • d8e121fbc5
    Another test commit for buildbot. Bram Matthys 2019-08-18 16:51:34 +0200
  • fac5036d5f
    Test commit Bram Matthys 2019-08-18 16:40:38 +0200
  • c27e7fa0dd
    Some small README updates. Bram Matthys 2019-08-18 11:19:18 +0200
  • b312a88b0a
    Update test framework location Bram Matthys 2019-08-18 11:18:52 +0200
  • fdabc7e5ad
    Fix memory leak on server sync. Bram Matthys 2019-08-18 09:40:31 +0200
  • 33fcc5b550
    Enough updates on labeled-response and echo-message for today. Note that the labeled-response implementation currently requires 'batch' and will always start a BATCH if there is any response. Later on we can implement a simple queue so we don't have to start a batch for 1-line responses (which works, but looks a bit silly if you look at raw server traffic). That may be after alpha1, though, as there are more (important) things to work on right now. Bram Matthys 2019-08-18 09:24:43 +0200
  • 4ccb290dac
    Fix two TODO's. Bram Matthys 2019-08-18 08:27:43 +0200
  • bdcee3fcfa
    Send BATCH even if client is lacking message-tags CAP. Bram Matthys 2019-08-18 08:27:07 +0200
  • 1a305b0b45
    Remove this old code in hunt_server() or we end up sending message tags twice. (This code was there before sendto_one() got it's extra MessageTag * parameter) Bram Matthys 2019-08-18 08:06:08 +0200
  • d9694a4644
    Fix for history module if 'batch' is negotiated but 'server-time' is not. Previously this would result in receiving an empty BATCH (with no history content, that is), which is confusing. Bram Matthys 2019-08-18 07:25:26 +0200
  • 448ee87ed4
    More and more and more [skip ci] Bram Matthys 2019-08-17 15:45:37 +0200
  • 5bc91a02f9
    Some minor text changes in release notes. [skip ci] Bram Matthys 2019-08-17 15:44:49 +0200
  • 52aed93707
    Add preliminary release notes for UnrealIRCd 5 Bram Matthys 2019-08-17 15:41:03 +0200
  • e1822997b8
    Make 'webredir' module work if 'websocket' module is loaded, which is quite likely even. Bram Matthys 2019-08-17 13:00:33 +0200
  • 15254470a7
    Do some minimal checks on the provided set::webredir::url [skip ci] Bram Matthys 2019-08-17 13:00:09 +0200
  • 9fbd7f33fc
    The set::webredir block should be commented out by default. [skip ci] Bram Matthys 2019-08-17 12:48:30 +0200
  • c941c529c3
    Load 'reputation' and 'connthrottle' by default. Add to example.conf. Bram Matthys 2019-08-17 12:46:43 +0200
  • 143d747e66
    Rename 'cmdrestrict' to 'restrict-commands'. Load the module by default so you can use set::restrict-commands without having to loadmodule. Restrict the LIST and INVITE commands in the example.conf, which is often a good idea. Finally, document the configuration/usage at: https://www.unrealircd.org/docs/Set_block#set::restrict-commands Bram Matthys 2019-08-17 12:34:14 +0200
  • 6c02c896d9
    add +H to HELPOP CHMODES Bram Matthys 2019-08-17 12:06:05 +0200
  • 8ae9e85a9a
    Channel history: set default playback on join lines to 15. Bram Matthys 2019-08-17 12:05:23 +0200
  • 5f99586982
    And another fix for 0d2d4d5bca. Bram Matthys 2019-08-17 09:36:29 +0200
  • f10ec9aebc
    Fix for previous commit (0d2d4d5bca) Bram Matthys 2019-08-17 09:31:58 +0200
  • 0d2d4d5bca
    Rename match() and _match() to match_simple() -AND- invert the return value of match_simple() and match_esc(). So, developers, be aware, this is how you should use the function in a correct way: if (match_simple("*fun*", str)) printf("It was fun\n"); Bram Matthys 2019-08-17 09:20:49 +0200
  • e1fcc3a667
    Rename match() and _match() both to match_simple() and get rid of the "bahamut optimized version". Stage 1 of 2. Bram Matthys 2019-08-17 09:07:22 +0200
  • c01c9248f5
    Revert e428c77c47 (only to try again later) Bram Matthys 2019-08-17 09:05:09 +0200
  • e428c77c47
    match() -> match_nuh() and _match -> match_simple() Bram Matthys 2019-08-17 08:49:43 +0200
  • 870f10b8a5
    Extban ~T:block:something is now auto-converted to ~T:block:*something* since this is pretty much always what you want. Otherwise it's just too confusing that things don't match. Bram Matthys 2019-08-17 08:36:59 +0200
  • 29a3994d24
    Fix some logic in add_listmode_ex(). Probably not terribly important but theoretically one could have seen a "ban list full" error message multiple times in rare cases. Bram Matthys 2019-08-16 20:15:42 +0200
  • 0f7a172c30
    Rename who to who_old, since whox is now loaded by default and loading who_old should only be done if you want the classic old WHO. Bram Matthys 2019-08-16 18:14:30 +0200
  • ccb534c3e9
    res.{c,h} -> dns.{c,h} and moddata.c -> api-moddata.c Bram Matthys 2019-08-16 18:09:25 +0200
  • dfcd465103
    Rename some api-*.c files to be more descriptive. Bram Matthys 2019-08-16 18:00:26 +0200
  • fffd459bf9
    src/extbans.c -> src/api-extbans.c, and the same for extcmodes and umodes. I suppose what is and what is not an API can be considered a bit arbitrary but for us it is the stuff we expose via the module api. We now have: api-clicap api-command api-event api-extbans api-extcmodes api-history-backend api-isupport api-mtag api-umodes Bram Matthys 2019-08-16 17:52:49 +0200
  • fd37f050b8
    Rename src/events.c to src/api-event.c for consistency. Bram Matthys 2019-08-16 17:47:07 +0200
  • 4e0f1f5ffa
    Re-indent events.c and remove ancient event system locking routines. Bram Matthys 2019-08-16 17:45:35 +0200
  • 41051cf3c7
    Remove some unused variables [skip ci] Bram Matthys 2019-08-16 17:37:36 +0200
  • a408b61f32
    For some unknown reason del_ListItem() iterated the entire list. Weird. Bram Matthys 2019-08-16 17:36:15 +0200
  • 08b4844050
    Update credits for UnrealIRCd 5. Bram Matthys 2019-08-16 15:18:58 +0200
  • 3a454e3eb3
    free_mtags() -> free_message_tags() Bram Matthys 2019-08-16 14:54:28 +0200
  • 887cf24fd7
    Add channeldb module (loaded by default): this saves all channel settings such as name, creationtime, modes, topic, bans/exempts/invex to a database and restores it on-boot. It only does this for +P (persistent) channels. Bram Matthys 2019-08-16 14:42:25 +0200
  • d8f839ed44
    floodprot (source code): use proper variable names. Not sure why I didn't do this back in 2003... ah well, that was 16 years ago, I forgive myself :D Bram Matthys 2019-08-15 18:56:08 +0200
  • 7193600a08
    Force buildbot.. Bram Matthys 2019-08-15 12:09:21 +0200
  • e22000ed48
    Buildbot test... Bram Matthys 2019-08-15 12:02:11 +0200
  • d91f21a687
    Update more old references to U4.. Bram Matthys 2019-08-15 11:55:18 +0200
  • 9e1556a6f7
    Dumdeedum Bram Matthys 2019-08-15 11:44:20 +0200
  • 6dc7aac372
    Update some unrealircd-4 references to unrealircd-5. .. or actually I just want to test buildbot :D Bram Matthys 2019-08-15 11:26:20 +0200
  • 16f3b797e4
    Use different OpenSSL functions that are more of a hassle but also exist in older versions such as 1.0.1. Bram Matthys 2019-08-15 09:02:42 +0200
  • ced8b0935d
    Check for and refuse to run with <2048 bits RSA keys. I hope nobody is using 1024 bit RSA keys in 2019, but always better to check and inform the admin about such a big mistake. Bram Matthys 2019-08-15 08:52:28 +0200
  • f58fff47d4
    Small text change [skip ci] Bram Matthys 2019-08-14 09:28:14 +0200
  • 2127a36f61
    Remove ~R extban as it is redundant now that we have ~a. All services should have account names by now. Bram Matthys 2019-08-13 21:08:22 +0200
  • a32e285d63
    Document ~f extban in helpop. [skip ci] Bram Matthys 2019-08-13 21:01:49 +0200
  • e5b40f13df
    Change the new extban from ~L to ~f:#forward:*!*@*. ... this just to annoy Gottem. Bram Matthys 2019-08-13 20:56:38 +0200
  • 4d74ca9d9a
    Take out labeled-response until it is unbroken (as in: don't load by default for now). Not a high priority item at the moment. Bram Matthys 2019-08-13 18:49:18 +0200
  • 4f4a867b58
    Update prototype of HOOKTYPE_CHANMSG to include sendflags, prefix and target. I needed the target for echo-message, and also in the history module we no longer save to the history any @#channel messages, since otherwise they could be played back to people we shouldn't see them ;) Bram Matthys 2019-08-13 18:45:38 +0200