Commit graph

98 commits

Author SHA1 Message Date
6ac4c94937 Bump version for release 2022-10-23 23:48:54 -06:00
d0c61bea52 Update dependencies and target sdk 2022-10-23 23:45:28 -06:00
c315439763 Update dependencies 2021-06-27 19:35:51 -06:00
89d957c2d0 Bump version for release
Nothing new here, just a minor fix for F-Droid
2021-03-12 15:53:00 -07:00
94cdb70da7 Fix free flavor builds 2021-03-12 15:53:00 -07:00
62720ddd05 Bump version for release 2021-03-12 15:42:51 -07:00
14dc55433a Use Timber for logging 2021-02-21 14:18:37 -07:00
b056e779e0 Grant WRITE_EXTERNAL_STORAGE permission for UI tests
The absence of this was causing the tests to fail on Firebase.
2021-02-20 22:23:58 -07:00
67bf1626a0 Run UI tests on API 29
For some reason running the tests on API 30 fails with the below exception. Interestingly enough the tests run just fine on my local API 30 emulator.

java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{com.wbrawner.simplemarkdown.test/androidx.test.runner.AndroidJUnitRunner}: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService
     FATAL EXCEPTION: main
Process: com.wbrawner.simplemarkdown, PID: 21960
java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{com.wbrawner.simplemarkdown.test/androidx.test.runner.AndroidJUnitRunner}: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6709)
	at android.app.ActivityThread.access$1300(ActivityThread.java:237)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7656)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService
	at androidx.test.internal.events.client.TestEventServiceConnectionBase.connect(TestEventServiceConnectionBase.java:91)
	at androidx.test.internal.events.client.TestEventClient.connect(TestEventClient.java:125)
	at androidx.test.runner.AndroidJUnitRunner.isOrchestratorServiceProvided(AndroidJUnitRunner.java:347)
	at androidx.test.runner.AndroidJUnitRunner.onCreate(AndroidJUnitRunner.java:319)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6704)
	... 8 more
2021-02-20 22:01:43 -07:00
027ae86953 Add flank/fladle to run UI tests 2021-02-20 21:07:16 -07:00
6937cc7406 Bump dependency versions 2021-02-20 19:59:06 -07:00
84db6b3d80 Fix (yet another) potential issue with autosave overwriting files 2020-10-08 09:20:57 -07:00
2059d54b3b Bump version for release 2020-10-05 21:05:16 -07:00
1affb7069a (Hopefully) fix an issue with accidentally overwriting files with blank content upon 2020-09-22 13:40:56 -07:00
0ff5ccdbd6 Re-implement Crashlytics 2020-09-21 15:07:50 -07:00
f830657668 Bump version for release 2020-09-16 18:48:19 -07:00
d854022691 Remove error handling entirely 2020-09-16 18:39:59 -07:00
c6728f1afa Add in-app reviews for play flavor
Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-31 19:09:20 -07:00
76c45bb914 Bump dependency versions
Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-31 19:09:20 -07:00
a1e114b162 Bump version for release
Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-22 22:19:13 -07:00
894fea4193 Add back samsung build flavor
This partially reverts commit 16185243

Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-22 18:39:28 -07:00
8cf07491cf Re-implement ACRA
This reverts commit 0e70364c6e.

Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-18 14:26:08 -07:00
d9afb67d44 Convert (most) Activities to Fragments and use AndroidX navigation component
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-12 22:54:32 -07:00
e9dc70eed4 Use purple background for icon and different package suffix for debug builds
This will allow me to keep both the Play Store version and the development version on my device simultaneously and still tell them apart at a glance

Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-11 20:50:17 -07:00
9a0685a165 Implement freedom build flavors
This is a necessary step in separating the proprietary code (like Google Play Billing) from the FLOSS code so that I can eventually get around to publishing the app on fdroid

Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-10 11:46:05 -07:00
d538111651 Update dependencies
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-10 10:18:49 -07:00
1cc0063b15 Replace Crashlytics with Sentry
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-10 10:16:53 -07:00
0e70364c6e Revert "Revert "Revert "Replace Crashlytics with ACRA"""
This reverts commit ab45f33e
2020-05-18 17:33:12 -07:00
b068a04dd4 Bump version for release
Signed-off-by: William Brawner <me@wbrawner.com>
2020-05-18 17:01:31 -07:00
ab45f33e38 Revert "Revert "Replace Crashlytics with ACRA""
This reverts commit 452f334d
2020-05-18 16:53:21 -07:00
551e1f1f57 Update dependencies
This includes a migration to Firebase Crashlytics with Google Analytics instead of Fabric Crashlytics which has been deprecated and is on the way out.
2020-04-20 16:13:49 -07:00
f01909eb83 Update dependencies 2020-04-19 21:19:28 -07:00
452f334dd1 Revert "Replace Crashlytics with ACRA"
This reverts commit 5c04dd0e8f.
2020-04-19 08:51:41 -07:00
5c04dd0e8f Replace Crashlytics with ACRA
Signed-off-by: William Brawner <me@wbrawner.com>
2020-04-19 08:51:32 -07:00
c01581dbd2 Update dependencies 2020-04-19 08:51:32 -07:00
Billy Brawner
c1a7efbadf Bump version for release 2020-04-08 07:59:50 -07:00
Billy Brawner
21cd8d1324 Bump version number for release
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2020-04-08 07:59:50 -07:00
Billy Brawner
810a334bb0 Minor updates for release
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2020-04-08 07:59:50 -07:00
Billy Brawner
d0736458b6 Split overflow menu into navigation menu
I also removed Dagger since it wasn't really being used, and fixed the CrashlyticsErrorHandler as I had previously imported the incorrect BuildConfig class.
2020-04-08 07:59:50 -07:00
Billy Brawner
070d580044 Add support page 2020-04-08 07:59:50 -07:00
Billy Brawner
209c434f4e Update dependency versions 2020-04-08 07:59:50 -07:00
William 'Billy' Brawner
ef6810bf45 Make jacocoTestReport task not dependent on running UI tests 2020-04-08 07:59:50 -07:00
William 'Billy' Brawner
764c3fa72e Redo UI tests to cover basic markdown editing flows 2020-04-08 07:59:50 -07:00
Billy Brawner
04954b96f7 WIP: Migrate to ViewModel architecture
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2020-04-08 07:59:50 -07:00
Billy Brawner
829dc11c12 Clean up much of the Kotlin usage and remove RxJava 2020-04-08 07:59:49 -07:00
70e93fc0ce Fix failing unit tests
Robolectric supports a maxSdkVersion of 28, so I can't quite upgrade yet
2020-04-08 07:59:49 -07:00
feae3be2ec Show and hide the keyboard when navigating to and from the EditFragment 2020-04-08 07:59:49 -07:00
colugo
a4d9a9b9d7 Add basic readability highlighting
Personally, I'm a terrible writer and I've found simple aids really help keep my prose tight.
These changes will highlight sentences that are hard to read, based on the number of syllables they contain.
Here's what happens based on syllable count:
- less than 25 syllables: its easy to read (heuristically speaking), and has no background colour
- between 25 and 35 syllables, it's a bit hard to understand, and has a yellow background colour
- over 35 syllables, its quite hard to read, and has a red background color

This might be well outside the scope of what you had in mind, but I personally find it usefull.
At the moment it's on by default, in a seperate observer.
Maybe you could add add a setting for it
2020-04-08 07:59:36 -07:00
Billy Brawner
6ec3a73311 Bump version for release 2020-04-08 07:58:56 -07:00
Billy Brawner
9f85ab4ac4 Fix theme-related bugs 2020-04-08 07:58:56 -07:00