[Kimchi-devel] [PATCH] [Wok 0/4] Add support to relative paths/URLs.

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Thu Oct 6 19:09:37 UTC 2016


From: Paulo Vital <pvital at linux.vnet.ibm.com>

This patch-set adds support on Wok to handle the use of relative paths in 
configuration and command line, by setting the backend to use the new path 
in URL's.

It was necessary update a few SCSS, JS and HTML files to handle, as well,
generate new CSS files and update test cases.
        
This is part of solution to Kimchi issue [1] and Wok issue [2]:
[1] https://github.com/kimchi-project/kimchi/issues/733
[2] https://github.com/kimchi-project/wok/issues/25

Paulo Vital (4):
  Add support to relative paths.
  Fix UI to handle relative paths.
  CSS updates to handle relative path support.
  Update tests with relative path support

 src/nginx/wok.conf.in                  |   6 +-
 src/wok.conf.in                        |   5 +
 src/wok/config.py.in                   |   1 +
 src/wok/model/config.py                |   1 +
 src/wok/proxy.py                       |   8 +-
 src/wok/reqlogger.py                   |   2 +-
 src/wok/server.py                      |   2 +-
 src/wok/utils.py                       |  11 +-
 src/wokd.in                            |   3 +
 tests/test_api.py                      |   3 +-
 tests/test_relative_path.py            |  71 ++++
 tests/utils.py                         |   4 +-
 ui/css/bootstrap.custom.css            | 651 +++++++++++++++++++++++----------
 ui/css/datatables.bootstrap.css        |  10 +-
 ui/css/settings.css                    |  12 +-
 ui/css/src/modules/_wok-variables.scss |   6 +-
 ui/css/wok.css                         |  91 +++--
 ui/pages/tabs/settings.html.tmpl       |   7 +-
 18 files changed, 651 insertions(+), 243 deletions(-)
 create mode 100644 tests/test_relative_path.py

-- 
2.7.4




More information about the Kimchi-devel mailing list