mobile-ledger.git
13 months agoremove TODO about app icon
Damyan Ivanov [Sun, 13 Jan 2019 18:20:48 +0000 (18:20 +0000)]
remove TODO about app icon

13 months agoshow profile name in the new transaction activity
Damyan Ivanov [Sun, 13 Jan 2019 18:20:13 +0000 (18:20 +0000)]
show profile name in the new transaction activity

13 months agoadjust passing around the drawer logo
Damyan Ivanov [Sun, 13 Jan 2019 18:17:36 +0000 (18:17 +0000)]
adjust passing around the drawer logo

13 months agolarger logo in the drawer, show on small screens to and move the dext on the right
Damyan Ivanov [Sun, 13 Jan 2019 17:58:44 +0000 (17:58 +0000)]
larger logo in the drawer, show on small screens to and move the dext on the right

13 months agoreal app icon!
Damyan Ivanov [Sun, 13 Jan 2019 17:46:39 +0000 (17:46 +0000)]
real app icon!

13 months agoSplit AccountSummaryAdapter in its own file
Damyan Ivanov [Sun, 13 Jan 2019 17:27:45 +0000 (17:27 +0000)]
Split AccountSummaryAdapter in its own file

the compiler kept complaining about class not found 30% of the time

13 months agosilence some debug
Damyan Ivanov [Sat, 12 Jan 2019 19:10:36 +0000 (19:10 +0000)]
silence some debug

13 months agohandle date parsing errors, handle real=fake dates
Damyan Ivanov [Sat, 12 Jan 2019 18:59:00 +0000 (18:59 +0000)]
handle date parsing errors, handle real=fake dates

13 months agoTransaction: include transaction date in the hash
Damyan Ivanov [Sat, 12 Jan 2019 18:52:33 +0000 (18:52 +0000)]
Transaction: include transaction date in the hash

!?

13 months agofix bold account name color in transacion list
Damyan Ivanov [Sat, 12 Jan 2019 15:31:25 +0000 (15:31 +0000)]
fix bold account name color in transacion list

(properly retrieve the dark primary color)

13 months agofix transaction colouring to ignore delimiter items
Damyan Ivanov [Sat, 12 Jan 2019 14:34:41 +0000 (14:34 +0000)]
fix transaction colouring to ignore delimiter items

13 months agotinted color for the day/month delimiters
Damyan Ivanov [Sat, 12 Jan 2019 14:18:34 +0000 (14:18 +0000)]
tinted color for the day/month delimiters

13 months agocleanup of the tracking of the previous transaction
Damyan Ivanov [Sat, 12 Jan 2019 14:08:31 +0000 (14:08 +0000)]
cleanup of the tracking of the previous transaction

the date indicators are handled at an upper level

13 months agosomewhat more visible marker between months
Damyan Ivanov [Sat, 12 Jan 2019 13:07:01 +0000 (13:07 +0000)]
somewhat more visible marker between months

13 months agofix ledger date format to remain sortable
Damyan Ivanov [Sat, 12 Jan 2019 12:58:50 +0000 (12:58 +0000)]
fix ledger date format to remain sortable

13 months agoreplace dates in transaction list items with delimiters between items in different...
Damyan Ivanov [Sat, 12 Jan 2019 12:43:46 +0000 (12:43 +0000)]
replace dates in transaction list items with delimiters between items in different dates

13 months agowhitespace
Damyan Ivanov [Sat, 12 Jan 2019 12:43:10 +0000 (12:43 +0000)]
whitespace

13 months agounused variable
Damyan Ivanov [Sat, 12 Jan 2019 12:39:04 +0000 (12:39 +0000)]
unused variable

13 months agotoCamelCase
Damyan Ivanov [Sat, 12 Jan 2019 11:48:18 +0000 (11:48 +0000)]
toCamelCase

13 months agotoCamelCase
Damyan Ivanov [Sat, 12 Jan 2019 07:47:28 +0000 (07:47 +0000)]
toCamelCase

