louiz’
23e6c7f8c8
Add an environment for the doc
2018-08-29 22:35:50 +02:00
louiz’
c70b97d761
Use sphinx instead of pandoc, and add a deploy job
2018-08-29 22:10:25 +02:00
louiz’
d421ebd788
Use git_strategy: clone for the freebsd job
2018-08-27 10:23:18 +02:00
louiz’
e43885c47d
Flush stdout between each e2e test
2018-08-26 19:06:24 +02:00
louiz’
793831539a
test:alpine depends on build:alpine, not debian
2018-08-26 18:55:48 +02:00
louiz’
7f50a3c3d2
Run the test_suite in the test phase, and do the coverage only on fedora
2018-08-26 18:13:48 +02:00
louiz’
b9f6fbd840
Remove an unused function (and a useless debug log)
2018-08-26 18:08:14 +02:00
louiz’
21f69cf068
Remove the coverity job entirely
2018-08-26 18:07:55 +02:00
louiz’
478619b10a
Trivial little syntax changes
2018-08-26 15:42:38 +02:00
louiz’
248e25c22f
Replace a useless shared_ptr by a unique_ptr
2018-08-26 15:41:54 +02:00
louiz’
f880428a5a
Fix the --remove pattern in lcov to exclude catch from the coverage
2018-08-25 01:03:58 +02:00
louiz’
a3e865ad63
Fix a signed/unsigned mismatch
2018-08-24 22:49:31 +02:00
louiz’
7d0df9b6dd
Disable the throttle limit if negative
...
Also, invalid values result in -1 being set
2018-08-23 22:18:49 +02:00
louiz’
6c431b64d0
Fix one more warning
2018-08-23 22:16:42 +02:00
louiz’
8997021b2e
Fix two more warnings
2018-08-23 21:28:06 +02:00
louiz’
b1564e4ddc
Fix a bunch of int to unsigned int conversion warnings
2018-08-23 20:31:31 +02:00
louiz’
0b51e38281
MaxHistoryLength now has some sensible default value if the user set a negative one
2018-08-23 20:30:11 +02:00
louiz’
4a583c7b7e
Trivial move of a variable in a smaller “ifndef” scope
2018-08-23 18:54:16 +02:00
louiz’
d7bc737751
Add two missing ref
2018-08-23 18:54:16 +02:00
louiz’
f55b1108cd
Add a missing <string> include
2018-08-23 18:54:16 +02:00
louiz’
dd31b77c2a
Rename and organize the ci builds
2018-08-23 15:34:01 +02:00
louiz’
64a393ebad
Create subsections in the CHANGELOG
...
fix #3374
2018-08-23 11:16:22 +02:00
louiz’
865e3422fd
Remove the badges in the readme. The trend is over.
2018-08-13 22:42:14 +02:00
louiz’
9fa7591058
Split the main() into smaller functions
...
That’s not really enough, but better
2018-08-07 20:49:34 +02:00
louiz’
89ad479ef4
Remove a useless fill_duration member
2018-08-04 16:04:33 +02:00
louiz’
89e038bc3a
Fix the real_type of ThrottleLimit
2018-08-04 15:11:59 +02:00
louiz’
9244624d56
Add -Werror to the FreeBSD build
2018-08-04 15:11:29 +02:00
louiz’
782732ba16
Remove a bunch of useless empty lines
2018-08-04 14:50:33 +02:00
louiz’
6a86b14d05
Rename SetDesc to set_desc, and only define it if USE_DATABASE
2018-07-27 23:06:48 +02:00
louiz’
6c21edc1b8
Fix a few e2e tests that could fail due to race condition
...
The order of the messages received can be different, if the IRC server
decides so, or lags, or something.
2018-07-27 22:19:54 +02:00
louiz’
3782fc9ca4
Add two more sleeps, for the same reason
2018-07-25 14:43:10 +02:00
louiz’
96b1e0ab39
Disable the throttling for two tests that are very very long
2018-07-25 14:12:00 +02:00
louiz’
20f36df05f
Add a timer for each e2e test
2018-07-25 14:11:49 +02:00
louiz’
3b96b2e0b1
Add a sleep in a e2e test
...
Reasons explained in the comment in the code
2018-07-25 13:52:52 +02:00
louiz’
780eea53e7
Trivially improve a e2e test
2018-07-24 23:25:30 +02:00
louiz’
9f77f241ba
Fix the freebsd build by using no artifacts
2018-07-24 23:25:03 +02:00
louiz’
7a4cea426d
Reflect messages to XMPP only when they are actually sent
2018-07-24 23:16:14 +02:00
louiz’
a43fb352c8
Document verify_certificate_policy
2018-07-22 14:51:24 +02:00
louiz’
709fa0e5e9
Remove a useless getter
2018-07-22 14:41:32 +02:00
louiz’
458ea53db3
Fix a compile error with GCC 5.x
...
fix #3366
2018-07-14 13:36:53 +02:00
louiz’
0d886d5f32
Default the throttle limit to 10 if not built with database support
2018-06-26 20:42:21 +02:00
louiz’
7f8a612c98
Fix a warning (unused variable) in some build config
2018-06-25 22:57:23 +02:00
louiz’
52166e07ac
Trivial syntax improvements
2018-06-25 22:57:13 +02:00
louiz’
870692dcdf
Use the botan2 package in the fedora docker image
2018-06-25 22:56:29 +02:00
louiz’
09b10cc801
Throttle all commands sent to IRC servers
...
fix #3354
2018-06-25 22:54:32 +02:00
louiz’
ba97c442a8
Remove an outdated TODO comment
2018-06-22 21:35:46 +02:00
louiz’
0b8738d87a
Archive the Mode messages, except if they are received for an unjoined chan
...
fix #3362
2018-06-22 21:35:46 +02:00
louiz’
21a79b7bad
Reject messages from unjoined resources, with an error
...
fix #3346
2018-06-19 21:33:33 +02:00
louiz’
2f0e26db4c
Channels’ disco#info includes the number of participants
...
fix #3311
2018-06-17 15:16:49 +02:00
louiz’
72c3324cf3
Correctly use target_sources instead of target_link_libraries
2018-06-08 20:03:55 +02:00
louiz’
e3730c5a40
Don’t add_library(database) with an empty string, that’s not portable
...
Instead, don’t create the library at all if not needed.
2018-06-08 19:13:00 +02:00
louiz’
5ff3696d6f
Merge branch 'v8'
2018-06-01 12:49:33 +02:00
louiz’
ac8cd7082b
Release version 8.3
2018-06-01 12:45:14 +02:00
louiz’
760076a33a
Make the global ad-hoc configure command available in fixed mode
...
fix #3360
2018-06-01 12:44:40 +02:00
louiz’
68d86a9daa
Merge branch 'v8'
2018-05-23 01:17:36 +02:00
louiz’
d3eda68761
Release version 8.2
2018-05-23 01:12:31 +02:00
louiz’
7d3c1ed927
Do not use (or present to the user) the Address field in fixed mode
...
fix #3359
2018-05-23 01:09:36 +02:00
louiz’
ad1c63b129
Build the RPM package with botan2
2018-05-17 22:12:09 +02:00
louiz’
eefb1fa3ae
Trivial formatting issue
2018-05-15 20:12:39 +02:00
louiz’
d721c6bedc
Please select the confidential flag for bug reports concerning a crash
2018-05-15 20:08:11 +02:00
louiz’
28d79a9eaa
Merge branch 'v8'
2018-05-15 19:58:03 +02:00
louiz’
1c4620d992
Release version 8.1
2018-05-15 19:50:41 +02:00
louiz’
861f55ed83
Add a e2e test for a raw NAMES command
2018-05-15 19:48:50 +02:00
louiz’
a8e922fc89
Handle the NAMES message for an already-joined or non-existing channel
...
If a user manually does a NAMES query, the result were interpreted as a user
list, which is wrong. And with the special * argument, this would even cause
a crash.
Fix #3357
2018-05-15 19:34:58 +02:00
louiz’
4f6bf078d2
Improve the forward_server_message to concatenate everything
2018-05-15 19:34:54 +02:00
louiz’
ba61d20340
Empty the <command/> nodes before reusing them in our responses
...
fix #3356
2018-05-14 22:07:29 +02:00
louiz’
ed36c26598
Also handle SIGHUP to reload the configuration
...
Because that’s what is typically done on other deamons, and we don’t want to
suprise users.
2018-05-06 12:13:09 +02:00
louiz’
edcd80cca1
Start version 9.0
2018-05-02 20:22:48 +02:00
louiz’
08fabd0a10
Release version 8.0
2018-05-02 19:49:31 +02:00
louiz’
063cfcfb72
Add a changelog entry for gcc 5.0
2018-05-02 19:49:31 +02:00
louiz’
3e29dd39a2
Add a missing changelog entry
2018-05-02 19:43:14 +02:00
louiz’
eb5c93595c
Add signature_methods=IMPLICIT for ppirc and gimp.org servers
...
fix #3351
See https://github.com/randombit/botan/issues/1558
2018-04-30 19:15:03 +02:00
louiz’
678f5d079b
Add a test for the <max>0</max> MAM query
2018-04-29 23:25:53 +02:00
louiz’
b0168fd45b
mam: Send “fin complete” only when appropriate
...
Also simplify how we did the whole “limit + 1”
And fix one bad interpretation of the XEP for the case where the query has
no after or before restriction.
fix #3349
2018-04-29 22:18:26 +02:00
louiz’
0887be6eef
Next version will just be 8.0, not 7.3
2018-04-29 19:45:43 +02:00
louiz’
7592d966e6
Missing fields in a data-form response are now interpreted as an empty value
2018-04-29 01:40:46 +02:00
louiz’
efa63ee5cb
Merge branch 'v7'
2018-04-28 14:17:43 +02:00
louiz’
d887baa064
Fix a crash when botan policy does not allow any available ciphersuite
2018-04-28 13:57:40 +02:00
louiz’
f481e2f194
Fix the test_suite by using catch’s single_include directory
2018-04-28 13:57:17 +02:00
louiz’
1236b8a03b
Only use the ID to order archives
...
fix #3343
2018-04-24 20:25:40 +02:00
louiz’
61de6b1dac
Revert "Use a different Date data type"
...
This reverts commit 857c7d3972 .
2018-04-24 20:25:40 +02:00
louiz’
a90f196a1c
Revert "Use the Date to find a next page in RSM, not the id"
...
This reverts commit 5ef7ba0802 .
2018-04-24 20:25:39 +02:00
louiz’
5ef7ba0802
Use the Date to find a next page in RSM, not the id
...
This way, it works, whatever the order of insertion in the database was.
fix #3343
2018-04-14 19:48:45 +02:00
louiz’
d375a9edeb
one log_debug -> log_error, also some trivial indent
2018-04-13 23:37:46 +02:00
louiz’
e4f111accb
Remove two unused (julianday) functions
2018-04-13 23:37:29 +02:00
louiz’
4bd7b6981b
Refactor that fixes a compilation issue in Release mode
...
Some template specialization were not found, because they were not declared
at the point they were used.
We moved things around, things are less inter-dependant, and also now it
works.
2018-04-13 23:35:06 +02:00
louiz’
de8267fa3f
Fix a build warning when compiling without postgres or sqlite
2018-04-11 00:45:29 +02:00
louiz’
857c7d3972
Use a different Date data type
...
PLEASE backup your database before testing this commit, and report any
migration issue.
In postgresql, we use timestamp with timezone.
In sqlite3 we use REAL (the date is expressed as julianday)
This requires a migration of the muclogline_ table:
In postgresql it’s pretty simple, we convert all the integer into timestamps
With sqlite3, we actually rename the table, create the new one with the
correct type, then copy everything to the new table, with a conversion
function for the Date_ column, and then we delete the old table.
fix #3343
2018-04-11 00:25:18 +02:00
louiz’
0cd848e532
Send the stanza-id for messages received by other users
...
fix #3347
2018-03-31 02:10:39 +02:00
louiz’
99c364892a
Fix the e2e test broken by previous commit
2018-03-26 22:34:48 +02:00
louiz’
2fe06ffab7
build:archlinux is way too slow, run it only manually
...
(that is, from time to time, hope I won’t forget)
2018-03-23 21:22:53 +01:00
louiz’
d81a9456ac
Change the nick of the joining user AFTER sending all the join stuff
...
fix #3305
2018-03-23 21:18:52 +01:00
louiz’
e2fc3cf68e
Properly handle force-join presences by sending everything in return
...
fix #3305
2018-03-23 16:16:30 +01:00
louiz’
cdace80758
Check that db.prepare worked before using the returned statement
2018-03-23 15:54:36 +01:00
louiz’
faa33c1a71
Pass an IrcClient* to send_muc_leave instead of doing an other search
2018-03-22 20:44:30 +01:00
louiz’
9ce0166777
Add a missing pointer check
2018-03-19 20:16:01 +01:00
louiz’
619c991a69
Add a nick field in the IRC server configuration form
...
fix #3317
2018-03-19 20:15:44 +01:00
louiz’
d7427fc9ca
Re-connect to postgresql when the connection is lost
...
fix #3336
2018-03-19 00:16:16 +01:00
louiz’
8f74d4dd40
Update the changelog with this latest feature
2018-03-18 19:42:11 +01:00
louiz’
1320dc6db4
Don’t reflect an empty id if it was not included
...
Instead, generate a uuid for that message
2018-03-18 19:41:52 +01:00