Commit Graph

674 Commits

Author SHA1 Message Date
951a4be615 Spam count per relay. 2023-02-24 16:36:02 -05:00
3e7d2a7b68 Removing PlayServices tag to import qrcode model 2023-02-24 16:03:12 -05:00
19854e2295 Using language identification model bundled into the app 2023-02-24 16:02:54 -05:00
21b10977d6 Moving barcode scanning model to ship with the app. 2023-02-24 16:02:22 -05:00
f2ffa4c915 v0.18.0 2023-02-24 13:13:06 -05:00
bc50f08ca2 Zaps, Likes and Replies in Public Chats and Private Messages 2023-02-24 13:12:31 -05:00
236177c6ce Fixes bug when note is not included in the returning set. 2023-02-24 12:08:56 -05:00
b1bdd20255 Makes sure the note is always added in the threadView 2023-02-24 10:08:35 -05:00
de26417391 Fixing https://github.com/vitorpamplona/amethyst/issues/149 2023-02-24 10:08:21 -05:00
2e1b141e38 Showing zap amounts with correct scale. 2023-02-23 21:47:12 -05:00
7acb735151 v0.17.11 2023-02-23 21:40:29 -05:00
4fc4126740 Fixes: https://github.com/vitorpamplona/amethyst/issues/126 2023-02-23 21:39:43 -05:00
04dec3073a Fixes: https://github.com/vitorpamplona/amethyst/issues/151 2023-02-23 21:39:21 -05:00
40f1ef00a4 Saves Preferred language between each language pair 2023-02-23 21:39:07 -05:00
d3504129b4 v0.17.10 2023-02-23 18:51:26 -05:00
3ba6f84a43 Avoids changing the position of the the list when the list updates. 2023-02-23 18:50:48 -05:00
a399aa0ddd New Zap Amount Customization screen 2023-02-23 18:45:26 -05:00
b1a3c2542f Marking the selected post in the thread view 2023-02-23 18:45:00 -05:00
866e31e75b Merge remote-tracking branch 'origin/HEAD' 2023-02-23 17:21:32 -05:00
Oleg Koretsky
37da339683 Set English locale for the app to avoid seeing system-localized strings, like post time ago 2023-02-23 23:45:23 +02:00
Oleg Koretsky
d35dd18072 Strip non-english resources 2023-02-23 23:21:01 +02:00
c12ec88e96 Moves the # of downloaded msgs for channel index to 100 in the hopes that none of the 100 are being filtered by spam. 2023-02-23 14:45:39 -05:00
f455898ac4 Properly removes a note from the database 2023-02-23 14:45:06 -05:00
f11a33f981 Fixes Channel message deletion bug. 2023-02-23 14:44:40 -05:00
34417f5c33 Uses a Name to make the translation layer skip ln addresses 2023-02-23 14:44:20 -05:00
60af6dcd0c v0.17.9 2023-02-22 18:17:01 -05:00
648a1c7ec1 Adding LnZapRequest to the event observer as well. 2023-02-22 18:13:57 -05:00
6da089d864 Increase the amount of public channel messages to 10 in the Chatroom List View (to calculate the last one) 2023-02-22 18:13:38 -05:00
ccd1bdcad0 Calling refresh observers even if there is no observers. 2023-02-22 18:12:46 -05:00
e4b94e2fea Updating all user's relays when new ContactLists arrive 2023-02-22 18:12:21 -05:00
bf3847eeaa Putting Follow and Unfollow Buttons into coroutines. 2023-02-22 18:11:46 -05:00
e4129276a1 Fixing the Relay view in Profile 2023-02-22 18:10:56 -05:00
dbd2f308c2 Removing the check to see if the feed is different before sending it to the UI. 2023-02-22 18:09:03 -05:00
61920ed31a Recording duplicated event IDs to avoid marking as spam just because the same event was downloaded from multiple relays. 2023-02-22 18:08:14 -05:00
8b9b6061b9 The live follows is held at the User not at the Account. 2023-02-22 18:07:01 -05:00
83f785c5c4 This idea of caching the user was causing issues. 2023-02-22 18:03:49 -05:00
639e3a5087 Blocks users from Reporting themselves 2023-02-22 16:17:56 -05:00
bf83f686d7 v0.17.8 2023-02-22 15:23:11 -05:00
bce30ce5de Trying to solve Notifications crash 2023-02-22 15:06:56 -05:00
da949fa9fd Avoids breaking tags and image/previews in translation 2023-02-22 14:36:10 -05:00
da877d5f79
Merge pull request #147 from Radiokot/fix/following_icon_background
Fix slightly broken following icon background on UserPicture
2023-02-22 10:33:50 -05:00
Oleg Koretsky
520923e33a Fix slightly broken following icon background on UserPicture 2023-02-22 17:26:05 +02:00
c5ceec8015 v0.17.7 2023-02-22 10:20:38 -05:00
c0c2c668e3 Updating libraries 2023-02-22 10:19:30 -05:00
6d21653b36 init block is positionally aware.. in some phones... 2023-02-22 09:58:35 -05:00
39e8289375 Renders invalid tags as is. Should stop crashing in notifications. 2023-02-22 09:58:09 -05:00
87975f0ca2 Notifications from now on don't show the authors posts. Fixes: https://github.com/vitorpamplona/amethyst/issues/111 2023-02-21 21:52:16 -05:00
fd70d05768 v0.17.6 2023-02-21 21:30:30 -05:00
85c7d0bb4a BugFix for alternating follow/unfollow when following multiple people in a row 2023-02-21 21:30:17 -05:00
63262a1e35 v0.17.5 2023-02-21 17:03:33 -05:00
987925d837 Reverting to a Class for the Notification View Model 2023-02-21 17:03:26 -05:00
a2f14c3671 Speeding up userprofile, hidden user search and notification filter time 2023-02-21 16:40:27 -05:00
110c074993 Adds a space between user picture and name in quotes 2023-02-21 15:48:57 -05:00
4d56de3335 Observes user and note tags to help loading those from relays. 2023-02-21 15:48:40 -05:00
5ab3ce84d3 Saves Contact List locally to avoid losing follows. 2023-02-21 15:48:23 -05:00
e8b09a9ba3 Refactors Notification Cache updates. 2023-02-21 11:33:28 -05:00
18f25aa4d8 Turns the Zap notification card in to ZapRequest/ZapEvent events. 2023-02-21 11:33:03 -05:00
a34cf117a0 Makes each notification card trigger it's on Notification time update. 2023-02-21 11:32:10 -05:00
4b0d1d32a6 Adding an additional refresher of notification icons based on new notes in the database. 2023-02-21 11:31:35 -05:00
ccf7d78cea v0.17.4 2023-02-21 09:44:17 -05:00
bc2ef6500a Changes the language from Hide to Block to facilitate PlayStore approvals. 2023-02-21 09:43:34 -05:00
92b1744c35 Forces conversion of the ID to make sure it's a valid Hex ID and doesn't crash the app later. 2023-02-21 09:43:14 -05:00
2595d6fa2a Only adds user to Hidden Users after 5 duplicated messages. 2023-02-21 09:42:41 -05:00
8886ad83e0 v0.17.3: Tentative bugfix for crashes in Notification and Search screens 2023-02-20 20:54:48 -05:00
e52d7a7881 Adding some space between the profile picture and the name for quoted notes 2023-02-20 20:51:27 -05:00
d31c11f70d Checking HexKeys across the board.. Too many errors in tags. 2023-02-20 20:49:54 -05:00
a153f577c9 0.17.2: Quote Note Popup And Rendering 2023-02-20 18:10:40 -05:00
9213394731 Rendering Quoted Noted 2023-02-20 18:09:57 -05:00
a24e6391dc Maxing out post size when on Twitter-like interfaces. 2023-02-20 17:36:20 -05:00
dbcd5ed7fe Quote Note support 2023-02-20 17:28:58 -05:00
1f2e120851 Trying to hunt down missing notifications. 2023-02-20 17:27:40 -05:00
88432d4ab6 Notification Note background is now clickable. 2023-02-20 16:39:02 -05:00
7e2b8397e7
Merge pull request #142 from terryschmidt/leak_canary
add leak canary to detect memory leaks in debug builds
2023-02-20 15:19:20 -05:00
8b70a11754 Merge remote-tracking branch 'origin/main' 2023-02-20 15:17:50 -05:00
f36906f6c0
Merge pull request #140 from terryschmidt/fix_app_name_error
fix redundant android:label in AndroidManifest.xml
2023-02-20 15:17:11 -05:00
19cc0d1ce8 Shows comma in some keyboards 2023-02-20 14:58:05 -05:00
1f953cb728 Fixes changing editing amounts on recompose. 2023-02-20 14:57:53 -05:00
70c20fbb6d Resets mentions to avoid marking users in new posts from an old reply. 2023-02-20 14:41:50 -05:00
8db743c1e3 Fixes the "Show Anyway" button not working in the first element of the Thread view 2023-02-20 14:41:32 -05:00
51061250e2 0v.17.1 2023-02-20 13:33:15 -05:00
ddd35c5119 Custom Zap Amounts. 2023-02-20 13:23:44 -05:00
dcc84f4572 Sets Search to SingleLine only 2023-02-20 13:23:24 -05:00
0236837856 Displays lnurl setups as lightning addresses in the Profile page. 2023-02-20 12:09:25 -05:00
892214ec27 Pays zaps through LNURLs / lud06 fields 2023-02-20 12:09:00 -05:00
Terry Schmidt
dd404efc7d fix redundant android:label warning 2023-02-20 11:44:56 -05:00
Terry Schmidt
2bd3792b8f add leak canary to detect memory leaks in debug builds 2023-02-20 01:34:01 -05:00
2eae1ad434 v0.17.0 2023-02-19 16:40:46 -05:00
03dd09e957 Adds a second list of filtered Users that were automatically added and are not saved with the person's key 2023-02-19 16:38:59 -05:00
f34668b90d Moves processing of new events from IO to Default 2023-02-19 15:38:08 -05:00
504f9cf978 Removes subscriptions from the list once closed. 2023-02-19 15:37:44 -05:00
182ac5de07 Changes the follower calculation to only store when important to the user. 2023-02-19 15:37:26 -05:00
6063bd789d Adds anti-spam filters 2023-02-19 15:36:43 -05:00
c610d130f8 Pruning Messages from Hidden Users. 2023-02-19 15:36:00 -05:00
23a5e9e66b Memory Pruning: Only keeping 1000 messages per channel 2023-02-19 12:40:19 -05:00
d57fca3549 Splits profile between new threads and replies 2023-02-19 11:34:45 -05:00
8bc5aab880 Uses 1/3 of the memory per not-fully loaded user/note
BugFix for invalid Hexes in mentions, contact lists, etc.
2023-02-19 11:22:01 -05:00
71dad0c69e Fixes missing elements in the previous commit 2023-02-18 19:20:39 -05:00
b8cb6295f4 Goes back to considering the full list of results when assessing changes to the visible items. 2023-02-18 19:15:24 -05:00
666972fd62 Displays the amount and list of reports in the Profile page. 2023-02-18 19:14:52 -05:00
0914a7b68c Adds a lastReportedTime field (to be used with Since in the websocket filter) for Users with too many reports. 2023-02-18 19:14:27 -05:00
de2ec503da Keeps Note level in a thread cached for ordering notes. 2023-02-18 19:13:43 -05:00
53a14d3a77 Optimizes the UserProfile datasource to remove the filter when the user leaves the profile screen. 2023-02-18 19:12:21 -05:00
dfe95c28ea Displays debug information on how many notes and users where fully loaded to the phone as a % of total references (pubkeys, ids) stored 2023-02-18 19:11:10 -05:00
bf9f4202d4 Display follows in the reverse order (latest follows first) 2023-02-18 19:10:31 -05:00
54cdb5ae68 Removes Cited Posts from the replies (Fixes Quoted Notes) 2023-02-18 19:09:49 -05:00
6ff474376f Stops User Profile Websocket when pausing the app. 2023-02-18 19:09:16 -05:00
138b22348c Makes sure Websocket dispatchers are using IO threads 2023-02-18 19:08:52 -05:00
2ac5174b78 Fixes more places where Android's coroutine cancellations might affect a mutex. 2023-02-18 19:07:58 -05:00
89f714b1ad Refactors thread assembler to reduce number of lists used. 2023-02-18 19:07:16 -05:00
d2c39b022b Closes subscriptions regardless with they are active or not. 2023-02-18 19:06:39 -05:00
ccd6beee8e Reduces the amount of Reports downloaded when observing single users. 2023-02-18 19:06:05 -05:00
b7c72a282f Allows Reported messages to appear (with warning) in notifications. 2023-02-18 19:05:33 -05:00
0d1bf72708 Fixes Notification for messaging with yourself. 2023-02-18 19:04:56 -05:00
34bdc2b103 Fixes Mutex when Android cancels coroutines. 2023-02-18 19:04:03 -05:00
cc8866d240 Fixing Debug messages. 2023-02-18 19:02:47 -05:00
b60d7ff857 Trimming User Metadata fields to avoid crashes when using them 2023-02-18 14:05:46 -05:00
4f53a74004 Massive Refactoring:
1. Split between Relay Filters and Screen Filters.
2. Moving Notification dots to background threads.
3. Loading new posts on ThreadView on the fly.
2023-02-18 13:06:53 -05:00
f0e09197ff Avoids starting connections with default relays when resuming the app. 2023-02-17 12:27:36 -05:00
4afcf48392 v0.16.2 2023-02-16 19:43:33 -05:00
943d4525be Removing favicons from proxy 2023-02-16 19:41:50 -05:00
de302eb966 Improving error count for relays to also include wrong URLs 2023-02-16 19:41:31 -05:00
85adc722ae v0.16.1 2023-02-16 19:04:26 -05:00
c8c48cca32 BugFix: User's relays not coming back after a pause of the app if they have not setup relays through the app yet. 2023-02-16 19:03:11 -05:00
3f68b42acd Moving Async Image Proxy to components. 2023-02-16 18:25:55 -05:00
da5c61038d Fixes https://github.com/vitorpamplona/amethyst/issues/129 2023-02-16 08:17:41 -05:00
e8949f08ae Asks reports when each user/event is seen instead. 2023-02-15 17:20:39 -05:00
068b5faf7d Remove logs 2023-02-15 17:19:55 -05:00
7dd01ae5e4 v0.16.0 2023-02-15 12:31:28 -05:00
3493802a1e Activating Image Proxy + CDN 2023-02-15 12:31:15 -05:00
9ec9feda28 v0.15.9 2023-02-14 20:34:27 -05:00
0277fa7364 Fixing the delay in updating the Note tab on the Profile View 2023-02-14 20:33:32 -05:00
af96f142cd Activating Event's check signature 2023-02-14 20:32:35 -05:00
f80ba653b2 v0.15.8 2023-02-14 19:23:33 -05:00
5947d03cb3 Follower Count bug 2023-02-14 19:22:37 -05:00
694cfdf322 v0.15.7 2023-02-14 18:21:57 -05:00
10efe5d17d Makes chat bubbles back to their contentWrap state 2023-02-14 18:15:33 -05:00
d964f93e67 Adds helper classes to avoid recreating master lists. 2023-02-14 17:44:03 -05:00
4996c5a9d8 Only adds a report if it doesn't already exist in the database 2023-02-14 17:43:19 -05:00
c0fe13d79c Only wait 5 seconds to update lists if contents are already been displayed. 2023-02-14 17:42:35 -05:00
c56d3af0fc v0.10.6 2023-02-14 16:13:11 -05:00
a050236d6a Increasing Delays to update lists to 5 seconds while making sure it refreshes quickly when the user switches the tab. 2023-02-14 16:02:38 -05:00
90bdeffc52 v0.15.5 Performance Improvements. 2023-02-14 14:26:28 -05:00
e3ed676624 Avoids using remember for Fixed avatars. 2023-02-14 14:25:26 -05:00
5e5ea32be1 Better fixed avatar handling. 2023-02-14 14:25:01 -05:00
1306270887 Update lists once every second, not 100ms 2023-02-14 14:24:50 -05:00
fbff78208e Making sure screens are refreshed from the start 2023-02-14 14:24:14 -05:00
8468212440 v0.15.4 2023-02-14 13:35:55 -05:00
7f5a173259 Adding more information to the debug info 2023-02-14 13:34:59 -05:00
1b8d83f41a Increasing Image disk cache size to 1GB 2023-02-14 13:34:45 -05:00
e381e2f05f Adjusting Post Lists to 1000 and simplifying comparisons to know when the list has changed. 2023-02-14 12:08:35 -05:00
6a05039bde Fixing Zap counter in the Profile Page. 2023-02-14 11:48:17 -05:00
76737e6b74 Adding Zaps to the profile 2023-02-14 11:37:41 -05:00
c3aa37534e Removing the Duplicated Observer infrastructure on User: It wasn't updating observers correctly due to the batch update we use. 2023-02-14 11:01:08 -05:00
8e897762dd Getting Relay icons from non SSL-secured relays 2023-02-14 10:58:42 -05:00
790cbb35db Moving Database updates to an invalidate UI call that only runs at every 100 ms. 2023-02-14 09:29:24 -05:00
743c23f3c8 Moving Incoming Payload processing to the Global Thread to release Web Threads faster. 2023-02-14 09:17:12 -05:00
25b470cde6 Removing border colors. 2023-02-13 18:10:13 -05:00
05d71fd27e Better positioning of the User Search (always at the bottom, independent of screen size) 2023-02-13 18:08:38 -05:00
f5e61b9409 v0.15.3 2023-02-13 17:12:57 -05:00
620bd4d5a8 This might work best between smaller images and bigger images 2023-02-13 17:12:19 -05:00
3f671350ce Adjusting the New Post screen to show Search and Images (cropped if necessary) together with the keyboard and the text. 2023-02-13 16:48:42 -05:00
b89a8e5f8f v0.15.2 2023-02-13 16:14:17 -05:00
a01a282e2e Adjusting New Post screen's keyboard cutting off in long posts 2023-02-13 16:13:47 -05:00
2ed0ca5fdb Removing DataSource stops in ViewModels to make sure this is handled by the Screen class 2023-02-13 15:50:50 -05:00
49366ac47d Speeding up report queries 2023-02-13 15:49:51 -05:00
2ac4ed8ac4
Merge pull request #118 from Radiokot/fix/gif_image_upload
Fix GIF image upload #115
2023-02-13 09:40:46 -05:00
Oleg Koretsky
bb76bbd313 Show running image uploading. Show error message if the uploading is failed 2023-02-13 16:24:49 +02:00
2c5ba69657 v0.15.1 2023-02-13 08:54:23 -05:00
a618e84d32 Image seems to better support Bitmap models than Async Image 2023-02-13 08:45:32 -05:00
Oleg Koretsky
108ad4dadc Do not encode images to JPEG before uploading. Fixes GIF upload #115 2023-02-13 11:57:26 +02:00
80bede648f Moving the ThreadView to the same Model as Global: Only active when using this view. 2023-02-12 21:53:22 -05:00
e5ee367761 Doesn't start the Global to make sure home updates faster. 2023-02-12 21:48:07 -05:00
4e53a9fda0 Removes unnecessary println 2023-02-12 21:47:53 -05:00
caa170f78e Forces profile screen and search screen to only be active when in such views. 2023-02-12 21:47:38 -05:00
a857b587a1 Forces the use of a single RoboHash for performance 2023-02-12 21:47:02 -05:00
420bacea3d Forcing the Account Datasource to only download notifications (Removing new followers, for instance) 2023-02-12 21:46:40 -05:00
b2da651fd1 Clears filters when DataSource closes 2023-02-12 21:44:18 -05:00
04d94b4dbf Removes Raw ZapNotes from Notifications 2023-02-12 21:43:19 -05:00
64f2575228 Lightning Zaps. 2023-02-12 18:23:02 -05:00
8a65f3fbe7 Moving channels to the local version of RoboHash 2023-02-10 17:29:10 -05:00
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