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

Releasing Glucosio 1.3.0 #322

Merged
merged 73 commits into from
Oct 28, 2016
Merged

Releasing Glucosio 1.3.0 #322

merged 73 commits into from
Oct 28, 2016

Conversation

paolorotolo
Copy link
Collaborator

No description provided.

paolorotolo and others added 30 commits September 3, 2016 21:32
* Start working on Reminders.

* Add Reminders in Realm. Add migration to schema 4.

* Add ArrayAdapter for reminders.

* Continue work on Reminders.

* Add method to get all active reminders

* Fix notes export, abstract to a pseudo MVP architecture

* Continue work on Reminders.

* Simple note tests

* Fix notes export, abstract to a pseudo MVP architecture

* Simple note tests

* Improve quality from codacy report

* Fix migration.

* Class ReadingToCSV is not final, removed the redundant Sys.currentTMls, added todo to tests

* Add reminders notification.

* Improvements #2 on PR comments

* Fix some issues.

* Codacy warnings fixed

* Automatic translation import (build 937).

* Fix reminder triggered on boot, update Gradle version to stable.

* Update dependencies.

* Fix notes export, abstract to a pseudo MVP architecture

* Simple note tests

* Improve quality from codacy report

* Class ReadingToCSV is not final, removed the redundant Sys.currentTMls, added todo to tests

* Improvements #2 on PR comments
- Made a presenter
- Some basic interaction tests
pt2121 and others added 26 commits October 2, 2016 16:08
Allow comma as decimal separator when adding Glucose reading
* Removing unused variables and fields, inlining fields used once, minor improvements

* Removed unused misleading badge
* Removed unused functionality, introduced butterknife, removed categories mentioning and first tests for fragment

* Removed unused field and minor cleanup

* Removed cardview since it is not appropriate here

* Removed whitespace

* Added test for adapter

* Simplified adapter instantiation

* Added test for presenter
* Updated build gradle to 2.2.0-rc1 from beta

* Add labels on reminders.

* Add label on reminder notification.

* Updated deprecated comment from WebviewClient

* Moved URLs as fields

* Extracted some methods and leaved the code cleaner

* Created basic network connectivity

* Extracted external glucosio links to separate class

* Create and improved the basic network availability implementation

* Refactored the LicenseActivity:
- Made a presenter
- Some basic interaction tests

* Applied some format

* Renamed to ExternalLinkActivity

* Dialog made not cancelable

* Typo fix for preferences terms

* Initialized map with predefined 3 elements

* Created launcher methodˆ

* Replaced old call to Terms

* Replaced old call to Terms on HelloActivity

* Replaced all old called with the new launch method

* Created extractor method for extracting title and url from intent extra

* Removed obsolete tests and changed behaviour for presenter

* FreestyleLibre: divide raw value by 8.5

xdrip+/LimiTTer are dividing by 8.5, seems to work good for many people
there, including me

* FreesyleLibre: use latest value

We wanted to use the latest history value, but used the oldest one,
because array is filled from newest to oldest
Also we should use trend values instead of history values, as the
newest history value can be up to 15 minutes old

* Added new strings. Fix label layout.

* Automatic translation import (build 957).

* - Added annotations for non null parameters
- Replaced empty string checks with Android classes
- Private method for extra extracting

* Round the glucose value before converting to int

* Fixed message for evening case

* Removed unnecessary local variable

* Allow comma as decimal separator when adding Glucose reading

* Added contributor credits

* Set locale back to default after tests in ReadingToolsTest

* Refactor AddReadingPresenter

* Cleaning some codacy useful warnings (#310)

* Removing unused variables and fields, inlining fields used once, minor improvements

* Removed unused misleading badge

* Remove categories creaition from assistant (fix #245) (#308)

* Removed unused functionality, introduced butterknife, removed categories mentioning and first tests for fragment

* Removed unused field and minor cleanup

* Removed cardview since it is not appropriate here

* Removed whitespace

* Added test for adapter

* Simplified adapter instantiation

* Added test for presenter
This application is used in various countries. And in Crowdin, some languages are already 100% translated or almost translated. But Glucosio is still support only English. These features are enhancement of it. And also, you can find Crowdin's API for translation status. But there are too many non-translated languages and it was useless to get it's all data. The API needs Auth key so until it is cleared, just maintaining available strings manually would be better. I already made code, but I will just keep it.

- Add available_languages.xml of 'almost' translated languages
- Add updateLocale code on MainPresenter when there is already user profile in DB
- Swap two codes order of calling MainPresenter for update MainActivities in start
- Add localeHelper variable for MainActivity
- Changed getLocalesWithTranslation to available languages
- Fixed bug in build.gradle. It should contain one more backslash
Remove hardcoded strings for concentrations like mg/dL
[RFC] Support 'Almost' translated languages
Add mmol/L unit check in validGlucose method
@coveralls
Copy link

Coverage Status

Coverage increased (+1.5%) to 15.074% when pulling f36f890 on develop into 1ac224a on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.