pgadmin4/web/pgadmin/utils
Ashesh Vashi fd3ddbeafb Implementation of the client side 'url_for(...)' function.
Created a url_for function module to be used by different javascript
modules to use the same functionality of flask at client side.

A python module can expose the list of endpoints, used by its
javascripts, by overriding the 'get_exposed_url_endpoints(self)'
function.

In this patch, we have modified all the browser modules to use this
function. It will allow us to move the majority of the javascript
modules of browser nodes from templates directory to the static
directory.

TODO::
- Move these javascripts modules to the static directory.
- Use this function in all the applicable javascript modules.
  e.g. tools, miscellaneous modules
2017-06-12 12:01:25 +05:30
..
driver Fix the handling of double precision[] type. Fixes #1928 2017-06-08 14:50:51 +01:00
sqlautocomplete Revert code cleanup that wasn't 2.6 compatible. 2017-03-27 21:27:17 -04:00
tests Improvements to the Query Results grid: 2017-06-08 13:31:36 +01:00
__init__.py Implementation of the client side 'url_for(...)' function. 2017-06-12 12:01:25 +05:30
ajax.py Format JSON more efficiently. This can significantly reduce response sizes from the server. 2017-01-06 14:09:36 +00:00
crypto.py Various encoding fixes. Fixes #2160 2017-02-16 11:00:40 +00:00
exception.py Update copyright notices for 2017. 2017-01-04 13:33:32 +00:00
html.py Ensure object names are properly escaped for external process management. Fixes #2405 2017-05-15 13:01:12 +01:00
menu.py Update copyright notices for 2017. 2017-01-04 13:33:32 +00:00
paths.py Import config only when needed, it was causing cyclic dependency when 2017-03-07 16:07:10 +05:30
preferences.py Replace all occurrences of "can not" with "cannot". 2017-04-05 13:38:14 +01:00
route.py Make feature test app teardown more reliable, and tests faster 2017-03-01 13:20:06 +00:00
session.py Resolved quite a few file-system encoding/decoding related cases. 2017-03-07 15:31:03 +05:30
versioned_template_loader.py Initial support for PG 10.0, per #2214 2017-04-24 13:55:29 +01:00