Commit graph

352 commits

Author SHA1 Message Date
silverpill
d74cb71438 Fix list rendering on "about" page 2022-09-19 15:58:01 +00:00
silverpill
66b1d4f799 Use same path for public and internal "about" pages 2022-09-19 15:57:56 +00:00
silverpill
b32d8d7538 Add QR code to payment page 2022-09-18 20:33:27 +00:00
silverpill
cf7c73c527 Preserve payment info if subscription page is reloaded 2022-09-18 18:14:54 +00:00
silverpill
b65ad1057c Refactor monero subscription component
Using computed properties and atomic units.
2022-09-18 18:12:13 +00:00
silverpill
c290fc1369 Redirect user to local tag timeline when he clicks on a hashtag 2022-09-16 21:45:24 +00:00
silverpill
a45a3ad3a9 Use calc() to perform division of SASS variables
/ is changing from a division operation to a list separator.
2022-09-16 21:45:24 +00:00
silverpill
36d3c5849c Add application-name meta header 2022-09-16 21:45:24 +00:00
silverpill
c91b8380a4 Show "Profile not found" text if profile does not exist 2022-09-16 21:45:23 +00:00
silverpill
58419379f0 Allow user to change subscription settings 2022-09-16 21:45:11 +00:00
silverpill
9e1765505e Add subscribers tab to profile page 2022-09-15 17:58:33 +00:00
silverpill
46613f8854 Switch between profile tabs without reloading page 2022-09-15 17:58:33 +00:00
silverpill
eae27e65f2 Add annotation for subscription page link 2022-09-15 17:58:29 +00:00
silverpill
3dfbe4813e Add link to subscriptions settings page to sidebar 2022-09-13 17:49:59 +00:00
silverpill
8799e30b9a Show subscriber count at profile page 2022-09-13 17:39:22 +00:00
silverpill
349e500494 Add loader to home timeline 2022-09-11 22:51:56 +00:00
silverpill
d84ff0256b Hide "Link ethereum address" from profile menu if wallet is disabled 2022-09-10 18:42:15 +00:00
silverpill
17e52b7b85 Show "Link" button on subscription settings page if ethereum address is not verified 2022-09-10 00:00:31 +00:00
silverpill
48336803fb Don't require ethereum address verification if instance connected to Monero blockchain 2022-09-09 10:37:42 +00:00
silverpill
8f24d65a0f Add payment page link to subscription settings page 2022-09-08 20:59:29 +00:00
silverpill
65cc9c706f Disable subscription payment form when sender is same as recipient 2022-09-08 18:59:12 +00:00
silverpill
2ebd2bad62 Improve profile search accuracy on subscription page 2022-09-08 18:34:46 +00:00
silverpill
376cd9e264 Fix error in getSubscriptionPageLocation function 2022-09-08 16:45:07 +00:00
silverpill
e6b0d51dfe Switch to /api/v1/subscriptions/options method 2022-09-08 10:08:00 +00:00
silverpill
86945aa057 Create payment page for Monero subscriptions 2022-09-07 19:45:08 +00:00
silverpill
ee142eefa9 Rename Subscription component to SubscriptionEthereum 2022-09-06 23:06:33 +00:00
silverpill
6c05372f24 Use payment options to determine subscription page location 2022-09-06 19:18:05 +00:00
silverpill
9840bb327b Rename utils/format module to utils/dates 2022-09-06 12:33:06 +00:00
silverpill
2e1820c7d1 Create subscription setup page for Monero subscriptions 2022-09-05 19:20:42 +00:00
silverpill
9a8c9c2a86 Hide ethereum subscription settings if subscription option is not present in user's profile 2022-09-05 15:37:04 +00:00
silverpill
2392167980 Move subscriptions settings to /subscriptions/settings path
And replace profile object with current user.
2022-09-03 21:41:30 +00:00
silverpill
ac15b55cca Use new Instance API 2022-08-31 22:08:40 +00:00
silverpill
29b2426f92 Make sender_address field of Subscription object nullable 2022-08-31 11:53:23 +00:00
silverpill
04ff50605f Darken expired subscriptions on subscription setup page 2022-08-30 19:17:56 +00:00
silverpill
2b3e578ee4 Switch to new Subscription API 2022-08-26 00:45:03 +00:00
silverpill
d77e98aa31 Handle clicks on quotes 2022-08-22 12:23:16 +00:00
silverpill
69871792cb Fix missing sender address on subscription page 2022-08-17 20:58:03 +00:00
silverpill
93fafa250d Use current wallet address for generating identity proofs 2022-08-17 20:26:20 +00:00
silverpill
b455645173 Stop using wallet_address property of User object 2022-08-17 20:26:20 +00:00
silverpill
4902f089e6 New login form 2022-08-17 20:26:15 +00:00
silverpill
78dfbfc396 Convert all remaining components into script-setup format 2022-08-13 22:56:59 +00:00
silverpill
5f2506c170 List subscribers on subscription setup page 2022-08-08 17:56:54 +00:00
silverpill
7002eea107 Rename Subscription type to SubscriptionConfig 2022-08-07 23:50:13 +00:00
silverpill
acf5116093 Add 'Show more profiles' button to follow list 2022-08-07 18:29:14 +00:00
silverpill
64d85c6baa Update sender profile after connecting wallet at subscription page 2022-08-04 20:52:22 +00:00
silverpill
370a08c6fc Place instance info block in the page header 2022-07-30 18:06:24 +00:00
silverpill
c8fecfe14f Create instance info component 2022-07-30 11:56:54 +00:00
silverpill
96625d9c94 Move page header to SidebarLayout component 2022-07-30 11:56:54 +00:00
silverpill
b0a5fac22a Create sidebar layout component 2022-07-30 11:56:54 +00:00
silverpill
4876b7b439 Convert internal views into script-setup format 2022-07-30 11:56:50 +00:00
silverpill
b1ae297378 Fix type errors and add typecheck to lint sequence 2022-07-29 13:03:42 +00:00
silverpill
d821f9d1f8 Convert App component into script-setup format 2022-07-29 13:02:57 +00:00
silverpill
2bcd8fc786 Fix tab bar on profile page 2022-07-29 11:04:28 +00:00
silverpill
2fcbb6ad50 Show donation button if currency code is in lowercase 2022-07-28 16:07:54 +00:00
silverpill
f788be7022 Fix state reset bug on subscription page 2022-07-26 19:36:02 +00:00
silverpill
31f328b0ce Show "Subscribe" button on profile page if subscriptions are enabled 2022-07-25 21:44:09 +00:00
silverpill
c28e812de9 Allow to like private posts 2022-07-20 21:53:05 +00:00
silverpill
ac4b8e275a Convert Post component into script-setup format 2022-07-20 21:46:22 +00:00
silverpill
2ac54a2ff9 Convert Profile page into script-setup format 2022-07-18 23:45:15 +00:00
silverpill
c81cd738a3 Convert Avatar and Sidebar components into script-setup format 2022-07-18 23:02:13 +00:00
silverpill
0ba41544be Add refresh button to token balance block 2022-07-18 21:41:39 +00:00
silverpill
db9afb4855 Wait for sender balance update when paying for subscription 2022-07-18 20:43:48 +00:00
silverpill
00562b0dcf Disable Pay and Cancel buttons during loading 2022-07-18 20:17:22 +00:00
silverpill
e1e4ae4333 Show subscription page only if profile is local 2022-07-16 16:00:54 +00:00
silverpill
cb35d88d77 Show subscription expiration notifications 2022-07-14 20:39:49 +00:00
silverpill
1845243586 Add tab bar to profile page 2022-07-07 20:37:41 +00:00
silverpill
406c78c5fa Ask confirmation before verifying wallet address 2022-07-06 23:06:53 +00:00
silverpill
8835669772 Improve subscription setup UI 2022-06-30 13:18:30 +00:00
silverpill
5c1cbe8405 Show token symbol on subscription setup page 2022-06-30 12:50:38 +00:00
silverpill
fbc4808a76 Disable minter or subscriptions if contract doesn't support these features 2022-06-30 00:49:56 +00:00
silverpill
f346315296 Allow to choose price when configuring subscription 2022-06-28 19:56:05 +00:00
silverpill
b856f23eb1 Round subscription price and payment amount 2022-06-26 11:33:23 +00:00
silverpill
01979e9fa8 Use blockchain info provided by server to add network to user's wallet 2022-06-22 22:37:17 +00:00
silverpill
8d140ff95f Switch ethereum network automatically when connecting wallet 2022-06-22 17:48:35 +00:00
silverpill
54946e5956 Add getSigner() method to wallet composable 2022-06-22 17:27:42 +00:00
silverpill
7f03aea2e3 Break long words in profile bio 2022-06-21 18:23:47 +00:00
silverpill
4f0ec427f5 Display blockquote elements in post content as greentext 2022-06-21 18:19:44 +00:00
silverpill
dd821a8760 Don't show subscription info until loading is finished 2022-06-14 23:33:18 +00:00
silverpill
9803775aa1 Use default text color for token balance 2022-06-14 23:23:05 +00:00
silverpill
8973d71173 Move wallet tips to separate page 2022-06-13 08:38:19 +00:00
silverpill
1e80036d04 Create generic component for static pages 2022-06-12 23:43:14 +00:00
silverpill
3ef8190907 Show token balance on subscription page 2022-06-12 17:15:07 +00:00
silverpill
9863e7866e Make fewer requests in getSubscriptionState() 2022-06-12 17:13:58 +00:00
silverpill
68d7351893 Define styles for disabled buttons 2022-06-12 17:13:58 +00:00
silverpill
76eafb8fa5 Show loader on subscription page 2022-06-12 17:13:58 +00:00
silverpill
920965cb3c Change button colors 2022-06-12 17:13:58 +00:00
silverpill
4110df590d Redesign subscription page 2022-06-12 17:13:58 +00:00
silverpill
b865eaff10 Fix empty subscription screen when wallet is already connected 2022-06-12 17:13:51 +00:00
silverpill
203fb357e6 Add ProfileWrapper class 2022-06-10 12:23:25 +00:00
silverpill
a0593b6a01 Refactor Subscription class 2022-06-10 12:23:25 +00:00
silverpill
c5cf53a1be Split subscription page into two components 2022-06-10 12:22:40 +00:00
silverpill
4d6ff7b386 Define SCSS variable for form field padding 2022-06-08 12:59:17 +00:00
silverpill
8af6af1f8f Show expiration date on subscription page 2022-06-08 12:58:30 +00:00
silverpill
79d275b5f2 Fix overflow in notification list 2022-06-07 20:50:22 +00:00
silverpill
a7d0560002 Create useWallet() composable and share wallet state 2022-06-07 00:12:45 +00:00
silverpill
6fa6044100 Show error message if wallet connection fails 2022-06-06 22:56:16 +00:00
silverpill
cef684c141 Update eslint configuration comments 2022-06-05 21:24:44 +00:00
silverpill
6a3c7bd15f Fix text alignment in post action element 2022-06-04 23:01:51 +00:00
silverpill
4103a62837 Add Helvetica to default font family 2022-06-04 18:52:20 +00:00
silverpill
53cd5285a6 Add wallet privacy tips 2022-06-04 18:34:02 +00:00
silverpill
ff9a4e396a Confirm before deleting post 2022-06-03 13:10:32 +00:00
silverpill
f1add10c22 Verify chain ID when connecting wallet at subscription page 2022-05-29 00:16:03 +00:00
silverpill
821e290b45 Install vue-tsc to check types in <script setup> components
https://github.com/vuejs/core/issues/4887
2022-05-29 00:15:56 +00:00
silverpill
7751992618 Show subscription notifications 2022-05-28 23:50:06 +00:00
silverpill
8a51c79a6e Disable tokenization if wallet address is not exposed via API 2022-05-27 21:20:40 +00:00
silverpill
4aa085fd86 Fix cancel button on subscription page 2022-05-27 00:37:14 +00:00
silverpill
12a06d711d Fix content overflow on small screens 2022-05-25 22:26:37 +00:00
silverpill
c2b0c67be9 Prevent subscription recipient from connecting to unverified web3 account 2022-05-25 22:14:18 +00:00
silverpill
fe6ef494e3 Add controls for cancelling subscription and for withdrawing recieived funds 2022-05-25 21:49:18 +00:00
silverpill
57caecc88b Reset subscription page on account/network changes 2022-05-25 19:02:42 +00:00
silverpill
044dcf2473 Show subscriber's balance on subscription page 2022-05-25 19:02:36 +00:00
silverpill
f48cb67299 Show subscription price and token address on subscription page 2022-05-21 00:04:21 +00:00
silverpill
cfb7bf26c1 Require verified ethereum address when working with subscriptions 2022-05-21 00:04:21 +00:00
silverpill
be63806e9d Create subscription management view 2022-05-21 00:04:17 +00:00
silverpill
461319a343 Migrate to Vue CLI v5 2022-05-18 18:14:47 +00:00
silverpill
dee1cfa691 Fix greentext processor 2022-05-16 14:39:00 +00:00
silverpill
caf7b28b22 Resize post form after submitting 2022-05-15 22:21:25 +00:00
silverpill
80e3c2c790 Enable greentext 2022-05-13 22:02:29 +00:00
silverpill
fd1b8ee0e8 Catch and redirect clicks on inline mentions 2022-05-12 22:27:34 +00:00
silverpill
db16d94c0b Add catch-all route 2022-05-12 20:17:07 +00:00
silverpill
28b5ac9215 Fix landing page layout 2022-05-12 18:49:21 +00:00
silverpill
13253a3f19 Show 'edited' label if post has been edited 2022-05-11 13:41:13 +00:00
silverpill
24c4949b40 Strip 0x prefix from transaction ID 2022-05-10 22:17:32 +00:00
silverpill
def184af24 Add local timeline 2022-05-09 13:50:34 +00:00
silverpill
0e1040a985 Use <menu> element to represent dropdown menus 2022-04-30 09:27:03 +00:00
silverpill
3809d9126d Add menu item for ethereum address verification 2022-04-27 21:54:45 +00:00
silverpill
609d7b0ae8 Add Atom feed link to profile menu 2022-04-14 23:31:46 +00:00
silverpill
f1d08380c8 Update createRepost() function to return original post 2022-04-07 20:22:53 +00:00
silverpill
37819231d6 Add profile menu items for hiding/showing replies 2022-03-09 20:48:22 +00:00
silverpill
606c9412ce Fix text overflow in post attachments 2022-03-04 22:37:37 +00:00
silverpill
18043a3491 Use <video> element to display videos 2022-02-23 17:37:50 +00:00
silverpill
838f76b17d Add profile menu items for hiding/showing reposts 2022-02-23 01:03:48 +00:00
silverpill
b98e2db452 Change color of links in posts 2022-02-16 22:39:57 +00:00
silverpill
a8c10d83c4 Add href attribute to post timestamp element 2022-02-16 18:55:27 +00:00
silverpill
88bdd69233 Remove duplicate mentions when preparing reply 2022-02-16 17:13:09 +00:00
silverpill
685ca20bb2 Disable password generation at signup 2022-02-15 20:23:09 +00:00
silverpill
c778025899 Create EIP-4361 message at signup 2022-02-15 01:37:19 +00:00
silverpill
f876b509ba Use EIP-4361 login method 2022-02-14 23:57:46 +00:00
silverpill
968ebe07b2 Insert mentions automatically into reply content 2022-02-13 22:32:54 +00:00
silverpill
001a578eb9 Set visibility to "direct" when replying to non-public post 2022-02-13 18:22:26 +00:00
silverpill
8213306f9b Use post character limit setting received from server 2022-02-08 21:36:55 +00:00
silverpill
901d788d49 Refactor ethereum sign-in helpers 2022-02-08 10:53:49 +00:00
silverpill
2c9182d50c Hide "Mint NFT" menu item if IPFS integration is disabled 2022-02-07 17:14:35 +00:00
silverpill
254ac3d9a7 Convert wallet address to lowercase during login 2022-02-07 16:08:29 +00:00
silverpill
ec7827948d Increase post character limit 2022-02-06 18:24:29 +00:00
silverpill
b52a2f947c Wait for approval tx confirmation when paying for subscription 2022-02-06 15:16:16 +00:00
silverpill
67cd088ffa Enable subscription payments 2022-02-06 11:36:26 +00:00
silverpill
16b32ac00c Define contract names at client side 2022-02-06 11:25:13 +00:00
silverpill
03f20ed0c1 Add support for subscribers-only posts 2022-02-06 11:25:13 +00:00
silverpill
bb7841c0df Show subscription badge on profile page 2022-02-06 11:25:13 +00:00
silverpill
73f7a3c358 Add items to profile menu for setting up paid subscription 2022-02-06 11:24:57 +00:00
silverpill
dbfb707dbb Show "follows you" badge on profile page 2022-02-04 21:11:08 +00:00
silverpill
8bd2871175 Update profile page design 2022-02-04 21:06:21 +00:00
silverpill
8aec7dd5c6 Refactor mintToken() method 2022-01-29 18:24:42 +00:00
silverpill
44e2fb1624 Allow code blocks in posts 2022-01-28 00:31:10 +00:00
silverpill
3a33d057c0 Fix alignment of dropdown menu on profile page 2022-01-27 19:11:14 +00:00
silverpill
7d1a6d9efb Add title attribute to reply mentions in post subheader 2022-01-27 18:18:50 +00:00
silverpill
7d4d9d31a4 Update type definition for Instance API response 2022-01-26 00:20:31 +00:00
silverpill
0abb2b4bef Fix styling of lists inside posts 2022-01-21 12:39:23 +00:00
silverpill
5280ffd3d8 Show all images attached to a post 2022-01-17 11:31:50 +00:00
silverpill
7cf63c9333 Allow to create posts with followers-only visibility setting 2022-01-15 19:39:37 +00:00
silverpill
4dbb59c587 Add mentions field to PostData object 2022-01-15 16:41:49 +00:00
silverpill
1f01f6c60d Add link to remote profile to profile menu 2022-01-15 01:37:06 +00:00
silverpill
7b04cdfebe Use <button> element for buttons instead of <a> 2022-01-15 01:21:59 +00:00
silverpill
b956df3479 Enable pagination at notifications page 2022-01-14 21:49:53 +00:00
silverpill
9364b2ff55 Disable like button if post is not public 2022-01-14 19:17:18 +00:00
silverpill
b39f4270d2 Hide "Save to IPFS" item from post menu if it is not public 2022-01-14 16:11:32 +00:00
silverpill
58fa80cc2b Fix overflow in code blocks 2022-01-14 16:02:22 +00:00
silverpill
a4587427ac Show reply, repost and reaction counters to unauthenticated users 2022-01-13 22:57:31 +00:00
silverpill
437406a578 Change reply icon 2022-01-13 22:57:30 +00:00
silverpill
213db9a0d4 Show mentions in post subheader 2022-01-13 22:57:23 +00:00
silverpill
3857d45b31 Change icon for 'direct' post visibility 2022-01-12 00:14:50 +00:00
silverpill
89cdcba68b Preserve visibility settings when replying to post 2022-01-09 12:09:56 +00:00
silverpill
f9f2e40ad0 Fix button name on profile directory page 2022-01-08 19:25:50 +00:00
silverpill
420e51f833 Allow to set visibility in post editor 2022-01-07 22:16:52 +00:00
silverpill
db234bd01b Remove token from local storage on auth failures 2022-01-03 16:38:26 +00:00
silverpill
1ffaf9a08c Prevent text from wrapping in notification date 2022-01-03 16:23:07 +00:00
silverpill
12d01bada0 Include profile link in post action messages 2022-01-02 23:23:35 +00:00
silverpill
d8a0103115 Show full actor address in ProfileListItem component 2022-01-02 23:00:27 +00:00
silverpill
d440b91033 Add followers and following lists to profile page 2022-01-02 22:35:27 +00:00
silverpill
1c50089734 Create ProfileListItem component 2022-01-02 19:41:14 +00:00
silverpill
8283f5cc05 Make actor address selectable on profile page 2022-01-02 17:11:24 +00:00
silverpill
eb2206dc20 Use ethereum grant type for getting auth token 2021-12-24 18:14:17 +00:00
silverpill
956776e24f Fix follow notification styles 2021-12-22 04:43:24 +03:00
silverpill
4699e89719 Select actor address in post component on click 2021-12-21 20:24:03 +00:00
silverpill
f7e153883a Show full actor address instead of "acct" value 2021-12-21 20:17:22 +00:00
silverpill
48198ddf62 Enable pagination on profile directory page 2021-12-16 23:26:48 +00:00
silverpill
6e9ea6f4c4 Hide repost and like buttons when user is not logged in 2021-12-16 20:57:17 +00:00
silverpill
d1ac840e4a Enable pagination on profile timeline 2021-12-14 16:00:58 +00:00
silverpill
112cf150ba Refactor home and tag timeline pages 2021-12-14 15:48:29 +00:00
silverpill
3310bb321a Add tag timeline page 2021-12-12 18:45:33 +00:00
silverpill
41ac059936 Set page size when making timeline requests 2021-12-12 17:35:32 +00:00
silverpill
d08936f476 Add target=_blank and rel=noreferrer to mentions 2021-12-11 22:54:08 +00:00
silverpill
0b82ffff83 Add "Delete post" to post actions menu 2021-12-04 16:35:43 +00:00
silverpill
b574f9f390 Send transaction ID to server after minting token 2021-12-03 22:00:38 +00:00
silverpill
d8c0ed4737 Add "Save to IPFS" to post actions menu 2021-12-02 23:21:32 +00:00
silverpill
32278db436 Move post tokenization button to dropdown menu 2021-12-02 22:37:25 +00:00
silverpill
ffb8270b3c Enable pagination on home timeline 2021-12-02 01:23:01 +00:00
silverpill
927754bebf Add support for notifications of types "mention" and "reblog" 2021-11-30 22:39:09 +00:00
silverpill
f4489b368f Truncate long names in post header 2021-11-30 19:59:57 +00:00