mobile-ledger.git
6 months agoupdate changelog v0.8
Damyan Ivanov [Fri, 15 Mar 2019 04:31:35 +0000 (06:31 +0200)]
update changelog

6 months agoadd changelog for version code 18
Damyan Ivanov [Fri, 15 Mar 2019 04:29:48 +0000 (06:29 +0200)]
add changelog for version code 18

6 months agoupdate full description to match current state
Damyan Ivanov [Fri, 15 Mar 2019 04:29:33 +0000 (06:29 +0200)]
update full description to match current state

6 months agoensure account amount is wide enough to tap on
Damyan Ivanov [Fri, 15 Mar 2019 04:03:22 +0000 (06:03 +0200)]
ensure account amount is wide enough to tap on

6 months agoaccount tree: expand/collapse via account name too, account transactions still availa...
Damyan Ivanov [Fri, 15 Mar 2019 04:01:26 +0000 (06:01 +0200)]
account tree: expand/collapse via account name too, account transactions still available when tapping on amounts

6 months agoadd feature graphic
Damyan Ivanov [Sun, 17 Mar 2019 16:53:42 +0000 (16:53 +0000)]
add feature graphic

6 months agomove phoneScreenshots under images/
Damyan Ivanov [Fri, 15 Mar 2019 01:48:02 +0000 (03:48 +0200)]
move phoneScreenshots under images/

6 months agofix crash when saving profile without bringing up the color selector
Damyan Ivanov [Fri, 15 Mar 2019 01:12:45 +0000 (03:12 +0200)]
fix crash when saving profile without bringing up the color selector

6 months agoadd some screenshots
Damyan Ivanov [Fri, 15 Mar 2019 01:12:17 +0000 (03:12 +0200)]
add some screenshots

7 months agoturn on case-sensitive LIKE operator, globally
Damyan Ivanov [Thu, 14 Mar 2019 21:27:00 +0000 (23:27 +0200)]
turn on case-sensitive LIKE operator, globally

7 months agofix populating live account list when updating from JSON
Damyan Ivanov [Thu, 14 Mar 2019 21:26:41 +0000 (23:26 +0200)]
fix populating live account list when updating from JSON

6 months agooptimise app icons png
Damyan Ivanov [Sun, 17 Mar 2019 16:45:18 +0000 (16:45 +0000)]
optimise app icons png

6 months agoadd banner SVG
Damyan Ivanov [Sun, 17 Mar 2019 16:43:04 +0000 (16:43 +0000)]
add banner SVG

7 months agoreset rotation angle before animating rotation
Damyan Ivanov [Thu, 14 Mar 2019 20:52:44 +0000 (22:52 +0200)]
reset rotation angle before animating rotation

7 months agofix wrong showing of sub-accounts of collapsed accounts upon refresh
Damyan Ivanov [Thu, 14 Mar 2019 20:43:04 +0000 (22:43 +0200)]
fix wrong showing of sub-accounts of collapsed accounts upon refresh

7 months agofix duplication af account amounts on refresh
Damyan Ivanov [Thu, 14 Mar 2019 20:05:50 +0000 (22:05 +0200)]
fix duplication af account amounts on refresh

7 months agoput account expansion bracket after the name, fix rotation animation
Damyan Ivanov [Thu, 14 Mar 2019 20:05:02 +0000 (22:05 +0200)]
put account expansion bracket after the name, fix rotation animation

7 months agobetter error message on network errors
Damyan Ivanov [Tue, 12 Mar 2019 20:26:33 +0000 (22:26 +0200)]
better error message on network errors

7 months agofix refreshing the display of the last update stamp
Damyan Ivanov [Tue, 12 Mar 2019 20:11:12 +0000 (22:11 +0200)]
fix refreshing the display of the last update stamp

7 months agomove setupProfile from onCreate to onStart
Damyan Ivanov [Tue, 12 Mar 2019 20:08:14 +0000 (22:08 +0200)]
move setupProfile from onCreate to onStart

it needs toe activity to be filly up

7 months agocall setupProfile in onCreate, not in onResume
Damyan Ivanov [Mon, 11 Mar 2019 18:32:07 +0000 (20:32 +0200)]
call setupProfile in onCreate, not in onResume

