Skip to content

TODOs #2

@Boran

Description

@Boran

An initial list, these should become separate issues to track later. The list covers changes to the main modules: webfact, webfact_content_types and webfact_theme with links to others below.

Bugs

  • admin/reports/dblog "Recoverable fatal error: Argument 2 passed to t() must be of the type array, integer given, called in /var/www/html/modules/dblog/dblog.admin.inc on line 295"
  • Notice: Trying to get property of non-object in WebfactController->load_meta() (line 226 of /var/www/html/sites/all/modules/custom/webfact/controller.php).

Features

  • (done) status page: show the real auto-start setting in the container too.
  • (done) pull status information from within the container, e.g. git commit/version
  • (done) Way to update websites in containers in one click
  • (done) If you delete a "website" (content page), then also delete the containers and relevant images too.
  • (done) run command: box is too small
  • create website:
    • (done) force lowercase hostnames (important to avoid errors)
    • if the image used for a new container does not exist, it should try to download it automatically from dockerhub
  • (done) Controller: after rebuild error go to /advanced, not back to the rebuild page!
  • navigation
  • how to upload files (sql dumps etc.) to a container (see "couploadfile" in controller, work has started). http://stackoverflow.com/questions/22907231/copying-files-from-host-to-docker-containerWould have to upload the tar file to a directory on the webfact container (maybe with Drupal file_save_upload()), then run docker exec to transfer and extract that tar file. exec() and execstart() in ContainerManager docker-php/docker-php#90 (comment)
  • How to upload a container (or image) that was exported from another webfactory? Export already works. i.e. to import a container to one server after exporting it from another. Or upload a container that was developed locally.
  • container status screen
    • view logs: add timestamp
    • logs: stream continuously. Sample code added but not in realtime, see 'logtail' in controller.php and test.php
  • web operations after creation

Docker API implementation:

Other:

  • general review/refactor of the webfact module: after the first few months of organic development, an objective review would be good
  • generate DRUPAL_ADMIN_PW & inform (don't use a fixed one?)
  • Improve Guzzle errorhandling for initial connection (if docker port not reachable)
  • Theme:

TODOs from related modules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions