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

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

11 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

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

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

11 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

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

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

11 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

11 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)

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

11 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

11 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

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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

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

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

11 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

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

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

11 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?)

11 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

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

11 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

11 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

11 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

11 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

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

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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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.

11 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

11 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

11 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

11 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

11 months agomore thread pool async task execution
Damyan Ivanov [Wed, 27 Feb 2019 17:21:50 +0000 (19:21 +0200)]
more thread pool async task execution

11 months agotransaction retrieval: move cancel button enabling to the onPreExecute chain
Damyan Ivanov [Wed, 27 Feb 2019 17:21:04 +0000 (19:21 +0200)]
transaction retrieval: move cancel button enabling to the onPreExecute chain

11 months agoexecute transaction loader task using the thread pool executor for maximum performance
Damyan Ivanov [Wed, 27 Feb 2019 17:13:19 +0000 (19:13 +0200)]
execute transaction loader task using the thread pool executor for maximum performance

11 months agofix transaction list text color
Damyan Ivanov [Mon, 25 Feb 2019 20:32:08 +0000 (22:32 +0200)]
fix transaction list text color

11 months agomajor rework of the profile management
Damyan Ivanov [Sun, 24 Feb 2019 21:48:29 +0000 (23:48 +0200)]
major rework of the profile management

moved entirely to the navigation bar

11 months agocolor the add_circle icon in the primary color
Damyan Ivanov [Sun, 24 Feb 2019 19:17:53 +0000 (21:17 +0200)]
color the add_circle icon in the primary color

11 months agocalculate primary color using HSL (instead of HSV)
Damyan Ivanov [Sun, 24 Feb 2019 19:16:37 +0000 (21:16 +0200)]
calculate primary color using HSL (instead of HSV)

11 months agowork around float weirdness causing 0/360 to become negative
Damyan Ivanov [Sun, 24 Feb 2019 19:15:13 +0000 (21:15 +0200)]
work around float weirdness causing 0/360 to become negative

12 months agoleave nav bar header at primary color; accent is too strong
Damyan Ivanov [Wed, 20 Feb 2019 20:05:15 +0000 (22:05 +0200)]
leave nav bar header at primary color; accent is too strong

a tiny divider at the top sets it apart from the action bar

12 months agobump version and version code
Damyan Ivanov [Wed, 20 Feb 2019 20:04:31 +0000 (22:04 +0200)]
bump version and version code

12 months agoadd transparent primary variant and use it for the divider gradient in the navigation...
Damyan Ivanov [Wed, 20 Feb 2019 19:39:28 +0000 (21:39 +0200)]
add transparent primary variant and use it for the divider gradient in the navigation view

the default android transparent is "black" and it shows in gradients

12 months agocomment-out a cardview measure work-around that seems no longer necessary
Damyan Ivanov [Mon, 18 Feb 2019 21:19:38 +0000 (23:19 +0200)]
comment-out a cardview measure work-around that seems no longer necessary

12 months agomigrate to AndroidX
Damyan Ivanov [Mon, 18 Feb 2019 21:16:53 +0000 (23:16 +0200)]
migrate to AndroidX

12 months agoColors: also set defaultTextColor and accent
Damyan Ivanov [Mon, 18 Feb 2019 21:07:14 +0000 (23:07 +0200)]
Colors: also set defaultTextColor and accent

12 months agoavoid deprecated Date.getMonth API
Damyan Ivanov [Mon, 18 Feb 2019 20:19:22 +0000 (22:19 +0200)]
avoid deprecated Date.getMonth API

12 months agowhitespace
Damyan Ivanov [Sun, 17 Feb 2019 20:13:07 +0000 (22:13 +0200)]
whitespace

12 months agohandle theme change
Damyan Ivanov [Sun, 17 Feb 2019 20:12:53 +0000 (22:12 +0200)]
handle theme change

12 months agodeclare available themes
Damyan Ivanov [Sun, 17 Feb 2019 20:12:30 +0000 (22:12 +0200)]
declare available themes

12 months agouse Colors.* for run-time color control
Damyan Ivanov [Sun, 17 Feb 2019 20:12:02 +0000 (22:12 +0200)]
use Colors.* for run-time color control

12 months agofu: profile color control
Damyan Ivanov [Sun, 17 Feb 2019 20:09:28 +0000 (22:09 +0200)]
fu: profile color control

12 months agouse colors by reference (makes the theme-aware) and reduce redundant colors
Damyan Ivanov [Sun, 17 Feb 2019 20:09:09 +0000 (22:09 +0200)]
use colors by reference (makes the theme-aware) and reduce redundant colors

12 months agoprofile color control
Damyan Ivanov [Sun, 17 Feb 2019 20:06:52 +0000 (22:06 +0200)]
profile color control

12 months agoadd color setting to profile data
Damyan Ivanov [Sun, 17 Feb 2019 20:05:51 +0000 (22:05 +0200)]
add color setting to profile data

12 months agonot used anymore
Damyan Ivanov [Sun, 17 Feb 2019 20:02:30 +0000 (22:02 +0200)]
not used anymore

