summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-11-06Add a missing max_history_length field in the IRC server option formlouiz’
2019-11-06e2e: Test the behaviour on bad integer value for ad-hoc confslouiz’
2019-11-06Add a test for MAM without an “end” valuelouiz’
2019-10-31Split all the e2e tests in their own fileslouiz’
Some duplication is avoided, but most importantly: it’s much much cleaner, easier to find, functions have been cleaned up (functools.partial usages are now hidden), etc.
2019-09-23Remove a duplicate e2e testlouiz’
2019-09-23Add tests for non anonymous roomslouiz’
See #3390
2019-09-22Expect a 210 code in the "change nick on join" e2e testlouiz’
2019-09-18Update the e2e test to work with latest slixmpplouiz’
2019-09-14Update the tests to reflect the next->complete changelouiz’
2019-08-25Add a test for outgoing /me messages that confirms issue #3382louiz’
2019-08-20XEP-0410: set not-in-the-room error condition to not-acceptableJonas Schäfer
XEP-0410 demands that. This changes the error condition for all pings to the room, even those which aren’t self-pings, if the sender is not joined. The conditions of XEP-0410 were based on observing existing implementations.
2019-08-20XEP-0410: implement server-side optimisation for self-pingsJonas Schäfer
This prevents the ping from round-tripping through IRC and possibly a random other client of the user. Please see XEP-0410 for the rationale. Fixes #3385.
2018-10-04Do not send the IRC host directly as real JID of the userrefactor-resourcesJonas Schäfer
Fixes #3381
2018-09-17Add a test demonstrating #3378louiz’
2018-08-26Flush stdout between each e2e testlouiz’
2018-08-23Disable the throttle limit if negativelouiz’
Also, invalid values result in -1 being set
2018-08-23Trivial move of a variable in a smaller “ifndef” scopelouiz’
2018-07-27Fix a few e2e tests that could fail due to race conditionlouiz’
The order of the messages received can be different, if the IRC server decides so, or lags, or something.
2018-07-25Add two more sleeps, for the same reasonlouiz’
2018-07-25Disable the throttling for two tests that are very very longlouiz’
2018-07-25Add a timer for each e2e testlouiz’
2018-07-25Add a sleep in a e2e testlouiz’
Reasons explained in the comment in the code
2018-07-24Trivially improve a e2e testlouiz’
2018-06-25Throttle all commands sent to IRC serverslouiz’
fix #3354
2018-06-19Reject messages from unjoined resources, with an errorlouiz’
fix #3346
2018-06-17Channels’ disco#info includes the number of participantslouiz’
fix #3311
2018-06-01Merge branch 'v8'louiz’
2018-06-01Make the global ad-hoc configure command available in fixed modelouiz’
fix #3360
2018-05-15Merge branch 'v8'louiz’
2018-05-15Add a e2e test for a raw NAMES commandlouiz’
2018-05-14Empty the <command/> nodes before reusing them in our responseslouiz’
fix #3356
2018-04-29Add a test for the <max>0</max> MAM querylouiz’
2018-04-29mam: Send “fin complete” only when appropriatelouiz’
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-29Missing fields in a data-form response are now interpreted as an empty valuelouiz’
2018-04-24Revert "Use a different Date data type"louiz’
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0.
2018-04-13Refactor that fixes a compilation issue in Release modelouiz’
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-11Use a different Date data typelouiz’
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-03-31Send the stanza-id for messages received by other userslouiz’
fix #3347
2018-03-26Fix the e2e test broken by previous commitlouiz’
2018-03-23Change the nick of the joining user AFTER sending all the join stufflouiz’
fix #3305
2018-03-23Properly handle force-join presences by sending everything in returnlouiz’
fix #3305
2018-03-19Add a nick field in the IRC server configuration formlouiz’
fix #3317
2018-03-18Don’t reflect an empty id if it was not includedlouiz’
Instead, generate a uuid for that message
2018-03-18Reflect message IDs in channel MUCslouiz’
fix #3283
2018-03-18Add a multiline_message e2e testlouiz’
2018-03-18Add some missing includelouiz’
2018-03-18Allow the execution of multiple commands after the IRC connectionlouiz’
fix #3275
2018-03-17Revert "Use std::optional<bool> instead of OptionalBool"louiz’
This reverts commit ba879a882e031d7b8503f78fe41d1210000c96ca.
2018-03-16Use std::optional<bool> instead of OptionalBoollouiz’
2018-03-12Add a few \n in the e2e error messageslouiz’