Commit Graph

18 Commits

Author SHA1 Message Date
Severin Alexander Bühler
55d52ec4b8 chore(homeserver): Refactor Core (#96)
* first draft

* config2 for the time being

* more refactoring

* write default config if it doesnt exist

* added relays to config

* some refactor

* proper bootstrap nodes and relay config validation

* small comments

* rename module

* renamings

* turn listen_ports to listen_socket

* connected config with homeserver

* cleaned up old config

* cleaned up config_old

* removed old config.example.toml

* cleanup tryfrom conversions

* removed dirs-next

* review cleanup

* extracted default config to its own toml file

* use hostname_validator for rfc1123 domain verification

* Domain struct

* fmt

* small config restructure

* use SignupMode in config and moved it to config dir

* moved and simplified lmdb

* save to switch branches

* lots done already

* missin lock file

* pkarr config

* constants

* app context

* used context in more places

* made homeserver independant

* testing feature

* added datadirmock

* getting the hang about testing

* fixed homeserver core tests

* added HandleHolder

* make the homeserver tasks stop when its dropped

* make server handles optional

* properly cleanup all background tasks

* moved logs

* fixed config default toml

* fmt, clippy

* moved stuff around

* lots of moving and readme

* fixed pkarr republisher tests

* removed docs from include

* fixed and refactored testnet

* make simple_testnet work

* httprelay shutdown

* different testnets

* fixing tests1

* fixing tests

* fixing more tests

* unified pkarr versions

* fixed config with bootstrap nodes and relays

* split up test_republish_on_signin to prevent timing issues

* fixed all tests in e2e?

* fixed multi publisher tests

* fixed pubky-client readme

* fixed testnet readme

* added better errors

* admin error

* fixed tests

* format

* clippy

* cllippy

* fixed testnet ports

* fixed client future issue

* improved testnet

* fixed cache_size pkarr relay issue

* small improvements

* fixed low prio dns record

* removed fixed testnet test due to port conflicts

* fixed browserify issues

* fmt

* clippy

* changed wait for testnet hs admin

* fixed docs clippy issues

* added comments

* moved icann_domain

* renamed datadirs

* implemented default for MockDataDir

* renamed run() to start()

* removed unwraps

* fmt

* fixed rename test

* cleaned up admin trace

* added santity values for periodic backup conf and user keys republisher

* fmt

* fmt

* fixed readme lint

* removed println

* fixed admin server edge to anyhow

* added ipv6 support

* removed unnecessary expects

* renamed testnet

* fmt

* renamed me

* changed import

* fmt
2025-04-18 10:00:43 +03:00
SHAcollision
a021813f18 fix(docs): fix cache action (#93) 2025-03-25 08:21:59 -04:00
Severin Alexander Bühler
6f94333101 chore: Renamed pubky member dir to pubky-client (#90)
* chore: Renamed pubky member dir to pubky-client

* fixed paths

* fixed wasm test workflow
2025-03-21 14:24:34 +02:00
Severin Alexander Bühler
ca0995cb23 chore: Moved e2e tests / Fixes circular dependency (#88)
* moved e2e tests

* moved e2e tests to its own workspace member

* fmt
2025-03-21 13:15:33 +02:00
Severin Alexander Bühler
6c4821fe7a fix (pkarr-republisher): Include in Github workflow (#89) 2025-03-20 13:08:28 +02:00
SHAcollision
3407a90756 chore(tests): add wasm tests to CI (#83)
* ci: add WASM testing workflow to GitHub Actions

* ci: enhance WASM testing workflow with testnet startup and cleanup

* ci: enhance testnet setup and testing workflow with improved logging and connectivity checks

* trying something different

* fix: skip testing browser

---------

Co-authored-by: Miguel Medeiros <miguel@miguelmedeiros.com.br>
2025-02-28 19:57:10 -03:00
SHAcollision
00fbd47cb8 chore: add doctests to CI (#77) 2025-02-22 15:48:14 -03:00
Miguel Medeiros
a74dc347b4 ci: split workflows and improve CI efficiency (#75)
* feat: add parallel PR check workflow

* fix: remove branch restriction for PR check workflow

* fix: suppress clippy warnings for needless lifetimes in CI workflows

* refactor: consolidate Clippy checks and streamline test workflows

* feat: add documentation workflow and remove legacy Rust CI workflow

* feat: trigger PR check workflow on push to main branch

* fix: update test command to use CI profile in PR check workflow

* fix: enhance test command with partitioning and retries for improved performance

* fix: remove partitioning from test command in PR check workflow

* fix: update test job to use matrix strategy for multiple crates

* fix: enhance test command with additional options for better output and error handling

* fix: remove silent mode from test command for clearer output

* fix: add check for existing tests before running in PR check workflow

* fix: add missing fi statement to close if condition in PR check workflow

* fix: improve test command logic to handle no tests found scenario
2025-02-21 16:51:00 -04:00
nazeh
5ce462ded6 docs: add permissions write to github workflow 2024-09-09 09:33:54 +03:00
nazeh
e97d794685 Merge branch 'main' of https://github.com/pubky/pubky into docs 2024-09-08 12:09:29 +03:00
nazeh
c8dd8e18b2 docs: test deploy github page 2024-09-08 12:08:04 +03:00
Nuh
449d7ff805 Create mdbook.yml 2024-09-08 12:07:36 +03:00
nazeh
8005034394 docs: add build cache 2024-09-08 11:31:28 +03:00
nazeh
1adf445429 docs: add mdbook build to github actions 2024-09-08 11:19:47 +03:00
nazeh
d8d3a43abd chore: fix tests in ci 2024-07-30 14:44:42 +03:00
nazeh
2366e066cc Merge branch 'main' of https://github.com/pubky/pubky 2024-07-30 13:44:11 +03:00
nazeh
1d36ed9a52 chore: update github workflow 2024-07-12 18:10:13 +03:00
nazeh
327f8dc0cd initial commit 2023-12-07 18:29:41 +03:00