onResume is also called when the app is brought to the front and there is no
need to refresh profile data at this time

7 months agospurious setting
Damyan Ivanov [Mon, 11 Mar 2019 18:30:51 +0000 (20:30 +0200)]
spurious setting

no need, if there is a change, the next line will make it visible via the
observable value

7 months agofix progress in new JSON parsing code
Damyan Ivanov [Thu, 7 Mar 2019 05:58:52 +0000 (07:58 +0200)]
fix progress in new JSON parsing code

7 months agohttp error handling in legacy parsing code
Damyan Ivanov [Thu, 7 Mar 2019 05:54:36 +0000 (07:54 +0200)]
http error handling in legacy parsing code

7 months agofallback to legacy HTML parsing
Damyan Ivanov [Thu, 7 Mar 2019 05:50:17 +0000 (07:50 +0200)]
fallback to legacy HTML parsing

7 months agofallback to legacy HTML parsing
Damyan Ivanov [Thu, 7 Mar 2019 05:50:17 +0000 (07:50 +0200)]
fallback to legacy HTML parsing

7 months agomore debug (disabled)
Damyan Ivanov [Thu, 7 Mar 2019 05:00:33 +0000 (07:00 +0200)]
more debug (disabled)

7 months agoset keep=1 when inserting new accounts
Damyan Ivanov [Thu, 7 Mar 2019 04:59:31 +0000 (06:59 +0200)]
set keep=1 when inserting new accounts

7 months agotry{} needs to be immediately after incrementing the background task count
Damyan Ivanov [Thu, 7 Mar 2019 04:58:43 +0000 (06:58 +0200)]
try{} needs to be immediately after incrementing the background task count

7 months agowhitespace
Damyan Ivanov [Thu, 7 Mar 2019 04:58:05 +0000 (06:58 +0200)]
whitespace

7 months agoProfile/storeAccount[Value],storeTransaction: get the db as an argument
Damyan Ivanov [Thu, 7 Mar 2019 04:57:53 +0000 (06:57 +0200)]
Profile/storeAccount[Value],storeTransaction: get the db as an argument

the calling code uses transactions, so it would be nice to use them

7 months agoshow account list scroll bar
Damyan Ivanov [Thu, 7 Mar 2019 04:21:43 +0000 (06:21 +0200)]
show account list scroll bar

7 months agowhile parsing JSON accounts, skip the "root" account
Damyan Ivanov [Thu, 7 Mar 2019 04:14:51 +0000 (06:14 +0200)]
while parsing JSON accounts, skip the "root" account

7 months agoupdate the in-memory account list after parsing the JSON account list
Damyan Ivanov [Thu, 7 Mar 2019 04:14:16 +0000 (06:14 +0200)]
update the in-memory account list after parsing the JSON account list

similar to what the legacy code does already

7 months agohandle async cancellation in JSON parsing code
Damyan Ivanov [Thu, 7 Mar 2019 03:56:50 +0000 (05:56 +0200)]
handle async cancellation in JSON parsing code

7 months agoset last profile update date in JSON retrieval code
Damyan Ivanov [Thu, 7 Mar 2019 03:52:31 +0000 (05:52 +0200)]
set last profile update date in JSON retrieval code

7 months agocentral method for setting the last profile update date
Damyan Ivanov [Thu, 7 Mar 2019 03:52:02 +0000 (05:52 +0200)]
central method for setting the last profile update date

7 months agopreliminary implementation for retrieval of transactions/accounts using the JSON API
Damyan Ivanov [Thu, 7 Mar 2019 03:38:24 +0000 (05:38 +0200)]
preliminary implementation for retrieval of transactions/accounts using the JSON API

7 months agoparser method for ISO date format (yyyy-mm-dd)
Damyan Ivanov [Thu, 7 Mar 2019 03:37:12 +0000 (05:37 +0200)]
parser method for ISO date format (yyyy-mm-dd)

7 months agoparsers for account and transaction lists (hledger-web JSON API)
Damyan Ivanov [Thu, 7 Mar 2019 03:36:36 +0000 (05:36 +0200)]
parsers for account and transaction lists (hledger-web JSON API)

7 months agobump version to 0.8 (18)
Damyan Ivanov [Thu, 7 Mar 2019 03:28:18 +0000 (05:28 +0200)]
bump version to 0.8 (18)

7 months agoparseLedgerDate: more info on parse error
Damyan Ivanov [Thu, 7 Mar 2019 03:25:06 +0000 (05:25 +0200)]
parseLedgerDate: more info on parse error

7 months agocentral methods for marking accounts and transaction as obsolete, active
Damyan Ivanov [Thu, 7 Mar 2019 03:21:33 +0000 (05:21 +0200)]
central methods for marking accounts and transaction as obsolete, active

as well as deleting the stale records

7 months agoadd jackson JSON processing library
Damyan Ivanov [Wed, 6 Mar 2019 15:49:10 +0000 (17:49 +0200)]
add jackson JSON processing library

7 months agoadd version/API level info to the crash report
Damyan Ivanov [Wed, 6 Mar 2019 15:18:55 +0000 (17:18 +0200)]
add version/API level info to the crash report

7 months agoincrement the background task counter immediately before starting the task
Damyan Ivanov [Tue, 5 Mar 2019 19:18:39 +0000 (21:18 +0200)]
increment the background task counter immediately before starting the task

so that the try/finally construct guarantees the correct counting

7 months agomove reloading of transaction list in the postExecute method
Damyan Ivanov [Tue, 5 Mar 2019 19:17:50 +0000 (21:17 +0200)]
move reloading of transaction list in the postExecute method

seems more logical, when one thread finishes and signals that to the main
thread, the new task is started

7 months agotranslations v0.7
Damyan Ivanov [Sun, 3 Mar 2019 17:06:52 +0000 (19:06 +0200)]
translations

7 months agoupdate copyright years
Damyan Ivanov [Sun, 3 Mar 2019 16:02:45 +0000 (18:02 +0200)]
update copyright years

7 months agoadd changelog files for version 16 and 17
Damyan Ivanov [Sun, 3 Mar 2019 16:01:28 +0000 (18:01 +0200)]
add changelog files for version 16 and 17

7 months agomore unused files
Damyan Ivanov [Sun, 3 Mar 2019 15:53:37 +0000 (17:53 +0200)]
more unused files

7 months agoremove unused files
Damyan Ivanov [Sun, 3 Mar 2019 15:52:06 +0000 (17:52 +0200)]
remove unused files

7 months agorename app icon files to take them out of the apache-licensed template
Damyan Ivanov [Sun, 3 Mar 2019 15:46:48 +0000 (17:46 +0200)]
rename app icon files to take them out of the apache-licensed template

7 months agoupdate copyright notices
Damyan Ivanov [Sun, 3 Mar 2019 15:43:15 +0000 (17:43 +0200)]
update copyright notices

7 months agoadd README.md describing licensing
Damyan Ivanov [Sun, 3 Mar 2019 15:33:21 +0000 (17:33 +0200)]
add README.md describing licensing

7 months agoadd a copy of the Apache 2.0 license text
Damyan Ivanov [Sun, 3 Mar 2019 15:30:06 +0000 (17:30 +0200)]
add a copy of the Apache 2.0 license text

7 months agoadd GPL-3 text (as COPYING.txt)
Damyan Ivanov [Sun, 3 Mar 2019 15:25:23 +0000 (17:25 +0200)]
add GPL-3 text (as COPYING.txt)

7 months agoupdate CHANGES
Damyan Ivanov [Sun, 3 Mar 2019 15:16:15 +0000 (17:16 +0200)]
update CHANGES

7 months agohide the 'Reports' item in the navigation
Damyan Ivanov [Sun, 3 Mar 2019 15:07:47 +0000 (17:07 +0200)]
hide the 'Reports' item in the navigation

still not ready, no need to tease users

7 months agoensure the profile list is always fully visible, without in-list scrolling
Damyan Ivanov [Sun, 3 Mar 2019 15:05:20 +0000 (17:05 +0200)]
ensure the profile list is always fully visible, without in-list scrolling

this is an abuse of the recycler view, which is designed to show only a
suitable subset of the list, but (1) nested scrolling is ugly, and worse
in landscape, and (2) we aren't supposed to have thousands of profiles

