Commit graph

1649 commits

Author SHA1 Message Date
Jonathan Zernik
c3930b8fe0
Add twitter forwarder frontend (#2038)
* Got basic add twitter forwarder account working

* Got delete twitter account working

* Link to profile page from twitter account card

* Simplify text for delete twitter account button

* Update frontend build
2022-03-28 00:06:09 -07:00
Jonathan Zernik
b578ada984
Remove hello endpoint (#2036) 2022-03-27 20:06:00 -07:00
Jonathan Zernik
67da1c5a30
Simplify peer downloader (#2033)
* Remove subclasses for peer downloader and simplify download timeline method

* Use thread pool executor for peer timeline download

* Rename download timeline method

* Save secret key and offer when downloading single squeak

* Remove old download pubkey squeaks method from network controller

* Fix get pubkey squeak entries method.
2022-03-27 01:54:18 -07:00
Jonathan Zernik
bff7bbbc4b
Use squeak store to encapsulate all core fns (#2030)
* Revert "Remove usage of squeak_core from squeak_store (#2029)"

This reverts commit bd15c653aa.

* Add make squeak method to squeak store class

* Add pay offer method to squeak store

* Remove squeak_core from controller constructor

* Remove default port param from controller constructor

* Fix broken itests

* Got download single squeak working synchronously
2022-03-26 20:42:42 -07:00
Jonathan Zernik
bd15c653aa
Remove usage of squeak_core from squeak_store (#2029)
* Remove usage of squeak_core from squeak_store

* Remove default peer port arg from controller constructor
2022-03-26 18:42:00 -07:00
yzernik
844ba41f0d
Release version 0.2.13 2022-03-26 01:32:00 -07:00
Jonathan Zernik
4b475cec23
Show amboss link (#2026)
* Show amboss link in buy offer display

* Update frontend build
2022-03-26 01:27:43 -07:00
Jonathan Zernik
45e1e5954a
Fix min block and max block range used in peer lookup (#2024) 2022-03-26 01:12:28 -07:00
Jonathan Zernik
0d223ea6f6
Fix external port config (#2023) 2022-03-26 00:45:37 -07:00
Jonathan Zernik
8c84a8eb1b
Try using socks5h at scheme. (#2022) 2022-03-26 00:17:40 -07:00
Jonathan Zernik
20ca359af5
Add log lines to debug tor proxy in client (#2021) 2022-03-25 23:57:35 -07:00
dependabot[bot]
a8853fbc96
Bump minimist from 1.2.5 to 1.2.6 in /frontend (#2019)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 23:16:02 -07:00
Jonathan Zernik
8a89dbfa10
Make peer client connect with tor (#2018) 2022-03-25 23:12:43 -07:00
Jonathan Zernik
a87b3d6ad7
Update frontend build (#2017) 2022-03-25 21:42:28 -07:00
Jonathan Zernik
5d946ca5d5
Download timeline in background thread. (#2016)
* Successfully sync download timeline in background thread.

* Got background thread download timeline working

* Simplify params for network controller

* Change peer download interval to 30 seconds
2022-03-25 21:39:40 -07:00
Jonathan Zernik
32769b874a
Encapsulate price and external lightning address in controller (#2015) 2022-03-17 23:52:04 -07:00
Jonathan Zernik
fbc66c9813
Fix change profile name default (#2013)
* Fix default value for change profile name

* Partially fix set sell price dialog

* Fix itest in progress

* Fix get sell price
2022-03-17 23:24:50 -07:00
Jonathan Zernik
a8ba458fad
Fixed itests (#2014) 2022-03-17 22:48:13 -07:00
Jonathan Zernik
93d12ec6c9
Fix typo in rpc proto for sell price (#2012) 2022-03-17 18:46:13 -07:00
Jonathan Zernik
87ab33b52c
Fix laptop icon svg size (#2011)
* Fix laptop icon svg size in nav sidebar

* Update frontend build
2022-03-17 18:27:42 -07:00
Jonathan Zernik
5e7dfc06d4
Update frontend build (#2010) 2022-03-17 18:06:56 -07:00
Jonathan Zernik
6d9cac5a2e
Re-arrange components in peer page (#2009)
* Auto-indent peer page and profile page

* Rename enable and disable functions

* Re-arrange components in peer page

* Improve display of peer name and address

* Got more menu working on peer page
2022-03-17 18:02:11 -07:00
Jonathan Zernik
ca43013941
Fix leading colon in peers (#2008)
* Remove leading colon in peers page

* Change items in peers list to a link instead of onclick

* Update frontend build

* Increase size of peer icons

* Improve UI for enable/disable peer

* Update frontend build

* Remove comment in profile page

* Fix header for peer page

* Update frontend build
2022-03-17 17:06:13 -07:00
Jonathan Zernik
042e8c7e63
Update frontend build (#2007) 2022-03-17 15:23:02 -07:00
Jonathan Zernik
68e69e55c8
Use http for peer connection (#2002)
* Got basic web server running for peer

* Got squeak route and lookup route working

* Got secret key route working

* Got offer endpoint working

* Remove old comment

* Move peer server code to server subdir

* Create client subdir for peer client

* Return empty list for lookup when pubkeys is empty

* Add peer client and network controller class

* Remove old network code

* Remove old block subscription worker

* Remove network handler class

* Remove more old classes

* Add back twitter forwarder worker

* Remove download methods from controller

* Add websocket endpoint

* Add websocket subscribe method

* Add websocket client library

* Fetch squeaks from peer (slowly) on UI timeline load

* Fetch squeaks from peer (slowly) on UI pubkey squeaks load

* Got download squeaks working with HTTP requests

* Fixed external address method in controller

* Remove download pubkey squeak button and action

* Remove unused connection displays from peer ana peers page

* Fix 404 not found for offer endpoint

* Better handling of null cases in peer client downloader

* Simplify peer downloader

* Create subclass for range download

* Got single squeak download working

* Fix itest for get external address
2022-03-17 14:38:46 -07:00
yzernik
51f39427a9
Release version 0.2.11 2022-03-16 13:02:48 -07:00
Jonathan Zernik
d30029aed1
Fix default action on profile squeak card click (#2004)
* Fix prevent default on profile following click

* Fix prevent default on squeak card action click

* Update frontend build
2022-03-16 12:59:24 -07:00
yzernik
7bb63d853e
Release version 0.2.11 2022-03-15 19:12:36 -07:00
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
yzernik
a8a67ce712
Release version 0.2.10 2022-03-15 18:07:50 -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
yzernik
ac72027ee3
Release version 0.2.9 2022-03-15 01:59:25 -07:00
Jonathan Zernik
7adc6f1965
Update frontend build (#1994) 2022-03-15 01:57:56 -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
0644413e27
Fix link to CI workflow in readme link (#1972) 2022-02-28 18:19:25 -08:00
yzernik
c2105ca24c
Release version 0.2.8 2022-02-27 21:31:36 -08:00
Jonathan Zernik
3ae9b84641
Use new squeaklib with 32 byte pub key (#1970)
* Update squeaklib version

* Clear database migrations
2022-02-27 21:29:49 -08:00
Jonathan Zernik
da891baf7f
Fix name of github workflow for docker build (#1969) 2022-02-27 00:42:24 -08:00
Jonathan Zernik
e641024eba
Format github action (#1968)
* Format github action

* Split github action into separate workflows
2022-02-27 00:40:14 -08:00
Jonathan Zernik
0dca35a0b7
Npm audit fix (#1967)
* Run npm audit fix

* Update frontend build
2022-02-23 17:42:10 -08:00
Jonathan Zernik
4df92cba04
Show screenshot in readme (#1966)
* Show screenshot in readme

* Show squeak page in readme
2022-02-23 17:26:19 -08:00
yzernik
af7e093f32
Release version 0.2.7 2022-02-23 03:51:33 -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
yzernik
e60c767703
Release version 0.2.6 2022-02-23 01:40:47 -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