Commit graph

188 commits

Author SHA1 Message Date
Jonathan Zernik
06e642b19c
Add profile whitelist (#160)
* Add whitelisted field to profile table

* Fix adding whitelisted field to profile, itest passes now
2020-07-28 02:05:33 -07:00
Jonathan Zernik
b207469046
Add max squeak per block config (#159)
* Add max squeaks per block per address config

* Add rate limiter class

* Check rate limiter in squeaknode before saving squeak

* Got working itest with rate-limited requests
2020-07-28 01:10:04 -07:00
Jonathan Zernik
52d1f59de0
Fix squeak list item padding (#158)
* Fix padding and margin for squeak list item

* Fix padding and margin for squeak detail page and ancestor thread
2020-07-27 15:12:03 -07:00
yzernik
d8e3d3ffc6 Use larger font size for squeak detail component 2020-07-27 04:17:58 -07:00
yzernik
6770d3f571 Fix docstring for get ancestors method of proto 2020-07-27 04:09:58 -07:00
Jonathan Zernik
dffa88de45
Remove logging in handling of ancestor request (#157) 2020-07-27 03:47:39 -07:00
Jonathan Zernik
35de989e14
Fix order of ancestor thread squeaks (#156) 2020-07-27 03:36:47 -07:00
yzernik
2425387ac8 Show thread ancestors in squeak detail page 2020-07-27 03:08:54 -07:00
Jonathan Zernik
a2a80ca576
Fix padding of squeak detail action icons (#155) 2020-07-27 02:17:58 -07:00
Jonathan Zernik
c22674f3a7
Fix spacing of timeline squeak items (#154)
* Use box instead of widget for squeak components

* Use box instead of widget for squeak detail item component
2020-07-27 02:14:48 -07:00
Jonathan Zernik
a37296565c
Thread ancestors db query (#153)
* Add replyto field to squeak display response in rpc method

* Got thread ancestors query working mostyly

* Got thread ancestors query working

* Fix docstring for ancestor query

* Add check for ancestor query to itest
2020-07-27 00:55:58 -07:00
Jonathan Zernik
e5fd3cd066
Rename frontend code folder to squeak-node-frontend (#152) 2020-07-26 15:50:06 -07:00
Jonathan Zernik
343a66d5cb
Add make squeak reply dialog (#151)
* Make squeak reply action on reply click.

* Successfully open makesqueak dialog from reply button click

* Use repeat and favorite icons

* Able to create makesqueak dialog for reply with the correct reply hash in the dialog

* Show replyto squeak in dialog box for make squeak reply

* Fix conversion of replyto hash string in server

* Close makesqueak dialog after submit

* Fix handling of reply when null
2020-07-26 02:20:25 -07:00
Jonathan Zernik
69eed6e3da
Add reply icon to bottom of squeak detail component (#150) 2020-07-26 01:10:49 -07:00
Jonathan Zernik
a35cb1304c
Fix buttons on create profile pages (#149) 2020-07-25 23:16:16 -07:00
Jonathan Zernik
044aec2caf
Remove ui elements from sidebar (#148) 2020-07-25 23:13:33 -07:00
Jonathan Zernik
a5deeb590e
Add dialog for makesqueak (#147)
* Add makesqueak dialog component

* Got dialog to open on fab click

* Add handleclose for makesqueak dialog

* Got makesqueak dialog working

* Simplify html for make squeak dialog

* Fix width of signing profile select formcontrol

* Remove makesqueak pagep
2020-07-25 23:11:47 -07:00
Jonathan Zernik
9946e4f4a1
Fix squeak detail text newlines (#146)
* Fix newlines in squeak detail component

* Rename component to squeakdetailitem
2020-07-25 20:51:51 -07:00
Jonathan Zernik
7450d08e63
Fix squeak click actions (#145) 2020-07-25 20:34:46 -07:00
Jonathan Zernik
48158803a6
Fix multiline text content in squeak thread item component (#144) 2020-07-25 20:25:14 -07:00
yzernik
9764cc5208 Validate form input on makesqueak submit 2020-07-25 19:59:03 -07:00
Jonathan Zernik
baea5f8cdf
Remove extra log lines from admin servicer (#143) 2020-07-25 19:45:18 -07:00
Jonathan Zernik
2db282c897
Add squeak thread item component (#142)
* Add SqueakThreadItem componentn and use it in timeline and squeakaddress page

* Use multiline input form for squeak content in makesqueak

* Use character limit maxLength in textfield

* Fix button style in makesqueak page

* Make input text full width in make squeak page

* Add select signing profile to make squeak page

* Fix submit makesqueak button
2020-07-25 19:34:28 -07:00
Jonathan Zernik
ad3d7bbb8c
Fix warnings about html p element caused by typography (#141) 2020-07-25 17:32:12 -07:00
Jonathan Zernik
5ab01107e4
Fix squeak page hash (#140)
* Use bytes for all squeak hashes in admin proto

* Use string for squeak_hash grpc fields in admin rpc

* Fix redirect to squeak page from make squeak

* Verfiy block synchronously before returning response in make_squeak
2020-07-25 17:19:54 -07:00
Jonathan Zernik
96c72f640e
Add squeak page (#139)
* Create squeak page

* Fix click address on squeak item handler

* Add handle squeak click handler

* Fix handle squeak click in timeline page
2020-07-25 00:11:35 -07:00
Jonathan Zernik
b8f321f78d
Fix missing dependency in squeak address page (#138)
* Fix missing dependency in squeakaddress page

* Fix missing dependency in profile page
2020-07-24 23:13:46 -07:00
Jonathan Zernik
441aecd148
Create tabls in profiles page (#137)
* Create tab for signing profiles in profiles page

* Add rpc methods to create and get contact profiles

* Create tab for contact profiles

* Create page for create profile

* Fix submit create contact profile form

* Fix get contact profiles request in profiles page

* Fix validation of squeak address in create contact method

* Validate squeak address in create contact profile frontend
2020-07-24 22:43:39 -07:00
Jonathan Zernik
e1ff407598
Fix link to address page from squeak component (#136)
* Fix link to address page from squeak component

* Include squeaks in address page
2020-07-24 00:26:42 -07:00
Jonathan Zernik
93fff0e3da
Fix 'has a missing dependency' in squeakaddress page (#135) 2020-07-23 23:55:36 -07:00
yzernik
378073b97a Use unique key using hash for squeak timeline list 2020-07-23 23:21:29 -07:00
Jonathan Zernik
d4ce7fbf29
Change squeak layout (#134)
* Change squeak layout

* Show squeaks for address in address page

* Use new squeak layout
2020-07-23 18:49:52 -07:00
Jonathan Zernik
1ddd70ab92
Remove sample notifications (#133) 2020-07-23 17:30:39 -07:00
Jonathan Zernik
5904ed9a11
Show author name in squeak timeline items (#132) 2020-07-23 17:26:54 -07:00
Jonathan Zernik
6d7247eb13
Show squeaks timeline (#131)
* Show list of squeaks in timeline page

* Change text for no info in timeline page

* Shows squeaks in timeline
2020-07-23 16:38:50 -07:00
Jonathan Zernik
a95f7bbded
Add timeline page (#130)
* Add timeline page

* Add timeline to sidebar

* Show number of squeaks in timeline page

* Revert dashboard page back to original

* Remove dashboard and notifications pages from sidebar
2020-07-23 15:13:29 -07:00
Jonathan Zernik
6ed772f34e
Use list comprehensions to build results in admin servicer (#129) 2020-07-23 14:00:53 -07:00
yzernik
402d2d5009 Change labels for channel grid info fields 2020-07-23 04:21:25 -07:00
Jonathan Zernik
981b7ae994
Change message when unable to fetch lnd indo (#128) 2020-07-23 04:19:31 -07:00
Jonathan Zernik
dbeeb1218b
Add channels grid item (#127)
* Add channels grid item

* Add wallet balance grid item
2020-07-23 04:03:44 -07:00
Jonathan Zernik
16d497fac8
Disable widget menu buttons (#126) 2020-07-23 03:33:23 -07:00
Jonathan Zernik
b9290ef1ec
Add lightning page (#125)
* Add lightning page

* Add lightning node status grid item

* Add grid box for node pubkey
2020-07-23 03:22:53 -07:00
Jonathan Zernik
272d018f06
Show alert when makesqueak fails (#124) 2020-07-23 01:45:09 -07:00
Jonathan Zernik
65fb2635a5
Add sidebar item for makesqueak (#123) 2020-07-23 01:28:31 -07:00
Jonathan Zernik
bac577b792
Use volume for postgres db (#122) 2020-07-23 01:02:57 -07:00
Jonathan Zernik
531550bac8
Fix main docker-compose to connect to btcd with cert (#121) 2020-07-23 01:01:25 -07:00
yzernik
86f96dbdb8 Add missing links and volumes to sqkserver docker-compose 2020-07-23 00:37:00 -07:00
Jonathan Zernik
9658517380
Fix port for btcd in docker-compose (#120) 2020-07-22 22:30:29 -07:00
Jonathan Zernik
b1cfd1a698
Rename id to address in squeakaddress page (#119) 2020-07-22 22:10:53 -07:00
Jonathan Zernik
b9c7b10488
Add signing profile seleect to make squeak (#118)
* Add select for signing profile to make squeak page form

* Successfully send makesqueak request from frontend with dropdown select signing profile working

* Handle response when profile or squeak is None

* Fixed props of profiles grid

* Catch exception in queue verifier worker thread
2020-07-22 21:35:27 -07:00