Commit Graph
100 Commits
Author SHA1 Message Date
Batuhan Taskaya d9e1dc08c9 Package man pages into the deb packages as well. (#1403) 2022-05-16 18:19:49 +03:00
Batuhan Taskaya 3b734fb0bc Fix a misput backtick 2022-05-16 10:10:51 +03:00
Batuhan Taskaya 7fd34fc8ce Fix-up standalone binary docs. (#1396) 2022-05-09 19:22:20 +03:00
Batuhan Taskaya 69fe5dbfd1 Update release-linux-standalone.yml 2022-05-09 11:46:19 +03:00
Batuhan Taskaya f09e7564e7 Standalone binary documentation. 2022-05-09 09:01:59 +03:00
Batuhan Taskaya dc5274e491 Use the proper directory name for the choco action. (#1392)
* Use the proper directory name for the choco action.

* Refresh the current environment to reflect the new installation.
2022-05-06 20:47:40 +03:00
Batuhan Taskaya ad2b86ccf4 Update the chocolatey spec (#1391) 2022-05-06 19:47:55 +03:00
Batuhan Taskaya 11b2af0f59 Automatically attach debian packages and linux binaries to the release (#1390)
* Automatically attach debian packages and linux binaries to the release

* Use set-output syntax
2022-05-06 15:40:14 +03:00
Batuhan Taskaya b54239b525 Changelog for 3.2.1 2022-05-06 10:08:16 +03:00
Batuhan Taskaya b0b0f3dc53 Mask the stdout/stderr for the inner daemon process on MacOS (#1389) 2022-05-06 10:06:59 +03:00
Batuhan Taskaya 5e76ebc5e1 Use make install to get the dependencies as well 2022-05-05 23:44:17 +03:00
Batuhan Taskaya 343a521673 Create the virtual env for the build action. 2022-05-05 23:40:39 +03:00
Batuhan Taskaya 2142ae60c3 Final release prep for 3.2.0 (#1387) 2022-05-05 23:32:35 +03:00
Batuhan Taskaya 0b6a9b23c2 Add missing changelog entries (#1386) 2022-05-05 23:18:00 +03:00
Batuhan Taskaya 9e1c0b98c7 Contributors for 3.2.0 (#1374) 2022-05-05 11:19:19 -07:00
Batuhan TaskayaandJakub Roztocil 003f2095d4 Automatic release update warnings. (#1336)
* Hide pretty help

* Automatic release update warnings.

* `httpie cli check-updates`

* adapt to the new loglevel construct

* Don't make the pie-colors the bold

* Apply review feedback.

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2022-05-05 11:18:20 -07:00
Batuhan Taskaya f9b5c2f696 Man page fixes (#1364)
- Highlighting for options (-x, --x) now doesn't strip the prefix (may be whitespace).
- Escape sequences are now cross-platform compatible (directly taken by groff/troff [man's renderer])
- Now we check for the section before displaying the man pages.
- On MacOS, there is HTTP(n) which is different from our HTTP(1). This used to conflict with it, and we showed the wrong page. Now we specifically ask foir HTTP(1).
- Errors that might happen (e.g non executable man command) is now suppressed. So in the worst case (if anything regarding man execution goes wrong), we'll always display the manual.
- Docs for man pages.
- HTTPie man pages.
- Epilog for the man pages (see also)
- Auto-generated comments.
2022-05-05 11:17:37 -07:00
Batuhan Taskaya 76495cbdec Hide pretty help (#1384) 2022-05-05 11:17:24 -07:00
Batuhan Taskaya c4d7d05f3b Don't make bold the default for pie themes (#1385) 2022-05-05 11:17:12 -07:00
Batuhan Taskaya 7a4fb5d966 Update installation instructions for debian (#1373) 2022-05-05 08:40:52 -07:00
Batuhan TaskayaandJakub Roztocil f7c1bb269e Refactor palette (#1378)
* Refactor palette

* Modifiers / change static strings to colors

* Colors...

* Error-based tests

* Styling linting

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2022-05-05 08:17:05 -07:00
Batuhan Taskaya 0f9fd76852 Deprecate --history-print (#1380) 2022-05-03 06:29:02 -07:00
Batuhan Taskaya af1d6b1853 Use sentence case for the group names in the parser (#1381) 2022-05-03 06:28:46 -07:00
Batuhan Taskaya 419cc2c34a Skip on pyOpenSSL (#1376) 2022-04-28 05:18:20 -07:00
Batuhan Taskaya 79a8ecd84b Disable PackIt CI on the PRs (#1375) 2022-04-28 11:59:08 +03:00
Batuhan Taskaya dd2c9513f3 Single binary executables (#1330)
* Single binary executables / DEB packages.

* Attach single binary executables to the releases
2022-04-14 08:11:12 -07:00
Batuhan TaskayaandJakub Roztocil 278dfc487d Don't block users with the warning thread. (#1350)
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2022-04-14 08:00:53 -07:00
Batuhan Taskaya ff6f1887b0 [Major] UI Enhancements (#1321)
* Refactor tests to use a text-based standard output. (#1318)

* Implement new style `--help` (#1316)

* Implement man page generation (#1317)

* Implement rich progress bars. (#1324)

* Man page deployment & isolation. (#1325)

* Remove all unsorted usages in the CLI docs

* Implement isolated mode for man page generation

* Add a CI job for autogenerated files

* Distribute man pages through PyPI

* Pin the date for man pages. (#1326)

* Hide suppressed arguments from --help/man pages (#1329)

* Change download spinner to line (#1328)

* Regenerate autogenerated files when pushed against to master. (#1339)

* Highlight options (#1340)

* Additional man page enhancements (#1341)

* Group options by the parent category & highlight -o/--o

* Display (and underline) the METAVAR on man pages.

* Make help message processing more robust (#1342)

* Inherit `help` from `short_help`

* Don't mirror short_help directly.

* Fixup the serialization

* Use `pager` and `man` on `--manual` when applicable (#1343)

* Run `man $program` on --manual

* Page the output of `--manual` for systems that lack man pages

* Improvements over progress bars (separate bar, status line, etc.) (#1346)

* Redesign the --help layout.

* Make our usage of rich compatible with 9.10.0

* Add `HTTPIE_NO_MAN_PAGES`

* Make tests also patch os.get_terminal_size

* Generate CLI spec from HTTPie & Man Page Hook (#1354)

* Generate CLI spec from HTTPie & add man page hook

* Use the full command space for the option headers
2022-04-14 07:43:10 -07:00
Batuhan TaskayaandJakub Roztocil 86f4bf4d0a Add support for sending secure cookies over localhost (#1327)
* Add support for sending secure cookies over localhost

* Refactor

* Fix the CI

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2022-04-14 07:42:05 -07:00
Batuhan Taskaya e6d0bfec7c Use the raw request version when the original is not accessible (#1352) 2022-04-14 07:41:12 -07:00
Batuhan Taskaya 9f1ec6d5cc Limit concurrency of our test workflow (#1353) 2022-04-14 07:38:28 -07:00
Batuhan TaskayaandJakub Roztocil d03e3f4e14 Implement support for multiple headers with the same name in sessions (#1335)
* Properly remove duplicate Cookie headers

* Implement support for multiple headers with the same name in sessions

* More testing

* Cleanup

* Remove duplicated test, cleanup

* Fix pycodestyle

* CHANGELOG

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2022-04-03 06:48:31 -07:00
Batuhan TaskayaandJakub Roztocil c157948531 Add httpie cli plugins in favor of the new cli namespace. (#1320)
* Add `httpie cli plugins` in favor of the new cli namespace.

* Separate each task to individual modules.

* Move httpie.manager.plugins to httpie.manager.tasks.plugins

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2022-04-03 06:06:42 -07:00
Batuhan Taskaya 33ea977b64 Don't send Content-Length for OPTIONS requests when there is no data. (#1319) 2022-04-03 06:02:41 -07:00
Batuhan Taskaya d1596dde12 Ping werkzeug to <2.1.0 (#1345) 2022-04-01 14:28:59 +03:00
Batuhan Taskaya a5288f0cd6 Integrate automatic releases. (#1315) 2022-03-09 15:26:51 +03:00
Batuhan Taskaya 8efa7cb04d Add table headers for upgrade flags (#1314) 2022-03-08 16:43:09 +03:00
Batuhan Taskaya baec1b2202 Update chocolatey for release 2022-03-08 02:29:21 +03:00
Batuhan Taskaya 266c6375c6 Release prep for 3.1.0 (#1313) 2022-03-08 01:50:09 +03:00
Batuhan Taskaya 77af4c7a5c Decouple parser definition from argparse (#1293) 2022-03-08 01:34:04 +03:00
Batuhan Taskaya 7509dd4e6c Fix documentation styling errors. 2022-03-07 23:29:48 +03:00
Batuhan Taskaya f08c1bee17 Change error messages to use a better format. 2022-03-07 23:29:48 +03:00
Batuhan Taskaya 395914fb4d Apply suggestions from the review 2022-03-07 23:29:48 +03:00
Batuhan Taskaya 65ab7d5caa Implement new style cookies 2022-03-07 23:29:48 +03:00
Batuhan Taskaya b5623ccc87 Fix the tests with the latest layout 2022-03-07 19:16:51 +03:00
Batuhan Taskaya 350abe3033 Make the naked invocation display a compacted help 2022-03-07 19:16:51 +03:00
Batuhan Taskaya 9241a09360 Mention about interactive prompt on key passphrases 2022-03-07 16:09:07 +03:00
Batuhan Taskaya 15013fd609 Implement support for private key passphrases 2022-03-07 16:09:07 +03:00
Batuhan Taskaya 98688b2f2d Style fix on the changelog 2022-03-07 16:01:29 +03:00
Batuhan Taskaya 5ac05e9514 Add changelog entry 2022-03-07 16:01:29 +03:00
Batuhan Taskaya b0f5b8ab26 Prevent data race happening between select.select and file.read() 2022-03-07 16:01:29 +03:00
Batuhan Taskaya 55087a901e Introduce a mode to suppress all warnings (#1283) 2022-03-07 15:40:35 +03:00
Batuhan TaskayaandJakub Roztocil 25bd817bb2 Fix displaying of status code without a status message. (#1301)
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2022-03-03 08:28:04 -08:00
Batuhan Taskaya ad613f29d2 Add a changelog entry for the top-level array regulation 2022-02-25 12:51:34 +03:00
Batuhan Taskaya 225dccb218 Regulate top-level arrays (#1292)
* Redesign the starting path

* Do not cast `:=[1,2,3]` to a top-level array
2022-02-08 15:18:40 -08:00
Batuhan Taskaya cafa11665b Disable additional repos 2022-02-08 12:49:33 +03:00
Batuhan Taskaya 0a9d3d3c54 Fix the packit syntax 2022-02-08 12:49:33 +03:00
Batuhan Taskaya e306667436 Leave a note for the local spec 2022-02-08 12:49:33 +03:00
Batuhan Taskaya 384d3869f6 Update the local copy fore 3.0.2 2022-02-08 12:49:33 +03:00
Batuhan Taskaya 5fd48e3137 Use the lastest fedora spec in the packit 2022-02-08 12:49:33 +03:00
Batuhan Taskaya 37ef670876 Update copyright year 2022-02-05 22:09:44 +03:00
Batuhan Taskaya 46e782bf75 Point package to 3.0.2 2022-02-05 22:09:44 +03:00
Batuhan Taskaya 42edb1eb76 Use 3.0.0 blog post as the changelog 2022-02-05 22:09:44 +03:00
Batuhan Taskaya d45f413f12 Make the version point to 3.0.3.dev0 (#1291) 2022-02-03 01:47:06 -08:00
Batuhan Taskaya f1ea486025 Fix escaping of integer indexes with multiple backslashes (#1288) 2022-02-01 02:10:55 -08:00
Batuhan TaskayaandNilushan Costa 7abddfe350 Mark stdin warning related tests with requires_external_processes (#1289)
* Mark test_stdin_read_warning with requires_installation

* Mark stdin tests with requires_external_processes

Co-authored-by: Nilushan Costa <19643850+nilushancosta@users.noreply.github.com>
2022-02-01 01:52:07 -08:00
Batuhan Taskaya c03f081a7e Finish off the naming 2022-01-26 12:51:10 +03:00
Batuhan Taskaya a7d8187b21 Proper naming for the release runs 2022-01-26 12:50:22 +03:00
Batuhan Taskaya fc383e9b78 Add names to the CI runners 2022-01-26 12:49:27 +03:00
Batuhan Taskaya 770df02291 Add level parameter to the snap releaser (#1282) 2022-01-26 12:44:24 +03:00
Batuhan Taskaya 559134de0a Release 3.0.2 (#1281) 2022-01-24 21:20:17 +03:00
Batuhan Taskaya 813e8864a1 Dont apply default options on the httpie command (#1280)
* Mark tests with requires_installation

* Dont apply default options on the httpie command

* lint
2022-01-24 10:13:47 -08:00
Batuhan Taskaya 45fcd746d7 docs: format the benchmark docs 2022-01-24 18:20:03 +03:00
Batuhan Taskaya d5e3611e85 fix lint errors 2022-01-24 18:17:55 +03:00
Batuhan Taskaya 378a1f513e Document the pyOpenSSL option 2022-01-24 18:17:55 +03:00
Batuhan Taskaya df6843b15a docs: add --{local, target}-{repo, branch} / format 2022-01-24 18:17:55 +03:00
Batuhan Taskaya 640901146f docs: document the --fresh option 2022-01-24 18:17:55 +03:00
Batuhan Taskaya 6b5d96da72 Describe the usage for benchmarks 2022-01-24 18:17:55 +03:00
Batuhan Taskaya 97bd9c2a89 docs: add requirements 2022-01-24 18:17:55 +03:00
Batuhan Taskaya 708608e1d4 docs: mention about the runners 2022-01-24 18:17:55 +03:00
Batuhan Taskaya d56a1f216e docs: give a brief description 2022-01-24 18:17:55 +03:00
Batuhan Taskaya 738a6bea57 docs: fix the title to benchmarking infrastructure 2022-01-24 18:17:55 +03:00
Batuhan Taskaya ec521c461b docs: add initial benchmark docs 2022-01-24 18:17:55 +03:00
Batuhan Taskaya 212000199e docs: fix the nested json example (#1278) 2022-01-24 18:00:54 +03:00
Batuhan Taskaya 8a03b7a824 Update the contributors (#1275) 2022-01-22 17:25:00 -08:00
Batuhan Taskaya b3f29c8d1e Display the latest docs (#1274) 2022-01-21 22:15:55 +03:00
Batuhan Taskaya c97fe64a37 Update brew with 3.0 (#1273) 2022-01-21 21:08:33 +03:00
Batuhan Taskaya 88140422a9 3.0 release prep (#1272) 2022-01-21 20:34:38 +03:00
Batuhan Taskaya cd877a5e08 Remove 3.6 support / discontinue less available platforms (#1267)
* Remove redundant systems

* Drop it from the docs

* Remove the packaging info about the legacy systems

* Fix some typos

* Drop support for python 3.6
2022-01-14 08:49:05 -08:00
Batuhan Taskaya 87629706c9 Change the default style for windows from fruity to auto (#1268) 2022-01-14 08:47:10 -08:00
Batuhan Taskaya 3856f94d3d Update the brew file 2022-01-14 13:27:19 +03:00
Batuhan Taskaya dc30919893 use constants 2022-01-13 19:54:43 +03:00
Batuhan Taskaya fb82f44cd1 Use enums 2022-01-13 19:54:43 +03:00
Batuhan Taskaya eb4e32ca28 A few edits 2022-01-13 19:54:43 +03:00
Batuhan Taskaya 980bd59e29 Rewrite the docs 2022-01-13 19:54:43 +03:00
Batuhan Taskaya 2cda966384 Implement escaped integers 2022-01-13 19:54:43 +03:00
Batuhan Taskaya 7bf373751d Implement HTTPie Nested JSON v2 2022-01-13 19:54:43 +03:00
Batuhan Taskaya 21faddc4b9 Proper separation of meta/body 2022-01-13 15:04:44 +03:00
Batuhan Taskaya c126bc11c7 Make the stdin wait tests more reliable 2022-01-13 15:04:30 +03:00
Batuhan Taskaya 00c859c51d Add warnings when there is no incoming data from stdin (#1256)
* Add warnings when there is no incoming data from stdin

* Pass os.environ as well

* Apply suggestions
2022-01-12 06:07:34 -08:00