1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-06 23:44:43 -04:00
Commit Graph

729 Commits

Author SHA1 Message Date
Witold Filipczyk
5ca979844b [Makefiles] Added --with-libcurl configure option 2023-07-02 14:49:51 +02:00
Witold Filipczyk
36b802251d [curl] Ask for password for http 2023-07-01 09:29:55 +02:00
Witold Filipczyk
9389e2f903 [curl] Send username and password in http 2023-07-01 09:07:22 +02:00
Witold Filipczyk
008eacef69 [curl] no verify 2023-06-30 16:30:44 +02:00
Witold Filipczyk
e734a41df9 [curl] Show error also for FTP 2023-06-30 16:13:00 +02:00
Witold Filipczyk
df4a2bedbf [curl] Display curl error 2023-06-30 15:57:39 +02:00
Witold Filipczyk
62c42d41e3 [curl] redirect also for 302 2023-06-29 19:52:24 +02:00
Witold Filipczyk
e3fae6e678 [curl] Added bool option "protocol.http.use_curl" 2023-06-29 16:39:17 +02:00
Witold Filipczyk
6860965646 [curl] HTTP_USERAGENT 2023-06-29 16:26:20 +02:00
Witold Filipczyk
5a697f8457 [curl] free list 2023-06-29 16:11:49 +02:00
Witold Filipczyk
cbd811b4fb [curl] http POST with file uploads, reused code from http/post.c 2023-06-29 16:03:36 +02:00
Witold Filipczyk
fc6f1278eb [curl] Try HTTP3
Does not work for me.
2023-06-29 10:46:09 +02:00
Witold Filipczyk
502d726580 [curl] plain POST (not file uploads) 2023-06-28 16:45:38 +02:00
Witold Filipczyk
4a7cfb8778 Merge branch 'master' into http2 2023-06-28 12:40:56 +02:00
Witold Filipczyk
c6dfd4a55e [test] Compilation fix 2023-06-28 12:33:25 +02:00
Witold Filipczyk
9bf5494a6a [curl] ACCEPT_ENCODING "" 2023-06-25 19:00:26 +02:00
Witold Filipczyk
5e35e906dc [curl] Begining of curl's http 2023-06-25 18:21:35 +02:00
Witold Filipczyk
651e4e72e8 [config] curl's ftp related code requires libevent. Refs #240
It does not compile with libev.
2023-06-22 20:07:08 +02:00
Witold Filipczyk
e69168c58a [ftp] Added bool option "protocol.ftp.use_curl" 2023-06-22 19:39:13 +02:00
Witold Filipczyk
16a3732382 [curl] Removed blocking code 2023-06-21 19:35:13 +02:00
Witold Filipczyk
e53f7d8286 [sftp] Restart connection and add / in case of error 2023-06-21 19:32:06 +02:00
Witold Filipczyk
285fe378b5 [ftpes] Non-blocking way to add '/' to directory. 2023-06-21 19:25:48 +02:00
Witold Filipczyk
5c0e8fb889 [sftp] Workaround for symlink to directory
Won't work for files with 4096 bytes size, or bigger directories.
2023-06-21 17:47:41 +02:00
Witold Filipczyk
430c3fea93 [ftpes] Check existence of file in blocking way 2023-06-21 17:24:36 +02:00
Witold Filipczyk
2f32ca5611 [curl] Check g.multi 2023-06-20 09:30:14 +02:00
Witold Filipczyk
a2a06df24a [curl] NOPROGRESS 2023-06-20 09:25:33 +02:00
Witold Filipczyk
853e8c544e [curl] Store estimated length for ftpes and sftp. 2023-06-20 08:51:34 +02:00
Witold Filipczyk
c3943a441f [ftp] done_ftpes function for cleanup 2023-06-19 21:50:50 +02:00
Witold Filipczyk
a67188413c [lists] LIST_HEAD -> LIST_HEAD_EL to not clash with libevent's LIST_HEAD. Also added curl implementation of ftpes and sftp
Implementation of ftpes and sftp is based on curl's hiperfifo example. It requires libevent.
ftpes only encrypts control channel. There were problems when both control and data were encrypted. It stucked on SIZE.
Only successful connections work, errors are not handled properly.
2023-06-19 18:43:53 +02:00
Witold Filipczyk
b7bb7fc403 [sftp] Copy-paste (fork and curl)
Did not test with keys. User/password works on test connection.
2023-06-17 19:06:43 +02:00
Witold Filipczyk
6b04aff968 [ftpes] Test ftpes implementation (fork and curl).
Explicit FTP over TLS. Works, but it is slow.
2023-06-17 17:48:45 +02:00
Witold Filipczyk
dc37be3b60 [uri] Encode only bytes with highest bit set. Refs #226
It is not good, but before it was worse.
Characters like ? and = were encoded.
2023-04-27 14:28:19 +02:00
Witold Filipczyk
9ac7f48f19 [test] Removed gettext from dependencies. Refs #218 2023-04-24 09:32:10 +02:00
Witold Filipczyk
7a665d8de4 [uri] Introduced function encode_uri_string_percent. Refs #221
This function is similar to encode_uri_string, but does not
encode percents.
2023-04-23 15:05:58 +02:00
Witold Filipczyk
060abde3d6 [config] Changed in more places ~/.elinks -> ~/.config/elinks 2023-01-26 12:41:46 +01:00
Witold Filipczyk
acf7527624 [idn] Back to idn2_to_ascii_8z
Previous function did not work under DOS for me.
2023-01-03 17:16:03 +01:00
Witold Filipczyk
8cb69b3832 [meson] libidn2 2023-01-02 17:09:24 +01:00
Robert Scheck
b8ae8297e8 Port ELinks to libidn2
Bug: https://bugzilla.redhat.com/1098789
2023-01-02 09:28:34 +01:00
Witold Filipczyk
f03d1ea44d [meson] Do not build test programs by default
If you want run tests, pass -Dtest=true to meson
and run "meson test" at the end.
2022-11-30 10:17:49 +01:00
Witold Filipczyk
294732babc [test] compilation fixes 2022-11-21 19:09:50 +01:00
Witold Filipczyk
f1f18ace45 [document] Try to set system charset. 2022-11-10 13:25:37 +01:00
Witold Filipczyk
c086cbe26e [color] Removed code related to draw_text_node
This idea failed. Code was slow.
2022-10-16 15:18:34 +02:00
Witold Filipczyk
3276cb75a1 [tests] compilation fix 2022-10-13 15:53:54 +02:00
Witold Filipczyk
a801578d27 [tests] fixes 2022-10-08 11:05:15 +02:00
Witold Filipczyk
6e83bbf23c [tests] build_by_default: false for executables.
It does not work, but this as a meson issue.
2022-10-07 19:56:54 +02:00
Witold Filipczyk
917378f766 [tests] should_fail not needed 2022-10-07 15:53:20 +02:00
Witold Filipczyk
caf277ff3f [tests] cheat in get-translated-uri test with leading // 2022-10-07 15:34:32 +02:00
Witold Filipczyk
58387c5a50 [tests] sh -> bash in test-ftp-parser 2022-10-06 18:28:34 +02:00
Witold Filipczyk
0b8230863d [tests] added dom tests, some of them fail 2022-10-05 19:43:27 +02:00
Witold Filipczyk
92e9ab116a [tests] temprary should_fail 2022-10-05 18:36:28 +02:00