Commit Graph

61 Commits

Author SHA1 Message Date
hybris b7a5c66929 Merge remote-tracking branch 'github/master' 2021-12-29 16:19:22 +01:00
Sergey Matveev eaf030e5c8 Raise copyright years 2021-01-05 20:48:29 +03:00
Sergey Matveev 761dda2575 Properly stop room's processor 2020-12-04 13:29:22 +03:00
Sergey Matveev b7fb219307 Many fixes and additions
* NAMES and WALLOPS command
* -cloak option
* -v renamed to -verbose
* -passwords renamed to -passwd
* -debug option prints traffic messages
* without -verbose only startup/shutdown and error messages are printed
* -timestamped option provides timestamps in printed messages, as
  earlier. No timestamps is useful for running under daemontools
* passwords are stored in SHA256-hashed format
* state files replaced with state directory with files
* removed many unnecessary pointers and locks
* graceful shutdown with all clients notification
* fixed time structure printing in log files, instead of short human
  readable timestamp
* PART is sent to the user itself, to notify his client about leaving
* log messages are printed to stdout, instead of stderr, for
  friendliness with daemontools logger
* ability to configure newly created directories and files with
  -perm-state-dir, -perm-state-file, -perm-log-file
2020-11-07 16:52:53 +03:00
Sergey Matveev def58d0f49 Replace Makefile with redo, keep version in source code 2020-09-05 11:30:25 +03:00
Sergey Matveev 236377e360 Raise copyright years 2020-01-07 18:27:02 +03:00
Sergey Matveev 7a08129379 Raise copyright years 2019-09-27 11:35:02 +03:00
Sergey Matveev 964a1bf9db Forbid any later GNU GPL versions autousage 2019-09-27 11:32:53 +03:00
Sergey Matveev 57d3777421 Raise copyright years 2018-03-25 17:57:05 +03:00
Björn Busse de42ef98b6 Fix type of lusers 2018-03-08 17:11:58 +00:00
Björn Busse 9a4e42ba8b Add a prometheus exporter and some metrics 2018-03-08 02:40:26 +00:00
Gunnar Ruthenberg a9a5b17ce4 Fixes by Gunnar 2018-03-04 22:24:15 +00:00
Sergey Matveev 2d71da2234 Trim possible :-prefix sent by Pidgin in PASS command 2018-03-04 22:01:18 +00:00
Sergey Matveev 51766fc90d Various race preventing locks 2018-03-04 22:01:18 +00:00
Sergey Matveev 5ca748d928 Raise copyright years 2018-03-04 22:01:18 +00:00
Sergey Matveev 8fd97af456 Fix receive timestamp setting 2018-03-04 22:01:18 +00:00
Sergey Matveev 61e337b083 ISON command support 2018-03-04 22:01:18 +00:00
Sergey Matveev 5413b3ae52 Force lowercase nicknames 2018-03-04 22:01:18 +00:00
Sergey Matveev d5f10048e1 If no states are kept, then clear an empty rooms 2018-03-04 22:01:18 +00:00
Björn Busse 69b0c46170 Do not alter MOTD
It should be up to the author how exactly the MOTD is laid out - some
people like to have a margin, therefor remove the trim().
2018-03-04 22:01:18 +00:00
Björn Busse 398bedcca4 Do not trim leading colon from msg 2018-03-04 19:50:32 +00:00
Sergey Matveev ec62152429 Raise copyright years 2017-01-02 11:00:42 +03:00
Sergey Matveev 0a67394023 Fix unnecessary unlocking causing panics 2016-09-19 12:23:41 +03:00
Sergey Matveev a9e5e5cd2f Trim possible :-prefix sent by Pidgin in PASS command 2016-04-07 18:33:27 +03:00
Sergey Matveev bab2b1b9f6 Various race preventing locks 2016-03-26 17:10:04 +03:00
Sergey Matveev 491e6602aa Raise copyright years 2015-12-31 20:23:21 +03:00
Sergey Matveev a9659b7444 Fix receive timestamp setting 2015-12-10 11:27:14 +03:00
Sergey Matveev 7770e09e68 ISON command support 2015-11-14 18:54:34 +03:00
Sergey Matveev f93640a335 Force lowercase nicknames 2015-11-05 17:04:52 +03:00
Sergey Matveev a06713ebfd If no states are kept, then clear an empty rooms 2015-11-04 17:53:20 +03:00
Björn Busse 4f1a1012b2 Do not alter MOTD
It should be up to the author how exactly the MOTD is laid out - some
people like to have a margin, therefor remove the trim().
2015-10-19 11:31:47 +03:00
Sergey Matveev 158ab243b2 Fixed unkeyed room mode getting 2015-10-13 09:37:03 +03:00
Sergey Matveev e657ffd2ab Code refactoring
* Less memory allocations
* Daemon instance replaced with global variables
* Code simplification
* Asynchronously send messages to clients
2015-10-11 14:51:07 +03:00
Sergey Matveev 171c6d6df3 Increase maximum nickname length for convenience 2015-10-07 18:33:53 +03:00
Sergey Matveev 3564207ae9 Some client may send message parts with PART command 2015-10-07 17:13:21 +03:00
Sergey Matveev e9a315574b Less memory allocations 2015-10-06 11:31:11 +03:00
Sergey Matveev e0ffe8ac28 Fix client workability when sending message to unexistent recipient 2015-10-05 23:56:15 +03:00
Sergey Matveev 3016635f6a HasPrefix is not necessary before TrimPrefix 2015-09-28 11:38:32 +03:00
Björn Busse 5a17f44b24 Increase client compatibility - let Quassel IRC users join
Quassel prefixes the nickname in the NICK command with a colon.
This seems to be in accordance with rfc2812. Therefor check
if the first character of a nickname is a colon and remove it.
2015-09-28 06:22:17 +02:00
Sergey Matveev b678682010 Raise copyright year. Trivial changes 2015-05-09 18:27:06 +03:00
Sergey Matveev 8702ace766 Add AWAY command support 2014-11-14 23:26:32 +03:00
Sergey Matveev 990937d451 Remove signal processor for password reloading and use pointers to strings
Simplify code and server maintaining by removing password file caching
and refreshing it with HUP signal. Also use pointers to strings, already
presented after flag-module work.
2014-08-19 18:11:56 +04:00
Sergey Matveev f46c678ce0 Ability to show server's version 2014-08-14 17:31:49 +04:00
Sergey Matveev a939b027fd Ability to authenticate users by nickname↔password database 2014-08-14 17:31:49 +04:00
Sergey Matveev 5c79c4235e Remove goroutines that lead to possible races 2014-08-13 19:13:12 +04:00
Sergey Matveev cfeaaad88f Golinting 2014-08-09 16:42:19 +04:00
Sergey Matveev def74ddc09 Fix several races 2014-08-09 16:18:56 +04:00
Sergey Matveev 87ba38e7f7 Send "already existing nickname" error to unregistered client, instead of already existing one 2014-07-03 11:08:42 +04:00
Sergey Matveev 60bd9cec0b Do not prepend unnecessary ':' to person-to-person PRIVMSGs 2014-06-27 22:29:31 +04:00
Thomas Habets a154bd6120 Remove port from /whois output. 2014-06-09 16:03:11 +02:00