*** vishalmanchanda has quit IRC | 00:18 | |
*** spatel has joined #openstack-horizon | 01:27 | |
*** btully has joined #openstack-horizon | 01:59 | |
*** btully has quit IRC | 02:03 | |
*** spatel has quit IRC | 02:31 | |
*** spatel has joined #openstack-horizon | 02:34 | |
*** spatel has quit IRC | 02:48 | |
*** xinranwang has joined #openstack-horizon | 03:05 | |
Nizars | I am exploring the idea of contributing with an angular upgrade for Horizon. I am looking at the source code but I wonder where I can find the previous discussions of Horizon's updates so I can make more sense of some of the stuff. | 05:00 |
---|---|---|
Nizars | I am new to open source contribution but I thought this could be an interesting project for me to work on during the summer. | 05:01 |
*** vishalmanchanda has joined #openstack-horizon | 05:45 | |
*** gyee has quit IRC | 06:07 | |
*** xinranwang has quit IRC | 06:44 | |
*** dklyle has quit IRC | 06:48 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata https://review.opendev.org/726051 | 07:29 |
*** tosky has joined #openstack-horizon | 07:31 | |
*** rpittau|afk is now known as rpittau | 07:47 | |
amotoki | Nizars: hi, thanks for your interest. what do you mean by "the previous discussions of Horizon's updates"? I'd like to understand your point more. | 07:47 |
Nizars | @amotoki | 07:50 |
Nizars | I was just trying to understand the code better. How the angularjs part of the software is installed and connected. | 07:50 |
Nizars | I think that I have found my answer. | 07:50 |
Nizars | It seems to import it in unique form that works with Python3, XStatic-Angular | 07:51 |
amotoki | Nizars: good to know that :) | 07:51 |
Nizars | I looked at the content of those it seems to just be the parts of the angularjs framework source code. | 07:52 |
Nizars | I thought I would experiment around and see how far I can change stuff around. :) | 07:53 |
amotoki | Nizars: yeah, horizon is a project combined with python and JS implementations. at the moment, all JS files are loaded in a non-modern manner via Django templates. | 07:53 |
Nizars | Speaking of which, I have a quick question for you. | 07:54 |
Nizars | The file horizon/openstack_auth/defaults.py contains the following lines of code: | 07:55 |
*** TheJulia has quit IRC | 07:56 | |
*** Anticimex has quit IRC | 07:56 | |
Nizars | https://www.irccloud.com/pastebin/EDS6E04e/ | 07:56 |
Nizars | Am I correct in assuming that tose are the values which are to be mapped to use role based access control in Horizon? | 07:59 |
Nizars | According to this document: | 07:59 |
Nizars | https://docs.openstack.org/horizon/latest/contributor/topics/policy.html | 07:59 |
Nizars | As in, to enable us to do checks on operation user permissions before executing processes? | 08:01 |
*** TheJulia has joined #openstack-horizon | 08:01 | |
*** Anticimex has joined #openstack-horizon | 08:01 | |
amotoki | Nizars: yes, they are used to apply RBAC in horizon panels, actions and forms. | 08:01 |
amotoki | Nizars: The default values in openstack_auth/defaults.py are overrided in openstack_dashboard/defaults.py | 08:02 |
amotoki | https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/defaults.py#L62-L87 | 08:02 |
Nizars | Awesome, thanks! | 08:02 |
amotoki | you can find example usages in various places, for example, v | 08:03 |
amotoki | https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/instances/tables.py#L85 | 08:04 |
Nizars | Thank you :) | 08:04 |
*** jtomasek has joined #openstack-horizon | 08:59 | |
*** btully has joined #openstack-horizon | 09:14 | |
*** btully has quit IRC | 09:18 | |
*** mkowalski[b] has quit IRC | 09:40 | |
*** irclogbot_0 has quit IRC | 09:41 | |
*** irclogbot_1 has joined #openstack-horizon | 09:41 | |
*** jtomasek has quit IRC | 09:43 | |
*** jtomasek has joined #openstack-horizon | 09:45 | |
*** mkowalski[b] has joined #openstack-horizon | 09:54 | |
*** jtomasek has quit IRC | 10:04 | |
*** rpittau is now known as rpittau|bbl | 10:10 | |
*** jtomasek has joined #openstack-horizon | 10:13 | |
*** jtomasek has quit IRC | 10:17 | |
*** jtomasek has joined #openstack-horizon | 10:18 | |
*** rdopiera has quit IRC | 10:35 | |
*** rdopiera has joined #openstack-horizon | 10:37 | |
*** rpittau|bbl is now known as rpittau | 12:11 | |
*** spatel has joined #openstack-horizon | 12:58 | |
*** jhesketh has quit IRC | 13:43 | |
*** jtomasek has quit IRC | 13:45 | |
*** jhesketh has joined #openstack-horizon | 13:47 | |
*** tosky_ has joined #openstack-horizon | 14:29 | |
*** tosky has quit IRC | 14:32 | |
*** dklyle has joined #openstack-horizon | 14:38 | |
*** ChanServ sets mode: +o dklyle | 14:38 | |
*** dklyle sets mode: -o dklyle | 14:41 | |
*** tkajinam has quit IRC | 14:43 | |
*** jtomasek has joined #openstack-horizon | 14:49 | |
*** vishalmanchanda has quit IRC | 14:54 | |
*** tosky_ is now known as tosky | 15:04 | |
*** jtomasek has quit IRC | 15:10 | |
*** Andreas681 has joined #openstack-horizon | 15:14 | |
Andreas681 | Can I use pytest to unittest a horizon-plugin? I'm trying a stupid simple test with `python3 -m pytest tests/test_client.py` and I get an error `ERROR: /opt/stack/horizon/setup.cfg:59: duplicate section 'entry_points'`. Not sure how to interpret this error. | 15:20 |
*** mkowalski[b] has left #openstack-horizon | 15:23 | |
*** rdopiera has quit IRC | 15:32 | |
*** gyee has joined #openstack-horizon | 15:32 | |
Andreas681 | Or if someone could recommend a better method to unittest my functions (python) in the backend? | 15:32 |
*** priteau has joined #openstack-horizon | 15:45 | |
*** spatel has quit IRC | 15:49 | |
*** spatel has joined #openstack-horizon | 15:50 | |
Andreas681 | nvm, the entry_points-error was solved. | 16:32 |
*** rpittau is now known as rpittau|afk | 16:34 | |
*** Andreas681 has quit IRC | 16:40 | |
*** gmann is now known as gmann_afk | 17:25 | |
*** priteau has quit IRC | 17:25 | |
*** spatel has quit IRC | 18:39 | |
*** e0ne has joined #openstack-horizon | 18:40 | |
*** ChanServ sets mode: +o e0ne | 18:40 | |
*** e0ne has quit IRC | 18:56 | |
*** gmann_afk is now known as gmann | 19:06 | |
*** yaawang has quit IRC | 19:16 | |
*** yaawang has joined #openstack-horizon | 20:32 | |
*** e0ne has joined #openstack-horizon | 20:57 | |
*** ChanServ sets mode: +o e0ne | 20:57 | |
*** e0ne has quit IRC | 20:59 | |
*** btully has joined #openstack-horizon | 21:56 | |
*** btully has quit IRC | 22:00 | |
*** hoonetorg has quit IRC | 22:34 | |
*** hoonetorg has joined #openstack-horizon | 22:46 | |
*** tkajinam has joined #openstack-horizon | 22:49 | |
*** spotz has quit IRC | 23:16 | |
*** tosky has quit IRC | 23:36 | |
*** gyee has quit IRC | 23:54 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!