]> git.ktnx.net Git - mobile-ledger.git/log
mobile-ledger.git
5 years agomake the Reset transaction menu item menu-only
Damyan Ivanov [Sun, 9 Dec 2018 13:05:02 +0000 (13:05 +0000)]
make the Reset transaction menu item menu-only

letting it appear on the action bar is a bit confusing because it sits
right next to the Save item and it is too easy to click the wrong thing

5 years agoshorter account summary title
Damyan Ivanov [Sun, 9 Dec 2018 13:03:53 +0000 (13:03 +0000)]
shorter account summary title

5 years agonew transction/submit: when no date is entered, use today
Damyan Ivanov [Sun, 9 Dec 2018 12:58:54 +0000 (12:58 +0000)]
new transction/submit: when no date is entered, use today

5 years agocheck submit suitability upon changes in the description
Damyan Ivanov [Sun, 9 Dec 2018 12:57:43 +0000 (12:57 +0000)]
check submit suitability upon changes in the description

now that the description is mandatory

5 years agonew transaction: new menu item for resetting the activity
Damyan Ivanov [Sun, 9 Dec 2018 12:56:51 +0000 (12:56 +0000)]
new transaction: new menu item for resetting the activity

5 years agoextend the transaction suitability checks
Damyan Ivanov [Sun, 9 Dec 2018 12:55:03 +0000 (12:55 +0000)]
extend the transaction suitability checks

5 years agonew transaction: remove the xml-driven rows and populate by hand
Damyan Ivanov [Sun, 9 Dec 2018 12:52:32 +0000 (12:52 +0000)]
new transaction: remove the xml-driven rows and populate by hand

the by-hand method is used on demand anyway and should work and set all
the propertied of the rows/fields

the xml-driven stuff is still useful during development for figuring out
what is the purpose of each property

5 years agopop-up the date picked dialog as soon as the date field receives focus
Damyan Ivanov [Sun, 9 Dec 2018 12:47:39 +0000 (12:47 +0000)]
pop-up the date picked dialog as soon as the date field receives focus

5 years agowhen a date is picked, focus the transaction description
Damyan Ivanov [Sun, 9 Dec 2018 12:45:02 +0000 (12:45 +0000)]
when a date is picked, focus the transaction description

5 years agorun check_transaction_submittable when local menu is created
Damyan Ivanov [Sun, 9 Dec 2018 11:59:45 +0000 (11:59 +0000)]
run check_transaction_submittable when local menu is created

that method enables/disables the save transaction menu item

5 years agoimproved layout on multi-line account names
Damyan Ivanov [Sun, 9 Dec 2018 11:57:45 +0000 (11:57 +0000)]
improved layout on multi-line account names

5 years agoremove two done TODO items
Damyan Ivanov [Sun, 9 Dec 2018 11:13:34 +0000 (11:13 +0000)]
remove two done TODO items

5 years agofill *_upper when updating account names and transaction descriptions
Damyan Ivanov [Sat, 8 Dec 2018 19:22:04 +0000 (19:22 +0000)]
fill *_upper when updating account names and transaction descriptions

5 years agohandle exceptions when saving transaction
Damyan Ivanov [Sat, 8 Dec 2018 19:17:04 +0000 (19:17 +0000)]
handle exceptions when saving transaction

