Commit graph

284 commits

Author SHA1 Message Date
Jonathan Zernik
6dbd4982ec
Make squeak card open new tab (#2001)
* Got ctrl-click working on squeak card

* Got ctrl-click working on profile card

* Improve html for squeak card

* Make squeak hash a clickable link in payments page

* Update frontend build
2022-03-15 19:11:26 -07:00
Jonathan Zernik
a230ffcb1e
Fix timeline scroll size (#2000)
* Remove unused function in fronted feed.

* Fix timeline scroll size

* Fix search scroll size

* Fix scroll size for sent payments and received payments

* Update frontend build
2022-03-15 18:04:28 -07:00
Jonathan Zernik
4d349005d4
Simplify add peer UI (#1999)
* Remove non-null constraint on peer name

* Remove validation requiring non-empty name for peer

* Update database to use autoconnect true by default

* Remove connect peer button and modal from peers page

* Show saved peers tab by default in peers page

* Update frontend build
2022-03-15 17:38:18 -07:00
Jonathan Zernik
e1ce759e15
Fix network field in external address (#1998)
* Don't show network field in external address modal

* Update frontend build
2022-03-15 14:26:04 -07:00
Jonathan Zernik
af7fabe6ec
Show waiting indicator for buy squeak (#1993)
* Show loader modal on waiting for make squeak and buy squeak

* Handle error when buy squeak fails

* Show waiting indicator for download single squeak and download pubkey squeaks

* Fix mutation of profilesqueaks state
2022-03-15 01:52:18 -07:00
Jonathan Zernik
1459578859
Use redux for frontend state and actions (#1988)
* Got basic timeline working from todos redux template

* Improve CSS and UI for home page with redux

* Load timeline in homepage on load

* Clear squeaks from timeline on home page load

* Comment out old state and reducers

* Got basic squeak component working with redux

* Show loader when single squeak is loading

* Got ancestor squeaks mostly working

* Fix useeffect trigger on squeak navigate

* Added get replies in squeak redux component

* Show loader for ancestors and replies while loading

* Remove squeak, ancestors, and replies from old state

* Rename todos to timeline

* Remove extra newlines

* Remove filters feature

* Got like and unlike partially working

* Remove old comments

* Got like and unlike thunks working for squeak slice

* Refactor ancestor squeaks into separate slice

* Refactor reply squeaks into separate slice

* Fix function name for select replies status

* Remove remaining reply logic from squeak slice

* Remove unused code from squeak page component

* Get network in slice

* Got like and unlike working in timeline slice

* Got basic make squeak slice working

* Remove old makesqueak component

* Fix make squeak slice thunk

* Remove console log for make squeak status

* Successfully navigate to new squeak page after make squeak

* Remove useHistory and replace with withRouter

* Handle error response in client base query.

* Use slice for signing profiles in make squeak

* Remove old client function

* Rename base request

* Remove old server class

* Use slice for payment summary component

* Remove old commented client API methods

* Comment out old API request methods deprecated by slices

* Got basic sent payments slice working

* Remove console log lines

* Remove console log lines

* Remove old comment

* Got received payments slice working

* Comment unused old API client methods

* Add slice for search component

* Fix search string length check

* Remove unused state from search page component

* Remove search method from old client API

* Got basic signing profiles slice working

* Use slices in profiles page

* Combine signing profile slices into profiles folder

* Remove get profiles methods from old client API

* Move networkslice to network folder

* Organize slices in folders

* Use slice for create signing profile

* Use slice for import signing profile

* Use slice for create contact profile

* Use reducers for create profiles slices in store

* Remove create profile requests from old api

* Remove payment summary request from old api

* Remove get network request from old api

* Remove unused function

* Got basic profile slice working.

* Got delete profile thunk working

* Combine ancestor and reply slices into squeak slice

* Export timeline squeaks status from timeline slice

* Combine timeline thunks into squeak slice

* Rename id for timeline thunk

* Move timeline component into squeak feature folder

* Got loading icon working in search squeaks component

* Combine search slice into squeak slice.

* Combine makesqueak slice into squeak slice.

* Use helper function to replace squeak in squeak state array

* Got like and unlike working in ancestors and replies

* Rename squeak slice to squeaks slice

* Rename sent and received payments status slice fields

* Combine sent payments slice and received payments slice into payments slice

* Combine payment summary slice into payments slice

* Rename status field of signing profiles slice and contact profiles slice

* Combine signing profile slice and contact profiles slice into profiles slice

* Remove old contact profiles slice

* Combine create and import profile slices into profiles slice

* Combine profile slice into profiles slice

* Redirect to profile page on create profile action

* Check profile pubkey before updating following in profiles slice

* Update signing profiles and contact profiles on follow change in slice

* Add profile squeaks to squeaks slice

* Update profile squeaks in slice on follow change

* Update profile name using slice

* Create contact profile from unknown pubkey using slice

* Fetch new profile after creating contact profile from unknown pubjey

* Remove completed todos

* Add thunk to change profile image

* Remove old comments in profiles page

* Got export private key working with slice

* Remove unnecessary todo

* Remove more unused methods from old client API

* Remove old action comments

* Remove more unused methods from old client API

* Remove more unused methods from old client API

* Got clear profile image working with slice

* Remove more unused methods from old client API

* Got delete squeak working with slice

* Remove more unused methods from old client API

* Remove more unused methods from old client API

* Remove accidentally created file

* Remove unused entity adaptors

* Got fetch saved peer working with peers slice

* Delete unused peers file

* Delete unused search function

* Delete unused peer function

* Use peers slice for get connected peers

* Use selector to get connected peer data from slice

* Got connect peer working using slice

* Got disconnect peer working using slice

* Fetch saved peers using slice

* Remove old actions from peers pag

* Use slice to connect peer in peers page

* Use external address slice to fetch and select external address

* Use slice to save peer in peers page

* Use slice to save peer in peer page

* Update current peer in reducer for save peer

* Use slice to delete peer in peer page

* Use slice to set peer autoconnect enabled and disabled in peer page

* Delete old commented calls of actions in peer page

* Remove more unused methods from old client API

* Got buy offer working using slice

* Fetch offers from backend on open buy modal

* Remove todo comment for delete squeak

* Remove more unused methods from old client API

* Remove more unused methods from old client API

* Remove more unused methods from old client API

* Fetch sell price info using slice

* Use sell price slice for all sell price actions

* Got logout working using account slice

* Fixed logout thunk

* Remove unused functions from payments page component

* Remove old action from profiles page

* Remove more unused methods from old client API

* Got download squeak working using slice

* Remove more unused methods from old client API

* Got download pubkey squeaks working

* Fix toggle following in contact profiles list

* Remove old commented actions in squeak card component

* Remove old commented actions

* Remove use of storecontext from all components

* Remove all files in old store directory

* Update frontend build
2022-03-15 00:20:07 -07:00
Jonathan Zernik
23b34da3a8
Handle leading http in host without failing (#1979) 2022-03-02 15:29:03 -08:00
Jonathan Zernik
5d0144c0a7
Allow paste text in make squeak component (#1974) 2022-02-28 19:33:03 -08:00
Jonathan Zernik
315be9f6b9
Improve nav items (#1964)
* Make only selected nav item appear bold

* Change hover and active colors to black/gray for nav

* Update frontend build
2022-02-23 03:41:13 -08:00
Jonathan Zernik
67dea0adf5
Make sell price configurable (#1963)
* Make sell price configurable in frontend

* Update frontend build
2022-02-23 01:40:06 -08:00
Jonathan Zernik
9a0cbab7aa
Remove like count (#1961)
* Remove like count from squeak card

* Update frontend build
2022-02-23 00:16:36 -08:00
Jonathan Zernik
8b1b0d0efa
Only show load more for profile squeaks and payments on not empty (#1960) 2022-02-22 23:03:44 -08:00
Jonathan Zernik
b1914a8836
Rename tweet variables (#1958)
* Rename tweet variables to squeak

* Rename Tweet variables to Squeak
2022-02-22 22:49:52 -08:00
Jonathan Zernik
23a9d5109c
Add search bar in feed (#1957)
* Got search page working

* Update frontend build
2022-02-22 22:40:26 -08:00
Jonathan Zernik
b88d4932bb
Fix tab name for squeaks (#1953)
* Fix tab text in profile page

* Update frontend build
2022-02-21 03:29:01 -08:00
Jonathan Zernik
bb3fe2c106
Fix tweet references (#1952)
* Fix tweet references

* Update frontend build
2022-02-21 03:03:04 -08:00
Jonathan Zernik
74a0ee7079
Use new frontend (#1941)
* Use new frontend

* Remove whitespace

* Remove more whitespace

* Remove more whitespace

* Add requests file

* Try loading squeaks in home page

* Got basic timeline working

* Fix block time display

* Show author pubkey in tweet card

* Show profile name in tweet card

* Show profile image in tweet card

* Got tweet page working

* Implement part of profile page

* Show profile pubkey in pubkey page

* Show profile name in profile page

* User tweets now show in profile page

* Show reply tweets

* Load ancestor tweets, but show still not working

* Got tweet reply thread working

* Add partial implementation of make squeak

* Add re-usable component for make squeak

* Load signing profiles in middleware

* Implement make squeak

* Update favicon

* Fix issue with updating state of replies on new squeak.

* Remove author pubkey from squeak url path

* Got reply squeak working

* Fix update state with reducer on new reply

* Show author profile image in make squeak component

* Implement get more tweets in timeline

* Fix load more tweets

* Show loading state in timeline get mor

* Clear timeline tweets on page load

* Simplify props in make squeak component

* Remove unused props from make squeak component

* Fix params for tweet cards in profile page

* Got follow and unfollow working

* Fix tweets and replies tab in profile page

* Got load more tweets working for profile page

* Add delay to endpoints

* Clear user tweets on profile page load

* Remove delay from endpoint

* Remove whitespace in explore page

* Show signing profiles in explore page

* Show contact profiles in explore page

* Rename explore page to profiles

* Remove trends from profiles page

* Remove search tab from profiles page

* Fix set follow or unfollow from profiles page

* Change text of profile search box

* Implement name change in edit profile

* Simplify edit and follow buttons

* Remove chat button in profile

* Simplify user pubkey display in profile

* Remove bio and location from profile edit

* Remove banner from profile page

* Got image change working

* Remove log lines

* Remove unused state from profile

* Remove more state from profile page

* Remove content of messages page

* Remove unused state from profiles page

* Remove unused import from profile page

* Rename sats earned and sats spent tabs in profile page

* Remove log line

* Add create signing profile to profiles page

* Remove banner from new profile modal

* Add create contact profile to profiles page

* Add comment for modal in profile page

* Use separate modals in profile page for edit and spending

* Add delete profile button to profile pag

* Remove use of bookmark

* Remove banner from delete profile modal

* Implement delete tweet

* Fix delete tweet for tweet card.

* Add TODO comment

* Got update tweet for like and unlike working

* Simplify update tweet and delete tweet reducerts

* Add comments to tweet component

* Add comment to reducers

* Remove check for user in tweet card.

* Simplify props for tweet card.

* Implement missing tweet component partially

* Got display for missing tweet mostly working

* Fix reducer for delete tweet from ancestors

* Fix display of squeak with unknown author

* Fix handling of unknown author in make squeak to reply

* Got profile page working for missing profile

* Implement create profile from missing profile page

* Fix close make tweet modal on submit

* Remove who to follow from feed

* Fix close modal on submit new tweet in tweet card

* Add new peers page

* Got connected peers showing

* Remove search bar from peers page

* Show saved peers in peers page

* Got save peer working

* Remove input attach button from make squeak component

* Got basic peer page working

* Load peer connection info in peer page

* Remove unused functions in peer page

* Show correct host and port for peer and peers page

* Got connect and disconnect working in peer page

* Got connect and disconnect reducer working

* Remove unused displays from peer page

* Change word in connect button in peer page

* Got tor toggle working

* Add use tor option to create saved peer modal

* Implement delete saved peer

* Fix variable names in peers page

* Fix issue with save peer

* Fix action for save peer

* Show block info and block explorer link

* Get network in tweet page

* Remove log line

* Fix color scheme for missing tweet

* Add download button to missing squeak

* Show locked content in tweet and tweet card

* Partial implementation of buy dialog

* Got buy squeak working

* Reload ancestors in download tweet middleware

* Improve display of offer

* Show payment summary in sidebar

* Implemented beginning of payments page

* Show sent payments in payments page

* Implement clear sent payments

* Fix link to payments in feed

* Got received payments working

* Fix action for load more received payments

* Fix typo in get more received payments

* Remove log lines

* Add header title for peers page

* Remove unused pages from nav

* Show alert when payment fails

* Use more menu in profile page

* Remove icon from more button

* Add export private key

* Hide export private key for contact profile

* Remove log lines

* Got import signing profile working

* Remove log lines

* Improve display of locked content

* Fix comment for edit moda

* Add download squeaks action to profile page

* Remove log lines

* Show button for download action in profile page

* Include time in payments display

* Remove bookmark component

* Remove list component

* Remove chat component

* Remove retweet action

* Remove all use of account attributes

* Change unit to sats for sell dialog

* Fix display of peer page

* Remove usage of account state

* Try to implement logout

* Include prefix in route path

* Got redirect on logout working

* Got logout working in prod

* Remove log lines

* Remove suggestions action

* Show connection info

* Got autoconnect toggle working

* Rearrange peer page

* Got custom icon working

* Use custom icon

* Fix path string match in nav

* Add modal to show external address in peers page

* Remove export button from external address modal

* Update frontend build

* Fix more menu in profile page

* Update frontend build
2022-02-21 01:56:50 -08:00
Jonathan Zernik
3041d85cc1
Show character count in make squeak dialog (#1936)
* Show character count in make squeak dialog

* Update frontend build
2022-01-05 14:04:46 -08:00
Jonathan Zernik
a147c2cc94
Fix clear search bar after search (#1933)
* Fix clear search bar after search

* Update frontend build
2022-01-02 17:12:32 -08:00
Jonathan Zernik
0849e260ad
Fix goto other pubkey page (#1932)
* Fix go to other squeak pubkey page from click on private squeak recipient

* Update frontend build
2022-01-01 21:46:43 -08:00
Jonathan Zernik
b3685f5bf8
Fix clickability of profile name in squeak detail item component (#1926)
* Fix clickability of profile name in squeak detail item component

* Update frontend build
2021-12-29 22:12:38 -08:00
Jonathan Zernik
c7ac0e1294
Refactor private recipient indicator log into component (#1917)
* Refactor private recipient indicator log into component

* Update frontend build
2021-12-29 13:21:59 -08:00
Jonathan Zernik
bb3c24b007
Fix regression in display of unknown squeak. (#1916) 2021-12-29 12:55:46 -08:00
Jonathan Zernik
0ec9067668
Fix set sell price validation (#1915)
* Fix set sell price validation

* Update frontend build
2021-12-28 18:51:13 -08:00
Jonathan Zernik
d347534b55
Display private squeaks (#1914)
* Update squeak display entry in proto for private squeaks

* Add select private message recipient in make squeak dialog

* Show recipient of private squeak in squeak thread item

* Use squeak content str is null to determine background color of squeak component

* Update frontend build

* Refactor private squeak indicator to separate component

* Remove old comments

* Got private message recipient indicator working in thread item and detail item

* Add decrypt squeak dialog

* Got button showing for unlocked but encrypted squeak

* Show lock icon for squeak thread item when unlocked but still encypted

* Comment out get secret key method of controller

* Add rpc method for decrypt squeak content

* Got decrypt content working with recipient private key

* Update frontend build
2021-12-28 18:40:09 -08:00
Jonathan Zernik
53533c04aa
Fix create contact profile from pubkey page (#1888)
* Fix create contact profile dialog open from pubkey page

* Update frontend build
2021-12-25 10:24:33 -08:00
Jonathan Zernik
9f0d5e4097
Include bearer token in twitter account (#1881)
* Got twitter forwarder working with bearer token in twitter accounts table

* Update frontend to use bearer token in twitter account

* Update frontend build
2021-12-22 16:10:03 -08:00
Jonathan Zernik
88647dd783
Change url path for pubkey page (#1873)
* Change url path for pubkey page

* Update frontend build
2021-12-20 10:27:29 -08:00
Jonathan Zernik
5198467889
Use new squeak protocol with schnorr and pubkey as identifier (#1870)
* Got all tests in core dir passing

* Got all tests in db dir passing

* Got tests for admin dir passing

* Got all unit tests passing

* Added migration for squeak table and profile table using new pubkey

* Re-start db migrations with new data-v2.db file

* Fix column type for profile public key

* Got all itests passing

* Log the public key in hex in create contact profile handle fn

* Rename rpc methods to use pubkey instead of address

* Got frontend mostly working with new profile pubkey

* Update frontend to use pubkey instead of address

* Change size of squeak profile detail item

* Update create contact profile dialog to use pubkey

* Update twitter account item to use pubkey

* Include label for pubkey in profile detail item

* Decrease size of profile detail item

* Update frontend build

* Improve logging of requests in handler
2021-12-20 09:28:38 -08:00
Jonathan Zernik
8e69f7f77d
Use check icon for twitter mirror status (#1864)
* Use check mark icon for twitter mirroring status

* Update frontend build
2021-12-16 04:39:37 -08:00
Jonathan Zernik
72aeb2023b
Improve UI twitter page (#1863)
* Remove text with count of twitter accounts

* Rephrase text for twitter connections status

* Update frontend build

* Change text for twitter mirroring status

* Update frontend build
2021-12-16 04:00:42 -08:00
Jonathan Zernik
ed50b71ce2
Change sidebar peers icon (#1862)
* Change sidebar icon for peers page

* Update frontend build
2021-12-15 14:42:39 -08:00
Jonathan Zernik
8e975ca811
Make start/stop twitter stream thread-safe (#1859)
* Make start/stop twitter stream thread-safe

* Add rpc for get twitter stream status

* Add get twitter stream status rpc to flask

* Display twitter stream connection status in twitter page

* Fix twitter forwarder task stop

* Update frontend build
2021-12-15 14:29:36 -08:00
Jonathan Zernik
f8e1cc5b41
Remove ugly paper from a bunch of pages (#1854)
* Remove ugly paper from a bunch of pages

* Update frontend build
2021-12-14 06:59:47 -08:00
Jonathan Zernik
2935130e79
Change text of button for go to peer config (#1849)
* Change text of button for go to peer config

* Got basic saved peer detail component working

* Got toggle saved peer configs dialog working

* Show network, host, and port for saved peer detail component

* Update frontend build

* Improve styles for detail cards

* Update frontend build
2021-12-14 03:10:11 -08:00
Jonathan Zernik
353c543439
Fix default port display (#1844)
* Remove unnecessary peerName state from connect peer dialog

* Fix display of default peer port in connect peer dialog

* Fix display of default peer port in create saved peer dialog

* Fix overlapping value for default port when disabled

* Update frontend build
2021-12-11 23:43:53 -08:00
Jonathan Zernik
6233890e5b
Remove squeak detail include in squeak entry (#1837)
* Got squeak details dialog working without details rpc request

* Remove get squeak detail from rpc proto

* Update frontend build

* Remove old get squeak detail itest

* Remove unused fixture for squeak detail item
2021-11-30 22:25:43 -08:00
Jonathan Zernik
9c80e1e7c7
Fix bitcoin component using svgicon component (#1834)
* Fix bitcoin component using svgicon component

* Update frontend build
2021-11-29 17:25:37 -08:00
Jonathan Zernik
c1bdf3beb3
Fix sidebar bitcoin icon height (#1833)
* Fix bitcoin icon height in sidebar

* Update frontend build
2021-11-29 16:41:55 -08:00
Jonathan Zernik
45a3610dec
Use bitcoin icon for wallet in sidebar (#1832)
* Use bitcoin icon for wallet in sidebar

* Update frontend build
2021-11-29 15:51:19 -08:00
Jonathan Zernik
72f7ef5d4b
Fix waiting indicator for squeak address page (#1826)
* Fix waiting indicator for squeak address page

* Update frontend build
2021-11-23 18:15:54 -08:00
Jonathan Zernik
c53dadb006
Fix toggle profile and peer (#1824)
* Fix toggle reload for profile page and peer page

* Update frontend build
2021-11-22 22:04:53 -08:00
Jonathan Zernik
fa45dc444c
Improve buttons in peer address page (#1823)
* Improve buttons in peer address page

* Improve saved peer page

* Update frontend build
2021-11-22 20:10:39 -08:00
Jonathan Zernik
66f5a70852
Improve goto/create profile button in squeak address page (#1822)
* Improve goto/create profile button in squeak address page

* Update frontend build
2021-11-22 19:47:07 -08:00
Jonathan Zernik
1cd38094df
Rename button for add saved peer (#1821)
* Rename button for add saved peer

* Update frontend build
2021-11-22 19:21:10 -08:00
Jonathan Zernik
b4d1dce4e5
Improve display of dialog fields (#1819)
* Use outline and margin for dialog text field inputs

* Update frontend build
2021-11-22 18:52:26 -08:00
Jonathan Zernik
b7ceb75408
Show waiting indicator for peers page (#1818)
* Show waiting indicator for peers page

* Show waiting indicator for peer page

* Show waiting indicator for peer address page

* Show waiting indicator for payments page

* Update frontend build
2021-11-22 16:37:03 -08:00
Jonathan Zernik
8257978761
Improve waiting indicators (#1814)
* Improve display of waiting indicator for liked page

* Show waiting indicator for initial load

* Use null to represent unloaded state items

* Improve waiting indicators on squeak page

* Improve loading indicator for squeak address page

* Improve waiting indicator for profile page

* Improve waiting indicator for profiles page

* Show waiting indicator for wallet page

* Improve waiting indicator for search page

* Fix issue with empty search input

* Remove unnecessary arg for search function

* Update frontend build
2021-11-21 22:34:51 -08:00
Jonathan Zernik
bd0e2656f7
Update frontend dependencies fix conflicts (#1811)
* Update some frontend dependencies

* Update yarn

* Upgraded dependences with yarn upgrade --latest

* Got frontend working with upgraded dependencies

* Update frontend build
2021-11-20 20:28:53 -08:00
Jonathan Zernik
0a5d0d1d10
Remove profile custom price (#1807)
* Remove custom price from profile

* Remove profile custom price from frontend

* Update frontend build
2021-11-19 00:04:07 -08:00