7 Commits

Author SHA1 Message Date
Dimitar Yanakiev
49137a757b
Fix console working directory for root user (#525)
Previously, `$(pwd)` was expanded too early by the parent shell, leading to incorrect working directory output when `cd` was executed within `$request->command`. Replaced `echo "VITO_WORKING_DIR: $(pwd)"` with `echo -n "VITO_WORKING_DIR: " && pwd` to ensure `pwd` executes at the right moment inside the same shell session.

Closes #515
2025-03-02 10:55:06 +01:00
Dimitar Yanakiev
4b8e798e66
fix: prevent "null" from appearing in console after user selection (#501) (#514)
Ensure a default working directory is returned when fetching the console working directory. Previously, if a user is switched before running any commands, `Cache::get` would return `null`. Now, it defaults to `'~'` if no value exists.

Closes #501.
2025-02-28 19:44:12 +01:00
Saeed Vaziry
f5c9d6701b
add directory state to console (#416) 2025-01-01 23:52:27 +01:00
Saeed Vaziry
417bf73e44
API Feature (#334) 2024-11-01 16:49:57 +01:00
Saeed Vaziry
06d690138d - 2.x - console 2024-10-06 21:16:58 +02:00
Saeed Vaziry
d846acaa8d
User management (#185) 2024-04-29 20:58:04 +02:00
Saeed Vaziry
33594f2dba headless console 2024-03-24 21:58:48 +01:00