13 months agoupdate TODO
Damyan Ivanov [Sat, 12 Jan 2019 06:40:04 +0000 (06:40 +0000)]
update TODO

13 months agofix nav colouring after landscape adjustments
Damyan Ivanov [Sat, 12 Jan 2019 06:35:23 +0000 (06:35 +0000)]
fix nav colouring after landscape adjustments

13 months agonew transaction: advance to next field upon autocompletion of account name or description
Damyan Ivanov [Sat, 12 Jan 2019 06:21:41 +0000 (06:21 +0000)]
new transaction: advance to next field upon autocompletion of account name or description

13 months agoavoid endless recursion in set_option_value(String, long)
Damyan Ivanov [Sat, 12 Jan 2019 06:21:15 +0000 (06:21 +0000)]
avoid endless recursion in set_option_value(String, long)

13 months agolandscape layout adjustments
Damyan Ivanov [Sat, 12 Jan 2019 05:32:31 +0000 (05:32 +0000)]
landscape layout adjustments

13 months agomove account name filter from the transaction list to the main header
Damyan Ivanov [Sat, 12 Jan 2019 04:27:58 +0000 (04:27 +0000)]
move account name filter from the transaction list to the main header

13 months agorestore account name filter in the transaction list
Damyan Ivanov [Fri, 11 Jan 2019 20:49:01 +0000 (20:49 +0000)]
restore account name filter in the transaction list

the filter menu item has a glitch but mostly works

13 months agotwo more lambdas
Damyan Ivanov [Fri, 11 Jan 2019 20:16:12 +0000 (20:16 +0000)]
two more lambdas

13 months agoone more lambda
Damyan Ivanov [Fri, 11 Jan 2019 20:15:27 +0000 (20:15 +0000)]
one more lambda

13 months agounused variable
Damyan Ivanov [Fri, 11 Jan 2019 20:15:08 +0000 (20:15 +0000)]
unused variable

13 months agomove profile name from the sub-title to the title
Damyan Ivanov [Fri, 11 Jan 2019 19:51:57 +0000 (19:51 +0000)]
move profile name from the sub-title to the title

it needs to be seen, and the current view is obvious and needs not be
so explicit

13 months agosilence some debug
Damyan Ivanov [Fri, 11 Jan 2019 19:48:49 +0000 (19:48 +0000)]
silence some debug

13 months agouse date formatted that hopefully uses the system locale properly
Damyan Ivanov [Fri, 11 Jan 2019 19:48:40 +0000 (19:48 +0000)]
use date formatted that hopefully uses the system locale properly

13 months agoone more lambda
Damyan Ivanov [Fri, 11 Jan 2019 19:30:10 +0000 (19:30 +0000)]
one more lambda

13 months agofix profile selection mess when the radio buttons are used
Damyan Ivanov [Fri, 11 Jan 2019 19:28:00 +0000 (19:28 +0000)]
fix profile selection mess when the radio buttons are used

also maybe fix a leak of handlers created on each bind

13 months agofix refresh mangling with account "starred" status
Damyan Ivanov [Thu, 10 Jan 2019 21:46:11 +0000 (21:46 +0000)]
fix refresh mangling with account "starred" status

13 months agofix debug when starring/un-starring accounts
Damyan Ivanov [Thu, 10 Jan 2019 21:37:48 +0000 (21:37 +0000)]
fix debug when starring/un-starring accounts

13 months agofix traversing children when starring/un-starring accounts
Damyan Ivanov [Thu, 10 Jan 2019 21:37:23 +0000 (21:37 +0000)]
fix traversing children when starring/un-starring accounts

13 months agomultiple profile list fixes
Damyan Ivanov [Thu, 10 Jan 2019 21:28:06 +0000 (21:28 +0000)]
multiple profile list fixes

show fab upon activity start (for example after editing/deleting a profile)

fix the flow of events when the current profile is changed or deleted

