aboutsummaryrefslogtreecommitdiffstats
path: root/imap-send.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-07Merge branch 'js/curl-off-t-fixes'Junio C Hamano1-1/+1
2025-09-26imap-send: be more careful when casting to `curl_off_t`Johannes Schindelin1-1/+1
2025-09-18Merge branch 'ag/send-email-imap-sent'Junio C Hamano1-8/+18
2025-08-12send-email: add ability to send a copy of sent emails to an IMAP folderAditya Garg1-8/+18
2025-07-23config: move Git config parsing into "environment.c"Patrick Steinhardt1-0/+1
2025-07-23config: drop `git_config()` wrapperPatrick Steinhardt1-1/+1
2025-06-20imap-send: improve error messages with configuration hintsJörg Thalheim1-2/+7
2025-06-20imap-send: fix confusing 'store' terminology in error messageJörg Thalheim1-1/+1
2025-06-20Merge branch 'ag/imap-send-resurrection' into jt/imap-send-message-fixJunio C Hamano1-64/+341
2025-06-20imap-send: fix minor mistakes in the logsAditya Garg1-12/+12
2025-06-20imap-send: display the destination mailbox when sending a messageAditya Garg1-2/+4
2025-06-20imap-send: display port alongwith host when git credential is invokedAditya Garg1-1/+1
2025-06-20imap-send: add ability to list the available foldersAditya Garg1-16/+82
2025-06-20imap-send: enable specifying the folder using the command lineAditya Garg1-1/+8
2025-06-20imap-send: add PLAIN authentication method to OpenSSLAditya Garg1-1/+59
2025-06-20imap-send: add support for OAuth2.0 authenticationAditya Garg1-7/+137
2025-06-20imap-send: gracefully fail if CRAM-MD5 authentication is requested without Op...Aditya Garg1-27/+39
2025-06-20imap-send: fix memory leak in case auth_cram_md5 failsAditya Garg1-1/+3
2025-06-20imap-send: fix bug causing cfg->folder being set to NULLAditya Garg1-4/+4
2025-06-04curl: fix integer variable typechecks with curl_easy_setopt()Jeff King1-3/+3
2025-03-25imap-send: explicitly verify the peer certificateJohannes Schindelin1-0/+2
2024-12-18credential: stop using `the_repository`Patrick Steinhardt1-5/+5
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+1
2024-12-04Merge branch 'bc/drop-ancient-libcurl-and-perl'Junio C Hamano1-4/+0
2024-10-24imap: replace atoi() with strtol_i() for UIDVALIDITY and UIDNEXT parsingUsman Akinyemi1-5/+8
2024-10-23git-curl-compat: remove check for curl 7.34.0brian m. carlson1-4/+0
2024-09-20Merge branch 'jk/no-openssl-with-openssl-sha1'Junio C Hamano1-3/+4
2024-09-12imap-send: handle NO_OPENSSL even when openssl existsJeff King1-3/+4
2024-08-26Merge branch 'jk/mark-unused-parameters'Junio C Hamano1-1/+1
2024-08-17imap-send: mark unused parameter in ssl_socket_connect() fallbackJeff King1-1/+1
2024-08-13global: prepare for hiding away repo-less config functionsPatrick Steinhardt1-0/+2
2024-06-07imap-send: free all_msgs strbuf in "out" labelJeff King1-1/+1
2024-06-07Merge branch 'jc/t1517-more' into jk/imap-send-plug-all-msgs-leakJunio C Hamano1-0/+1
2024-06-07imap-send: fix leaking memory in `imap_server_conf`Patrick Steinhardt1-23/+42
2024-06-07imap-send: drop global `imap_server_conf` variablePatrick Steinhardt1-27/+30
2024-06-07global: improve const correctness when assigning string constantsPatrick Steinhardt1-3/+3
2024-06-04imap-send: minimum leakfixJunio C Hamano1-0/+1
2024-05-27config: clarify memory ownership in `git_config_string()`Patrick Steinhardt1-6/+6
2024-05-08Merge branch 'bc/credential-scheme-enhancement'Junio C Hamano1-1/+1
2024-04-16credential: gate new fields on capabilitybrian m. carlson1-1/+1
2024-04-15imap-send: increase command size limitRené Scharfe1-23/+12
2024-04-02imap-send: use xsnprintf to format commandRené Scharfe1-20/+4
2024-02-08Merge branch 'pb/imap-send-wo-curl-build-fix'Junio C Hamano1-0/+1
2024-02-01imap-send: add missing "strbuf.h" include under NO_CURLPhilippe Blain1-0/+1
2024-01-08Merge branch 'en/header-cleanup'Junio C Hamano1-2/+0
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-2/+0
2023-12-20Merge branch 'jk/config-cleanup'Junio C Hamano1-1/+1
2023-12-09config: use config_error_nonbool() instead of custom messagesJeff King1-1/+1
2023-12-09imap-send: don't use git_die_config() inside callbackJeff King1-1/+1
2023-11-26doc: switch links to httpsJosh Soref1-1/+1
2023-11-26doc: update links to current pagesJosh Soref1-1/+1
2023-08-29imap-send: mark unused parameters with NO_OPENSSLJeff King1-2/+8
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-14Merge branch 'jk/imap-send-unused-variable-cleanup'Junio C Hamano1-19/+15
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-07-05imap-send: drop unused fields from imap_cmd_cbJeff King1-4/+0
2023-07-05imap-send: drop unused parameter from imap_cmd_cb callbackJeff King1-3/+3
2023-07-05imap-send: use server conf argument in setup_curl()Jeff King1-12/+12
2023-06-28config: pass kvi to die_bad_number()Glen Choo1-1/+1
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-2/+3
2023-05-17imap-send: include strbuf.hChristian Hesse1-0/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23treewide: remove unnecessary cache.h includes in source filesElijah Newren1-1/+1
2022-04-06Merge branch 'bc/csprng-mktemps'Junio C Hamano1-1/+1
2022-04-06git-compat-util: really support openssl as a source of entropyCarlo Marcelo Arenas Belón1-1/+1
2022-02-24imap-send.c: use designated initializers for "struct imap_server_conf"Ævar Arnfjörð Bjarmason1-11/+1
2021-09-13http: centralize the accounting of libcurl dependenciesÆvar Arnfjörð Bjarmason1-1/+1
2021-08-24Merge branch 'ab/http-drop-old-curl'Junio C Hamano1-4/+0
2021-07-30http: drop support for curl < 7.16.0Jeff King1-4/+0
2021-07-28Merge branch 'ab/attribute-format'Junio C Hamano1-0/+3
2021-07-13*.c static functions: add missing __attribute__((format))Ævar Arnfjörð Bjarmason1-0/+3
2021-07-07imap-send.c: use less verbose strbuf_fread() idiomÆvar Arnfjörð Bjarmason1-14/+2
2021-03-13use CALLOC_ARRAYRené Scharfe1-2/+2
2020-12-01imap-send: parse default git configNicolas Morey-Chaisemartin1-22/+30
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-1/+1
2020-05-11http, imap-send: stop using CURLOPT_VERBOSEJonathan Tan1-1/+1
2019-02-12Merge branch 'nd/imap-send-typofix'Junio C Hamano1-1/+1
2019-02-11imap-send.c: add a missing space in error messageNguyễn Thái Ngọc Duy1-1/+1
2018-12-10style: the opening '{' of a function is in a separate lineNguyễn Thái Ngọc Duy1-1/+2
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-1/+1
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2018-02-22imap-send: rename 'new' variablesBrandon Williams1-7/+7
2017-12-18imap-send: URI encode server folderNicolas Morey-Chaisemartin1-1/+7
2017-11-15Merge branch 'tz/fsf-address-update'Junio C Hamano1-2/+1
2017-11-15Merge branch 'rs/imap-send-next-arg-fix'Junio C Hamano1-2/+13
2017-11-09Replace Free Software Foundation address in license noticesTodd Zullinger1-2/+1
2017-11-03imap-send: handle missing response codes gracefullyRené Scharfe1-1/+1
2017-11-03imap-send: handle NULL return of next_arg()René Scharfe1-1/+12
2017-09-15imap-send: use curl by default when possibleNicolas Morey-Chaisemartin1-3/+3
2017-09-15imap_send: setup_curl: retreive credentials if not set in config fileNicolas Morey-Chaisemartin1-2/+17
2017-09-15imap-send: add wrapper to get server credentials if neededNicolas Morey-Chaisemartin1-14/+20
2017-09-15imap-send: return with error if curl failedNicolas Morey-Chaisemartin1-1/+1
2017-07-12Merge branch 'rs/use-div-round-up'Junio C Hamano1-1/+1
2017-07-10use DIV_ROUND_UPRené Scharfe1-1/+1
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-2/+1
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-2/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-03-30convert unchecked snprintf into xsnprintfJeff King1-1/+1
2016-10-26Merge branch 'jc/cocci-xstrdup-or-null'Junio C Hamano1-4/+2
2016-10-12cocci: refactor common patterns to use xstrdup_or_null()Junio C Hamano1-4/+2
2016-10-10Merge branch 'ak/curl-imap-send-explicit-scheme'Junio C Hamano1-0/+1
2016-08-17imap-send: Tell cURL to use imap:// or imaps://Anders Kaseorg1-0/+1
2016-07-26die("bug"): report bugs consistentlyJohannes Schindelin1-1/+1
2016-07-19Merge branch 'jk/common-main'Junio C Hamano1-5/+1
2016-07-06Merge branch 'ep/http-curl-trace'Junio C Hamano1-0/+1
2016-07-01common-main: call git_setup_gettext()Jeff King1-2/+0
2016-07-01common-main: call git_extract_argv0_path()Jeff King1-2/+0
2016-07-01add an extra level of indirection to main()Jeff King1-1/+1
2016-05-24imap-send.c: introduce the GIT_TRACE_CURL enviroment variableElia Pinto1-0/+1
2016-05-06Merge branch 'ky/imap-send-openssl-1.1.0' into maintJunio C Hamano1-10/+10
2016-04-22Merge branch 'ky/imap-send-openssl-1.1.0'Junio C Hamano1-10/+10
2016-04-13imap-send: fix CRAM-MD5 response calculationKazuki Yamaguchi1-1/+1
2016-04-13imap-send: check for NOLOGIN capability only when using LOGIN commandKazuki Yamaguchi1-5/+5
2016-04-08imap-send: avoid deprecated TLSv1_method()Kazuki Yamaguchi1-5/+4
2016-04-08imap-send: check NULL return of SSL_CTX_new()Kazuki Yamaguchi1-0/+4
2016-04-08imap-send: use HMAC() function provided by OpenSSLKazuki Yamaguchi1-5/+2
2016-02-22use xmallocz to avoid size arithmeticJeff King1-3/+2
2015-10-30Merge branch 'js/imap-send-curl-compilation-fix'Junio C Hamano1-0/+4
2015-10-26imap-send: only use CURLOPT_LOGIN_OPTIONS if it is actually availableJohannes Schindelin1-0/+4
2015-09-25replace trivial malloc + sprintf / strcpy calls with xstrfmtJeff King1-3/+2
2015-03-10imap-send: use cURL automatically when NO_OPENSSL definedKyle J. McKay1-2/+15
2015-01-06imap-send.c: set CURLOPT_USE_SSL to CURLUSESSL_TRYKyle J. McKay1-2/+2
2015-01-06imap-send.c: support GIT_CURL_VERBOSEKyle J. McKay1-1/+1
2014-11-10git-imap-send: use libcurl for implementationBernhard Reiter1-26/+154
2014-11-05imap-send: use parse options API to determine verbosityBernhard Reiter1-10/+18
2014-09-19Merge branch 'as/calloc-takes-nmemb-then-size'Junio C Hamano1-1/+1
2014-09-11Merge branch 'br/imap-send-simplify-tunnel-child-process'Junio C Hamano1-10/+9
2014-09-11Merge branch 'rs/child-process-init'Junio C Hamano1-1/+1
2014-09-11Merge branch 'ta/config-set-2'Junio C Hamano1-34/+26
2014-09-09Merge branch 'tf/imap-send-create'Junio C Hamano1-50/+31
2014-09-03calloc() and xcalloc() takes nmemb and then sizeArjun Sreedharan1-1/+1
2014-09-02imap-send: simplify v_issue_imap_cmd() and get_cmd_result() using starts_with()René Scharfe1-2/+2
2014-08-25imap-send: create target mailbox if it is missingTony Finch1-50/+31
2014-08-20imap-send.c: imap_folder -> imap_server_conf.folderBernhard Reiter1-5/+5
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-1/+1
2014-08-18git-imap-send: simplify tunnel constructionBernhard Reiter1-3/+2
2014-08-07imap-send.c: replace `git_config()` with `git_config_get_*()` familyTanay Abhra1-34/+26
2014-06-20imap-send: use skip_prefix instead of using magic numbersTanay Abhra1-5/+1
2014-06-16Merge branch 'bg/xcalloc-nmemb-then-size'Junio C Hamano1-1/+1
2014-05-27imap-send.c: rearrange xcalloc argumentsBrian Gesiak1-1/+1
2014-04-29imap-send: use git-credentialDan Albert1-19/+26
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-5/+5
2013-07-30imap-send: use Apple's Security framework for base64 encodingJeremy Huddleston1-14/+0
2013-05-21imap-send: eliminate HMAC deprecation warnings on Mac OS XDavid Aguilar1-0/+10
2013-03-21Merge branch 'ob/imap-send-ssl-verify'Junio C Hamano1-0/+11
2013-02-20imap-send: support Server Name Indication (RFC4366)Junio C Hamano1-0/+11
2013-02-19Sync with v1.8.1.4Junio C Hamano1-2/+65
2013-02-19Merge branch 'ob/imap-send-ssl-verify' into maintJunio C Hamano1-2/+65
2013-02-19imap-send: support subjectAltName as wellOswald Buddenhagen1-0/+19
2013-02-19imap-send: the subject of SSL certificate must match the hostOswald Buddenhagen1-0/+39
2013-02-18imap-send: move #ifdef aroundJunio C Hamano1-2/+7
2013-01-15imap-send.c: simplify logic in lf_to_crlf()Michael Haggerty1-29/+23
2013-01-15imap-send.c: fold struct store into struct imap_storeMichael Haggerty1-11/+7
2013-01-15imap-send.c: remove unused field imap_store::uidvalidityMichael Haggerty1-1/+0
2013-01-15imap-send.c: use struct imap_store instead of struct storeMichael Haggerty1-10/+9
2013-01-15imap-send.c: remove unused field imap_store::trashncMichael Haggerty1-2/+0
2013-01-15imap-send.c: remove namespace fields from struct imapMichael Haggerty1-66/+9
2013-01-15imap-send.c: remove struct imap argument to parse_imap_list_l()Michael Haggerty1-36/+3
2013-01-15imap-send.c: inline parse_imap_list() in parse_list()Michael Haggerty1-7/+2
2013-01-15imap-send.c: remove some unused fields from struct storeMichael Haggerty1-12/+13
2013-01-15imap-send.c: remove struct messageMichael Haggerty1-26/+0
2013-01-15imap-send.c: remove struct store_confMichael Haggerty1-11/+0
2013-01-15iamp-send.c: remove unused struct imap_store_confMichael Haggerty1-5/+0
2013-01-15imap-send.c: remove struct msg_dataMichael Haggerty1-11/+7
2013-01-15imap-send.c: remove msg_data::flags, which was always zeroMichael Haggerty1-37/+3
2012-12-02wrap_in_html(): process message in bulk rather than line-by-lineMichael Haggerty1-20/+13
2012-11-29wrap_in_html(): use strbuf_addstr_xml_quoted()Michael Haggerty1-19/+4
2012-11-29imap-send: change msg_data from storing (ptr, len) to storing strbufMichael Haggerty1-45/+47
2012-11-26imap-send: correctly report errors reading from stdinMichael Haggerty1-2/+7
2012-11-26imap-send: store all_msgs as a strbufMichael Haggerty1-14/+9
2012-11-26lf_to_crlf(): NUL-terminate msg_data::dataMichael Haggerty1-1/+6
2012-04-30remove superfluous newlines in error messagesPete Wyckoff1-1/+1
2012-02-05Sync with 1.7.6.6Junio C Hamano1-23/+0
2012-02-05Sync with 1.7.6.6Junio C Hamano1-23/+0
2012-02-05imap-send: remove dead codeJeff King1-23/+0
2011-12-22Merge branch 'jk/git-prompt'Junio C Hamano1-7/+5
2011-12-19Merge branch 'ab/enable-i18n'Junio C Hamano1-0/+2
2011-12-12move git_getpass to its own source fileJeff King1-0/+1
2011-12-12imap-send: don't check return value of git_getpassJeff King1-4/+0
2011-12-12imap-send: avoid buffer overflowJeff King1-3/+4
2011-12-05i18n: add infrastructure for translating Git with gettextÆvar Arnfjörð Bjarmason1-0/+2
2011-11-23Merge branch 'maint' into tj/imap-send-remove-unusedJunio C Hamano1-633/+876
2011-11-23imap-send: Remove unused 'use_namespace' variableThomas Jarosch1-1/+0
2011-04-11sparse: Fix some "Using plain integer as NULL pointer" warningsRamsay Jones1-2/+2
2011-03-22Fix sparse warningsStephen Boyd1-1/+1
2010-08-09imap-send: Fix sprintf usageÆvar Arnfjörð Bjarmason1-4/+8
2010-05-31enums: omit trailing comma for portabilityGary V. Vaughan1-1/+1
2010-04-03Merge branch 'rr/imap-send-unconfuse-from-line'Junio C Hamano1-1/+7
2010-03-28imap-send: suppress warning about cleartext password with CRAM-MD5Chris Webb1-3/+3
2010-03-24imap-send: Remove limitation on message bodyRamkumar Ramachandra1-1/+7
2010-03-20Merge branch 'fl/askpass'Junio C Hamano1-1/+1
2010-03-04git-core: Support retrieving passwords with GIT_ASKPASSFrank Li1-1/+1
2010-03-02Merge branch 'hm/maint-imap-send-crlf' into maintJunio C Hamano1-1/+39
2010-03-02Merge branch 'hm/imap-send-cram-md5'Junio C Hamano1-15/+131
2010-02-21Merge branch 'hm/maint-imap-send-crlf'Junio C Hamano1-1/+39
2010-02-17imap-send: support CRAM-MD5 authenticationHitoshi Mitake1-15/+131
2010-02-12git-imap-send: Convert LF to CRLF before storing patch to draft boxHitoshi Mitake1-1/+39
2010-02-08Merge branch 'maint'Junio C Hamano1-7/+8