Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-20 | https api: T5844: allow the server to start without API keys | Daniil Baturin | |
and use only PAM auth and JWT (cherry picked from commit 495bf4732439ebd55edfbf6050af8b2064993d86) | |||
2023-12-01 | http-api: T5782: use single config-mode script for https and http-api | John Estabrook | |
2023-12-01 | http-api: T5768: remove auxiliary http-api.conf | John Estabrook | |
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' (cherry picked from commit 36f3c329c2df0e78f2f5da933d9729a872fb2a11) | |||
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. (cherry picked from commit f5e43b1361fb59a9c260739bdb28729d5119507c) | |||
2023-10-10 | http-api: T2612: reload server within configsession for api self-config | John Estabrook | |
(cherry picked from commit 93d2ea7d635c7aa5acf3000654393ea48b7c6405) | |||
2023-10-10 | http-api: T2612: send response before reconfiguring api server | John Estabrook | |
(cherry picked from commit 7d597a6dca15cb592230b349ef7ef565f258cf43) | |||
2023-07-15 | T5195: vyos.util -> vyos.utils package refactoring part #2 | Christian Breunig | |
2023-07-14 | T5195: vyos.util -> vyos.utils package refactoring (#2093) | Christian Breunig | |
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process * T5195: use read_file and write_file implementation from vyos.utils.file Changed code automatically using: find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} + find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} + * T5195: move chmod* helpers to vyos.utils.permission * T5195: use colon_separated_to_dict from vyos.utils.dict * T5195: move is_systemd_service_* to vyos.utils.process * T5195: fix boot issues with missing imports * T5195: move dict_search_* helpers to vyos.utils.dict * T5195: move network helpers to vyos.utils.network * T5195: move commit_* helpers to vyos.utils.commit * T5195: move user I/O helpers to vyos.utils.io | |||
2023-07-12 | T5195: move boot_* helpers to vyos.utils.boot | Christian Breunig | |
2023-06-20 | http-api: T5305: configure operations should not be defined async | John Estabrook | |
2023-06-10 | http-api: T5248: add endpoint /configure-section | John Estabrook | |
2023-06-10 | http-api: T5263: add base model for generalization | John Estabrook | |
2023-06-10 | http-api: T5263: factor out function _configure_op for generalization | John Estabrook | |
2023-06-10 | http-api: T5263: consistent string formatting | John Estabrook | |
2023-06-10 | http-api: T5263: simplify form errors | John Estabrook | |
2023-06-10 | http-api: T5263: path validator should provide message | John Estabrook | |
2023-04-23 | http-api: T5175: check value of attribute for FastAPI>=0.91.0 | John Estabrook | |
FastAPI v0.92.0 (starlette v0.24.0) sets default attribute Request._form; check for value == None instead of existence when overriding Request class. | |||
2023-03-28 | dns: T5115: Support custom port for name servers for forwarding zones. | Indrajit Raychaudhuri | |
This would allow using custom ports in name server operating on non- default port for forwarding zones. This is a follow-up to T5113 for sake of completeness and having consistent treatment of all name servers configured in PowerDNS recursor. Additionally, migrate `service dns forwarding domain example.com server` to `service dns forwarding domain foo3.com name-server` for consistency and reusability. | |||
2023-03-22 | graphql: T5106: generate client ops for composite functions | John Estabrook | |
2023-03-22 | graphql: T5106: generate client ops for configsession functions | John Estabrook | |
2023-03-22 | graphql: T5106: add auth_token client op | John Estabrook | |
2023-03-08 | graphql: T5068: generate client operations for code generation tools | John Estabrook | |
2023-03-05 | op-mode: T5051: interpret Literal types as enums | John Estabrook | |
2023-03-03 | graphql: T5040: use path from defaults | John Estabrook | |
2023-03-01 | graphql: T5040: generate schema in vyos-1x.postinst | John Estabrook | |
2023-03-01 | graphql: T5040: use nullable key field to allow schema static generation | John Estabrook | |
Schema had been dynamically generated, based on configuration setting for authentication. Add nullable field 'key' for static generation of schema regardless of key/token use. | |||
2023-02-26 | graphql: T4979: add user info to token request | John Estabrook | |
2023-02-14 | http-api: T5006: add explicit async to retrieve/configure methods | John Estabrook | |
2023-02-06 | graphql: T4979: add query show_user_info | John Estabrook | |
2023-01-24 | op-mode: T4951: bugfix InsufficientResources SyntaxError: invalid syntax | Christian Breunig | |
Commit b5e90197 ("op mode: T4951: add InsufficientResources error") missed out a comma when extending the op_mode_err_msg dictionary. | |||
2023-01-24 | Merge pull request #1779 from dmbaturin/T4951-resource-error | Christian Breunig | |
op mode: T4951: add InsufficientResources error | |||
2023-01-23 | graphql: T4953: remove convert_kwargs_to_snake_case decorator | John Estabrook | |
2023-01-23 | graphql: T4544: use opmode._is_op_mode_function_name instead of local copy | John Estabrook | |
2023-01-23 | op mode: T4951: add InsufficientResources error | Daniil Baturin | |
2023-01-10 | opmode: T2546: add UnsupportedOperation to op mode errors | Daniil Baturin | |
2023-01-09 | container: T4880: add REST API endpoint for add/delelete/show images | John Estabrook | |
2023-01-09 | container: T4880: include 'add'/'delete' in standard op-mode functions | John Estabrook | |
2022-12-19 | graphql: T4887: interpret all boolean options as nullable | John Estabrook | |
2022-11-21 | graphql: T4574: add specific error message if token has expired | John Estabrook | |
Catch expiration error and return error-specific message instead of general 'not authenticated'. | |||
2022-11-21 | graphql: T4574: use Optional in func_sig | John Estabrook | |
A misreading of the makefun docs seemed to indicate Optional was not supported; it is. | |||
2022-11-21 | graphql: T4544: use load_as_module from vyos.util | John Estabrook | |
load_as_module was added to util.py for T4821; prefer over local copy | |||
2022-11-18 | IPsec: T4828: raise op-mode error on incorrect value | John Estabrook | |
2022-11-16 | Revert "Revert "dns: T4799: fix bug with not reloading powerdns config"" | Christian Poessinger | |
This reverts commit 44df1cea1ebc3296844c5c35cf053a92cda4b944. | |||
2022-11-09 | Revert "dns: T4799: fix bug with not reloading powerdns config" | Christian Poessinger | |
This reverts commit ff09d4f47e5f54fad8258cd27fb0adfaa4c552b3. Process name is actually: <bound method Process.name of psutil.Process(pid=5031, name='pdns-r/worker', status='sleeping', started='08:51:51')> | |||
2022-11-06 | graphql: T4803: allow 'Authorization' header in CORS middleware | John Estabrook | |
2022-11-05 | dns: T4799: fix bug with not reloading powerdns config | initramfs | |
PowerDNS version 4.7 and above has changed the main process name from 'pdns-r/worker' to 'pdns_recursor'. This commit updates the process name check to use the new name. | |||
2022-11-01 | graphql: T4791: decamelize/normalize result of op-mode queries | John Estabrook | |
2022-10-25 | graphql: T4574: set byte length of shared secret from CLI | John Estabrook | |
2022-10-25 | graphql: T4574: set token expiration time in claims | John Estabrook | |