Fish Trophy

Ying Chen got a fish trophy!

HUE-8139 [desktop] Get a mode to allow easy profiling of requests

Review Request #12721 - Created March 27, 2018 and submitted

Ying Chen
hue
master
HUE-8139
hue
enricoberti, jgauthier, johan, ranade, romain, weixia
commit 727ab1aaca3dd4813cdce1f30b334270c9704387
Author: Ying Chen <yingchen@cloudera.com>
Date:   Mon Mar 26 12:27:50 2018 -0700

    HUE-8139 [desktop] Get a mode to allow easy profiling of requests
      * add django-debug-toolbar-1.3.2 and django-debug-panel-0.8.3 (AJAX debug)
      * to use debug panel, user need to install https://chrome.google.com/webstore/detail/django-debug-panel/nbiajhhibgfgkjegbnflpdccejocmbbn
      * copy static files to desktop/core/src/desktop/static/debug_toolbar/ and desktop/core/src/desktop/templates/debug_toolbar/
      * fix django-debug-toolbar v1.3 conflict with sqlparse-0.2.0 https://github.com/jazzband/django-debug-toolbar/issues/856
      * add configurations to desktop/core/src/desktop/settings.py and desktop/core/src/desktop/urls.py
      * fix 401 for non-superuser at desktop/core/src/desktop/middleware.py
      * add enable_django_debug_tool and django_debug_tool_users to hue.ini for configuration control

