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.
123Next pageLast page
 

Omni EVE API: Integrating EVE and Drupal (7.x-2.0-rc8)

First post
Author
0mni Ca
Brutor Tribe
Minmatar Republic
#1 - 2013-07-28 18:15:08 UTC  |  Edited by: 0mni Ca
WHAT DOES IT DO?


The purpose of Omni EVE API is to incorporate and make use of the EVE Online
API for user registrations, role management, and site administration.

The module will pull the EVE API from an alliance executors API Key to grab
the current standings and to pull the corporations in the alliance. This
information is what is used as the standard to measure the EVE API data being
validated at registration.

When a user registers on the site, they are required to enter an API Key and
Verification code that is linked to their EVE Online Gaming character. The
site then processes checks to verify if the character meets certain criteria,
such as standings. If the character passes the criteria the user is allowed
to join and is added to the appropriate roles at registration.

TeamSpeak 3 and Jabber have been fully integrated. Users are able to register
on the site to gain roles and access in TeamSpeak 3 and Jabber without any
admin interaction. Roles are mirrored in TeamSpeak 3 and Jabber. Any role a
user has in Drupal will be mirrored in TeamSpeak 3 and Jabber.

This module was inspired by the https://code.google.com/p/temars-eve-api/
Temars EVE API for SMF.

DEPENDENCIES


- Ctools (Only "Chaos tools" is required)
https://drupal.org/project/ctools

- Libraries
https://drupal.org/project/libraries

- TeamSpeak 3 (Optional)
http://www.teamspeak.com/?page=downloads

- Openfire (Jabber) (Optional)
http://www.igniterealtime.org/downloads/index.jsp

- cURL (libcurl For PHP) (Optional)
http://www.php.net/manual/en/curl.installation.php

FEATURES:



  • Automatic Generation of Roles based on Corporations in the Alliance.
  • Roles are Synchronized across Drupal/TeamSpeak/Jabber. (Roles are force pushed from Drupal, but are not pulled into Drupal.)
  • TeamSpeak 3 Registration and User Management.
  • Jabber Registration and User Management.
  • CEO's and Directors are automatically assigned the CEO and Director role respectively.
  • Custom Access Mask required for registration/continued registration.
  • Manually add/delete a Blue Standing.
  • Manually add/delete a Alliance Corporation.
  • Keep memos/notes for each corporation or standing to assist with contact details and/or reasons for why they are listed.
  • White list a Character. (These characters only require a basic API Key and are not restricted to showing all Characters.)
  • Various TeamSpeak options, such as a nag reminder for users to register and to correct nickname. (Possible punishments are nagging message, nagging poke, kick after X mins, ban after X mins for Y mins.)
  • User List module will display API Information on the user view page for each user as well as each character registered to users with available permissions/roles.
  • User List module will display all characters currently active on the site.
  • User List module will display all characters in a registered corporation or alliance.
  • User List module will display all details about each character in the corporation to a Director within the corporation, the directors can only see this information for their own corporation.
  • Require API Key to not expire on registration/continued registration.
  • Require API Key to not show all characters on registration/continued registration.
  • EVE Avatars are automatically displayed, can be over ridden with a custom uploaded avatar.
  • All characters mail, contracts, and wallet journal entries are recorded and stored for future purposes, for instance, ferreting out spies.


REQUESTED/PLANNED FEATURES:



  • Make use of Mail, Contracts, and Wallet Journals for Ferreting out Spies
  • ejabberd Integration.
  • Mumble Integration.
  • Custom Rules based on Blue Standings, Skills, EVE Roles, Faction Warfare, and well anything imported from EVE :)
  • Your Requested Feature?



Download:
http://ftp.drupal.org/files/projects/eve_api-7.x-2.0-rc8.tar.gz

Latest release:
https://danlee.ca/git/omni_eve_api.git

For any support please go here:
https://drupal.org/project/issues/eve_api

