-
Notifications
You must be signed in to change notification settings - Fork 11
/
ChangeLog
1500 lines (1130 loc) · 53.6 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// $Id: ChangeLog,v 1.173 2010/04/10 18:56:06 danielaustin Exp $ //
2010-04-10 Dan-m00 <[email protected]>
* mod.cservice/ADDUSERCommand.cc:
* mod.cservice/MODINFOCommand.cc:
* mod.cservice/REMUSERCommand.cc:
* mod.cservice/SUSPENDCommand.cc:
* mod.cservice/UNSUSPENDCommand.cc:
* mod.cservice/levels.h: specify admin levels for dealing with the
"*" channel. Levels are listed in levels.h - this is not
the best way of dealing with it, but will do for now.
Modified based on patch supplied by LordLuke
2010-04-10 Dan-m00 <[email protected]>
* mod.cservice/MODINFOCommand.cc: add extra checks so that forced
access users dont cause issues in cservice module.
Based on a patch supplied by LordLuke - thanks.
2009-09-22 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc: add some extra checks to lag detection
code. Don't check lag for JUPEd servers either.
2009-07-25 Hidden
Modified Files:
* Makefile.am
* bin/server_command_map.in
* doc/ccontrol.help.sql
* doc/ccontrol.sql
* doc/ccontrol.update.sql
* libircu/Makefile.am
* libircu/Makefile.in
* libircu/msg_G.cc
* mod.ccontrol/ADDCOMMANDCommand.cc
* mod.ccontrol/CHECKNETCommand.cc
* mod.ccontrol/Constants.h
* mod.ccontrol/LOGINCommand.cc
* mod.ccontrol/MODUSERCommand.cc
* mod.ccontrol/NEWPASSCommand.cc
* mod.ccontrol/USERINFOCommand.cc
* mod.ccontrol/ccServer.cc
* mod.ccontrol/ccServer.h
* mod.ccontrol/ccUser.cc
* mod.ccontrol/ccUser.h
* mod.ccontrol/ccontrol.cc
* mod.ccontrol/ccontrol.h
Added Files:
* libircu/msg_M391.cc
* libircu/msg_RO.cc
Description:
- AsLL now works on every machines. There's a strange bahviour with stringstream that made AsLL to not work on every machines: fixed.
- gnuworld now supports RPING replies (RO - RPONG)
- gnuworld now supports TIME replies
- Added lag reports support (can be toggled on/off using MODUSER -glag option)
- Server lags now appear in the "list servers" command.
- Time diffs for servers, if too big, are now reported in MsgChanLog.
- Server now appears in the logs for Failed and Successful logins
- Last time a password was changed will be showed if the -cl option is used in USERINFO
To update from previous version:
- You will have to run psql < doc/ccontrol.help.sql and psql < doc/ccontrol.update.sql
- You will have to run ./configure again
- you're ready to make, make install
- type cp bin/server_command_map.in bin/server_command_map
- You're ready to run it.
2009-06-25 MrBean
* mod.cservice/CIDRBanMatcher.cc
* mod.cservice/CIDRBanMatcher.h
* mod.cservice/HostBanMatcher.cc
* mod.cservice/HostBanMatcher.h
* mod.cservice/banMatcher.h
* mod.cservice/BANCommand.cc
* mod.cservice/Makefile.am
* mod.cservice/Makefile.in
* mod.cservice/UNBANCommand.cc
* mod.cservice/cservice.cc
* mod.cservice/sqlBan.cc
* mod.cservice/sqlBan.h : First implementation of CIDR
ban support for X.
Probably still buggy as its not tested fully yet.
You will need re-run configure for this to work.
2009-06-09 MrBean
* mod.cservice/ACCESSCommand.cc:
* mod.cservice/cservice.cc:
* mod.cservice/CHANINFOCommand.cc:
* mod.cservice/levels.h:
* mod.cservice/responses.h:
* mod.cservice/LOGINCommand.cc:
* mod.cservice/MODINFOCommand.cc:
* mod.cservice/SHOWCOMMANDSCommand.cc:
* mod.cservice/sqlLevel.cc:
* mod.cservice/sqlLevel.h: Added invite on LOGIN,
to toggle: /msg X modinfo #chan INVITE <ON|OFF>
2009-05-16 Isomer
* mod.ccontrol/FORCECHANGLINECommand.cc:
* mod.ccontrol/FORCEGLINECommand.cc:
* mod.ccontrol/GLINECommand.cc:
* mod.ccontrol/SCHANGLINECommand.cc:
* mod.ccontrol/SGLINECommand.cc: Allow an internal logging
reason to be given to glines by appending a pipe char
followed by the logging reason. This reason is not
sent out to the network in the gline message.
2009-02-17 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc: Check exceptions list when checking
CIDR ident clones.
2008-06-20 Dan-m00 <[email protected]>
* mod.cservice/cservice.cc: fix a problem when X is not in a
channel (due to +R modifications)
2008-06-19 Dan-m00 <[email protected]>
* mod.cservice/cservice.cc: stop unregistered channel msgs.
2008-06-19 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc:
* mod.cservice/cservice.cc: Send SILENCE removals to (*) all
targets rather than a specific target. *bug fix*
2008-04-18 Dan-m00 <[email protected]>
* doc/autokill.sql: Modify autokill script to work with pgsql
version 8 and above. Slightly modified from original
submission due to obselete tables.
Originally submitted by Adrian Szabo
2008-04-18 Dan-m00 <[email protected]>
* mod.cservice/cservice.cc: remove depreciated "U" user status
flag (serves no purpose anymore)
2008-04-16 Dan-m00 <[email protected]>
* mod.cservice/cservice.cc:
* mod.cservice/JOINCommand.cc:
* mod.cservice/OPERJOINCommand.cc:
* mod.cservice/OPERPARTCommand.cc:
* mod.cservice/PARTCommand.cc:
* mod.cservice/PURGECommand.cc:
* mod.cservice/REGISTERCommand.cc:
* mod.cservice/SETCommand.cc: Add support to cservice module for
new '+R' mode. Also adjust channel events to watch for
registered channels even when the bot is not present.
2008-04-16 Dan-m00 <[email protected]>
* include/Channel.h:
* libircu/msg_B.cc:
* libircu/msg_CM.cc:
* libircu/msg_M.cc:
* src/Channel.cc:
* src/Network.cc:
* src/client.cc:
* src/server.cc: Add support for ircu2.10.12.13's new '+R' mode
(registered channel)
2008-04-16 Dan-m00 <[email protected]>
* configure.ac: Removed boost requirement for chanfix, altered
output for for ./configure script and tidied up old
leftover configure code.
* configure:
* libltdl/acinclude.m4:
* */Makefile.in: Rebuilt configure/make system
2008-01-09 Dan-m00 <[email protected]>
* mod.cservice/PURGECommand: check global and channel lists for
suspended usernames (do not reop suspended users)
2008-01-05 Dan-m00 <[email protected]>
* doc/languages.sql: change language #15 to hebrew.
2008-01-03 Dan-m00 <[email protected]>
* doc/ccontrol.help.sql: Modify CONFIG help for new feature.
* mod.ccontrol/ccontrol.h:
* mod.ccontrol/ccontrol.cc: modify 'status' output to be more
user friendly, including new time specifications.
Also, incorporate new feature config options.
* mod.ccontrol/CONFIGCommand.cc: allow changes to the new CIDR
gline duration (including new time specs)
* mod.ccontrol/ccontrol_generic.cc: modify Ago() function to
only show seconds if greater than zero, or if no other
time units are present.
2008-01-01 Dan-m00 <[email protected]>
* db/gnuworldDB.cc: add dummy function to prevent pedantic
compilers from complaining. Thanks to Isomer for this!
2008-01-01 Dan-m00 <[email protected]>
* src/client.cc: make OP code send channel creation timestamp.
* mod.cservice/cservice.cc: make cservice reops send channel
creation timestamps.
2008-01-01 Dan-m00 <[email protected]>
* mod.cservice/CHANINFOCommand.cc: modify 'info <username>'
output to give a flags line for various settings.
2008-01-01 Dan-m00 <[email protected]>
* doc/update_config_20080101.sql:
* doc/cservice.config.sql: add USE_LOGIN_DELAY variable to set
if we use the login grace period or not.
* mod.cservice/LOGINCommand.cc: modify login command to check
the above configuration variable.
NOTE: please import the new config variable with the cmd:
psql cservice < doc/update_config_20080101.sql
2007-12-31 Dan-m00 <[email protected]>
* mod.cservice/CHANINFOCommand.cc: modify chaninfo output to
show suspend reasons to cservice administrators.
2007-12-31 Dan-m00 <[email protected]>
* mod.cservice/cservice.h:
* mod.cservice/cservice.cc: add new function for fetching the
channel log entries (for events). currently this is
not used but is for future use.
2007-12-31 Dan-m00 <[email protected]>
* mod.service/CHANINFOCommand.cc: remove "URL" line of output
from username information (NOT channel info!)
2007-12-31 Dan-m00 <[email protected]>
* mod.cservice/SETCommand.cc: report channel (un-)suspends to
the admin channel.
2007-12-29 Dan-m00 <[email protected]>
* mod.cservice/PURGECommand.cc: check that the channel actually
exists on the network before attempting a reop.
(fixes core when purging empty channels)
2007-12-28 Dan-m00 <[email protected]>
* mod.cservice/cservice.cc: Check admin suspensions when using
admin level commands.
2007-12-28 Dan-m00 <[email protected]>
* doc/update_suspend_2071228.sql:
* doc/cservice.help.sql: modify help for SUSPEND command.
* mod.cservice/SUSPENDCommand.cc: modify suspend command to use
standard time specification (while maintaining original
syntax is used)
NOTE: either reimport your help files, or run the following
command to update the syntax of SUSPEND in help:
psql cservice < doc/update_suspend_20071228.sql
2007-12-28 Dan-m00 <[email protected]>
* doc/update_purge_20071227.sql:
* doc/cservice.help.sql:
* mod.cservice/cservice.cc: modify help for PURGE command syntax.
* mod.cservice/PURGECommand.cc: modify purge command to auto
op all level 100+ users upon purge UNLESS -noop given.
NOTE: either reimport your help files, or run the following
command to update the syntax of PURGE in help:
psql cservice < doc/update_purge_20071227.sql
2007-12-27 Dan-m00 <[email protected]>
* mod.cservice/UNBANCommand.cc: modified UNBAN command so that
it will only remove an exact matching ban if one is
found. Also, report the number of bans removed from
the channel banlist NOT banlist+channel banlist!
2007-12-27 Dan-m00 <[email protected]>
* doc/update_variables_20071227.sql:
* doc/cservice.config.sql:
* doc/cservice.help.sql: update SQL data for new format BAN
command for mod.cservice
* mod.cservice/BANCommand.cc: modified BAN command to allow a
more friendly and usable format for ban duration. It
allows a unit specifier (s,m,h,d) after the time.
NOTE: the default variable for max ban duration is 2400. This
will equate to 2400 SECONDS after this change. To avoid this,
run the following command ONCE ONLY:
psql cservice < doc/update_variables_20071227.sql
2007-12-27 Dan-m00 <[email protected]>
* libgnuworld/misc.cc:
* libgnuworld/misc.h: add IsTimeSpec() function to check for
a valid time specification. Also modify the extractTime
function to allow variable default units to be used.
* mod.ccontrol/FORCECHANGLINECommand.cc:
* mod.ccontrol/FORCEGLINECommand.cc:
* mod.ccontrol/GLINECommand.cc:
* mod.ccontrol/SCHANGLINECommand.cc: modify function calls to
extractTime() for the above changes. Also implement
IsTimeSpec() checks rather than checking for a zero
reply from extractTime()
2007-12-26 Dan-m00 <[email protected]>
* mod.cservice/SETCommand.cc: alter set userflags to display
current setting if called with no arguments.
* mod.cservice/STATUSCommand.cc: show current channel userflags
setting in flags: line of 'STATUS' (if OP or VOICE)
2007-12-26 Dan-m00 <[email protected]>
* mod.cservice/cservice.h:
* mod.cservice/cservice.cc: move IPR requirement check into a
seperate function (needIPRcheck). This enables us to
require IPR even when someone is disableauth'd.
2007-12-26 Dan-m00 <[email protected]>
* doc/language*.sql: modify languages for new 101+101 responses
for userflags replies.
* doc/doc/update_languages_20071226_100_101.sql: update SQL for
previous installations.
* mod.cservice/SETCommand.cc: modify userflags functionality so
that you can use text or numeric settings.
NOTE: cservice module will CORE if you do not run the update
sql file, an example follows:
psql cservice < doc/update_languages_20071226_100_101.sql
however, it is PREFERRED that you re-import the entire language
database due to several other changes. The correct order is:
psql cservice < doc/languages.sql
psql cservice < doc/language_table.sql
followed by any of the optional languages in language_*.sql
2007-12-26 Dan-m00 <[email protected]>
* src/client.cc: dont clear out a channel if joining with a zero
timestamp - removed a desync.
* mod.cservice/cservice.cc: modified ReOp code to use the
xServer::Mode() function to set automodes (removed a
desync)
2007-12-24 Dan-m00 <[email protected]>
* src/client.cc: add channel creation timestamp after all DEOP
commands (to prevent desyncs caused when deopping users)
2007-11-06 Dan-m00 <[email protected]>
* mod.cservice/REGISTERCommand.cc: don't log SQL queries unless
enabled in cservice_config.h
* mod.cservice/PURGECommand.cc: don't log purging information
unless debugging is enabled in cservice_config.h
* mod.cservice/cservice.cc: move a few more entries to only
log when debugging is enabled.
2007-11-06 Dan-m00 <[email protected]>
* mod.cservice/REGISTERCommand.cc: Fix problem when registering
channels (no manager added!) due to SQL Exec mods.
2007-11-05 Dan-m00 <[email protected]>
* mod.cservice/ACCESSCommand.cc: fix output when too many
entries are listed (uses same response as too many ban
list entries!)
2007-11-05 Dan-m00 <[email protected]>
* mod.ccontrol/CHANINFOCommand.cc: modify command to output a
summary of number of ops and voice in a channel. Also
shows full user list to CODER level (with +o/+v flag)
2007-10-31 Dan-m00 <[email protected]>
* mod.ccontrol/commLevels.h: move UNJUPE access to second access
flag instead of first (otherwise it doesn't work!)
2007-10-31 Dan-m00 <[email protected]>
* build-system: Rebuild entire configure/build system. This
fixes problems running ./configure (COND_PCRE errors)
and pgsql warnings.
2007-10-31 Dan-m00 <[email protected]>
* mod.cservice/cservice.cc: fix bug in reop code that causes
newer GCC versions to coredump on reops.
2007-09-12 Dan-m00 <[email protected]>
* libgnuworld/match.cc: Remove compiler warnings relating to
empty body in while() and for() loops
* mod.ccontrol/ccontrol.h:
* mod.ccontrol/ccontrol.cc: Remove compiler warnings relating
to invalid type conversions.
2007-09-12 Dan-m00 <[email protected]>
* Re-built configure system
2007-09-12 Dan-m00 <[email protected]>
* src/server_glines.cc: Modify the way we erase items from the
gline map. This stops coredumps in newer gcc versions.
* mod.ccontrol/ccontrol.cc: add parenthesis around tests to
remove compile time warnings and potential mis-testing.
2007-09-12 Dan-m00 <[email protected]>
* libgnuworld/Signal.cc:
* libgnuworld/match.cc:
* mod.ccontrol/ccLog.cc: Added missing stdlib.h includes that
cause gcc4.3 to complain.
2007-09-01 MrBean <[email protected]>
* Fixed the build system to include PGSQL lib in case postgresql is selected
* Modules can now link against log4cpp, use --with-log4cpp=<dir> to use it
* mod.cservice/cservice.cc - Fixed a bug which prevented X from starting
* mod.dronescan/* - Dronescan now logs all the glines it issues (need to enable log4cpp for it to work)
2007-08-24 MrBean <[email protected]>
* mod.dronescan/* Added exceptional channels (channels which are not checked)
The dronescan can now gline join flood offenders
NOTE: you must run the update sql file : psql dronescan < doc/update_exceptionalChannels_20070824.sql
2007-08-07 Dan-m00 <[email protected]>
* mod.cservice/LBANLISTCommand.cc: Set response to 'too many
bans' to be dynamic (from cservice_config.h)
* doc/language_*.sql: Modify response for the above.
* doc/update_languages_20070807_31.sql: modification sql file
NOTE: cservice module will CORE if you do not run the update
sql file, an example follows:
psql cservice < doc/update_languages_20070807_31.sql
2007-08-06 Dan-m00 <[email protected]>
* mod.cservice/sqlChannel.h:
* mod.cservice/sqlChannel.cc: Updated event types to reflect
all known events from the database.
* mod.cservice/SETCommand.cc: Updated 'SUSPEND' to require a
suspension reason, which gets logged to the channel
log with event type 'suspend' or 'unsuspend' with
the reason
* mod.cservice/STATUSCommand.cc: remove certain flags from
public view so that only '*' users can see them.
(e.g. SPECIAL, MIA ...)
2007-26-05 MrBean <[email protected]>
* include/iClient.h
src/iClient.cc : Added the getServer method which returns
the server on which this client is
connected
2007-12-05 MrBean <[email protected]>
* libircu/msg_S.cc: Fixed a bug which caused gnuworld to falsly
consider servers as bursting after EOB.
2007-04-27 MrBean <[email protected]>
* include/Network.h:
* src/Network.cc: Added the getAllBurstingServers method to
allow clients to get a list of the currently bursting
servers.
* mod.dronescan/*: Fixed a bug in which the bot was stuck in
in bursting state if the burst was not completed.
Fixed a bug in which number of clients that parted
wasn't updated
2007-04-21 MrBean <[email protected]>
* mod.dronescan/*: started working on the ability to auto
gline join/part flooders, currently it only reports
them.
2007-04-18 Dan-m00 <[email protected]>
* libircu/msg_J.cc: alter logic slightly as a join to '0' (the
'part all channels' special exception) may not have a
timestamp (as it doesnt join anything)
* src/server.cc: added extra debug info to xServer::JoinChannel
2007-04-18 Dan-m00 <[email protected]>
* src/server.cc: fix parsing of channel modes on join (when +D
is encountered.
* libircu/msg_I.cc: add support (although unused) for invite
timestamps from .12 hubs
* libircu/msg_J.cc: add debug information to joins.
2007-04-18 Dan-m00 <[email protected]>
* doc/cservice.config.sql:
* mod.cservice/LOGINCommand.cc: add new functionality to the
max logins from same ip code. You can now force the
check of ident as well as IP in order to login.
requires 'LOGINS_FROM_SAME_IP_AND_IDENT' = 1 in the
variables table.
2007-04-16 Dan-m00 <[email protected]>
* mod.ccontrol/FORCEGLINECommand.cc: Remove compiler warning
about unused variable.
* mod.ccontrol/ccontrol.cc: fix uptime output in 'status' cmd.
Also remove redundant variables/calculations.
2007-30-03 MrBean <[email protected]>
* mod.ccontrol/GLINECommand.cc
* mod.ccontrol/FORCECHANGLINECommand.cc: Use the extractTime
method in CHANGLINE and FORCECHANGLINE instead of
duplicating the code.
2007-03-30 MrBean <[email protected]>
* mod.ccontrol/*: Changed the name of the CHANGLINE command
to SCHANGLINE to conform with the SCOMMAND > FCOMMAND
> COMMAND standard.
2007-03-26 Dan-m00 <[email protected]>
* configure:
* */Makefile.in:
* mod.openchanfix/*: Update auto-build system, and remove all
old remnants of the openchanfix seperate module. This
will fix the bugs in building gnuworld with openchanfix
2007-03-25 Dan-m00 <[email protected]>
* doc/update_channels_20070325.sql: SQL update for new max_bans
feature. This MUST be run if upgrading from an earlier
release of GNUworld!
psql cservice < doc/update_channels_20070325.sql
* doc/cservice.sql: alter the table structure for new max_bans.
* mod.cservice/constants.h:
* mod.cservice/sqlChannel.h:
* mod.cservice/sqlChannel.cc: Add new max_bans field to struct.
* mod.cservice/BANCommand.cc: use the greater of global and
local max_bans setting as the definitive figure.
*** note: currently, this feature will be configurable ONLY via
the website (currently pending coding) ***
2007-03-24 Dan-m00 <[email protected]>
* mod.cservice/LOGINCommand.cc: Added support for multiple logins
from the same IP when a user has maxlogins=1.
* doc/cservice.config.sql: Added variable for the above. This
defaults to zero (previous behavior, feature disabled)
2007-03-16 MrBean <[email protected]>
libircu/msg_C.cc:
libircu/msg_J.cc:
src/client.cc: Fixed a bug which caused modes
desynch when the join/creation time is older than the
creation time of the channel.
mod.ccontrol/CHANGLINECommand.cc:
mod.ccontrol/CommandsDec.h:
mod.ccontrol/Makefile.am:
mod.ccontrol/Makefile.in:
mod.ccontrol/ccontrol.cc:
mod.ccontrol/ccontrol.h:
mod.ccontrol/commLevels.h:
mod.ccontrol/FORCECHANGLINECommand.cc: Added the
FORCECHANGLINE command which is semiliar to the
CHANGLINE command but limited to no more than 24 hours and
doesnt work on no mode channels or channels with opers.
mod.ccontrol/LISTCommand.cc: Changed the command to list
nomode channels from LIST badchannels to LIST nomodechannels
2006-12-21 Dan-m00 <[email protected]>
* src/server.cc:
* libircu/msg_I.cc: Modified debug output to get more info
upon certain runtime conditions.
* mod.cservice/cservice.cc: Fixed output of some debug
entries.
2006-12-21 mod.openchanfix development team
* libircu/msg_CM.cc:
* libircu/msg_M.cc:
* libircu/msg_S.cc:
* libircu/msg_Server.cc:
* include/events.h:
* include/iServer.h:
* src/Network.cc:
* src/iServer.cc:
* src/server_connection.cc: Merge patches from the open
chanfix dev team. It adds a new handler for server
modes. It also adds parsing of server flags.
2006-12-21 Dan-m00 <[email protected]>
* bin/openchanfix.example.conf.in (new file):
* bin/GNUWorld.example.conf.in:
* bin/server_command_map.in:
* bin/.cvsignore:
* mod.openchanfix/LASTCOMCommand.cc:
* mod.openchanfix/STATUSCommand.cc:
* mod.openchanfix/chanfix.cc: re-merge openchanfix with
main gnuworld distribution.
2006-12-21 Dan-m00 <[email protected]>
* ac_cxx_namespaces.m4 (new file):
* ax_boost_thread.m4 (new file):
* aclocal.m4, INSTALL:
* Makefile.am, Makefile.in:
* config.guess, config.sub, configure.ac, configure:
* depcomp, install-sh, ltmain.sh, missing, mkinstalldirs:
* include/defs.h.in:
* <alldirs>/Makefile.in, <alldirs>/Makefile.am:
* libltdl/*: Rebuilt entire configure system, including
adding additional options and importing macros from
mod.openchanfix
2006-10-08 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc: comment out legacy realname gline
check as all servers should now support rnglines
natively.
2006-09-26 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol_generic.cc: fix typo - d'oh
2006-09-26 Dan-m00 <[email protected]>
* src/Network.cc: fix compiler warning when compiling with
optimisations.
2006-09-26 Dan-m00 <[email protected]>
* mod.ccontrol/CHANGLINECommand.cc: fix a bug in this code
which could lead to more glines than required being
added during a channel gline.
* src/Network.cc: modify matching code to speed up automated
glines (skip running match() for '*' idents)
2006-09-24 Dan-m00 <[email protected]>
* mod.ccontrol/CHECKNETCommand.cc:
* mod.ccontrol/ccLog.cc: Resolved compiler warnings due to
mismatched types.
* mod.ccontrol/*: Phase 1 of code audit
- fixed typos and textual errors.
- moved db check to command handler instead
of inside each command file (pointless
(duplication of code)
- updated Ago/Duration functions to be less
cpu intensive (and less code duplication)
* include/gnuworld_config.h:
* src/main.cc: make gnuworld fork into background.
define 'DAEMON' to use this functionality
* tools/checkgnuworld.sh.in:
* configure*:
* */Makefile.in:
* Makefile*: Added crontab script to use with the
new daemon functionality. Rebuilt configure
and makefiles to build a copy in tools/ with
the correct exec prefix
2006-08-15 Dan-m00 <[email protected]>
* mod.cservice/CHANINFOCommand.cc: Added extra line of info
to show NOADDUSER setting (on or off) in 'info'
2006-08-10 Dan-m00 <[email protected]>
* mod.cservice/sqlChannel.h:
* mod.cservice/sqlChannel.cc: Add flag for new MIA review
tag (0x400 in sqlChannel flags field)
* mod.cservice/STATUSCommand.cc: show 'MIA' in flags output
if MIA review tag is set.
2006-05-04 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc: set gline reason for each kind of
gline seperately - makes for easier log parsing.
ALSO: fix a big bug that made cidr glining work even
if disabled (if an earlier gline was triggered)
2006-05-03 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.h: addition of IClonesGline variable
* mod.ccontrol/ccontrol.cc: addition of auto-gline function for
CIDR ident clones (including a slight output change)
* mod.ccontrol/CONFIGCommand.cc: add config for the above.
(CONFIG -IClonesGline Yes/No) - default to 'no'.
* doc/ccontrol.help.sql: updated help for CONFIG command to
reflect new configuration option.
2006-02-05 clsk <[email protected]>
* mod.ccontrol/ccontrol.cc: get UplinkServer from global
Network instance. Data2 is not filled by AttachServer
and was causing this to dereference a NULL pointer.
<Dan-m00> AttachServer was sending an iClient object, instead
of an iServer object, which caused the invalid ref.
2006-02-10 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc:
* mod.ccontrol/NOMODECommand.cc: Actually give some output from
NOMODE command if the command is successful!
2006-02-10 Dan-m00 <[email protected]>
* mod.cservice/CHANINFOCommand.cc: Stop outputting two sets of
"Channels: " info for opers who 'info' themselves.
* mod.cservice/LOGINCommand.cc:
* mod.cservice/cservice.cc: (Bug workaround) re-create a users'
users_lastseen table entry if it does not exist. This
resolves an issue with some entries that have no last
seen time.
2006-01-31 Dan-m00 <[email protected]>
* doc/cservice.help.sql:
* doc/language_christmas.sql:
* doc/language_dutch.sql:
* doc/language_easter.sql:
* doc/language_german.sql:
* doc/language_greek.sql:
* doc/language_halloween.sql:
* doc/language_swedish.sql:
* doc/language_table.sql: Update response code 20 (ban command)
to utilise a dynamic max ban duration figure.
* mod.cservice/BANCommand.cc: implement the change of output
for the above changed files.
* doc/update_languages_20060131_20.sql (new file):
Perform an upgrade of existing SQL tables to have the
new data for response code 20.
NOTE: if you upgrade this code without either re-importing all
language data OR running the contents of the update sql file,
mod.cservice will operate with unknown results, possibly even
causing a segmentation fault. YOU HAVE BEEN WARNED.
psql cservice < doc/update_languages_20060131_20.sql
2006-01-26 Dan-m00 <[email protected]>
* doc/cservice.config.sql: add new 'max_ban_duration' config
option for the maximum length a ban can be set.
* mod.cservice/BANCommand.cc: implement the above config var,
this replaces the hardcoded default of 14 days.
2006-01-18 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc: Update automated gline to prefix
'AUTO ' before '[xxx] Automatically...' to match other
automated gline notices.
2006-01-09 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc: add timestamp and human readable
time to 'list glines' command for when a gline was set.
2006-01-09 Dan-m00 <[email protected]>
* mod.cservice/cservice.cc: Remove a ban before setting it
during checkbansonjoin() - if the ban doesnt exist, it
will return false anyway. Stops duplication if a user
is invited into a channel where they are banned.
2005-11-16 Reed Loden <[email protected]>
* libircu/msg_B.cc: Fix two problems when bursting:
1. channel modes were not being removed when an
older channel was bursted (found by coekie);
2. the wrong if check was being performed for
the creation time.
* src/server.cc: Four vectors for the limit, key, Upass,
and Apass were never actually being used.
This was causing problems with (de)synching of
modes (found by coekie).
This is part of a patch submitted by Reed Loden.
2006-01-02 Dan-m00 <[email protected]>
* mod.ccontrol/ccontrol.cc: Update logging to HD. This patch
disables buffering, and opens files for appending.
This resolves a problem in new versions of GCC where
the logfile is not recreated if opened without append.
2005-12-28 Dan-m00 <[email protected]>
* autogen.sh: (new file) script to rebuild using auto-tools.
* Makefile.in, aclocal.m4, config.guess, config.sub, configure,
configure.ac, ltmail.sh, */Makefile.in:
* libltdl/*: Updated build system including latest libtool.
2005-12-27 Entrope <[email protected]>
* configure.ac: Fix VPATH builds.
* configure: rebuild from configure.ac with autoconf
* mod.ccontrol/CControlCommands.h: Properly declare class
gnuworld::xServer.
* mod.ccontrol/CommandsDec.h: No need to say "using
gnuworld::xServer" due to Koenig lookup.
Remove it since it is invalid C++.
* mod.ccontrol/ccontrol.h: Likewise it. We must also properly
qualify types qualify types that come from inside
xServer.
* mod.ccontrol/ccontrol.cc: Fix erroneous loop termination
conditions.
This patch makes GNUWorld compile with gcc4. Tested on the
following FreeBSD/gcc versions:
FreeBSD/amd64 6.0-STABLE: gcc3.4.4
FreeBSD/i386 4.11-STABLE: gcc2.95
FreeBSD/i386 7.0-CURRENT: gcc3.4.4
FreeBSD/i386 7.0-CURRENT: gcc4.0.2
FreeBSD/i386 7.0-CURRENT: gcc4.2.0
Redhat Enterprise Linux WS release 3/2.4: gcc 3.2.3
NOTE: GNUWorld does NOT compile on FreeBSD/amd64 gcc4 at the
current time (but works with gcc3.4.4)
2005-12-27 Dan-m00 <[email protected]>
* mod.cservice/networkData.h:
* mod.cservice/networkData.cc: add failed logins info for a
client to track the number of failed logins per client
rather than per username.
* doc/cservice.config.sql: add configuration variable for the
maximum failed login count per client.
Set to 0 (ZERO) to disable the check.
* mod.cservice/responses.h: add max failed login failure msg.
* doc/language_table.sql: add message for the above response.
* mod.cservice/cservice.h:
* mod.cservice/cservice.cc: add functions to get/set the failed
login counter for clients.
* mod.cservice/LOGINCommand.cc: add maximum failed login
checks. If they exceed them, they will have to
reconnect to the network.
2005-12-27 Dan-m00 <[email protected]>
* mod.cservice/LOGINCommand.cc: add a checksum to the failed
login messages to identify if it's the same or a
different password being used each time.
Generate the checksum from the MD5 hash rather than
the plaintext password to make it harder to fool.
2005-12-12 Dan-m00 <[email protected]>
* doc/cservice.web.sql: roll-back previous commit after
replacing glasses.
2005-12-12 Dan-m00 <[email protected]>
* doc/cservice.web.sql: forgot the table for web relay msgs ;)
2005-12-06 Dan-m00 <[email protected]>
* bin/cservice.example.conf.in: Added privileged relay channel
(priv_relay_channel) for privileged output.
* mod.cservice/cservice.h: Added channel variable and function
prototype for priveleged relay channel.
* mod.cservice/cservice.cc: Added function for output of the
above. Also, load the config for the channel.
* mod.cservice/LOGINCommand.cc: Modify failed login messages to
output to the priveleged relay channel.
Also, report 900+ logins to privileged relay channel.
2005-12-05 Dan-m00 <[email protected]>
* mod.cservice/FORCECommand.cc:
* mod.cservice/SHOWCOMMANDSCommand.cc:
* mod.cservice/UNFORCECommand.cc: Alter login used to determine
if the user is an admin or not (use the common function
which takes into accounts alumni's etc)
* mod.cservice/SETCommand.cc: As above, also make 'SET
DISABLEAUTH ON' command only available to admins.
make 'SET DISABLEAUTH OFF' command only available to
people who have it currently set.
2005-12-02 Dan-m00 <[email protected]>
* doc/cservice.config.sql: New config variable to set the time
between alerts (per user) for failed login alerts.
* mod.cservice/sqlUser.h: define a timestamp of the last alert
* mod.cservice/sqlUser.cc: set the default timestamp on create.
* mod.cservice/LOGINCommand.cc: Alter login to only alert when
the time between alerts has been reached.
2005-12-02 Dan-m00 <[email protected]>
* doc/cservice.config.sql: New config variable to enable or
disable flood messages.
New config variable to set the level at which we alert
the relay channel for failed logins on a user. Set
this is '0' (ZERO) to disable the alerts.
New config variable to enable or disable the notice to
users when they successfully login to report failed
logins.
Also, added the required_supporters config var back
in (required by the web)
* mod.cservice/cservice.cc: Implement the above config var.
* mod.cservice/sqlUser.h: define failed_logins variable for
the number of failed logins since last successful.
* mod.cservice/sqlUser.cc: set failed_logins in zero upon
creation of sqlUser record.
* mod.cservice/responses.h: define new failed login response.
* doc/language_table.sql: define the new failed login response.
Also, include some responses that were missing (171-172)
* mod.cservice/LOGINCommand.cc: log failed IP restrictions to
the relay channel.
Report to the user upon successful login about the
number of failed logins since they last logged in.
Also, log failed logins when they reach a configurable
limit. (see above)
2005-12-01 Dan-m00 <[email protected]>
* mod.cservice/CHANINFOCommand.cc: apply logic to UNSUSPEND
which was previously missed during changes to SUSPEND.
2005-12-01 Dan-m00 <[email protected]>
* mod.ccontrol/SAYCommand.cc:
* mod.ccontrol/ccontrol.cc: Modify 'say' command to accept 'do'
for /me's
2005-12-01 Dan-m00 <[email protected]>
* mod.cservice/SAYCommand.cc:
* mod.cservice/cservice.cc: Modify 'say' command to accept 'do'
for /me's
2005-11-30 Dan-m00 <[email protected]>
* bin/cservice.example.conf.in: added command log config var.
* mod.cservice/cservice_config.h: added USE_COMMAND_LOG option
to turn command log on and off.
* mod.cservice/cservice.h: Define command log path variable.
* mod.cservice/cservice.cc: Use command log path variable from
above. Also fixed an SQL query output.
* mod.cservice/SCANHOSTCommand.cc:
* mod.cservice/SCANUNAMECommand.cc: Updated SQL query output.
2005-11-30 Dan-m00 <[email protected]> / Reed Loden <[email protected]>
This patch is based on a patch provided by Reed Loden.
* include/iClient.h:
* libircu/msg_N.cc:
* src/server.cc: Remove IP restriction code from the core.
* mod.cservice/cservice.h:
* mod.cservice/cservice.cc: Add new IP restriction functions
to use iClient network data rather than core.
* mod.cservice/networkData.h:
* mod.cservice/networkData.cc: define the IP restriction ts
in cservice data here.
2005-11-30 Dan-m00 <[email protected]>
* mod.cservice/SCANUNAMECommand.cc: add SQL query logging.
* mod.cservice/SCANHOSTCommand.cc: hide IP output for users.
Also, add SQL query logging option.
2005-11-30 Dan-m00 <[email protected]>
* mod.cservice/LOGINCommand.cc: move IP restriction check to
after password check, also no longer apply logic to
alumni accounts.
* mod.cservice/cservice.cc: no longer apply IP restriction to
alumni accounts.
2005-11-29 Dan-m00 <[email protected]>
* mod.cservice/REMUSERCommand.cc:
* mod.cservice/SUPPORTCommand.cc:
make sql query logs only log during LOG_SQL
* mod.cservice/cservice.cc:
(cservice::OnEvent):
(cservice::expireBans):
(cservice::expireSuspends):
make debug messages debug only.
2005-11-29 Dan-m00 <[email protected]>
* bin/cservice.example.conf.in: add new 'webrelay_interval'
configuration entry. This is the number of seconds
between webrelay checks.
* mod.cservice/cservice.h: Add new timer for the above feature.
* mod.cservice/cservice.cc: Implement the new timer for the
above feature.
2005-11-29 Dan-m00 <[email protected]>
* mod.cservice/CHANINFOCommand.cc: strip out hostnames/ips from