:100644 100644 99fe8b04e8... a1a088d592... M	desktop/conf.dist/hue.ini
:100644 100644 e560f66224... feb7a57bcb... M	desktop/conf/pseudo-distributed.ini.tmpl
:000000 100644 0000000000... 99aba68fa8... A	desktop/core/ext-py/django-debug-panel-0.8.3/LICENSE
:000000 100644 0000000000... 3e3b1fda8f... A	desktop/core/ext-py/django-debug-panel-0.8.3/MANIFEST.in
:000000 100644 0000000000... 7cf3ecf82e... A	desktop/core/ext-py/django-debug-panel-0.8.3/PKG-INFO
:000000 100644 0000000000... 83e4815658... A	desktop/core/ext-py/django-debug-panel-0.8.3/README.rst
:000000 100644 0000000000... e69de29bb2... A	desktop/core/ext-py/django-debug-panel-0.8.3/debug_panel/__init__.py
:000000 100644 0000000000... 4fdd03ac13... A	desktop/core/ext-py/django-debug-panel-0.8.3/debug_panel/cache.py
:000000 100644 0000000000... 1b0fa5fdc6... A	desktop/core/ext-py/django-debug-panel-0.8.3/debug_panel/middleware.py
:000000 100644 0000000000... db3c71ee8c... A	desktop/core/ext-py/django-debug-panel-0.8.3/debug_panel/templates/debug-data-unavailable.html
:000000 100644 0000000000... 97c0c01bfb... A	desktop/core/ext-py/django-debug-panel-0.8.3/debug_panel/urls.py
:000000 100644 0000000000... ddae4392a9... A	desktop/core/ext-py/django-debug-panel-0.8.3/debug_panel/views.py
:000000 100644 0000000000... 861a9f5542... A	desktop/core/ext-py/django-debug-panel-0.8.3/setup.cfg
:000000 100644 0000000000... ded99cca9c... A	desktop/core/ext-py/django-debug-panel-0.8.3/setup.py
:000000 100644 0000000000... 15d830926b... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/LICENSE
:000000 100644 0000000000... fedd1d4726... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/MANIFEST.in
:000000 100644 0000000000... 8f9c6f73a7... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/PKG-INFO
:000000 100644 0000000000... 05679d8b90... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/README.rst
:000000 100644 0000000000... be51a7e947... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/__init__.py
:000000 100644 0000000000... 1894a407bd... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/apps.py
:000000 100644 0000000000... d181221943... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/compat.py
:000000 100644 0000000000... 260ace99ea... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/ca/LC_MESSAGES/django.mo
:000000 100644 0000000000... 5de03a1151... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/ca/LC_MESSAGES/django.po
:000000 100644 0000000000... 3a2db0fb4c... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/cs/LC_MESSAGES/django.mo
:000000 100644 0000000000... 26b6cdbdc2... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/cs/LC_MESSAGES/django.po
:000000 100644 0000000000... b3d52c2048... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/de/LC_MESSAGES/django.mo
:000000 100644 0000000000... 6ba6974f34... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/de/LC_MESSAGES/django.po
:000000 100644 0000000000... 18bc8c95f4... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/en/LC_MESSAGES/django.mo
:000000 100644 0000000000... baebc70190... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/en/LC_MESSAGES/django.po
:000000 100644 0000000000... 0706dbe52e... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/es/LC_MESSAGES/django.mo
:000000 100644 0000000000... f7d763e1ef... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/es/LC_MESSAGES/django.po
:000000 100644 0000000000... 4b9ff457bb... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/fi/LC_MESSAGES/django.mo
:000000 100644 0000000000... 7e27b07d4c... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/fi/LC_MESSAGES/django.po
:000000 100644 0000000000... 74f7470f17... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/fr/LC_MESSAGES/django.mo
:000000 100644 0000000000... 586811144b... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/fr/LC_MESSAGES/django.po
:000000 100644 0000000000... 08c8cd4a33... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/he/LC_MESSAGES/django.mo
:000000 100644 0000000000... 66f13742ff... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/he/LC_MESSAGES/django.po
:000000 100644 0000000000... c22845abe9... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/id/LC_MESSAGES/django.mo
:000000 100644 0000000000... 8589fb5f66... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/id/LC_MESSAGES/django.po
:000000 100644 0000000000... 25867d6b02... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/it/LC_MESSAGES/django.mo
:000000 100644 0000000000... 4f98f919a2... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/it/LC_MESSAGES/django.po
:000000 100644 0000000000... 043aedede1... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/nl/LC_MESSAGES/django.mo
:000000 100644 0000000000... 07b95546b9... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/nl/LC_MESSAGES/django.po
:000000 100644 0000000000... 6c1c791423... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/pl/LC_MESSAGES/django.mo
:000000 100644 0000000000... 0d674f1aa5... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/pl/LC_MESSAGES/django.po
:000000 100644 0000000000... aa6f9951fa... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/pt/LC_MESSAGES/django.mo
:000000 100644 0000000000... 038fdec7bc... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/pt/LC_MESSAGES/django.po
:000000 100644 0000000000... 808c489ae9... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/pt_BR/LC_MESSAGES/django.mo
:000000 100644 0000000000... ed25331b60... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/pt_BR/LC_MESSAGES/django.po
:000000 100644 0000000000... de94dc75c5... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/ru/LC_MESSAGES/django.mo
:000000 100644 0000000000... 3615b0ca7b... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/ru/LC_MESSAGES/django.po
:000000 100644 0000000000... a26e3cc7b8... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/sk/LC_MESSAGES/django.mo
:000000 100644 0000000000... 2c8a9c7e30... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/sk/LC_MESSAGES/django.po
:000000 100644 0000000000... ae733443df... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/sv_SE/LC_MESSAGES/django.mo
:000000 100644 0000000000... 0c8b2e897c... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/sv_SE/LC_MESSAGES/django.po
:000000 100644 0000000000... 6ea928e1b4... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/uk/LC_MESSAGES/django.mo
:000000 100644 0000000000... 9a642f6942... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/uk/LC_MESSAGES/django.po
:000000 100644 0000000000... 0dad769483... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/zh_CN/LC_MESSAGES/django.mo
:000000 100644 0000000000... 521d577617... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/locale/zh_CN/LC_MESSAGES/django.po
:000000 100644 0000000000... e69de29bb2... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/management/__init__.py
:000000 100644 0000000000... e69de29bb2... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/management/commands/__init__.py
:000000 100644 0000000000... 4bc2f8d448... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/management/commands/debugsqlshell.py
:000000 100644 0000000000... 60c521ff6c... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/middleware.py
:000000 100644 0000000000... 1874748804... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/models.py
:000000 100644 0000000000... 76febd2ff9... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/__init__.py
:000000 100644 0000000000... 6e799dee09... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/cache.py
:000000 100644 0000000000... 48c9b9e414... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/headers.py
:000000 100644 0000000000... b451019cd1... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/logging.py
:000000 100644 0000000000... 8ee3d6f782... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/profiling.py
:000000 100644 0000000000... 4e5858bf54... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/redirects.py
:000000 100644 0000000000... b5caa52309... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/request.py
:000000 100644 0000000000... 54afd23e5f... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/settings.py
:000000 100644 0000000000... 3ec54d8389... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/signals.py
:000000 100644 0000000000... 88a916ed23... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/sql/__init__.py
:000000 100644 0000000000... 58a4dbab82... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/sql/forms.py
:000000 100644 0000000000... 07b1848104... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/sql/panel.py
:000000 100644 0000000000... f2bc8a7e3d... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/sql/tracking.py
:000000 100644 0000000000... 43c325a349... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/sql/utils.py
:000000 100644 0000000000... 5c7d590930... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/sql/views.py
:000000 100644 0000000000... 93dbd74947... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/staticfiles.py
:000000 100644 0000000000... 96908e2a80... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/templates/__init__.py
:000000 100644 0000000000... 1f763e20c0... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/templates/panel.py
:000000 100644 0000000000... eb3fcf8cdb... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/templates/views.py
:000000 100644 0000000000... 741f57af61... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/timer.py
:000000 100644 0000000000... f1ea56f0a4... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/panels/versions.py
:000000 100644 0000000000... 763e3ababa... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/settings.py
:000000 100644 0000000000... c9241e90ba... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/css/print.css
:000000 100644 0000000000... aab48c0b6d... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/css/toolbar.css
:000000 100644 0000000000... a7c3f2bacb... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/img/ajax-loader.gif
:000000 100644 0000000000... aef96c126e... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/img/back.png
:000000 100644 0000000000... 2ce3edaf80... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/img/back_hover.png
:000000 100644 0000000000... ce4317f2f7... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/img/close.png
:000000 100644 0000000000... 6b4d96e86d... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/img/close_hover.png
:000000 100644 0000000000... a05d3afa3a... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/img/djdt_vertical.png
:000000 100644 0000000000... 828a6c01c4... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/img/indicator.png
:000000 100644 0000000000... 085495a651... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/js/jquery_existing.js
:000000 100644 0000000000... d94e6755ae... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/js/jquery_post.js
:000000 100644 0000000000... d941996684... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/js/jquery_pre.js
:000000 100644 0000000000... 3132d6872d... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/js/toolbar.js
:000000 100644 0000000000... 2389bace91... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/js/toolbar.profiling.js
:000000 100644 0000000000... 109a74d0ef... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/js/toolbar.sql.js
:000000 100644 0000000000... 01ac8a4af7... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/js/toolbar.template.js
:000000 100644 0000000000... 0c0f4a5bb2... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/static/debug_toolbar/js/toolbar.timer.js
:000000 100644 0000000000... a2eb054ad3... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/base.html
:000000 100644 0000000000... 014e5f6216... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/cache.html
:000000 100644 0000000000... 6b43e94a4c... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/headers.html
:000000 100644 0000000000... 3908f4fea6... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/logging.html
:000000 100644 0000000000... 73100162c3... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/profiling.html
:000000 100644 0000000000... 1cea669cb0... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/request.html
:000000 100644 0000000000... f6b5afe8fc... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/settings.html
:000000 100644 0000000000... ac32f3735c... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/signals.html
:000000 100644 0000000000... 5eca2bc2c6... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/sql.html
:000000 100644 0000000000... 0fa30ab736... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
:000000 100644 0000000000... e5813c6c5b... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html
:000000 100644 0000000000... 50cd0b1cf4... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/sql_select.html
:000000 100644 0000000000... 95c9ec8716... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/staticfiles.html
:000000 100644 0000000000... 7914f2ed41... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/template_source.html
:000000 100644 0000000000... 8792397ae4... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/templates.html
:000000 100644 0000000000... c622d5923e... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/timer.html
:000000 100644 0000000000... 2c614f11c9... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/panels/versions.html
:000000 100644 0000000000... 365fb482a2... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templates/debug_toolbar/redirect.html
:000000 100644 0000000000... e69de29bb2... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templatetags/__init__.py
:000000 100644 0000000000... 50040962d6... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/templatetags/debug_toolbar_compat.py
:000000 100644 0000000000... 6d7d0694e7... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/toolbar.py
:000000 100644 0000000000... 8cfc02f1d6... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/utils.py
:000000 100644 0000000000... 9b5b3fe6a4... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/debug_toolbar/views.py
:000000 100644 0000000000... a007881cf2... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/setup.cfg
:000000 100644 0000000000... 0a1920e864... A	desktop/core/ext-py/django-debug-toolbar-1.3.2/setup.py
:100644 100644 1e021118b0... d27b375ae8... M	desktop/core/src/desktop/conf.py
:100644 100644 23b6b93536... 1129537dd7... M	desktop/core/src/desktop/middleware.py
:100644 100644 db89c9dfb0... d6bf9201b4... M	desktop/core/src/desktop/settings.py
:000000 100644 0000000000... db3c71ee8c... A	desktop/core/src/desktop/static/debug-data-unavailable.html
:000000 100644 0000000000... c9241e90ba... A	desktop/core/src/desktop/static/debug_toolbar/css/print.css
:000000 100644 0000000000... aab48c0b6d... A	desktop/core/src/desktop/static/debug_toolbar/css/toolbar.css
:000000 100644 0000000000... a7c3f2bacb... A	desktop/core/src/desktop/static/debug_toolbar/img/ajax-loader.gif
:000000 100644 0000000000... aef96c126e... A	desktop/core/src/desktop/static/debug_toolbar/img/back.png
:000000 100644 0000000000... 2ce3edaf80... A	desktop/core/src/desktop/static/debug_toolbar/img/back_hover.png
:000000 100644 0000000000... ce4317f2f7... A	desktop/core/src/desktop/static/debug_toolbar/img/close.png
:000000 100644 0000000000... 6b4d96e86d... A	desktop/core/src/desktop/static/debug_toolbar/img/close_hover.png
:000000 100644 0000000000... a05d3afa3a... A	desktop/core/src/desktop/static/debug_toolbar/img/djdt_vertical.png
:000000 100644 0000000000... 828a6c01c4... A	desktop/core/src/desktop/static/debug_toolbar/img/indicator.png
:000000 100644 0000000000... fad9ab1237... A	desktop/core/src/desktop/static/debug_toolbar/jquery/2.1.4/jquery.min.js
:000000 100644 0000000000... 085495a651... A	desktop/core/src/desktop/static/debug_toolbar/js/jquery_existing.js
:000000 100644 0000000000... d94e6755ae... A	desktop/core/src/desktop/static/debug_toolbar/js/jquery_post.js
:000000 100644 0000000000... d941996684... A	desktop/core/src/desktop/static/debug_toolbar/js/jquery_pre.js
:000000 100644 0000000000... 3132d6872d... A	desktop/core/src/desktop/static/debug_toolbar/js/toolbar.js
:000000 100644 0000000000... 2389bace91... A	desktop/core/src/desktop/static/debug_toolbar/js/toolbar.profiling.js
:000000 100644 0000000000... 109a74d0ef... A	desktop/core/src/desktop/static/debug_toolbar/js/toolbar.sql.js
:000000 100644 0000000000... 01ac8a4af7... A	desktop/core/src/desktop/static/debug_toolbar/js/toolbar.template.js
:000000 100644 0000000000... 0c0f4a5bb2... A	desktop/core/src/desktop/static/debug_toolbar/js/toolbar.timer.js
:000000 100644 0000000000... a2eb054ad3... A	desktop/core/src/desktop/templates/debug_toolbar/base.html
:000000 100644 0000000000... 014e5f6216... A	desktop/core/src/desktop/templates/debug_toolbar/panels/cache.html
:000000 100644 0000000000... 6b43e94a4c... A	desktop/core/src/desktop/templates/debug_toolbar/panels/headers.html
:000000 100644 0000000000... 3908f4fea6... A	desktop/core/src/desktop/templates/debug_toolbar/panels/logging.html
:000000 100644 0000000000... 73100162c3... A	desktop/core/src/desktop/templates/debug_toolbar/panels/profiling.html
:000000 100644 0000000000... 1cea669cb0... A	desktop/core/src/desktop/templates/debug_toolbar/panels/request.html
:000000 100644 0000000000... f6b5afe8fc... A	desktop/core/src/desktop/templates/debug_toolbar/panels/settings.html
:000000 100644 0000000000... ac32f3735c... A	desktop/core/src/desktop/templates/debug_toolbar/panels/signals.html
:000000 100644 0000000000... 5eca2bc2c6... A	desktop/core/src/desktop/templates/debug_toolbar/panels/sql.html
:000000 100644 0000000000... 0fa30ab736... A	desktop/core/src/desktop/templates/debug_toolbar/panels/sql_explain.html
:000000 100644 0000000000... e5813c6c5b... A	desktop/core/src/desktop/templates/debug_toolbar/panels/sql_profile.html
:000000 100644 0000000000... 50cd0b1cf4... A	desktop/core/src/desktop/templates/debug_toolbar/panels/sql_select.html
:000000 100644 0000000000... 95c9ec8716... A	desktop/core/src/desktop/templates/debug_toolbar/panels/staticfiles.html
:000000 100644 0000000000... 7914f2ed41... A	desktop/core/src/desktop/templates/debug_toolbar/panels/template_source.html
:000000 100644 0000000000... 8792397ae4... A	desktop/core/src/desktop/templates/debug_toolbar/panels/templates.html
:000000 100644 0000000000... c622d5923e... A	desktop/core/src/desktop/templates/debug_toolbar/panels/timer.html
:000000 100644 0000000000... 2c614f11c9... A	desktop/core/src/desktop/templates/debug_toolbar/panels/versions.html
:000000 100644 0000000000... 365fb482a2... A	desktop/core/src/desktop/templates/debug_toolbar/redirect.html
:100644 100644 0abeb51644... f6b41efa1c... M	desktop/core/src/desktop/urls.py
:100644 100644 583a5227ba... 2bb4cd922c... M	ext/thirdparty/README.md


  • 0
  • 0
  • 8
  • 1
  • 9