Project Page:
https://drupal.org/project/eve_api
Manic Velocity
Federal Navy Academy
Gallente Federation
#2 - 2013-07-28 19:10:48 UTC  |  Edited by: Manic Velocity
I will definitely test this out. I much prefer Drupal to SMF.

Thanks for putting this together!

"The most punchable face in New Eden."

Be excellent to each other.

Twitter | Twitch | YouTube

0mni Ca
Brutor Tribe
Minmatar Republic
#3 - 2013-07-30 01:45:48 UTC  |  Edited by: 0mni Ca
Currently working on Teamspeak 3 integration, you will have to download the Teamspeak 3 PHP Framework and manually upload them to:

/sites/all/modules/omni_eve_api/libraries/TeamSpeak3/

When you look in the folder you should see TeamSpeak3.php

I am working to see if I can include the libraries by default, but may have to move off drupal.org due to their restriction on including additional code, even though it is the same GNU GPL license.

Download Library:
http://addons.teamspeak.com/directory/tools/integration/TeamSpeak-3-PHP-Framework.html

The way I plan on integrating the two is that any roles that exist in drupal, will automatically be created in teamspeak, minus the guest role. That way as you assign a custom role of CEO or Director, it will automatically create it in Teamspeak and add anyone to it. The only thing you will need to do is setup custom permissions on teamspeak.
Fedaykin Aries
Caldari Provisions
Caldari State
#4 - 2013-07-30 15:05:56 UTC
Will be testing this. Been looking for an alternative to EveBB for a while as that project came to a screeching halt a while back.
Keep up the good work a thanks for releasing for community use!

Cheers,
Fed
Sugar Von MurdererTits
Weaponised Vegemite
Flying Dangerous
#5 - 2013-07-31 17:05:54 UTC
I will check it out and give you some feedback later on.
0mni Ca
Brutor Tribe
Minmatar Republic
#6 - 2013-07-31 21:23:06 UTC
Teamspeak integration is moving along quickly. I suspect it will be completed by this weekend. Then the plan is to move onto Jabber :)
Frazer
Deep Core Mining Inc.
Caldari State
#7 - 2013-08-02 11:54:17 UTC
Go 0mni!

You are a coding beast and a great asset to Trifectas.
0mni Ca
Brutor Tribe
Minmatar Republic
#8 - 2013-08-06 14:52:23 UTC
The teamspeak integration is complete. I am working on the Jabber intergration right now, it is not too dificult and should be done shortly, but have come across a problem with a task I need to do with the Jabber groups. Currently there is no way to create groups in openfire, not without some kind of intervention by SSH, automatically. So until I decide on the next step, I may have to come up with a manual method of having admins create the groups in openfire.
0mni Ca
Brutor Tribe
Minmatar Republic
#9 - 2013-08-08 05:21:29 UTC  |  Edited by: 0mni Ca
New repository for the project:
https://danlee.ca/git/omni_eve_api.git

Jabber intergration is coming along nicely.

EDIT: No longer hosting repo on my website, see Drupal for repo.
0mni Ca
Brutor Tribe
Minmatar Republic
#10 - 2013-08-10 02:16:01 UTC  |  Edited by: 0mni Ca
The Module is now complete and ready for an official BETA release. Jabber integration, Teamspeak Integration are complete and fully working. Going to be working on some guides and documents to help guide in the operation of the module. It is designed to be extremely simple to setup and maintain.

Teamspeak groups are created automatically as well as Jabber groups. They are mirrored from the Drupal roles. This means, that if you have a role assigned to you in Drupal, the role will filter to Teamspeak and Jabber. Roles deleted in Drupal do not get deleted from Jabber or Teamspeak. This is in case an accident occurs, you don't have to set them back up. Roles removed from users in Drupal will get removed in Teamspeak and Jabber.
0mni Ca
Brutor Tribe
Minmatar Republic
#11 - 2013-08-20 00:54:38 UTC
Moved to a new version 7.x-2.x

