open All Channels
seplocked EVE Technology Lab
blankseplocked Yapeal PHP API library (revision 1203 branches/keys/)
 
This thread is older than 90 days and has been locked due to inactivity.


 
Pages: first : previous : ... 16 17 18 19 20 21 22 23 [24]

Author Topic

Zaepho
Gallente
Phoenix Propulsion Labs
Omega Vector
Posted - 2011.08.30 18:31:00 - [691]
 

Anybody have some experience with the updated version that they want to share?

I'm sure we won't see a ton until the official switch over (I know that's when I'm planning to start frantically working on it at least) but would love to hear of any gotchas and such.

I'm also very interested in any conversion possibilities from a live DB from the old keys to the new key system, or should I ditch my tables and start fresh?

Johnathan Roark
Caldari
The Graduates
Morsus Mihi
Posted - 2011.08.30 22:50:00 - [692]
 

Originally by: Zaepho
Anybody have some experience with the updated version that they want to share?

I'm sure we won't see a ton until the official switch over (I know that's when I'm planning to start frantically working on it at least) but would love to hear of any gotchas and such.

I'm also very interested in any conversion possibilities from a live DB from the old keys to the new key system, or should I ditch my tables and start fresh?


I haven't had any issues in testing it. To get yapeal to connect to the test server you'll want to fill in https://apitest.eveonline.com/%section$s/%api$s.xml.aspx for the proxy, I suggest for each section in utilSections. For testing purposes, I would start clean. Converting, I plan on dropping all account* and util* tables. Everything else I would make a backup of, which should be done anyway.

As for other bits, you may want to check this post out and swing by and chat with us on what your looking to do.

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2011.08.31 05:08:00 - [693]
 

Hi all,
So by this point I was figuring on having the wiki updated with info about the new custom keys and how they work in Yapeal but I've really ran out of time to do that with RL and the short time frame give by CCP so I'll try to hit the highlights here and direct you to where you can find some more info too. First I'd like to thank Johnathan Roark for all his help on stuff. He and I have helped each other on our varies projects before but he eve has gone so far as to add the new contract API this time around and should finish off the other contract APIs in the near future once CCP either fixes a issue we found with them or I've had a chance to work with him on working around it. He also was both my Alpha and first Beta tester so he got to see the code when it was still very broken in some cases and provided the great feedback that I always get from him.

As he pointed out in the post above me here it's best to drop all the tables in account* and util* from the database as they have had to undergo some major changes that can't be upgrade really. As always when upgrading the database you should have full backups of everything but none of the API table outside of account should have any large changes just a few minor fixes as usual when I notice something or someone else reports issues to me.

You will notice a few more APIs should be active by default now when you first install Yapeal. I'm trying to have some of the ones I felt everyone was likely to use active now but haven't had a lot of time to really go over them and make a firm list yet so do give me some feedback on which ones you'd like to see.

Ok so here a list of the big changes:
  • New utilRegisteredKeys table - This replaces utilRegisteredUser in most ways and is the only Registered table that is always used.
  • accountAPIKeyInfo table - This is the new table used to figure out key types and other info.
  • accountCharacters - Merge with APIKeyInfo in effect as a rowset. The column names have changed to match the new source and no userID now.
  • accountKeyBridge - Not really part of the APIs but it is the key to making connection between APIKeyInfo and Characters tables.
  • util* - activeAPI is now activeAPIMask and instead of a list it is now a bitmap just like accessMask from APIKeyInfo. This has been expended on from what's in the APIs for the eve, map, and server sections
  • utilAccessMask - Used to convert to and from new bitmap for masks. Should not need to use directly if using class/util/Registered*.php classes
  • Registered*.php - These classes are provided to help other developers interface with Yapeal and internally too. If you have been currently using them only real change here is there is now a RegisteredKey instead of RegisteredUser.
  • registered_mode setting - New setting found in config/yapeal-example.ini that should be checked out as it can have a large effect on how the char/ and corp/ sections work in Yapeal.


Ok running out of space so here's some links to more info.
http://www.eveonline.com/ingameboard.asp?a=topic&threadID=1554297
http://peelingyapeal.blogspot.com/
http://code.google.com/p/yapeal/source/browse/#svn%2Fbranches%2Fkeys

Out of space hope those help.
http://sourceforge.net/projects/yapeal/files/keys/Yapeal-developer-guide-keys.tar.bz2/download

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2011.09.03 18:59:00 - [694]
 

Ok I've now update the Yapeal main page with info from my public API key. To understand what a public key is all about take a look at the page.

While I'm posting I'll do a little update too. I'm still working on some of the error handling code mostly the part that tries to de-active keys/chars/corps etc when there something wrong with them or something. Some of you may have also seen that the notice log is a bit noisier then before because of some of the new changes to how keys work. I'm in the process of quieting it down again as well.

As always let me know if you are seeing anything you don't understand in the logs or new so I can look into them.

revision 1202

Eduardo'o
Posted - 2011.09.04 19:56:00 - [695]
 

I got yapeal installed, did all the checks like mentioned in the install.txt file, so it all looks good.
I browsed the documentation, but I could not find an exmaple of what tables to fill up in order for it to work correctly. Or a real example on how to use the classes to add keys.
Can you point me to the documentation?

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2011.09.05 02:26:00 - [696]
 

Unfortunately the docs are all very out of date because of the changes do to custom keys. But here's some tips on using it. The table you have to add stuff to is utilRegisteredKey. You'll need to look at registered_mode setting in config/yapeal.ini (make copy of yapeal-example.ini) to know if the other utilRegistered* tables are needed. For things you want to access the API the isActive column is important. It's in several of the util* tables and they do interact like the ones in utilSection are overall controls. Look through the featured wiki pages. They are out of date but as long as you think key where it says user it'll give you some idea how stuff works. I'll try to get the docs updated soon Wink

Eduardo'o
Posted - 2011.09.05 19:36:00 - [697]
 

I found out why I probably find this all so hard, after I installed yapeal, the untilRegisteredKey table is simply not available.

I seem to have downloaded the old yapeal engine, although I only downloaded it today from sourceforge (linux version).
Is there a seperate place where I can download the yapeal version that works with the new apis?

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2011.09.05 21:35:00 - [698]
 

If you are looking for the zip or tar.bz2 archives they are in keys folder on SourceForge. If you are looking for the correct place in the SVN try getting it from branches/keys/ instead of trunk/. BTW it's utilRegisteredKey not untilRegisteredKey but I'll assume that was a typo Wink

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2011.09.08 14:29:00 - [699]
 

Ok going to try this again and move to the new forums. If you have questions or comments please post them there.
New Yapeal Thread


Pages: first : previous : ... 16 17 18 19 20 21 22 23 [24]

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only