Commit Graph

  • 9761b81b84 implement server state/signal handling, depend on tokio-signal Dietmar Maurer 2019-04-08 12:21:29 +0200
  • 71d03f1ef4 src/tools/file_logger.rs: fix test Dietmar Maurer 2019-04-06 11:24:37 +0200
  • ff995ce0e1 src/server.rs: improve crate layout Dietmar Maurer 2019-04-06 09:17:25 +0200
  • e3e5ef3929 src/tools/file_logger.rs: new - accept AsRef<Path> Dietmar Maurer 2019-04-03 14:13:33 +0200
  • 1ee4442d87 src/tools/file_logger.rs: change timestamp format to rfc3339 Dietmar Maurer 2019-04-03 08:58:43 +0200
  • edc588857e add global var to indicate server shutdown requests Dietmar Maurer 2019-04-01 12:03:47 +0200
  • c76ceea941 src/server/rest.rs: use formatter to encode errors Dietmar Maurer 2019-04-01 08:04:12 +0200
  • 24c023fe47 src/server/rest.rs: generate csrf token if we have a valid ticket Dietmar Maurer 2019-04-01 07:52:30 +0200
  • 022b626bc0 src/server/rest.rs: correctly extract content type Dietmar Maurer 2019-03-19 12:50:15 +0100
  • 50e95f7c39 daemon: simplify daemon creation Wolfgang Bumiller 2019-03-18 14:13:44 +0100
  • 3aa2dbc857 tools: daemon: rename some structs Wolfgang Bumiller 2019-03-18 13:44:37 +0100
  • 14ed3eb57c tools: implement ReexecContinue for tokio's TcpListener Wolfgang Bumiller 2019-03-18 11:52:04 +0100
  • 66c138a51a tools: daemon: add a default signalfd helper Wolfgang Bumiller 2019-03-18 11:50:10 +0100
  • 946995d984 tools: add daemon helpers Wolfgang Bumiller 2019-03-12 10:40:25 +0100
  • 6dd8bfb84b src/tools/ticket.rs: define const TICKET_LIFETIME Dietmar Maurer 2019-03-05 12:52:39 +0100
  • b9febc5f1c src/tools/file_logger.rs: class to log into files Dietmar Maurer 2019-03-01 09:34:29 +0100
  • 9b4e1de1c0 rc/server/rest.rs: allow to pass parameters as application/json Dietmar Maurer 2019-02-27 12:12:00 +0100
  • 3dc99a5049 cleanup Wolfgang Bumiller 2019-02-18 13:21:25 +0100
  • 435615a34a src/server/rest.rs: correctly insert NoLogExtension() Dietmar Maurer 2019-02-18 06:54:12 +0100
  • bc6fa1684e src/server/rest.rs: get_index() include username and CSRF token Dietmar Maurer 2019-02-17 18:50:40 +0100
  • c4c7466024 src/server/rest.rs: factor our normalize_path() Dietmar Maurer 2019-02-17 17:31:53 +0100
  • fce8be6fe1 src/server/rest.rs: improve logs for unauthorized request Dietmar Maurer 2019-02-17 17:18:44 +0100
  • b1c1c468ee improve api_schema module structure Dietmar Maurer 2019-02-17 10:16:33 +0100
  • 304bfa59a8 rename src/api to src/api_schema Dietmar Maurer 2019-02-17 09:59:20 +0100
  • 124b26b892 cleanup auth code, verify CSRF prevention token Dietmar Maurer 2019-02-16 15:52:55 +0100
  • 1aff635a23 server/rest.rs: add method to log message Dietmar Maurer 2019-02-15 10:16:12 +0100
  • 1314000db7 server/rest.rs: log full error messages Dietmar Maurer 2019-02-15 09:55:12 +0100
  • 8daf9fd839 server/rest.rs: use a protocol extension to avoid double log Dietmar Maurer 2019-02-14 16:04:24 +0100
  • 9bbd574fba avoid double logging of proxied requests Dietmar Maurer 2019-02-14 13:28:41 +0100
  • e683d9ccb7 src/server/rest.rs: log failed requests Dietmar Maurer 2019-02-14 13:07:34 +0100
  • 50ff21da59 src/client/http_client.rs: try to login Dietmar Maurer 2019-02-13 14:31:43 +0100
  • fe3b25029b remove some rather inconvenient debug output Wolfgang Bumiller 2019-02-04 15:34:38 +0100
  • 9707fdadd7 implement relead_timezone flag Dietmar Maurer 2019-02-01 09:54:56 +0100
  • 5d63509787 delay unauthorized request (rate limit) Dietmar Maurer 2019-01-31 14:34:21 +0100
  • 8f75d998be move http error class to router.rs Dietmar Maurer 2019-01-31 13:22:30 +0100
  • 0ef7c190e1 server/rest.rs: verify auth cookie Dietmar Maurer 2019-01-31 12:22:00 +0100
  • 200b5b87ea Utils.js: fix cookie handling Dietmar Maurer 2019-01-31 10:08:08 +0100
  • 1701fd9bd4 api2/access.rs: add ticket api Dietmar Maurer 2019-01-30 15:14:20 +0100
  • c4f2b212c5 server/rest.rs: simplify proxy code Dietmar Maurer 2019-01-28 18:22:16 +0100
  • 8ec1299ab3 server/rest.rs: implement proxy_sync_api_request Dietmar Maurer 2019-01-28 18:06:42 +0100
  • 1aa3b197a6 server/rest.rs: add proxy_sync_api_request() dummy Dietmar Maurer 2019-01-28 17:30:39 +0100
  • 4e5a5728cb server/formatter.rs: fix extjs error format Dietmar Maurer 2019-01-28 13:44:48 +0100
  • 08e45e3573 src/bin/proxmox-backup-proxy.rs: implement unpriviledged server Dietmar Maurer 2019-01-28 13:17:03 +0100
  • 42e06fc5ca RpcEnvironment: implement set_user() and get_user() Dietmar Maurer 2019-01-27 10:42:45 +0100
  • 23db39488f RpcEnvironment: add environment type enum RpcEnvironmentType Dietmar Maurer 2019-01-27 10:33:42 +0100
  • 084ccdd590 also pass rpcenv to async handlers Dietmar Maurer 2019-01-27 10:18:52 +0100
  • a0a545c720 move rpc environment implementation to separate files Dietmar Maurer 2019-01-26 15:08:02 +0100
  • 32f3db27bd api: pass RpcEnvirnment to api handlers Dietmar Maurer 2019-01-26 14:50:37 +0100
  • b1be01218a server/rest.rs: fake login cookie Dietmar Maurer 2019-01-23 12:49:10 +0100
  • c643065864 rename api3 back to api2 Dietmar Maurer 2019-01-22 12:10:38 +0100
  • e35404deb7 remove crate tokio-codec (seems to be part of tokio now) Dietmar Maurer 2019-01-20 14:28:06 +0100
  • 85722a8492 api/router.rs: rename ApiUploadMethod to ApiAsyncMethod Dietmar Maurer 2019-01-19 16:42:43 +0100
  • 6e219aefd3 api3/admin/datastore/upload_catar.rs: verify content type ("application/x-proxmox-backup-catar") Dietmar Maurer 2019-01-17 12:43:29 +0100
  • 90e1d858e0 api/router.rs: return Result in upload handler Dietmar Maurer 2019-01-17 12:03:38 +0100
  • 148b327e63 server/rest.rs: correctly pass query/url parameters Dietmar Maurer 2019-01-16 13:58:36 +0100
  • c36fa61287 api3/admin/datastore/upload_catar.rs: implement upload future Dietmar Maurer 2019-01-15 11:38:26 +0100
  • c1582dcf39 api/router.rs: allow different types of api methods Dietmar Maurer 2019-01-14 12:26:04 +0100
  • ac1397dedb rest: rename utf-8-checked 'bytes' to 'utf8' Wolfgang Bumiller 2019-01-08 14:22:43 +0100
  • 3cd4bb8a63 rest: don't copy the body Wolfgang Bumiller 2019-01-08 14:21:54 +0100
  • 2ad4db5d13 simplify formatter code Dietmar Maurer 2018-12-05 18:22:56 +0100
  • 53acf7490b add output formatter Dietmar Maurer 2018-12-05 12:42:25 +0100
  • 0f30b2b4c4 move src/api/server.rs -> src/server/rest.rs Dietmar Maurer 2018-12-05 10:16:23 +0100
  • fc45b741cb start the GUI Dietmar Maurer 2018-12-04 17:53:10 +0100
  • 185f4301dc set content type for static file download Dietmar Maurer 2018-12-02 11:00:52 +0100
  • 4892b32829 fix file download, listen to 0.0.0.0 Dietmar Maurer 2018-12-01 15:21:25 +0100
  • b53007523d remove www/pbs-index.html.tt, hardcode into rust for now Dietmar Maurer 2018-12-01 13:37:49 +0100
  • dd4b1a797b router: no need to use Fn (fn also works for static closures) Dietmar Maurer 2018-11-16 11:12:00 +0100
  • 1716112285 handle uri parameters correctly Dietmar Maurer 2018-11-16 09:15:33 +0100
  • 5106bbc70e allow closure handlers Dietmar Maurer 2018-11-15 17:47:59 +0100
  • 1ac1f7fd24 cleanup module names Dietmar Maurer 2018-11-15 17:07:10 +0100