Commit Graph
100 Commits
Author SHA1 Message Date
mwarning 18578581b5 main: populate menu header in onLogbookLoaded and onLogbookSaved
This targets the dynamic menu setting when only very
few events are available. Before the header stayed empty
when the first events very added, now the header is updated
immediately.
2026-09-05 23:19:44 +02:00
mwarning 5663a838e7 global: remove statistics
Remove until a more future proof solution is found
as mpandroidchart is not maintained anymore.
2026-08-08 21:51:37 +02:00
mwarning d74524524a sleep: fix date picker usage
The time the date picker uses needs to be updated.
Also make some variable names more logical.
2026-08-08 21:46:35 +02:00
mwarning e4b8bff1bb activity_main: add horizontal margin to error message 2026-08-08 21:46:35 +02:00
mwarning 55006331e8 notes: do not update quantity
When using the tiny arrows to switch
between older texts, do not change
the quantity field.
2026-08-08 21:46:35 +02:00
mwarning 3226dd560d event: add support for height 2026-08-08 21:46:35 +02:00
mwarning 7eb5eeb804 weight: add local unit to dialog 2026-08-08 21:46:35 +02:00
mwarning 57f3b32d07 sleep: remove plus/minus buttons
Make the UI simpler.
2026-08-08 21:46:35 +02:00
mwarning 8878128879 NumberUtils: remove unused numberFormat 2026-08-08 21:46:35 +02:00
mwarning e5257cfd24 MainActivity: show edit dialog for food and medicine quantity 2026-08-08 21:46:35 +02:00
mwarning 677013494c MainActivity: set unit for bottle content 2026-08-08 21:46:35 +02:00
mwarning f866ab3a27 DateUtils: make duration rounded up to minutes 2026-08-08 21:46:35 +02:00
mwarning 52b3467611 MainActivity: inline nested function for dynamic menu 2026-08-08 21:46:35 +02:00
mwarning e04e05f752 MainActivity: generate dynamic menu from last two weeks 2026-08-08 21:46:35 +02:00
mwarning d9feb05988 LunaEvent: rework sleep event
Make the UI more flexible and
slightly easier to understand.
2026-08-08 21:46:35 +02:00
mwarning 99826811f1 MainActivity: rename datepicker 2026-08-08 21:46:35 +02:00
mwarning 8cf4997567 layout: replace menu icon with utf8 character
The three dot menu icosn looks odd when stretched
due to the dynamic menu feature. Thus replace it
with the hamburger menu character that looks better
when scaled.
2026-08-08 21:46:35 +02:00
mwarning 3ddff7895a MainActivity: sort events before saving
Also replace notifyItemInserted since it does not
call the adapter to redraw the row striping when
a new event is added.
2026-08-08 21:46:35 +02:00
mwarning 2dbb3741be NumericUtils: remove possible trailing whitespace 2026-08-08 21:46:35 +02:00
mwarning 358452a179 MainActivity: do not switch logbook on reload 2026-08-08 21:46:35 +02:00
mwarning 369ec2197a LunaEvent: reorganize event text getters
Use method names that better reflect
the use of the returned text.
2026-08-08 21:46:35 +02:00
mwarning 52589cbff0 MainAcitivty: add dynamic header setting
The setting allows to build the menu and
popup list to be populated by the frequency
of events that has been created.
This also makes the 'no breastfeeding'
setting irrelevant.
2026-08-08 21:46:35 +02:00
mwarning 945d585c7f LunaEvent: use enum class for event types
This helps to have compile errors when some
case it not handled while adding a new type.
The enum class can also be interated over
to create a complete drop down list.
2026-08-08 21:46:35 +02:00
mwarning d61f6f8abc MainActivity: increase bottle volume to 340ml
This is the maximum amount found in sold bottles.
2026-08-08 21:46:35 +02:00
mwarning d4b50916bb gradle: use uniform implementation directive for sardine-android 2026-08-08 21:46:35 +02:00
mwarning 215ac2fd0c gradle: avoid inclusion of apk signing blobs
See https://android.izzysoft.de/articles/named/iod-scan-apkchecks?lang=en#blobs
2026-08-08 21:46:35 +02:00
mwarning 7a1521d65a gradle: set compileSDK/targetSdk to 36 2026-08-08 21:46:35 +02:00
mwarning 5882b7a874 statistics: add LongTermStatisticsActivity: add statistics and sleep events 2026-08-08 21:45:58 +02:00
mwarning b417fe48a6 MainActivity: show save button if any values has changed 2026-01-23 06:46:11 +01:00
mwarning a887d9f29f MainActivity: use unique templates for notes 2026-01-23 06:46:11 +01:00
mwarning 44748506ff LunaEvent: add sleep event 2026-01-23 06:46:07 +01:00
mwarning 9f8f277d75 MainActivity: allow amount for poo and pee events
An unspecified amount has also been added
to have the same semantics as before.

