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,036 commits into
base: dev32
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1036 commits
Select commit Hold shift + click to select a range
ae3af05
Improve app startup
MilosKozak Feb 21, 2024
a5efccc
better process kotlin preferences
MilosKozak Feb 21, 2024
0b14075
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Feb 21, 2024
3a5c667
Improve SMB-options by making sensitivity/resistance adjusting target…
olorinmaia Feb 21, 2024
d69d869
Merge pull request #3232 from olorinmaia/improve_smb_settings
MilosKozak Feb 22, 2024
acc1d17
Xdrip: do not send loop disabled in client mode
MilosKozak Feb 22, 2024
8ad74ec
Loop: prefrences -> kotlin
MilosKozak Feb 22, 2024
7649ee8
Autotune: preferences -> kotlin
MilosKozak Feb 22, 2024
9a6d96f
Automation: preferences -> kotlin
MilosKozak Feb 22, 2024
ac1761f
AdaptiveStringPreference: missing default
MilosKozak Feb 22, 2024
79cc2ab
New Crowdin updates (#3230)
MilosKozak Feb 22, 2024
43a41b6
Maintenance: preferences -> kt
MilosKozak Feb 22, 2024
1c242ff
Safety: preferences -> kt
MilosKozak Feb 22, 2024
04e7c80
InsulinFreePeak: preferences -> kt
MilosKozak Feb 23, 2024
fe2ecc4
SmsCommunicator: preferences -> kt
MilosKozak Feb 23, 2024
e2245f8
Further improve SMB-settings
olorinmaia Feb 23, 2024
03a8457
Prevent activation of profile in Profile and Autotune screens
Feb 24, 2024
340c061
Sensitivity: preferences -> kt
MilosKozak Feb 24, 2024
bd3a085
fix tests
MilosKozak Feb 24, 2024
cc7c53d
Improve UAM-settings
olorinmaia Feb 24, 2024
fc5807c
Overview: preferences -> kt
MilosKozak Feb 25, 2024
8b26d5d
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Feb 25, 2024
7ad0fd9
Disable future_sens block when dynISF is not active
Feb 25, 2024
a7302eb
Merge pull request #3241 from jbr7rr/disable-dynisf-block-when-not-ac…
MilosKozak Feb 25, 2024
bd30569
BgSource: preferences -> kt
MilosKozak Feb 26, 2024
9cb997a
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Feb 26, 2024
acc3f07
Merge pull request #3237 from olorinmaia/improve_smb_settings2
MilosKozak Feb 26, 2024
aa00ed4
Merge pull request #3239 from jbr7rr/fix-activation-of-profile-when-d…
MilosKozak Feb 26, 2024
f872fd0
prepare for plugin's preferences
MilosKozak Feb 26, 2024
da9c983
preference fix
MilosKozak Feb 26, 2024
f23a7ab
fix tests
MilosKozak Feb 26, 2024
1d5735a
Merge remote-tracking branch 'Nightscout/dev' into AutoISF/2-in-1-Aut…
Philoul Feb 27, 2024
5d3e33c
Merge pull request #3242 from nightscout/dev32
MilosKozak Feb 27, 2024
1597977
VirtualPump: preferences -> kt
MilosKozak Feb 27, 2024
8f61084
fix tests
MilosKozak Feb 27, 2024
6eda0c8
chore(deps): bump com.android.tools.build:gradle from 8.2.2 to 8.3.0
dependabot[bot] Mar 1, 2024
f63cbc5
NSClient: preferences -> kt
MilosKozak Mar 1, 2024
a036c04
increase timeout in tests
MilosKozak Mar 1, 2024
c1a22f6
Merge pull request #3246 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Mar 1, 2024
1ada90a
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak Mar 1, 2024
9e5b596
Tidepool: preferences ->kt
MilosKozak Mar 2, 2024
e925425
New Crowdin updates (#3234)
MilosKozak Mar 2, 2024
53295f9
AutoSIF Draft code reorganization 2-in-1
Philoul Mar 2, 2024
107e746
Merge remote-tracking branch 'Nightscout/dev' into AutoISF/2-in-1-Aut…
Philoul Mar 2, 2024
9f3ae4e
Fix Build
Philoul Mar 2, 2024
0369e90
OH, Xdrip: preferences ->kt
MilosKozak Mar 2, 2024
1897694
fix randomBG scaling for 1 minute CGM interval
ga-zelle Mar 2, 2024
a26c5ef
Fix AutoISF menu in preferences
Philoul Mar 2, 2024
1a95c4a
Merge remote-tracking branch 'Nightscout/dev' into AutoISF/2-in-1-Aut…
Philoul Mar 2, 2024
2411a1e
Fix AutoISF Crash
Philoul Mar 2, 2024
bdb0024
Merge remote-tracking branch 'autoisf/Philoul/2-in-1-AutoISFPlugin' i…
ga-zelle Mar 2, 2024
53e45ff
fix preferences
MilosKozak Mar 3, 2024
717e383
Merge remote-tracking branch 'origin/dev32' into dev
MilosKozak Mar 3, 2024
7565e84
fix max bolus in pregnant mode
MilosKozak Mar 3, 2024
9c08455
Merge branch 'dev32' into dev
MilosKozak Mar 3, 2024
94952e9
Wear: preferences ->kt
MilosKozak Mar 3, 2024
c4cd90d
fix processing plugin preferences menu
MilosKozak Mar 3, 2024
1beb6ea
libs update
MilosKozak Mar 3, 2024
301c8db
Allow for recordOnly bolus when pump is disconnected or suspended
Mar 3, 2024
61872b6
Merge remote-tracking branch 'Nightscout/dev' into AutoISF/2-in-1-Aut…
Philoul Mar 4, 2024
2c05893
New Crowdin updates (#3251)
MilosKozak Mar 4, 2024
2589820
Merge remote-tracking branch 'autoisf/Philoul/2-in-1-AutoISFPlugin' i…
ga-zelle Mar 4, 2024
1580b00
Set Insulin button and dialog header color when pump suspended
Mar 4, 2024
c9ee1e5
show relevant parabola fit results
ga-zelle Mar 7, 2024
2c38274
enablers for exercise mode
ga-zelle Mar 7, 2024
ef7f093
prepare kt_test for new AutoISF plugin
ga-zelle Mar 7, 2024
5dc33f1
Revert "fix randomBG scaling for 1 minute CGM interval"
ga-zelle Mar 7, 2024
d14e9f8
Fix insulin button text color
Mar 8, 2024
2fb59a6
Medtrum: Text colors to follow theme
Mar 8, 2024
424128d
Combo: Text colors to follow theme
Mar 8, 2024
d69293d
EOPatch: Text colors to follow theme
Mar 8, 2024
2b993aa
Equil: Text colors to follow theme
Mar 8, 2024
1dfbef9
fix int division for effective iobTH
ga-zelle Mar 9, 2024
b332e59
AutoISFPlugin Several fixes and improvement of null management within…
Philoul Mar 9, 2024
8f5e1e9
AutoISFPlugin Remove temporary debug
Philoul Mar 9, 2024
08c0052
Merge remote-tracking branch 'autoisf/Philoul/2-in-1-AutoISFPlugin' i…
ga-zelle Mar 9, 2024
15260a8
Merge pull request #3258 from jbr7rr/fix-light-theme-in-pump-drivers
MilosKozak Mar 10, 2024
3ddea22
Merge branch 'dev32' into dev
MilosKozak Mar 11, 2024
71ab7a7
fix merge
MilosKozak Mar 11, 2024
3025224
Merge branch 'dev32' into dev
MilosKozak Mar 11, 2024
ba61498
New Crowdin updates (#3257)
MilosKozak Mar 13, 2024
c3cd8ae
Fix preference text
MilosKozak Mar 15, 2024
e3cf6ee
Automation: Add cannula age trigger
Mar 16, 2024
868ec05
Automation: Add Insulin age trigger
Mar 16, 2024
65603e4
Automation: Add Insulin and canula age trigger unit tests
Mar 17, 2024
0bd77c1
Automation: Add pump battery age trigger
Mar 17, 2024
3f361a1
Automation: Add Sensor age trigger
Mar 17, 2024
bb057e8
Automation: Add reservoir level trigger
Mar 17, 2024
7314941
Automation: Add pump battery level trigger
Mar 17, 2024
ce52d7c
cleanup
Mar 17, 2024
edc8be1
Merge pull request #3267 from jbr7rr/automation-triggers
MilosKozak Mar 18, 2024
675fbb9
Merge pull request #3254 from jbr7rr/bolus-when-suspended
MilosKozak Mar 18, 2024
342141b
Merge branch 'dev' into dev_quick_wizard2
MilosKozak Mar 18, 2024
4b9fb39
Merge pull request #2914 from radicalb/dev_quick_wizard2
MilosKozak Mar 18, 2024
f6ce817
fix merge errors
MilosKozak Mar 18, 2024
d4dbc11
Merge branch 'radicalb-dev_quick_wizard2' into dev
MilosKozak Mar 18, 2024
5736324
Revert "libs update"
MilosKozak Mar 18, 2024
227f474
gradle update
MilosKozak Mar 18, 2024
ace0e53
Medtrum: Remove reset of device address on disconnect during connecting
Mar 18, 2024
d7f3dd4
Wear CWF More Custom button
Philoul Mar 19, 2024
acdcb46
chore(deps): bump com.android.tools.build:gradle from 8.3.0 to 8.3.1
dependabot[bot] Mar 19, 2024
1c715b5
Merge pull request #3272 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Mar 19, 2024
8aad64a
Wear CWF tune more cwf icon size
Philoul Mar 19, 2024
5b13a68
Merge pull request #3273 from Philoul/wear/other_cwf
MilosKozak Mar 20, 2024
728cffa
Medtrum: Reset device address when starting new scan
Mar 21, 2024
63b54be
scale random part for other than 5 minute interval
ga-zelle Mar 25, 2024
90d146a
initialize AutoISFPlugin unit tests
ga-zelle Mar 26, 2024
36753bf
Merge pull request #3280 from ga-zelle/dev_randomBg
MilosKozak Mar 26, 2024
935a35e
Merge pull request #3270 from jbr7rr/medtrum-fixes
MilosKozak Mar 26, 2024
2629694
New Crowdin updates (#3269)
MilosKozak Mar 26, 2024
cd5df70
Actions: confirm text
MilosKozak Mar 26, 2024
a001a32
Fixed problem with app crashing when running qw in latest dev with an…
radicalb Mar 27, 2024
f92425d
Merge pull request #3285 from radicalb/dev_qw2_oldQwEntryRunFix
MilosKozak Mar 27, 2024
f2b07a8
fix typo
Mar 27, 2024
4da79e1
Merge pull request #3286 from jbr7rr/fix-typo
MilosKozak Mar 28, 2024
bc3e2d5
Create Database Source for user entry from CommandQueue
Philoul Mar 28, 2024
6f029a6
Fix Wear Tiles
Philoul Mar 29, 2024
3064d2f
Use word "Recalculate" instead of "Reset" for button in Statistics > TDD
olorinmaia Mar 31, 2024
4ba7d3a
Improve error message in Loop-plugin during DST.
olorinmaia Apr 1, 2024
cfc1baa
fix bugs in algorithm and reporting
ga-zelle Apr 1, 2024
38b9772
Merge remote-tracking branch 'origin/dev' into dev_aiUnify/AutoISFPlu…
ga-zelle Apr 1, 2024
f6c4ec7
reactivate other unit tests
ga-zelle Apr 1, 2024
71343d9
Merge pull request #3291 from olorinmaia/rephrase_reset_tdd
MilosKozak Apr 2, 2024
e71923a
Merge pull request #3292 from olorinmaia/improve_dst_error_loop_tab
MilosKozak Apr 2, 2024
662ceb4
Merge pull request #3290 from Philoul/Fix/WearTiles
MilosKozak Apr 2, 2024
3bb0705
Merge pull request #3287 from Philoul/Fix/NewDatabaseSourceForUel
MilosKozak Apr 2, 2024
6ae2dd6
chore(deps): bump com.android.tools.build:gradle from 8.3.1 to 8.3.2
dependabot[bot] Apr 10, 2024
fbbaaf5
fix updating variables and minor adaptations
ga-zelle Apr 16, 2024
62da538
Merge remote-tracking branch 'origin/dev' into dev_aiUnify/AutoISFPlu…
ga-zelle Apr 16, 2024
d149adc
Improved toggle buttons + theme-compatible
kenzo44 Apr 18, 2024
ad0b3b3
Added ripple animation
kenzo44 Apr 18, 2024
0cbc5b9
AutoISF Code Cleaning
Philoul Apr 18, 2024
7a17e8d
Removed border in disabled state
kenzo44 Apr 18, 2024
d4f59c1
fix exercise mode, prepare unit tests
ga-zelle Apr 22, 2024
2e60fe1
Fix bug with always hypoTT in CarbsDialog when selecting hypoTT, acti…
olorinmaia Apr 22, 2024
05ed109
Merge pull request #3308 from olorinmaia/fix_always_hypoTT
MilosKozak Apr 29, 2024
3f8d4c0
fix WiFi SSID preference
MilosKozak Apr 29, 2024
7e9200a
Merge pull request #3299 from nightscout/dependabot/gradle/dev/com.an…
MilosKozak Apr 29, 2024
06fe4ad
New Crowdin updates (#3283)
MilosKozak Apr 29, 2024
f6167d9
AutoISF improve code and unit tests
Philoul Apr 29, 2024
40a2302
comboctl: Fix typo
dv1 Nov 16, 2023
9c43346
comboctl: Extract IntegerParser.Mode, renaming it to GlyphDigitParseMode
dv1 Apr 30, 2024
70633ec
comboctl: Add dedicated duration parser and fix 24 hour duration parsing
dv1 Apr 30, 2024
52657c0
comboctl: Don't run heartbeat while delivering a bolus
dv1 Apr 30, 2024
f151e08
Improve objective 3 by adding info about Github and correcting info r…
olorinmaia May 1, 2024
149578c
Merge pull request #3314 from dv1/combov2-fixes-001
MilosKozak May 2, 2024
32ab4d6
add more AutoISF unit tests and fix mmol conversion
ga-zelle May 5, 2024
e13e601
Merge remote-tracking branch 'origin/dev' into dev_aiUnify/AutoISFPlu…
ga-zelle May 5, 2024
b57a9d0
Smooth HR values
Philoul May 6, 2024
3add6ed
Gradle update
MilosKozak May 6, 2024
57949a4
Merge pull request #3325 from nightscout/gradleupdate
MilosKozak May 6, 2024
b4eec12
Merge pull request #3317 from olorinmaia/improve_obj3_troubleshooting
MilosKozak May 6, 2024
78868ae
crowdin cleanup
MilosKozak May 7, 2024
e86a477
SMS: NSCLIENT -> AAPSCLIENT
MilosKozak May 7, 2024
679948c
AutoISF Dev + Engineering mode only
Philoul May 7, 2024
6fd5bc7
Merge pull request #1 from Philoul/AutoISF_Plugin_Prototype
ga-zelle May 7, 2024
e1f655c
Add OapsProfileIsf
Philoul May 7, 2024
19afd31
OapsProfileIsft remove default values and fix tests
Philoul May 8, 2024
baa2c5d
Clean code
Philoul May 8, 2024
8b1d439
Merge pull request #2 from Philoul/AutoISF_Plugin_Prototype
ga-zelle May 8, 2024
a5db324
fix tests
MilosKozak May 8, 2024
c30432d
chore(deps): bump org.jlleitschuh.gradle.ktlint from 12.1.0 to 12.1.1
dependabot[bot] May 8, 2024
141674e
New Crowdin updates (#3315)
MilosKozak May 8, 2024
b979bc8
Merge pull request #3329 from nightscout/dependabot/gradle/dev/org.jl…
MilosKozak May 9, 2024
9f93158
Use deviceAddress instead of device object to save reconnect
jbr7rr May 10, 2024
387e8f9
Add BLE Check on patch change
jbr7rr May 10, 2024
e630a1a
Merge pull request #3216 from kenzo44/ui/bolus-wizard
MilosKozak May 10, 2024
3f326d4
fix PluginsListModule
MilosKozak May 10, 2024
7914687
Show reservoir level on filling screen
jbr7rr May 10, 2024
e28c46a
reset more patch parameters
jbr7rr May 10, 2024
9b24673
Medtrum: Show export button on activation complete
jbr7rr May 10, 2024
40b62e8
Merge pull request #3333 from jbr7rr/medtrum-ui-improvements
MilosKozak May 10, 2024
8bbfc3a
Rearrange buttons in actions tab to save screen space when using pump…
olorinmaia May 14, 2024
5c3c860
Unify default temp target value and duration in phone/wear. Default v…
olorinmaia May 14, 2024
eb3fa57
Merge pull request #3337 from olorinmaia/rearrange_icons_action_tab
MilosKozak May 16, 2024
3df8353
Update revoked_certs.txt
MilosKozak May 23, 2024
17b6fcb
add key length check
MilosKozak May 23, 2024
6cd1b86
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
MilosKozak May 23, 2024
f2cad90
New Graph menu and rescale menu
Philoul May 24, 2024
eb6c408
Move Scale menu to OverViewMenusImpl
Philoul May 24, 2024
f69dd18
Only show reservoir in fill screen when > 70
jbr7rr May 26, 2024
ad2ac3f
Add hours and days left until expiry
jbr7rr May 26, 2024
4977463
Merge pull request #3350 from jbr7rr/medtrum-improvements
MilosKozak May 27, 2024
96f5aaf
Fix Graph menu button visible in HB simpleMode
Philoul May 31, 2024
aef6122
Fix Graph menu button update in HB
Philoul May 31, 2024
53b968c
GraphMenu Fix Background menu and icon color in Light Theme
Philoul May 31, 2024
3f841df
Fix Overlapping in Step Graph
Philoul Jun 18, 2024
d24cef1
Merge pull request #3369 from Philoul/Fix/StepGraphOverlapping
MilosKozak Jun 18, 2024
539f30f
Gradle update
MilosKozak Jun 18, 2024
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
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
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
153de43
update omment
MilosKozak Sep 7, 2024
18887e7
preferences: more xml -> kotlin
MilosKozak Sep 9, 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.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 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 Down
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.

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