summaryrefslogtreecommitdiff
path: root/finance
AgeCommit message (Collapse)AuthorFilesLines
2020-04-17Add missing includejoerg2-1/+14
2020-04-14finance: Enable electrumjs1-1/+2
2020-04-14Import finance/electrum from wipjs4-0/+593
Electrum is an easy to use Bitcoin client, written in Python and using Qt.
2020-04-14gnucash-docs: update to 3.10.wiz3-15/+44
Updated for gnucash 3.10.
2020-04-14gnucash: update to 3.10.wiz6-9/+67
Changes This is a snap release to reverse the changes to the reconcile window's filtering reconciled transactions with a reconcile date after the current statement date when computing the starting balance. It seems that many users' books have accounts with reconcile dates in the future that were suddenly filtered out, creating an incorrect starting balance and making it impossible to reconcile the book. Between 3.9 and 3.10, the following bugfixes were accomplished: Bug 620848 - Transfer Funds window - add Notes field Bug 797006 - Balance is misleading in open subaccounts when different currencies are involved Bug 797318 - Amounts ending in zero displayed as fractions Bug 797666 - libgnucash/engine/test/test-recurrence.c: In function 'check_valid': 'result' may be used uninitialized Bug 797676 - Register displays amount in transaction currency instead of register currency. Bug 797674 - 3.9: "test-gnc-path-util" failed on Debian amd64 The following fixes and improvements were not associated with bug reports: Update latest translation from the Translation project. [window-reconcile] when reconciling, warn on splits having a reconcile date > statement_date [window-reconcile] when inputing statement_date, warn if it's after today [find-transactions] add search for reconciled date Show transaction value, not amount, for registers with subaccounts. If the register has subaccounts in different currencies and a transaction has splits in more than one, the transaction will incorrectly appear to be unbalanced if we total amounts because the balancing logic works on split values. Add instance argument to Session constructor Enables a python console to connect to the running GnuCash's session. Make python console less noisy without --debug. Provide locals and globals of calling context to the python console's shell on shell init Merge Jean Laroche's '797006_subaccounts' into maint. Add check to display warning dialog for mismatched commodities Replicate changes in *2 files Apply astyle to modified files Merge Chris Mayo's iPython-fixes into maint. Make pycons/ishell.py compatible with Python 3 and current IPython [eguile-utilities] Prevent crash in balsheet-eg.scm [eguile] escape-html -> gnc:html-string-sanitize [qif-to-gnc] Properly mark intra-QIF internal transfers. We have a revised Ukrainian translation.
2020-04-12Recursive revision bump after textproc/icu updateadam3-4/+6
2020-04-11py-bitcoinlib: 0.11.0adam3-8/+17
v0.11.0 Bech32 implementation Segwit implementation (for P2WSH and P2WPKH transactions) and examples Use libsecp256k1 for signing Implement OP_CHECKSEQUENCEVERIFY
2020-04-11py-stripe: updated to 2.45.0adam2-7/+7
2.45.0: Add support for Express links in `authorize_url` for `OAuth`
2020-04-03hledger-lib: add missing DEPENDS.wiz1-1/+4
Fixes build.
2020-03-31gnucash: update to 3.9.wiz3-28/+30
3.9 - 29 March 2020 The tenth release of the 3.x stable series. The following bugs have been fixed: Bug 685102 - Scheduled Transactions don't always respect weekends for first occurrence Bug 794916 - Fails to find environment file at startup when installation prefix is '/opt Bug 796579 - Cannot go forward with empty duplicates screen Bug 796911 - Minimum window width to large. To fix this the text labels used have been enabled to ellipsize at the end Bug 796984 - Import Bills & Invoices: date of line item is not validated; can lead to unexpected results Bug 796985 - Import Bills & Invoices: option 'open not yet posted docs in tab' does not open tab if invoice could not be posted Bug 796986 - Import Bills & Invoices: in case of invalid posting date in import file, invoice is posted with unexpected date Bug 796987 - Import Bills & Invoices: fixing import items only works in special case Bug 797022 - Import Bills & Invoices: expense/income account is not validated - leads to one-sided posting if account is invalid Bug 797023 - Import Bills & Invoices: no user confirmation requested for update of invoices, if new invoice is created first Bug 797024 - Import Bills & Invoices: import matches csv data rows with too few separators, messing up the import data Bug 797025 - Import Bills & Invoices: the type of the post to account is not validated - enabling A/P and A/R postings on regular accounts Bug 797042 - OK button in OFX importer doesn't work if nothing is imported. Bug 797133 - CSV Import of multicurrency transaction export in multiline form Bug 797139 - test-report-utilities failure after 10-march in travis Bug 797419 - equity-statement unrealized-gain calculator uses weighted-average Bug 797481 - crash on close of unsaved tabs by pressing [X] Bug 797522 - Focus after reconcile jumps to a different account Bug 797536 - cmake errors out because it cannot find GncPkgConfig (cmake 3.5.2) Bug 797540 - Mapping of aqbanking accounts to gnucash accounts doesn't work Bug 797546 - Autocomplete not updated when account names changed Bug 797548 - multicolumn income statement: some closing entries are not ignored when within reporting period Bug 797549 - Reconcile window shows S_tatement Date rather than Statement Date. Bug 797550 - Crash when changing register tab position Bug 797551 - Budget totals line missing in 3.8 Reinstate Income/Expense/Transfer/Total, but rename to: * Inflow from Income * Outflow to Expense * Outflow to Asset/Equity/Liability * Remaining to Budget Bug 797566 - Crash on use of context menu in importer Bug 797569 - Swedish account templates not accessible Bug 797570 - Unable to import vendors. In the import of Customer/Vendor or Bill/Invoice, the dialog that lists rows that were not imported shows a scrollable view of only four rows. Bug 797572 - Customer Report (beta): "Period Totals" includes total debit and credits outside the current period Change to formal accounting convention. Can swap to informal headers if set by global preference. Bug 797573 - Incorrect value of securities in the Asset Chart Bug 797576 - xaccAccountOrder shouldn't sort account codes as base-36 Bug 797583 - gnc:book-add-quotes crashes when there are no quotes Bug 797584 - New-owner - bill amount field links to wrong account Bug 797588 - Gnucash segfaults when using mysql backend with empty password Bug 797591 - multiperiod b/s and PnL reports: add style sheet 'easy' Bug 797609 - Backtraces for eguile report errors strips wrong part of stack Bug 797613 - Due Invoices Reminder shows Job Name instead of Company Name Bug 797624 - At some point Vietnam Dong seemed to drop xu (decimals) Bug 797631 - Superfluous account selection dialog on first online retrieval The online id, which is needed to find a GnuCash account for a transaction or the balance retrieved from an online account, is already assigned to each matched GnuCash account within the Online Banking Setup tool. The online id is removed from the GnuCash account if it is no longer matched with an AqBanking account. Bug 797636 - Incorrect Online account matches cannot be deleted A push button with text "Delete selected matches" is added to the "Match Online accounts with GnuCash accounts" page of the "Online Banking Setup" tool. Additionally, the underlying tree view is set to multiple selection mode from single selection mode. Pushing the button will remove the matched GnuCash account from all selected AqBanking (Online) accounts. Bug 797638 - SIGSEGV editing transaction after closing Find Accounts dialog. Bug 797640 - The Reconciliation Window starting balance calculator needs to ignore splits after statement date Bug 797648 - Cannot reconcile both splits of a transaction with 2 splits for bank account subaccounts if only 1 is cleared Force all splits in a transaction for the account being reconciled and its children to have the same reconciliation status. Bug 797656 - Immediate crash when retrieving quotes Other repairs or enhancements not marked as bugs: [report-utilities] fix gnc:account-accumulate-at-dates sorting & operator This commit performs 2 important fixes: 1. The account splitlist walking assumes that the split->date always increases. This is now enforced by sorting the splitlist, *only* if a custom split->date is offered. By default the splits are sorted by posted_date, and if a custom split->date is used, will be stable-sorted to ensure the algorithm works. 2. The handling of splits *ON* date boundaries is fixed. Previously if a split->date was equal to a date boundary, it would be considered part of the "after" date section. It is more intuitive that a date boundary includes all splits on and before the date. When selecting a file for OFX import, restrict the files listed to .OFX (or .QFX) Fix crash when changing account-separator. Change the default focus to search entry for 'Find Account' Fix rounding precision when importing prices from CSV [trep-engine] subtotals when cells have monetary only Instead of accumulating subtotals from any non-#f value, ensure value is a gnc-monetary before accumulating subtotals. This paves the way to allow non-monetary in RHS custom-calculated-cells. Travis - don't try to copy the removed after-failure file to the test container Travis - use ctest built-in feature to verbosely log test failures Fix tokenize_string()to prevent empty strings as Bayes account-matching tokens and remove duplicated tokens. Fix calculation of Bayes account-matching token info to find exactly matching tokens only. Clear online banking KVP from accounts no longer associated with an online one Account template improvements for Swiss-German KMU and Germany SKR04. Appdata file allows packagers to include distribution release information. Ensure that new budgets are saved instead of saving only the state information. Update US Income Tax information for 2019. Correct double-counting of accounts in some cases in US Income Tax Report. Housekeeping - reduce the number of PACKAGE and VERSION related cmake variables Restrict gnucash.pot comment collection to ones beginning with "Translators". At the recommendation of the Translation Project coordinator. [html-table][API] html-table can have multirow-col-headers * NEW API: gnc:html-table-multirow-col-headers and gnc:html-table-set-multirow-col-headers! gnc:html-table col-headers have been augmented to support list of <th> rows. * BACKWARD COMPATIBILITY is offered. Old use of single-row headers API gnc:html-table-col-headers and gnc:html-table-set-col-headers! should be unchanged; will get/set a single row of <th> elements. * NEW functions gnc:html-table-multirow-col-headers and gnc:html-table-set-multirow-col-headers! will get/set an arbitrary number of rows of <th> elements. * using old API gnc:html-table-col-headers on a table, whose multiple row headers have been set, will lead to a warning and return the first row only. Translations Updated: Croatian, German, Polish, Ukrainian.
2020-03-31bitcoin: updated to 0.19.1adam2-8/+7
0.19.1 change log Wallet * Fix origfee return for bumpfee with feerate arg * Fix unique_ptr usage in boost::signals2 * Fix issue with conflicted mempool tx in listsinceblock * Bug: IsUsedDestination shouldn't use key id as script id for ScriptHash * IsUsedDestination should count any known single-key address * Reset reused transactions cache RPC and other APIs * cli: Fix fatal leveldb error when specifying -blockfilterindex=basic twice * require second argument only for scantxoutset start action * zmq: Fix due to invalid argument and multiple notifiers * psbt: handle unspendable psbts * psbt: check that various indexes and amounts are within bounds GUI * Fix missing qRegisterMetaType for size_t * disable File->CreateWallet during startup * Fix comparison function signature * Fix unintialized WalletView::progressDialog Tests and QA * Appveyor improvement - text file for vcpkg package list * fix "bitcoind already running" warnings on macOS * add missing #include to fix compiler errors Platform support * Update msvc build for Visual Studio 2019 v16.4 * Updates to appveyor config for VS2019 and Qt5.9.8 + msvc project fixes * bug-fix macos: give free bytes to F_PREALLOCATE Miscellaneous * init: Stop indexes on shutdown after ChainStateFlushed callback * util: Add missing headers to util/fees.cpp * Unbreak build with Boost 1.72.0 * scripts: Fix symbol-check & security-check argument passing * Log to net category for exceptions in ProcessMessages * Update univalue subtree
2020-03-30Hack to make the hledger build run in C.UTF-8 locale.riastradh1-1/+10
2020-03-30hledger: Import version 1.17.1.1riastradh8-1/+139
XXX Requires setting LANG=C.UTF-8 during hledger build stage.
2020-03-30hs-Decimal: Import version 0.5.1riastradh5-1/+55
2020-03-29Fix build with Boost 1.72joerg2-1/+15
2020-03-24py-stripe: updated to 2.44.0adam2-7/+7
2.44.0: Allow overriding API key in OAuth methods
2020-03-23Remove C.UTF-8 avoidance patch.riastradh3-14/+5
Works better if we just teach the OS about C.UTF-8.
2020-03-23py-beancount: Try to fix bulk build failures.jperkin1-1/+3
2020-03-23py-beancount: sort PLISTwiz1-587/+587
2020-03-23Teach finance/ledger to run tests.riastradh1-1/+4
They mostly pass...
2020-03-23ledger2beancount: Import version 2.0riastradh6-1/+99
2020-03-22py-beancount: Import version 2.2.3riastradh5-1/+973
From the web site <http://furius.ca/beancount/>: Beancount is a double-entry bookkeeping computer language that lets you define financial transaction records in a text file, read them in memory, generate a variety of reports from them, and provides a web interface.
2020-03-20*: Convert broken sourceforge HOMEPAGEs back to httpnia4-8/+8
2020-03-17py-braintree: updated to 4.0.0adam3-29/+25
4.0.0 Split development and deployments requirements files out Add Authentication Insight to payment method nonce create Add ThreeDSecure test payment method nonces Add test AuthenticationIds Add three_d_secure_authentication_id to three_d_secure_info Add three_d_secure_authentication_id support for transaction sale Breaking Changes Require Python 3.5+ Remove deprecated Transparent Redirect Remove deprecated iDeal payment method Apple Pay register_domains returns an ApplePayOptions object Remove unrecognized status from Transaction, Subscription, and CreditCardVerification Remove GrantedPaymentInstrumentUpdate kind from Webhook Remove Coinbase references Add GatewayTimeoutError, RequestTimeoutError exceptions Rename DownForMaintenanceError exception to ServiceUnavailableError Transaction line_items only returns the line items for a transaction response object. Use TransactionLineItem find_all to search all line items on a transaction, given a transaction_id Upgrade API version to retrieve declined refund transactions Remove all deprecated parameters, errors, and methods
2020-03-13py-tryton*: put python-2.7 restriction only in those packages where it belongswiz3-8/+3
(and the meta package) Fix PLIST for py-trytond for all python versions.
2020-03-10librsvg: update bl3.mk to remove libcroco in rust casewiz4-8/+8
recursive bump for the dependency change
2020-03-08*: recursive bump for libffiwiz7-14/+14
2020-03-03py-stripe: updated to 2.43.0adam2-7/+7
2.43.0: * Add support for listing Checkout `Session`
2020-02-15(finance/R-bayesm) Updated to 3.1.4, ChangeLog not known, or not easily ↵mef2-7/+7
found,sorry
2020-02-12py-braintree: updated to 3.59.0adam2-7/+7
3.59.0 Add RefundAuthHardDeclined and RefundAuthSoftDeclined to validation errors Fix issue where managing Apple Pay domains would fail in Python 3.8+ Add level 2 processing options purchase_order_number, tax_amount, and tax_exempt to Transaction.submit_for_settlement Add level 3 processing options discount_amount, shipping_amount, ships_from_postal_code, line_items to Transaction.submit_for_settlement
2020-02-01py-stripe: updated to 2.42.0adam3-8/+11
2.42.0: * Add support for `CreditNoteLineItem` * Pin black version * Start testing Python 3.8
2020-01-31finance/py-alpha_vantage: Update to 2.1.3minskim2-7/+7
Notable changes: * Use https instead of http * Better error handling * Contact information added
2020-01-26all: migrate homepages from http to httpsrillig1-2/+2
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
2020-01-26Adjust to python-versioned py-qt5 and/or x11/py-qt5-qscintilla files.rhialto4-4/+42
2020-01-22py-braintree: updated to 3.58.0adam3-8/+11
3.58.0 Add support for managing Apple Pay domains Fix error when running against Python 3.8 Add ProcessorDoesNotSupportMotoForCardType to validation errors Add Graphql ID to CreditCardVerification, Customer, Dispute, and Transaction
2020-01-18all: migrate several HOMEPAGEs to httpsrillig63-126/+126
pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
2020-01-18*: Recursive revision bump for openssl 1.1.1.jperkin4-8/+8
2020-01-12*: Recursive revbump from devel/boost-libsryoon6-10/+12
2020-01-08gnucash: update to 3.8b.wiz3-14/+15
3.8 - 29 December 2019 Note for German FinTS users: This release includes the latest fixes in support of the PSD2 changes. The Mac and Windows bundles include the current beta releases of AQBanking and its support library needed to work with most German banks' implementations of FinTS. Translators, Note Well: The obsolete "disambiguation prefix" translator comments are removed in favor of three-parameter gettext(). See https://lists.gnucash.org/pipermail/gnucash-devel/2019-September/044199.html The following bugs have been fixed: Bug 412151 - Not handling exception when guile is compiled w/o regexp support Disable qif-import and make-regexp if guile is compiled without regex. Bug 724219 - Customer Summary includes Closing Entries when reporting across the end of year Bug 743943 - "Edit->Post Invoice" is ambiguous. Bug 759005 - Print negatives in red. Bug 787295 - Allow UI jump from Business accounts to their relevant invoice/bill/voucher Bug 796530 - [txn csv importer] usability suggestions Bug 796736 - Register cell pop up columns width to narrow Bug 796945 - Find Transaction Split Search Search Criteria window does not scroll when added criteria exceed a certain amount Bug 797078 - "Automatic decimal point" Should Not Cause 2 Different Behaviors Bug 797086 - Import customer dialog – headers not translated Bug 797279 - Reports RTL do not support RTL Bug 797326 - Enhancement: budget's Estimate tool should ignore Closing Entries Bug 797356 - ninja check fails with GCC-9 Bug 797390 - xaccAccountRecomputeBalance also tallies no-closing balances Bug 797397 - Import Map Editor - Deletion not limited by current filter. Bug 797401 - Invoice Reports need an overall page width set Bug 797405 - HBCI Import PIN entry window is hidden behind log window, program stuck Bug 797408 - Find Transaction Window -> Search Criteria Section -> Add Search Criteria -> Section does not expand to new size to include a newly added Search Criteria Bug 797416 - Enter key does not move to blank tx or next line Bug 797418 - In budget report, column with Actual Totals for Liabilities and Income are reversed Bug 797430 - SEPA transfers are not executed Avoid double init of gui Patch by Mike Pieper. Thanks! Bug 797453 - Chart of Accounts is slow to update / redraw Bug 797459 - Installation (for 3.7) Readme Version number shows 2.2.x Bug 797462 - gnc:strify reports the amount and value incorrectly Bug 797473 - UTF8 characters not processed correctly with aqbanking6 Bug 797481 - crash on close of unsaved tabs by pressing [X] Bug 797482 - Can't edit date when using Edit Payment function Bug 797492 - Lock up on 'Find Account' Bug 797500 - valgrind errors - new/delete vs malloc/free Bug 797506 - New Aging errors out with guile backtrace in case of a few uncommon transactions Bug 797519 - Budget Viewer Totals do not redraw upon to Sign-Reversal changes Bug 797520 - Balance Sheet (Multicolumn) the retained earnings amount in the equity section has its sign reversed Bug 797521 - Receivable Aging (beta): include earliest split Bug 797521 - Receivable Aging (beta): prepayments logic doesn't work, appears to use incorrect absolute value logic Bug 797532 - Crash/Coredump Lots Other repairs or enhancements not marked as bugs: The Customer/Employee/Vendor reports have been rewritten. The new versions may be found in Reports>Experimental. [stylesheet-css] a user-customisable CSS based stylesheet New stylesheet. Exposes a single text box for full CSS customisability. Allow account selection by typing into the post-to field of the payment window When sizing some register columns take account of 'Tot' being added. Take account for the pop up button border in the register. Change the date sample so it has the maximum text width possible [new-owner-report] bugfix: balance row needs variable linked cols Improve translations by scriptedly removing the removed colon suffix. [report-utilities] bugfix: aging-list was incorrect. off-by-1 error. [report-utilities] bugfix: overpayment works for AP accounts. Swap the buttons around on the Budget Open dialogue Swap the OK and Cancel buttons so they conform to the normal layout. [report-utilities] bugfix: fix overpayment detection For 1 payment to >1 invoices, previously would miscalculate overpayment. [budgets.scm] Budget reports handle both natural & reversed budgets. This change is protected by a Feature: Using it will prevent the file from being opened by earlier versions of GnuCash. [gnc-budget-view.c] totals - 5 fundamental types previous showed income/expense/transfers/totals budget totals, of uncertain meaning. now shows income/expense/asset/liability/equity budget totals. The 5 lines also become sensitive to the global sign-reverse property. bindings-python - drop references to gnucash-env We no longer ship a gnucash-env script, directly use python(3) instead [balsheet-pnl] fix: single-date balsheet missed printing date [balsheet-pnl] fix: hide Equity sections when not needed * If currencies are not converted, Unrealized Gains are meaningless. Hide them. * If there are no income/expense accounts, retained earnings will be nil. Remove row. Ignore trailing noise on imported transaction account numbers. AQBanking6 uses a separate method for retrieving account numbers for account info and transactions, where the transactions method can have additional characters, most often the ISO4217 currency code. That results in match failures when importing. As a work-around, compare only the length of the account-info-generated online id when comparing it to the transaction-generated one. Note that this is only a partial solution: At least one German bank also appends characters to the transaction-generated bank id and that will still cause the match to fail. [dialog-payment] Add warning label if payment is unattached Completing a payment for a customer without associating with an open invoice is allowable and is used for prepayments. Enable a warning to inform that the payment does not have an invoice/bill document attached. [aging] update error reporting This error handling was for transactions in APAR accounts whereby Transaction Currency != Owner Currency. An example is a manually entered transaction, then assigned as payment to a customer with a different currency. Update to modern API calls. Show the culprit split details. Fixed example output: IGNORING TRANSACTION! Invoice Owner: [None:] Transaction:Txn<d:28/10/19> Splits are: Split<d:28/10/19,acc:Current,amt:$150.00,val:£150.00> Split<d:28/10/19,acc:AR,amt:$0.00,val:-£150.00> Transaction Currency:GBP Client Currency:AUD Fixed German IBAN error message Allow edit of some fields for posted invoice Allow editing of some fields for posted invoice. For reasons, see bug report: https://bugs.gnucash.org/show_bug.cgi?id=797400 [average-balance] show monetaries instead of numbers in data table UK VAT template: replace obsolete EEC and EC by EU Implements the presentation of static optical TAN challenges (photoTAN and QR) inside the enter TAN dialogue. [budget] fixcrash: fix crasher for some periods eg. the following combo would previously crash: - periods from next to current - use accumulated amounts [budget] fixcrash: prevent crash if periods start > end It's silly to input start-period > end-period. Nevertheless handle it by swapping them instead of crashing. i.e. report budget periods from end to start. [budget-flow] fixcrash: exchange-fn needs to specify exchange date because some exchange-fn *do* require date eg. pricedb-nearest. use the period end-date for the exchange date. [portfolio report] There's no report-currency. Use currency. [window-report] show backtrace when report crashes * exposes a SCM string last-captured-error containing last backtrace * when rendering report-crash window, include it New Scheme Functions: gnc:html-markup-ol: creates an HTML ordered list. gnc:multiline-to-html-textt: creates html-text with <br/> elements. gnc:make-html-table-cell/min-width: Create a table-cell with min-width style attribute gnc:collector+ and gnc:collector- New Deprecations: gnc:html-table-append-ruler/at! gnc:html-table-remove-last-row!
2020-01-08py-stripe: updated to 2.41.1adam3-8/+14
2.41.1: * Fix uploading files with Unicode names (Python 2.7) * Update Python API docs inline link * Update `proxy.py` 2.41.0: * Add support for `CreditNote` preview 2.40.0: * Add list_usage_record_summaries and list_source_transactions 2.39.0: * Add support for `Mandate` 2.38.0: * Add support for reverse pagination * Contributor Convenant 2.37.2: * Implement support for stripe-should-retry and retry-after headers 2.37.1: * Check that `error` is a dict before trying to use it to create a `StripeError` 2.37.0: * Add `ErrorObject` to `StripeError` exceptions * Pass `CFLAGS` and `LDFLAGS` when running tests 2.36.2: * Use `OrderedDict` to maintain key order in API requests and responses 2.36.1: * Use `ListObject` properties as default values in request methods 2.36.0: * Add support for header parameters in `ListObject` request methods
2019-12-06tex-*: add TEXLIVE_UNVERSIONED=yesmarkd2-2/+4
2019-12-03py-bitcoinrpc: added version 1.0adam5-1/+46
AuthServiceProxy is an improved version of python-jsonrpc. It includes the following generic improvements: * HTTP connections persist for the life of the AuthServiceProxy object * sends protocol 'version', per JSON-RPC 1.1 * sends proper, incrementing 'id' * uses standard Python json lib * can optionally log all RPC calls and results * JSON-2.0 batch support It also includes the following bitcoin-specific details: * sends Basic HTTP authentication headers * parses all JSON numbers that look like floats as Decimal, and serializes Decimal values to JSON-RPC connections.
2019-12-03bitcoin: updated to 0.19.0.1adam4-30/+15
0.19.0.1: Notable changes New user documentation Reduce memory suggests configuration tweaks for running Bitcoin Core on systems with limited memory. New RPCs getbalances returns an object with all balances (mine, untrusted_pending and immature). Please refer to the RPC help of getbalances for details. The new RPC is intended to replace getbalance, getunconfirmedbalance, and the balance fields in getwalletinfo. These old calls and fields may be removed in a future version. setwalletflag sets and unsets wallet flags that enable or disable features specific to that existing wallet, such as the new avoid_reuse feature documented elsewhere in these release notes. getblockfilter gets the BIP158 filter for the specified block. This RPC is only enabled if block filters have been created using the -blockfilterindex configuration option. New settings -blockfilterindex enables the creation of BIP158 block filters for the entire blockchain. Filters will be created in the background and currently use about 4 GiB of space. Note: this version of Bitcoin Core does not serve block filters over the P2P network, although the local user may obtain block filters using the getblockfilter RPC. Updated settings whitebind and whitelist now accept a list of permissions to provide peers connecting using the indicated interfaces or IP addresses. If no permissions are specified with an address or CIDR network, the implicit default permissions are the same as previous releases. See the bitcoind -help output for these two options for details about the available permissions. Users setting custom dbcache values can increase their setting slightly without using any more real memory. Recent changes reduced the memory use by about 9% and made chainstate accounting more accurate (it was underestimating the use of memory before). For example, if you set a value of "450" before, you may now set a value of "500" to use about the same real amount of memory. Updated RPCs Note: some low-level RPC changes mainly useful for testing are described in the Low-level Changes section below. sendmany no longer has a minconf argument. This argument was not well-specified and would lead to RPC errors even when the wallet's coin selection succeeded. Users who want to influence coin selection can use the existing -spendzeroconfchange, -limitancestorcount, -limitdescendantcount and -walletrejectlongchains configuration arguments. getbalance and sendtoaddress, plus the new RPCs getbalances and createwallet, now accept an "avoid_reuse" parameter that controls whether already used addresses should be included in the operation. Additionally, sendtoaddress will avoid partial spends when avoid_reuse is enabled even if this feature is not already enabled via the -avoidpartialspends command line flag because not doing so would risk using up the "wrong" UTXO for an address reuse case. RPCs which have an include_watchonly argument or includeWatching option now default to true for watch-only wallets. Affected RPCs are: getbalance, listreceivedbyaddress, listreceivedbylabel, listtransactions, listsinceblock, gettransaction, walletcreatefundedpsbt, and fundrawtransaction. listunspent now returns a "reused" bool for each output if the wallet flag "avoid_reuse" is enabled. getblockstats now uses BlockUndo data instead of the transaction index, making it much faster, no longer dependent on the -txindex configuration option, and functional for all non-pruned blocks. utxoupdatepsbt now accepts a descriptors parameter that will fill out input and output scripts and keys when known. P2SH-witness inputs will be filled in from the UTXO set when a descriptor is provided that shows they're spending segwit outputs. See the RPC help text for full details. sendrawtransaction and testmempoolaccept no longer accept a allowhighfees parameter to fail mempool acceptance if the transaction fee exceeds the value of the configuration option -maxtxfee. Now there is a hardcoded default maximum feerate that can be changed when calling either RPC using a maxfeerate parameter. getmempoolancestors, getmempooldescendants, getmempoolentry, and getrawmempool no longer return a size field unless the configuration option -deprecatedrpc=size is used. Instead a new vsize field is returned with the transaction's virtual size (consistent with other RPCs such as getrawtransaction). getwalletinfo now includes a scanning field that is either false (no scanning) or an object with information about the duration and progress of the wallet's scanning historical blocks for transactions affecting its balances. gettransaction now accepts a third (boolean) argument verbose. If set to true, a new decoded field will be added to the response containing the decoded transaction. This field is equivalent to RPC decoderawtransaction, or RPC getrawtransaction when verbose is passed. createwallet accepts a new passphrase parameter. If set, this will create the new wallet encrypted with the given passphrase. If unset (the default) or set to an empty string, no encryption will be used. getchaintxstats RPC now returns the additional key of window_final_block_height. getmempoolentry now provides a weight field containing the transaction weight as defined in BIP141. The getnetworkinfo and getpeerinfo commands now contain a new field with decoded network service flags. getdescriptorinfo now returns an additional checksum field containing the checksum for the unmodified descriptor provided by the user (that is, before the descriptor is normalized for the descriptor field). joinpsbts now shuffles the order of the inputs and outputs of the resulting joined PSBT. Previously, inputs and outputs were added in the order PSBTs were provided. This made it easy to correlate inputs to outputs, representing a privacy leak. walletcreatefundedpsbt now signals BIP125 Replace-by-Fee if the -walletrbf configuration option is set to true. GUI changes The GUI wallet now provides bech32 addresses by default. The user may change the address type during invoice generation using a GUI toggle, or the default address type may be changed with the -addresstype configuration option. In 0.18.0, a ./configure flag was introduced to allow disabling BIP70 support in the GUI (support was enabled by default). In 0.19.0, this flag is now disabled by default. If you want to compile Bitcoin Core with BIP70 support in the GUI, you can pass --enable-bip70 to ./configure. Deprecated or removed configuration options -mempoolreplacement is removed, although default node behavior remains the same. This option previously allowed the user to prevent the node from accepting or relaying BIP125 transaction replacements. This is different from the remaining configuration option -walletrbf. Deprecated or removed RPCs bumpfee no longer accepts a totalFee option unless the configuration parameter deprecatedrpc=totalFee is specified. This parameter will be fully removed in a subsequent release. bumpfee has a new fee_rate option as a replacement for the deprecated totalFee. generate is now removed after being deprecated in Bitcoin Core 0.18. Use the generatetoaddress RPC instead. P2P changes BIP 61 reject messages were deprecated in v0.18. They are now disabled by default, but can be enabled by setting the -enablebip61 command line option. BIP 61 reject messages will be removed entirely in a future version of Bitcoin Core. To eliminate well-known denial-of-service vectors in Bitcoin Core, especially for nodes with spinning disks, the default value for the -peerbloomfilters configuration option has been changed to false. This prevents Bitcoin Core from sending the BIP111 NODE_BLOOM service flag, accepting BIP37 bloom filters, or serving merkle blocks or transactions matching a bloom filter. Users who still want to provide bloom filter support may either set the configuration option to true to re-enable both BIP111 and BIP37 support or enable just BIP37 support for specific peers using the updated -whitelist and -whitebind configuration options described elsewhere in these release notes. For the near future, lightweight clients using public BIP111/BIP37 nodes should still be able to connect to older versions of Bitcoin Core and nodes that have manually enabled BIP37 support, but developers of such software should consider migrating to either using specific BIP37 nodes or an alternative transaction filtering system. By default, Bitcoin Core will now make two additional outbound connections that are exclusively used for block-relay. No transactions or addr messages will be processed on these connections. These connections are designed to add little additional memory or bandwidth resource requirements but should make some partitioning attacks more difficult to carry out. Miscellaneous CLI Changes The testnet field in bitcoin-cli -getinfo has been renamed to chain and now returns the current network name as defined in BIP70 (main, test, regtest).
2019-11-25py-bitcoinlib: updated to 0.10.2adam6-18/+36
v0.10.2 Note: this will be the last release of python-bitcoinlib with Python 2.7 compatibility. New RPC generatetoaddress(self,numblocks,addr). Fixed Python 2.7 incompatibility. Various OpenSSL fixes, including a memory leak. v0.10.1 Identical in every way to v0.10.0, but re-uploaded under a new version to fix a PyPi issue. v0.10.0 Minor breaking change: RPC port for regtest updated to the new v0.16.0 default. Other changes: Now looks for .cookie files in the datadir, if specified. Authentication in a RPC service_url is now parsed. Implemented bip-0037 version message. contrib/verify-commits/ removed for now due to breakage. v0.9.0 Now supports segwit, which breaks the API in minor ways from v0.8.0. This version introduces lots of new API functionality related to this, such as the new CScriptWitness, CTxInWitness, CTxWitness, new segwit-specific logic in SignatureHash() etc. v0.8.0 Major breaking API change! While this interim release doesn't by itself include segwit support, it does change the name of the CTransaction/CMutableTransaction method GetHash() to GetTxid() to prepare for a future segwit-enabled release. Incorrect calls to GetHash() will now raise a AttributeError exception with an explanation. Since this release doesn't yet include segwit support, you will need to set the Bitcoin Core -rpcserialversion=0 option, either as a command line argument, or in your bitcoin.conf file. Otherwise the RPC interface will return segwit-serialized transactions that this release's RPC support doesn't understand. Other changes: Cookie file RPC authentication is now supported. msg_header now correctly uses CBlockHeader rather than CBlock. RPC getbalance now supports include_watchonly RPC unlockwallet is now supported v0.7.0 Breaking API changes: The 'cooked' CScript iterator now returns OP_0 for the empty binary string rather than b'' The alias JSONRPCException = JSONRPCError has been removed. This alias was added for compatibility with v0.4.0 of python-bitcoinlib. Where appropriate, RPC_INVALID_ADDRESS_OR_KEY errors are now caught properly, which means that rather than raising IndexError, RPC commands such as getblock may raise JSONRPCError instead. For instance during initial startup previously python-bitcoinlib would incorrectly raise IndexError rather than letting the callee know that RPC was unusable. Along those lines, JSONRPCError subclasses have been added for some (but not all!) of the types of RPC errors Bitcoin Core returns. Bugfixes: Fixed a spurious AttributeError when bitcoin.rpc.Proxy() fails. v0.6.1 New features: getblockheader RPC call now supports the verbose option; there's no other way to get the block height, among other things, from the RPC interface. subtoaddress and sendmany RPC calls now support comment and subtractfeefromamount arguments. v0.6.0 Breaking API changes: RPC over SSL support removed to match Bitcoin Core's removal of RPC SSL support in v0.12.0 If you need this, use an alternative such as a stunnel or a SSH tunnel. Removed SCRIPT_VERIFY constants bitcoin.core.script, leaving just the constants in bitcoin.core.scripteval; being singletons the redundant constants were broken anyway. SCRIPT_VERIFY_EVEN_S renamed to SCRIPT_VERIFY_LOW_S to match Bitcoin Core's naming SCRIPT_VERIFY_NOCACHE removed as Bitcoin Core no longer has it (and we never did anything with it anyway) v0.5.1 Various small bugfixes; see git history. New features: New RPC calls: fundrawtransaction, generate, getblockheader OP_CHECKLOCKTIMEVERIFY opcode constant v0.5.0 Major fix: Fixed OpenSSL related crashes on OSX and Arch Linux. Big thanks to everyone who helped fix this! Breaking API changes: Proxy no longer has __getattr__ to support arbitrary methods. Use RawProxy or Proxy.call instead. This allows new wrappers to be added safely. See docstrings for details. New features: New RPC calls: getbestblockhash, getblockcount, getmininginfo Signing and verification of Bitcoin Core compatible messages. (w/ pubkey recovery) Tox tests Sphinx docs Notable bugfixes: getinfo() now works where disablewallet=1 v0.4.0 Major fix: OpenSSL 1.0.1k rejects non-canonical DER signatures, which Bitcoin Core does not, so we now canonicalize signatures prior to passing them to OpenSSL. Secondly we now only generate low-S DER signatures as per BIP62. API changes that might break compatibility with existing code: MAX_MONEY is now a core chain parameter MainParams now inherits from CoreMainParams rather than CoreChainParams str() now returns hash:n format; previously was same as repr() RawProxy() no longer has _connection parameter Notable bugfixes: MsgSerializable.to_bytes() no longer clobbers testnet params HTTPS RPC connections now use port 443 as default No longer assumes bitcoin.conf specifes rpcuser New features: New RPC calls: dumpprivkey, importaddress Added P2P support for msg_notfound and msg_reject Added support for IPv6 addr messages
2019-11-19gnucash: remove -Werrorwiz1-1/+4
This recently broke the build again on -current, disable it generally.
2019-11-02finance: align variable assignmentsrillig9-41/+41
pkglint -Wall -F --only aligned -r No manual corrections.
2019-10-25libofx: Fix build on NetBSD 9.99.17kamil2-5/+27
Adapt the local patch for the POSIX iconv(3) API change in new NetBSD.
2019-10-16py-braintree: updated to 3.57.1adam2-7/+7
3.57.1 Set correct version for PyPi 3.57.0 Forward processor_comments to forwarded_comments Add Venmo 'TokenIssuance' gateway rejection reason Add AmountNotSupportedByProcessor to validation error
2019-10-10gnucash: update to 3.7.wiz4-23/+24
The following bugs have been fixed: Bug 605602 - precision of Financial Calculator seems to depend on locale Bug 746937 - Template transaction splits are loaded in reverse order and then not sorted before saving. Actually not sorted after loading because the template accounts weren't being committed. Bug 752395 - Start Day of weekly report doesn't respond to change in locale Redefines some functions to ensure weekly grouping in transaction report obeys locale's start-of-week. Bug 784623 - GNUCash does not work with sql backend, I can open in read only mode. Upgrade the splits table as well, an oversight from the original fix. Bug 793018 - Balance (with >>eguile<<) - Report Title can't be changed Bug 795251 - googletest detection cannot be overridden Bug 796819 - bad icon with Spanish localization Temporary fix for Farsi, which was afffected, too. As it is maintained by TP, the final fix has to come from them. Bug 796952 - Report formatting (justify) is broken Previous patch reverted and replaced with a more correct one. Bug 797085 - Import Bills & Invoices – headers not translated. Make strings translatable. Translators: This adds 22 new translatable strings. Bug 797158 - gnc:make-account-sel-limited-option is not working Option was being deliberately reset to default_value every time. Bug 797171 - Allow multiple credit/debit columns to be selected Bug 797279 - Reports RTL do not support RTL - fix reports Bug 797279 - Reports RTL do not support RTL - fix string fix guile-2.0 string handling to prevent munging unicode in report-titles etc. while loading/saving reports Bug 797295 - problems with entering swedish åäö in company address Bug 797297 - GNUCash is in English even though MacOS is set-up to French. Bug 797301 - Register Menu View > Refresh doesn't work in 'with sub-accounts' window Bug 797306 - "URL cannot be shown" when one clicks an account line link in report. Bug 797316 - New Mauritanian ouguiya MRU not supported Bug 797319 - Mauritanian ouguiya MRO shows too few decimals Bug 797339 - Online banking frame to small Bug 797349 - "A"ssociate header badly translated. Note to translators: This is about msgids of the form "Associate:A". The correct msgstr includes the part up to the ':' verbatim with only the part to the right of it tranlated, e.g. "Associate:П" from uk.po. Each such msgstr has a comment explaining this. Bug 797353 - Add copyright and release info in appdata file Bug 797355 - General Journal report seems to be off balance Previously, for general-journal, each split was being analyzed, and only the source split was counted for totals. This change will means the source split *and* its peers are accounted for. Bug 797377 - cmake fails on debian-8 and ubuntu-14.04 with gnucash.appdata.xml.in does not exist Bug 797378 - QIF file import fails: Loading gives wrong type argument in position 2 Bug 797389 - Random Crashes while attaching a document. Other repairs or enhancements not marked as bugs: New feature: Multiselection in the import transaction matcher. Use control-left-click, shift-left-click, or click-and-drag to select multiple unmatched transactions to match them with a single account, then right-click to bring up a single-item context menu sith "Assign Transfer Account". Set a FinTS product version key when the installed AQBanking supports it. Reworking of many translatable strings with context to use the modern gettext three-parameter function instead of the ':' hack noted in bug 797349. Stop duplicate entries for the invoice taxtable cell Do not log an error when no default tax tables are set. Fix cmake dependency tree so that make/ninja check works without having to first run make/ninja. Remove the accelerator for the Clear buttons on the Loan Calculator because they were all the same and also the same as the Close button's accelerator. Change the transfer account notation for single-split transactions in basic view from "--Split Transaction--" (they're obviously not) to "None". Correctly parse decimal values between 0 and -1 (e.g. -0.5) in register caclulations: The negative sign was being stripped. Require CMake 3.5 or later for all platforms. Rework the building of libgtest.a from source when the builder sets GTEST_ROOT or the distro doesn't provide a pre-build one. Fix crash when trying to display a tooltip in the register split view when a split has focus. Fix repeated requests to create a new account when you click No. Suppress bogus error when creating a new account from register split view. Fix price conversion report crashes in Balance Sheet PNL and all average balance calculations. Upgrade the Budget reports to support accumulated accounts. Redefine gnc:debug to use QofLog instead of writing to stdout. Change the Balance Sheet PNL account depth to mean the deepest *selected* account rather than the deepest account. Set the Owner Report date option to default to today. Much Scheme cleanup and more testing. Deprecated API: gnc:html-acct-table-cell - Unused. gnc:make-general-journal-report - Unused. gnc:easy-invoice-report-create-internal - Unused. gnc:fancy-invoice-report-create-internal - Unused. make-simple-class - Use make-record-type simple-obj-getter - Use record-accessor simple-obj-setter - Use record-modifier simple-obj-print - Use write simple-obj-to-list - Use record-type->list simple=obj-from-list-obj - Use list-record-type make-simple-obj - Use construct gnc:time64-le-date - Unused gnc:time64-ge-date - Unused gnc:make-reldate-hash - Unused gnc:get-relative-date-strings - Unused gnc:entry-type-percent-p gnc:make-customer-option - Unused gnc:make-vendor-option - Unused gnc:make-employee-option - Unused gnc:html-build-acct-table - Unused gnc:html-acct-table-comm-row-helper - Unused gnc:sum-collector-stocks - Unreachable Updated Translations: German, Hebrew, Ukrainian, New Account Templates: Hebrew-Israel
2019-09-20bitcoin: updated to 0.18.1adam7-88/+61
0.18.1 P2P protocol and network code - Add tests and documentation for blocksonly - Avoid logging transaction decode errors to stderr - fix: tor: Call `event_base_loopbreak` from the event's callback - Make poll in InterruptibleRecv only filter for POLLIN events Wallet - Add -ignorepartialspends to list of ignored wallet options RPC and other APIs - Bugfix: fix pruneblockchain returned prune height - Document iswitness flag and fix bug in converttopsbt - Ensure that uncompressed public keys in a multisig always returns a legacy address - Disallow extended encoding for non-witness transactions - add 2nd arg to signrawtransactionwithkey examples - signrawtransactionwithkey: report error when missing redeemScript/witnessScript GUI - fix the bug of OPEN CONFIGURATION FILE on Mac - Show "No wallets available" in open menu instead of nothing - Enable open wallet menu on setWalletController - Set progressDialog to nullptr - Fix open wallet menu initialization order - Set `AA_EnableHighDpiScaling` attribute early - Enable console line edit on setClientModel - Assert QMetaObject::invokeMethod result Build system - Add test for GCC bug 90348 - Install bitcoin-wallet manpage - build with -fstack-reuse=none Tests and QA - Pure python EC - Add test for superfluous witness record in deserialization - Bugfix: test/functional/rpc_psbt: Remove check for specific error message that depends on uncertain assumptions - Add test that addmultisigaddress fails for watchonly addresses Documentation - Remove text about txes always relayed from -whitelist Miscellaneous - Catch by reference not value in wallettool - Replace fprintf with tfm::format