Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve costing time report: use seconds if <= 3 minutes | Aaron LI | 2018-02-03 | 1 | -4/+8 |
| | |||||
* | Numba: disable/restrict the Numba JIT usage; needs refactor -> Cython ... | Aaron LI | 2018-02-02 | 1 | -2/+2 |
| | |||||
* | webui: configs.html: Fix a typo and change tag | Aaron LI | 2016-12-07 | 1 | -1/+1 |
| | |||||
* | webui: Use the same "#modal-box" and the "showModal()" function | Aaron LI | 2016-11-28 | 9 | -71/+36 |
| | |||||
* | webui: websocket.js: Get rid of the global variables | Aaron LI | 2016-11-28 | 1 | -63/+101 |
| | |||||
* | webui: main.js: Add the global object "FG21SIM" | Aaron LI | 2016-11-28 | 1 | -1/+2 |
| | |||||
* | webui: Some JavaScript cleanups and refactors | Aaron LI | 2016-11-28 | 5 | -244/+258 |
| | | | | | Credit: "JavaScript: The Good Parts" by Douglas Crockford | ||||
* | webui: Replace jQuery.when() with jQuery.Deferred's .then() | Aaron LI | 2016-11-24 | 1 | -5/+5 |
| | | | | | | | | | | Note that jQuery.when() can NOT promise the ordering of the passed Deferred's. Therefore, chain multiple AJAX requests using ".then()" and ".done()" to keep them ordered. This fixes the configurations loading problem on IE (v11), which calls the "when()" arguments in different orders as Firefox and Chromium, thus leads to the wrong results. | ||||
* | webui: Use new ".getJSONUncached()" instead of ".getJSON()" | Aaron LI | 2016-11-24 | 3 | -7/+7 |
| | |||||
* | webui: Extend jQuery with "getJSONUncached()" | Aaron LI | 2016-11-24 | 1 | -6/+27 |
| | | | | | | | | | | This jQuery extension sent the AJAX GET request but force the requested page NOT to be cached by the browser! NOTE: IE will by default cache the GET request even the contents has changed. Credit: https://stackoverflow.com/a/35130770/4856091 | ||||
* | webui: Update modal box styles | Aaron LI | 2016-11-24 | 2 | -28/+43 |
| | |||||
* | webui: configs.js: Trigger "Enter keypress" event after field updated | Aaron LI | 2016-11-24 | 1 | -6/+9 |
| | | | | | | | | When the value of a configuration field is updated by jQuery ".val()", trigger the "Enter keypress" event to update its related contents, e.g., the resolution note for "common/nside". Remove the wrong "Enter keypress" event triggering on page loading. | ||||
* | webui: configs.html: Add placeholder for several fields | Aaron LI | 2016-11-24 | 1 | -4/+4 |
| | |||||
* | webui: products.js: Support download healpix/hpx products | Aaron LI | 2016-11-24 | 1 | -6/+25 |
| | |||||
* | webui: Bind "ProductsDownloadHandler" to URI "/products/download/" | Aaron LI | 2016-11-24 | 1 | -0/+2 |
| | |||||
* | webui: products.py: Add new "ProductsDownloadHandler" | Aaron LI | 2016-11-24 | 2 | -2/+75 |
| | | | | | This new handler is based on the "StaticFileHandler", and will be used to serve the simulated products for downloading. | ||||
* | webui: main.js: Prevent form submitting on "Enter" press | Aaron LI | 2016-11-24 | 1 | -0/+9 |
| | |||||
* | webui: configs.html: Improve the form layout and styles | Aaron LI | 2016-11-23 | 2 | -33/+49 |
| | |||||
* | webui: main.css: Hide the spinner in "number" input | Aaron LI | 2016-11-23 | 1 | -0/+13 |
| | | | | | | Tested on both Firefox (v45.4) and Chromium (v53.0). Credit: https://stackoverflow.com/a/23374725/4856091 | ||||
* | webui: products: Add the client-side support for opening HPX images | Aaron LI | 2016-11-23 | 2 | -13/+70 |
| | |||||
* | webui: ProductsAJAXHandler: implement the "open" GET action | Aaron LI | 2016-11-23 | 1 | -3/+59 |
| | | | | | The new method "_open_hpx()" is added to open the requested the HPX FITS image using the Python subprocess. | ||||
* | webui: configs.js: Trigger "Enter" after page load on "common/nside" | Aaron LI | 2016-11-23 | 1 | -14/+15 |
| | | | | | Refactor the "click" event handler on "common/nside" to avoid the duplicated code on resolution calculation. | ||||
* | webui: products: Implement GET action "which" | Aaron LI | 2016-11-23 | 2 | -1/+37 |
| | | | | | | | | The "which" GET action try to locate the given executable name/path, in order to check whether the executable callable. This function will be used to check the validity of the specified FITS viewer, which opens the HPX FITS images. | ||||
* | webui: Add "from_localhost" to IndexHandler and products template | Aaron LI | 2016-11-23 | 2 | -1/+15 |
| | |||||
* | webui: utils: Remove three unused functions | Aaron LI | 2016-11-23 | 1 | -97/+0 |
| | |||||
* | webui: WSHandler: remove "check_origin()" and "hosts_allowed" option | Aaron LI | 2016-11-23 | 1 | -43/+0 |
| | |||||
* | webui: products: Implement HPX conversion function | Aaron LI | 2016-11-22 | 3 | -18/+71 |
| | |||||
* | Update the MIT license URL | Aaron LI | 2016-11-22 | 1 | -1/+1 |
| | |||||
* | webui: products.js: Convert file size from bytes to MB | Aaron LI | 2016-11-22 | 1 | -4/+5 |
| | |||||
* | webui: main.js: Add new styles for "products.html" | Aaron LI | 2016-11-22 | 1 | -1/+19 |
| | | | | Also update the ".btn" rule and add the ".btn.btn-small" rule | ||||
* | webui: products: Implement client-side AJAX interactions | Aaron LI | 2016-11-22 | 2 | -0/+290 |
| | |||||
* | webui: Add "ProductsAJAXHandler" to manipulate the products manifest | Aaron LI | 2016-11-22 | 3 | -0/+180 |
| | | | | TODO: some actions currently not implemented yet | ||||
* | webui: Finish the "products.html" page | Aaron LI | 2016-11-22 | 1 | -4/+37 |
| | |||||
* | webui: Update against the improved "showModal()" | Aaron LI | 2016-11-22 | 2 | -16/+16 |
| | |||||
* | webui: main.js: Extend "showModal()" with "title" and "contents" | Aaron LI | 2016-11-22 | 1 | -4/+15 |
| | | | | | * Change original "message" attribute to "title" * Add new attribute "contents" which allow multiple paragraphs | ||||
* | webui: Add "/debug" handler when in debug mode. | Aaron LI | 2016-11-22 | 2 | -0/+10 |
| | |||||
* | webui: Move several generic functions from "configs.js" to "main.js" | Aaron LI | 2016-11-22 | 2 | -47/+47 |
| | |||||
* | webui: configs: Some minor fixes | Aaron LI | 2016-11-22 | 2 | -9/+22 |
| | | | | | | | | * configs.py/_set_configs(): Also return the original data if the input values failed the validation; * setServerConfigs(): Success callback also reset value if the input value failed pass the server-side validation; * getServerConfigs(): Return "undefined" if key does not exists. | ||||
* | webui: configs.html: Add field "output/manifest" | Aaron LI | 2016-11-22 | 1 | -0/+6 |
| | |||||
* | webui: websocket.py: Also push current task status when connected | Aaron LI | 2016-11-21 | 2 | -0/+18 |
| | |||||
* | Update the "process time" to "CPU process time" | Aaron LI | 2016-11-21 | 1 | -2/+2 |
| | |||||
* | webui: configs: Add pixel resolution note for "common/nside" | Aaron LI | 2016-11-19 | 2 | -6/+33 |
| | | | | | | * Calculate pixel resolution note on pressing "Enter" in "common/nside" * Update the pixel resolution note as well as "common/lmax" when "common/nside" changed. | ||||
* | webui: Rename "Results" to "Products" | Aaron LI | 2016-11-19 | 4 | -16/+16 |
| | |||||
* | webui: Minor update the docstring. | Aaron LI | 2016-11-19 | 2 | -2/+6 |
| | |||||
* | webui: Remove jQuery version from its filename | Aaron LI | 2016-11-18 | 2 | -1/+1 |
| | |||||
* | webui: console.py: Fix the wrong import path for "Foregrounds" | Aaron LI | 2016-11-18 | 1 | -1/+1 |
| | |||||
* | webui: configs.js: Fix two bugs | Aaron LI | 2016-11-18 | 1 | -2/+2 |
| | | | | | * Fix the wrong "action=reset" in "setServerConfigs()" * Add the missing "return" in the jQuery AJAX chain | ||||
* | webui: Rename jQuery ".fail()" callback argument "error" to "jqxhr" | Aaron LI | 2016-11-18 | 2 | -21/+21 |
| | |||||
* | webui: console.js: Disable the "Start" button when task started | Aaron LI | 2016-11-18 | 1 | -0/+7 |
| | |||||
* | webui: main.js: Extend jQuery with ".disable()" | Aaron LI | 2016-11-18 | 1 | -1/+16 |
| |