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

New design #128

Merged
merged 146 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
9816329
Move relays to the bottom nav bar
greenart7c3 Oct 14, 2024
c4e3172
Move accounts to the bottom
greenart7c3 Oct 14, 2024
894c389
App list as main screen, changed home to incoming requests
greenart7c3 Oct 16, 2024
6caa1a6
Change theme, redesign the applications screen
greenart7c3 Oct 16, 2024
a486bc0
Add new application screen
greenart7c3 Oct 16, 2024
537bc07
Finish add a new bunker screen
greenart7c3 Oct 16, 2024
3f0ec3d
Redesign activity screen
greenart7c3 Oct 18, 2024
0d735b6
Fix color of dialogs
greenart7c3 Oct 18, 2024
7f3da25
new design for the relay logs
greenart7c3 Oct 18, 2024
e8b0e5e
finish edit configuration button
greenart7c3 Oct 18, 2024
643f55a
create a shouldShowRelays function
greenart7c3 Oct 18, 2024
8ae0990
Remove relays button
greenart7c3 Oct 18, 2024
b4c7bf9
Fix bottom and title recomposition
greenart7c3 Oct 21, 2024
c2b48ab
Add padding top
greenart7c3 Oct 21, 2024
623d3ee
Use AmberButton everywhere
greenart7c3 Oct 21, 2024
901aeb3
Show permissions without a dialog
greenart7c3 Oct 21, 2024
ade7af5
Add padding to the navigation bar
greenart7c3 Oct 21, 2024
19b80ee
Use isNip04 from quartz
greenart7c3 Oct 21, 2024
5740bfb
Try to go to the incoming request screen when pressing the notification
greenart7c3 Oct 21, 2024
2daef50
Fix notification icon size
greenart7c3 Oct 23, 2024
0518398
Save data on change
greenart7c3 Oct 23, 2024
709014d
Fix crash on navigation
greenart7c3 Oct 23, 2024
472abf0
Fix crash on navigation
greenart7c3 Oct 23, 2024
bbf6869
Support for custom pin
greenart7c3 Oct 25, 2024
57f525f
Show colored border for each account
greenart7c3 Oct 25, 2024
d3b6902
refactor BootReceiver
greenart7c3 Oct 25, 2024
f90a9da
Move relays to the bottom nav bar
greenart7c3 Oct 14, 2024
8e6d300
Move accounts to the bottom
greenart7c3 Oct 14, 2024
6e1d3a9
App list as main screen, changed home to incoming requests
greenart7c3 Oct 16, 2024
a14f537
Change theme, redesign the applications screen
greenart7c3 Oct 16, 2024
707a989
Add new application screen
greenart7c3 Oct 16, 2024
0b8501c
Finish add a new bunker screen
greenart7c3 Oct 16, 2024
6557bc3
Redesign activity screen
greenart7c3 Oct 18, 2024
de4b2d0
Fix color of dialogs
greenart7c3 Oct 18, 2024
42ef11d
new design for the relay logs
greenart7c3 Oct 18, 2024
b09c972
finish edit configuration button
greenart7c3 Oct 18, 2024
be01a09
create a shouldShowRelays function
greenart7c3 Oct 18, 2024
515b96e
Remove relays button
greenart7c3 Oct 18, 2024
51f4661
Fix bottom and title recomposition
greenart7c3 Oct 21, 2024
ad321d9
Add padding top
greenart7c3 Oct 21, 2024
3ba00a7
Use AmberButton everywhere
greenart7c3 Oct 21, 2024
fb79ceb
Show permissions without a dialog
greenart7c3 Oct 21, 2024
8ac7cc6
Add padding to the navigation bar
greenart7c3 Oct 21, 2024
776f693
Use isNip04 from quartz
greenart7c3 Oct 21, 2024
1f60a55
Try to go to the incoming request screen when pressing the notification
greenart7c3 Oct 21, 2024
4515b94
Fix notification icon size
greenart7c3 Oct 23, 2024
881de46
Save data on change
greenart7c3 Oct 23, 2024
c1fecd3
Fix crash on navigation
greenart7c3 Oct 23, 2024
b60880f
Fix crash on navigation
greenart7c3 Oct 23, 2024
5c03a99
Support for custom pin
greenart7c3 Oct 25, 2024
213e10d
Show colored border for each account
greenart7c3 Oct 25, 2024
7faf183
refactor BootReceiver
greenart7c3 Oct 25, 2024
1d7bee7
Merge remote-tracking branch 'origin/new_design' into new_design
greenart7c3 Oct 28, 2024
b63004c
update dependencies
greenart7c3 Oct 28, 2024
4b9a598
3.0.0
greenart7c3 Oct 28, 2024
aebcd9a
Use same styles across the app
greenart7c3 Oct 28, 2024
e74edff
Use large heap to avoid oom when decrypting ncryptsec
greenart7c3 Oct 30, 2024
efde0f7
supress some lints
greenart7c3 Oct 30, 2024
5c2812a
Fix tor connection when using private ips
greenart7c3 Oct 30, 2024
cad834c
Added string resources to the permission dialog
greenart7c3 Oct 30, 2024
687b303
remove color from icon
greenart7c3 Oct 30, 2024
a2280a3
Fix logout, fix crash when theres no relay
greenart7c3 Oct 30, 2024
01b4dba
remove keypair from account
greenart7c3 Oct 30, 2024
4bb5af7
Add option to copy public key to clipboard
greenart7c3 Oct 30, 2024
1b17dc9
Try to change account when theres a incoming request
greenart7c3 Oct 30, 2024
46e2493
Remove push notifications server
greenart7c3 Oct 30, 2024
b9b9192
Change the card from MultiEventHomeScreen
greenart7c3 Nov 1, 2024
1079f71
Use default roundedcorner for the RandomPinInput
greenart7c3 Nov 1, 2024
d77eecf
upgrade dependencies
greenart7c3 Nov 4, 2024
204d8fc
Fix deprecation warning
greenart7c3 Nov 4, 2024
1eb98fe
Always connect to default relays
greenart7c3 Nov 4, 2024
8ff4517
Check if npub is not empty
greenart7c3 Nov 4, 2024
b122408
Fix duplicated relay url
greenart7c3 Nov 4, 2024
15ae316
Show ping in the relay screen
greenart7c3 Nov 4, 2024
df669f4
Fix clickable on relay screen
greenart7c3 Nov 4, 2024
fb93f8a
3.0.0-pre1
greenart7c3 Nov 4, 2024
a86c8e6
Fix layout on android < 15
greenart7c3 Nov 6, 2024
95ca9f0
3.0.0-pre2
greenart7c3 Nov 6, 2024
e7d8040
Remove elevation from floating action button
greenart7c3 Nov 6, 2024
acb4126
Change bottom navbar icons
greenart7c3 Nov 6, 2024
20d22eb
fetch account name and picture
greenart7c3 Nov 8, 2024
b6777c5
Add the latest used time
greenart7c3 Nov 8, 2024
6a80bd0
Increase the font size of buttons
greenart7c3 Nov 8, 2024
c10a159
Center back button and use icon from figma
greenart7c3 Nov 8, 2024
a2678e7
Show a message when theres a invalid nostrconnect uri from clipboard
greenart7c3 Nov 8, 2024
7e14bd2
Focus on name field when opening the screen
greenart7c3 Nov 8, 2024
5136b41
Improve padding
greenart7c3 Nov 8, 2024
9834293
make the screen scrollable, change padding
greenart7c3 Nov 8, 2024
29f1be4
Change the remove all permission button to orange
greenart7c3 Nov 8, 2024
4c196bf
Use light gray border
greenart7c3 Nov 8, 2024
58cbea7
Remove info icon
greenart7c3 Nov 8, 2024
b45c1d8
Fix permission delete and disabling
greenart7c3 Nov 8, 2024
ff75448
Change the delete icon
greenart7c3 Nov 8, 2024
d0f3da5
Hide the remove permissions button if theres no permission
greenart7c3 Nov 8, 2024
767ff14
Change the relay list layout, make page scrollable, show error from r…
greenart7c3 Nov 8, 2024
6a46977
Set app name - Activity title
greenart7c3 Nov 8, 2024
07c5020
Change the connect app screen
greenart7c3 Nov 8, 2024
cade50e
Fix pubkey filter when fetching profile data
greenart7c3 Nov 11, 2024
14faabe
Change the design from the MultiEventHomeScreen
greenart7c3 Nov 11, 2024
8d44632
Add string resources to MultiEventHomeScreen
greenart7c3 Nov 11, 2024
f3b8305
Use default padding for everything
greenart7c3 Nov 11, 2024
ddf9a5a
Change relay and log screen design
greenart7c3 Nov 11, 2024
398f6ad
Fix remember my choice
greenart7c3 Nov 11, 2024
a46e1d3
Fix selection
greenart7c3 Nov 11, 2024
2a5f6e5
Fix offline build
greenart7c3 Nov 11, 2024
a3e0f0c
3.0.0-pre3
greenart7c3 Nov 11, 2024
ac340f5
Fix profile picture size
greenart7c3 Nov 11, 2024
0d85fa1
3.0.0-pre4
greenart7c3 Nov 11, 2024
4a24c77
More design changes
greenart7c3 Nov 13, 2024
f769f09
Fix pubkey
greenart7c3 Nov 13, 2024
0abd2cc
Remove the intentData from the intents list when accepting or rejecti…
greenart7c3 Nov 13, 2024
e7c21fb
Fix empty relay notice, fix get_public_key not replying with hex key
greenart7c3 Nov 13, 2024
dcd8824
Add support for secret when using nostrconnect
greenart7c3 Nov 13, 2024
9fde8f6
Move bunker log down
greenart7c3 Nov 13, 2024
e37b9b1
Fix filter pubkey
greenart7c3 Nov 13, 2024
b01d838
Check if relay sends the bunker events back
greenart7c3 Nov 18, 2024
9faa09e
Fix padding
greenart7c3 Nov 18, 2024
edd424d
Fix the scrolling
greenart7c3 Nov 18, 2024
9f053e5
If not profile picture only check every 15 minutes
greenart7c3 Nov 18, 2024
3e19e59
Add option to add the relay if it doesnt support retrieving bunker ev…
greenart7c3 Nov 18, 2024
f2a9c72
Add option to not close amber
greenart7c3 Nov 18, 2024
c2bbd02
3.0.0-pre5
greenart7c3 Nov 18, 2024
d80f203
Move relays to settings
greenart7c3 Nov 20, 2024
1bafc2d
Add some padding to the plus button
greenart7c3 Nov 20, 2024
0aafa62
Make text normal
greenart7c3 Nov 20, 2024
cfa60e8
Add more space after the remove all permissions button
greenart7c3 Nov 20, 2024
679b048
Show the app key if the name is empty
greenart7c3 Nov 20, 2024
0dddc00
Make the text gray when a permission is disabled
greenart7c3 Nov 20, 2024
3d9208c
Remove unused import
greenart7c3 Nov 20, 2024
167ccd8
use lazy column and flow to get the app activity
greenart7c3 Nov 20, 2024
e50e65d
Show app name at the top in the incoming request screen
greenart7c3 Nov 20, 2024
180d0b5
Add a always approve those permissions switch
greenart7c3 Nov 20, 2024
c11ec26
Merge branch 'master' into new_design
greenart7c3 Nov 23, 2024
9ff6212
New icons
greenart7c3 Nov 23, 2024
50e6b35
use a floating button from active relays -> default relays
greenart7c3 Nov 23, 2024
151f77c
Redesign onboarding
greenart7c3 Nov 25, 2024
fb0dc0a
make the see details row clickable
greenart7c3 Nov 27, 2024
dc61d04
Fix duplicated get_public_key when using native apps
greenart7c3 Nov 27, 2024
4dafc2a
Only try to switch account if its logged into the app
greenart7c3 Nov 27, 2024
33978d5
3.0.0-pre6
greenart7c3 Nov 27, 2024
fcafeb5
Check for new relays after creating new bunker
greenart7c3 Nov 29, 2024
1e7e08d
Fix login screen size when using multiple accounts, fix logout
greenart7c3 Nov 29, 2024
4eacec4
update dependencies
greenart7c3 Nov 29, 2024
60e8014
use a screen instead of dialog for tor
greenart7c3 Nov 29, 2024
cfc2561
3.0.0-pre7
greenart7c3 Nov 29, 2024
d88d4f4
Fix account switch when receiving a event
greenart7c3 Nov 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .idea/inspectionProfiles/Project_Default.xml

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

