DarkPhoenix
732b7a5ab9
Add system security column to fits
2019-05-01 15:04:46 +03:00
DarkPhoenix
fda2c43a1d
Restore booster state even when it was replaced by another booster
2019-04-10 18:18:26 +03:00
blitzmann
b4b8a158f5
Bunch of import optimizations
2018-09-16 00:05:36 -04:00
Ryan Holmes
bd975becf1
Continue work on projections (adding/removing projected environment and fit)
2018-08-10 12:47:51 -04:00
Ryan Holmes
fcc53d3f21
Add commands for booster and command fits
2018-08-03 16:10:27 -04:00
Maru Maru
1699b8ceee
Add ability to use character implants by default
2018-07-11 05:35:19 -04:00
blitzmann
3de63c5ca5
flake8 fixes
2017-05-08 21:32:13 -04:00
blitzmann
f1eb3f68d1
Change func.now() to datetime.datetime.now().
...
Apparently these are calculated differently (sqlite function is in utc, datetime is in local), and I couldn't figure out how to retrieve the tiome back into local. Since this is a single user application without a concern for time drift on the server, this should work just as well.
2017-05-07 11:35:26 -04:00
blitzmann
1604ea1f2c
Fix many bugs related to GUI not receiving a correct timestamp, as well as extending feature out to all other fit entities.
2017-05-07 02:02:54 -04:00
blitzmann
f9b7376cc7
Move sql alchemy events into their own file for now so that mac-deprecated doesn't get pissy.
2017-04-26 19:34:47 -04:00
blitzmann
32f417ce5a
Created first iteration of "Recent Fits" view, in which a nav button is interacted with to show a list of the 100 most recently modified fits. Ship Broswer is littered with ToggleRecentShips() to reset the icon when not in "recent" mode. This should probably be fixed at some point.
...
Removed the FIT_CHANGED binding from FitItem - this was causing very odd issues when the object was destroyed (navigating to another "stage") such as the Fit Changed event for that fit no longer firing (or at least seemingly so)
To fix this, simply look at the active fit during FitItem.Refresh()
Also creates a new query to get a list of items from the DB, although it's not used (was gonna use it, decided against it, but didn't want to delete the code - could prove handy later)
2017-04-26 18:51:39 -04:00
blitzmann
b4930d15b7
Update Fit.modified whenever modules change, allowing proper "recent" timestamps
2017-04-22 18:58:30 -04:00
Ryan Holmes
82edaf05d3
Merge pull request #1116 from pyfa-org/eos_cleanup
...
Eos cleanup
2017-04-09 22:43:29 -04:00
Ryan Holmes
07f88cc4d1
Add Create and Modify fields for most database tables ( #1073 )
...
* Add created/modified fields to relevant tables.
* Add migration for created and modified fields
* Seriously tox?
2017-04-05 18:54:57 -04:00
Ebag333
802e2afcc0
General cleanup of Eos. Reformats a bunch of files and cleans up unused code or code that's been commented out
2017-04-05 15:47:19 -07:00
Ebag333
64070a0798
Revert commit 7865219164 This causes too much grief as we are getting a lot of default values from the database. These *SHOULD* be defined, but will have to be done later.
2017-02-09 09:36:16 -08:00
Ebag333
7865219164
Add a ton of default values
2017-02-09 00:56:33 -08:00
Ebag333
72633825cf
Formatting and layout changes
2017-02-08 23:32:51 -08:00
Ebag333
3c31391ec9
Burn types with fire
2017-01-09 22:36:19 -08:00
Ebag333
28404cd8bb
bajillion pep8 fixes to pass tox
2016-12-13 23:31:39 -08:00
Ebag333
57f930c83e
Cherry pick commits from @a-tal
2016-12-13 20:35:03 -08:00
blitzman
72245d8ebe
Fix bad merge
2016-11-20 21:53:49 -05:00
Resin Neublem
78cbed516a
Adds a new notes pane for each fit
...
This allows users to save text notes for each fit. They may do this for history, or usage, etc.
2016-11-20 14:11:42 -05:00
Ebag333
ad76104033
Revert "Create variables before they are referenced. "
...
1dc15936ed
This is a problem for us. See #794 for more details.
2016-11-04 14:18:18 -07:00
Ebag333
7cf4134a73
SQLAlchemy doesns't like is, requires ==
...
Oops.
2016-10-19 13:32:35 -07:00
Ebag333
44c76f0b98
Even more PEP8 cleanup
2016-10-19 12:29:33 -07:00
Ebag333
0c0eb327f7
lots of PEP8 cleanup
2016-10-19 12:25:31 -07:00
Ebag333
1dc15936ed
Create variables before they are referenced.
...
Resolves attribute reference validation errors in pyCharm
2016-10-19 12:08:35 -07:00
Ebag333
5e10339c20
Reformatting eos.db.saveddata
2016-10-19 11:33:29 -07:00
blitzmann
d416124081
Implemented projected fighters, and various fighter bugfixes / improvements
2016-04-30 19:52:13 -04:00
blitzmann
e7118f637c
Merge branch 'charImplants' into singularity
...
# Conflicts:
# eos/db/saveddata/fit.py
# gui/builtinContextMenus/itemStats.py
2016-04-12 20:16:53 -04:00
blitzmann
3177713447
Add preliminary (database/gui) fighter support. No effects / calculations.
2016-04-04 23:32:03 -04:00
blitzmann
b5cf835959
Add a toggle between fit-specific implants and character implants. This avoids a lot of the problems of how to mix these two sources of implants. Character implants cannot change stage.
2016-03-13 14:48:43 -04:00
blitzmann
3ad5aaac89
Fix #331 - gang boosts not applied to self projection
2015-07-15 16:52:09 -04:00
blitzmann
3bed268d81
Fix use case for downgrading and adding a row with NULL
2015-07-14 19:13:56 -04:00
blitzmann
2256efacb0
Do migration stuff for projected fits
2015-07-10 16:40: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
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
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
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
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
88ee1d60be
Fix loading of mode, and add some (untested) setting functions
2014-11-29 02:58:43 -05:00
blitzmann
f53384c4c2
Preliminary backend support for tactical destroyer modes.
...
* Modifies fits table to add "mode" column, which contains typeID of mode for fit
* Introduces Mode type, similar to Ship and Module type
* Includes effects for Amarr Tactical Destroyer Propulsion Mode
Still a lot to do: GUI switching, constraints on which ships get modes, etc
2014-11-27 23:23:24 -05:00
blitzmann
1ab76a7170
Commit initial work for effect DPS / Target resists
2014-09-03 00:49:53 -04:00
blitzmann
dd27c3c805
Set files to 644 besides pyfa.py and scripts
2014-07-30 21:23:27 -04:00
blitzmann
5df7e193e7
Cargo works, but needs a more TLC
2014-03-30 17:12:32 -04:00
blitzmann
f2c1002d58
Fixes bug with fit copy.
...
`copy.deepcopy` was not copying the booster property of the fit for whatever reason - I blame my poor understanding of copy.
2014-02-22 00:52:29 -05:00