Bij1 CiviCRM migratie extensie (van: https://lab.civicrm.org/partners/civicoop/bij1/bij1migratie)
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Kiara Grouwstra 065ba3e498
update leden.csv as per view civicrm-export
3 months ago
CRM/Bij1migratie ignore sociaal tarief 1 year ago
Civi inclusief mislukt en chargeback 2 years ago
api/v3 comment unused methods 1 year ago
data update leden.csv as per view civicrm-export 3 months ago
docs + mkdocs 1 year ago
form-processors airtable lid nummer meenemen in migratie 1 year ago
images add screenshot 1 year ago
mixin civix upgrade: 22.10.0 1 year ago
sql initial load 2 years ago
templates/CRM/Bij1migratie/Form eerste migratie mollie customers 2 years ago
tests/phpunit update phpunit bits 1 year ago
xml eerste migratie mollie customers 2 years ago
.woodpecker.yml ci: steps 4 months ago
LICENSE.txt initial load 2 years ago
README.md readme: sample data 4 months ago
bij1migratie.civix.php civix upgrade: 22.10.0 1 year ago
bij1migratie.php civix upgrade: 22.10.0 1 year ago
info.xml civix upgrade: 22.10.0 1 year ago
mkdocs.yml + mkdocs 1 year ago
phpunit.xml.dist update phpunit bits 1 year ago

README.md

bij1migratie

Screenshot

Helps migrate BIJ1's data sources (as CSV) to CiviCRM, including:

  • Airtable
  • Mollie
    • Customers
    • Payments
    • Chargebacks

The extension is licensed under AGPL-3.0.

Requirements

Testing

Development

Documentation

Installation (Web UI)

Learn more about installing CiviCRM extensions in the CiviCRM Sysadmin Guide.

Installation (CLI, Zip)

Sysadmins and developers may download the .zip file for this extension and install it with the command-line tool cv.

cd <extension-dir>
cv dl bij1migratie@https://github.com/FIXME/bij1migratie/archive/master.zip

Installation (CLI, Git)

Sysadmins and developers may clone the Git repo for this extension and install it with the command-line tool cv.

git clone https://github.com/FIXME/bij1migratie.git
cv en bij1migratie

Getting Started

Overview

  • data/**/*.csv: anonymized source data samples
  • Mapping/*Mapping.php: match names used in form processors to column positions in source CSVs.
  • CRM/Bij1migratie/CsvFile.php#sanitize*(): column selection, transformations
  • CRM/Bij1migratie/Migratie.php#migreer*(): checks, import by API, row-level error logging
  • form-processors/bij1_*_migratie.json: how to process imported fields

Testing

Static analysis

phpstan analyse .

Unit tests

  • place this repository in a CiviCRM installation
  • run:
phpunit tests

Reloading extension code to container

Given an environment variable $CIVICRM_BIJ1_PATH pointing to your local checkout of civicrm-bij1:

export FLDR=/var/lib/docker/volumes/civicrm-bij1_civi-data/_data/wp-content/uploads/civicrm/ext/crm-bij1migratie/
mkdir -p $FLDR
sudo cp -r ./* $FLDR
docker compose -f $CIVICRM_BIJ1_PATH/docker-compose.yml exec civi bash -c "cv ext:enable bij1migratie"

Build (this) documentation

Run:

pip install mkdocs
mkdocs serve

Known Issues

(* FIXME *)