Skip to content

Commit

Permalink
changelogs/178.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshnsears committed Sep 10, 2024
1 parent 4f7de6c commit 4c74952
Show file tree
Hide file tree
Showing 139 changed files with 364 additions and 449 deletions.
1 change: 1 addition & 0 deletions .idea/androidTestResultsUserPreferences.xml

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

6 changes: 3 additions & 3 deletions .idea/appInsightsSettings.xml

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

11 changes: 8 additions & 3 deletions .idea/deploymentTargetSelector.xml

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

45 changes: 37 additions & 8 deletions .idea/inspectionProfiles/Project_Default.xml

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

4 changes: 2 additions & 2 deletions .idea/runConfigurations/app.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-1725522677335.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
kotlin version: 2.0.20
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

20 changes: 4 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,14 @@

---

## 2. High Level Design

### 2.1. Deployment Diagram

![Deployment Diagram](https://github.com/jameshnsears/QuoteUnquote/blob/main/docs/uml/Deployment%20Diagram.jpg?raw=true)

### 2.2. androidTest ROOM Class Diagram

![androidTest ROOM Class Diagram](https://github.com/jameshnsears/QuoteUnquote/blob/main/docs/uml/androidTest%20ROOM%20Class%20Diagram.jpg?raw=true)

---

## 3. Build Instructions
## 2. Build Instructions

After cloning extract .gpg files - BuildConfig / GitHub Action Secrets values.

The app can be built on Windows 11 but the ./bin folder contains bash scripts (that work with git
bash; some require gh cli).

### 3.1. CLI
### 2.1. CLI

```text
git clone https://github.com/jameshnsears/QuoteUnquote
Expand All @@ -50,7 +38,7 @@ git submodule foreach git pull origin main
git submodule
```

### 3.2. Android Studio
### 2.2. Android Studio

```text
Android Studio > Get from Version Control
Expand All @@ -75,7 +63,7 @@ Choose a Build Variant
> run a Run/Debug Configuration
```

### 3.3. PyCharm
### 2.3. PyCharm

```text
After a clone...
Expand Down
16 changes: 9 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ android {
applicationId "com.github.jameshnsears.quoteunquote"

// changelog version | min sdk | target sdk
versionCode 1772434
versionCode 1782435
// semantic versioning
versionName "4.43.1"
versionName "4.44.0"

vectorDrawables.useSupportLibrary = true

Expand Down Expand Up @@ -156,6 +156,8 @@ android {
androidTest {
assets.srcDirs += files("$projectDir/schemas".toString())
assets.srcDirs += 'src/androidTest/assets/'
java.srcDirs += 'src/androidTest/java'
java.srcDirs += 'src/androidTest/kotlin'
}
fdroid {
assets.srcDirs = ['src/main/assets']
Expand Down Expand Up @@ -231,13 +233,13 @@ dependencies {

annotationProcessor 'androidx.room:room-compiler:2.6.1'

debugImplementation 'androidx.fragment:fragment-testing:1.8.2'
debugImplementation 'androidx.fragment:fragment-testing:1.8.3'
debugImplementation 'androidx.test:core-ktx:1.6.1'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.14'

googleplayImplementation platform('com.google.firebase:firebase-bom:33.2.0')

implementation 'androidx.activity:activity-ktx:1.9.1'
implementation 'androidx.activity:activity-ktx:1.9.2'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
Expand All @@ -257,15 +259,15 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
implementation 'net.pwall.json:json-kotlin-schema:0.48'
implementation 'net.pwall.json:json-kotlin-schema:0.50'
implementation 'org.apache.commons:commons-csv:1.11.0'
implementation 'org.jsoup:jsoup:1.18.1'
implementation 'androidx.work:work-runtime-ktx:2.9.1'
implementation 'androidx.work:work-runtime:2.9.1'
implementation project(path: ':cloudLib')
implementation project(path: ':utilsLib')

implementation platform('androidx.compose:compose-bom:2024.08.00')
implementation platform('androidx.compose:compose-bom:2024.09.00')
debugImplementation 'androidx.compose.ui:ui-tooling-preview'
implementation 'androidx.activity:activity-compose'
implementation 'androidx.compose.material3:material3'
Expand All @@ -280,7 +282,7 @@ dependencies {
testImplementation 'androidx.test:core-ktx:1.6.1'
testImplementation 'androidx.test.ext:junit:1.2.1'
testImplementation 'androidx.test:rules:1.6.1'
testImplementation 'ch.qos.logback:logback-classic:1.5.7'
testImplementation 'ch.qos.logback:logback-classic:1.5.8'
testImplementation 'com.google.guava:guava:33.3.0-jre'
testImplementation 'io.mockk:mockk:1.13.12'
testImplementation 'junit:junit:4.13.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.github.jameshnsears.quoteunquote.cloud.transfer.restore

import com.github.jameshnsears.quoteunquote.cloud.transfer.TransferUtility
import com.github.jameshnsears.quoteunquote.cloud.transfer.backup.TransferBackup
import com.github.jameshnsears.quoteunquote.cloud.transfer.backup.restore.TransferRestore
import io.mockk.every
import io.mockk.mockkObject
import org.junit.Assert.assertTrue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.github.jameshnsears.quoteunquote.cloud.transfer.restore

import android.os.Build
import com.github.jameshnsears.quoteunquote.cloud.transfer.backup.TransferBackup
import com.github.jameshnsears.quoteunquote.cloud.transfer.backup.restore.TransferRestore
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotEquals
import org.junit.Assert.assertTrue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.github.jameshnsears.quoteunquote.cloud.transfer.restore
import com.github.jameshnsears.quoteunquote.cloud.transfer.Transfer
import com.github.jameshnsears.quoteunquote.cloud.transfer.TransferUtility
import com.github.jameshnsears.quoteunquote.cloud.transfer.backup.TransferBackup
import com.github.jameshnsears.quoteunquote.cloud.transfer.backup.restore.TransferRestore
import com.github.jameshnsears.quoteunquote.database.quotation.QuotationEntity
import io.mockk.every
import io.mockk.mockkObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.github.jameshnsears.quoteunquote.configure.fragment.sync

import androidx.test.core.app.ApplicationProvider.getApplicationContext
import androidx.test.platform.app.InstrumentationRegistry
import com.github.jameshnsears.quoteunquote.sync.SyncJsonSchemaValidation
import com.github.jameshnsears.quoteunquote.utils.logging.MethodLineLoggingTree
import org.junit.Assert.assertTrue
import org.junit.Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
import com.github.jameshnsears.quoteunquote.database.history.FavouriteEntity;
import com.github.jameshnsears.quoteunquote.database.quotation.AuthorPOJO;
import com.github.jameshnsears.quoteunquote.database.quotation.QuotationEntity;
import com.github.jameshnsears.quoteunquote.scraper.Scraper;
import com.github.jameshnsears.quoteunquote.scraper.ScraperData;
import com.github.jameshnsears.quoteunquote.scraper.ScraperQuotationException;
import com.github.jameshnsears.quoteunquote.scraper.ScraperSourceException;
import com.github.jameshnsears.quoteunquote.scraper.ScraperUrlException;
import com.github.jameshnsears.quoteunquote.utils.ContentSelection;
import com.github.jameshnsears.quoteunquote.utils.ImportHelper;
import com.github.jameshnsears.quoteunquote.utils.scraper.Scraper;
import com.github.jameshnsears.quoteunquote.utils.scraper.ScraperData;
import com.github.jameshnsears.quoteunquote.utils.scraper.ScraperQuotationException;
import com.github.jameshnsears.quoteunquote.utils.scraper.ScraperSourceException;
import com.github.jameshnsears.quoteunquote.utils.scraper.ScraperUrlException;

import org.jsoup.nodes.Document;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import com.github.jameshnsears.quoteunquote.configure.fragment.quotations.QuotationsPreferences;
import com.github.jameshnsears.quoteunquote.database.quotation.QuotationEntity;
import com.github.jameshnsears.quoteunquote.listview.ListViewService;
import com.github.jameshnsears.quoteunquote.scraper.ScraperData;
import com.github.jameshnsears.quoteunquote.utils.ContentSelection;
import com.github.jameshnsears.quoteunquote.utils.ImportHelper;
import com.github.jameshnsears.quoteunquote.utils.IntentFactoryHelper;
Expand All @@ -44,7 +45,6 @@
import com.github.jameshnsears.quoteunquote.utils.notification.NotificationsDailyAlarm;
import com.github.jameshnsears.quoteunquote.utils.preference.PreferencesFacade;
import com.github.jameshnsears.quoteunquote.utils.scraper.ScraperAlarm;
import com.github.jameshnsears.quoteunquote.utils.scraper.ScraperData;
import com.google.common.util.concurrent.ThreadFactoryBuilder;

import java.util.concurrent.ExecutorService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import com.github.jameshnsears.quoteunquote.R;
import com.github.jameshnsears.quoteunquote.cloud.transfer.Transfer;
import com.github.jameshnsears.quoteunquote.cloud.transfer.TransferRestoreResponse;
import com.github.jameshnsears.quoteunquote.cloud.transfer.restore.TransferRestore;
import com.github.jameshnsears.quoteunquote.cloud.transfer.backup.restore.TransferRestore;
import com.github.jameshnsears.quoteunquote.configure.fragment.sync.SyncFragment;
import com.github.jameshnsears.quoteunquote.configure.fragment.sync.SyncPreferences;
import com.github.jameshnsears.quoteunquote.database.DatabaseRepository;
Expand Down
Loading

0 comments on commit 4c74952

Please sign in to comment.