blitzmann
2256efacb0
Do migration stuff for projected fits
2015-07-10 16:40:00 -04:00
blitzmann
28a5318e3b
Merge branch 'master' into toggleProjectionFit
...
Conflicts:
config.py
2015-07-10 16:09:00 -04:00
blitzmann
496e9b56b5
Handle use case of invalid fit's mucking things up
2015-07-10 15:46:15 -04:00
blitzmann
68dddf2810
Fix for init projected fit. Took a long time to figure out what was happening.
2015-07-10 11:58:15 -04:00
blitzmann
4c17f38b1a
Fix for #324 - do not reset itemID automatically upon removal due to way modules are swapped.
2015-07-09 18:36:11 -04:00
blitzmann
c17e03d8d0
Fixes critical design issue when it comes to projected fits. Disabled some of the more advanced functionality (projection amount and active) to cope to development. Crash still happens occasionally when adding projected fit for unknown reasons - not 100% reproducable yet
2015-07-09 17:53:41 -04:00
blitzmann
af9f64db5f
Move the chain into the runtime loop, otherwise projections won't work for some odd reason.
2015-07-09 14:48:15 -04:00
blitzmann
d885bd4636
Bump dev and Fix #321 - oversight in tactical mode selection
2015-07-09 11:48:11 -04:00
blitzmann
c17bce55bb
Lots of stuff
...
- Added logging and replaced Timer class with more useful one
- Move projected fit loop out of runtimes
- Eliminate recursions from Fit.clear()
- Clean up overall fit calc logic
2015-07-09 10:43:39 -04:00
blitzmann
c92911b79a
Work around for lack of flag_modified() support
2015-07-08 10:54:26 -04:00
blitzmann
b95a10d284
Add active column. Looping the fit to apply it x amount of times doesn't seem to work. Probably because it's been flagged calculated and returns early
2015-07-07 13:49:38 -04:00
blitzmann
2bca3ddcc8
GUI support (also made regular checkboxes pretty for drones/implant/etc)
2015-07-07 13:49:37 -04:00
blitzmann
9ef182aa99
First working prototype of toggleable projected fits. Creates a new association object that stores projection-specific information. GUI hasn't been touched (need to show state), and there are a lot of variables that I need to rename.
2015-07-07 13:49:35 -04:00
DarkPhoenix
bfe3b4a26d
Add new entosis offline mass penalty
2015-07-07 15:10:37 +03:00
DarkPhoenix
2b3f3773e5
Merge branch 'master' into singularity
2015-07-06 01:39:50 +03:00
Ryan Holmes
a339ae1c55
Merge pull request #312 from blitzmann/dbCorruption
...
Fixes for database rot
2015-07-05 13:08:11 -04:00
blitzmann
3773d1c28e
Improvements to fit initializations and logging
2015-07-05 12:57:04 -04:00
blitzmann
7959593c6c
Improve object initialization and add support for logging the errors.
2015-07-05 00:31:52 -04:00
blitzmann
aaa60cbc14
Fix instance where some items were being re-added due to lack of return. Also, implement some basic logging.
2015-07-05 00:28:55 -04:00
DarkPhoenix
8ae5a96047
Merge branch 'master' into singularity
2015-07-04 12:45:15 +03:00
blitzmann
5991d19b3e
Allow Subsystems as modules.
2015-07-04 00:32:28 -04:00
blitzmann
3de6b63325
Fix oversight when creating a new database
2015-07-03 14:18:11 -04:00
DarkPhoenix
5608676dc8
Merge branch 'master' into singularity
2015-07-03 12:37:08 +03:00
DarkPhoenix
86ab1f7444
Ignore python pyc files and rely on index within file rather than just on amount of files
2015-07-03 12:36:17 +03:00
DarkPhoenix
8f51642f70
Merge branch 'master' into singularity
2015-07-03 12:13:53 +03:00
blitzmann
de71123a48
Merge branch 'pricing'
2015-07-03 02:38:23 -04:00
blitzmann
874cf4ef0a
Use old price information if update fails. Add "(!)" to show that price is out of date
2015-07-03 02:37:52 -04:00
blitzmann
87e5929cb1
DB migration is triggered by number of upgrade files found, rather than number in config.py. This allows us to remove the db version variable in config.py and not worry about it.
2015-07-02 19:35:53 -04:00
blitzmann
84b1e0ac41
Migrate boosters table to new schema that drops the UNIQUE constraint (causes issues and is unneeded)
2015-07-02 19:34:02 -04:00
blitzmann
ca08f8d8da
Handle fits with invalid ships by removing and deleting them when loaded.
2015-07-02 15:03:56 -04:00
blitzmann
e1ce672569
Move flag_modified to HandledList.remove() so that it takes care of all our use cases. Give fits an itemID like everything else so that projected fits can be removed correctly by this logic. No reason for them to be special snowflakes.
2015-07-02 11:22:26 -04:00
blitzmann
717080b58c
Handle invalid implants and boosters. Uses a different method to ensure implant and booster slot is not duplicated. Still need to modify existing databases to remove Booster table constraint. Reverts a previous commit: "Gracefully handle invalid boosters in database (both itemIDs that don't exist as well as non-booster items). Implants need a little more work" ( aaa5a6ae18)
2015-07-02 00:48:32 -04:00
blitzmann
51696c509f
Merged Cargo and Drone collection class (essentially the same). Utilized SQLAlchemy's flag_modified() to force SA to update DB (in this case, remove the entry)
2015-07-01 20:54:40 -04:00
blitzmann
4a5ae9f6f1
Handle invalid cargo. Noticed that cargo nor drones are removed from the database with these methods. Not sure why - projected drones and modules are correctly removed in similar ways
2015-07-01 15:21:27 -04:00
blitzmann
fa9f324f78
Handle invalid drones
2015-07-01 14:55:05 -04:00
blitzmann
bcc77f11cd
Handle invalid projected drones
2015-07-01 14:50:08 -04:00
blitzmann
f737f292e3
Refine appending projected modules. Ensure that module can actually be projected, and also ensure that we only have 1 system effect running at a time. Invalid modules are removed at earliest opportunity as we are later accessing attributes that may not be there for corrupted data.
2015-07-01 13:34:19 -04:00
blitzmann
1c18a5207c
System Effects are wrapped in Module class, even though they are not modules. Account for this.
2015-07-01 13:32:31 -04:00
blitzmann
fa2b1e3821
Handle invalid modules. This streamlines the module init code from both program and database sources. When loading from the database, we ensure that the module item is actually an item. If not, we set a flag to delete it (which is picked up by the collection class)(can't use exceptions as there's no place to catch them)
2015-07-01 02:20:56 -04:00
DarkPhoenix
91a9c860ea
Merge branch 'singularity' of github.com:DarkFenX/Pyfa into singularity
2015-06-30 21:15:10 +03:00
DarkPhoenix
0730ac369f
Update data to 910808
2015-06-30 21:14:22 +03:00
blitzmann
aaa5a6ae18
Gracefully handle invalid boosters in database (both itemIDs that don't exist as well as non-booster items). Implants need a little more work
2015-06-30 13:51:49 -04:00
DarkPhoenix
ec4a00cdfc
Merge branch 'master' into singularity
2015-06-25 12:12:33 +03:00
DarkPhoenix
edfd446e46
Update to 908326
2015-06-25 00:33:37 +03:00
blitzmann
95bf1039c0
Fix #291 - Triage not properly implemented on projected fit
2015-06-24 14:36:31 -04:00
DarkPhoenix
90a2a79d5b
Add hecate effects, update database to 906843
2015-06-23 00:00:09 +03:00
blitzmann
23baaa7dba
Merge branch 'master' of https://github.com/DarkFenX/Pyfa
2015-06-16 13:14:28 -04:00
blitzmann
8008c986d3
Fix #302 - Projected fit applying Tactical Destroyer mode effects on projectee
2015-06-16 13:14:16 -04:00
DarkPhoenix
b9efc919ea
Add missing RHML rof effect
2015-06-16 16:53:21 +03:00
DarkPhoenix
1694d74afa
Add Carnyx tiericide module upgrade/import paths
2015-06-02 23:27:08 +03:00