This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run every 3 hours | |
@periodic_task(run_every=crontab(minute=0, hour="*/3")) | |
def run_api_refresh(): | |
users = User.objects.all() | |
for user in users: | |
# Check if the api server is online | |
if EveApiManager.check_if_api_server_online(): | |
api_key_pairs = EveManager.get_api_key_pairs(user.id) | |
if api_key_pairs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Group group id | |
ipsRegistry::DB()->build(array('select' => 'g_id', 'from' => 'groups', 'where'=>"g_title='{$group}'")); | |
$result = ipsRegistry::DB()->execute(); | |
array_push($groups, ipsRegistry::DB()->fetch($result)['g_id']); | |
$groupstoadd = implode(",", $groups); | |
IPSMember::save( array( 'core' => array( 'field' => 'member_id', 'value' => $member['member_id'])),array('core' => array('mgroup_others'=>$groupstoadd))); | |
[11:28:49 PM] Tyler: sending this for myself |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remote API User Administration configuration | |
* | |
* @author Author: Raynaldo Rivera | |
*/ | |
class API_Server | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remote API User Administration configuration | |
* | |
* @author Author: Raynaldo Rivera | |
*/ | |
class API_Server | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remote API User Administration configuration | |
* | |
* @author Author: Raynaldo Rivera | |
*/ | |
class API_Server | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remote API User Administration configuration | |
* | |
* @author Author: Raynaldo Rivera | |
*/ | |
class API_Server | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load staticfiles %} | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf import settings | |
from eveonline.managers import EveManager | |
@login_required | |
def hr_application_management_view(request): | |
personal_app = None | |
corp_applications = None | |
if request.user.is_superuser: |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
The MIT License (MIT) | |
Copyright (c) 2014 Jeppe Rune Mortensen | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":"tiamat-1.0-110751","url":"https:\/\/www.fuzzwork.co.uk\/dump\/tiamat-1.0-110751\/","format":".sql.bz2","tables":["dgmTypeAttributes","invCategories","invContrabandTypes","invControlTowerResourcePurposes","invControlTowerResources","invFlags","invGroups","invItems","invMarketGroups","invMetaGroups","invMetaTypes","invNames","invPositions","invTypeMaterials","invTypeReactions","invTypes","invUniqueNames","mapDenormalize","staStations"]} |
OlderNewer