13 months agoData: single central method for changing the current profile
Damyan Ivanov [Thu, 10 Jan 2019 21:27:41 +0000 (21:27 +0000)]
Data: single central method for changing the current profile

sets the option in the DB and Data.profile

13 months agoduplicate id
Damyan Ivanov [Thu, 10 Jan 2019 21:26:02 +0000 (21:26 +0000)]
duplicate id

13 months agoprofile list: show/hide fab on scroll/fling
Damyan Ivanov [Thu, 10 Jan 2019 21:25:52 +0000 (21:25 +0000)]
profile list: show/hide fab on scroll/fling

13 months agoa couple of lambdas
Damyan Ivanov [Thu, 10 Jan 2019 20:07:50 +0000 (20:07 +0000)]
a couple of lambdas

13 months agoprofile list: larger profile names, add URL sub-head style
Damyan Ivanov [Thu, 10 Jan 2019 19:47:15 +0000 (19:47 +0000)]
profile list: larger profile names, add URL sub-head style

13 months agoprofile list: add divider decoration
Damyan Ivanov [Thu, 10 Jan 2019 19:46:59 +0000 (19:46 +0000)]
profile list: add divider decoration

13 months agodelete profile menu as action; hide when only one profile or when a new profile is...
Damyan Ivanov [Thu, 10 Jan 2019 17:38:19 +0000 (17:38 +0000)]
delete profile menu as action; hide when only one profile or when a new profile is edited

13 months agopersistent profile list order
Damyan Ivanov [Thu, 10 Jan 2019 17:38:04 +0000 (17:38 +0000)]
persistent profile list order

13 months agoprofile list can be reordered
Damyan Ivanov [Wed, 9 Jan 2019 21:03:32 +0000 (21:03 +0000)]
profile list can be reordered

order is not persistent yet

13 months agocleanup →private, remove unused parts
Damyan Ivanov [Wed, 9 Jan 2019 20:56:54 +0000 (20:56 +0000)]
cleanup →private, remove unused parts

13 months agogap-fill missing parent accounts in the hierarchy
Damyan Ivanov [Wed, 9 Jan 2019 20:53:20 +0000 (20:53 +0000)]
gap-fill missing parent accounts in the hierarchy

13 months agoget back the account starring functionality
Damyan Ivanov [Wed, 9 Jan 2019 20:33:27 +0000 (20:33 +0000)]
get back the account starring functionality

13 months agobackend preferences are long gone
Damyan Ivanov [Wed, 9 Jan 2019 20:20:05 +0000 (20:20 +0000)]
backend preferences are long gone

13 months agoclose the drawer when the settings item is selected
Damyan Ivanov [Wed, 9 Jan 2019 20:19:20 +0000 (20:19 +0000)]
close the drawer when the settings item is selected

13 months agotwo NPE fixed
Damyan Ivanov [Wed, 9 Jan 2019 20:18:15 +0000 (20:18 +0000)]
two NPE fixed

13 months agoShow only starred menu now works
Damyan Ivanov [Wed, 9 Jan 2019 20:16:45 +0000 (20:16 +0000)]
Show only starred menu now works

13 months agoproper date/time formatting
Damyan Ivanov [Wed, 9 Jan 2019 05:28:27 +0000 (05:28 +0000)]
proper date/time formatting

13 months agodebug--
Damyan Ivanov [Wed, 9 Jan 2019 05:25:13 +0000 (05:25 +0000)]
debug--

13 months agotext typo
Damyan Ivanov [Wed, 9 Jan 2019 05:25:12 +0000 (05:25 +0000)]
text typo

13 months agoupdate description list after transaction retrieval
Damyan Ivanov [Wed, 9 Jan 2019 05:25:10 +0000 (05:25 +0000)]
update description list after transaction retrieval

13 months agodynamic list of profiles, add profile removal
Damyan Ivanov [Wed, 9 Jan 2019 05:25:02 +0000 (05:25 +0000)]
dynamic list of profiles, add profile removal