12 months agoNew helper class for color stuff
Damyan Ivanov [Sun, 17 Feb 2019 19:59:53 +0000 (21:59 +0200)]
New helper class for color stuff

12 months agoMove ProfileDetailActivity under activity/
Damyan Ivanov [Sun, 17 Feb 2019 19:56:43 +0000 (21:56 +0200)]
Move ProfileDetailActivity under activity/

12 months agofix crash when profile has no value yet
Damyan Ivanov [Mon, 11 Feb 2019 21:44:35 +0000 (23:44 +0200)]
fix crash when profile has no value yet

seems to happen when the app is restarted after a crash
skipping the check seems fine, maybe because a following setting of
Data.profile triggers it again

12 months ago"Crash app" menu item in the new transaction menu. visible in debug builds only
Damyan Ivanov [Mon, 11 Feb 2019 21:43:14 +0000 (23:43 +0200)]
"Crash app" menu item in the new transaction menu. visible in debug builds only

12 months agotranslate the 'show report' button label
Damyan Ivanov [Mon, 11 Feb 2019 21:42:25 +0000 (23:42 +0200)]
translate the 'show report' button label

12 months agomake crash report text selectable
Damyan Ivanov [Mon, 11 Feb 2019 21:41:38 +0000 (23:41 +0200)]
make crash report text selectable

12 months agoadd crash handling dialog with optional sending of the crash to the author
Damyan Ivanov [Mon, 11 Feb 2019 21:30:28 +0000 (23:30 +0200)]
add crash handling dialog with optional sending of the crash to the author

12 months agodebug app name is not translatable
Damyan Ivanov [Mon, 11 Feb 2019 21:27:49 +0000 (23:27 +0200)]
debug app name is not translatable

12 months agobump release version v0.6
Damyan Ivanov [Sun, 10 Feb 2019 18:34:50 +0000 (20:34 +0200)]
bump release version

12 months agoupdate CHANGES
Damyan Ivanov [Sun, 10 Feb 2019 18:34:33 +0000 (20:34 +0200)]
update CHANGES

12 months agoimprove auto-fill of new transaction for more streamlined entry
Damyan Ivanov [Sun, 10 Feb 2019 18:30:42 +0000 (20:30 +0200)]
improve auto-fill of new transaction for more streamlined entry

single negative amount row has the amount removed (and left for auto-calculation)

focus is moved to the first amount, which is selected for easy replacement

12 months agodrop two TODO items, done
Damyan Ivanov [Sun, 10 Feb 2019 18:27:39 +0000 (20:27 +0200)]
drop two TODO items, done

12 months agofill transaction details when a previous transaction description is selected
Damyan Ivanov [Sat, 9 Feb 2019 21:08:44 +0000 (23:08 +0200)]
fill transaction details when a previous transaction description is selected

12 months agomachinery for loading transaction by profile and ID
Damyan Ivanov [Sat, 9 Feb 2019 21:07:42 +0000 (23:07 +0200)]
machinery for loading transaction by profile and ID

12 months agoRevert "new transaction: pop up the date picker upon activity start"
Damyan Ivanov [Sat, 9 Feb 2019 19:21:29 +0000 (21:21 +0200)]
Revert "new transaction: pop up the date picker upon activity start"

This reverts commit a07d649

bad idea as implemented. when a transaction is submitted, no date-picker
appears -- different UX than the first entry

12 months agonew transaction: use a fab button for submission
Damyan Ivanov [Sat, 9 Feb 2019 19:11:44 +0000 (21:11 +0200)]
new transaction: use a fab button for submission

the menu is too far above, and with a proper spacer the overlapping
of the last account row is not a problem

12 months agooverride app_name in debug build
Damyan Ivanov [Sat, 9 Feb 2019 17:08:16 +0000 (19:08 +0200)]
override app_name in debug build

12 months agoapp_name is not translatable
Damyan Ivanov [Sat, 9 Feb 2019 17:08:00 +0000 (19:08 +0200)]
app_name is not translatable

12 months agoadd log of changes
Damyan Ivanov [Sat, 9 Feb 2019 15:34:07 +0000 (15:34 +0000)]
add log of changes

12 months agobump release version v0.5
Damyan Ivanov [Sat, 9 Feb 2019 10:24:41 +0000 (10:24 +0000)]
bump release version

12 months agonew transaction: pop up the date picker upon activity start
Damyan Ivanov [Sat, 9 Feb 2019 10:18:36 +0000 (12:18 +0200)]
new transaction: pop up the date picker upon activity start

this helps avoid entering multiple transactions for today "on inertia"

now that the date picker dialog is closed right after choosing the date,
this still maintains a fuid UX

12 months agofaster date-picking without version-specifics
Damyan Ivanov [Sat, 9 Feb 2019 10:15:13 +0000 (12:15 +0200)]
faster date-picking without version-specifics

12 months agomove handling of new transaction date setting into a new method
Damyan Ivanov [Sat, 9 Feb 2019 09:28:30 +0000 (11:28 +0200)]
move handling of new transaction date setting into a new method