Sadie Powell
4ac5cf89e3
Update the copyright headers for 2025.
2026-01-01 18:04:37 +00:00
Sadie Powell
da7f47c1c7
Update the copyright headers for 2025.
2025-01-14 13:30:07 +00:00
Sadie Powell
8bb83f6b1a
Explicitly specify ROW_FORMAT=DYNAMIC when creating tables.
...
Resolves the issues some people were having with extremely wide rows.
2024-05-16 17:29:25 +01:00
Sadie Powell
da99a53dfa
Don't specify a width for DT_INT columns.
...
This isn't actually used by MySQL for the column width.
2024-05-16 17:28:15 +01:00
Sadie Powell
afe87bf693
Ensure we are connected to MySQL before trying to escape data.
2024-05-11 11:36:29 +01:00
Sadie Powell
4cc68397dc
Update the copyright headers for 2024.
2024-02-17 19:58:17 +00:00
Sadie Powell
33a337dfc0
Update the copyright headers for 2023.
2022-12-31 22:08:50 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Josh Soref
fd88b756fc
Fix various spelling issues ( #274 ).
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >.
2021-06-17 15:02:30 +01:00
Robby
c5a4e8337c
Update copyright to 2021.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2021-01-07 03:31:08 +01:00
Robby
c8699c6726
Update copyright to 2020.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2020-01-04 15:51:20 +01:00
Robby
6fbb7cffe9
Update copyright to 2019.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2019-01-01 17:43:35 +01:00
Robby
e03ae0cd85
Update copyright to 2018.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2018-04-25 19:22:13 +02:00
Robby
76ce8ece1a
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
2017-01-17 05:03:25 +01:00
Robby
8656b65e39
Update copyright to 2017.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
2017-01-16 03:13:25 +01:00
Adam
ac0f3c5ccf
m_mysql: null empty columns instead of setting to ''
2016-11-04 22:56:15 -04:00
Robby
f118960a25
Update copyright to 2016. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
Fixed some whitespace and blank lines along the way.
2016-01-28 20:24:49 +01:00
Adam
f20bac996d
Fix Windows build and update library names to the newer ones.
...
Also fix crash on Windows when unloading a module because it threw an
exception.
2014-05-30 18:14:55 -04:00
Adam
e11abdc4f0
Fix m_ldap service names from defaulting ldap/ldap/main
2013-07-21 00:37:21 -04:00
Adam
7480fbda2b
Fix removing old connections in m_ldap and m_mysql
2013-07-20 23:36:20 -04:00
Adam
998925c90a
Fix rehashing via SIGHUP and m_mysql
2013-07-04 01:19:40 -04:00
DukePyrolator
518182ac92
m_mysql: handle multiple result sets returned from multiple statements or procedure calls
2013-06-30 05:28:01 +02:00
Adam
6f45d72497
Made m_mysql's Escape() function safe against escaping strings > BUFSIZE
2013-05-31 18:34:21 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -04:00
Adam
ef06226521
Update the rest of modules.example.conf, default inspircd status modes to a sane rank incase they are prefixless, and 50 other things
2013-05-06 07:40:43 -04:00
Adam
3fbb493d57
Fix extras build
2013-05-06 01:38:27 -04:00
Adam
5b3f81ea78
That doesn't work either, just don't use references.
...
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05 21:05:43 -04:00
Adam
1d0bb9b26b
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
2013-05-05 01:55:04 -04:00
Adam
4f9b7874d6
Pass new config and the new config reader to the OnReload event, aswell as call it on module load on modules that hook to it
2013-04-11 00:08:28 -05:00
Adam
207c46c871
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
2013-04-10 22:26:40 -05:00
Adam
098157dca8
Don't delete users immediately when quit or killed, instead wait until message processing is done
2013-01-03 12:34:01 -05:00
Adam
bf718e8698
Evidently not specifying NOT NULL is not enough to allow null timestamps
2012-12-30 10:30:29 -05:00
Adam
379b2ccf92
The timestamp column in SQL should actually be null sometimes, and fixed some valgrind errors with db_sql_live
2012-12-28 10:43:30 -05:00
Adam
c1077faa28
Optimize much of the database code and serialize code.
2012-12-13 06:12:56 -05:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
Adam
d6e1b92059
Add a module log type
2012-10-27 08:12:04 -04:00
Adam
b937d6310d
timestamp column is a special case too
2012-09-30 21:36:49 -04:00
Adam
ad37bc9639
Bug #1445 - Empty out columns in SQL we have no data for on
...
insert. This is caused from serialize() only setting a key on
certain conditions and otherwise doing nothing at all.
2012-09-30 20:30:27 -04:00
DukePyrolator
db37b1c634
updated chanstats
2012-06-01 07:37:34 +02:00
Adam
820e4edc2b
Fixed some 100% cpu bugs with the new SQL stuff, and fixed sqlite+db_sql_live
2012-05-08 18:04:49 -04:00
Adam
42e652cae7
Pull table schemas from SQL on startup so we can alter the schemas if we need to, fixed sqlite to work again
2012-04-29 19:24:37 -04:00
Adam
4d9a96e8df
Fixes to db_sql
2012-04-27 17:06:16 -04:00
Adam
5068483cb9
Add db_sql:prefix allow prefixing all anope tables similarly, and changed db_sql to update the databases incrementally instead of one big flush
2012-04-27 15:38:50 -04:00
Adam
573e49a7ea
Reworked live SQL support yet again
2012-04-23 05:08:26 -04:00
DukePyrolator
9e1fda2a44
Modified the SQL API to allow unescaped parameters (useful for passing row names and NULL values)
2012-04-08 12:30:48 +02:00
Adam
ee5cd8493e
Use C++11's explicit override feature if available
2012-02-18 15:04:26 -05:00
Adam
b5ff856f47
Windows
2011-11-08 17:29:16 -05:00
Adam
066e5b3fc0
Delete all tables before flushing not just ones we know about
2011-11-04 02:28:21 -04:00
Adam
1f2399de36
Added a new database format and sqlite support. Also moved db-convert to a module.
2011-09-25 04:19:15 -04:00
Adam
63cb8ca24c
Moved signal/thread/mode checking to use signal pipes
2011-09-10 02:06:31 -04:00