Giter VIP home page Giter VIP logo

lmeve's People

Contributors

dstevens79 avatar maurerit avatar roxlukas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lmeve's Issues

ESI Support

Are there plans to support ESI vs CREST and older API?

Keep completed one-time tasks in Tasks view

Starfire Dai: Would you be kind enough to get LMeve to keep completed tasks in the view of the producer? As it is now, once he finishes the task, it disappears from view. We’re having an issue with over production, and I think it would be good if they could see what they’ve done

Unable to login

After completing the install and trying to login for the first time, I get the following error:

Wrong username
or password.

I have run "php ./bin/passwd.php", and got the following:

User 'admin' already exists. New password is 'admin'
Login to LMeve, go to Settings and change admin password immediately

I still get the wrong unsername/password error. I even dropped the used from the "lmuser" table (DELETE FROM lmusers WHERE login='admin';) and reran "passwd.php" and got:

User 'admin' does not exist. Adding user 'admin' and setting password 'admin'
Adding 'Administrator' role to user 'admin'
Login to LMeve, go to Settings and change admin password immediately

But still unable to login.

Did I miss something?

Include TCU fuel bonus in POS Fuel calculations

  • Must add /sovereignty/structures/ endpoint from CREST first
  • Then for each Control Tower in LMeve database must check it the parent alliance owns TCU in the same system where the POS is located. If so, include 25% fuel bonus in calculations.

originally sent by ClaasStoertenbecker

Cannot set price and cost index solar systems

Cannot select region and solarsystems under Settings for the following fields:

Get market prices from:
Get industry indices from:

Cause: ajax.php has a bug in SQL query which feeds the select dropdowns

Northbound TASKS API numbers as strings

Some of the numbers in the TASKS endpoints are coming across as strings in the JSON where as others are numbers:

"name": "Some Person",
"characterID": 1234567,
"typeName": "Some Thing",
"typeID": 1234,
"activityName": "Manufacturing",
"activityID": 1,
"taskID": 2000000,
"runs": 800,
"taskCreateTimestamp": "2018-10-01 00:00:00",
"singleton": 1,
"runsDone": "800",
"jobsDone": 3,
"jobsSuccess": "0",
"jobsCompleted": 0,
"runsCompleted": "200"

The main numbers I'm concerned about here are the runsDone, jobsSuccess and runsCompleted. I'm tentatively planning some integrations with this endpoint and having them as numbers would be ideal to avoid any funky work arounds to pull them into the primitives that they'll land in.

Check free industry slots

Here is a suggestion, if you can get the max jobs a character can have (manufacturing, copying, etc) a great dashboard option might be to show which characters have open slots available to quickly assign jobs to them.

(sent by by Idgarad)

Issue bringing in YAML files

I get the following error when trying to run "php ./bin/update_yaml.php --all"

Calling updateYamlTypeIDs(), please wait... File ../data/devdeeps_eveSDE/typeIDs.yaml does not exist. Make sure YAML files from EVE SDE are in appropriate directories.done
Calling updateYamlGraphicIDs(), please wait... File ../data/devdeeps_eveSDE/graphicIDs.yaml does not exist. Make sure YAML files from EVE SDE are in appropriate directories.done
Calling updateYamlCertificates(), please wait... File ../data/devdeeps_eveSDE/certificates.yaml does not exist. Make sure YAML files from EVE SDE are in appropriate directories.done
Calling updateYamlBlueprints(), please wait... File ../data/devdeeps_eveSDE/blueprints.yaml does not exist. Make sure YAML files from EVE SDE are in appropriate directories.done
Calling recreateLegacyTables(), please wait...

Database error. Contact your administrator and report the problem.

The files do exist:

ls -lah ./data/devdeeps_eveSDE/

