These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Brave Core Installation

Author
TigerXtrm
KarmaFleet
Goonswarm Federation
#1 - 2015-05-15 12:58:44 UTC
I'm currently trying to wrap my head around Brave's Core authentication software. Looking at the Github repo I can make sense of most of it, but what I don't understand is how the seperate modules are supposed to interact? The documentation is very vague about this. Say I have Core installed and I want to install the Jabber and Mumble modules, are those supposed to go into the Core directory or are they supposed to be completely separate from each other?

I'm having a fair amount of fun trying to figure this out but if someone wants to lend a helping hand in just installing this for me, that would also be majorly appreciated.

My YouTube Channel - EVE Tutorials & other game related things!

My Website - Blogs, Livestreams & Forums

kiu Nakamura
Brave Newbies Inc.
Brave Collective
#2 - 2015-05-18 02:30:42 UTC
The "modules" are independent separate applications. They talk to CORE via HTTPS.
TigerXtrm
KarmaFleet
Goonswarm Federation
#3 - 2015-05-18 12:02:34 UTC
Thanks, that helps :D

My YouTube Channel - EVE Tutorials & other game related things!

My Website - Blogs, Livestreams & Forums

TigerXtrm
KarmaFleet
Goonswarm Federation
#4 - 2015-05-26 16:30:31 UTC
I ran into a wall. When trying to set myself up as an admin, as instructed here:

from brave.core.account.model import User
from brave.core.character.model import EVECharacter
from brave.core.permission.model import Permission, WildcardPermission
u = User.objects(username=USERNAME_HERE)[0]
u.admin = True
c = u.primary
p1 = Permission.objects(id='core.*').first()
c.personal_permissions.append(p1)
c.save()
u.save()


This happens:

Welcome to the WebCore shell.
from brave.core.account.model import User
from brave.core.character.model import EVECharacter
from brave.core.permission.model import Permission, WildcardPermission
u = User.objects(username=TigerXtrm)[0]
c = u.primary
p1 = Permission.objects(id='core.*').first()
c.personal_permissions.append(p1)
Traceback (most recent call last):
  File "console", line 1, in module
NameError: name 'TigerXtrm' is not defined


Google is not very helpful in solving this. Anyone know what I'm doing wrong?

My YouTube Channel - EVE Tutorials & other game related things!

My Website - Blogs, Livestreams & Forums

TigerXtrm
KarmaFleet
Goonswarm Federation
#5 - 2015-05-26 22:46:59 UTC  |  Edited by: TigerXtrm
Kiu was kind enough to help me out through a major part of the process. Turned out that the username has to be both lowercase and surrounded in quotes. That seems to have fixed it for me.

My YouTube Channel - EVE Tutorials & other game related things!

My Website - Blogs, Livestreams & Forums

kiu Nakamura
Brave Newbies Inc.
Brave Collective
#6 - 2015-05-26 23:15:15 UTC
TigerXtrm wrote:
Kiu was kind enough to help me out through a major part of the process. Turned out that the username has to be both lowercase and surrounded in brackets. That seems to have fixed it for me.


And when he says brackets, he means quotes :)
TigerXtrm
KarmaFleet
Goonswarm Federation
#7 - 2015-05-27 09:46:06 UTC
Eeeeeeeeeeehhhhh yeah. Let's just say I was tired when I wrote that Lol

My YouTube Channel - EVE Tutorials & other game related things!

My Website - Blogs, Livestreams & Forums