Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Dev #3355

Open
wants to merge 1,225 commits into
base: dev32
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1225 commits
Select commit Hold shift + click to select a range
2fe6e09
New Crowdin updates (#3332)
MilosKozak Jun 19, 2024
6473434
Merge pull request #3357 from Philoul/Fix/GraphButtonSimpleMode
MilosKozak Jun 19, 2024
3bccd89
Merge pull request #3338 from olorinmaia/unify_tt_value_and_duration
MilosKozak Jun 19, 2024
08ffac7
Merge pull request #3331 from jbr7rr/medtrum-connection-issues
MilosKozak Jun 19, 2024
3e61020
Fixed equil pump set temp Basal 'none' bug
EquilHack Jul 5, 2024
b7383d5
Option, to enable scanning on connection errors
jbr7rr Jul 13, 2024
46cc81d
Merge pull request #3376 from EquilHack/dev
MilosKozak Jul 17, 2024
9f61f44
New Crowdin updates (#3371)
MilosKozak Jul 17, 2024
360bada
Merge remote-tracking branch 'origin/dev' into dev_aiUnify/AutoISFPlu…
ga-zelle Jul 17, 2024
f027b26
Gradle update
MilosKozak Jul 18, 2024
bc6a882
kotlin 2.0.0
MilosKozak Jul 18, 2024
7721cde
Kotlin 2.0.0 to dsl
MilosKozak Jul 18, 2024
cd49485
first try of AutoISF 3.0.1
ga-zelle Jul 20, 2024
87c9c44
Eliminate deprecated DismissNotificationService
MilosKozak Jul 31, 2024
35859b3
Merge pull request #3381 from jbr7rr/medtrum-scan-on-connection-error…
MilosKozak Jul 31, 2024
5f40a74
fix compile warnings
MilosKozak Jul 31, 2024
5cc03e9
Remove TDD Capability from Insight pump
Philoul Jul 31, 2024
0db6314
New Crowdin updates (#3388)
MilosKozak Jul 31, 2024
059b1ed
fix tests
MilosKozak Jul 31, 2024
31ca4f7
sequence of debug messages
ga-zelle Jul 31, 2024
2bdbabc
Merge pull request #3389 from Philoul/Fix/InsightTDD
MilosKozak Aug 1, 2024
841ffe0
New Crowdin updates (#3390)
MilosKozak Aug 1, 2024
39752d7
Merge pull request #3347 from Philoul/New/GraphMenuNewUI
MilosKozak Aug 2, 2024
d90d55d
Add strings for complications in wear to be translated
olorinmaia Aug 4, 2024
2068534
Move HR+Step to DataLayerListenerServiceWear
Philoul Aug 4, 2024
6a8dc9f
Merge pull request #3395 from olorinmaia/wear_strings_complications
MilosKozak Aug 5, 2024
60a7dec
Clean Code
Philoul Aug 5, 2024
c4e13a4
Typo
Philoul Aug 5, 2024
e22ea22
Clean code
Philoul Aug 5, 2024
210b399
Merge pull request #3399 from Philoul/Fix/Typo
MilosKozak Aug 5, 2024
e7de97f
Merge pull request #3398 from Philoul/Fix/HR+Step
MilosKozak Aug 5, 2024
abac789
code cleanup
ga-zelle Aug 6, 2024
b5823ee
Improve version and connectivity checking
MilosKozak Aug 8, 2024
3243980
chore(deps): bump com.android.tools.build:gradle from 8.5.1 to 8.5.2
dependabot[bot] Aug 9, 2024
f2e756a
Merge pull request #3402 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Aug 11, 2024
19d101b
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev_aiUni…
ga-zelle Aug 11, 2024
7a43117
Merge remote-tracking branch 'refs/remotes/Nightscout/dev' into New/H…
Philoul Aug 12, 2024
a8f9446
Fix for HR smoothing
Philoul Aug 4, 2024
9322cd7
New Crowdin updates (#3392)
MilosKozak Aug 14, 2024
b8b96e0
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev_aiUni…
ga-zelle Aug 14, 2024
e98be97
enable plugin in dev & engineering mode
ga-zelle Aug 16, 2024
8f3fc1b
Merge pull request #3327 from ga-zelle/AutoISF_Plugin_Prototype
MilosKozak Aug 17, 2024
5a4f7e2
Merge pull request #3320 from Philoul/New/HR_Smoothing
MilosKozak Aug 17, 2024
b6b170e
fix tests
MilosKozak Aug 17, 2024
173fc1f
calculateVariableIsf synchronized
MilosKozak Aug 21, 2024
dd40be1
DynISF: fix missing brackets
MilosKozak Aug 21, 2024
ae138d6
Receive glucose data from Syai Tag App.
syai-dev Aug 22, 2024
778aaaa
Fixed Dexcom G7 CGM source from xDrip
plummer86 Aug 22, 2024
da1bb7b
Fix Exam link (wrong anchor)
Philoul Aug 25, 2024
459d298
Merge pull request #3416 from Philoul/Fix/BrokenLinks
MilosKozak Aug 26, 2024
ca3041c
fixed 8.1 mmol/L classification
ga-zelle Aug 27, 2024
31117a6
Merge pull request #3419 from ga-zelle/33-dev-b/AutoISF
MilosKozak Aug 28, 2024
43acfb2
chore(deps): bump com.android.tools.build:gradle from 8.5.2 to 8.6.0
dependabot[bot] Aug 30, 2024
f6fbf12
Merge pull request #3420 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Sep 1, 2024
cb28199
fix build warning
MilosKozak Sep 2, 2024
3776953
Update exam.xml
DummDumm Sep 2, 2024
69df7bc
Merge pull request #3423 from DummDumm/master
MilosKozak Sep 2, 2024
6d244ce
OverviewKeepScreenOn default on for AAPSCLIENT mode
MilosKozak Sep 3, 2024
3f89a1e
Merge branch 'nightscout:dev' into dev
syai-dev Sep 4, 2024
c8cd893
"Syai Tag" uppercase.
syai-dev Sep 4, 2024
9d38e95
Removed xDrip sensor translations G6/G5
plummer86 Sep 4, 2024
5c602cf
Equil: check for NPE
MilosKozak Sep 4, 2024
a326d53
Equil: catch IllegalStateException
MilosKozak Sep 4, 2024
628d2bd
Equil: catch IllegalStateException
MilosKozak Sep 4, 2024
26a56b8
fix blockage of SMB for further 30s after SMBInterval
ga-zelle Sep 5, 2024
153de43
update omment
MilosKozak Sep 7, 2024
18887e7
preferences: more xml -> kotlin
MilosKozak Sep 9, 2024
8a2e28d
preferences: pref_alert -> kotlin
MilosKozak Sep 9, 2024
97b4e7f
preferences: remove xml resources
MilosKozak Sep 10, 2024
1e41bba
preferences: generalize MyPreferenceFragment
MilosKozak Sep 10, 2024
d75f5b1
preferences: Dana: extract classes
MilosKozak Sep 10, 2024
45c5773
prefereces: Dana XML -> kotlin, cleanup
MilosKozak Sep 11, 2024
3872487
preferences: Dana: extract the rest
MilosKozak Sep 11, 2024
e0b6c9e
3.3.0-dev-c
MilosKozak Sep 11, 2024
2efb8c2
New Crowdin updates (#3431)
MilosKozak Sep 11, 2024
922640e
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Sep 11, 2024
74f5f3c
Merge pull request #3426 from ga-zelle/33-dev-b/SMB_Interval
MilosKozak Sep 12, 2024
bd44114
fix coverage aggregation
MilosKozak Sep 12, 2024
aaca903
increase test timeouts
MilosKozak Sep 12, 2024
12ebabb
DanaRSTest
MilosKozak Sep 12, 2024
8906be8
CWF Add Status view
Philoul Sep 12, 2024
db168b6
Merge remote-tracking branch 'refs/remotes/Nightscout/dev' into Todo/…
Philoul Sep 12, 2024
a513b65
SMB: use average ISF for COB calculation
MilosKozak Sep 13, 2024
8f9187d
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Sep 13, 2024
2c8310a
Do not create NS announcements in client mode
MilosKozak Sep 13, 2024
b790095
Merge remote-tracking branch 'refs/remotes/Nightscout/dev' into Todo/…
Philoul Sep 13, 2024
9fe441b
Allow negative carbs entry
MilosKozak Sep 14, 2024
04c67c6
Equil: preferences -> kt
MilosKozak Sep 16, 2024
7975c85
Equil: add test
MilosKozak Sep 16, 2024
f583a6c
code cleanup
MilosKozak Sep 16, 2024
5dee112
chore(deps): bump com.android.tools.build:gradle from 8.6.0 to 8.6.1
dependabot[bot] Sep 18, 2024
01819f5
Merge pull request #3438 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Sep 18, 2024
ef890bc
New Crowdin updates (#3432)
MilosKozak Sep 18, 2024
d88a316
Receive glucose data from Ottai App.
ottai-developer Sep 20, 2024
f3640cb
Merge remote-tracking branch 'refs/remotes/Nightscout/dev' into Todo/…
Philoul Sep 23, 2024
317069f
Receive glucose data from Ottai App.
ottai-developer Sep 23, 2024
d9eb141
Merge pull request #3409 from syai-dev/dev
MilosKozak Sep 25, 2024
09d41b6
Merge branch 'dev' into dev
MilosKozak Sep 25, 2024
439f909
Merge pull request #3440 from ottai-developer/dev
MilosKozak Sep 26, 2024
baa5ce4
Update MedtrumSnUtil.kt
saFariW Sep 26, 2024
f000c65
Merge pull request #3441 from saFariW/dev-medtrum-sn-fix
MilosKozak Sep 26, 2024
9605b69
Merge remote-tracking branch 'refs/remotes/Nightscout/dev' into Todo/…
Philoul Sep 30, 2024
40d3aa9
CWF V2.0 (new status View)
Philoul Sep 30, 2024
492c070
CWF Add AAPS (NoChart) in assets
Philoul Sep 30, 2024
d56375f
Clean Code
Philoul Sep 30, 2024
8a922d9
Remove AAPS NoChart Watchface
Philoul Sep 30, 2024
b27155e
Merge pull request #3448 from Philoul/Todo/WatchfaceReplace
MilosKozak Oct 1, 2024
afd29c9
Added Traditional Chinese language
Oct 2, 2024
d1005b3
Merge pull request #3449 from Angus0528/add_zh_tw
MilosKozak Oct 2, 2024
2732556
chore(deps): bump com.android.tools.build:gradle from 8.6.1 to 8.7.0
dependabot[bot] Oct 2, 2024
d15f6cb
Merge pull request #3450 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Oct 4, 2024
a874768
Revert "code cleanup"
MilosKozak Oct 4, 2024
a4ad6c6
New Crowdin updates (#3439)
MilosKozak Oct 4, 2024
37bd2d9
Merge pull request #3411 from plummer86/bugfix/dexcom_g7_xDrip
MilosKozak Oct 4, 2024
472fcba
Add AAPS BigChart in assets
Philoul Oct 4, 2024
d69ce42
Remove AAPS BigChart
Philoul Oct 4, 2024
adeac7a
Merge pull request #3453 from Philoul/Todo/WatchfaceReplace
MilosKozak Oct 4, 2024
ba1c475
Objectives: fix learned text for automations
MilosKozak Oct 5, 2024
d337fd9
Wording and strings
ga-zelle Oct 13, 2024
625951f
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into 3…
ga-zelle Oct 13, 2024
a8a3f9f
Merge pull request #3464 from ga-zelle/33-dev-c/AutoISFWording
MilosKozak Oct 14, 2024
3d9e89c
gradle update
MilosKozak Oct 14, 2024
00f3fa7
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Oct 14, 2024
2bad6bf
chore(deps): bump com.android.tools.build:gradle from 8.7.0 to 8.7.1
dependabot[bot] Oct 15, 2024
4ac20b1
Merge pull request #3468 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Oct 15, 2024
ab68527
G7_NATIVE type
MilosKozak Oct 15, 2024
a20c273
Return unknown sensor when GV.SourceSensor is not found
plummer86 Oct 15, 2024
8d23d26
Merge pull request #3469 from plummer86/bugfix/dev/DB_G6_xDrip_BGSource
MilosKozak Oct 16, 2024
e7b27a6
libs.versions.toml
MilosKozak Oct 16, 2024
4c045d1
Targeting JAVA 21
MilosKozak Oct 16, 2024
ec42ec5
more toml migration, libs upgrade
MilosKozak Oct 16, 2024
65ee542
more toml migration, libs upgrade
MilosKozak Oct 16, 2024
5794fd2
New Crowdin updates (#3454)
MilosKozak Oct 17, 2024
3dcb447
fix build
MilosKozak Oct 17, 2024
3ed230b
libs update
MilosKozak Oct 17, 2024
d365879
libs to toml & update
MilosKozak Oct 17, 2024
806a18f
chore(deps): bump org.json:json from 20230618 to 20240303 (#3482)
dependabot[bot] Oct 18, 2024
cd445c0
chore(deps): bump com.google.firebase:firebase-bom from 33.4.0 to 33.5.0
dependabot[bot] Oct 22, 2024
6b3f2af
junit update
MilosKozak Oct 22, 2024
7672af4
Merge pull request #3486 from nightscout/dependabot/gradle/dev/com.go…
MilosKozak Oct 22, 2024
4d4ff1d
New Crowdin updates (#3481)
MilosKozak Oct 22, 2024
e767bc8
chore(deps): bump com.google.firebase:firebase-bom from 33.5.0 to 33.5.1
dependabot[bot] Oct 24, 2024
a1123ce
Merge pull request #3493 from nightscout/dependabot/gradle/dev/com.go…
MilosKozak Oct 24, 2024
44c5089
Objectives: verify master password
MilosKozak Oct 24, 2024
6e4f76e
simplify code
MilosKozak Oct 24, 2024
92757c4
New Crowdin updates (#3488)
MilosKozak Oct 25, 2024
8ee8210
prevent SecurityException
MilosKozak Oct 25, 2024
f48b11a
New Crowdin updates (#3495)
MilosKozak Oct 25, 2024
e1fedf8
CWF dynValue feature with textvalue formating string
Philoul Oct 27, 2024
2cc0b19
CWF Add AAPS (Large) zip file in assets
Philoul Oct 27, 2024
0c67a11
CWF Remove AAPS (Large) Watchface
Philoul Oct 27, 2024
99e44a5
CWF Clean code
Philoul Oct 27, 2024
7fc0a6e
Replace 'G7' source sensor for Xdrip collectors
plummer86 Oct 29, 2024
ec4ead6
Merge pull request #3500 from plummer86/mp/dev/bugfix/g7_xdrip_direct…
MilosKozak Oct 30, 2024
3cb666c
Merge pull request #3498 from Philoul/Todo/WatchfaceReplace
MilosKozak Oct 30, 2024
75e192d
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Oct 31, 2024
9524335
fix tests
MilosKozak Oct 31, 2024
166cd80
chore(deps): bump androidx.constraintlayout:constraintlayout
dependabot[bot] Oct 31, 2024
6df4efa
Merge pull request #3502 from nightscout/dependabot/gradle/dev/androi…
MilosKozak Oct 31, 2024
d4913f9
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx
dependabot[bot] Oct 31, 2024
ec15cc5
Merge pull request #3504 from nightscout/dependabot/gradle/dev/androi…
MilosKozak Oct 31, 2024
46b89de
fix warnings
MilosKozak Oct 31, 2024
b01a07d
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Oct 31, 2024
1b7a7c0
compileSdk = 35
MilosKozak Oct 31, 2024
485e277
migrate kapt -> ksp where possible
MilosKozak Oct 31, 2024
cee2b61
fix runtime crash on api 35
MilosKozak Oct 31, 2024
d126475
Eros: resolve nullability
MilosKozak Oct 31, 2024
4d4678e
chore(deps): bump androidx.core:core-ktx from 1.13.1 to 1.15.0
dependabot[bot] Oct 31, 2024
f5a880b
Merge pull request #3506 from nightscout/dependabot/gradle/dev/androi…
MilosKozak Oct 31, 2024
6797589
chore(deps): bump androidx.fragment:fragment-ktx from 1.8.4 to 1.8.5
dependabot[bot] Oct 31, 2024
b09f087
Merge pull request #3503 from nightscout/dependabot/gradle/dev/androi…
MilosKozak Oct 31, 2024
3bced27
update work to 2.10.0
MilosKozak Oct 31, 2024
f8a2c4a
3.3.0-dev-d
MilosKozak Oct 31, 2024
1e3faff
New Crowdin updates (#3496)
MilosKozak Nov 1, 2024
f50c49e
chore(deps): bump com.android.tools.build:gradle from 8.7.1 to 8.7.2
dependabot[bot] Nov 1, 2024
abf1018
Merge pull request #3508 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Nov 1, 2024
0ee8b10
NSCv1: improve PS & TT sync
MilosKozak Nov 1, 2024
c12639b
Improve negative carbs sync
MilosKozak Nov 1, 2024
7a2e268
PR - Unattended export V1
vanelsberg Oct 12, 2024
0484c56
Minor fixes on code style
vanelsberg Oct 15, 2024
238cc9a
Code cleanup
vanelsberg Oct 18, 2024
a3c62ab
Added Pod Activation Plugin
vanelsberg Oct 18, 2024
16addcc
Code cleanup
vanelsberg Oct 18, 2024
9c42b66
Pod Activation Plugin
vanelsberg Oct 18, 2024
ec9bdfb
Code cleanup
vanelsberg Oct 18, 2024
e8082df
Reset dependencies to current dev
vanelsberg Oct 19, 2024
c3607a2
Add SETTINGS type for registering unattended settings export in db & …
vanelsberg Oct 21, 2024
b5b82b8
Automation trigger: Improve Pod activation detection.
vanelsberg Oct 21, 2024
87cc6c0
Basic testing
vanelsberg Oct 21, 2024
a3a04f8
Add option for additional NSClient error alert event. Move strings to…
vanelsberg Oct 25, 2024
488c89c
Fix dev dependencies
vanelsberg Nov 1, 2024
72c40bf
Wear Update communication for external data
Philoul Nov 2, 2024
5d73076
Merge pull request #3510 from Philoul/Todo/WF_Follower
MilosKozak Nov 3, 2024
11da18e
NSCv1: PS+TT sync fix (2sec now)
MilosKozak Nov 3, 2024
2ea7007
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Nov 3, 2024
053e6c9
Merge pull request #3487 from vanelsberg/PRDEV2-unattended-settings-e…
MilosKozak Nov 4, 2024
3388500
fix warning
MilosKozak Nov 4, 2024
cc9e9f7
fix tests
MilosKozak Nov 4, 2024
0826ff8
NSCv1: PS+TT sync fix (10sec now)
MilosKozak Nov 4, 2024
dadd409
fix crash on accepting in open loop
MilosKozak Nov 4, 2024
a71e51c
Update BaseWatchFace and CustomWatchface for Ext1
Philoul Nov 5, 2024
96a0865
New Crowdin updates (#3509)
MilosKozak Nov 5, 2024
c9d20f4
API 28 -> 29
MilosKozak Nov 5, 2024
5ed35a3
CWF Fix External data1 implementation
Philoul Nov 5, 2024
27a2359
Wear Fix ageLevel
Philoul Nov 6, 2024
b7276fa
Equil: catch missing permission before scan
MilosKozak Nov 6, 2024
9a4aa6a
improve app initialization handling
MilosKozak Nov 6, 2024
6f81fdb
Revert "API 28 -> 29"
MilosKozak Nov 6, 2024
d9988f1
API 28 -> 29 #2
MilosKozak Nov 6, 2024
0102683
Wear Reorganize Ext1 Code
Philoul Nov 6, 2024
04dbdd5
CWF Manage Views for Ext2
Philoul Nov 6, 2024
f644533
Wear plugin Add strings for external data
Philoul Nov 7, 2024
f2a8dcd
chore(deps): bump com.google.devtools.ksp
dependabot[bot] Nov 8, 2024
b46c61c
chore(deps): bump com.thoughtworks.xstream:xstream from 1.4.20 to 1.4.21
dependabot[bot] Nov 8, 2024
f49b5c6
Fix: register manual settings export
vanelsberg Nov 5, 2024
4626bd7
A11 file scoped acess
MilosKozak Nov 8, 2024
651750a
Merge pull request #3519 from nightscout/dependabot/gradle/dev/com.go…
MilosKozak Nov 10, 2024
9e53385
Merge pull request #3520 from nightscout/dependabot/gradle/dev/com.th…
MilosKozak Nov 10, 2024
203687b
Merge pull request #3521 from vanelsberg/FIX-unattended-export
MilosKozak Nov 10, 2024
b5d5b34
Merge pull request #3515 from Philoul/Todo/WF_Follower
MilosKozak Nov 11, 2024
2e7cf18
improve BT premission check
MilosKozak Nov 11, 2024
a98d5d4
Merge branch 'dev' into scopedaccess
MilosKozak Nov 11, 2024
7175dd5
CWF External data update improvement
Philoul Nov 11, 2024
be28fb9
fix unit tests
MilosKozak Nov 11, 2024
810c6fd
Merge pull request #3523 from Philoul/Todo/WF_Follower
MilosKozak Nov 11, 2024
be83889
integrate AAPS directory selection into setup wizard & notifications
MilosKozak Nov 12, 2024
c93ece8
Merge pull request #3524 from nightscout/scopedaccess
MilosKozak Nov 12, 2024
a90ec3a
Allow set password from notification
MilosKozak Nov 12, 2024
ac3b323
SetupWizard: fix logic
MilosKozak Nov 12, 2024
7b36f0a
API: 29 -> 30
MilosKozak Nov 12, 2024
cd20500
remove unused string
MilosKozak Nov 12, 2024
fb92236
use A11 image for testing
MilosKozak Nov 12, 2024
9dbc7ba
Fix typo
olorinmaia Nov 12, 2024
ee67714
Fix Tidepool upload: filter out negative carbs
vanelsberg Nov 12, 2024
268e1a9
Merge pull request #3527 from vanelsberg/FIX-Tidepool-upload
MilosKozak Nov 13, 2024
2a863f7
Merge pull request #3526 from olorinmaia/fix_typo
MilosKozak Nov 13, 2024
9f3cbe2
fix negative carbs
MilosKozak Nov 13, 2024
bb7df50
Treatments: sort user entries
MilosKozak Nov 13, 2024
19109c4
Fix tests
MilosKozak Nov 13, 2024
09b6630
Merge pull request #3528 from nightscout/fixtests
MilosKozak Nov 13, 2024
93ae83c
New Crowdin updates (#3516)
MilosKozak Nov 13, 2024
0434fc7
Medtrum: Clarify bolus error, clarify sync status
jbr7rr Nov 13, 2024
1624e69
Clarify bolus error text
jbr7rr Nov 13, 2024
b01d678
Merge pull request #3529 from jbr7rr/medtrum-clarify-strings
MilosKozak Nov 13, 2024
596568a
lints
MilosKozak Nov 13, 2024
6ba274c
chore(deps): bump androidx.navigation:navigation-fragment-ktx
dependabot[bot] Nov 14, 2024
51a5afa
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Nov 14, 2024
21660da
Merge pull request #3531 from nightscout/dependabot/gradle/dev/androi…
MilosKozak Nov 14, 2024
aaa8a02
Xdrip: fix interaction
MilosKozak Nov 14, 2024
6a3053e
Xdrip: fix interaction
MilosKozak Nov 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run:
name: Create avd
command: |
echo "no" | /opt/android-sdk/cmdline-tools/latest/bin/avdmanager --verbose create avd -n citest -k "system-images;android-29;google_apis_playstore;x86" --force
echo "no" | /opt/android-sdk/cmdline-tools/latest/bin/avdmanager --verbose create avd -n citest -k "system-images;android-30;google_apis_playstore;x86" --force

- run:
name: Launch emulator
Expand All @@ -36,13 +36,13 @@ jobs:
export ANDROID_HOME=/opt/android-sdk
env
./gradlew -Dorg.gradle.jvmargs=-Xmx6g connectedFullDebugAndroidTest

- run:
name: Kill emulators
command: |
echo "Killing emulators"
adb devices | grep emulator | cut -f1 | while read -r line; do adb -s $line emu kill; done

- run:
name: Run testFullDebugUnitTest
command: |
Expand Down
60 changes: 60 additions & 0 deletions .circleci/config.yml.cloud
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
orbs:
android: circleci/android@2.3.0
codecov: codecov/codecov@3.3.0

jobs:
# Below is the definition of your job to build and test your app, you can rename and customize it as you want.
build-and-test:
# These next lines define the Android machine image executor: https://circleci.com/docs/2.0/executor-types/
executor:
name: android/android-machine
resource-class: large
tag: 2023.11.1

steps:
- checkout

- android/change-java-version:
java-version: 17

- android/start-emulator-and-run-tests:
system-image: system-images;android-29;google_apis;x86
# Compile while the emulator starts to use the time.
post-emulator-launch-assemble-command: ./gradlew compileFullDebugUnitTestSources compileFullDebugAndroidTestSources
test-command: ./gradlew connectedFullDebugAndroidTest

- android/run-tests:
test-command: ./gradlew testFullDebugUnitTest

- android/run-tests:
test-command: ./gradlew --stacktrace jacocoAllDebugReport

- run:
name: Save test results
command: |
mkdir -p ~/test-results/junit/
find . -type f -regex ".*/build/outputs/androidTest-results/.*xml" -exec cp {} ~/test-results/junit/ \;
when: always

- store_test_results:
path: ~/test-results

- store_artifacts:
path: ~/test-results/junit

- codecov/upload:
file: './build/reports/jacoco/jacocoAllDebugReport/jacocoAllDebugReport.xml'

workflows:
# Below is the definition of your workflow.
# Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above.
# CircleCI will run this workflow on every commit.
# For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows
dotests:
jobs:
- build-and-test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/output-metadata.json
/build
/captures
/java_pid*
*.apk
build/
!.idea/dictionaries/project-dictionary.xml
Expand All @@ -26,3 +27,4 @@ app/pumpcontrol/*
wear/aapsclient/*
wear/aapsclient2/*
wear/pumpcontrol/*
.kotlin/*
4 changes: 2 additions & 2 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/dictionaries/project_dictionary.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .kotlin/errors/errors-1730369688333.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
kotlin version: 2.0.21
error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output:
1. Kotlin compile daemon is ready

12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This document speciffy hints and good practices for source code contributions.
This document specify hints and good practices for source code contributions.

AndroidAPS is community effort and all contributions are welcome! If you wish help us improving AAPS - please read and try to adhere to
this guidelines, to make the development and process of change aproval as smooth as possible :)
this guidelines, to make the development and process of change approval as smooth as possible :)

General rules
=============
Expand All @@ -14,18 +14,18 @@ General rules
Development guidelines
======================

Coding convetions
Coding conventions
-----------------
1. Use Android Studio with default indents (4 chars, use spaces)
2. Use autoformat feature CTRL-ALT-L in every changed file before commit

Committing Changes / Pull Requests
---------------------------------

1. Make fork of repository on github
1. Make a fork of [repository](https://github.com/nightscout/AndroidAPS) on GitHub (be aware to uncheck the box "Copy the master branch only")
2. Create separate branch for each feature, branch from most recent dev
3. Commit all changes to your fork
4. When ready, rebase on top of dev and make pull request to main repo
4. When ready, rebase on top of dev and make Pull Request to main repo

Naming Conventions for Pull Requests / Branches
-----------------------------------------------
Expand All @@ -45,4 +45,4 @@ Hints
* Take a look into Issues list (https://github.com/nightscout/AndroidAPS/issues) - maybe there is something you can fix or implement
* For new features, make sure there is Issue to track progress and have on-topic discussion
* Reach out to community, discuss idea on Discord (https://discord.gg/4fQUWHZ4Mw)
* Speak with other developers to minimise merge conflicts. Find out who worked, working or plan to work on speciffic issue or part of app
* Speak with other developers to minimize merge conflicts. Find out who worked, working or plan to work on specific issue or part of app
Loading