content errors are reported badly by hledger-web - via a message <div>
in the journal - 2MB download :(

5 years agobetter ordering of auto-completion results
Damyan Ivanov [Sat, 8 Dec 2018 18:25:12 +0000 (18:25 +0000)]
better ordering of auto-completion results

5 years agofor some reason, on bad http auth data the stack throws NotFoundException
Damyan Ivanov [Sat, 8 Dec 2018 17:21:56 +0000 (17:21 +0000)]
for some reason, on bad http auth data the stack throws NotFoundException

5 years agoauto-completion for the transaction description
Damyan Ivanov [Sat, 8 Dec 2018 17:19:19 +0000 (17:19 +0000)]
auto-completion for the transaction description

5 years agostore transaction description history upon database refresh
Damyan Ivanov [Sat, 8 Dec 2018 15:07:07 +0000 (15:07 +0000)]
store transaction description history upon database refresh

5 years agopkg-private methods
Damyan Ivanov [Sat, 8 Dec 2018 12:18:07 +0000 (12:18 +0000)]
pkg-private methods

5 years agomaybe better network error reporting
Damyan Ivanov [Sat, 8 Dec 2018 12:17:19 +0000 (12:17 +0000)]
maybe better network error reporting

5 years agomove DB structure initialization in a sql_0.sql script
Damyan Ivanov [Sat, 8 Dec 2018 12:12:24 +0000 (12:12 +0000)]
move DB structure initialization in a sql_0.sql script

this avoids several "create foo if not exists" statements executed on
each start

5 years agoassert → if + throw
Damyan Ivanov [Sat, 8 Dec 2018 11:38:00 +0000 (11:38 +0000)]
assert → if + throw

5 years agothe menu item reference may not be there, yet
Damyan Ivanov [Sat, 8 Dec 2018 11:37:44 +0000 (11:37 +0000)]
the menu item reference may not be there, yet

5 years agounified transition into/out of the new transaction activity
Damyan Ivanov [Sat, 8 Dec 2018 11:36:48 +0000 (11:36 +0000)]
unified transition into/out of the new transaction activity

special treatment of the Back and Up buttons

5 years agonote the 'Account summary' item in the navigation drawer when the Account summary...
Damyan Ivanov [Sat, 8 Dec 2018 08:15:26 +0000 (08:15 +0000)]
note the 'Account summary' item in the navigation drawer when the Account summary starts

5 years agorework account symmary activity using linear layouts
Damyan Ivanov [Sat, 8 Dec 2018 07:40:33 +0000 (07:40 +0000)]
rework account symmary activity using linear layouts

tables are so 20th century and perhaps a bit slower

5 years agoconvert the show hidden accounts item to a switch
Damyan Ivanov [Fri, 7 Dec 2018 19:06:23 +0000 (19:06 +0000)]
convert the show hidden accounts item to a switch

5 years agoLay the ground for hiding accounts from the summary
Damyan Ivanov [Fri, 7 Dec 2018 19:05:03 +0000 (19:05 +0000)]
Lay the ground for hiding accounts from the summary

hook context menu listener, add menu item to show hidden accounts

5 years agoshow plain account names in the summary and indent the sub-accounts
Damyan Ivanov [Fri, 7 Dec 2018 18:54:08 +0000 (18:54 +0000)]
show plain account names in the summary and indent the sub-accounts

5 years agocenter vertically the text in the account row
Damyan Ivanov [Fri, 7 Dec 2018 18:47:57 +0000 (18:47 +0000)]
center vertically the text in the account row

5 years agoaccounts summary: pad the row, not the table
Damyan Ivanov [Fri, 7 Dec 2018 18:41:52 +0000 (18:41 +0000)]
accounts summary: pad the row, not the table

5 years agorename to better reflect purpose
Damyan Ivanov [Fri, 7 Dec 2018 18:39:49 +0000 (18:39 +0000)]
rename to better reflect purpose

5 years agoupdate accounts table upon start
Damyan Ivanov [Fri, 7 Dec 2018 18:37:58 +0000 (18:37 +0000)]
update accounts table upon start

5 years agoupdate accounts table visual upon refreshilg the account data from the backend
Damyan Ivanov [Fri, 7 Dec 2018 18:37:52 +0000 (18:37 +0000)]
update accounts table visual upon refreshilg the account data from the backend

5 years agouse the global reference instead of passing it to execute()
Damyan Ivanov [Fri, 7 Dec 2018 05:56:44 +0000 (05:56 +0000)]
use the global reference instead of passing it to execute()

5 years agoaccount_update: replace delete/insert with three stage mark for removal, update/inser...
Damyan Ivanov [Fri, 7 Dec 2018 05:56:34 +0000 (05:56 +0000)]
account_update: replace delete/insert with three stage mark for removal, update/insert, remove marked process

not to remove/insert all the rows every time

5 years agoassert there is no transaction running
Damyan Ivanov [Fri, 7 Dec 2018 05:56:17 +0000 (05:56 +0000)]
assert there is no transaction running

5 years agoupdate_accounts: put all execSQL in the try{} block
Damyan Ivanov [Fri, 7 Dec 2018 05:56:15 +0000 (05:56 +0000)]
update_accounts: put all execSQL in the try{} block

5 years agofix a hanging db transaction wen applying DB revisions
Damyan Ivanov [Fri, 7 Dec 2018 05:55:50 +0000 (05:55 +0000)]
fix a hanging db transaction wen applying DB revisions

5 years agofix snack-bar showing in case of account update errors
Damyan Ivanov [Fri, 7 Dec 2018 05:55:43 +0000 (05:55 +0000)]
fix snack-bar showing in case of account update errors

5 years agofirst DB revision! add a keep flag to accounts/values to ease synchronization
Damyan Ivanov [Fri, 7 Dec 2018 05:42:40 +0000 (05:42 +0000)]
first DB revision! add a keep flag to accounts/values to ease synchronization

5 years agoautomativ DB revision application during startup
Damyan Ivanov [Fri, 7 Dec 2018 05:42:34 +0000 (05:42 +0000)]
automativ DB revision application during startup

5 years agoworking DB revision application
Damyan Ivanov [Fri, 7 Dec 2018 05:42:31 +0000 (05:42 +0000)]
working DB revision application

5 years agonoise
Damyan Ivanov [Fri, 7 Dec 2018 05:41:39 +0000 (05:41 +0000)]
noise

5 years agoaccount amounts parser improvements
Damyan Ivanov [Fri, 7 Dec 2018 05:29:20 +0000 (05:29 +0000)]
account amounts parser improvements

allow spaces before numbers, allow sign

detect row end -- avoids parsing the total balance as part of last
account's data

5 years agofill account balance while storing account data
Damyan Ivanov [Thu, 6 Dec 2018 21:29:36 +0000 (21:29 +0000)]
fill account balance while storing account data

5 years agotable for storing account balance
Damyan Ivanov [Thu, 6 Dec 2018 21:29:31 +0000 (21:29 +0000)]
table for storing account balance

5 years agoAccount summary: menu item for manually refreshing the data
Damyan Ivanov [Thu, 6 Dec 2018 21:28:45 +0000 (21:28 +0000)]
Account summary: menu item for manually refreshing the data

5 years agohome is account summary, latest transactions is a new item
Damyan Ivanov [Thu, 6 Dec 2018 21:05:36 +0000 (21:05 +0000)]
home is account summary, latest transactions is a new item

the account summary has some boilerplate views for now

5 years agoupdate account list once every 24 hours
Damyan Ivanov [Thu, 6 Dec 2018 20:51:43 +0000 (20:51 +0000)]
update account list once every 24 hours

5 years ago(yet) untested/unused methods for applying incremental revisions to the database...
Damyan Ivanov [Thu, 6 Dec 2018 20:41:03 +0000 (20:41 +0000)]
(yet) untested/unused methods for applying incremental revisions to the database structure

5 years agomethods for getting/setting options stored in the database
Damyan Ivanov [Thu, 6 Dec 2018 20:40:50 +0000 (20:40 +0000)]
methods for getting/setting options stored in the database

5 years agotable for options stored in the database
Damyan Ivanov [Thu, 6 Dec 2018 20:39:22 +0000 (20:39 +0000)]
table for options stored in the database

5 years agowhitespace
Damyan Ivanov [Thu, 6 Dec 2018 20:37:55 +0000 (20:37 +0000)]
whitespace

5 years agono need these methods to be public
Damyan Ivanov [Thu, 6 Dec 2018 20:37:50 +0000 (20:37 +0000)]
no need these methods to be public

5 years agoasyncTask: keep reference to the resource manager instead the activity
Damyan Ivanov [Thu, 6 Dec 2018 20:37:00 +0000 (20:37 +0000)]
asyncTask: keep reference to the resource manager instead the activity

not that it helps decoupling much

5 years agoaccount loading progress - gone by default
Damyan Ivanov [Thu, 6 Dec 2018 20:35:05 +0000 (20:35 +0000)]
account loading progress - gone by default

otherwise it may pop in when returning in the activity and no db refresh
is done

5 years agonoise
Damyan Ivanov [Thu, 6 Dec 2018 20:34:43 +0000 (20:34 +0000)]
noise

5 years agoempty catch → print the stack trace
Damyan Ivanov [Thu, 6 Dec 2018 18:29:36 +0000 (18:29 +0000)]
empty catch → print the stack trace

5 years agodrop unused animation xml
Damyan Ivanov [Thu, 6 Dec 2018 18:29:30 +0000 (18:29 +0000)]
drop unused animation xml

5 years agoabandon the new transaction FAB and use a menu item
Damyan Ivanov [Thu, 6 Dec 2018 18:24:23 +0000 (18:24 +0000)]
abandon the new transaction FAB and use a menu item

apart of the problems with the check-mark not appearing in submits after
the first, the button stays on the screen and obstructs the access to
the bottom account amounts

5 years agodisable account input during submit
Damyan Ivanov [Thu, 6 Dec 2018 18:10:09 +0000 (18:10 +0000)]
disable account input during submit

5 years agoautomatic addition of empty account rows
Damyan Ivanov [Thu, 6 Dec 2018 18:06:37 +0000 (18:06 +0000)]
automatic addition of empty account rows

5 years agohide submit fab when there is no enough account data
Damyan Ivanov [Thu, 6 Dec 2018 18:02:12 +0000 (18:02 +0000)]
hide submit fab when there is no enough account data

5 years agouse clip-art check icon, and show it as soon as the submit completes
Damyan Ivanov [Thu, 6 Dec 2018 18:01:38 +0000 (18:01 +0000)]
use clip-art check icon, and show it as soon as the submit completes

5 years agoabort saving transaction after the second attempt
Damyan Ivanov [Thu, 6 Dec 2018 05:30:20 +0000 (05:30 +0000)]
abort saving transaction after the second attempt

the first may fail because of a missing session or a missing or wrong
token, but the second must succeed if everything is alright

5 years agotranslation in Bulgarian
Damyan Ivanov [Thu, 6 Dec 2018 05:28:50 +0000 (05:28 +0000)]
translation in Bulgarian

5 years agoanimate save transaction button icon change
Damyan Ivanov [Wed, 5 Dec 2018 21:14:26 +0000 (21:14 +0000)]
animate save transaction button icon change

5 years agonon-animation change of save transaction button
Damyan Ivanov [Wed, 5 Dec 2018 21:02:27 +0000 (21:02 +0000)]
non-animation change of save transaction button

upon success the image is changed to a check mark, and after
1,5 seconds - reverted back to the disk

5 years agoyet another .idea thing (code style config == default)
Damyan Ivanov [Wed, 5 Dec 2018 20:53:20 +0000 (20:53 +0000)]
yet another .idea thing (code style config == default)

5 years agoown check icon
Damyan Ivanov [Wed, 5 Dec 2018 20:53:10 +0000 (20:53 +0000)]
own check icon

5 years agosave icon from android studio clipart (Apache 2.0 license)
Damyan Ivanov [Wed, 5 Dec 2018 20:52:53 +0000 (20:52 +0000)]
save icon from android studio clipart (Apache 2.0 license)

5 years agoprogress bar around the save transaction floating action button
Damyan Ivanov [Wed, 5 Dec 2018 20:39:22 +0000 (20:39 +0000)]
progress bar around the save transaction floating action button

5 years agoadd more TODO items
Damyan Ivanov [Tue, 4 Dec 2018 21:19:36 +0000 (21:19 +0000)]
add more TODO items

5 years agogetActivity() may return null
Damyan Ivanov [Tue, 4 Dec 2018 21:19:11 +0000 (21:19 +0000)]
getActivity() may return null

5 years agoquicker date selection on Android O
Damyan Ivanov [Tue, 4 Dec 2018 21:19:02 +0000 (21:19 +0000)]
quicker date selection on Android O

5 years agochange amount hint to "0.00" -- shorter and still clear
Damyan Ivanov [Tue, 4 Dec 2018 21:16:11 +0000 (21:16 +0000)]
change amount hint to "0.00" -- shorter and still clear

5 years agoadd TODO items
Damyan Ivanov [Mon, 3 Dec 2018 21:25:16 +0000 (21:25 +0000)]
add TODO items

5 years agoworking addition of new transactions
Damyan Ivanov [Mon, 3 Dec 2018 21:22:00 +0000 (21:22 +0000)]
working addition of new transactions

5 years agoworking and surprisingly quick retrieval of existing account names
Damyan Ivanov [Mon, 3 Dec 2018 21:21:52 +0000 (21:21 +0000)]
working and surprisingly quick retrieval of existing account names

5 years agotwo transaction accounts by default
Damyan Ivanov [Mon, 3 Dec 2018 21:21:37 +0000 (21:21 +0000)]
two transaction accounts by default

with the possibility to add more via the menu

5 years agohelper class for task callbacks
Damyan Ivanov [Mon, 3 Dec 2018 21:21:25 +0000 (21:21 +0000)]
helper class for task callbacks

5 years agoAsyncTask class for saving the new transaction
Damyan Ivanov [Mon, 3 Dec 2018 21:21:19 +0000 (21:21 +0000)]
AsyncTask class for saving the new transaction

5 years agonetwork helper class
Damyan Ivanov [Mon, 3 Dec 2018 21:21:06 +0000 (21:21 +0000)]
network helper class

5 years agoClasses describing one transaction with its accounts
Damyan Ivanov [Mon, 3 Dec 2018 21:20:59 +0000 (21:20 +0000)]
Classes describing one transaction with its accounts

5 years agoTransaction date → date
Damyan Ivanov [Mon, 3 Dec 2018 21:20:49 +0000 (21:20 +0000)]
Transaction date → date

it is obvious that we are dealing with a transaction, and the field
is not that big

5 years agohelper class for constructing urlencoded form data
Damyan Ivanov [Mon, 3 Dec 2018 21:20:34 +0000 (21:20 +0000)]
helper class for constructing urlencoded form data

5 years agounnecessary file, will override stiff in the activity
Damyan Ivanov [Mon, 3 Dec 2018 21:20:21 +0000 (21:20 +0000)]
unnecessary file, will override stiff in the activity

5 years agoshow progress while loading accounts
Damyan Ivanov [Sun, 2 Dec 2018 12:21:29 +0000 (12:21 +0000)]
show progress while loading accounts

5 years agobuild tools 28.0.3, Java 1.8
Damyan Ivanov [Sun, 2 Dec 2018 11:00:15 +0000 (11:00 +0000)]
build tools 28.0.3, Java 1.8

5 years agopreference changed listener
Damyan Ivanov [Sun, 2 Dec 2018 10:59:32 +0000 (10:59 +0000)]
preference changed listener

5 years agonetwork error strings
Damyan Ivanov [Sun, 2 Dec 2018 10:58:55 +0000 (10:58 +0000)]
network error strings

5 years agodynamic auto-completion of account names, fancy!!!
Damyan Ivanov [Sun, 2 Dec 2018 10:58:43 +0000 (10:58 +0000)]
dynamic auto-completion of account names, fancy!!!

5 years agorefresh account list upon start
Damyan Ivanov [Sun, 2 Dec 2018 10:57:35 +0000 (10:57 +0000)]
refresh account list upon start

in the future this should be done on preferences change or on request

5 years agohelper class for DB stuff
Damyan Ivanov [Sun, 2 Dec 2018 10:54:34 +0000 (10:54 +0000)]
helper class for DB stuff

5 years agotransaction save button with a disk icon
Damyan Ivanov [Fri, 30 Nov 2018 21:04:38 +0000 (21:04 +0000)]
transaction save button with a disk icon

5 years agofixed min amount width of 40dp (abt. 6 digits)
Damyan Ivanov [Fri, 30 Nov 2018 21:04:32 +0000 (21:04 +0000)]
fixed min amount width of 40dp (abt. 6 digits)

5 years agoremove account lines by swiping left
Damyan Ivanov [Fri, 30 Nov 2018 21:04:15 +0000 (21:04 +0000)]
remove account lines by swiping left

5 years agoclass for swiping
Damyan Ivanov [Fri, 30 Nov 2018 21:03:30 +0000 (21:03 +0000)]
class for swiping

5 years agoremove redundant type-cast
Damyan Ivanov [Fri, 30 Nov 2018 19:55:57 +0000 (19:55 +0000)]
remove redundant type-cast