aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sqlauth.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace <sqlauth:allowpattern> with <sqlexemption>.Gravatar Sadie Powell2023-04-201-4/+15
| | | | Partially implements #2030.
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-6/+6
|
* Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-6/+6
|
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
|
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-3/+2
|
* Add some overloads of Find{Nick,UUID,} for local/remote users.Gravatar Sadie Powell2023-01-071-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
| |
* | Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-191-0/+1
| |
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-1/+1
| |
* | More const correctness.Gravatar Sadie Powell2022-10-231-1/+1
| |
* | Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-1/+1
| |
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-01-031-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-12-301-1/+1
| |
* | Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-1/+1
| |
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+2
| |
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-09-011-1/+1
|\|
| * Replace certfp with sslfp in sqlauth and helpop.Gravatar Sadie Powell2021-08-281-1/+3
| | | | | | | | Once we implement SPKI fingerprints the old name will be inaccurate.
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-3/+3
| |
* | Convert SQL::Field to be a typedef of optional<string>.Gravatar Sadie Powell2021-03-301-1/+1
| |
* | Pascalize Set in extension item classes.Gravatar Sadie Powell2021-03-171-8/+8
| |
* | Pascalize Get in extension item classes.Gravatar Sadie Powell2021-03-171-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
| |
* | Make MyClass private and move everything to GetClass.Gravatar Sadie Powell2021-01-311-1/+1
| |
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
| |
* | Move FindNick to UserManager.Gravatar Sadie Powell2020-02-091-1/+1
| |
* | Move FindUUID to the UserManager class.Gravatar Sadie Powell2020-02-091-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+7
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-1/+1
|\|
| * Convert a bunch of LocalUser* casts to IS_LOCAL.Gravatar Peter Powell2019-10-131-1/+1
| | | | | | | | This is a lot safer and handles users changing servers properly.
* | Replace LocalIntExt with IntExtItem.Gravatar Sadie Powell2019-08-131-3/+3
| |
* | Move the Module parameter of ExtensionItem et al to the start.Gravatar Sadie Powell2019-08-131-1/+1
| | | | | | | | This matches what other ServiceProvider types do.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-3/+3
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-3/+3
| |
* | UserManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
| |
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-6/+6
| |
* | ModuleManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-6/+6
|/
* Fix detecting secure clients connecting through HAProxy/WEBIRC.Gravatar Peter Powell2018-12-011-3/+3
|
* m_sqlauth: Allow specifying what hash algos to provide hashes from.Gravatar Daniel Vassdal2018-04-071-10/+62
| | | | | | | | | | Defaults to md5,sha256 to be compatible with old configs. Adds new parameter `kdf`. If this is set (to e.g. bcrypt), the hash will be compared locally. This requires the password column to be specified in <sqlauth:column>. Closes #741
* Improve and modernize the SQL system API.Gravatar Peter Powell2017-12-221-9/+12
| | | | | | | | | | | | | - Move everything into the SQL namespace and drop the SQL prefix. - Move SQLProvider::PopulateUserInfo to SQL::PopulateUserInfo. - Rename SQLEntry to SQL::Field and clean up. - Rename SQLEntries to SQL::Row. - Rename SQLerror to SQL::Error and clean up. - Rename SQLerrorNum to SQL::ErrorCode and drop the SQL_ prefix. - Rename ParamL to SQL::ParamList. - Rename ParamM to SQL::ParamMap; - Make implementing SQLQuery::OnError mandatory. - Redo most of the documentation in the sql header.
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+3
|
* Hashing: Redo APIGravatar Daniel Vassdal2014-08-041-2/+2
| | | | | | | * Don't assume the printable output of hashes is hex * Add virtual Compare() function, usable for KDFs like BCrypt Some changes and bugfixes are by @attilamolnar, original PR #767