cleanup
This commit is contained in:
parent
a49371c3dd
commit
251af10faf
1190 changed files with 12636 additions and 12476 deletions
|
|
@ -44,24 +44,24 @@ This file is the first stop for future Codex sessions working in this repository
|
|||
- `Panel/modules/config_games/schema_server_config.xml`
|
||||
- `Panel/modules/config_games/server_config_parser.php`
|
||||
- `Panel/includes/lib_remote.php`
|
||||
- `Agent_Linux/ogp_agent.pl`
|
||||
- `Agent-Windows/OGP64/OGP/ogp_agent.pl`
|
||||
- `Agent_Linux/gsp_agent.pl`
|
||||
- `Agent-Windows/GSP64/GSP/gsp_agent.pl`
|
||||
|
||||
### Status Logic
|
||||
|
||||
- `Panel/includes/lib_remote.php`
|
||||
- `Panel/modules/gamemanager/home_handling_functions.php`
|
||||
- `Panel/modules/gamemanager/server_monitor.php`
|
||||
- `Agent_Linux/ogp_agent.pl`
|
||||
- `Agent-Windows/OGP64/OGP/ogp_agent.pl`
|
||||
- `Agent_Linux/gsp_agent.pl`
|
||||
- `Agent-Windows/GSP64/GSP/gsp_agent.pl`
|
||||
|
||||
### Scheduler Logic
|
||||
|
||||
- `Panel/modules/cron/module.php`
|
||||
- `Panel/modules/cron/cron.php`
|
||||
- `Panel/modules/cron/shared_cron_functions.php`
|
||||
- `Agent_Linux/ogp_agent.pl`
|
||||
- `Agent-Windows/OGP64/OGP/ogp_agent.pl`
|
||||
- `Agent_Linux/gsp_agent.pl`
|
||||
- `Agent-Windows/GSP64/GSP/gsp_agent.pl`
|
||||
|
||||
### Workshop / Server Content Logic
|
||||
|
||||
|
|
@ -83,8 +83,8 @@ This file is the first stop for future Codex sessions working in this repository
|
|||
### Agent Communication
|
||||
|
||||
- `Panel/includes/lib_remote.php`
|
||||
- `Agent_Linux/ogp_agent.pl`
|
||||
- `Agent-Windows/OGP64/OGP/ogp_agent.pl`
|
||||
- `Agent_Linux/gsp_agent.pl`
|
||||
- `Agent-Windows/GSP64/GSP/gsp_agent.pl`
|
||||
|
||||
### Decisions And Historical Reports
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ This file is the first stop for future Codex sessions working in this repository
|
|||
1. Read `docs/modules/GAMEMANAGER.md`.
|
||||
2. Check `Panel/includes/lib_remote.php`.
|
||||
3. Check `Panel/modules/gamemanager/home_handling_functions.php`.
|
||||
4. Check the matching `ogp_agent.pl`.
|
||||
4. Check the matching `gsp_agent.pl`.
|
||||
5. Compare session/process/port logic in both agents.
|
||||
|
||||
### Debug a status issue
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ The Panel communicates with agents through `Panel/includes/lib_remote.php`, whic
|
|||
- scheduler operations
|
||||
- update/install operations
|
||||
|
||||
The agents expose corresponding Perl subroutines through `ogp_agent.pl`. Both agents use `screen` as the shared backend for game server sessions and update/install jobs.
|
||||
The agents expose corresponding Perl subroutines through `gsp_agent.pl`. Both agents use `screen` as the shared backend for game server sessions and update/install jobs.
|
||||
|
||||
### Lifecycle Status Direction
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ The intended direction is correct: marker files and LGSL/GameQ query success sho
|
|||
|
||||
### Screen Backend
|
||||
|
||||
Both agents use screen sessions named in the `OGP_<TYPE>_<HOME_ID>` pattern. This makes Linux and Windows/Cygwin behavior similar, which is useful for portability.
|
||||
Both agents use screen sessions named in the `GSP_<TYPE>_<HOME_ID>` pattern. This makes Linux and Windows/Cygwin behavior similar, which is useful for portability.
|
||||
|
||||
Current screen-related behavior includes:
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ It should not determine whether a server is online. A server can be healthy whil
|
|||
|
||||
The current system mixes:
|
||||
|
||||
- OGP legacy modules.
|
||||
- GSP legacy modules.
|
||||
- GSP custom business/billing modules.
|
||||
- Newer partial systems such as Server Content Manager.
|
||||
- Older modules that are present but not production-ready.
|
||||
|
|
@ -969,7 +969,7 @@ Admin pages should distinguish:
|
|||
|
||||
| Phase | Priority | Files/Modules Involved | Notes |
|
||||
|---|---|---|---|
|
||||
| Phase 1: Lifecycle validation | Critical | `Agent-Windows/ogp_agent.pl`, `Agent_Linux/ogp_agent.pl`, `Panel/includes/lib_remote.php`, `Panel/modules/gamemanager` | Finish and test agent-truth status, start, stop, restart, log viewer. |
|
||||
| Phase 1: Lifecycle validation | Critical | `Agent-Windows/gsp_agent.pl`, `Agent_Linux/gsp_agent.pl`, `Panel/includes/lib_remote.php`, `Panel/modules/gamemanager` | Finish and test agent-truth status, start, stop, restart, log viewer. |
|
||||
| Phase 2: Hide unsafe legacy modules | Critical | `backup-restore`, `steam_workshop`, `news`, `status`, nav/module settings | Hide customer access to broken/deprecated modules before launch. |
|
||||
| Phase 3: Live logs and diagnostics | Critical | `gamemanager/log.php`, `view_server_log.php`, agent `get_log` | Dated log discovery, startup logs, download logs, error highlighting. |
|
||||
| Phase 4: File/FTP safety audit | High | `litefm`, `ftp`, `editconfigfiles`, agent file methods | Safe roots, editor backups, protected dirs, FTP docs, credential reset. |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue