Commit Graph

8980 Commits

Author SHA1 Message Date
dasman
19f70bd58f event_graph: gracefully stop pruning task 2024-07-30 19:00:26 +03:00
darkfi
e701c72888 wallet: correct page loading logic 2024-07-30 12:45:53 +02:00
darkfi
df406f0787 wallet: use pages abstraction to cache drawcalls in a smarter way 2024-07-30 12:35:18 +02:00
draoi
687a1a54ad acceptor: don't shutdown the accept process on broken pipe (EPIPE) 2024-07-30 11:18:54 +02:00
rsx
b76088fb79 wallet: chatview avoid scrolling past the bottom lol 2024-07-30 09:14:48 +02:00
darkie
37647a65c9 wallet: prioritize processing gfx events before drawing. Which makes sense if you think about it... 2024-07-29 22:04:34 +02:00
darkie
72fc690b47 doc: update darkirc path for autobuf script 2024-07-29 21:47:50 +02:00
darkfi
34e6bb80b3 wallet: more accurate finger scroll 2024-07-29 11:19:49 +02:00
darkfi
956c769155 wallet: improve LIGHTMODE coloring 2024-07-28 11:55:26 +02:00
darkfi
0bcd7d9386 wallet: add chatview coloring 2024-07-28 11:42:53 +02:00
rsx
a79d3ab15f darkwallet: add a lightmode for eink monitors 2024-07-27 22:04:04 +02:00
darkfi
46279cb748 darkwallet: android touch scrolling chatview 2024-07-27 13:39:49 +02:00
darkfi
4d67c780d8 darkwallet: increase debugging info in app schema 2024-07-27 13:39:27 +02:00
darkfi
b31bff1728 darkwallet: image widget able to load images from APK assets 2024-07-27 13:38:42 +02:00
darkfi
1ad9752581 darkwallet: move from docker to podman (eat ze bugs) 2024-07-27 13:36:17 +02:00
darkfi
a0ca9f7503 wallet: make sure we reset the viewport between each draw call since children draw calls can modify the view too. 2024-07-26 11:07:20 +02:00
darkfi
7ac19cd843 wallet: render da fucking king gnu (display images) 2024-07-26 10:04:39 +02:00
darkfi
bdc3f99f22 wallet: chatview which is scrollable via scroll property 2024-07-25 18:37:25 +02:00
darkfi
bb555c9e1c wallet: bugfix serialization typo 2024-07-25 10:04:15 +02:00
dasman
e2a19d6c7b tau: set default workspace 2024-07-25 04:22:19 +03:00
dasman
a6e05ad395 tau: allow modifying task description using EDITOR 2024-07-25 04:21:32 +03:00
dasman
3bb373c01c darkirc: truncate PRIVMSGs longer than 512 2024-07-25 04:19:51 +03:00
draoi
65e669f1a1 hosts: delete darklist entries older than one day
We introduce a new method called refresh() which deletes hosts older
than a specified period. This is applied to the darklist when we load it
on start(), and when we store hosts onto our darklist that are received by
other peers.

We do this to avoid the risk of passing faulty nodes around the network,
and assume that one day is sufficient for valid hosts to propagate to
hosts that support that transport.
2024-07-24 12:17:08 +02:00
draoi
7e1b792dc2 chore: make clippy 2024-07-24 12:17:08 +02:00
draoi
b56193acb8 Revert "refine_session: clear the darklist once a day"
This reverts commit 38aa8be3b3.
2024-07-24 12:17:08 +02:00
dasman
307820f6df remove tau-cli from workspace in Cargo.toml 2024-07-24 03:15:31 +03:00
dasman
9e410ede15 remove unused tau-cli 2024-07-24 03:12:31 +03:00
dasman
77533a5312 tau: prevent empty comments on tasks 2024-07-24 03:08:20 +03:00
draoi
36204d3685 channel: deserialize vector, not individual bytes on read_command() 2024-07-23 18:05:21 +02:00
draoi
c699d326a9 doc: update hosts.rs HostColor documentation 2024-07-23 14:56:35 +02:00
draoi
38aa8be3b3 refine_session: clear the darklist once a day
This helps reduce the tradeoff space between a) ensuring all transports
are propagated, even those we do not support b) ensuring hosts shared
around the network are valid.

We assume that a one day period is sufficient for valid hosts to
propagate and enter into non-dark hostlists of a peer that does support
this transport.
2024-07-23 14:54:17 +02:00
draoi
3b0e012126 src: Use peers() instead of channels() method where applicable
The following messages are now only broadcast to peers (inbound/ manual/
outbound session) and not seed or refinery connections:

* EventGraph DAG sync
* OutboundSession `GetAddrs`

The following changes have been made to the p2p API:

* p2p.broadcast() now only sends to peers, not seeds or refine connections.
* p2p.is_connected() only reports peer connections, not all (seed, refinery) connections.
2024-07-23 11:54:05 +02:00
draoi
5e5bca6340 rpc: add SESSION_REFINE to channel matching in p2p_method() 2024-07-23 11:54:05 +02:00
darkfi
df0c938ee4 wallet: fix panic caused by freeing textures/buffers before we updated the draw call. 2024-07-23 11:26:08 +02:00
skoupidi
fa6a4be257 net/hosts: use reference in block_all_ports() 2024-07-22 19:34:51 +03:00
skoupidi
151aa186c4 net/channel: introduced Message pre-serialization for minor optimization of p2p.broadcast() 2024-07-22 19:29:09 +03:00
draoi
d63f675fba net: match on host() instead of host_str() in block_all_ports
This fixes a bug where IPv6 addresses could be truncated in different
ways during the comparison due to the `host_str()` conversion and potentially be treated as different addresses.
2024-07-22 18:21:02 +02:00
draoi
5be7a372e8 hosts: use host() not host_str() method in filter_addresses()
Also add an additional check and print a warning if an external address
enters the hostlist.
2024-07-22 18:21:02 +02:00
draoi
a316bcc84e hosts: make peers() reject both seed and refine session channels 2024-07-22 18:21:02 +02:00
darkfi
17d837ee6c wallet: chatview rendering text 2024-07-22 12:48:36 +02:00
draoi
3b8a685d9c hosts: add peers() method to return channels minus seed connections 2024-07-22 12:04:39 +02:00
draoi
c9a66fdd63 dnet: update urwid version and switch to urwid scroll 2024-07-22 10:39:24 +02:00
draoi
91c890a1fa dnet: enable lilith on/off switching 2024-07-22 09:24:33 +02:00
draoi
25b614fadd dnet: reimplement node dis(connect) handling 2024-07-21 16:39:38 +02:00
draoi
aeb7f8b90a dnet: simplify view.py and improve inbound (dis)connection handling
Stiill TODO:

* re-implement offline nodes comes online, online node goes offline
* update to latest urwid version.
2024-07-21 16:39:38 +02:00
darkfi
d59ea7175f doc: darkirc section run podman in rootless mode as your local user 2024-07-21 11:13:25 +02:00
darkfi
6de436658b darkirc: switch recommendation from docker to podman for android builds 2024-07-21 11:01:18 +02:00
darkfi
4bcb5f9336 book: make it clearer that darkirc is compiled on desktop 2024-07-21 09:22:44 +02:00
skoupidi
cc9d4a87c4 darkirc/darkirc_config: seed fallback torrc onion added 2024-07-20 21:35:00 +03:00
skoupidi
0eb5203671 script/ping: increased timeout 2024-07-20 15:26:38 +03:00