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.
 

Eve Alliance Auth - Open Source

First post First post
Author
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#21 - 2014-11-02 22:22:52 UTC
Dorijan wrote:
Mate you totally forgot Lucia's awesome pizza-auth. :orks:

I haven't gotten a chance to try it so didn't want to comment on it.
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#22 - 2014-11-03 05:13:13 UTC
Update: Auth now supports blue corps/alliances based on standings. Blue's now have access to mumble services.
Kratos Kanakas
Nex Exercitus
#23 - 2014-11-03 09:46:57 UTC
This looks awesome!

Would it be possible to get you to do specific features if they aren't already on your road map.
I'm really picky about my tools :P

The fact that this is an opens source project makes it even better.
Every alliance and Corp out there needs a good tool.

We might need to have words Mr. Raynaldo Rivera.

Do you plan on adding more developers to your project?
Arnath Othorem
Deep Core Mining Inc.
Caldari State
#24 - 2014-11-03 10:23:22 UTC
Raynaldo Rivera wrote:
CCP FoxFour wrote:
Cool stuff! This reminds me that I really need to get GitHub whitelisted as a good site so we don't get those stupid popups.

Thanks for sharing though! How does this implementation differ from the Brave one? (https://github.com/bravecollective/core)

Really it just tries to be as simple as it can be. It does not require corp keys of any kind *currently*, All that is required for functionality is the alliance_id of the current alliance it is running for. Making it very easy to get up and running. Also brave requires admin task from the command line. I just made sure not to extend certain default django models (User and groups) allowing me to use the default admin implementation. Also from what i can tell regarding brave's auth is there is no automated tasks running to update information regarding api's *Correct me if im wrong*


Hi, one of the devs from the Brave project here!

I'm not sure what you mean by the corp keys thing. Brave Core doesn't need corp keys for anything--really it's kind of a shortcoming that there's no support for doing anything with corp keys right now, heh.

It's true that we require some administration from the command line. We're working on fixing this for common admin tasks (for example editing group ACLs used to require command line modifications, now there's web UI). But it will probably be a long time (if ever) before all setup and upgrades can be done without any command line work.

For updating api information, yep, we have a couple of tools to do that (one you can set up with a cronjob and one which runs as a standalone daemon).

It's rather late now but I wish you would have joined us and helped fix the shortcomings for your use, we always really appreciate more help! :) On the other hand, you probably ended up with a more reasonable tech stack....
Arnath Othorem
Deep Core Mining Inc.
Caldari State
#25 - 2014-11-03 10:54:08 UTC
To go off on a bit of a tangent...

CCP FoxFour wrote:
Also I take it that because users need to log into things like Jabber with a username and password we wontreally see the EVE SSO integrated into these things anytime soon. Hmmmmmm

I dunno about other systems, but with Brave services, EVE SSO would work fine in place of the Core login page. Our system is designed so that the user only ever enters their password into Core itself; other services use an oauth-like flow to log in via Core. For e.g. Jabber, the user goes to a webapp and sets a separate password used only for Jabber.

From that perspective, we could use EVE SSO to replace our own login page. The big thing we'll have to work through is how SSO would interact with our model of many characters being associated with a user.
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#26 - 2014-11-03 18:06:52 UTC
Kratos Kanakas wrote:
This looks awesome!

Would it be possible to get you to do specific features if they aren't already on your road map.
I'm really picky about my tools :P

The fact that this is an opens source project makes it even better.
Every alliance and Corp out there needs a good tool.

We might need to have words Mr. Raynaldo Rivera.

Do you plan on adding more developers to your project?


Currently you can submit issues and patches through github. Officially though its easier to just have myself has the main dev. However feel free to submit pull request, ill review the code make comments/ approve it when needed.


Arnath Othorem wrote:


Hi, one of the devs from the Brave project here!

I'm not sure what you mean by the corp keys thing. Brave Core doesn't need corp keys for anything--really it's kind of a shortcoming that there's no support for doing anything with corp keys right now, heh.

It's true that we require some administration from the command line. We're working on fixing this for common admin tasks (for example editing group ACLs used to require command line modifications, now there's web UI). But it will probably be a long time (if ever) before all setup and upgrades can be done without any command line work.

For updating api information, yep, we have a couple of tools to do that (one you can set up with a cronjob and one which runs as a standalone daemon).

It's rather late now but I wish you would have joined us and helped fix the shortcomings for your use, we always really appreciate more help! :) On the other hand, you probably ended up with a more reasonable tech stack....


Hey man i didn't know you guys have the refres.py/update_keys.py is there any reason you arn't using celery? Automate the task from within the python application itself so you don't have to setup cronjobs etc?. Yeah with the addition of adding blue support to the auth i now require corp keys didn't want to but the pro's outweigh the cons. You are based off django why not use the built in admin console? Register your models through the admin.py in each app very easy.


Arnath Othorem wrote:
To go off on a bit of a tangent...

CCP FoxFour wrote:
Also I take it that because users need to log into things like Jabber with a username and password we wontreally see the EVE SSO integrated into these things anytime soon. Hmmmmmm

I dunno about other systems, but with Brave services, EVE SSO would work fine in place of the Core login page. Our system is designed so that the user only ever enters their password into Core itself; other services use an oauth-like flow to log in via Core. For e.g. Jabber, the user goes to a webapp and sets a separate password used only for Jabber.

From that perspective, we could use EVE SSO to replace our own login page. The big thing we'll have to work through is how SSO would interact with our model of many characters being associated with a user.


Yeah this is the only issue ive come up with to. I would have to extend the User model in django causing a break in admin functionality. Unless someone else has already come up with a plugin, it requires a bit more dev. However if a awesome ccp dev where to release a django plugin for it *hint hint wink wink* we could move it into our projects.
Arnath Othorem
Deep Core Mining Inc.
Caldari State
#27 - 2014-11-03 22:19:48 UTC
Raynaldo Rivera wrote:
Hey man i didn't know you guys have the refres.py/update_keys.py is there any reason you arn't using celery? Automate the task from within the python application itself so you don't have to setup cronjobs etc?.

It didn't seem too terrible to set this up as a standalone thing, compared to setting up and configuring a fully-featured distributed task system (I don't have any personal experience with Celery). I'm definitely interested in trying it out though.

Raynaldo Rivera wrote:
You are based off django why not use the built in admin console? Register your models through the admin.py in each app very easy.

We're not based off django. Brave Core uses a lightweight framework written by Core's original author :(( backed by mongoDB :((( Honestly I'm okay with using our own models instead of doing everything with django ORM, but it kind of sucks to be on a nonstandard stack. It's definitely a bit of a barrier to entry for new people coming into the codebase.
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#28 - 2014-11-03 22:47:51 UTC
Arnath Othorem wrote:
Raynaldo Rivera wrote:
Hey man i didn't know you guys have the refres.py/update_keys.py is there any reason you arn't using celery? Automate the task from within the python application itself so you don't have to setup cronjobs etc?.

It didn't seem too terrible to set this up as a standalone thing, compared to setting up and configuring a fully-featured distributed task system (I don't have any personal experience with Celery). I'm definitely interested in trying it out though.

Raynaldo Rivera wrote:
You are based off django why not use the built in admin console? Register your models through the admin.py in each app very easy.

We're not based off django. Brave Core uses a lightweight framework written by Core's original author :(( backed by mongoDB :((( Honestly I'm okay with using our own models instead of doing everything with django ORM, but it kind of sucks to be on a nonstandard stack. It's definitely a bit of a barrier to entry for new people coming into the codebase.


Ahh ok then i did misunderstand. Yea i have the advantage of working with the django stack. It's really why i was able to spin up my auth in 2 weeks compared to months of development. Celery is really nice but im spoiled by just being able to install django-celery, It might be worth looking into migrating to a django stack... django-nosql exist so people can use mongo and couchdb.
CCP FoxFour
C C P
C C P Alliance
#29 - 2014-11-04 08:35:10 UTC
Having worked with Flask but not Django... why is it so hard to replace/extend the user model? Are you using other plugins/extensions that would break with the change?

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#30 - 2014-11-04 08:59:24 UTC
CCP FoxFour wrote:
Having worked with Flask but not Django... why is it so hard to replace/extend the user model? Are you using other plugins/extensions that would break with the change?

Not so much hard as a pain, we would need to to implement the needed forms etc for the default django admin package to recognize the model and function correctly. Really it just comes down to being lazy.
Mr Majestic
Windrammers
Goonswarm Federation
#31 - 2014-11-04 13:40:31 UTC
I want to give this a test so bad but sadly trying to get my alliance to use Mumble would be very hard indeed. I love Mumble and definately see the light but people really dislike change.

From what I've seen so far this looks fantastic. Very glad you've released this, smaller alliances can really struggle finding something that works and works well.

The second you implement TeamSpeak intergration I'll give this a go. We have a cobbled together set of services based on Drupal (highly modified Omnis EVE API module) that barely works right now and every expansion brings it one step closer to falling over.

Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#32 - 2014-11-04 18:53:55 UTC
Mr Majestic wrote:
I want to give this a test so bad but sadly trying to get my alliance to use Mumble would be very hard indeed. I love Mumble and definately see the light but people really dislike change.

From what I've seen so far this looks fantastic. Very glad you've released this, smaller alliances can really struggle finding something that works and works well.

The second you implement TeamSpeak intergration I'll give this a go. We have a cobbled together set of services based on Drupal (highly modified Omnis EVE API module) that barely works right now and every expansion brings it one step closer to falling over.


Teamspeak support is planned for the near future. just gotta get more of the core functionality in place. Also adding in more services requires me to actually do services correctly *Abstract classes* and what not. So a bit of a rewrite in some areas.
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#33 - 2014-11-05 00:14:53 UTC
Quick update. Anyone who updated from the master git branch yesterday needs to update. There was a critical bug that was fixed regarding adding and removing api keys.
Ostrich Technique
Caldari Provisions
Caldari State
#34 - 2014-11-11 03:38:55 UTC
Awesome stuff.
Zoey Stardrifter
Doomheim
#35 - 2014-11-12 04:23:19 UTC
Just got it working for my alliance with Raynaldo's help. Very nice system that I highly recommend. Looking forward to Teamspeak support. Keep up the good work...
Leonis Perthshire
Dreddit
Test Alliance Please Ignore
#36 - 2014-11-13 08:08:14 UTC
I notice you user name is Spanish. Any plan to have this app in the focus Eve online languages?

“If you win, you live. If you lose, you die. If you don’t fight, you can’t win!” – Eren Jaeger

White Maul

Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#37 - 2014-11-14 08:59:58 UTC
Leonis Perthshire wrote:
I notice you user name is Spanish. Any plan to have this app in the focus Eve online languages?

I would love to be able to do this however considering i don't even speak my races native language :shobon:. Its rather difficult to provide anything other than english. However i am open to the idea of storing all the strings locally and adding locale support for users to submit language sets. *I don't know if i explained that right* if there is enough demand for it ill do it.
Leonis Perthshire
Dreddit
Test Alliance Please Ignore
#38 - 2014-11-14 17:32:39 UTC
Big smile Cool i guess for the moment well would be cool just get a good app and then when that's done or advice you cold try localize it.

“If you win, you live. If you lose, you die. If you don’t fight, you can’t win!” – Eren Jaeger

White Maul

Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#39 - 2014-11-17 04:47:59 UTC
Created a pages.github for the project to keep people updated regarding added features etc. Which will include links to any guides that are created.

Project Site

For those who are interested in setting up the alliance auth yourself or begin developing it i have created two setup guides.

Alliance Auth - Quick Setup
Alliance Auth - Production Setup
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#40 - 2014-11-17 15:50:58 UTC
IPBoard forum support as just been added.