5293048580
Ensure metadata title and desc aren't tags
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-13 19:57:52 +01:00
015a6c97e3
README: compat with upstream
...
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-13 18:29:57 +01:00
581c8b14d7
README: reword
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-13 18:29:57 +01:00
5863adc174
Parse metadata tags
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-13 18:29:57 +01:00
ab40eb688b
Add metadata support
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-13 18:29:57 +01:00
54debb3e2f
Rename Account to Client
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-13 18:29:57 +01:00
ab24ddf14c
README: Add progress
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-13 18:29:57 +01:00
6bdc20bc53
Provide scansion namespace for minidom::Element
...
It went undetected until now as these attributes only seem to be on
child elements which aren't parsed yet. Not having this NS available
should cause issues though when the user explores the element.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-13 18:29:57 +01:00
98174ec66b
Allow Jid instead of BareJid to replace 'resource'
...
ci/woodpecker/push/woodpecker Pipeline is pending
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-12 20:12:09 +01:00
d1d3c57af9
Add support for custom_host and custom_port with helper methods
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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