During these actions, the strings for title
and description of dialogs have been cleaned up.
2025-11-19 20:37:10 +01:00
mwarning 742c5515b1 strings: rename scale to weight in identifiers 2025-11-19 20:37:10 +01:00
mwarning d49701a488 LunaEvent: remove quantity when the value is invalid 2025-11-19 20:37:10 +01:00
mwarning fb6edf981b notes: add icons to use previous/next event as template 2025-11-19 20:37:10 +01:00
mwarning 52b23151d6 MainActivity: preset quantity of bottle, weight and temperature
Use the quantity of previous events
to initialize new events.
2025-11-19 20:37:10 +01:00
mwarning 23372408d5 events: allow editing of all used values
1. Allow to change the date/time and
other relevant values of an event
on creation and after it was created.

2. Harmonize layout file names and
variable names.
2025-11-19 20:37:01 +01:00
penguin86 5eeb462836 Bumped version 2025-11-06 22:21:05 +01:00
penguin86 5b777c0b88 Merge pull request 'fix puke event quantity' (#18) from mwarning/luna-tracker:fixpuke into master
I already tagged the commit when I accepted the previous PR, so it may have already been picked up by the F-Droid build pipeline. I'll send this one too and see if it makes in time.
2025-11-06 22:17:40 +01:00
mwarning 6f3061974d fix puke event quantity
The LunaEvent class treats quantities of 0
as a value to set. To workaround this, the
quantity index needs to start at >0.
2025-11-06 21:49:08 +01:00
penguin86 3ea396c045 Bumped version 2025-11-05 07:58:28 +01:00
penguin86 193e21ce25 Merge pull request 'Add puke and bath events, add signature setting' (#16) from mwarning/luna-tracker:master into develop
Reviewed-on: penguin86/luna-tracker#16
2025-11-05 07:56:01 +01:00
mwarning 7f67c758c9 activity_setting: fine tune layout style 2025-10-26 20:38:26 +01:00
mwarning dfa64d71a8 add signature setting
For multiple users it helps to
keep track about who did what.
2025-10-26 20:38:26 +01:00
mwarning b7180068f3 DateUtils: move event details formatting to DateUtils
Also do not display seconds, because it is not
meaningful and is not selected in date picker.
2025-10-26 20:38:22 +01:00
mwarning 36b848b95e add bath event type 2025-10-26 13:54:16 +01:00
mwarning a1bde917f8 add no-breastfeeding help text 2025-10-26 13:54:16 +01:00
mwarning 4f4ff5ed21 more_events_popup: move enema to bottom and adjust padding
Enemas are usually are rare thing. Let's
move it to the bottom. Also adjust padding
to have more space to display all items.
2025-10-26 13:54:16 +01:00
mwarning 453d838470 add puke event 2025-10-26 13:54:04 +01:00
mwarning 34aa092722 NumericUtils: provide fallback for LocaleData.getMeasurementSystem
LocaleData.getMeasurementSystem is available at API level 28
but the app supports API level 21.
2025-09-29 03:34:08 +02:00
mwarning 961e7b90e7 small code cleanup
No code behavior has been changed.
2025-09-29 03:33:30 +02:00
penguin86 be77c7fb22 Added "get on F-Droid" button to readme 2025-09-21 09:28:02 +02:00
penguin86 a7c44df553 Bumped version 2025-09-21 09:21:04 +02:00
penguin86 928112adb8 Updated gradle wrapper 2025-09-21 09:20:47 +02:00
penguin86 b90dc92874 Link to contributors in fastlane 2025-09-21 09:20:21 +02:00
penguin86 36481a1194 Added thanks to Moritz Warning contribution 2025-09-21 09:12:11 +02:00
penguin86 d4adb9d981 Merge pull request 'improvements' (#10) from mwarning/luna-tracker:improvements into master
Reviewed-on: penguin86/luna-tracker#10
2025-09-21 09:01:03 +02:00
mwarning 5df3b31e64 activity_main: lower margin from 10 to 5dp
The buttons are big enough for fingers.
Let's make the view more compact.
2025-09-19 12:41:55 +02:00
mwarning 0a96fb91d7 DateUtils: simplify code 2025-09-19 12:41:55 +02:00
mwarning f4c526ff8d add previous/next event link to details dialog
The links will point to the previous/next
event of the same type
2025-09-19 12:41:51 +02:00
mwarning ea88fd6bb6 make more strings translateable 2025-09-16 21:11:52 +02:00
mwarning 3e2bdca083 make some val constant 2025-09-16 21:11:52 +02:00
mwarning e5e486c315 remove unused imports 2025-09-16 21:11:52 +02:00
mwarning 3f648a6490 remove stray 1 character from time 2025-09-16 21:11:52 +02:00
mwarning cc6ebc398c activity_main: move progress bar next to event list title
Save some vertical space and prevent vertical size change/flicker.
2025-09-16 21:11:52 +02:00
mwarning e1f48e6524 MainActivity: support 24h format 2025-09-16 21:11:52 +02:00
mwarning 5e1c67d52d MainActivity: small code cleanup 2025-09-16 21:11:52 +02:00
mwarning 3a457b2ae6 bigger font for event detail dialog 2025-09-16 21:11:52 +02:00
mwarning a2fd04d233 remove log event title
Keep the main page simpler and have a bit more
space for log messages.
2025-09-16 21:11:52 +02:00
mwarning f1f73b65f7 add setting to disable breastfeeding buttons
Some women do not breastfeed. Hide the buttons
in order to have more space for log messages.
2025-09-16 21:11:49 +02:00
mwarning 5c247f5948 replace dp with sp
As suggested by android-studio.
2025-09-16 12:23:44 +02:00
mwarning 83b77b40d6 values: escape apostrophe characters 2025-09-16 12:23:44 +02:00
mwarning 25f7b1fc00 add password toggle view icon 2025-09-16 12:23:44 +02:00
mwarning a635e46180 layout_marginLeft is deprecated 2025-09-16 12:23:40 +02:00
penguin86 1080fea3f2 Merge pull request 'German translation by Daniel Neubauer + updated README.md' (#9) from develop into master
Reviewed-on: penguin86/luna-tracker#9
2025-09-02 09:22:47 +02:00
penguin86 6232aedd04 German translation by Daniel Neubauer 2025-09-02 08:58:42 +02:00
penguin86 30dc958a0c Merge pull request 'added french language translation and corrected a few english typos' (#6) from chepycou/luna-tracker:master into master
Reviewed-on: penguin86/luna-tracker#6
2025-07-02 13:22:15 +02:00
Chepycou 1de99e89e5 added french language translation and corrected a few english typos 2025-07-01 16:58:51 +02:00
penguin86 05c34178a4 Bumped version 2025-04-28 08:48:23 +02:00
penguin86 0d3be20e1e Logbook event date edit 2025-04-23 08:58:32 +02:00
penguin86 4c5c7bcf1a Merge branch 'master' into develop 2025-04-19 08:53:43 +02:00
penguin86 07393faf41 Added food event 2025-04-19 08:51:16 +02:00
penguin86 043a1c0283 Bumped version, changelog 2025-02-04 08:30:56 +01:00
penguin86 9fddd37fe9 WIP editable date in event 2025-01-21 18:42:47 +01:00
penguin86 efdb8f584a Avoid reloading logbooks list when the app is resumed, for a faster and flicker-less screen update 2025-01-20 07:57:46 +01:00
penguin86 1511764497 Restored detail button string 2025-01-19 09:53:08 +01:00
penguin86 744bfef62b Better error management, check Webdav instance unavailable, fixed crash on refresh when webdav instance was unavailable 2025-01-19 09:47:14 +01:00
penguin86 34ca6c1cd6 Missing translation 2025-01-19 09:35:30 +01:00
penguin86 b4f47ea6bb Implemented event deletion 2025-01-19 09:16:49 +01:00
penguin86 99743288c5 Implemented transition from local to webdav logbooks and error management 2025-01-18 11:01:43 +01:00
penguin86 03ec28f8ef Onboarding, fix in logbook list from file repo 2025-01-18 09:50:50 +01:00
penguin86 ac9f74dbd7 Fix dropdown not updated on logbook creation, refinements 2025-01-18 09:09:44 +01:00
penguin86 36f52234a3 Fixed bug loading always default logbook, indipendently from which one is selected 2025-01-18 08:56:12 +01:00
penguin86 e23ab77274 Dropdown style, restored add logbook 2025-01-18 08:48:43 +01:00
penguin86 e3aceaf133 Reimplemented logbook selector as spinner 2025-01-18 08:14:00 +01:00
penguin86 0494a11538 Optimized space 2025-01-18 07:44:11 +01:00
penguin86 ecbde64ca1 Working ugly selector 2025-01-18 07:36:31 +01:00
penguin86 32fbeac079 WIP implementing multiple children (working, with some issues) 2025-01-17 08:55:37 +01:00
penguin86 0b0fd8f5af Refactoring FileLogbookRepository 2025-01-15 08:08:26 +01:00
penguin86 fe5da015cb Support for multiple logbook files 2025-01-13 08:16:06 +01:00