Commit graph

27 commits

Author SHA1 Message Date
d1d3c57af9
Add support for custom_host and custom_port with helper methods
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-12 19:46:03 +01:00
b985906d6d
Add nom-locate, ground for more detailed errors
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-11 23:22:31 +01:00
e626352e87
Implement support for multiline comments
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-11 18:41:05 +01:00
692cb204ac
Comments can also be //
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-11 18:24:02 +01:00
4fdc467cf2
Example/spec: Allow folders to be specified
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-11 18:09:28 +01:00
80bd6c281f
Add resource attr to Account
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-11 18:03:21 +01:00
c522257e8c
Implement take_until_tags parser to make it slightly more nom idiomatic
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-11 15:46:32 +01:00
0747db35ee
Parse accounts: Parse identifiers until the end of the line
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-11 15:36:24 +01:00
1cb94ccfaf
parse_action: everything before keyword is an identifier
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-11 11:18:57 +01:00
0aec3cea6e
New Action::Disconnect
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-10 14:25:06 +01:00
41849edbb9
test_parse_spec
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-10 14:18:02 +01:00
b57b36f81a
rustfmt pass
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-10 14:14:33 +01:00
bb08011d6f
Remove single parse_action, move into parse_actions
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 18:17:04 +01:00
1c3865d8dd
Remove duplicate account test
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 18:15:43 +01:00
22f12b2b10
parse_receive now correctly returns Action::Receive
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 18:13:10 +01:00
413e1b4560
Only test Action::connect in test_action_connect
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 16:59:59 +01:00
4c326b4ca5
parse_receive
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 16:55:44 +01:00
cb7382a941
parse_send
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 16:48:46 +01:00
0ed53d0775
Remove dep on xmpp-parsers, add jid and minidom
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 14:20:23 +01:00
28580640b3
CI: Use nightly for rustfmt
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-08 21:37:32 +01:00
198fea5a69
CI: Add necessary components
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-08 21:31:56 +01:00
ce747a0273
CI: change image to rust:alpine
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-08 20:17:13 +01:00
71da176728
Parse Action::Connect
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-08 20:05:41 +01:00
4a1dc94a41
Simplify comment parsing
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-08 19:52:56 +01:00
8f48183e30
Tabs are now meaningful
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-08 19:50:29 +01:00
e9becda2b0
CI: .woodpecker.yml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-08 10:47:24 +01:00
b7939821a9
From each according to their ability, to each according to their needs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-08 10:45:31 +01:00