Commit Graph

493 Commits

Author SHA1 Message Date
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