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
CCP FoxFour
C C P
C C P Alliance
#41 - 2014-11-17 15:54:59 UTC
You're on a freaking roll. Keep up the awesome! :D

@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
#42 - 2014-11-20 10:28:40 UTC
Update: Improved hr management. By this i mean making it actually usable and worth using. Searchable applications, commenting, api management etc.
Leonis Perthshire
Dreddit
Test Alliance Please Ignore
#43 - 2014-11-20 22:56:53 UTC
Do you have a systems that resort the status of services like if something crash there be a twiiter feed that say what crash and when is back it also tweet that it's back alive.

Like a status report.
Forum is down the system auto tweet it.
Or jabber is over loaded a tweet goes out.

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

White Maul

Mr Majestic
Windrammers
Goonswarm Federation
#44 - 2014-11-22 16:03:59 UTC
Got this working last night following your instructions.

Using the root account that got created I was a little stumped at how to create groups, etc. Am I missing something or is this all done manually in the database for now?
Mr McClain
Claws of the Demon
#45 - 2014-11-22 16:25:01 UTC  |  Edited by: Mr McClain
Mr Majestic wrote:
Got this working last night following your instructions.

Using the root account that got created I was a little stumped at how to create groups, etc. Am I missing something or is this all done manually in the database for now?


login to your admin
http://yourdomain.com/admin
click on groups (on the left hand side)
top right corner click the add group.


to get users to be able to request joining the group
goto group management > group descriptions

add a group description

then login to auth like you normally would but with your admin account and click on group management

**note dont forget the permissions for the group so alliancemembers can see it
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#46 - 2014-11-23 09:22:48 UTC
I know im going to regret this.......

Teamspeak3 is now officially supported! If you are updating your current install make sure you do the following.

python manage.py syncdb
python manage.py evolve --hint --execute
python manage.py syncdb


If your evolve causes issues please read the readme on the github. Please report any bugs / pull request to the github. People have already begun to contribute why haven't you?



Shoutout to nikdoof, without his implementation i probably wouldn't have gotten it done in the time i did.
Amely Miles
Second Exile
#47 - 2014-11-23 13:29:48 UTC
are you willing to install for those who are computer illiterate and if so how much?

As I slipped my finger slowly inside her hole, I could immediately feel it getting wetter and wetter.

I took my finger back out and within seconds she was going down on me.

"I really need a new boat," I thought to myself.

Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#48 - 2014-11-23 19:06:04 UTC
Amely Miles wrote:
are you willing to install for those who are computer illiterate and if so how much?

Its 2bil for the install and 500 mill for each maintenance call after.
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#49 - 2014-11-30 04:03:33 UTC
Major bug fixes's regarding teamspeak3 and groups in general.

Also added SRP features to the auth.
Amely Miles
Second Exile
#50 - 2014-11-30 11:51:52 UTC  |  Edited by: Amely Miles
make it work with SMF and i'll let you install SMF and your Auth for me :) send me a mail if interested with what you need from me an how much

EDIT: this would be for my entire alliance

As I slipped my finger slowly inside her hole, I could immediately feel it getting wetter and wetter.

I took my finger back out and within seconds she was going down on me.

"I really need a new boat," I thought to myself.

Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#51 - 2014-11-30 22:36:55 UTC
Amely Miles wrote:
make it work with SMF and i'll let you install SMF and your Auth for me :) send me a mail if interested with what you need from me an how much

EDIT: this would be for my entire alliance


Lol never fails.. Phpbb3 and IPBoard not enough always another fringe case to support :P
Nutbolt
University of Caille
Gallente Federation
#52 - 2014-12-01 06:40:53 UTC
Raynaldo Rivera wrote:
Amely Miles wrote:
make it work with SMF and i'll let you install SMF and your Auth for me :) send me a mail if interested with what you need from me an how much

EDIT: this would be for my entire alliance


Lol never fails.. Phpbb3 and IPBoard not enough always another fringe case to support :P


To be fair, SMF would be a good one to support because more and more people are about ready to scream quite loudly at the TEA API mod for SMF. Providing a decent alternative would be greatly appreciated by a number of people I believe.

