Commit graph

21 commits

Author SHA1 Message Date
Peng Peng
61d793e4c6
cli, daemon: add olares-cli status backed by olaresd /system/status (#2917)
* cli, daemon: add `olares-cli status` backed by olaresd /system/status

Adds a new top-level `olares-cli status` command that calls the local
olaresd daemon's `/system/status` HTTP endpoint and prints either a
grouped, annotated human-readable report or raw JSON.

To avoid duplicating the response schema, the daemon's `state` struct
and related enums are extracted into a new shared package
`cli/pkg/daemon/state`. The daemon now type-aliases those types so all
existing daemon call sites keep compiling unchanged.

Made-with: Cursor

* cli: drop unused state.APIResponse envelope type

The HTTP client in cli/pkg/daemon/api/client.go intentionally uses an
inline anonymous envelope with json.RawMessage for the data field so
that --json mode can passthrough the bytes verbatim, so the public
APIResponse{Data State} type defined here had zero references. Remove
it; if a strongly-typed consumer ever shows up, re-add then.

Addresses Cursor Bugbot feedback on PR #2917.

Made-with: Cursor
2026-04-21 00:29:50 +08:00
Meow33
776848d2e2
docs: add application environment variables (#2577)
* docs: updated installation env vars and runtime values references

* docs: fix content

* docs: update content

* Update table of contents, and refactored docs.

* Fixed capitalization.

* batch update to fix readability

* refactored declarative env var

* Updated translation.

* Updated based on suggestions.

* Updated based on suggestions.

---------

Co-authored-by: yajing wang <413741312@qq.com>
2026-03-05 17:52:22 +08:00
Meow33
8133704761
docs: add CLI docs for user, upgrade, and disk commands (#2383)
* docs: add CLI docs for user, upgrade, and disk commands

* docs: update based on comments

* docs: fix typo

* docs: refine formatting and add description for argument

* docs: resolve conflicts
2026-01-13 17:30:57 +08:00
Meow33
ba85b0f60d docs/remove outdated env variables 2026-01-09 14:45:07 +08:00
Meow33
d329630509 docs: update mirrors and CDN URLs; hide Windows Docker installation section 2025-11-06 15:49:39 +08:00
Meow33
6d5e66b73b docs: update doc based on feedback 2025-10-29 15:27:00 +08:00
Meow33
ce32e32433 docs: improve formatting and fix minor errors 2025-10-29 11:27:36 +08:00
Meow33
195f8c6ec7 docs: format the doc and add argument section 2025-10-28 21:18:35 +08:00
Meow33
25b2ff91af docs: add documentation for the "user activate" CLI command 2025-10-27 19:34:26 +08:00
cal-weng
6239d18f15 fix deadlinks 2025-10-16 20:40:35 +08:00
cal-weng
7fba177f94 fix dead links and wording 2025-10-15 13:45:04 +08:00
cal-weng
5c3febdfa6 docs: move alternative installation methods back to get started and rewrite the overview page 2025-10-15 11:38:34 +08:00
Meow33
d60accd2f6
update instructions on Install on PVE section (#1871)
* update Install on PVE section

* Update pve-via-iso-image.md
2025-09-25 15:24:41 +08:00
Meow33
1e9f0bca72
docs: update iso install on pve (#1868)
* add doc /Users/a123/Documents/GitHub/Olares/docs/developer/install/pve-via-iso-image.md

* add doc PVE install via ISO image

* Update docs/developer/install/pve-via-iso-image.md

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Update docs/developer/install/pve-via-iso-image.md

* Update docs/zh/developer/install/pve-via-iso-image.md

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* update note for installing the graphics driver

---------

Co-authored-by: Calvin W. <wenghao@bytetrade.io>
2025-09-25 13:39:16 +08:00
Meow33
93a20fa397
docs: update Developer Guide and Concepts sections in Olares (#1816)
* Content modification

1. Hide Recommendation
2. Update link of LLDAP
3. Update content of Service system

* Jump link reset

* Additional changes
2025-09-10 21:01:31 +08:00
cal-weng
bacc6b6517 add notes for start status 2025-09-09 17:50:34 +08:00
Calvin W.
9743336af9
docs: rewrite ControlHub docs for better readability and usability (#1762)
* docs: rewrite ControlHub docs for better readability and usability

* add terminal doc and fix formats

* fix links

* update wording
2025-09-02 21:29:05 +08:00
Calvin W.
ada4d129f6
docs: fix format issues and add notes for domain (#1720) 2025-08-18 21:52:47 +08:00
Peng Peng
a5b9696d16
feat(docs): update storage requirement (#1717)
feat: update storage requirement
2025-08-16 18:49:29 +08:00
Calvin W.
2b45ef7bcf
docs: expose other installation methods (#1685)
* docs: expose other installation methods

* fix case in manifest
2025-08-06 14:59:05 +08:00
Peng Peng
af8e3b172c
feat: add docs to main (#1559) 2025-07-17 11:58:59 +08:00