HackmanCMS/web/api
Bashy bf3ae2351d Add Discord Bot project type with process control, config editor, and log viewer
- DiscordBotProject: new project type (discord-bot), auto-detects from main.py + cogs/
- botcontrol API: start/stop/restart/status via sudo systemctl
- botconfig API: atomic read/write of config.json; CRUD for streamers, RSS feeds,
  Mastodon accounts, and LinkedIn pages; tokens masked in GET responses
- botlogs API: tail log file (path via project_settings.bot_log_file)
- Tab partials: _tab_bot (process control), _tab_botconfig (structured editor),
  _tab_logs (log viewer with auto-refresh)
- view.php: register bot/botconfig/logs tabs with labels, icons, and groups
- app.js: bot control panel, config editor with account/page dropdowns in RSS modal,
  Mastodon accounts CRUD, LinkedIn pages CRUD; audit labels/icons for all new actions
- CLAUDE.md: document Discord Bot integration, sudoers requirement, API actions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 14:39:17 +03:00
..
analytics.php Init 2026-05-03 20:56:15 +03:00
analytics_import.php Init 2026-05-03 20:56:15 +03:00
audit.php Init 2026-05-03 20:56:15 +03:00
auth.php Init 2026-05-03 20:56:15 +03:00
backup.php Init 2026-05-03 20:56:15 +03:00
botconfig.php Add Discord Bot project type with process control, config editor, and log viewer 2026-05-26 14:39:17 +03:00
botcontrol.php Add Discord Bot project type with process control, config editor, and log viewer 2026-05-26 14:39:17 +03:00
botlogs.php Add Discord Bot project type with process control, config editor, and log viewer 2026-05-26 14:39:17 +03:00
disk.php Init 2026-05-03 20:56:15 +03:00
drafts.php Init 2026-05-03 20:56:15 +03:00
files.php Update of draft system 2026-05-03 23:20:46 +03:00
git.php Init 2026-05-03 20:56:15 +03:00
links.php Init 2026-05-03 20:56:15 +03:00
plugins.php Init 2026-05-03 20:56:15 +03:00
posts.php Init 2026-05-03 20:56:15 +03:00
projects.php Init 2026-05-03 20:56:15 +03:00
recent.php Init 2026-05-03 20:56:15 +03:00
run.php Init 2026-05-03 20:56:15 +03:00
schedules.php Init 2026-05-03 20:56:15 +03:00
scratchpad.php Init 2026-05-03 20:56:15 +03:00
search.php Init 2026-05-03 20:56:15 +03:00
snippets.php Init 2026-05-03 20:56:15 +03:00
tags.php Init 2026-05-03 20:56:15 +03:00
templates.php Init 2026-05-03 20:56:15 +03:00
themes.php Init 2026-05-03 20:56:15 +03:00
track.php Init 2026-05-03 20:56:15 +03:00
upload.php Init 2026-05-03 20:56:15 +03:00