jesopo
|
c0af477373
|
add Database.users.by_id()
|
2020-02-06 16:40:20 +00:00 |
|
jesopo
|
c4136a50ec
|
refactor -b/-q/-m timer logic in to 1 function
|
2020-02-05 16:29:07 +00:00 |
|
jesopo
|
e458127fb5
|
move --database/data-dir/log-dir to bot.conf, do some work for diff db engines
|
2019-12-19 13:56:58 +00:00 |
|
jesopo
|
3ce947bb77
|
add database.users.get_nickname, to get nickname from ID
|
2019-12-01 07:05:17 +00:00 |
|
jesopo
|
b385323386
|
fix database.user_settings.find logic
|
2019-12-01 07:05:01 +00:00 |
|
jesopo
|
89c12e845a
|
add --remove-server/-R cli arg
|
2019-07-12 09:30:22 +01:00 |
|
jesopo
|
43c8ad0ff6
|
Add !editserver command
|
2019-07-04 13:15:51 +01:00 |
|
jesopo
|
d4391cc6c5
|
Fix Database.ChannelSettings.find SQL
|
2019-06-17 17:51:27 +01:00 |
|
jesopo
|
6678076490
|
Remove column from server.add SQL (leftover from removing 'ipv4' column)
|
2019-05-21 10:45:24 +01:00 |
|
jesopo
|
ab1074cf4d
|
Remove mention of ipv4 - detect address family automatically
|
2019-05-21 10:11:09 +01:00 |
|
jesopo
|
dc102f258d
|
Add Database.servers.get_by_alias, move IRCBot.get_server to
IRCBot.get_server_by_id, add IRCBot.get_server_by_alias and change
!connect/!disconnect to take aliases instead of IDs
|
2019-04-24 12:07:30 +01:00 |
|
jesopo
|
bd4fdfdc7b
|
Add UNIQUE constraint for alias on servers table
|
2019-04-24 11:49:54 +01:00 |
|
jesopo
|
d627ed49e2
|
Pull "is main thread" logic out to utils, force Database to be accessed on main
thread
|
2019-02-25 10:36:17 +00:00 |
|
jesopo
|
1d807fefe0
|
Old copypaste fail - we were returning the most recent user id when creating channels
(Database.py)
|
2019-02-10 00:04:00 +00:00 |
|
jesopo
|
2f7937adc5
|
Don't .lower() nicknames in Database.py, it doesn't know about IRC casemapping
|
2019-02-06 11:25:20 +00:00 |
|
jesopo
|
af0fddf9ba
|
'find_*_setting' functions don't exist anymore!
|
2018-11-28 10:12:17 +00:00 |
|
jesopo
|
dce050aac5
|
Convert BOOLEAN sqlite3 types to bool objects when retrieving them
|
2018-11-27 11:39:50 +00:00 |
|
jesopo
|
ae8aeaeef4
|
Typo in src/Database.py, 'total_millisecons' -> 'total_milliseconds'
|
2018-11-14 23:06:41 +00:00 |
|
jesopo
|
1ec6d0ad40
|
Log query timing in src/Database.py in 1 line, not 2
|
2018-11-14 23:04:54 +00:00 |
|
jesopo
|
66643a1bd8
|
Return new user's id in Database.users.add
|
2018-11-13 11:19:43 +00:00 |
|
jesopo
|
8fc7a7652a
|
Return new server_id from Database.servers.add
|
2018-11-13 11:13:04 +00:00 |
|
jesopo
|
8eef9a612d
|
Readd line I accidentally removed in src/Database.py
|
2018-11-11 12:45:10 +00:00 |
|
jesopo
|
c84205ed9b
|
Add a threading.Lock() around cursor.execute(...) in Database.py
|
2018-11-11 12:40:24 +00:00 |
|
jesopo
|
dccb460e5c
|
'rename_channel' -> 'rename' in src/Database.channels
|
2018-11-05 21:39:00 +00:00 |
|
jesopo
|
6b8593a09b
|
Pass connection parameters around in their own object (IRCConnectionParameters)
|
2018-11-05 18:23:02 +00:00 |
|
jesopo
|
055390e220
|
Add Database.channels.rename, as part of support for IRCv3's RENAME
|
2018-11-05 16:46:24 +00:00 |
|
jesopo
|
e07553c362
|
Add type/return hints throughout src/ and, in doing so, fix some cyclical
references.
|
2018-10-30 14:58:48 +00:00 |
|
jesopo
|
df94020ef5
|
Add database.find_by_setting, send github commits to interested channels
|
2018-10-06 09:54:21 +01:00 |
|
jesopo
|
0a5aef09b4
|
Fix start.py not giving the right arguments to database.servers.add
|
2018-10-03 16:00:25 +01:00 |
|
jesopo
|
6af738107b
|
Implement client-side bindhost
|
2018-10-01 14:06:50 +01:00 |
|
jesopo
|
120acf54ec
|
Add 'trace' logging level for src/Database.py and src/EventManager.py very
verbose debugging
|
2018-10-01 13:48:22 +01:00 |
|
jesopo
|
2fecfbb700
|
Fix find_prefix functions in Database.py ('%s%' -> '%s%%')
|
2018-09-28 16:52:17 +01:00 |
|
jesopo
|
af2b34b92b
|
Don't give IRCBot instance to things that don't need it, use a better way of
doing default locations for config/database/log
|
2018-09-27 11:07:29 +01:00 |
|
jesopo
|
bb641b0870
|
Move log and database files to their own folders
|
2018-09-24 15:26:31 +01:00 |
|
jesopo
|
ecb9d7cb3f
|
Move most code in root directory to src/
|
2018-09-24 15:13:27 +01:00 |
|