total 63M
drwxr-xr-x 2 devdeeps devdeeps 4.0K Mar 11 04:48 ./
drwxr-xr-x 4 devdeeps devdeeps 4.0K Mar 11 04:34 ../
-rw-r--r-- 1 devdeeps devdeeps 4.2M Mar 9 10:24 blueprints.yaml
-rw-r--r-- 1 devdeeps devdeeps 8.4K Mar 9 10:25 categoryIDs.yaml
-rw-r--r-- 1 devdeeps devdeeps 193K Mar 9 10:25 certificates.yaml
-rw-r--r-- 1 devdeeps devdeeps 397K Mar 9 10:25 graphicIDs.yaml
-rw-r--r-- 1 devdeeps devdeeps 534K Mar 9 10:25 groupIDs.yaml
-rw-r--r-- 1 devdeeps devdeeps 237K Mar 9 10:25 iconIDs.yaml
-rw-r--r-- 1 devdeeps devdeeps 309K Mar 9 10:25 skinLicenses.yaml
-rw-r--r-- 1 devdeeps devdeeps 5.0K Mar 9 10:25 skinMaterials.yaml
-rw-r--r-- 1 devdeeps devdeeps 298K Mar 9 10:25 skins.yaml
-rw-r--r-- 1 devdeeps devdeeps 7.3K Mar 9 10:25 tournamentRuleSets.yaml
-rw-r--r-- 1 devdeeps devdeeps 57M Mar 9 10:25 typeIDs.yaml

Suggestions?

Typo on SSO login screen

From: Crysis McNally
To: Lukas Rox

I found a typo in LMeve.

"This EVE Online character is not autohorized.
If the character should be authorized, check whether it's linked to your LMeve account."

Citadel SDE breaks invBlueprintTypes table

Hi Lukas,

Did a clean install from latest source here, into Debian.

Imported latest Steve Ronuken Mysql sde conversion as of 2nd May.

Task creations, database lookups, profit explorer etc starting showing missing data problems.

Traced issues to invBlueprintTypes table have several missing field values.

Created manual SQL script below to update missing values from SDE tables.

CO

`-- Name of $LM_EVEDB
USE eve_sde ;

-- Update Blueprint Products
UPDATE invBlueprintTypes as s
inner join industryActivityProducts as g on s.blueprintTypeID = g.typeID
SET
s.productTypeID = g.productTypeID
where g.activityID = 1 ;

-- Update Manufacturing Time
UPDATE invBlueprintTypes as s
inner join industryActivity as g on s.blueprintTypeID = g.typeID
SET
s.productiontime = g.time
where g.activityID = 1 ;

-- Update TE Time
UPDATE invBlueprintTypes as s
inner join industryActivity as g on s.blueprintTypeID = g.typeID

Inner join invTypes as i on s.blueprintTypeID = i.typeID

SET
s.researchProductivityTime = g.time
where g.activityID = 3 ;

-- Update ME Time
UPDATE invBlueprintTypes as s
inner join industryActivity as g on s.blueprintTypeID = g.typeID
SET
s.researchMaterialTime = g.time
where g.activityID = 4 ;

-- Update COPY Time
UPDATE invBlueprintTypes as s
inner join industryActivity as g on s.blueprintTypeID = g.typeID
SET
s.researchCopyTime = g.time
where g.activityID = 5 ;

-- Update INVENTION Time
UPDATE invBlueprintTypes as s
inner join industryActivity as g on s.blueprintTypeID = g.typeID
SET
s.researchTechTime = g.time
where g.activityID = 8 ;

-- Update Blueprint T2 ParentBPO
UPDATE invBlueprintTypes as s
inner join industryActivityProducts as g on s.blueprintTypeID = g.productTypeID
SET
s.parentBlueprintTypeID = g.TypeID
where g.activityID = 8 ;

-- Update INCORRECT TECH LEVELS
UPDATE invBlueprintTypes as s
inner join invTypes as i on blueprintTypeID = i.typeID
SET
s.techLevel = 2
where techLevel = 1 and parentBlueprintTypeID IS NOT NULL and i.published = 1;`