Teamspeak and Jabber have been seperated from the main module. There is also the ability to add on new sub modules for integration with other services. Possible integration for Mumble, ejabberd, and others.
Yugo Reventlov
Keeping Up Appearances
#12 - 2013-08-21 09:31:10 UTC
I am interested in an ejabberd integration :)

If you need any help testing or whatever, please contact me!
CGD
BangBus
Spartan Republic
#13 - 2013-08-21 09:53:30 UTC
Great tool,

when i add my openfire server info (that is running on same server), i get this error:

"Please check your Openfire URL settings and try again."

But the URL is correct and openfire works fine...

Help?
0mni Ca
Brutor Tribe
Minmatar Republic
#14 - 2013-08-21 16:30:40 UTC
CGD wrote:
Great tool,

when i add my openfire server info (that is running on same server), i get this error:

"Please check your Openfire URL settings and try again."

But the URL is correct and openfire works fine...

Help?

If you can also create a ticket at https://drupal.org/node/add/project-issue/eve_api as it will assist in patches and is a much better environment for problems than on the forum.

What version of openFire are you using ? What version of EVE API are you using, can you goto http://YOURDRUPALURL/admin/reports/status

You should see http://puu.sh/47kPZ.png

As for your problem, there are two tests made, the first is the database connection, it appears that is working, as I you do not show the error.

Can you try the following URL and let me know what is returned.

http://YOURDOMAIN.COM:9090/plugins/userService/userservice?secret=YOURSECRET

You should get IllegalArgumentException if it is successful, it basically means that your password is correct, but is missing variables. This is what should be returned. If you get something else, then its possible you do not have the right Secret Password.
CGD
BangBus
Spartan Republic
#15 - 2013-08-21 22:14:44 UTC
0mni Ca wrote:
CGD wrote:
Great tool,

when i add my openfire server info (that is running on same server), i get this error:

"Please check your Openfire URL settings and try again."

But the URL is correct and openfire works fine...

Help?

If you can also create a ticket at https://drupal.org/node/add/project-issue/eve_api as it will assist in patches and is a much better environment for problems than on the forum.

What version of openFire are you using ? What version of EVE API are you using, can you goto http://YOURDRUPALURL/admin/reports/status

You should see http://puu.sh/47kPZ.png

As for your problem, there are two tests made, the first is the database connection, it appears that is working, as I you do not show the error.

Can you try the following URL and let me know what is returned.

http://YOURDOMAIN.COM:9090/plugins/userService/userservice?secret=YOURSECRET

You should get IllegalArgumentException if it is successful, it basically means that your password is correct, but is missing variables. This is what should be returned. If you get something else, then its possible you do not have the right Secret Password.


Fixed mate, it was the plugin (userservice) that was disabled.

Now my only problem is with the integration with Teamspeak.... But since i don't understand TS3 too much (i'm more a Mumble user), i'm gonna explore better the integration first.
0mni Ca
Brutor Tribe
Minmatar Republic
#16 - 2013-08-21 22:31:30 UTC
CGD wrote:
Fixed mate, it was the plugin (userservice) that was disabled.

Now my only problem is with the integration with TeamSpeak.... But since i don't understand TS3 too much (i'm more a Mumble user), i'm gonna explore better the integration first.

I will investigate the process for mumble integration this weekend. I personally do not use it, but I will at least see what would be required to make it work so I can plan ahead.
0mni Ca
Brutor Tribe
Minmatar Republic
#17 - 2013-08-22 02:26:39 UTC  |  Edited by: 0mni Ca
0mni Ca
Brutor Tribe
Minmatar Republic
#18 - 2013-08-23 18:56:56 UTC  |  Edited by: 0mni Ca
0mni Ca
Brutor Tribe
Minmatar Republic
#19 - 2013-08-24 23:11:15 UTC
0mni Ca
Brutor Tribe
Minmatar Republic
#20 - 2013-08-31 00:01:13 UTC  |  Edited by: 0mni Ca
123Next pageLast page