{"id":19594580,"url":"https://github.com/toggle-corp/form-builder","last_synced_at":"2025-10-24T01:03:33.019Z","repository":{"id":91116908,"uuid":"128627399","full_name":"toggle-corp/form-builder","owner":"toggle-corp","description":"Form builder used in FieldSight","archived":false,"fork":false,"pushed_at":"2018-04-08T10:04:33.000Z","size":8272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-09T07:13:03.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toggle-corp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-08T10:04:03.000Z","updated_at":"2020-03-03T07:42:29.000Z","dependencies_parsed_at":"2024-04-21T20:06:25.874Z","dependency_job_id":null,"html_url":"https://github.com/toggle-corp/form-builder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toggle-corp%2Fform-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toggle-corp%2Fform-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toggle-corp%2Fform-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toggle-corp%2Fform-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toggle-corp","download_url":"https://codeload.github.com/toggle-corp/form-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240867790,"owners_count":19870472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T08:44:02.593Z","updated_at":"2025-10-24T01:03:32.912Z","avatar_url":"https://github.com/toggle-corp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"KPI\n===\n\nPython Dependencies\n-------------------\nPython dependencies are listed in `requirements.in`, which is then compiled to `requirements.txt` by [`pip-compile`](https://github.com/nvie/pip-tools). You may use `pip` directly with `requirements.txt`, but consider using instead the `pip-sync` command provided by [pip-tools](https://github.com/nvie/pip-tools). Do not add new dependencies directly to `requirements.txt`.\n\nDownloading and compiling the translations\n------------------------------------------\n\n* Pull the submodule into the `locale` directory with `git submodule update`.\n* Optionally configure transifex to pull the latest translations into the `locale` directory with `tx pull --all`\n* Run `python manage.py compilemessages` to create `.mo` files from the `.po` files.\n* To test out locales in the interface, double click \"account actions\" in the left navbar, use the dropdown to select a language, and refresh.\n\nSearching assets and collections\n--------------------------------\nTop-level (null-parent) assets and collections can be found by including `parent=` in the query string. For other searches, construct a string using the [Whoosh query language](https://pythonhosted.org/Whoosh/querylang.html) and pass it in as the `q` parameter, e.g. `/assets/?q=name:sanitation`. Fields indexed by Whoosh are:\n\n* `name`: a tokenized\\* representation of the name;\n* `name__exact`: a space- and comma-escaped representation of the name, e.g. \"Fun, Exciting Asset\" would be indexed as \"Fun--Exciting-Asset\";\n* `owner__username`: a tokenized\\* representation of the owner's username;\n* `owner__username__exact`: a space- and comma-escaped representation of the owner's username;\n* `parent__name`: a tokenized\\* representation of the parent object's name;\n* `parent__name__exact`: a space- and comma-escaped representation of the parent object's name;\n* `parent__uid`: the UID of the parent collection;\n* `ancestor__uid`: a multi-value field containing the UIDs of all ancestor collections;\n* `tag`: a multi-valued field holding space- and comma-escaped representations of each tag assigned to the object;\n* `asset_type` (for assets only): a space- and comma-escaped representation of the asset's type string;\n* `text`: the search \"document,\" which is built by [text templates](https://github.com/kobotoolbox/kpi/tree/master/kpi/templates/search/indexes/kpi).\n\nWhen the `q` parameter contains a search term without a specified field, e.g. `/collections/?q=health`, that term is matched against the search \"document\" (the `text` field). \n\nSearching tags\n--------------\nConstruct a string using the [Whoosh query language](https://pythonhosted.org/Whoosh/querylang.html) and pass it in as the `q` parameter, e.g. `/tags/?q=asset_type:block`. Fields indexed by Whoosh are:\n\n* `name__ngram`: the tag's name decomposed into n-grams, e.g. `?q=name__ngram:cat` would match tags named \"dogs/cats\" and \"education\";\n* `asset_type`: a multi-value field containing the types (e.g. `form`, `question`, `block`) of all tagged assets;\n* `kind`: a multi-value field containing \"asset\" when assets are tagged, \"collection\" when collections are tagged, or both;\n* `text`: a tokenized\\* representation of the name, which serves as the search \"document\" (see note below).\n\nWhen the `q` parameter contains a search term without a specified field, e.g. `/tags/?q=health`, that term is matched against the search \"document\" (the `text` field).\n\n\\* Implemented by Haystack as [a Whoosh TEXT field using the StemmingAnalyzer](https://github.com/django-haystack/django-haystack/blob/ad90028a22b4274b8df1f4698dd59ac0643f03d5/haystack/backends/whoosh_backend.py#L174). Unsuitable for exact matching.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoggle-corp%2Fform-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoggle-corp%2Fform-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoggle-corp%2Fform-builder/lists"}