Commit Graph

494 Commits

Author SHA1 Message Date
e6153e7ef5 Enabling local RoboHash for User Pictures 2023-02-10 17:14:34 -05:00
c62c4c7545 Reconnect after 60 seconds instead of 10 seconds. 2023-02-10 17:14:08 -05:00
c4d3c105f7 Better content descriptors for UrlPreviewCard 2023-02-10 17:13:51 -05:00
3d3578666d Using a local version of RoboHash 2023-02-10 17:13:25 -05:00
01c060caa1 Caching videos to reduce initialization delay. 2023-02-10 14:30:39 -05:00
d6cd8e2804 v0.14.3 2023-02-10 11:56:02 -05:00
fa559c8428 Disabling ProGuard until we figure out why crashes only happen in the release build. 2023-02-10 11:55:31 -05:00
a38087a9b9 v0.14.2 2023-02-10 09:13:45 -05:00
29dc677148 Allows the user to leave and join their own groups 2023-02-10 09:13:01 -05:00
50bc55e84b More Performant UpdateFollows 2023-02-09 17:52:18 -05:00
ae8d39df92 Download only metadata in the Search for authors 2023-02-09 16:42:30 -05:00
09919e99b9 Fixes: https://github.com/vitorpamplona/amethyst/issues/91 2023-02-09 15:25:32 -05:00
5069c30a4a Fixes https://github.com/vitorpamplona/amethyst/issues/103 Doesn't do anything if the content in the field is not a URI. 2023-02-09 15:11:20 -05:00
4097263c12 Activating Proguard 2023-02-09 15:02:13 -05:00
88e91e37fa Fixing the height of the nav bar icon 2023-02-09 14:56:54 -05:00
a003e111eb Fixing QR Code screen for smaller screens. 2023-02-09 14:45:00 -05:00
4cde2fe8e6 Refactoring of RelaySetupInfo away from ModelView 2023-02-09 14:25:58 -05:00
ffe5e79474 Making sure once proguard is used, it doesn't break json serialization 2023-02-09 14:24:56 -05:00
19a9e7a949 language-id seems necessary for some phones. unsure why 2023-02-09 14:24:28 -05:00
757e566774 Fixes permissions issue in Image Upload 2023-02-09 11:22:49 -05:00
7fff535b74 v0.14.1:
- Save image
- LNURL edit in the profile
- Bugfix crashing the Lightning Tips with non numeric values in the amount.
2023-02-09 10:42:08 -05:00
65ef34511a Adding LNURL setup in the User Metadata 2023-02-09 10:36:43 -05:00
644c6b4d76 Merge remote-tracking branch 'origin/main' 2023-02-09 09:47:34 -05:00
dec17e162e Avoids crashing on a non-numeric amount in Lightning Tips 2023-02-09 09:47:23 -05:00
df49c63936
Merge pull request #99 from Radiokot/feature/save_images
Add Save option to the image view screen
2023-02-09 09:22:46 -05:00
f0d4ad38a5
Merge pull request #98 from bleetube/offchain.pub
Public relay name change
2023-02-09 09:22:27 -05:00
7cb146bb50 v0.14.0 2023-02-08 18:27:23 -05:00
5195ddf63e Sending Lightning Tips 2023-02-08 18:26:49 -05:00
Oleg Koretsky
3fde6b4b1f Add Save option to the image view screen 2023-02-08 22:06:12 +02:00
Brian Lee
5102a15532 Public relay name change 2023-02-08 12:05:56 -08:00
00981ef15c Refactoring RichTextViewer file 2023-02-08 14:02:42 -05:00
f2badce3b8 v0.13.3 2023-02-08 13:55:25 -05:00
e9f0fb82e9 New options to choose which language to translate to and which languages to block translations from 2023-02-08 11:57:36 -05:00
abf217b71d Fixes: https://github.com/vitorpamplona/amethyst/issues/95 2023-02-07 18:03:48 -05:00
Oleg Koretsky
d600d1c3e5 Fix invisible user profile menu button (white on white) 2023-02-07 12:01:23 +02:00
Oleg Koretsky
79947524cc Fix login screen buttons crop when the keyboard is opened 2023-02-07 11:53:46 +02:00
Oleg Koretsky
2e49bbc606 Make post translation label wrap words properly, fix #86 2023-02-07 11:20:45 +02:00
c3f0f7c59c Bugfix 2023-02-06 18:53:43 -05:00
387c5cdffa v0.13.2 2023-02-06 18:39:45 -05:00
660f11cfc4 Adjustments to video playback 2023-02-06 18:38:59 -05:00
2a6a6f459c Using the explore button to present information about the relay 2023-02-06 18:15:54 -05:00
12c330f8f6 Correctly handling Atomic Boolean 2023-02-06 18:15:37 -05:00
d252297ba4 List relays in Private DMs 2023-02-06 18:15:18 -05:00
ba5eca648f Adds individual relay information per chat message. 2023-02-06 17:51:55 -05:00
ca3ed88b78 Tracks relays used per Note 2023-02-06 17:16:27 -05:00
433881fa21 Adjusts final relays for release 2023-02-06 17:16:07 -05:00
7b3a23825f Updating Semisol's relay. 2023-02-06 14:50:59 -05:00
2819c7efcf Shipping Amethyst with Paid relays for Global and Public Chats. 2023-02-06 14:34:44 -05:00
e645029ddf Crops Posts in 350 chars. 2023-02-06 14:34:21 -05:00
f160a024aa Since refresh is mostly a CPU/Memory process and not really IO, Default is recommended. 2023-02-06 12:29:17 -05:00
074cac3021 Removes unnecessary elvis operator 2023-02-06 12:28:27 -05:00
e7c6292cdc Fixing test case after https://github.com/vitorpamplona/amethyst/pull/87 2023-02-06 12:18:52 -05:00
6daeb487d3 Fixing unassignable variable from PR https://github.com/vitorpamplona/amethyst/pull/88 2023-02-06 11:30:57 -05:00
2e2e54d642
Merge pull request #87 from greenart7c3/main
add debug configuration
2023-02-06 11:19:25 -05:00
d2ce108bf3
Merge pull request #88 from middlingphys/remove_trailing_slash
remove trailing slash from relay URI
2023-02-06 11:18:48 -05:00
a6dcf64f04 Refactoring Channel -> Subscription 2023-02-06 10:56:10 -05:00
middlingphys
a2f85dd060 remove trailing slash from addedWSS 2023-02-06 23:25:45 +09:00
greenart7c3
7c8c79819a add debug configuration 2023-02-06 11:15:18 -03:00
a5f156ec49 Merge remote-tracking branch 'origin/main' 2023-02-06 08:38:48 -05:00
de3431e374 Fixing the order of url text and link 2023-02-06 08:32:35 -05:00
Oleg Koretsky
09f3a440d3 Fix switching tabs when changing the pager height 2023-02-06 14:46:54 +02:00
Oleg Koretsky
49c93c11e6 Make the profile header scrollable a, keep the bs â fixed 2023-02-06 13:47:48 +02:00
8ce96257d2 v0.13.1 2023-02-05 20:26:47 -05:00
94b525dd1f Fixing add button color. 2023-02-05 18:55:09 -05:00
e04843fe96 Using Main to update screen seems needed otherwise I get a 1 minute delay in the loading page before the screen updates. It looks like it waits for all the Pictures to load. Not sure why. 2023-02-05 18:39:54 -05:00
bb50099021
Merge pull request #75 from clackbib/habib/threading-perf-fixes
Scroll Perf Improvements.
2023-02-05 18:18:29 -05:00
459c195113
Merge pull request #76 from clackbib/habib/search-perf
A couple proposed improvements to search.
2023-02-05 18:16:58 -05:00
933fa9bf4d
Merge pull request #77 from clackbib/habib/scrollabletabs
Tiny change to profile page:
2023-02-05 18:14:59 -05:00
bd94544c9b Breaking filters down by feed type: Home, DMs, Public Chats and Global. 2023-02-05 18:14:41 -05:00
72aad26c03 Fixing a bug where the last message is remembered by the Compose when forcing index = 0 on the first element. 2023-02-05 18:13:08 -05:00
ff087e3dea Correctly addressing Preview of images when posts have been reported. 2023-02-05 18:12:11 -05:00
eb41f22bae Correctly addresses a report to a note (and not to a user) 2023-02-05 18:10:32 -05:00
f1a37afaf1 Testing to see if the use of PlayServices dependencies uses less cache from the app. 2023-02-05 18:09:49 -05:00
9035fda17a Simplifying dependencies 2023-02-05 12:59:35 -05:00
c16f175ebc Not display any previews if the note has a report. 2023-02-05 12:59:15 -05:00
5c5aa222c5 Quick refactoring 2023-02-05 12:58:26 -05:00
Habib Okanla
14bda01a70 Tiny change to profile page:
Use scrollable tabs instead of fixed tab to avoid bad text wrap.
2023-02-05 02:05:54 -05:00
Habib Okanla
cd9f359add A couple proposed improvements to search.
The UX and performance of search is relatively poor because each keystroke triggers a search & update. With this changes:

