From cd3b4d6946ec48215f18d50daebeb29a8147da54 Mon Sep 17 00:00:00 2001 From: deicidus <> Date: Fri, 10 Jun 2022 07:12:03 -0700 Subject: [PATCH] removed manual, few server tweaks --- .gitignore | 40 +++++- src/components/TreeReader.svelte | 120 ++++++++++++++++++ src/routes/index.svelte | 20 ++- src/semantics.ts | 9 +- src/server/auth.ts | 2 +- src/server/router.ts | 4 +- src/server/torControl.ts | 3 +- src/server/utils.ts | 7 +- static/manual/0_overview/1_getting_started.md | 11 -- .../0_overview/2_parts_of_the_screen.md | 11 -- static/manual/0_overview/index.md | 13 -- static/manual/10_hardware/index.md | 1 - static/manual/11_installation/1_ao-cli.md | 108 ---------------- static/manual/11_installation/index.md | 1 - .../1_connecting_hardware.md | 35 ----- static/manual/12_administration/2_p2p.md | 5 - .../12_administration/3_file_hosting.md | 5 - .../manual/12_administration/4_snapshots.md | 5 - static/manual/12_administration/5_updating.md | 12 -- static/manual/12_administration/6_security.md | 1 - static/manual/12_administration/index.md | 1 - static/manual/13_dev/1_roadmap.md | 13 -- static/manual/13_dev/2_components.md | 5 - static/manual/13_dev/3_help.md | 5 - static/manual/13_dev/index.md | 5 - static/manual/14_philosophy/1_desert_power.md | 19 --- static/manual/14_philosophy/2_praxis.md | 7 - static/manual/14_philosophy/3_immediacy.md | 7 - .../manual/14_philosophy/4_unmanageability.md | 3 - .../manual/14_philosophy/5_unscalability.md | 1 - static/manual/14_philosophy/6_unmodularity.md | 5 - .../14_philosophy/7_minimalism_atomicity.md | 9 -- static/manual/14_philosophy/8_progress.md | 13 -- static/manual/14_philosophy/index.md | 9 -- static/manual/15_tech_support/index.md | 7 - static/manual/1_cards/1_deck.md | 21 --- static/manual/1_cards/2_navigating.md | 7 - static/manual/1_cards/3_zones.md | 37 ------ static/manual/1_cards/4_moving_discarding.md | 9 -- static/manual/1_cards/5_search.md | 9 -- static/manual/1_cards/6_gifts_inbox.md | 16 --- static/manual/1_cards/7_bookmarks.md | 11 -- static/manual/1_cards/8_hub.md | 9 -- static/manual/1_cards/index.md | 15 --- static/manual/2_productivity/1_checkbox.md | 7 - .../manual/2_productivity/2_priority_mode.md | 5 - static/manual/2_productivity/3_timeclock.md | 5 - static/manual/2_productivity/4_hopper.md | 5 - static/manual/2_productivity/5_drawpile.md | 5 - static/manual/2_productivity/index.md | 5 - static/manual/3_media/1_uploads.md | 15 --- static/manual/3_media/2_video_caching.md | 3 - static/manual/3_media/3_playlists.md | 1 - static/manual/3_media/index.md | 5 - static/manual/4_guilds/1_guilding.md | 5 - static/manual/4_guilds/2_joining.md | 5 - static/manual/4_guilds/3_video_chat.md | 5 - static/manual/4_guilds/4_stash.md | 5 - static/manual/4_guilds/index.md | 5 - static/manual/5_events/1_booking.md | 19 --- static/manual/5_events/2_agenda.md | 5 - static/manual/5_events/index.md | 5 - static/manual/6_account/1_password.md | 5 - static/manual/6_account/2_username.md | 5 - static/manual/6_account/index.md | 1 - static/manual/7_members/1_creating.md | 15 --- static/manual/7_members/2_rent.md | 13 -- static/manual/7_members/3_admin.md | 33 ----- static/manual/7_members/index.md | 1 - .../manual/8_points_bounties/1_refilling.md | 5 - static/manual/8_points_bounties/2_spending.md | 5 - static/manual/8_points_bounties/index.md | 5 - static/manual/9_crypto/1_lightning.md | 5 - static/manual/9_crypto/2_tickers.md | 7 - static/manual/9_crypto/index.md | 5 - static/manual/index.md | 9 -- static/manual/whats_it_for.md | 53 -------- 77 files changed, 183 insertions(+), 750 deletions(-) create mode 100644 src/components/TreeReader.svelte delete mode 100644 static/manual/0_overview/1_getting_started.md delete mode 100644 static/manual/0_overview/2_parts_of_the_screen.md delete mode 100644 static/manual/0_overview/index.md delete mode 100644 static/manual/10_hardware/index.md delete mode 100644 static/manual/11_installation/1_ao-cli.md delete mode 100644 static/manual/11_installation/index.md delete mode 100644 static/manual/12_administration/1_connecting_hardware.md delete mode 100644 static/manual/12_administration/2_p2p.md delete mode 100644 static/manual/12_administration/3_file_hosting.md delete mode 100644 static/manual/12_administration/4_snapshots.md delete mode 100644 static/manual/12_administration/5_updating.md delete mode 100644 static/manual/12_administration/6_security.md delete mode 100644 static/manual/12_administration/index.md delete mode 100644 static/manual/13_dev/1_roadmap.md delete mode 100644 static/manual/13_dev/2_components.md delete mode 100644 static/manual/13_dev/3_help.md delete mode 100644 static/manual/13_dev/index.md delete mode 100644 static/manual/14_philosophy/1_desert_power.md delete mode 100644 static/manual/14_philosophy/2_praxis.md delete mode 100644 static/manual/14_philosophy/3_immediacy.md delete mode 100644 static/manual/14_philosophy/4_unmanageability.md delete mode 100644 static/manual/14_philosophy/5_unscalability.md delete mode 100644 static/manual/14_philosophy/6_unmodularity.md delete mode 100644 static/manual/14_philosophy/7_minimalism_atomicity.md delete mode 100644 static/manual/14_philosophy/8_progress.md delete mode 100644 static/manual/14_philosophy/index.md delete mode 100644 static/manual/15_tech_support/index.md delete mode 100644 static/manual/1_cards/1_deck.md delete mode 100644 static/manual/1_cards/2_navigating.md delete mode 100644 static/manual/1_cards/3_zones.md delete mode 100644 static/manual/1_cards/4_moving_discarding.md delete mode 100644 static/manual/1_cards/5_search.md delete mode 100644 static/manual/1_cards/6_gifts_inbox.md delete mode 100644 static/manual/1_cards/7_bookmarks.md delete mode 100644 static/manual/1_cards/8_hub.md delete mode 100644 static/manual/1_cards/index.md delete mode 100644 static/manual/2_productivity/1_checkbox.md delete mode 100644 static/manual/2_productivity/2_priority_mode.md delete mode 100644 static/manual/2_productivity/3_timeclock.md delete mode 100644 static/manual/2_productivity/4_hopper.md delete mode 100644 static/manual/2_productivity/5_drawpile.md delete mode 100644 static/manual/2_productivity/index.md delete mode 100644 static/manual/3_media/1_uploads.md delete mode 100644 static/manual/3_media/2_video_caching.md delete mode 100644 static/manual/3_media/3_playlists.md delete mode 100644 static/manual/3_media/index.md delete mode 100644 static/manual/4_guilds/1_guilding.md delete mode 100644 static/manual/4_guilds/2_joining.md delete mode 100644 static/manual/4_guilds/3_video_chat.md delete mode 100644 static/manual/4_guilds/4_stash.md delete mode 100644 static/manual/4_guilds/index.md delete mode 100644 static/manual/5_events/1_booking.md delete mode 100644 static/manual/5_events/2_agenda.md delete mode 100644 static/manual/5_events/index.md delete mode 100644 static/manual/6_account/1_password.md delete mode 100644 static/manual/6_account/2_username.md delete mode 100644 static/manual/6_account/index.md delete mode 100644 static/manual/7_members/1_creating.md delete mode 100644 static/manual/7_members/2_rent.md delete mode 100644 static/manual/7_members/3_admin.md delete mode 100644 static/manual/7_members/index.md delete mode 100644 static/manual/8_points_bounties/1_refilling.md delete mode 100644 static/manual/8_points_bounties/2_spending.md delete mode 100644 static/manual/8_points_bounties/index.md delete mode 100644 static/manual/9_crypto/1_lightning.md delete mode 100644 static/manual/9_crypto/2_tickers.md delete mode 100644 static/manual/9_crypto/index.md delete mode 100644 static/manual/index.md delete mode 100644 static/manual/whats_it_for.md diff --git a/.gitignore b/.gitignore index f4401a3..4f89d40 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,40 @@ .DS_Store node_modules -/build -/.svelte-kit -/package +build +dist +dist-ssr +/production +/cert +*.local + +# local env files .env +.env.local +.env.*.local .env.* -!.env.example + +# Log files +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +# Editor directories and files +.idea +.vscode +.vscode/* +!.vscode/extensions.json +*.suo +*.ntvs* +*.njsproj +*.sln +*.code-workspace +configuration.js +client-configuration.js +database.sqlite3 +personal_access_token.git +.idea +*.sw? diff --git a/src/components/TreeReader.svelte b/src/components/TreeReader.svelte new file mode 100644 index 0000000..d94b4e2 --- /dev/null +++ b/src/components/TreeReader.svelte @@ -0,0 +1,120 @@ + + +
+

{gloss(title)}

+
+ {subTopic ? ( +

{gloss(subTopic)}

+ ) : ( +

{toTitleCase(gloss(topic))}

+ )} + {subTopic + ? renderContent(topics[topic][subTopic]) + : topic && typeof topics[topic] === 'string' + ? renderContent(topics[topic]) + : renderContent(topics[topic]['index'])} +
+ +
+ + \ No newline at end of file diff --git a/src/routes/index.svelte b/src/routes/index.svelte index d431be8..1b19274 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -126,6 +126,10 @@ svg img static: >Manual-first (manual as spec, written in Markdown, available via ao-cli)
  • Features added as modularly as possible
  • +
  • ShadowChat (live chat for those present) as foundational browser and ao-cli + feature
  • AO Quest tutorial mode built on manual-first + feature-modularity unlocking adventure
  • SSR and well-organized RESTful endpoints
  • TypeScript server
  • +
  • ActivityPub fediverse integration planned
  • +
  • RSS reader planned
  • todo

    features

    -

    These features to be implemented in order with each feature polished and - bug-free before starting the next feature.

    +

    These features to be implemented in order with each feature polished and + bug-free before starting the next feature.