Commit Graph

145 Commits

Author SHA1 Message Date
pavel edfdfd6dbc
2.0 (#523)
* set up tailwind

* add typography tokens

* add shadows tokens

* add border radius tokens

* add react-aria

* update tailwind config

* update tokens

* fix deps

* add blur variant

* update tw config

* upgrade storybook

* update storybook config

* add inter

* wip button

* wip input

* wip tabs

* update typography tokens

* u storybook

* add types to src root

* update storybook config

* add sb type

* u storybook

* add icon button

* add input

* add checkbox

* add counter

* update checkbox

* add dropdown

* update button

* f storybook types

* u deps

* update base config

* update icon imports

* add text

* update colors build output

* fix import

* update colors format

* add .vsode setting

* update components buidl

* mv

* u button

* add popover

* u

* add types

* u shortcut

* fix icons attributes

* f

* mv

* u

* add toast

* update tw formatting

* rm apps

* rm examples

* rm tamagui

* dist tailwind config

* rm more

* stricter tsconfig

* add source field

* remove tokens

* rm tamagui files

* add prettier config to components

* u text props

* add tooltip

* u toast

* do not pass props

* u icon buton

* u dropdown button

* add icon only to button

* u type

* checkbox

* wip

* fix build

* fix components build

* u tooltip

* add theme

* add input

* u checkbox

* update dropdown-button

* add dropdown menu

* move input to be reviewew

* u dropdown button

* u

* u popover

* u tabs

* mv IconComponent -> IconElement

* u tag

* u context tag

* u

* fix context tag story

* add provider

* u button

* u avatar

* f avatar

* a opacity to avatar

* f prettier

* f avatar

* f

* f

* rm old setting

* fix button props

* skeleton wip

* rm config

* a dropdown submenu

* add blur variant

* add step

* add step to tabs

* add blur to context tag

* u

* add 80 to community

* u tw config

* add type

* u checkbox

* fix dropdown menu checkbox item

* u button

* unify content

* customize color globally

* add icons stories

* add colors story

* rm

* u

* rm dep

* cleanup

* u tsconfig

* f opacity for emoji

* remove "web#build" task from turbo.json

* f dropdown menu

* u tw export

* add license

* add changeset

* update readme

* f steps

* f tag

* f button

* udpate colors format

* update customisation color tailwind config

* fix opacity

* add shadow dark mode

* u readme

* u

---------

Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com>
Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
2024-09-25 17:17:58 +02:00
Felicio Mununga 6523d5c548
update peers (#576) 2024-07-24 15:51:30 +02:00
Felicio Mununga ef5c31fff7
trim whitespace of encoded emoji (#559)
* trim whitespace of encoded emoji

* Create eighty-crabs-accept.md
2024-05-09 18:25:56 +02:00
Felicio Mununga 4106248634
optimize handling of token owner waku messages (#557)
* optimize handling of token owner waku messages

* Create silent-comics-rule.md
2024-05-09 16:10:40 +02:00
Felicio Mununga a7008b5108
handle segmented waku messages (#556)
* handle segmented waku messages

* Create red-zoos-watch.md
2024-05-09 16:08:35 +02:00
Felicio Mununga 8249e9f9e9
fix community schema in encode-url-data.ts (#554)
* fix community schema in encode-url-data.ts

* Create fifty-items-speak.md
2024-04-29 18:32:57 +02:00
Felicio Mununga 18504de67c
fix user schema in `encode-url-data.ts` (#550)
* Update encode-url-data.ts

* f

* Create stale-yaks-appear.md
2024-04-22 17:19:08 +02:00
Felicio Mununga 13f7ed5415
fix channel schema `encode-url-data.ts` (#549)
* Update encode-url-data.ts

* Create slimy-keys-melt.md

* f

* f
2024-04-22 17:02:39 +02:00
Felicio Mununga f9af5e0216
validate encoded data (#544)
* validate encoded data

* u

* c
2024-04-08 16:21:17 +09:00
Felicio Mununga e863523510
update `RequestClient` options (#546)
* update `RequestClient` options

* c

* u
2024-03-26 15:15:55 +09:00
Felicio Mununga 7da654649d
iterate entity metadata sequentially (#543)
* iterate entity metadata sequentially

* r

* c
2024-03-26 14:28:54 +09:00
Felicio Mununga 195e3f9a5a
validate metadata for communities with owner token (#541)
* u

* u

* u

* a

* a

* u

* a

* u

* a

* f

* u

* c
2024-03-26 13:45:48 +09:00
Felicio Mununga 6b4e6b1566
stop fetching early (#539)
* stop fetching early

* Create yellow-pets-invent.md
2024-03-18 23:34:00 +09:00
Felicio Mununga 9a495fd902
handle updates for encrypted communities (#537)
* a

* t

* t

* f

* c

* c

* r
2024-03-18 21:47:54 +09:00
Felicio Mununga 70de4ec769
add `publicKeyToETHAddress` fn (#536) 2024-03-18 21:35:37 +09:00
Felicio Mununga 02abf3417b
update `protos` (#535)
* update `protos`

* c

* f
2024-03-18 21:30:38 +09:00
Felicio Mununga 22e727ee73
handle larger messages (#531)
* p

* u

* f

* u

* c
2024-03-15 11:04:03 +09:00
Felicio Mununga 9adaeb6fed
add store nodes from `shard.test` fleet (#529)
* u

* u

* t

* t

* u

* u

* t

* f

* r

* u

* d

* c
2024-03-14 18:13:17 +09:00
Felicio Mununga edb4beefdd
config `@libp2p/bootstrap` (#513)
* config `@libp2p/bootstrap`

* Create late-hotels-hide.md

* f
2023-12-15 14:17:25 +01:00
Felicio Mununga 51df6dbb4c
use `@waku/sdk` (#507)
* u `@bufbuild`

* use `@waku/sdk`

* Create eleven-experts-cough.md
2023-11-10 00:06:41 +01:00
Jakub Kotula 80b6f7afb5
Export serialize public key (#505) 2023-11-06 17:54:26 +01:00
Felicio Mununga 6c24833a91
remove url signatures (#461)
* rm sigs

* Create sharp-mangos-divide.md

* fix apps/web lint

* rm URLParams
2023-08-10 13:47:14 +02:00
Felicio Mununga 45ae36a64f
[website] resolve ENS public key (#415)
* remove og api route

* sort deps

* add compress opt to resolve fn

* add ens api route

* use ens

* fix loading state

* type response

* use await

* add zod dep

* add schema module

* add declaration file

* update yarn.lock

* mv next.config.js to next.config.mjs

* require some env

* update env loading

---------

Co-authored-by: Pavel Prichodko <14926950+prichodko@users.noreply.github.com>
2023-06-20 12:05:59 +01:00
Felicio Mununga 8ec5bf3bc5
[website] Revert URL verification (#412)
* revert status-js

* revert website
2023-06-06 14:10:11 +02:00
Felicio Mununga eb5cbcdda3
[website] Add link previews (#407)
---------

Co-authored-by: Pavel Prichodko <14926950+prichodko@users.noreply.github.com>
2023-05-29 17:11:02 +02:00
Felicio Mununga f3bb59597e
Fix `@status-im/js` build (#389)
* build cjs

* change mod exports

* tmp: add rebuild script

* export peers

* user browser field

* rm tmp changes
2023-05-03 14:48:16 +02:00
Felicio Mununga ab319aa602
Expose `fetchCommunityDescription` in request client (#386)
* export val

* add started flag

* use pks[]

* fix export

* throw on stop

* rm log

* Revert "use pks[]"

This reverts commit 5d4d7e4b6e.

* make fn public
2023-04-27 19:43:42 +02:00
Felicio Mununga adac3ad25e
format files 2023-04-17 12:17:23 +02:00
Felicio Mununga a0d3277733
Add `ethers` and resolve chat key from ENS name (#357)
* add `ethers`

* add `resolveChatKey`
2023-04-04 14:10:56 +02:00
Felicio Mununga 3dbd022f47
encode only community's name in channel URL (#358) 2023-04-04 14:10:43 +02:00
Felicio Mununga 60413bf39b
add unverified URL data test case 2023-03-21 12:42:37 +01:00
Felicio Mununga 67b12fceb0
Add url data encoding (#345)
* add @scure/base

* add link-preview.proto

* add prototype of encode function

* add tests

* add test cases

* update proto

* more

* more

* add missing community chat description to proto

* more

* more

* add browser brotli and lz-string

* move encoding comparison

* add sinlge encoding

* split encoding

* add decoding

* update .prettierignore

* exclude comparison

* remove comparison tests

* Update packages/status-js/src/utils/encode-url-data.test.ts

* Update packages/status-js/src/utils/encode-url-data.test.ts

* remove checksum

* ensure channel is serializable

* Update .prettierignore

* update protos

* add creaet-url.ts

* set links

* comment

* update protos

* add nominal type for EncodedUrlData

* add sign/verify fns

* export fns from index

* set zlib as external module

* add tag indices

* encode channel uuid

* use `.toJson()` with type assertion

* use uppercase url

* split url creating fns

* fix typo

* describe test suite

* use getters

* fix nominal type

* remove `node:` prefix from `zlib` import

* remove todos?:

* rename URLProps to URLParams

* fix package.json after rebase
2023-03-21 11:05:59 +01:00
Felicio Mununga d832a0c283
Add request client (#342)
* add `preview-client.ts`

* add exports

* fix imports

* set emoji hash

* use `message.timestamp`

* rename `RequestClient`

* drop preview keyword

* rm `appUrl`

* rm todo?:

* remove social urls

* remove if clause
2023-03-15 14:14:26 +01:00
Felicio Mununga 6b3ef713e9
Add public key deserialization (#341)
* add `multiformats` dep

* add `deserialize-public-key.ts`

* compress by default

* add tests

* Update packages/status-js/src/utils/deserialize-public-key.ts

Co-authored-by: Pavel <14926950+prichodko@users.noreply.github.com>

* rename vars

---------

Co-authored-by: Pavel <14926950+prichodko@users.noreply.github.com>
2023-02-23 16:48:31 +01:00
Felicio Mununga 1faeb69ac1
Add emoji hash function (#343)
* add emojis

* add func

* add tests
2023-02-21 14:26:42 +01:00
Felicio Mununga 942146d0be
Use `@bufbuild` (#337)
* remove old `communities.proto`

* fix `protos` npm script

* apply `protos` changes overwriting `Record<>` patches

* update proto files

* regenerate files

* update `protons*` packages

* regen files

* use `protons` generate communities

* add `@bufbuild*` packages

* update `buf` yaml files

* generate `@bufbuild` files

* use `@bufbuild` files

* format

* remove `protobufjs`

* remove `protons`

* resolve build errors

* fix image content type
2023-02-21 12:34:48 +01:00
Felicio Mununga 587a0786ad
add `decompress-public-key.ts` (#336) 2023-02-10 10:09:42 +01:00
Felicio Mununga 8bebe944e7
dispatch `CONNECT` 2022-11-28 03:02:25 +01:00
Felicio Mununga cd0f10d94e
remove codec eval from `connectionManager` listener 2022-11-28 00:11:19 +01:00
Felicio Mununga 5cef43991f
add `libp2p` connection listeners 2022-11-27 23:54:43 +01:00
Felicio Mununga 3d5c490185
move `wakuDisconnectionTimer` to constructor 2022-11-27 22:52:24 +01:00
Felicio Mununga 8e61ebf90c
change `wakuDisconnectionTimer` to handle light protocols 2022-11-27 17:45:56 +01:00
Felicio Mununga 86ac150626
dispatch `FAIL`
- stops client on failed initialization
- displays failed message
2022-11-27 17:07:58 +01:00
Felicio Mununga d35c311096
specify protocols in waitForRemotePeer 2022-11-17 02:47:57 +01:00
Felicio Mununga a2550b61d7
set pingKeepAlive to aid in connection recovery 2022-11-16 23:45:42 +01:00
Felicio Mununga 4590d4b852
Use WakuLight 2022-11-15 01:47:56 +01:00
Felicio Mununga 48d7f34803
Use MessageV1 type 2022-11-15 00:59:16 +01:00
Felicio Mununga d68409eb6f
Install `js-waku@^0.30.0` 2022-11-14 23:06:34 +01:00
Pavel Prichodko 9379dc6078
fix account restoration 2022-10-09 18:26:11 -05:00
Pavel 95dc03b99f
Fetch history (#292) 2022-10-07 21:30:22 +02:00