7 months agowhitespace
Damyan Ivanov [Sun, 3 Mar 2019 15:03:44 +0000 (17:03 +0200)]
whitespace

7 months agoblack -> ?colorAccent
Damyan Ivanov [Sun, 3 Mar 2019 14:38:38 +0000 (16:38 +0200)]
black -> ?colorAccent

7 months agowide touch area for the profile list head gear icon
Damyan Ivanov [Sun, 3 Mar 2019 14:38:29 +0000 (16:38 +0200)]
wide touch area for the profile list head gear icon

7 months agoavoid NPE in the inlikely event of no current profile
Damyan Ivanov [Sun, 3 Mar 2019 14:25:45 +0000 (16:25 +0200)]
avoid NPE in the inlikely event of no current profile

7 months agodo not dim non-current profiles
Damyan Ivanov [Sun, 3 Mar 2019 14:25:22 +0000 (16:25 +0200)]
do not dim non-current profiles

the current one is already accented with a background

7 months agowider touch area for rearranging profiles
Damyan Ivanov [Sun, 3 Mar 2019 14:23:44 +0000 (16:23 +0200)]
wider touch area for rearranging profiles

thara was a tiny bit that scrolled the list between the handle and the color tag

7 months agomake the profile details activity use the theme of the profile
Damyan Ivanov [Sun, 3 Mar 2019 09:29:38 +0000 (11:29 +0200)]
make the profile details activity use the theme of the profile

7 months agosetupTheme routine with a profile argument
Damyan Ivanov [Sun, 3 Mar 2019 09:28:25 +0000 (11:28 +0200)]
setupTheme routine with a profile argument

7 months agoHueRing: allow selecting the default hue which is not divisable by 15
Damyan Ivanov [Sun, 3 Mar 2019 09:27:23 +0000 (11:27 +0200)]
HueRing: allow selecting the default hue which is not divisable by 15

7 months agouse the hue selector for profile color management
Damyan Ivanov [Sun, 3 Mar 2019 08:04:52 +0000 (10:04 +0200)]
use the hue selector for profile color management

7 months agohue selection dialog buttons: OK -> Select
Damyan Ivanov [Sun, 3 Mar 2019 08:04:03 +0000 (10:04 +0200)]
hue selection dialog buttons: OK -> Select

7 months agoa bit bigger "thumb width" dimention
Damyan Ivanov [Sun, 3 Mar 2019 08:03:47 +0000 (10:03 +0200)]
a bit bigger "thumb width" dimention

closer to the fab size

7 months agohue selection dialog buttons texts
Damyan Ivanov [Sun, 3 Mar 2019 08:03:22 +0000 (10:03 +0200)]
hue selection dialog buttons texts

7 months agodisable profile list sub-scrolling
Damyan Ivanov [Sun, 3 Mar 2019 07:59:35 +0000 (09:59 +0200)]
disable profile list sub-scrolling

7 months agofixed and extended debug info
Damyan Ivanov [Sun, 3 Mar 2019 07:51:45 +0000 (09:51 +0200)]
fixed and extended debug info

7 months agoimport palette icon from the android library
Damyan Ivanov [Sun, 3 Mar 2019 07:51:19 +0000 (09:51 +0200)]
import palette icon from the android library

7 months agoHue selection dialog
Damyan Ivanov [Sun, 3 Mar 2019 07:21:13 +0000 (09:21 +0200)]
Hue selection dialog

7 months agofix profile color selector
Damyan Ivanov [Thu, 28 Feb 2019 23:20:02 +0000 (01:20 +0200)]
fix profile color selector

7 months agofix saved profile moving at the top of the profile list
Damyan Ivanov [Thu, 28 Feb 2019 19:25:13 +0000 (21:25 +0200)]
fix saved profile moving at the top of the profile list

caused by missing order_no in the update statement, causing its setting
to NULL (or 0?)

7 months agofix profile list header arrow direction when editing mode is ended
Damyan Ivanov [Thu, 28 Feb 2019 17:41:38 +0000 (19:41 +0200)]
fix profile list header arrow direction when editing mode is ended

