louiz’
3a95076db4
Send a 110 status code on a QUIT received for ourself
2017-07-08 17:07:29 +02:00
louiz’
faed8952cb
Remove a bunch of useless string_literal usage
2017-07-08 14:04:35 +02:00
louiz’
7a9b2dca06
Use a more precise return type, instead of auto
2017-07-08 12:37:03 +02:00
louiz’
cf56b60fd3
Remove all the empty “options” members in Column classes
...
By using SFINAE to use that member only when it exists.
2017-07-08 12:36:08 +02:00
louiz’
43b5b696a3
Add some scopes around various XmlSubNode
2017-07-06 22:38:09 +02:00
louiz’
9f7782bb0c
Add a global “persistent” option
2017-07-06 22:24:42 +02:00
louiz’
b71ca15a0f
Move a few functions from select_query to query
2017-06-23 00:13:38 +02:00
louiz’
8a7166eef9
Set the database pointer to nullptr after a close
2017-06-22 16:14:00 +02:00
louiz’
4d55a120d8
Re-implement correctly the handling of failure to open the database
...
If we can’t open it at startup, we exit.
If we can’t open it on reload, we keep the previously-opened database.
This way, we’re assured to always have a valid and open database available.
2017-06-21 17:41:03 +02:00
louiz’
e75d7ad8ea
Add a Record History option in the Channel configuration form
...
fix #3269
2017-06-16 10:48:54 +02:00
louiz’
40db183e37
Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions table
...
ref #3269
2017-06-16 09:54:36 +02:00
louiz’
4a963cc480
At startup, upgrade all database tables by adding missing columns
2017-06-16 09:53:49 +02:00
louiz’
a77c982f63
Fix cstdint -> cstddef, to fix compilation on freebsd
2017-06-14 18:47:01 +02:00
louiz’
34ed2cc1a9
Explicitely declare the add_param<Id> specialization
2017-06-14 17:25:15 +02:00
louiz’
5834dd53f3
Add a 0 default value for template argument N
2017-06-14 16:21:23 +02:00
louiz’
2677ac42e8
Fix compilation (many warnings, and a linkage error) with clang++
2017-06-14 10:46:44 +02:00
louiz’
dac19da4c7
Fix an inversion of tlsPorts_ and ports_
2017-06-14 10:46:44 +02:00
louiz’
8d1d822edf
Explicitely close the Database before re-opening it
2017-06-14 00:19:15 +02:00
louiz’
9defd0ccb7
Add a Statement class to manage the sqlite3_stmt objects and avoid leaks
2017-06-14 00:19:15 +02:00
louiz’
369ccb0376
Add default values for the database columns
2017-06-14 00:19:15 +02:00
louiz’
50cadf3dac
Implement our own database ORM, and update the whole code to use it
...
Entirely replace LiteSQL
fix #3271
2017-06-14 00:19:15 +02:00
louiz’
ca9db6f933
Move biboumi.h.cmake inside the src/ directory
2017-05-28 01:01:24 +02:00
louiz’
19ed2e7f5f
Fix the datetime parsing to handle optional fractions of seconds
...
fix #3266
2017-05-23 11:46:14 +02:00
louiz’
cf1c8f188c
Remove a few warnings occuring in some build config
2017-05-21 12:23:10 +02:00
louiz’
0ee533256d
Handle messages 367 and 368 to display the banlist in the MUC
...
fix #3234
2017-05-18 21:59:57 +02:00
louiz’
3079c38d2d
Refactor the channel::self to point at the existing user
...
This way, the user is always up to date, instead of being a duplicate out of
sync.
fix #3258
2017-05-18 16:12:10 +02:00
louiz’
bb150d587f
Redirect welcome NOTICE to their channel, instead of sending a global one
...
fix #3236
2017-05-17 00:31:21 +02:00
louiz’
8cf0b833c4
Make the IRC channel configuration form available from the MUC config
...
fix #3250
2017-05-11 21:15:43 +02:00
louiz’
da55060840
Improve the handling of the biboudb.hpp dependencies
2017-05-10 16:50:11 +02:00
louiz’
f7e4adb10b
Avoid any potential int overflow
2017-05-09 15:46:20 +02:00
louiz’
f7d4db4812
Remove a useless debug log
2017-05-08 23:02:14 +02:00
louiz’
984d71838e
Limit the number of rooms sent by default in the disco#items response
...
fix #3219
2017-05-08 23:01:21 +02:00
louiz’
da701069dc
Little fix and cleanup in the channels list code
2017-05-08 18:47:02 +02:00
louiz’
0a8a77e64c
Fix a segmentation fault when connecting to a server without a port
...
fix #3260
2017-05-02 15:00:21 +02:00
louiz’
7b3e0e0cf3
Make botan’s policy configurable from a file
...
fix #3244
2017-04-30 15:14:54 +02:00
louiz’
3af9d0ac67
Make sure we don’t exceed 512 bytes when grouping JOINs
2017-04-21 22:55:24 +02:00
louiz’
f588ce071e
Group simultaneous JOINs into a single command, to avoid flooding
...
We still split the JOINs with a key and the ones without
2017-04-21 22:47:25 +02:00
louiz’
eac144acda
Configuration options can be overridden by setting env values
2017-04-21 11:19:36 +02:00
louiz’
cf87cf0892
Better way to init the msghdr fields
2017-04-20 15:44:46 +02:00
louiz’
69fd6cc4c3
Explicitely init the msghdr fields, to be compatible with any implementation
2017-04-20 19:14:59 +02:00
louiz’
5ef674c486
Revert "Add a linger_time configuration option on IRC servers"
...
This reverts commit 5d801ddcd0 .
2017-04-20 10:12:00 +02:00
louiz’
e3ee824e5c
Revert "Cancel the IRC server linger timer when we try to-rejoin a channel on it"
...
This reverts commit 45f7396c8d .
2017-04-20 10:09:35 +02:00
louiz’
51696c091c
Make sure the channel is joined before trying to leave it
...
fix #3243
2017-04-19 23:33:48 +02:00
louiz
47ff1cd311
Merge branch 'mam_default_limit' into 'master'
...
Limit of 100 MAM messages, if no other limit has been set by the client
Closes #3256
See merge request !9
2017-04-19 23:15:49 +02:00
louiz’
727d887d7b
Fix wrong JID computing when sending iq ping or version in fixed mode
...
fix #3259
2017-04-20 00:24:59 +02:00
louiz’
54fa739d6b
Limit of 100 MAM messages, if no other limit has been set by the client
...
fix #3256
2017-04-19 23:02:08 +02:00
louiz’
3238404753
Avoid adding more that one “XMPP reconnection” timed event at the same time
...
Fix a semblance of infinite and busy loop, that could occur if biboumi’s
poller is woken up multiple times while the XMPP server is not reachable.
2017-04-17 14:47:21 +02:00
louiz’
3a8203c366
Handle the RSM "max" value in the MAM requests
...
fix #3255
2017-04-12 17:07:39 +02:00
louiz’
68d6b82940
Properly handle multiline topics
...
fix #3254
2017-04-09 23:05:32 +02:00
louiz’
8a912ea3a3
Apply a few clang-tidy cppcoreguidelines-* fixes
2017-04-07 11:10:51 +02:00