Sadie Powell
ca2209aaed
Show the SQL service name in the db_sql error message.
...
This should help users diagnose issues easier.
2023-09-05 00:21:31 +01: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
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
074bde5ccc
db_sql: run table creation queries during import synchronously too
2017-01-11 20:44:55 -05:00
Adam
095751363d
db_sql: don't update objects pending creation as it duplicates it
2016-10-16 18:51:58 -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
595dad4ec1
Update copyright to 2014. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2014-01-01 20:48:38 -05:00
Adam
446b3a910d
Save unconfirmed status and passcodes in the database.
...
Fix db_sql_live to not reinsert all records if there are extra columns.
Plexus has no chmode +r
2013-08-25 04:48:43 -04:00
Adam
c480695369
Fix db_sql to not remove objects when shutting down, as some modules that unload before it when shutting down remove their items then
2013-08-07 19:40:05 +00: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
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
57c2b65f08
Move module header files to include/modules to fix naming conflicts with system headers
2013-05-05 03:30:08 -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
781defb707
Move extras header files out of extras so when users copy modules out they dont need the headers too
2013-04-16 01:58:29 -05: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
731912f01e
Add db_sql:import config option so we can know for sure whether or not we want a database import
2013-03-18 12:16:51 -05:00
Adam
810685cb73
Have db_flatfile store object ids if they are set, even though it doesn't use them, so that if other database modules that use them are loaded they can keep track of objects properly
2013-03-16 20:08:39 -05:00
Adam
d9c18a6072
Store hashes of the last commit instead of the last commit
2013-02-15 19:01:46 -05:00
Adam
391f2822c8
This Serialize::Destroy method isn't actually needed anymore. Fixes weirdness from a few Serializable items we had on the stack. Added a comment about why operator< in Reference fails.
2013-02-14 20:57:40 -05:00
Adam
994866461c
Update obj ts when constructed in db_sql
2013-02-14 01:20:18 -05:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
392b591d09
Allow modules loaded after startup to magically reobtain their database objects. Fix os_dns for sql(live)
2012-12-25 15:52:58 -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
a434baed91
Allow modules to store data in their own databases.
2012-10-01 18:50:29 -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
Naram Qashat
38ad523f91
Fix a few oddball warnings that came up from clang, and also make it so webcpanel.so can be compiled under Mac OS X.
2012-09-24 15:54:49 -04:00
Adam
bf7d1a55af
Fixed some problems found by Robby
2012-05-23 15:09:41 -04: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
Adam
ee5cd8493e
Use C++11's explicit override feature if available
2012-02-18 15:04:26 -05:00
Adam
52eaa7d6d6
Windows
2012-01-25 15:48:07 -05:00
Adam
964d63cdac
Improve on db_sql_live_read
2012-01-15 01:47:31 -05:00
Adam
4204ece7a8
Updated Copyright to 2012
2012-01-02 21:28:24 -05:00
Adam
69dfc729e9
Fixed storing mode locks
2011-11-17 12:46:18 -05:00
Adam
9ed203c0cb
Fixed crash on shutdown & a compiler warning
2011-11-15 16:16:38 -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
80f4f317b2
Put serialized_items on the heap to prevent weird crashes on shutdown from the list being destructed before members in it
2011-10-10 15:04:23 -04:00