Poller has hanged

Error (Tool): "EVE API Poller has hanged, contact Administrator!"
Error (Run poller.php manually): "PHP Fatal error: Call to a member function attributes() on string in /var/www/lmeve/bin/libpoller.php on line 73"

Checkbox: Kit delivered

It would be great to have checkbox to mark Kits as delivered (to POS).

It would help to improve the logistical overview and also help the fight 'corp-assets in private use'.

Best Practices for Updating

Just wanted to see if there was a preferred way of upgrading the lmeve install. I thought about just dropping it in and going but wasn't sure if there was a good way of doing things.

Thanks!

Quality of life improvments/little things

By Devlin Shardo:

  • In the tasks window. I'd really want a way to sort the jobs by type, quantity and progress.
  • I'd also like to see the jobs not disappear when done, but rather see a history of my jobs that are done(this month)
  • Perhaps having a separator for, invention, manufacturing, copy, and research. If the sorting is out of question..
  • In the tasks window, under 'Currently in progress'. I'd like it if it shows how many of the thing its manufacturing.
  • In the 'Buy calculator'. If there is a final checkout prompt. And a way to cancel delete orders you've made

esi character == 0

since polling is completing from #58, figured id move these smaller things into thier own issues.

[INFORM] Killmails: Updating Killmails...
[INFORM] Characters: Updating Character 0...
[WARNING] /v4/characters/: ERROR 400: {"error":"0 does not meet minimum of 1, 'character_id' is required"}
[WARNING] Characters: getCharacter() Cannot get character information for 0 using /v4/characters/
[WARNING] Main: Exception occured in ESI(tokenID=8): getCharacter() Cannot get character information for 0 using /v4/characters/

Northbound API

I've created a Northbound API key for my character. When attempting to use this key, I get the following JSON response:

{"errorMsg":"API is disabled.","errorCode":503}

Is there somewhere where am supposed to enable the Northbound API?

importing VM into ESXi 5.0 Harddisk issue

Hi,

when I import the VM into ESXi I got the following issue, if I try to power it up:
Module DevicePowerOn power on failed.
Unable to create virtual SCSI device for scsi0:0, '/vmfs/volumes/502a6669-dd49db82-eef2-c86000be4342/lmeve/LMeve 0.1.53.vmdk'
Failed to open disk scsi0:0: Unsupported or invalid disk type 7. Ensure that the disk has been imported.

Copy tasks

Add how much runs every copy should have.

LMeve configuration

LMeve should store most configuration data in database and allow changing it from the GUI. Only rarely changed settings should remain in config.php.

Enchancement Suggestion - Corp Valuation

Current wallet page shows monthly cashflow. However purchases of mats, BPOs etc show as purchases and can give an impression that the corp is losing money as there is no recognition of BPOs or mats as assets. Also work in progress and market orders can also show negative cashflow until sold.

Suggest a new report/page for corp valuation, which values:
Assets
Cash
Contracts
Market Orders
Work in Progress.

Only needs to be calculated daily, due to cache timings.

Have attached example scripts/SQL in an email directly to LP.

CO

Mergede wages

To ease wage payments, users with several toons in corp are grouped like when you view you own wages.
Payments should go to the main toon/used for login

enhancement : market poller on own thread

polling for a large number of market item values (~2000) can take a significant amount of time - more time than all other operations combined resulting in polling times in excess of 2900 seconds

separating the marketing section of the poller into its own php to tack into cron or a second poller thread that runs parallel to the existing poller for just market orders would alleviate this

Northbound API for external tools

LMeve should allow LMeve-specific data retrieval for external tools through HTTP/HTTPS interface in a JSON format.

LMeve-specific data is information which is not available in EVE XML or CREST APIs (example: tasks, manufacturing quotes)

POS Silos

An awesome feature would be a popup information for space left in silos like the notification for the pos fuel.

