Martin Dosch
|
d3cdd71f03
|
Move from encoding/xml to etree.
|
2022-04-25 11:59:26 +02:00 |
|
Martin Dosch
|
8369d28f9e
|
Remove debug println…
|
2022-04-24 01:45:55 +02:00 |
|
Martin Dosch
|
03f744a886
|
Change from encoding/xml to etree.
|
2022-04-24 01:45:20 +02:00 |
|
Martin Dosch
|
20953ab1ac
|
Move file reading into own helper func.
|
2022-04-18 10:16:00 +02:00 |
|
Martin Dosch
|
9b9fcedf25
|
Move constants in separate file.
|
2022-04-10 14:01:23 +08:00 |
|
Martin Dosch
|
5fffba3ef8
|
Move IQ structs into separate file.
This will make httpupload.go look a lot cleaner.
|
2022-04-09 11:07:26 +08:00 |
|
Martin Dosch
|
3c9f8fac45
|
Move id function to helpers file.
|
2022-04-09 11:00:38 +08:00 |
|
Martin Dosch
|
8e958aba52
|
Fix typo.
|
2022-04-09 10:54:12 +08:00 |
|
Martin Dosch
|
b4db5512fd
|
Move iq handling functions in separate file.
|
2022-04-09 10:51:34 +08:00 |
|
Martin Dosch
|
f0e4a33700
|
Move iq handling into own function.
|
2022-04-09 10:46:57 +08:00 |
|
Martin Dosch
|
861c3092fc
|
Don't exit if a component returns an IQ error.
|
2022-03-11 00:40:10 +08:00 |
|
Martin Dosch
|
908bc1b753
|
Revert "Added timeout for IQs."
This reverts commit 89c884c3d6 .
|
2022-03-09 22:31:53 +08:00 |
|
Martin Dosch
|
89c884c3d6
|
Added timeout for IQs.
|
2022-03-06 15:25:23 +08:00 |
|
Martin Dosch
|
d51613e0fd
|
Remove unused escaping of filename.
|
2022-02-22 21:59:15 +08:00 |
|
Martin Dosch
|
2c2a576152
|
Improve renaming of files for http-uplad
Characters get replaced by `_` now instead of being removed and
`-`, `_`, `.` and `+` won't be removed anymore. (Thx Holger Weiß)
|
2022-01-29 14:11:52 +01:00 |
|
Martin Dosch
|
fa1356d05d
|
Change file name for http-uploads.
Use alpha numerical names only to workaround
https://github.com/mattn/go-xmpp/issues/132
|
2022-01-29 13:44:00 +01:00 |
|
Kim Alvefur
|
c43fdc3066
|
Use xml.Marshal to safely build HTTP Upload <request>
Am I doing this Go thing correctly?
|
2021-09-12 12:38:54 +02:00 |
|
Martin Dosch
|
063db2769f
|
Xml-escape mimetype in http-upload (thx Zash).
|
2021-09-12 10:07:04 +02:00 |
|
Martin Dosch
|
a52a15e9d1
|
Xml-escape filename in http-upload (thanks Zash).
|
2021-09-12 09:27:20 +02:00 |
|
Martin Dosch
|
ec185d75d7
|
Update copyright year
|
2021-03-03 11:48:27 +01:00 |
|
Martin Dosch
|
756157ca1d
|
Use external package to get proper MIME types
|
2021-01-29 17:12:32 +01:00 |
|
Martin Dosch
|
9ad95a24d5
|
Fix format [gofmt]
|
2021-01-29 16:06:30 +01:00 |
|
Martin Dosch
|
0d26691606
|
Use certain headers provided by http-upload component (thx Zash)
|
2021-01-29 15:03:48 +01:00 |
|
Martin Dosch
|
c0d7514674
|
Check for http status code.
|
2020-04-11 16:08:15 +02:00 |
|
Martin Dosch
|
758cb6a3f2
|
Check IQ replies for type="result".
|
2020-04-10 12:16:57 +02:00 |
|
Martin Dosch
|
6d6de2f03c
|
Remove already done TODO item
|
2020-04-10 11:19:32 +02:00 |
|
Martin Dosch
|
2e3e0e113d
|
Also check to be in the right FORM.
|
2020-04-09 21:13:07 +02:00 |
|
Martin Dosch
|
21983f6555
|
Fix a sed failure in a comment.
|
2020-04-09 20:52:07 +02:00 |
|
Martin Dosch
|
ff90c6b538
|
Update TODO for http upload.
|
2020-04-09 20:49:31 +02:00 |
|
Martin Dosch
|
9702df6c84
|
Propery determine the http-upload max-file-size.
|
2020-04-09 20:42:07 +02:00 |
|
Martin Dosch
|
0d6d4a5479
|
Check if file is exceeding maximum http upload size.
|
2020-04-09 17:54:49 +02:00 |
|
Martin Dosch
|
db2ccee50e
|
Send http-upload in OOB message
|
2020-04-09 16:49:27 +02:00 |
|
Martin Dosch
|
45e69386f4
|
Remove debugging output
|
2020-04-09 15:14:13 +02:00 |
|
Martin Dosch
|
6a781a7b97
|
Add error checks.
|
2020-04-09 15:08:52 +02:00 |
|
Martin Dosch
|
74967028d6
|
Update TODO
|
2020-04-09 15:00:35 +02:00 |
|
Martin Dosch
|
9fd205f90f
|
Add experimental http-upload
|
2020-04-09 14:58:03 +02:00 |
|