7 months agoremove commented-out, unnecessary code
Damyan Ivanov [Thu, 28 Feb 2019 17:41:19 +0000 (19:41 +0200)]
remove commented-out, unnecessary code

7 months agoprofile list: use the gear icon for the editing action
Damyan Ivanov [Thu, 28 Feb 2019 17:40:56 +0000 (19:40 +0200)]
profile list: use the gear icon for the editing action

7 months agomake the color tag trigger drag too
Damyan Ivanov [Thu, 28 Feb 2019 07:09:35 +0000 (07:09 +0000)]
make the color tag trigger drag too

7 months agocollapse profile list when drawer is closed
Damyan Ivanov [Thu, 28 Feb 2019 07:09:21 +0000 (07:09 +0000)]
collapse profile list when drawer is closed

7 months agoadd a 'more' button for entering profile edit mode
Damyan Ivanov [Thu, 28 Feb 2019 07:09:02 +0000 (07:09 +0000)]
add a 'more' button for entering profile edit mode

7 months agouse member field already available
Damyan Ivanov [Thu, 28 Feb 2019 07:05:59 +0000 (09:05 +0200)]
use member field already available

7 months agouse ordinary linear layout
Damyan Ivanov [Thu, 28 Feb 2019 06:21:22 +0000 (08:21 +0200)]
use ordinary linear layout

7 months agoadd image description
Damyan Ivanov [Thu, 28 Feb 2019 06:21:05 +0000 (08:21 +0200)]
add image description

7 months agoprofile list editing: move rearrangement handle at the start of the row
Damyan Ivanov [Thu, 28 Feb 2019 06:20:47 +0000 (08:20 +0200)]
profile list editing: move rearrangement handle at the start of the row

7 months agofix profile list collapse icon staying visible when editing mode is enabled
Damyan Ivanov [Thu, 28 Feb 2019 06:09:57 +0000 (08:09 +0200)]
fix profile list collapse icon staying visible when editing mode is enabled

7 months agotry to make the transaction list account filter icons use the right color
Damyan Ivanov [Wed, 27 Feb 2019 21:24:37 +0000 (23:24 +0200)]
try to make the transaction list account filter icons use the right color

7 months agoprofile list: add a button for cancelling the edit mode
Damyan Ivanov [Wed, 27 Feb 2019 21:23:53 +0000 (23:23 +0200)]
profile list: add a button for cancelling the edit mode

7 months agoprofile list: start drag action immediately upon touch of the handle
Damyan Ivanov [Wed, 27 Feb 2019 20:28:20 +0000 (22:28 +0200)]
profile list: start drag action immediately upon touch of the handle

7 months agoprofile list: also show the default color tag
Damyan Ivanov [Wed, 27 Feb 2019 20:27:59 +0000 (22:27 +0200)]
profile list: also show the default color tag

7 months agoprofile list: attach the touch helper only when editing profiles
Damyan Ivanov [Wed, 27 Feb 2019 20:27:39 +0000 (22:27 +0200)]
profile list: attach the touch helper only when editing profiles

7 months agoRevert "comment-out a cardview measure work-around that seems no longer necessary"
Damyan Ivanov [Wed, 27 Feb 2019 19:32:19 +0000 (21:32 +0200)]
Revert "comment-out a cardview measure work-around that seems no longer necessary"

This reverts commit 1a7198d1b05f0d7856539bb2bdf4bfaa4030a7e2.

7 months agofix default text color to match the android default
Damyan Ivanov [Wed, 27 Feb 2019 19:30:32 +0000 (21:30 +0200)]
fix default text color to match the android default

this needs a better fix

7 months agoGlobals: use a thread-local per-thread date formatter/parser
Damyan Ivanov [Wed, 27 Feb 2019 19:30:09 +0000 (21:30 +0200)]
Globals: use a thread-local per-thread date formatter/parser

the DateFormat classes aren't thread-safe

7 months agosilence debug while downloading transaction data
Damyan Ivanov [Wed, 27 Feb 2019 19:28:58 +0000 (21:28 +0200)]
silence debug while downloading transaction data

7 months agoprofile list: more visible selected item background
Damyan Ivanov [Wed, 27 Feb 2019 17:56:34 +0000 (19:56 +0200)]
profile list: more visible selected item background