1. Search queries are moved into an IO thread so that typing is smooth and data sends happend in the background.

2. Text changed are debounced by 300 millis, meaning search will not be fired off on every keystroke, but rather only when we the user stops typing for 300 millis.
2023-02-05 01:56:16 -05:00
Habib Okanla
f40060bb36 There are very visible perf issues during app usage and scrolling that clearly indicates that the app is doing too much on the main thread. After digging for instances where Dispatchers.Main is used, it's an easy fix to switch to Dispatchers.IO, which visibility improve perf.
A few thoughts about perf considerations

1. There is no need to force Dispatchers.Main for data that is consumed as state by compose, since flows consumed as state will always flow on main, so we can use a background thread to guarantee best performance.

2. Using Dispatchers.IO is appropriate for disk/network operations to have a device-constrained thread pool that will avoid draining IO-related device resources. Using Dispatchers.Default is more appropriate for computational tasks (bitmap manipulation, delays, etc..)

3. There are a few instances of methods creating coroutine scopes in their body just to launch something that will delay. This is creating a lot of loose scopes, and you can avoid this by just moving scope creation to a class-level field and reusing it, or better yet, make your method suspending so that scope is controlled by the caller.
2023-02-05 00:41:37 -05:00
c5aa57d91b v0.13.0 2023-02-04 19:44:47 -05:00
229f15ee7f Adds automatic translation to feed and chat. 2023-02-04 19:43:31 -05:00
d168a6c861 Changes to Logging 2023-02-04 19:43:08 -05:00
39d58452a0 Allows redirection on relay URIs 2023-02-04 19:42:08 -05:00
b334c7105c Adds a relay filter to download all reports by the user 2023-02-04 19:41:47 -05:00
ea9ff08d8a Adds hidden notes to chat. 2023-02-04 19:41:19 -05:00
e3d7c23218 Moves QR code classes to another package 2023-02-04 19:40:45 -05:00
67b030f068 Matches target API with build file 2023-02-04 15:10:16 -05:00
1940303130 Increases timeout period and avoid double websocket connections. 2023-02-04 13:32:09 -05:00
80bc09df92 refactoring 2023-02-04 13:30:39 -05:00
ea59568b6f removes mutable list in Client. 2023-02-04 13:30:15 -05:00
3e08256347 Keeping subscription names small to please some relays. 2023-02-04 13:29:53 -05:00
2641dda7bc Fixes Follow/Unfollow button update after pressing. 2023-02-04 10:48:54 -05:00
40deb46eab Bugfix: consider flags of the referenced post in case of Boost events. 2023-02-04 10:42:32 -05:00
2a5f8595d0 Increasing Notification stack to 200 2023-02-04 10:41:58 -05:00
6c27fe0828 Adding more info into flagged posts. 2023-02-04 10:41:43 -05:00
2992d9daf0 Trying to fix NPE around these lines. 2023-02-04 10:41:01 -05:00
bbfd060328 v0.12.1 2023-02-03 17:46:24 -05:00
9e894642ec Correctly aligns chat field. 2023-02-03 17:45:44 -05:00
22daf1a6a8 Removes Channels from the Messages Notification Dot. 2023-02-03 17:45:28 -05:00
1a3b92a727 Abolishes the use of Mutable collections inside data models. 2023-02-03 17:23:47 -05:00
ee7120d803 Adding a way to visualize view count stats 2023-02-03 11:26:49 -05:00
a45a8789e7 Faster animations 2023-02-03 11:26:28 -05:00
bb3e38d079
Merge pull request #63 from clackbib/disable_backup
Disable android backup as this app uses EncryptedSharedPrefs. Usage o…
2023-02-03 09:46:54 -05:00
1568cad693 Fixing test cases 2023-02-03 09:08:06 -05:00
10e5c43be9 v0.12.0 2023-02-02 20:40:03 -05:00
e3aa573b8c Removing logs 2023-02-02 20:39:54 -05:00
bd77c43d40 Not reloading reactions to an event. 2023-02-02 20:18:06 -05:00
8e02f67052 Reducing the chance of a bug when loading chatroom without a user 2023-02-02 20:17:53 -05:00
299cf1aabb Keeping the report filter. 2023-02-02 20:16:35 -05:00
343521ff58 Cut off of 200 messages for each channel 2023-02-02 20:16:07 -05:00
a82f260142 Capturing EOSE events and keeping messages within relay limits (10 subscriptions and 10 REQ events at a time) 2023-02-02 16:57:03 -05:00
fb73308995 Moving observable classes to the leaf nodes. 2023-02-02 14:34:34 -05:00
b3ce10c2de Allowing HTTP downloads 2023-02-02 14:30:58 -05:00
4fa6873180 Forcing Notifications with Direct citations only removes too much. 2023-02-02 14:29:39 -05:00
Habib Okanla
a34e88b4fc Disable android backup as this app uses EncryptedSharedPrefs. Usage of EncryptedSharedPrefs can cause crashes if it's not properly excluded from backup.
https://stackoverflow.com/questions/61751264/autobackup-with-encryptedsharedpreferences-failing-to-restore
2023-02-01 19:33:46 -05:00
912ca72d68 Presenting a Drop Down menu to copy keys and channel IDs. 2023-02-01 14:05:59 -03:00
c3c19ebb49 Only showing notifications if it directly cites the account holder 2023-02-01 13:51:03 -03:00
0f968ca5e5 Removing channel create and change from Notifications Feed 2023-02-01 13:17:21 -03:00
2e17535a60 Keeping chatroom list scroll up top if it was up top. 2023-02-01 12:40:31 -03:00
663eb9c604 Solves https://github.com/vitorpamplona/amethyst/issues/58 2023-02-01 10:52:54 -03:00
4b894c5b33 Fixes bug where default relays would come back after leaving the two groups and not adding any other group. 2023-01-31 23:42:14 -03:00
814fb1845f Moving Picture and Display Name Observables to leaf UI nodes. 2023-01-31 22:12:24 -03:00
94a4bfc2f3 Avoiding calculations in the UI thread 2023-01-31 22:11:54 -03:00
4303e6040c Fixes Channel @tag 2023-01-31 20:50:56 -03:00
75cb313886 Uses Hex to idex Users 2023-01-31 20:50:38 -03:00
88d2786473 v0.11.7 2023-01-30 23:39:30 -03:00
7837860ac6 Keep Note model refreshes in the Default thread. 2023-01-30 23:39:09 -03:00
b7bc8a0b9d Fixing Boost to add content of the post in the boosted event as well as selecting only the last one to show on the screen. 2023-01-30 23:36:06 -03:00
c71c121356 Correctly updates new changes to the User model 2023-01-30 22:41:13 -03:00
d94f35de0e User Relay information in Profiles 2023-01-30 22:05:48 -03:00
3c52ff6e8d Tracks where notes are coming from 2023-01-30 19:38:06 -03:00
dc47845dd6 Solves a duplicated id in the feed. 2023-01-30 19:36:39 -03:00
76087e5f25 Removes new threads, boosts from the Conversations view 2023-01-30 13:51:30 -03:00
6225b4f843 Renames Follows + Replies to Conversations 2023-01-30 13:51:10 -03:00
3a834a932c Increases Home feed to 400 2023-01-30 13:50:56 -03:00
e59dfa7a76 Avoids concurrent exceptions 2023-01-30 13:50:43 -03:00
a0ba313661 Creating linkable routes for NIP19 in content. 2023-01-30 13:50:24 -03:00
fb8d6daf3d Resizing when using the keyboard 2023-01-30 00:23:22 -03:00
f2d7dea860 v0.11.6 Avoids crashing on invalid relay entries. 2023-01-29 23:35:08 -03:00
29b1a94ec4 Fixing crash due to wrong relay url (spaces, wrong schema, etc) 2023-01-29 23:27:48 -03:00
bba5afcdbf 0.11.5 2023-01-29 22:07:00 -03:00
8b1e0f9af0 Activating NIP 56 (Report Users and Posts with Event Kind 1984) 2023-01-29 22:06:48 -03:00
9fe73c7a97 v0.11.4 QR code reading and scanning (any NIP-21 uri) 2023-01-29 00:58:43 -03:00
9263684031 Support for PubKey QR showing and Scanning. 2023-01-29 00:56:13 -03:00
d1753a59f9 v0.11.3 2023-01-28 12:42:37 -03:00
31e2e586b7 Adding Block user option in profiles. 2023-01-28 12:42:24 -03:00
5a502f3b80 v0.11.2 2023-01-27 22:09:45 -03:00
456d40c58e Declaring observers directly into the Picture Compose 2023-01-27 22:05:22 -03:00
d19a1fa1b2 Refactoring 2023-01-27 22:04:59 -03:00
59dc19720f Correctly filtering out the channel id from the reply to list 2023-01-27 22:04:45 -03:00
11cfc90d36 Remove Channel Messages from event datasource 2023-01-27 22:04:25 -03:00
9f2f0727a0 Increase Global size to 200 2023-01-27 22:04:03 -03:00
6f9a69b9d4 Migrating pictures and banners to https 2023-01-27 22:03:54 -03:00
5ad39d7163 Clickable Profile pictures on notifications 2023-01-27 20:29:09 -03:00
acff1316be Only disk is much slower 2023-01-27 20:28:30 -03:00
ee2684a775 Printing memory and disk use for cache 2023-01-27 20:28:01 -03:00
5f3f80bc97 Waits 10 seconds before reconnecting. 2023-01-27 20:06:34 -03:00
1e3654396b No more blinking in Feeds 2023-01-27 19:28:59 -03:00
ae82c690ea Refreshing new Channels when showing them up on screen. 2023-01-27 19:28:48 -03:00
a29a0a614b Profile Refactoring 2023-01-27 16:10:13 -03:00
4d5a40f4ac Avoids any crash in processing events. 2023-01-27 16:10:05 -03:00
27e12a63d6 Full integration between Channel Messages and Regular notes. 2023-01-27 15:50:17 -03:00
a934b42524 Avoiding concurrent exceptions when looping through messages 2023-01-27 14:50:20 -03:00
c29c14f82b Round input texts 2023-01-27 14:49:46 -03:00
8a9b14fe5f Cleans up spaces on relay addresses 2023-01-27 14:15:14 -03:00
68c8c8cd98 v0.11.1 2023-01-27 13:44:23 -03:00
e751c206b2 Keeping image cache in the disk only 2023-01-27 13:42:44 -03:00
74df3333ef Fixes replying information 2023-01-27 13:41:54 -03:00
b5ee783107 Accepts more Like/Dislike codes 2023-01-27 13:41:42 -03:00
5452196f42 New root search for the thread view 2023-01-27 13:16:45 -03:00
b4fb623a01 Adding verification tag in the thread view and like/boost notification cards 2023-01-27 12:35:41 -03:00
88a82b3fbc Requires users to accept terms of use as per Google Play requirement. 2023-01-27 11:53:21 -03:00
7399afa648 v0.11.0 2023-01-26 22:14:44 -03:00
4e74ca6ed0 Removing BRB due to the crashes. 2023-01-26 22:14:12 -03:00
e20669ab3d Support for Notification Bubbles and Verified Follows 2023-01-26 22:09:56 -03:00
93033295be Marks following users with a Green verified mark 2023-01-26 13:16:57 -03:00
d8ef083086 v0.10.7 2023-01-26 00:11:05 -03:00
686dc954d9 v0.10.6 2023-01-25 23:08:27 -03:00
0ad8176a7c Fixes lost font size/style in the latest RTL change. 2023-01-25 23:05:32 -03:00
47f89232c1 Fixes relay list loading problems 2023-01-25 22:33:50 -03:00
5c9b736591 Migrates dependencies to new versions. App now requires Android Electric Eel 2023-01-25 22:33:37 -03:00
875a518a05 Merge remote-tracking branch 'origin/main' 2023-01-25 19:28:49 -03:00
22311f39e0 Updating lifecycle to 2.6.0 2023-01-25 19:27:09 -03:00
f6ad33b76a StateWithLifecycle seems to be the wrong option here. 2023-01-25 19:26:48 -03:00
05267c598f
Merge pull request #38 from KotlinGeekDev/rtl-fix
RTL Support
2023-01-25 17:25:27 -05:00
f988d3e488
Merge pull request #37 from KotlinGeekDev/fix-note-navigation
Fix note navigation behaviour.
2023-01-25 17:24:38 -05:00
bd7a4a8372 Concurrent modification exception bugfix 2023-01-25 19:09:18 -03:00
a9788cfa63 Separating Note observers into different types to avoid full screen refreshes. 2023-01-25 18:54:20 -03:00
KotlinGeekDev
74b0dd3b44 Support for RTL in both TextFields and TextViews. 2023-01-25 18:59:52 +01:00
KotlinGeekDev
88ccb63a80 Fix note navigation behaviour. 2023-01-25 17:39:19 +01:00
542bd485d0 Fixes notification autoupdating 2023-01-25 13:29:44 -03:00
4c15420b05 Fixes multiple likes 2023-01-25 13:24:56 -03:00
e4dfb2b974 Fixes https://github.com/vitorpamplona/amethyst/issues/30 2023-01-25 13:01:44 -03:00
71c847b478 v0.10.5 2023-01-25 12:02:13 -03:00
5f1ce602ea Smaller buttons in the Profile and Channel to support narrower screens. 2023-01-25 12:01:47 -03:00
380181fd05 More obvious nsec, npub buttons. 2023-01-25 11:32:09 -03:00
857a31faf0 Blocks double retweets. 2023-01-25 11:00:17 -03:00
12e5ebeb84 Upgrading Cameri's relay 2023-01-25 10:53:18 -03:00
965cdd9304 Fix boosted posts not showing up in the Main Follows feed 2023-01-25 10:46:14 -03:00
e7b6ca1bb2 Fixes likes not showing up in Notifications 2023-01-25 10:40:45 -03:00