Skip to content

Concierge 0.6.0

Pre-release
Pre-release

Choose a tag to compare

@manuto276 manuto276 released this 30 Nov 11:51
· 5 commits to main since this release

Developer tools, as a separate module: off by default, administrators only, the developer
permission, and the most powerful parts behind switches in wp-config.php.

  • Files: fs_list, fs_read (line ranges), fs_search (text or regex, like grep) over
    the install; secrets (wp-config.php, .env, keys, dumps, backups, logs, version control) are
    never listed or read, and symlinks cannot escape the install. With CONCIERGE_DEVELOPER:
    fs_write and fs_edit (exact find/replace, all or nothing) in plugins, themes and
    mu-plugins, never Concierge itself — PHP syntax checked before saving, the site checked
    after saving when the file is live, automatic rollback when it breaks, undo from the log.
  • Database: db_schema, and db_query for one SELECT/SHOW/DESCRIBE/EXPLAIN/WITH…SELECT,
    without comments, on its own connection inside a READ ONLY transaction that is rolled back,
    with a time limit and at most 500 rows; password hashes, keys, tokens and secret options
    masked.
  • Debug log: the last entries, grouped with their stack traces, filtered by level or
    text, secrets masked; whether logging is on.
  • Options: options_raw_get (secrets masked); with CONCIERGE_DEVELOPER,
    options_raw_update (undoable; never site address, admin email, registration, default
    role, roles, active plugins and theme, or Concierge's settings).
  • WP-CLI: wpcli_run with CONCIERGE_DEVELOPER, without a shell, as the connected user,
    60-second limit; commands that run code, reach the database directly, change wp-config,
    credentials or Concierge are refused.
  • PHP: php_eval with CONCIERGE_DEVELOPER and CONCIERGE_ALLOW_PHP_EVAL, output,
    return value and errors captured.
  • Every tool's input properties now declare a type (checked by a test).