Description From Last Updated
  1. Nice!

    Mostly some nits and need to test on a remote host.

    In the commit message:
    Could you list the two commits/changes to make it work with our Django?
    Could you add a note that the static files needs to be copied?

  2. desktop/core/src/desktop/settings.py (Diff revision 1)
     
     

    Could we add this one only in debug mode?

    What would be its ideal position in the list of middlewares?

  3. desktop/core/src/desktop/settings.py (Diff revision 1)
     
     
     

    Not needed here it seems?

  4. desktop/core/src/desktop/settings.py (Diff revision 1)
     
     

    What does it do?

    Would it still work when accessing a remote Hue?

  5. desktop/core/src/desktop/settings.py (Diff revision 1)
     
     
     
     
     
     

    Maybe just append in position 1 in MIDDLEWARE_CLASSES?

  6. desktop/core/src/desktop/urls.py (Diff revision 1)
     
     

    Could this import be on top?

  7. desktop/core/src/desktop/urls.py (Diff revision 1)
     
     

    Add a comment that the static files needed to be copied?

  8. 
      
  1. Great one!

    And a follow up would be to add it to the admin doc page + blog post

  2. desktop/core/src/desktop/settings.py (Diff revisions 1 - 2)
     
     

    Remove now?

  3. desktop/core/src/desktop/settings.py (Diff revisions 1 - 2)
     
     

    is_user_allowed = list_allowed_users[0] != '' and request.user.username not in list_allowed_users

    (and can remove is_user_allowed = True)

  4. desktop/core/src/desktop/urls.py (Diff revisions 1 - 2)
     
     

    Should this be reverted to be safe?

    1. It is needed for this:
          url(r'^__debug__/', include(debug_toolbar.urls)),
  5. 
      
Review request changed

Status: Closed (submitted)

Loading...