Read as, PLEASE add in SMF support, im about to tear my hair out with TEA Api mod.
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#53 - 2014-12-01 07:40:35 UTC
Nutbolt wrote:
Raynaldo Rivera wrote:
Amely Miles wrote:
make it work with SMF and i'll let you install SMF and your Auth for me :) send me a mail if interested with what you need from me an how much

EDIT: this would be for my entire alliance


Lol never fails.. Phpbb3 and IPBoard not enough always another fringe case to support :P


To be fair, SMF would be a good one to support because more and more people are about ready to scream quite loudly at the TEA API mod for SMF. Providing a decent alternative would be greatly appreciated by a number of people I believe.

Read as, PLEASE add in SMF support, im about to tear my hair out with TEA Api mod.


Issue is even if i do support it all old accounts would have to be deactivated as the auth needs to facilitate the account creation and group additions. Its essential to keeping it synced with all the services. There currently isn't a planned "Import from existing" forum option. So even if it was done you would have to delete old accounts to prevent duplicate issues thus causing the forum to be flooded with "deleted" user messages. Essentially even by supporting smf you would need to start from scratch. Its a limitation of the auth system.
Nutbolt
University of Caille
Gallente Federation
#54 - 2014-12-01 09:54:52 UTC
Thats sucky but I understand that.
/me goes hunting for a SMF Mod which will assign users back to pos
Lex Arson
Adversity.
Psychotic Tendencies.
#55 - 2014-12-02 20:40:33 UTC  |  Edited by: Lex Arson
I got this running last night (mostly), and from what I can tell so far:

- UI Admin capabilities for laymen like me seem limited
- Incidentally, setting a user as admin forces them into "blue" status on the auth page somehow so I can't be an admin on the same account that my main is on (which makes it a pain, because I want to post fleets and SRP and such from that account)
-TS3 doesn't seem to want to work, but that's probably because I'm bad
- There's zero name formatting capability for at least phpbb and also jabber, so I'm going to forever be known as "lex_arson" on my services instead of something cool like "Lex Arson" on the forums or "[AVRSE] Lex Arson" on jabber.
-And finally, testing on phpbb, there is no option in the auth do set your "default group" which is important on forums. Instead your default forum group will always be the first alphabetical usergroup your user is a member of.

There's no use crying after every mistake, you just keep on trying 'til you run out of cake.

Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#56 - 2014-12-03 01:11:16 UTC
Lex Arson wrote:
I got this running last night (mostly), and from what I can tell so far:

- UI Admin capabilities for laymen like me seem limited
- Incidentally, setting a user as admin forces them into "blue" status on the auth page somehow so I can't be an admin on the same account that my main is on (which makes it a pain, because I want to post fleets and SRP and such from that account)
-TS3 doesn't seem to want to work, but that's probably because I'm bad
- There's zero name formatting capability for at least phpbb and also jabber, so I'm going to forever be known as "lex_arson" on my services instead of something cool like "Lex Arson" on the forums or "[AVRSE] Lex Arson" on jabber.
-And finally, testing on phpbb, there is no option in the auth do set your "default group" which is important on forums. Instead your default forum group will always be the first alphabetical usergroup your user is a member of.



So lets begin!

- UI Admin capabilities for laymen like me seem limited.

If you notice when you access your main admin interface on http://yourdomain.com/admin, it is the default django admin interface.
In actuality aside from creating new groups and group descriptions you should never have to access this interface. Your normal user and admin user should be separate as well.
It is not designed for a 'laymen" to be able to understand and fully utilize the admin interface because of the lack of attention it needs after setup.


- Incidentally, setting a user as admin forces them into "blue" status on the auth page somehow so I can't be an admin on the


This goes back to my previous post regarding keeping users separate. The auth uses permissions to facilitate what a user can access these permissions are also used to keep the user from trying to utilize services that they don't have the required information in the database to use. If you create an admin user by default django grants them all permissions which causes things to break due to the admin user not having necessary data.

Moral of the story: Keep the admin user separate and only utilized to manage the /admin dashboard.


