{"id":23315242,"url":"https://github.com/itk-dev/itk_pretix","last_synced_at":"2025-04-07T03:26:34.613Z","repository":{"id":38436716,"uuid":"241450076","full_name":"itk-dev/itk_pretix","owner":"itk-dev","description":"Drupal module for pretix","archived":false,"fork":false,"pushed_at":"2025-03-06T13:41:15.000Z","size":1521,"stargazers_count":0,"open_issues_count":30,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-04-06T21:03:05.401Z","etag":null,"topics":["drupal","php","pretix"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itk-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2020-02-18T19:34:46.000Z","updated_at":"2025-02-28T09:37:59.000Z","dependencies_parsed_at":"2024-06-07T12:03:52.304Z","dependency_job_id":"24e97b1c-c2f3-4d4b-93e3-b51c513225b4","html_url":"https://github.com/itk-dev/itk_pretix","commit_stats":{"total_commits":82,"total_committers":3,"mean_commits":"27.333333333333332","dds":0.1097560975609756,"last_synced_commit":"83fb6f2bae0fb84465541ae2b87f52c312d42a63"},"previous_names":["itk-dev/itk_pretix","itk-dev/itk_pretix_d8"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itk-dev%2Fitk_pretix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itk-dev%2Fitk_pretix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itk-dev%2Fitk_pretix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itk-dev%2Fitk_pretix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itk-dev","download_url":"https://codeload.github.com/itk-dev/itk_pretix/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247585824,"owners_count":20962408,"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":["drupal","php","pretix"],"created_at":"2024-12-20T15:33:26.499Z","updated_at":"2025-04-07T03:26:34.607Z","avatar_url":"https://github.com/itk-dev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ITK Pretix\n\nThis Drupal 8 module creates a new field type that enables a link to\nhttps://pretix.eu/ to be made.\n\nThrough the Pretix API it is possible to add, change or remove Pretix\nevent date entries from the Drupal interface.\n\n1. Add a new field of type `pretix date field type` to an entity.\n2. Add a new field of type `pretix event settings` to the entity.\n3. Add a pretix connection through the settings (local.settings.php).\n4. Watch the magic happen.\n\n## Configuration\n\nGo to `/admin/config/itk_pretix/pretixconfig` and enter your pretix details.\n\nA hidden configuration option, `pretix_event_slug_template`, controls how pretix\nevent slugs (short forms) are generated. The default value is `!nid` and `!nid`\nwill be replaced with the actual node id when creating a pretix event.\n\nTo change the value of `pretix_event_slug_template`, set it in your site's\nsettings, e.g. (in `settings.local.php`):\n\n```php\n$config['itk_pretix.pretixconfig']['pretix_event_slug_template'] = 'dev-local';\n```\n\nIf the value of `pretix_event_slug_template` is not empty, but `!nid` does not\noccur in the value, `-!nid` will be appended and the final template will be\n`dev-local-!nid`.\n\n## Exporters\n\nThis module exposes a number of event Data exporters that are run via the pretix\nREST api\n(cf. [https://docs.pretix.eu/en/latest/api/resources/exporters.html](https://docs.pretix.eu/en/latest/api/resources/exporters.html))\n\nAll exporters implement `Drupal\\itk_pretix\\Exporter\\ExporterInterface` (by\nextending `Drupal\\itk_pretix\\Exporter\\AbstractExporter`) and are managed by\n`Drupal\\itk_pretix\\Exporter\\Manager` which takes care of displaying exporter\nparameters forms and running exporters.\n\nThe available exporters for a node can be run from\n`/itk_pretix/pretix/event/exporters/{node}` where `{node}` is the node id.\n\n## Building assets\n\nFirst, install tools and requirements:\n\n```sh\ndocker compose run --rm node yarn install\n```\n\nBuild for development:\n\n```sh\ndocker compose run --rm node yarn encore dev --watch\n```\n\nBuild for production:\n\n```sh\ndocker compose run --rm node yarn encore production\n```\n\n## Coding standards\n\nThe code must follw the [Drupal Coding Standards](https://www.drupal.org/docs/develop/standards)\n\nApply and check the coding standards by running\n\n```sh\ndocker compose run --rm phpfpm composer install\ndocker compose run --rm phpfpm composer normalize\ndocker compose run --rm phpfpm composer coding-standards-apply\ndocker compose run --rm phpfpm composer coding-standards-check\n```\n\n### Assets\n\nApply and check the coding standards in assets by running\n\n```sh\ndocker compose run --rm node yarn install\ndocker compose run --rm node yarn coding-standards-apply\ndocker compose run --rm node yarn coding-standards-check\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitk-dev%2Fitk_pretix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitk-dev%2Fitk_pretix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitk-dev%2Fitk_pretix/lists"}