13 months agonew class for observing a list
Damyan Ivanov [Wed, 9 Jan 2019 05:16:40 +0000 (05:16 +0000)]
new class for observing a list

notifies observers when items are added/removed/set

can't intercept direct item modifications

13 months agomove ObservableXXXX classes under utils/
Damyan Ivanov [Tue, 8 Jan 2019 20:13:42 +0000 (20:13 +0000)]
move ObservableXXXX classes under utils/

13 months agoskip comments while parsing transactions
Damyan Ivanov [Tue, 8 Jan 2019 19:38:24 +0000 (19:38 +0000)]
skip comments while parsing transactions

13 months agosomewhat complete profile implementation
Damyan Ivanov [Mon, 7 Jan 2019 21:03:17 +0000 (21:03 +0000)]
somewhat complete profile implementation

most of the breakages are fixed, some minor remain

13 months agodrop unique index on profile name
Damyan Ivanov [Sun, 6 Jan 2019 13:44:50 +0000 (13:44 +0000)]
drop unique index on profile name

it messes with the unique key and doesn't prevent duplicate names
because we use replace into anyway

duplicate names are permitted

13 months agoMLDB: the locally-stored context in the Application instance
Damyan Ivanov [Sun, 6 Jan 2019 08:24:34 +0000 (08:24 +0000)]
MLDB: the locally-stored context in the Application instance

it was before, but now it is declared so and the code analysis doesn't
complain anymore

13 months agowhitespace
Damyan Ivanov [Sun, 6 Jan 2019 08:14:23 +0000 (08:14 +0000)]
whitespace

13 months agouse profiles for connection parameters
Damyan Ivanov [Sun, 6 Jan 2019 08:14:13 +0000 (08:14 +0000)]
use profiles for connection parameters

included migration from shared preferences

13 months agobump latest revision to 11
Damyan Ivanov [Sun, 6 Jan 2019 07:57:24 +0000 (07:57 +0000)]
bump latest revision to 11

13 months agomodel: class for working with connection profiles
Damyan Ivanov [Sun, 6 Jan 2019 07:56:48 +0000 (07:56 +0000)]
model: class for working with connection profiles

13 months agoSQL: table for storing connection profiles
Damyan Ivanov [Sun, 6 Jan 2019 07:55:44 +0000 (07:55 +0000)]
SQL: table for storing connection profiles

13 months agonice side-swipe switch between account summary and transaction list
Damyan Ivanov [Sat, 5 Jan 2019 19:24:50 +0000 (19:24 +0000)]
nice side-swipe switch between account summary and transaction list

13 months agoclickable suggests focusable
Damyan Ivanov [Sat, 5 Jan 2019 19:06:59 +0000 (19:06 +0000)]
clickable suggests focusable

13 months agoparse and show ledger name
Damyan Ivanov [Sat, 5 Jan 2019 15:48:10 +0000 (15:48 +0000)]
parse and show ledger name

13 months agostatic class method call
Damyan Ivanov [Sat, 5 Jan 2019 13:34:51 +0000 (13:34 +0000)]
static class method call

13 months agofab is guaranteed to have a value
Damyan Ivanov [Sat, 5 Jan 2019 13:17:01 +0000 (13:17 +0000)]
fab is guaranteed to have a value

13 months agosome lambdas
Damyan Ivanov [Sat, 5 Jan 2019 13:06:16 +0000 (13:06 +0000)]
some lambdas

13 months agowhitespace
Damyan Ivanov [Sat, 5 Jan 2019 13:02:43 +0000 (13:02 +0000)]
whitespace

13 months agothe last update UI observes the data in Data.lastUpdateDate
Damyan Ivanov [Sat, 5 Jan 2019 13:02:33 +0000 (13:02 +0000)]
the last update UI observes the data in Data.lastUpdateDate

13 months agodrop separate account retrieval
Damyan Ivanov [Sat, 5 Jan 2019 13:00:45 +0000 (13:00 +0000)]
drop separate account retrieval