API Is Disabled

I have tried to synchronize evernus with lmeve, but every time I try it says the API is disabled. I have generated new keys and checked the northbound api page lmeve does not say that the key has been accessed.

Enhancement: Global Tasks

Add tasks that are available for everyone. The first that are seeing the task can execute it first. So teamleaders dont have to wait for individual producers and therefore have a better flow in completing projects. Also teamleaders dont have to mess with what each character can produce.

EDIT:
Only add that global task to characters that are in a specific group.

Assets mapping to wrong Stations

Hello,

For me LMEVE is mapping the Assets to a wrong Station. The Assets are fine but located under the wrong Station. Also is SOV calculated in Fuelblockconsumption ?

Enhancement Suggestion - Table crestindustrysystems

costIndex field is currently Decimal(20,2), suggest change to Decimal(20,4)

Currently truncates all values 0.0100 to 0.0199 as 0.01.

Represents 1.00% - 1.99% stored as 1%

Therefore cost calculations incorrect by up to factor of 100% in example above.

Tasks: Carry on next month

It would be great if created tasks could be carried on in the next month.

Current situation: Tasks can be created either as one time tasks or repetitive tasks. Both ways are quite suboptimal when having a lot of tasks withhin a corp.

Issues: Mats brought to arrays at the beginning of tasks > left overs at the end of the month > accumulate over month > hazzle to sort out

Solution: when creating tasks, it should be possible to mark them not only as one time task or repetitive task but as well as "take over to next month". Even further, this should be default as also with repetitive tasks a lot of mats and especially t2-copies get stockpiled. Tasks should not reset at the beginning of a new month. At least an option to set this would be nice :-)

Trouble with Skins.php

Hi.
After upgrading to the latest version i got an error (see attachment).
error
The problem was in file include/skins.php at lines 9 and 66.
I replace "skinMaterialsRGB" to "skinMaterials" and that's ok.
And another one. Latest SDE (Vanguard) does not contain file "skinMaterialSets.yaml". Need to fix yaml_updater i think.
Thx.

Task tracking.

It seems like that the tool is not tracking the tasks of all members correctly.
Could you explain the mechanic how the tool checks task progress ?
I think it is most likely a humanerror of mine and or corporation members.

cheers Claas Stoertenbecker

"ViewKillboard" value missing in table lmrights

Whilst Admin users can see the killboard, no other users or roles can see the killboard or be assigned the role rights, (even if public killboard setting is enabled...?)

Inserted row into lmrights 38, ViewKillboard issue solved.

Roles can now be assigned the right to view or not the killboard.

Buyback

How do you set up buy back for items you want people to sell to the Corp?

schema.sql missing table

I think there is something wrong with schema.xml .. it does not containt the apipocolist table.

Assets Not Being Retrieved

Have done a fresh install on Debian of the latest code.

Full corporate api key with no expiry, character is the CEO, access mask 134217727

Corporation based in an engineering complex, with all assets residing there.

Assets XML file not showing any assets, even though there are assets in corporate hangars and those items are marked in the DB with stock level monitoring e.g. trit

All other corp information polled and retrieved ok. No obvious error messages in poller.txt.

Tested using 2nd existing long time corp with 0.1.57 release, picks up assets in same EC no issue.

assets.xml

2017-01-11 00:01:16 2017-01-11 05:58:16

Poller.txt
...
11.01.2017 0:01:12 [CLI]: [INFORM] Main: Polling assets, this may take a while...


11.01.2017 0:01:12 [CLI]: [INFORM] Main: Polling public API feeds...


11.01.2017 0:01:12 [CLI]: [INFORM] Main: Polling public CREST feeds...


11.01.2017 0:01:17 [CLI]: [INFORM] Main: Polling eve-central.com feeds...


11.01.2017 0:01:17 [CLI]: [INFORM] Main: Success! Import took 75.455547809601 seconds.


...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.