Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-21 | T5767: HTTPS API add reboot and poweroff endpoints | Viacheslav Hletenko | |
Add ability to reboot and poweroff the system via API curl -k --location --request POST 'https://vyos/reboot' \ --form data='{"op": "reboot", "path": ["now"]}' \ --form key='apikey' curl -k --location --request POST 'https://vyos/poweroff' \ --form data='{"op": "poweroff", "path": ["now"]}' \ --form key='apikey' | |||
2023-11-20 | http: T5762: api: make API socket backend communication the one and only default | Christian Breunig | |
Why: Smoketests fail as they can not establish IPv6 connection to uvicorn backend server. https://github.com/vyos/vyos-1x/pull/2481 added a bunch of new smoketests. While debugging those failing, it was uncovered, that uvicorn only listens on IPv4 connections vyos@vyos# netstat -tulnp | grep 8080 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN - As the CLI already has an option to move the API communication from an IP to a UNIX domain socket, the best idea is to make this the default way of communication, as we never directly talk to the API server but rather use the NGINX reverse proxy. | |||
2023-10-09 | http-api: T2612: reload server within configsession for api self-config | John Estabrook | |
2023-03-31 | http-api: T5126: allow restricting client IP address | John Estabrook | |
2023-02-24 | Merge pull request #1848 from sever-sever/T5029 | Christian Breunig | |
T5029: Change nginx default root directory | |||
2023-02-24 | T5029: Change nginx default root directory | Viacheslav Hletenko | |
2023-02-24 | T5029: Fix Regex for nginx to find a better match | Viacheslav Hletenko | |
2023-01-09 | container: T4880: add REST API endpoint for add/delelete/show images | John Estabrook | |
2022-05-26 | http-api: T4442: Add action reset | Viacheslav Hletenko | |
Add action 'reset' (op-mode) for HTTP-API http://localhost/reset curl --unix-socket /run/api.sock -X POST -Fkey=mykey \ -Fdata='{"op": "reset", "path": ["ip", "bgp", "192.0.2.14"]}' \ http://localhost/reset | |||
2022-05-01 | http: api: T4353: fix Jinja2 linting errors | Christian Poessinger | |
2022-04-13 | http: api: T4333: migrate to new vyos_defined Jinja2 test | Christian Poessinger | |
2022-04-11 | Revert "https: T4333: migrate to new vyos_defined Jinja2 test" | Christian Poessinger | |
This reverts commit 77bbf766e8023e73df1c3c1360f607a4d94727fd. | |||
2022-04-10 | https: T4333: migrate to new vyos_defined Jinja2 test | Christian Poessinger | |
2022-04-07 | http api: T4347: return complete and consistent error codes | John Estabrook | |
2022-01-06 | https: T4146: do not listen on port 80 | John Estabrook | |
2021-12-26 | http: api: T4055: add VRF support | Christian Poessinger | |
2021-12-13 | http-api: T4071: allow API to bind to unix domain socket | John Estabrook | |
2021-12-06 | https: T4055: add vrf support | Christian Poessinger | |
2021-09-06 | https: T2230: only support TLS1.2 and TLS1.3 | Christian Poessinger | |
2021-08-13 | nginx: T3740: use bracketize_ipv6 Jinja2 filter on server address | Christian Poessinger | |
2021-08-06 | http-api: T2768: example using GraphQL for high-level config operations | John Estabrook | |
2021-08-06 | Revert "http-api: T2768: example using GraphQL for high-level config operations" | John Estabrook | |
This reverts commit a2b959c50c96698da173b9c4720369a51442cc5c. | |||
2021-08-06 | http-api: T2768: example using GraphQL for high-level config operations | John Estabrook | |
2021-07-22 | pki: https: T3642: Migrate HTTPS to use PKI configuration | sarthurdev | |
2021-03-26 | http api: T3412: use FastAPI as web framework; support application/json | John Estabrook | |
Replace the Flask micro-framework with FastAPI, in order to support extensions to the API and OpenAPI 3.* generation. This change will remain backwards compatible with previous versions. Notably, the multipart forms version of requests remain supported; in addition application/json requests are now natively supported. | |||
2021-02-26 | https: T3357: redirect http request on non-standard https port | John Estabrook | |
2020-10-29 | T3029 Correct generated nginx content | Cédric Jeanneret | |
The redirection was using the wrong variable ($server_name), making the browser going to https://_ instead of the right variable. | |||
2020-08-26 | https: T2830: update to use get_config_dict | John Estabrook | |
2020-08-19 | https: T2815: adjust for change in certbot config directory | John Estabrook | |
2020-04-08 | http api: T2252: increase proxy_read_timeout for image management | John Estabrook | |
2020-04-07 | http api: T2160: Fix error message when api proxy restricted. | John Estabrook | |
2020-04-05 | https: T2230: convert template from dos to unix line endings | Christian Poessinger | |
2020-04-05 | https: T2230: move inlined templates to dedicated files | Christian Poessinger | |