Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
xliiv
@xliiv
@aveseb here is a pull request fixing your case: https://github.com/allegro/ralph/pull/2271/files
aveseb
@aveseb
@xliiv it seems thats ok for previsualization but I got this error : AttributeError: Cannot set values on a ManyToManyField which specifies an intermediary model. Use supports.BaseObjectsSupport's Manager instead.
aveseb
@aveseb
How do you add assets to support (or support to an asset) ? On this url : http://localhost:8000/supports/support/231/assignments/ you cannot navigate through asset when you want add an assignment. This is neither possible by http://localhost:8000/data_center/datacenterasset/200/data_center_asset_support/ When you click on add it add an empty column too.
Mateusz Kurek
@mkurek
@aveseb in your first link, in asset field you need to type asset property (ex. barcode, sn etc) or use the magnifier icon to open popup with list of assets
aveseb
@aveseb
@mkurek Ok I see what you mean. I've compared with the online demo on http://allegro.tech/ralph/ and I haven't the same thing. I think it's a problem with cache on django or something like that (i've tried with 2 different browser). I tried ralph clean_cache ; ralph clean_pyc without success, would you have an idea ? I'm using vagrant in order to make a pre-version of my environnement before install it on a true server.
Mateusz Kurek
@mkurek
@aveseb maybe it's because of js libraries? try to run gulp in ralph dir
aveseb
@aveseb
@mkurek yes it was the problem. Thanks you for your help
aveseb
@aveseb
Hi, I saw it was possible to make reports with template reports by uploading a file. How does it work ? I saw a report template on your demo site, but do we need to do something it order to that report appears in the menu (register a view for this template or something like that). Basically I would try to export a report with all hardware's assets that have a support contract.
Michael Holt
@mholttech
hey, i'm trying to set up LDAP auth with an AD server, where do I start? I'm following https://github.com/allegro/ralph/blob/83b837995d1b8aa2ef18f898a6d8f49cbcfa5668/docs/installation/configuration.md but don't know where to put the code
Michael Holt
@mholttech
#2298 this is where i'm at with trying to get LDAP working, @vi4m are you around to help?
Manuel Rüger
@mrueg
btw. are there any plans for something like ralph-data, that includes names for vendors etc.?
✪ vi4m Marcin Kliks
@vi4m
@mrueg yes
xliiv
@xliiv
@aveseb could you be more specific? provide some url or something, because it's not clear to me what feature are you talking about
aveseb
@aveseb
@xliiv sorry I was on holidays. I was talking about this url : http://ralph.mkurek.com/reports/report/ And you can put a template such as an odt file with something like that :{%for asset in assets%} {{asset.barcode}}
{{asset.model|e}}
{{asset.sn}} / {{asset.imei}}
I was wondering how to export all hardwares that have a contract support and the contract associated
xliiv
@xliiv
@aveseb i'll take a look today and give you some info soon
xliiv
@xliiv
@aveseb if you are targeted to data (not format, like odt) you could use exporter feature.. i can't see support column on exported assets for now but this can be handled with a bit of skill in excel..
the second solution is to add support column to exporter which shouldn't be hard, but requries change in Ralph codebase
aveseb
@aveseb
@xliiv Ok, I could use exporter feature. I think I have all informations I need. Thanks
Michał Suszko
@msuszko
Hi
We've collected all consents needed to contribute our code
So expect contributions soon™ ;-)
Mateusz Kurek
@mkurek
@msuszko great! :)
Now I have static full of useless bower crap, and package is 30MB instead of 8
Murtaza Maz
@murtazamaz
Hi
i ma having issue, when i am trying to delete an asset record giving me error )Error: Insufficient permissions! pls help.
✪ vi4m Marcin Kliks
@vi4m
@murtazamaz what groups do you belong to ? what do you see in settings->permission ?
Murtaza Maz
@murtazamaz
Thanks i am new here and not sure which group, i was trying to delete the asset but giving error, what i did i restore the my backup and now it is fine, i think i tried to delete the some record from mysql and after that i was unable delete from panel. than ks
Emiliano Jankowski
@mustela
Hey there! is there any way to restrict data centers to certains users? Like DataCenter1 to only User1, and DataCenter2 to User1 and User2
Mateusz Kurek
@mkurek
hi @mustela - unfortunately not yet
Emiliano Jankowski
@mustela
thanks @mkurek !
ju5t
@ju5t
hi, is it possible to add ip ranges instead of individual ip's in ralph?
✪ vi4m Marcin Kliks
@vi4m
you can create networks with ip ranges, if you want
but an assets ip assignment means - one ip
or more, but concrete ones
ju5t
@ju5t
ah ok, so i can't just add a /24 and assign ip addresses to a specific asset for example?
✪ vi4m Marcin Kliks
@vi4m
yes
tz2005
@tz2005
what would be the procedures to manage DC assets? in a scenario when I have 5 spare hard drives (same model different s/n) in the same warehouse? I don't find quantity option when adding new office asset
I'm referring to Ralph3. Is Ralph2.x still in development?
✪ vi4m Marcin Kliks
@vi4m
@tz2005 it's simple
tz2005
@tz2005
@vi4m would you mind providing some details?
✪ vi4m Marcin Kliks
@vi4m
Screen Shot 2016-05-16 at 22.52.39.png
you can use 'bulk adding' feature
Screen Shot 2016-05-16 at 22.53.09.png
just under adding generic asset
Screen Shot 2016-05-16 at 22.52.50.png
and duplicate option in case you already added, and just want to 'duplicate' it
tz2005
@tz2005
OK, i tried that, nothing seems happen after hitting "add"
is SN and Barcode field required to be filled in?
I tried a few fake numbers, didn't work
ok now it seems working