Sadie Powell
a40f8e0b9d
Update the copyright headers for 2024.
2024-01-04 22:25:48 +00:00
Sadie Powell
6d981960da
Merge branch '2.0' into 2.1.
2023-12-20 00:07:51 +00:00
Sadie Powell
b84b1d8166
Misc grammar fixes.
2023-12-17 19:32:45 +00:00
Sadie Powell
6538641e87
Remove some unnecessary spaces that break editor indentation.
2023-12-17 13:59:49 +00:00
Sadie Powell
8e1c7e1e44
Merge branch '2.0' into 2.1.
2023-10-11 15:51:52 +01:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +01:00
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
29db25dac7
Fix missing override keywords.
2023-03-13 13:52:56 +00:00
Sadie Powell
885462d98e
Merge branch '2.0' into 2.1.
2022-12-31 22:11:19 +00:00
Sadie Powell
33a337dfc0
Update the copyright headers for 2023.
2022-12-31 22:08:50 +00:00
Sadie Powell
1664689eb7
Merge branch '2.0' into 2.1.
2022-09-15 18:46:51 +01:00
Michael Stapelberg
a5425e3bf3
database: write to temporary file and rename.
...
This decreases the likelihood of ending up with a zero-byte (or missing)
anope.db.
Co-authored-by: Michael Stapelberg <michael@robustirc.net >
2022-07-27 17:40:49 +01:00
Sadie Powell
a631028660
Merge branch '2.0' into 2.1.
2022-01-12 22:08:35 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Sadie Powell
106750db77
Replace all uses of push_back with emplace_back.
2022-01-04 12:28:55 +00:00
Sadie Powell
7531e90499
Use C++11 style class/struct initialisation.
2022-01-04 00:17:13 +00:00
Sadie Powell
a5f7aac295
Replace anope_{final,override} with their C++11 equivalent.
2022-01-03 19:02: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
Peter Powell
6617d29b52
Fix a bunch of broken indentation.
2019-12-14 18:38:13 +00: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
Adam
516ab164f6
redis: check for socket errors when loading database on startup
2017-03-16 20:13:56 -04:00
Adam
b57ef5d2c7
db_redis: don't crash if destroying an object with no type
2017-03-08 16:23:30 -05: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
23a0628fba
db_old: convert languages to UTF-8 encoded version
2016-11-11 13:30:22 -05:00
Adam
095751363d
db_sql: don't update objects pending creation as it duplicates it
2016-10-16 18:51:58 -04:00
Adam
937b0e7185
db_old: fix warnings
2016-07-25 19:34:59 -04:00
Adam
a941f9bde0
Remove memos from memoinfo more reliably
2016-04-14 20:15:53 -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
054c227df0
Merge pull request #120 from Alef-Burzmali/2.0+nobackupok
...
Fix db_flatfile to read the "nobackokay" setting
2015-09-06 16:12:22 -04:00
Thomas Fargeix
040b06ad56
Fix db_flatfile to read "nobackupokay"
2015-07-11 10:27:27 +02:00
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Adam
60229b15d2
When object unserialization fails (due to not having dependency objects) bump the ts to try again later.
2014-07-26 13:24:52 -04:00
Adam
4f7868b125
Log more when unable to backup databases in db_flatfile
2014-06-15 04:50:26 -04:00
Adam
53acb73193
Fix default db name in db_flatfifle in a couple places
2014-05-27 12:55:03 -04:00
Adam
f627a3bacd
Core prep for p10 stuff
2014-05-21 08:50:40 -04:00
Adam
df321a118e
Fix access lists showing the wrong mask if the display nick for a group
...
expires but the group still exists. This can cause access entries for
nicks to not be deleted whenever the nicks are deleted.
2014-05-14 19:10:23 -04:00
Adam
220e278213
Open database files using std::ios_base::binary in db_flatfile, which Windows can require
2014-03-05 20:23:44 -05:00
Adam
3ceae33b16
Convert limit and key mlocks in db_old
2014-03-01 21:56:26 -05:00
Adam
fd109048dd
Make db_old load entrymsg
2014-03-01 21:20:32 -05:00
Adam
526c4e4659
Check modes after applying mlocks in db_old
2014-03-01 18:38:14 -05:00
Adam
109d8f431f
Do not import forbids with wildcards in their names, how 1.8 treats wildcaded forbids depends on the IRCd
2014-02-18 13:04:16 -05:00
Adam
928e2e1b7c
Fix loading noexpire channels in db_old
2014-02-18 12:57:31 -05:00
Adam
ef7dc94f88
Move most of the implementation details out of os_forbid.h, fixes crashing if a module adding a forbid is unloaded without removing the forbid
2014-02-17 19:39:25 -05:00
Daniel Vassdal
ab1e0ebfb3
db_old.cpp: Correctly import forbidden nicks and chans
2014-02-16 12:56:27 -08:00
Adam
ca85df2d74
Don't convert XOP access entries to levels in db_old
2014-02-14 11:10:20 -05:00