transaction retrieval has it integrated

13 months agoObservableValue now works with null
Damyan Ivanov [Sat, 5 Jan 2019 12:59:09 +0000 (12:59 +0000)]
ObservableValue now works with null

13 months agothis is done in the onPostExecute handler
Damyan Ivanov [Sat, 5 Jan 2019 12:18:20 +0000 (12:18 +0000)]
this is done in the onPostExecute handler

13 months agoobservable last update date
Damyan Ivanov [Sat, 5 Jan 2019 12:17:50 +0000 (12:17 +0000)]
observable last update date

13 months ago+debug
Damyan Ivanov [Sat, 5 Jan 2019 12:17:30 +0000 (12:17 +0000)]
+debug

13 months agooperation cancelled text
Damyan Ivanov [Sat, 5 Jan 2019 12:17:19 +0000 (12:17 +0000)]
operation cancelled text

13 months agoset the observable transaction and account lists as well as the last update date...
Damyan Ivanov [Sat, 5 Jan 2019 12:16:59 +0000 (12:16 +0000)]
set the observable transaction and account lists as well as the last update date upon success

13 months agowhitespace
Damyan Ivanov [Sat, 5 Jan 2019 12:14:34 +0000 (12:14 +0000)]
whitespace

13 months agoassume that no more changed transactions will be discovered after 50 matching transac...
Damyan Ivanov [Sat, 5 Jan 2019 12:13:57 +0000 (12:13 +0000)]
assume that no more changed transactions will be discovered after 50 matching transactions

13 months agoextract the matching transactions limit constant
Damyan Ivanov [Sat, 5 Jan 2019 12:13:11 +0000 (12:13 +0000)]
extract the matching transactions limit constant

13 months agoif(!isCancelled) → throwIfCancelled()
Damyan Ivanov [Sat, 5 Jan 2019 12:12:38 +0000 (12:12 +0000)]
if(!isCancelled) → throwIfCancelled()

13 months agoless demanding transaction row template
Damyan Ivanov [Sat, 5 Jan 2019 12:01:42 +0000 (12:01 +0000)]
less demanding transaction row template

13 months agotype correction
Damyan Ivanov [Sat, 5 Jan 2019 08:27:08 +0000 (08:27 +0000)]
type correction

13 months ago(commented) debug
Damyan Ivanov [Sat, 5 Jan 2019 08:26:51 +0000 (08:26 +0000)]
(commented) debug

13 months agoTransactionListViewModel is static
Damyan Ivanov [Sat, 5 Jan 2019 08:26:37 +0000 (08:26 +0000)]
TransactionListViewModel is static

13 months agoasync account list
Damyan Ivanov [Sat, 5 Jan 2019 08:26:15 +0000 (08:26 +0000)]
async account list

13 months agoobserve background task count in the UI fragments
Damyan Ivanov [Sat, 5 Jan 2019 08:02:21 +0000 (08:02 +0000)]
observe background task count in the UI fragments

13 months agoMLDB: store the application instance in the context variable
Damyan Ivanov [Sat, 5 Jan 2019 07:59:32 +0000 (07:59 +0000)]
MLDB: store the application instance in the context variable

avoids a warning about storing activity/fragment instances in static variables,
which may lead to leaks

13 months agostop closing acuired db handles and leave that for the application termination
Damyan Ivanov [Sat, 5 Jan 2019 07:58:34 +0000 (07:58 +0000)]
stop closing acuired db handles and leave that for the application termination

these aren't reference-counted and can be destroyed by one thread while
another still uses them

13 months agoincrement background task count while retrieving accounts too
Damyan Ivanov [Sat, 5 Jan 2019 07:52:19 +0000 (07:52 +0000)]
increment background task count while retrieving accounts too

13 months agopad last update label from the left
Damyan Ivanov [Fri, 4 Jan 2019 18:05:14 +0000 (18:05 +0000)]
pad last update label from the left