30 changes: 16 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@ plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.jetbrainsKotlinAndroid)
alias(libs.plugins.gradle.ktlint) version(libs.versions.ktlint)
alias(libs.plugins.google.gms) version(libs.versions.gms)
alias(libs.plugins.kotlin.ksp) version(libs.versions.ksp)
alias(libs.plugins.jetbrainsComposeCompiler)
}

android {
namespace 'com.greenart7c3.nostrsigner'
compileSdk 34
compileSdk 35

defaultConfig {
applicationId "com.greenart7c3.nostrsigner"
minSdk 26
targetSdk 34
versionCode 100
versionName "2.0.8"
targetSdk 35
versionCode 108
versionName "3.0.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down Expand Up @@ -58,7 +57,6 @@ android {
'ku-rTR',
'lt-rLT',
'ne-rNP',
'night',
'nl',
'nl-rBE',
'pcm-rNG',
Expand Down Expand Up @@ -131,11 +129,8 @@ android {
flavorDimensions += "version"

productFlavors {
create("play") {
getIsDefault().set(true)
dimension = "version"
}
create("free") {
getIsDefault().set(true)
dimension = "version"
}
create("offline") {
Expand Down Expand Up @@ -241,12 +236,19 @@ dependencies {
// Biometrics
implementation libs.biometric.ktx

playImplementation platform(libs.firebase.bom)
playImplementation(libs.firebase.messaging)
freeImplementation(libs.unfiedpush)
ksp(libs.room.compiler)
implementation(libs.room.ktx)

freeImplementation(libs.okhttp)
playImplementation(libs.okhttp)

// Load images from the web.
implementation libs.coil.compose
// view gifs
implementation libs.coil.gif
// view svgs
implementation libs.coil.svg
// enables network for coil
implementation libs.coil.okhttp

implementation libs.storage
}
48 changes: 0 additions & 48 deletions app/google-services.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"formatVersion": 1,
"database": {
"version": 5,
"identityHash": "ffb55f8c910a34676fa829322921d260",
"identityHash": "3d67ebb3b84f49af6a6823444e1a28e9",
"entities": [
{
"tableName": "application",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`key` TEXT NOT NULL, `name` TEXT NOT NULL, `relays` TEXT NOT NULL, `url` TEXT NOT NULL, `icon` TEXT NOT NULL, `description` TEXT NOT NULL, `pubKey` TEXT NOT NULL, `isConnected` INTEGER NOT NULL, `secret` TEXT NOT NULL, `useSecret` INTEGER NOT NULL, `signPolicy` INTEGER NOT NULL, PRIMARY KEY(`key`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`key` TEXT NOT NULL, `name` TEXT NOT NULL, `relays` TEXT NOT NULL, `url` TEXT NOT NULL, `icon` TEXT NOT NULL, `description` TEXT NOT NULL, `pubKey` TEXT NOT NULL, `isConnected` INTEGER NOT NULL, `secret` TEXT NOT NULL, `useSecret` INTEGER NOT NULL, `signPolicy` INTEGER NOT NULL, `closeApplication` INTEGER NOT NULL, PRIMARY KEY(`key`))",
"fields": [
{
"fieldPath": "key",
Expand Down Expand Up @@ -73,6 +73,12 @@
"columnName": "signPolicy",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "closeApplication",
"columnName": "closeApplication",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
Expand Down Expand Up @@ -341,7 +347,7 @@
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'ffb55f8c910a34676fa829322921d260')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '3d67ebb3b84f49af6a6823444e1a28e9')"
]
}
}
Loading
Loading