-TS3 doesn't seem to want to work, but that's probably because I'm bad

Generally this is a common issue with people who rent teamspeak servers rather then host it themselfs. Many times the serverquery user they supply you is very limited and cannot do standard things such as "Tokenadd","servergroupaddclient" etc. If this is your own server insure that the port isn't blocked and that you have the correct server query permissions.


- There's zero name formatting capability for at least phpbb and also jabber, so I'm going to forever be known as "lex_arson" on my services instead of something cool like "Lex Arson" on the forums or "[AVRSE] Lex Arson" on jabber.

This is for a reason, supporting every services's formats in protocols is a very tedious task. There are reasons i do not allow customization formatting for example. Jabber does not support spaces what so ever.. the protocol does not allow for it due to the way jabber UID's are referenced example lax_arson@yourdomain.com.. Phpbb allows you to set a nickname so you can have your "Lex Arson" showing rather than your username. Each of these services allow you to setup a "display name" separate from the username itself. Also since i know the thought of "Well why don't you set the display name up on the auth?" question is coming here is the response, the auth is following the unix motto of "a simple tool that does one thing and can be combined with others to do more complex things". Auth is designed to assist you with these other services not replace their functionality entirely.


-And finally, testing on phpbb, there is no option in the auth do set your "default group" which is important on forums. Instead your default forum group will always be the first alphabetical usergroup your user is a member of.

This is a very incorrect statement if you notice in your settings.py there is a DEFAULT_ALLIANCE_GROUP, and DEFAULT_BLUE_GROUP. That can be set to whatever you wish. The auth assigns to groups to a new user by default the DEFAULT one set depending on the user type normal/blue and the "REGISTERED_USER" group which is a default group in all phpbb installations. This is to allow for a it admin to setup their forum and groups quickly and get their users on to them while not requiring them to fully setup all user group permissions off the back.



I appreciate your comments and criticism however there is a bit of technical understanding that is required in order to fully utilize the auth and its feature set. I am restricted and bound to follow the rules of every service i use as they have different limitations and protocols that must be followed.
Shalyana Corpus
The Grey Eagles
#57 - 2014-12-03 06:56:15 UTC
I just wanted to say that I have looked at your work and it looks to hold tons of promise! I would in fact make the switch from my own setup(a heavily modified SMF/TEA) if i had not in fact gone through and heavily modified it already. If/when it breaks you can be sure i'll be coming to this for a fresh start. I love django and have been using it for a couple years so it will be a nice refreshing environment to work in where things make sense for once!
Daisuke Aoki
Federal Navy Academy
Gallente Federation
#58 - 2014-12-04 06:50:58 UTC  |  Edited by: Daisuke Aoki
Do you need to shut this down and restart after making changes to settings.py? I've got this mostly working (though it's throwing 500 server errors here and there, like when using the 'forgot password' on Auth) but I'm tweaking stuff to work out the kinks.

There's no instructions really on how to take this whole thing down and back up. Should I be using the 'vagrant' scripts?

Also, where would this log errors to?

Otherwise, nice package, wasn't terribly hard to set up on my Debian VPS.
Raynaldo Rivera
Garoun Investment Bank
Gallente Federation
#59 - 2014-12-05 01:03:04 UTC
Daisuke Aoki wrote:
Do you need to shut this down and restart after making changes to settings.py? I've got this mostly working (though it's throwing 500 server errors here and there, like when using the 'forgot password' on Auth) but I'm tweaking stuff to work out the kinks.

There's no instructions really on how to take this whole thing down and back up. Should I be using the 'vagrant' scripts?

Also, where would this log errors to?

Otherwise, nice package, wasn't terribly hard to set up on my Debian VPS.


Depending on how you have it running. If you are using WSGI a restart of apache is necessary.
There is a full production guide to get you up and running.
Kalee Rae
Deep Core Mining Inc.
Caldari State
#60 - 2014-12-07 04:05:53 UTC  |  Edited by: Kalee Rae
Can this be adapted to work for just a corp? (Looking at the alliance id / alliance executor corp portion, plug in corp info as opposed to alliance)