Commit graph

475 commits

Author SHA1 Message Date
Jonathan Zernik
34af9008bf
Fix height of more menu in nav page (#2070)
* Fix height of more menu in nav page

* Update frontend build
2022-03-29 18:29:22 -07:00
Jonathan Zernik
ad47244d7a
Fix toggle change image modal (#2066)
* Fix toggle change image modal on click

* Fix header text for delete peer modal

* Update frontend build
2022-03-29 17:43:45 -07:00
Jonathan Zernik
b738004093
Use tesla informed for sell price form (#2059)
* Got update sell price form on nav page working with tesla informed library

* Update frontend build
2022-03-29 00:46:55 -07:00
Jonathan Zernik
ee9d68d3e2
Got delete peer and save peer form on peer page working with tesla in… (#2057)
* Got delete peer and save peer form on peer page working with tesla informed library

* Got edit peer form on peer page working with tesla informed library

* Update frontend build
2022-03-29 00:26:04 -07:00
Jonathan Zernik
aca6069c1c
Validate numeric type of peer port (#2056)
* Validate port is a number in add peer form.

* Update frontend build
2022-03-28 23:41:44 -07:00
Jonathan Zernik
7280061b01
Use tesla informed for peers (#2055)
* Got add peer form on peers page working with tesla informed library

* Remove unused state from peers page

* Remove unused functions from peers page

* Got show external address form on peers page working with tesla informed library

* Update frontend build
2022-03-28 23:32:55 -07:00
Jonathan Zernik
12b583efa7
Remove old comment in search page (#2053)
* Remove old comment in search results component

* Update frontend build
2022-03-28 22:49:10 -07:00
Jonathan Zernik
31a5d05247
Use tesla informed for profile forms (#2052)
* Got change profile name form working with tesla informed library

* Got add contact profile form on unknown pubkey page working with tesla informed library

* Got export private key form on profile page working with tesla informed library

* Got export delete profile form on profile page working with tesla informed library

* Got change profile image form on profile page working with tesla informed library

* Remove unused saved state var in profile page

* Update frontend build
2022-03-28 22:39:11 -07:00
Jonathan Zernik
451de52a59
Use informed lib for create profile (#2051)
* Got create signing profile form working with tesla informed

* Got create contact profile form working with tesla informed

* Got add twitter account form working with tesla informed

* Update frontend build
2022-03-28 20:49:57 -07:00
Jonathan Zernik
c3c1c14071
Use tesla informed lib for make squeak form (#2050)
* Improved make squeak form using tesla informed library

* Fix validation of empty content in make squeak form

* Remove inner input box div

* Use css for tesla informed classes

* Update frontend build
2022-03-28 19:23:04 -07:00
Jonathan Zernik
1105746603
Fix header on twitter accounts page (#2049)
* Fix header on twitter accounts page

* Update frontend build
2022-03-28 17:33:38 -07:00
Jonathan Zernik
115520f6dc
Remove media tab (#2046)
* Remove media tab

* Fix liked tab in profile page

* Remove log line

* Update frontend build
2022-03-28 16:01:51 -07:00
Jonathan Zernik
f12957d25b
Fix more menu on twitter account card (#2044)
* Fix more menu on twitter account card

* Update frontend build
2022-03-28 13:12:35 -07:00
Jonathan Zernik
e5359cc27c
Open href links new tab (#2043)
* Open href links in new tab

* Update frontend build
2022-03-28 01:40:51 -07:00
Jonathan Zernik
b3bf018f56
Add link to twitter page (#2042)
* Add link to twitter page in nav more menu

* Use twitter icon in nav more menu

* Update frontend build
2022-03-28 01:35:46 -07:00
Jonathan Zernik
a6eb0f8a51
Auto indent twitter account card (#2041)
* Auto indent twitter account card

* Update frontend build
2022-03-28 01:22:06 -07:00
Jonathan Zernik
6d05637806
Include is_forwarding field in twitter account entry (#2040)
* Include is_forwarding field in twitter account entry

* Show twitter account is forwarding status in twitter account card
2022-03-28 01:17:23 -07:00
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
4b475cec23
Show amboss link (#2026)
* Show amboss link in buy offer display

* Update frontend build
2022-03-26 01:27:43 -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
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
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
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
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
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
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
0dca35a0b7
Npm audit fix (#1967)
* Run npm audit fix

* Update frontend build
2022-02-23 17:42:10 -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
d3274aefa0
Change name of web app (#1955)
* Change name of web app

* Update frontend build
2022-02-22 19:13:10 -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
dependabot[bot]
136fd41c14
Bump color-string from 1.5.3 to 1.9.0 in /frontend (#1951)
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.9.0.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.9.0)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 02:37:15 -08:00
dependabot[bot]
048bb79ec6
Bump path-parse from 1.0.6 to 1.0.7 in /frontend (#1950)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 02:35:37 -08:00
dependabot[bot]
73e8e64b6d
Bump socket.io-parser from 3.3.0 to 3.3.2 in /frontend (#1949)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/3.3.2/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/3.3.0...3.3.2)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 02:35:17 -08:00
dependabot[bot]
c66613f8da
Bump axios from 0.19.2 to 0.21.2 in /frontend (#1948)
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 02:33:30 -08:00
dependabot[bot]
08c3431cf8
Bump tmpl from 1.0.4 to 1.0.5 in /frontend (#1947)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 02:31:25 -08:00
yzernik
18b6d1b189
Update frontend build 2022-02-21 02:20:02 -08:00