Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

EventideSystems/obsekio-deprecated

Repository files navigation

Obsekio (deprecated)

NOTE: WORK ON OBSEKIO HAS MOVED TO THE "TOOL FOR SYSTEMIC CHANGE" PROJECT

See: https://github.com/EventideSystems/tool_for_systemic_change


License: AGPL v3 check Ruby Style Guide Ruby Style Guide

Obsekio strives to serve two different problem domains:

  1. Compliance: Establishing and overseeing conformance to customizable organizational standards.
  2. Complexity: Assessing progress in intricate projects with numerous interconnected activities and stakeholders.

It is based on ideas from Atul Gawande's book "The Checklist Manifesto" and is designed to help users create and manage checklists for complex tasks.

"Checklists seem lowly and simplistic, but they help fill in for the gaps in our brains and between our brains. They emphasize group precision in a way individual memories cannot." - Atul Gawande

"The volume and complexity of what we know has exceeded our individual ability to deliver its benefits correctly, safely, or reliably. Knowledge has both saved us and burdened us." - Atul Gawande

The application is built using Ruby on Rails / PostgreSQL and is designed to be self-hosted. It is licensed under the AGPL v3.

Core Concepts

Checklists

A checklist is a list of items that need to be completed in order to achieve a specific goal. Checklists can be used to ensure that complex tasks are completed correctly and consistently.

Workflows

Each checklist is associated with a particular workflow, defining the general behavior of the checklist.

Single-use checklists

Single-use checklists are checklists that can only be completed once. Once all items on the checklist have been completed, the checklist is marked as complete and cannot be used again.

Recurring checklists

Recurring checklists are checklists that can be completed multiple times. Once all items on the checklist have been completed, the checklist is marked as complete and can be used again in a new context (e.g. as a daily, weekly or monthly checklist).

Concurrent checklists

Concurrent checklists are checklists that require multiple checklists to be completed in parallel. For example, a complex task that requires multiple checklists to be completed in order to achieve a specific goal.

Custom workflows

Custom workflows allow users to define their own workflows for checklists. This can be used to define complex workflows that are not covered by the standard workflows.

Custom workflows may be defined using a simple DSL or by extending the base workflow classes in code.

Libraries

A library is a collection of checklists. Libraries can be used to group related checklists together and make it easier to manage them. Libraries can be shared with other users, or kept private.

Features

  • Create and manage libraries of checklists
  • Define standards and requirements
  • Assign checklists to users
  • Track progress and completion
  • Generate reports

Roadmap

  • Add support for single-use checklists
  • Add support for recurring checklists
  • Add support for concurrent checklists (complex tasks that require multiple checklists to be completed in parallel)
  • Add support for teams

System Requirements

  • Ruby 3.3+. The application should work on older Ruby versions, but we are targeting modern Ruby and may introduce backwardly-incompatible code by taking advantage of Ruby 3.3+ specific features in the future.

  • PostgreSQL 12.9+.

  • Any Linux-based OS. Tested using Ubuntu 20.04 LTS

Installation

To install the application, clone the repository and run the following commands in the root folder of the project:

bundle install
rails db:create
rails db:migrate

This is a Rails 7+ application, so you can use the ./bin/dev command to run the application:

Configuration

Environment Variables

The following environment variables are required to run the application:

  • ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY : The primary key for the encryption service
  • ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY : The deterministic key for the encryption service
  • ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT : The salt for the key derivation function

See the ActiveRecordEncryption documentation for more information.

  • RECAPTCHA_SITE_KEY: The site key for the reCAPTCHA service
  • RECAPTCHA_SECRET_KEY: The secret key for the reCAPTCHA service

See the reCAPTCHA documentation for more information.

For local development, you can create a .env file in the root of the project and add the environment variables there. The .env file is ignored by git and will not be committed to the repository. See the .env.example file for an example of the format.

NB We use the dotenv gem to load the .env file in development. This is not used in production.

For production, you can set the environment variables in the environment where the application is running.

Why do we use environment variables and not credentials or secrets?

This is a good question. Storing secrets in environment variables is not the most secure way to store secrets. However, it is the most convenient way to store secrets for local development.

We are trying to make the application as easy to set up as possible for developers who don't have access to the master keys. We want to avoid having to distribute keys - and to avoid forcing developers to generate their own credentials files that might clash with environment-specific files used elsewhere.

The plan is to start using Rails credentials in the future. For now, we are using environment variables.

Contributing

We welcome contributions from the community. Please see the CONTRIBUTING.md file for more information.

Support

If you have any questions or need help, please open an issue on the Github repository or contact the maintainers directly.

Security

If you discover a security vulnerability, please contact the maintainers directly via security [at] obsek [dot] io.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published