41 Commits

Author SHA1 Message Date
InspIRCd Robot
8e784862f5 Update copyright headers. 2024-09-07 11:10:36 +01:00
Sadie Powell
05cea6f835 Fix formatting strings on C++20 compilers. 2024-08-22 09:41:36 +01:00
Sadie Powell
d95be0a516 Add a formatting overload to {Membership,User}::Write(Remote)Notice. 2024-08-18 16:19:12 +01:00
InspIRCd Robot
ae3e2db109 Update copyright headers. 2024-06-07 10:37:56 +01:00
Sadie Powell
d048778f78 Merge branch 'insp3' into master. 2023-01-01 13:19:45 +00:00
InspIRCd Robot
2b810b412a Update copyright headers. 2022-12-30 11:31:28 +00:00
Sadie Powell
08b7167d0f Mark Membership::GetRank() as constant. 2022-05-17 14:16:42 +01:00
Sadie Powell
c31e4c6a97 Add a typedef for a mode rank. 2022-05-17 13:45:18 +01:00
Sadie Powell
ec217059c3 Store a set of list mode pointers in Membership instead of characters. 2022-05-17 13:02:58 +01:00
Sadie Powell
7d3055f8c3 Add the type to the Extensible class. 2022-01-31 12:01:39 +00:00
Sadie Powell
54db5b5e0a Fix the case of Membership::GetRank. 2022-01-31 00:03:47 +00:00
Sadie Powell
d79147e7af Abolish the infernal space before accessibility keywords. 2022-01-25 14:02:36 +00:00
Sadie Powell
421e8c8c79 Add the final keyword to all remaining classes that can have it. 2021-12-20 20:19:40 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Peter Powell
57e4bf9725 Fix m_chanhistory sending the history notice directly to the user.
Closes #1452.
2018-01-03 16:24:19 +00:00
Peter Powell
36040be295 Fix a ton of -Wsign-conversion warnings. 2017-11-17 15:33:01 +00:00
Attila Molnar
6a35f493f3 Return std::string from Membership::GetAllPrefixChars() 2016-08-30 16:33:46 +02:00
Attila Molnar
e093134393 Change Membership:hasMode() to accept a PrefixMode 2016-08-30 16:19:31 +02:00
Attila Molnar
30fc51c6dd Rewrite invite system
- Moved out of core, now lives entirely in core_channel
- Accessible using the provided API after including the appropriate header
- Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS
- Expiration of timed invites are implemented using Timers
- When creating a new invite let a non-timed invite override a timed one
2015-11-02 13:28:55 +01:00
Attila Molnar
84ae29d0ea Move the intrusive list containers into the insp namespace 2014-08-30 10:35:21 +02:00
Attila Molnar
0205dd6548 Add foundation for membership ids 2014-06-11 14:04:00 +02:00
Attila Molnar
573c3e0ecc Document the Membership and the Invitation class 2014-05-06 15:13:30 +02:00
Attila Molnar
8bdc2313a6 Move GetAllPrefixChars() from Channel to Membership 2014-02-14 12:16:31 +01:00
Attila Molnar
74ccc28da3 Move GetPrefixChar() from Channel to Membership 2014-02-14 12:15:00 +01:00
Attila Molnar
458168b575 Convert InviteBase::invites to an intrusively linked list 2014-01-24 13:20:11 +01:00
Attila Molnar
8537a54950 Remove classbase inheritance from Invitation 2014-01-24 13:12:40 +01:00
Attila Molnar
932e8d13f8 Convert UserChanList to an intrusively linked list 2014-01-24 12:58:01 +01:00
attilamolnar
16398df07d Move prefix mode specific fields and getters into PrefixMode
Add ModeHandler::IsPrefixMode()
2013-09-11 12:10:07 +02:00
attilamolnar
34fa5627de Create a base class for prefix modes
Move Channel::SetPrefix() into Membership
2013-09-11 12:10:07 +02:00
attilamolnar
326852f7dd Fix Windows build 2013-04-17 22:13:26 +02:00
Peter Powell
11cafc12d5 Tidy up source files:
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
2013-04-12 17:03:05 +01:00
Peter Powell
b5e60891b6 InviteBase needs to be a CoreExport on Windows. 2012-06-28 01:19:11 +01:00
attilamolnar
d2e189102b Fix pending invites not being removed when a channel was deleted or had its TS lowered 2012-06-17 17:54:49 +02:00
Robby-
46a3904619 Replace copyright headers with headers granting specific authors copyright 2012-04-19 20:58:29 +02:00
Justin Crawford
df5f76832e Fixes for bug #12 2012-04-14 18:03:25 -07:00
brain
cd712c40e1 ...because every now and again, i have to do a massive commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11 03:07:32 +00:00
danieldg
6b2ea83367 Move forward declarations to typedefs.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11967 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-24 20:03:53 +00:00
peavey
228c2b2e58 More CoreExport.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11843 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 21:49:18 +00:00
peavey
4fa4afe580 CoreExport Membership since windows needs this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11839 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 19:12:23 +00:00
danieldg
b4be0c94ab Module API changes to use Membership* where sensible
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11699 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:31:11 +00:00
danieldg
91df762e93 Membership* changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:30:47 +00:00