Skip to content

Commit

Permalink
Merge pull request #194 from jantman/100-release
Browse files Browse the repository at this point in the history
1.0.0 release
  • Loading branch information
jantman committed Jul 7, 2018
2 parents 41ce320 + fd4309d commit 64baa40
Show file tree
Hide file tree
Showing 50 changed files with 37 additions and 29 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
=========

Unreleased Changes
1.0.0 (2018-07-07)
------------------

* Fix major logic error in Credit Card Payoff calculations; interest fees were ignored for the current month/statement, resulting in "Next Payment" values significantly lower than they should be. Fixed to use the last Interest Charge retrieved via OFX (or, if no interest charges present in OFX statements, prompt users to manually enter the last Interest Charge via a new modal that will create an OFXTransaction for it) as the interest amount on the first month/statement when calculating payoffs. This fix now returns Next Payment values that aren't identical to sample cards, but are significantly closer (within 1-2%).
Expand Down
5 changes: 1 addition & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ or locale, let me know and I'll fix it.
Important Warning
+++++++++++++++++

This software should be considered *alpha* quality at best. At this point, I can't even say that I'm 100% confident
it is mathematically correct, balances are right, all scheduled transactions will show up in the right places, etc. I'm going to
be testing it for my own purposes, and comparing it against my manual calculations. Until further notice, if you decide to use this,
please double-check *everything* produced by it before relying on its output.
This software should be considered *beta* quality at best. I've been using it for about a year and it seems to be working correctly, but I'm very much a creature of habit; it's entirely possible that there are major bugs I haven't found because I always do the same action in the same way, the same order, the same steps, etc. In short, this application works for *me* and the *exact particular way I use it*, but it hasn't seen enough use from other people to say that it's stable and correct in the general case. As such, please **DO NOT RELY ON** the mathematical/financial calculations without double-checking them.

Main Features
+++++++++++++
Expand Down
9 changes: 6 additions & 3 deletions biweeklybudget/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
pass

try:
import pytest_selenium.pytest_selenium
# Note that in pytest 3.6.0 thanks to issue #3487, anything called
# "pytest_" in this file is attempted to be loaded as a plugin, and then
# causes the test run to fail.
import pytest_selenium.pytest_selenium as ptselenium
from selenium.webdriver.support.event_firing_webdriver import \
EventFiringWebDriver
from selenium.webdriver.chrome.webdriver import WebDriver as ChromeWD
Expand Down Expand Up @@ -307,7 +310,7 @@ def _gather_screenshot(item, report, driver, summary, extra):
"""
Redefine pytest-selenium's _gather_screenshot so that we can get full-page
screenshots. This implementation is copied from pytest-selenium 1.11.4,
but calls :py:fund:`~.selenium_helpers.set_browser_for_fullpage_screenshot`
but calls :py:func:`~.selenium_helpers.set_browser_for_fullpage_screenshot`
before calling ``driver.get_screenshot_as_base64()``.
"""
try:
Expand All @@ -324,7 +327,7 @@ def _gather_screenshot(item, report, driver, summary, extra):

# redefine _gather_screenshot to use our implementation
if HAVE_PYTEST_SELENIUM:
pytest_selenium.pytest_selenium._gather_screenshot = _gather_screenshot
ptselenium._gather_screenshot = _gather_screenshot


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion biweeklybudget/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
################################################################################
"""

VERSION = '0.7.1'
VERSION = '1.0.0'
PROJECT_URL = 'https://github.com/jantman/biweeklybudget'
2 changes: 1 addition & 1 deletion dev/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def run(self):
class BuildDocker(BaseStep):

def run(self):
self._run_tox_env('docker')
self._run_tox_env('docker', timeout=3600)
self._ensure_committed()


Expand Down
6 changes: 3 additions & 3 deletions dev/release_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def projdir(self):
)
)

def _run_tox_env(self, env_name, extra_env_vars={}):
def _run_tox_env(self, env_name, timeout=1800, extra_env_vars={}):
"""
Run the specified tox environment.
Expand All @@ -256,11 +256,11 @@ def _run_tox_env(self, env_name, extra_env_vars={}):
cmd = [os.path.join(projdir, 'bin', 'tox'), '-e', env_name]
logger.info(
'Running tox environment %s: args="%s" cwd=%s '
'timeout=1800', env_name, ' '.join(cmd), projdir
'timeout=%d', env_name, ' '.join(cmd), projdir, timeout
)
res = subprocess.run(
cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
cwd=projdir, timeout=1800, env=env
cwd=projdir, timeout=timeout, env=env
)
logger.info('tox process exited %d', res.returncode)
if res.returncode != 0:
Expand Down
Binary file modified docs/source/account1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/account1_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/accounts.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/accounts_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/bom.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/bom_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/budget2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/budget2_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/budgets.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/budgets_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/credit-payoff.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/credit-payoff_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/foo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/fuel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/fuel_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/index.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/index_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/ofx.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/ofx_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/payperiod.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/payperiod_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/payperiods.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/payperiods_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/projects.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/projects_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/reconcile-drag.png
Binary file modified docs/source/reconcile-drag_sm.png
Binary file modified docs/source/reconcile.png
Binary file modified docs/source/reconcile_sm.png
Binary file modified docs/source/scheduled.png
Binary file modified docs/source/scheduled1.png
Binary file modified docs/source/scheduled1_sm.png
Binary file modified docs/source/scheduled2.png
Binary file modified docs/source/scheduled2_sm.png
Binary file modified docs/source/scheduled3.png
Binary file modified docs/source/scheduled3_sm.png
Binary file modified docs/source/scheduled_sm.png
40 changes: 24 additions & 16 deletions docs/source/screenshots.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,30 @@ Main landing page.
.. image:: index_sm.png
:target: index.png

Transactions View
-----------------

Shows all manually-entered transactions.

.. image:: transactions_sm.png
:target: transactions.png

Transaction Detail
------------------

Transaction detail modal to view and edit a transaction.

.. image:: transaction2_sm.png
:target: transaction2.png

Transactions with Budget Splits
-------------------------------

A single Transaction can be split across multiple budgets.

.. image:: transaction4_sm.png
:target: transaction4.png

Credit Card Payoff Calculations
-------------------------------

Expand Down Expand Up @@ -65,22 +89,6 @@ Budget detail modal to view and edit a budget.
.. image:: budget2_sm.png
:target: budget2.png

Transactions View
-----------------

Shows all manually-entered transactions.

.. image:: transactions_sm.png
:target: transactions.png

Transaction Detail
------------------

Transaction detail modal to view and edit a transaction.

.. image:: transaction2_sm.png
:target: transaction2.png

Accounts View
-------------

Expand Down
Binary file modified docs/source/transaction2.png
Binary file modified docs/source/transaction2_sm.png
Binary file modified docs/source/transaction4.png
Binary file modified docs/source/transaction4_sm.png
Binary file modified docs/source/transactions.png
Binary file modified docs/source/transactions_sm.png

0 comments on commit 64baa40

Please sign in to comment.