Commit Graph

868 Commits

Author SHA1 Message Date
Chemaclass
2d92e1d444 Add Linder to build CI 2023-03-07 19:45:50 +01:00
Chemaclass
691b822503 Install ktlint plugin 2023-03-07 18:58:13 +01:00
5add9669f2
Merge pull request #208 from maxmoney21m/bugfix/204-fingerprint-crash-android9
Biometric support down to app's minimum SDK level 26, fixes #204
2023-03-06 13:10:31 -05:00
Chemaclass
f22a1ddf47 Use event.id() 2023-03-06 18:43:23 +01:00
9fb8bae349
Merge pull request #205 from Chemaclass/refactor-UserProfileZapsFeedFilter
Refactor UserProfileZapsFeedFilter
2023-03-06 12:33:48 -05:00
Oleg Koretsky
b8bc076240 Shorten 'post' ru and uk translation 2023-03-06 18:10:51 +02:00
Oleg Koretsky
2a82b9e6ca Fix word wrapping in terms checkbox on the login screen 2023-03-06 18:09:41 +02:00
BackTo2009
95905e6c95
Update strings.xml 2023-03-06 13:19:21 +01:00
BackTo2009
d0bcb4f4c2
<string name="about_us">"à propos"</string>Update app/src/main/res/values-fr/strings.xml
Co-authored-by: Jose Maria Valera Reales <chemaclass@outlook.es>
2023-03-06 12:42:05 +01:00
BackTo2009
829121eb6a
Update strings.xml
v0.24.0 translations tuned
2023-03-06 11:28:32 +01:00
maxmoney21m
1b0453cbc4 Biometric support down to app min SDK (level 26), fixes #204 2023-03-06 14:15:50 +08:00
43e8106aa9 0.24.0 2023-03-05 18:34:52 -05:00
e86ae4ac41 Read only support for Badges. 2023-03-05 18:34:11 -05:00
Chemaclass
1424267628 Rename UserZaps.forProfileFeed() 2023-03-05 23:56:11 +01:00
Chemaclass
6aa7c229b0 create failing test aggregate_zap_amount_group_by_user 2023-03-05 23:30:24 +01:00
Chemaclass
53e520ee8a Add test avoid duplicates with same zap request 2023-03-05 23:28:39 +01:00
Chemaclass
f18ea8cf76 Create LnZapEventInterface 2023-03-05 23:00:19 +01:00
Chemaclass
b8937594bc Create EventInterface 2023-03-05 22:42:19 +01:00
12570d3e26 Fixing for https://github.com/vitorpamplona/amethyst/pull/201#pullrequestreview-1325255540 2023-03-05 13:02:26 -05:00
8fe2c895de
Merge pull request #202 from maxmoney21m/feature/134-full-size-pfp
Allow tapping on PFP and banner to open zoom dialog
2023-03-05 12:57:08 -05:00
f251d56b1a Merge remote-tracking branch 'origin/HEAD' 2023-03-05 12:43:57 -05:00
maxmoney21m
e5518e23a8 Small code cleanups 2023-03-06 01:33:16 +08:00
maxmoney21m
d6f3e9540f Allow zooming on profile picture and banner #134 2023-03-06 01:32:53 +08:00
maxmoney21m
79e7bb2931 Extract ZoomableImageDialog for reuse 2023-03-06 01:39:42 +08:00
Chemaclass
429f54848a Refactor ui/dal Filters
Focus on normalising the code-style to simplify the readability
2023-03-05 18:08:49 +01:00
4085285f90 Fixes showing the R.string.first id instead of text. 2023-03-05 09:06:54 -05:00
b3d219b2de reverting order in the search screen. 2023-03-04 22:49:49 -05:00
797eda2ae2 v0.23.1 2023-03-04 20:56:41 -05:00
2478fdbcce Fixes crash in Image upload 2023-03-04 20:55:52 -05:00
d7cf198134 v0.23.0 2023-03-04 19:12:48 -05:00
681e3eb44e Support for NIP-50: Search 2023-03-04 19:11:49 -05:00
5cc851ecc8 Adds some spacing in the private key export screen. 2023-03-04 17:38:04 -05:00
2a0426b845 Adds notes to decide between Gson and Jackson in the future. 2023-03-04 17:37:38 -05:00
567cf83b92 Centralized Mark All as Read button 2023-03-04 17:31:46 -05:00
c7debb272d
Merge pull request #177 from maxmoney21m/feature/172-mark-all-read
Fix #172, add "Mark all as read" feature for DMs and chat rooms
2023-03-04 17:12:53 -05:00
cf7464b5b6
Merge pull request #191 from maxmoney21m/feature/biometric-backup-nsec
Require biometric with device lock fallback to copy nsec
2023-03-04 17:11:35 -05:00
9cb3406d7d
Merge pull request #195 from Radiokot/feature/login_autofill
Add autofill support to the login screen
2023-03-04 17:10:37 -05:00
3613fce68d
Merge pull request #194 from maxmoney21m/bugfix/157-nip05-profile-underscore
Bugfix/157 nip05 profile underscore
2023-03-04 17:10:21 -05:00
1b62574eca
Merge pull request #193 from bkBrunobk/patch-1
French translation for Amethyst ;)
2023-03-04 17:09:47 -05:00
fbd5a3296c
Merge pull request #192 from maxmoney21m/bugfix/global-bottom-icon
Change magnifying glass to globe for global/search tab on AppBottomBar
2023-03-04 17:09:31 -05:00
c5e61400b7
Merge pull request #189 from Chemaclass/refactor-lowercase
Use lowercase() instead of toLowerCase() [deprecated]
2023-03-04 17:09:02 -05:00
42dd900491 BugFix: Unverifiable Events with Unicode 2028 and 2029 characters. 2023-03-04 17:03:43 -05:00
Oleg Koretsky
295f1f53cd Add autofill support to the login screen 2023-03-04 21:36:00 +02:00
maxmoney21m
0b2b2d58ab Reindent with 4 spaces 2023-03-05 01:56:42 +08:00
maxmoney21m
c1637de63a Remove leading underscore from profile page #157 2023-03-05 01:55:59 +08:00
BackTo2009
566b44f4ef
French translation for Amethyst ;) 2023-03-04 18:42:16 +01:00
maxmoney21m
6275051857 Change magnifying glass to globe #183 2023-03-05 01:30:55 +08:00
58e0aa5f8f Fixing relative paths on OG:IMAGE tags to correctly see a preview card 2023-03-04 10:49:36 -05:00
maxmoney21m
d6b5af6d77 Require biometric with device lock fallback to copy nsec 2023-03-04 22:26:06 +08:00
9432135847 Moving spam checks to be after the check if already processed events. 2023-03-04 08:23:12 -05:00
e7be1cc8e7 Speeding up findCitations algorithm 2023-03-04 08:04:14 -05:00
c0bdb40c7d Faster way to count reports. 2023-03-04 07:12:42 -05:00
Chemaclass
bb59f68253 Use lowercase() instead of toLowerCase() [deprecated] 2023-03-04 11:27:27 +01:00
maxmoney21m
8961675a3e Fix string resource use from earlier PR (already merged) 2023-03-04 15:18:07 +08:00
maxmoney21m
3dd5d5c4b2 Add LaunchedEffect key to fix pre-existing bug 2023-03-04 15:03:46 +08:00
maxmoney21m
bd8e9da966 Swap LaunchedEffect key for clarity 2023-03-04 15:03:11 +08:00
maxmoney21m
6067a7d890 Use new channel() method 2023-03-04 14:33:09 +08:00
maxmoney21m
42a27a6d8d
Merge branch 'main' into feature/172-mark-all-read 2023-03-04 14:17:31 +08:00
308a79a305 0.22.3 2023-03-03 19:43:44 -05:00
5e5c393472 Bringing back the idea of checking for change before updating the screen. The check happens between 500us and 1ms and the screen update generally in 10-100ms 2023-03-03 19:40:26 -05:00
ea905ef6ed Removes the element that was forcing everything to be right aligned 2023-03-03 18:14:51 -05:00
5f98a54452 Reverting change to activate RTL given some characters, it was picking up some english chars 2023-03-03 18:11:50 -05:00
8627fd4b4c Delete Origin Header (snort doesn't need it anymore) 2023-03-03 18:08:09 -05:00
7863961aba
Merge branch 'main' into main 2023-03-03 18:06:40 -05:00
a84be7fc61
Merge pull request #187 from Chemaclass/refactor-Nip19
Refactor Nip19
2023-03-03 18:03:58 -05:00
Chemaclass
657f99a65a Remove non-used imports in Nip19 2023-03-03 23:40:09 +01:00
Chemaclass
91591abd14 Extract method refactoring in Nip19::uriToRoute() 2023-03-03 23:36:16 +01:00
Chemaclass
fd58da2a93 Remove 1 indentation level from uriToRoute() 2023-03-03 23:26:35 +01:00
Chemaclass
b35a59372c Prepare move unit tests for uri_to_route behaviour 2023-03-03 23:23:42 +01:00
Chemaclass
c1113f9df9 Add test uri_to_route_npub 2023-03-03 23:19:05 +01:00
Chemaclass
bd3d7e1aa3 Prepare test parse_TLV 2023-03-03 22:58:24 +01:00
Chemaclass
47f3fe5cc6 refactor Nip19Test introduce byteArrayOfInts() 2023-03-03 22:46:15 +01:00
Chemaclass
b6e16ad470 Create Nip19Test testing toInt32() 2023-03-03 22:40:46 +01:00
b469915905 v0.22.2 2023-03-03 16:12:11 -05:00
d3b557b778
Merge pull request #182 from maxmoney21m/feature/backup-keys
Move nsec backup to drawer and organize drawer
2023-03-03 16:08:42 -05:00
1154f35c77
Merge pull request #185 from Chemaclass/fix-typos-es
Fix some typos in ES translations
2023-03-03 16:06:10 -05:00
5ae552117d Migrates Events to the App's source code as opposed to NostrPostr:
- Changes them to remove all secondary fields and turn them into functions
- Changes them to from being based in ByteArrays to String (since we use Hex everywhere and strings are immutable, we avoid duplicating memory with ByteArrays)
2023-03-03 16:00:47 -05:00
Rashed
fe80b509e3 temporary solution for mirroring arabic text 2023-03-03 23:44:39 +03:00
Chemaclass
f3bc190b0b Use boost=impulsar 2023-03-03 21:42:40 +01:00
Chemaclass
3674f6b354 Fix some typos in ES translations 2023-03-03 21:25:16 +01:00
maxmoney21m
3e32a91e34 Move nsec backup to Drawer and Dialog, organize Drawer 2023-03-04 03:02:04 +08:00
Chemaclass
10d6011009 Fix typos suggested by JesusValera 2023-03-03 19:30:50 +01:00
Chemaclass
62d22bf4ca Add string translations for ES 2023-03-03 19:04:10 +01:00
d05d0f0829 Fixing test cases 2023-03-03 12:00:27 -05:00
0aaf1f9f34 v0.22.1 2023-03-03 11:55:25 -05:00
756d9b17f7 Merge remote-tracking branch 'origin/HEAD' 2023-03-03 11:36:08 -05:00
f4d5785710 Support for Replaceable Events (NIP-33) 2023-03-03 11:35:29 -05:00
maxmoney21m
75901d83a8 reindent LocalPreferences with 4 spaces 2023-03-03 21:17:27 +08:00
maxmoney21m
f34dea868d extract LocalPreferences preference keys 2023-03-03 21:17:04 +08:00
maxmoney21m
e07400409f set clearEncryptedStorage to remove all keys including lastRead timestamps 2023-03-03 21:12:15 +08:00
Rashed
8e858996fe hide follow button when the user already followed 2023-03-03 10:13:15 +03:00
Rashed
f1711719f4 add follow directly from a note feature 2023-03-03 09:53:56 +03:00
maxmoney21m
8d7897601b Add buttons to mark DMs and chatrooms as read #172 2023-03-03 12:35:05 +08:00
83f46f1a66
Merge pull request #176 from Radiokot/feature/uk_ru_translation
Add Russian and Ukrainian languages
2023-03-02 17:11:45 -05:00
Oleg Koretsky
88ceb436ac Fix typos 2023-03-02 23:30:37 +02:00
Oleg Koretsky
3cd37b8658 Add Ukrainian (uk) translation 2023-03-02 23:28:31 +02:00
04e099a212 Merge remote-tracking branch 'origin/HEAD' 2023-03-02 16:14:17 -05:00
c0bcb638c0 Bringing TextNoteEvent from NostrPostr to Amethyst's codebase and Restructuring Addressable Notes. 2023-03-02 16:14:06 -05:00
Oleg Koretsky
0369b45385 Add Russian (ru) translation 2023-03-02 20:41:22 +02:00
bab314ebc9 Fixing Preview Error when the url is invalid 2023-03-02 13:38:05 -05:00
Mário Nunes
4f9b1ab72c
Corrected translation!
Changed from Mostar  to Mostrar
2023-03-02 14:40:44 -03:00
65d4d59e77 Trying move the cursor to the first item when the list updates immediately after being first drawn 2023-03-02 09:35:43 -05:00
b95c013714 Restructuring the invalidateFeed events to happen quicker when users click the navigation row or when the app comes back from sleep. 2023-03-02 09:34:42 -05:00
10ce5a984e Simplifying logs 2023-03-02 09:33:19 -05:00
3521497cf8 Activating the loading of long text form across the app 2023-03-02 08:51:59 -05:00
0da542fede 0.22.0 2023-03-01 19:18:30 -05:00
d883cc32f5 Early support for Markdown and Long Form Text 2023-03-01 19:18:07 -05:00
64debb79fc
Merge pull request #171 from Gnivom/login_safe_nsec_entry
Use KeyboardType.Password for login text field
2023-03-01 16:36:55 -05:00
4ee6759957
Merge pull request #170 from rashedswen/patch-2
Update strings.xml
2023-03-01 16:36:16 -05:00
723db61e8d v0.21.2 2023-03-01 16:30:35 -05:00
cb39281268 Adjustments to strings 2023-03-01 16:27:20 -05:00
baa1b3f69f Using accountViewModel as a better way to request refreshes. 2023-03-01 16:22:22 -05:00
Gnivom
c7bf4240dd Use KeyboardType.Password for login text field 2023-03-01 22:21:19 +01:00
fb7edd1797 Hides hidden users from main feeds. 2023-03-01 16:15:49 -05:00
Rashed
4448e38100
Update strings.xml 2023-03-02 00:13:38 +03:00
716ebd01df Decreasing the speed of the updates of the feed. 2023-03-01 16:07:10 -05:00
58521b27de Fix for a String.format crashing the original library by using the Locale's default number format. 2023-03-01 15:48:18 -05:00
f4db64fe7f 0.20.1 2023-03-01 14:00:39 -05:00
d704352f1f Notifications now require the Notified to be the author of the post the notification is mentioning. 2023-03-01 14:00:03 -05:00
511cc86025 v0.21.0 2023-03-01 13:32:45 -05:00
57fc149051 Merge remote-tracking branch 'origin/HEAD' 2023-03-01 13:30:14 -05:00
55cc780c08 Adding the ability to click and hold to copy the image url on profile. 2023-03-01 13:29:58 -05:00
greenart7c3
b77e1cf960 Translated to brazilian portuguese 2023-03-01 14:47:41 -03:00
c6eb5a7282 Fixes image resizes to 200x200 pixels to help with caching capabilities. 2023-03-01 11:58:37 -05:00
bf48428fe3 Adds an Origin tag to be able to connect with Snort's relay. 2023-03-01 11:57:20 -05:00
f4b366c4bd Fixing merge issue on reported Types 2023-03-01 10:07:59 -05:00
51ce424352 Disables the forced Locale to English due to i18n for Arabic 2023-03-01 10:04:08 -05:00
01b8b2a5fa Merge remote-tracking branch 'origin/HEAD'
# Conflicts:
#	app/src/main/java/com/vitorpamplona/amethyst/ui/components/UrlPreview.kt
2023-03-01 10:02:41 -05:00
459e503c8a Avoids flickering the screen when the update from Loading to Loaded happens on cached objects. 2023-03-01 09:34:14 -05:00
Rashed
b7b7f4df39
Merge branch 'main' into main 2023-03-01 09:16:59 +02:00
Rashed
855b2ff5b1 resolve conflicts 2023-03-01 10:10:27 +03:00
Rashed
67e6349877 resolve conflicts but new issue found when changing the language 2023-03-01 07:54:27 +03:00
Rashed
5eb3b2062c Update strings.xml 2023-03-01 07:50:01 +03:00
Rashed
c649d0820c Update strings.xml
update just wrong translate
2023-03-01 07:50:01 +03:00
Rashed
e6afa7fb9a extract most strings to strings.xml and add arabic language to strings.xml file 2023-03-01 07:50:01 +03:00
e0596dc3b9 New Version for PlayStore 2023-02-28 21:24:40 -05:00
381db713ab 0.20.4 2023-02-28 20:13:36 -05:00
b6f5cc9ae5 Activating the Atomic Boolean instead of Synchronized sections 2023-02-28 20:10:52 -05:00
df43e730ca Migrating the NostrDataSource to Atomic Boolean 2023-02-28 19:52:16 -05:00
95423bdd94 No need for account in search 2023-02-28 19:50:45 -05:00
a18479e721 Reducing the need to start/stop home and chatroom lists to see if performance increases 2023-02-28 18:24:28 -05:00
f68f32f6e5 Decrypting notes since Notifications can also show Private Message Likes 2023-02-28 16:51:35 -05:00
ddc1e9fd69 Reverts to show all replies in Notifications. 2023-02-28 15:35:41 -05:00
3f99b602a7 Fixing spacing of the multicard notification 2023-02-28 15:27:28 -05:00
b09577f816 Updating reports to the latest spec 2023-02-28 15:24:23 -05:00
77fbb6f4f6 v0.20.3 2023-02-27 21:13:46 -05:00
b570d80ac4 adding a delay to the search screen update on start up 2023-02-27 21:04:51 -05:00
a7e17c810d Merging all notification reactions in one card. 2023-02-27 21:04:29 -05:00
256de32b7c Shorter Blank and Hidden notes. 2023-02-27 19:17:09 -05:00
554edb8bb9 v0.20.1 2023-02-27 17:18:54 -05:00
bb3d8e0041 Filtering Notifications to the events that cite the user directly. 2023-02-27 17:14:37 -05:00
254ed99625 Unpacking replies in Quotes. 2023-02-27 17:14:15 -05:00
4c916c7957 Marks as read regardless of note.event status. 2023-02-27 15:19:24 -05:00
7e3cfcdcaf ThreadView avoids double loading. 2023-02-27 15:06:20 -05:00
528efacf38 Clearly marks the clicked item on ThreadView 2023-02-27 15:06:03 -05:00
5dac1899fe Allows users to delete usernames 2023-02-27 14:11:54 -05:00
6bff898fe4 Moves lnurl and nip05 to the services package. 2023-02-27 13:57:43 -05:00
f065777df2 Only shows translations if the result is different than the origin 2023-02-27 13:54:17 -05:00
36d865510c adds nip05 to Chatroom headers. 2023-02-27 13:48:26 -05:00
6558627eef Adding time of the boost and menu options for the boosted event. 2023-02-27 13:41:23 -05:00
f518969875 Moves Preview and NIP05 verification to IO Threads 2023-02-27 13:39:55 -05:00
1a7ecca89a Simple String Refactoring 2023-02-27 13:39:16 -05:00
26da2f514e v0.20.1 2023-02-27 11:30:11 -05:00
4c0651a6db Organize imports 2023-02-27 11:28:54 -05:00
59fce55822 Extracting NIP05 Composites in its own file 2023-02-27 11:24:21 -05:00
c88425e737 changing package names 2023-02-27 10:52:39 -05:00
d0dc44f3bd 1. Removing _ from the display
2. Checks if NIP 05 is an email before starting to verify to avoid crashes.
3. Allowing ellipsis to avoid breaking the nip05 into multiple lines.
2023-02-27 10:51:50 -05:00
25cb084a95 Adds NIP05 to the main note in a thread 2023-02-27 10:47:29 -05:00
0b2d9d6d18 BugFix for invalid nip05 domain names crashing the app. 2023-02-27 10:46:51 -05:00
145428c8ad v0.20.0 2023-02-26 19:22:33 -05:00
0cebb53791 Nip05 Support 2023-02-26 19:22:22 -05:00
8e6a4921a6 v0.19.1 2023-02-26 16:56:55 -05:00
b806e71396 Crops replies to 3, follows first. 2023-02-26 16:56:12 -05:00
08f17bca27 Hides bottom navigation when keyboard is visible 2023-02-26 16:55:08 -05:00
dc763088f3 v0.19.0 2023-02-26 12:03:30 -05:00
c087c5017c NIP-09 Event Deletion support: Works with TextNotes, Likes, Boosts and Reports. 2023-02-26 12:02:07 -05:00
2eff0626ec v0.18.3 2023-02-25 19:49:31 -05:00
afc43ccd28 Animating chat reply appearance. 2023-02-25 19:39:03 -05:00
81f9edf00c Making Toast work to display error messages when Zaps fail. 2023-02-25 19:33:04 -05:00
bdf2896df9 v0.18.2 2023-02-25 18:16:22 -05:00
8a2a1887f2 Improvements to ShowMore gradient and size of bubbles in chat. 2023-02-25 18:00:18 -05:00
26c8808a6b Updating dependencies 2023-02-25 16:18:31 -05:00
3db1017088 Fixes Ugly Tab Background color in the light theme 2023-02-25 16:15:36 -05:00
9178135127 Removes the block on Multiple Zaps in a single post (copy paste from the like button, that has a block to avoid multiple likes) 2023-02-25 16:11:03 -05:00
08b0d8032b Fixes liveSet to delete. | Solves the outofsync error chat has been reporting. 2023-02-25 15:28:42 -05:00
a8e9189fce Synchronizes Client.connect to avoid random number in relay status 2023-02-25 15:28:07 -05:00
efbaa0f434 Fixes the URL detector for 2 special characters in Chinese "," and "。" 2023-02-25 15:27:33 -05:00
0b4d11d5e6 Reverts fixing the English language to avoid issues with translation (now it only translates to english, instead of the local language) and also prepare for i18n work for other languages. 2023-02-25 15:26:53 -05:00
661cbab4ee v0.18.1 2023-02-24 17:39:58 -05:00
ba21ae47ae correctly deletes a slave note 2023-02-24 17:39:34 -05:00
5e066e2485 Updates observers when deleting notes 2023-02-24 17:39:14 -05:00
3ebcfa111c Improved timing log 2023-02-24 17:24:16 -05:00
c4046c0a88 Home doesn't need isAcceptable filter since all posts are coming from follows. Much faster. 2023-02-24 17:24:09 -05:00
3cdc77a277 BugFix Loading one thread after another crashed the app 2023-02-24 17:23:17 -05:00
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