Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
roxlukas committed Mar 14, 2014
0 parents commit 0cd9b9e
Show file tree
Hide file tree
Showing 46,007 changed files with 169,753 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 22 additions & 0 deletions .gitattributes
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
223 changes: 223 additions & 0 deletions .gitignore
@@ -0,0 +1,223 @@
#################
## LMeve specific
#################

.wwwroot/ccp_img/*
.config/config.php


#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
47 changes: 47 additions & 0 deletions README.md
@@ -0,0 +1,47 @@
ABOUT:

This project was started at the request of Aideron Technologies CEO in 2013. This software is basically an advanced prototype.
Code beauty was not a priority, moreover this is not in objective PHP, just plain-old structural PHP.
I had plans to refactor entire project into CodeIgniter framework, but this plan is currently on hold.

More information: http://pozniak.pl/wp/?tag=lmeve

This app requires EVE Online corporation API keys to function. It doesn't use CREST, which came after I retired from EVE Online.

IMPORTANT:

There is no installer currently, so there is some setup work to get LMeve to run

1. Initial setup

* Go to ./config/ directory, copy config-dist.php to config.php and set it up according to your host
* After setting up new SALT value in config.php, generate admin password hash by using php ./bin/passwd.php
* copy the password hash to clipboard
* Download current Types icons from EVE Online Toolkit page: http://community.eveonline.com/community/fansites/toolkit/
* unpack all PNG icon files to ./wwwroot/ccp_img/

2. Database setup

* Import /data/schema.sql file before using LMeve. Remember to set the db config options in ./config/config.php
* Import latest static data dump (can be in other db schema for clarity, for example lmeve db in `lmeve` and static data in `sde_rubicon`)
You can download latest static data from Steve Ronuken's website: https://www.fuzzwork.co.uk/dump/
* If necessary, change table names to lowercase using script ./data/rename-lowercase.sql
* Access the database using phpmyadmin or other tool, go to `lmusers` table
* Edit record for user 'admin'
* Paste the password hash from clipboard in 'pass' field
then you can login to application using admin/admin
password should be be changed in 'Settings' later.
* Add API key to `cfgapikeys` table. keyID goes to `keyID`, vCode goes to `vCode`

3. API Poller setup

* Set up API poller in cron to run every 15 minutes

*/15 * * * * [path-to-php]/php [path-to-lmeve]/bin/poller.php

CREDITS and COPYRIGHTS

LMeve by Lukasz "Lukas Rox" Pozniak
LMframework v3 by 2005-2013 Lukasz Pozniak
rixxjavix.css skin by Rixx Javix
All Eve Related Materials are Property Of CCP Games
1 change: 1 addition & 0 deletions config/.htaccess
@@ -0,0 +1 @@
deny from all
44 changes: 44 additions & 0 deletions config/config-dist.php
@@ -0,0 +1,44 @@
<?
//APP NAME - for example "Aideron Technologies' LMeve"
$LM_APP_NAME='LMeve';
//locked
$LM_LOCKED=0;
//read-only
$LM_READONLY=0;
//check for session IP changes
$LM_IPCONTROL=1;
//maximum session cookie time
$LM_SESSION=3600;
//cookie path. must have a trailing slash, for example: /lmeve/
$LM_COOKIEPATH='/lmeve/wwwroot/';
//debug database queries? (include additional information in error messages)
$LM_DEBUG=1;
$LM_DBENGINE='MYSQL'; //MYSQL || PGSQL
//database settings
$LM_dbhost='localhost';
$LM_dbname='lmeve';
$LM_dbuser='lmeve';
$LM_dbpass='password';
//salt used for passwords. Should be a random string CHANGE IT!
$LM_SALT='abcde12345';
//thousand and decimal separators
$THOUSAND_SEP=",";
$DECIMAL_SEP=".";
//default CSS style
$LM_DEFAULT_CSS="css/rixxjavix.css";
//force SSL
$LM_FORCE_SSL=FALSE;
//LMeve will use static data from this database. Static data table names should be in lowercase!
$LM_EVEDB='eve_rub130_dbo';
//Buy calculator can show colored hints green - we buy, yellow - we have enough, red - we have way more than enough - we dont buy
$LM_BUYCALC_SHOWHINTS=TRUE;
//for LDAP authentication use the following settings
$LM_LDAP_USE = false;
$LM_LDAP_UID = "uid="; //for Windows: "" || for Linux: "uid="
$LM_LDAP_DOMAIN = ",ou=people,dc=diameter,dc=local"; //for Windows: @domain.company.com || for Linux: ,ou=people,dc=diameter,dc=local
$LM_LDAP_HOSTS = array("192.168.0.1");
//table with usernames and passwords for internal authentication
$USERSTABLE='lmusers';
//should LMeve learn new rights 1 for development, 0 for production
$LM_LEARNING_MODE=0;
?>
8 changes: 8 additions & 0 deletions config/lang.php
@@ -0,0 +1,8 @@
<?
$TIME_OUT='Czas na wykonanie zlecenia minął.';
$WARN_MSG='To zlecenie wymaga pilnej uwagi!';
$WARN_INCOMPLETE='To zlecenie jest niekompletne!';
$NOT_DONE='Zlecenie nie zostało jeszcze wykonane.';
$DONE='To zlecenie zostało wykonane.';
$LOGIN_AGAIN='BŁĄD: ZALOGUJ SIĘ PONOWNIE';
?>
1 change: 1 addition & 0 deletions data/.htaccess
@@ -0,0 +1 @@
deny from all
Empty file added data/YAML_data_dump_goes_here
Empty file.

0 comments on commit 0cd9b9e

Please sign in to comment.