louiz’
|
33a5f1355d
|
Remove a variable template usage
Because it’s only supported in gcc>=5.0
|
2018-01-25 01:22:35 +01:00 |
|
louiz’
|
0168b96b79
|
Add postgresql support
|
2017-12-02 20:08:47 +01:00 |
|
louiz’
|
7b3e0e0cf3
|
Make botan’s policy configurable from a file
fix #3244
|
2017-04-30 15:14:54 +02:00 |
|
louiz’
|
d81cbc4a33
|
Use uname() instead of CMAKE_SYSTEM
fix #3235
|
2017-02-27 18:01:20 +01:00 |
|
louiz’
|
7f08cf83aa
|
Little scopeguard cleanup, and add a test
|
2017-02-15 01:07:32 +01:00 |
|
louiz’
|
548e4ad473
|
Parse the timezone myself, instead of using the broken strptime
See
https://lab.louiz.org/louiz/biboumi/issues/3215
https://github.com/andikleen/glibc/blob/master/time/strptime_l.c#L746-L747
for why strptime() sucks
We use std::get_time now, to parse the date and time. And we parse the
timezone by hand.
fix #3215
|
2016-10-11 00:20:43 +02:00 |
|
louiz’
|
e5b392ece8
|
Fix parse_datetime by always using a 'z' as the timezone
Because some plateform accept Z and z, but some only accept z…
|
2016-10-03 17:58:16 +02:00 |
|
louiz’
|
aaa2ca670a
|
Fix the parse_datetime by using %Z instead of %z
If anybody knows why fedora accepts both, but it only works with %z on
debian, please tell me.
|
2016-09-17 00:34:28 +02:00 |
|
louiz’
|
1140db3b88
|
Add parse_datetime
|
2016-08-31 01:58:13 +02:00 |
|
louiz’
|
2a4905df01
|
Fix to_string(time_t) and write a unit test for it
|
2016-08-31 01:17:45 +02:00 |
|
louiz’
|
992fa93895
|
Add get_first_non_empty and use it into Database to simplify a little bit
|
2016-08-21 01:51:52 +02:00 |
|
louiz’
|
4b1c580bb9
|
cut messages at 512 bytes, taking into account the UTF-8 codepoints
ref #3067
|
2016-06-15 15:50:45 +02:00 |
|
louiz’
|
80d0c19c5a
|
Refactor, test and improve the way we cut too-long messages for IRC
|
2016-06-14 20:14:36 +02:00 |
|
Florent Le Coz
|
66887c225b
|
Add a few tests
|
2015-10-31 05:35:46 +01:00 |
|
Florent Le Coz
|
3c1889fbd0
|
Use Catch for our test suite
`make check` is also added to compile and run the tests
Catch is fetched with cmake automatically into the build directory when needed
|
2015-10-29 02:32:57 +01:00 |
|