Skip to content

Commit

Permalink
Merge pull request #765 from threefoldtech/development
Browse files Browse the repository at this point in the history
Update the main branch with the latest release
  • Loading branch information
AhmedHanafy725 authored Nov 21, 2024
2 parents 6ae5066 + 36bb7e1 commit 3cb876e
Show file tree
Hide file tree
Showing 279 changed files with 17,957 additions and 3,623 deletions.
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Bug Report

description: Create a bug report

title: "Brief Description of the Issue"

labels:
- bug

body:
- type: markdown
attributes:
value: |
#### Please fill the fields to help us solving your bug! Don't forget to add the right label.
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true

- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Describe your bug!
validations:
required: true

- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: false

- type: textarea
id: screenshots
attributes:
label: Relevant screenshots/screen records
description: |
Please provide any relevant screenshots/screen records, this is very important for UI issues.
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: true

- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: console
validations:
required: true

- type: markdown
attributes:
value: |
### Thanks for taking the time to fill out this bug report!
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Feature request
description: Suggest an idea for this project
labels: ["type_feature"]
body:
- type: markdown
attributes:
value: |
Don't forget to add the right label
- type: textarea
id: describe
attributes:
label: Is your feature request related to a problem? Please describe
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when \[...]
validations:
required: true

- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen. If you've a specific approach to discuss, describe it here clearly.
validations:
required: true
- type: markdown
attributes:
value: |
### Thanks for taking the time to fill out this bug report!
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Changes

List of changes this PR includes

### Related Issues

List of related issues

### Tested Scenarios

A list of scenarios tried to match the deliverables
27 changes: 27 additions & 0 deletions .github/workflows/format_analyze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Format and Analyze

on:
pull_request:
branches:
- development
push:
branches:
- development


jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Repository
uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.19.0'

- run: cd app && dart pub get

- run: dart format app/lib

- run: dart analyze app/lib
39 changes: 0 additions & 39 deletions .github/workflows/main.yml

This file was deleted.

Empty file removed .github/workflows/testing.yml
Empty file.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -347,4 +347,10 @@ backend/services/__pycache__/productkeys.cpython-39.pyc
backend/services/__pycache__/socket.cpython-39.pyc

*.pyc
.vscode
.vscode

# reflected files
app/lib/main.reflectable.dart

# pubSpec override
app/pubspec_overrides.yaml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Wallet v3: <https://github.com/threefoldtech/wallet-next>

Farmer: <https://github.com/threefoldtech/wallet-next>

Support: <https://github.com/threefoldtech/tfsupport>
Support: <https://github.com/threefoldtech/test_feedback>

## Frontend

Expand Down
10 changes: 10 additions & 0 deletions app/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
analyzer:
errors:
constant_identifier_names: ignore
deprecated_member_use: ignore
library_prefixes: ignore
library_private_types_in_public_api: ignore
non_constant_identifier_names: ignore
prefer_interpolation_to_compose_strings: ignore
prefer_typing_uninitialized_variables: ignore
use_build_context_synchronously: ignore
include: package:flutter_lints/flutter.yaml

linter:
Expand Down
32 changes: 22 additions & 10 deletions app/android/app/build_local
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,24 @@ android {
}

lintOptions {
disable 'InvalidPackage'
}
disable 'InvalidPackage'
disable "Instantiatable"
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

defaultConfig {
applicationId "org.jimber.threebotlogin.local"
minSdkVersion 23
applicationId "org.jimber.threebotlogin"
minSdkVersion 24
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand All @@ -66,7 +69,6 @@ android {

}
}

buildTypes {
release {
signingConfig signingConfigs.release
Expand All @@ -75,6 +77,15 @@ android {
signingConfig signingConfigs.debug
}
}
buildscript {
ext {
stripeVersion = "20.19.1" // This is the version BEFORE the kotlin bump
}
}

dataBinding {
enabled = true
}
}

flutter {
Expand All @@ -89,6 +100,7 @@ dependencies {
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

}
29 changes: 21 additions & 8 deletions app/android/app/build_production
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,24 @@ android {
}

lintOptions {
disable 'InvalidPackage'
}
disable 'InvalidPackage'
disable "Instantiatable"
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

defaultConfig {
applicationId "org.jimber.threebotlogin"
minSdkVersion 23
minSdkVersion 24
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand All @@ -74,6 +77,15 @@ android {
signingConfig signingConfigs.debug
}
}
buildscript {
ext {
stripeVersion = "20.19.1" // This is the version BEFORE the kotlin bump
}
}

dataBinding {
enabled = true
}
}

flutter {
Expand All @@ -88,6 +100,7 @@ dependencies {
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

}
31 changes: 22 additions & 9 deletions app/android/app/build_staging
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,24 @@ android {
}

lintOptions {
disable 'InvalidPackage'
}
disable 'InvalidPackage'
disable "Instantiatable"
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

defaultConfig {
applicationId "org.jimber.threebotlogin.staging"
minSdkVersion 23
applicationId "org.jimber.threebotlogin"
minSdkVersion 24
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand All @@ -74,6 +77,15 @@ android {
signingConfig signingConfigs.debug
}
}
buildscript {
ext {
stripeVersion = "20.19.1" // This is the version BEFORE the kotlin bump
}
}

dataBinding {
enabled = true
}
}

flutter {
Expand All @@ -88,6 +100,7 @@ dependencies {
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

}
Loading

0 comments on commit 3cb876e

Please sign in to comment.