21 July, 2017

CiviCooP and Systopia and Palasthotel have been working together on CiviProxy and CiviProxy. This blog is a round up of what we have achieved in the last couple of days. The first thing we have achieved is that we had fun and a very good work atmosphere. We made long days and made lots of progress.

What are CiviProxy and CiviMcRestFace?

CiviProxy is a script to act as an application firewall for CiviCRM. It could be used to put your civicrm in secure network. CiviProxy is the gatekeeper to which external systems, such as your website, connect (this is for example when a user signs a petition on your website and the website submits this data to your CiviCRM). CiviProxy will make sure the call is from the right place (ip-adress) and is only doing what allowed to do. 

CiviMcRestFace (CiviMRF) is a framework to be used in other systems (such as your external website) to connect to CiviCRM. The framework itself is...

Read more
03 August, 2015
By petednz
Filed under Drupal 8

A Make It Happen page (now closed) has been set up for getting CiviCRM ready to roll when Drupal 8 hits the stores.

This Make It Happen is for $10,000 to fix breakages as the final release candidates of Drupal 8 roll out (such as dealing with Symfony conflicts), and setting it up to work with BuildKit so we can provide a Demo site as part of the civicrm.org set of demo sites.

There will be a further MIHs for other related work such as refactoring the CiviCRM Entity module in order to deliver all the goodies of Entities and Rules, and provide improved solutions for CiviMember Roles Sync and CiviGroup Roles Sync, upgrading Webform CiviCRM.

But our first goal is to make sure that CiviCRM can be rolled out as soon as possible after Drupal 8 gets launched.

UPDATE: There is now a list of issues on JIRA here. If you want to approach... Read more
21 July, 2015
By petednz
Filed under Drupal 8, Drupal

Drupal 8 is likely to be released around September. Fuzion have been driving the initiative to have CiviCRM ready to roll when Drupal 8 is released and there have already been some generous sponsors for our work to help get us this far. We have CiviCRM currently working on latest beta, and old friends like Views are working fine and you can give it a try out at http://civid8.fudev.co.nz/.

But there is still lots to do to get Rules, Entities and Webform working. A Make It Happen has just been launched, and you can help progress this work by chipping in here https://civicrm.org/civicrm/contribute/transact?reset=1&id=71, or you can...

Read more
27 May, 2015
Filed under Drupal 8, Drupal

Thanks to generous contributions from Fuzion and Beat Schnyder from basx GmbH, I was able to put in a few days work over the last month into the Drupal 8 integration module, allowing Drupal 8 and CiviCRM to interoperate.

I had done a large chunk of work of the initial work for this during Google Summer of Code last year but as Drupal 8 has been under heavy development, so much had changed that the module needed to be carefully picked over to bring back into a working state. Over the several days of funding I had, I managed to get both the module and install working against the latest Drupal 8 beta (at the time, beta-9 but now 10 too) and Civicrm 4.6.3 in time for the Denver CiviCon sprint.

You can check out the current state of things (along with all the bugs and so on) here: http://civid8....

Read more
24 February, 2015
By petednz
Filed under Drupal 8, Drupal

Can you help Fuzion take the Drupal 8 integration module that was developed as part of 2014 Google Summer of Code and get it working with the most recent version of Drupal 8 and publicly available for testing?

Getting CiviCRM ready for Drupal 8 was always going to be a task with many stages. Thanks to the funding from the Google Summer of Code 2014 in August last year Torrance, was able to get CiviCRM functioning well on what was then the latest alpha of Drupal 8. Highlights of this work included a native, Drupal-side installer for CiviCRM, Views integration using CiviCRM to discover the database schema (cutting the Views module from 15,000 lines to code to under 2,000), and a set of integration tests for both CiviCRM and Views.

But as Drupal 8 has continued active development, many core APIs have changed and ….. the integration has regressed.

Lots of these changes are relatively minor: during alpha there were still plenty of structured arrays hanging...

Read more
13 October, 2014
Filed under Drupal 8, GSoC, Drupal

As part of the Google Summer of Code, I began work on getting CiviCRM and the upcoming Drupal 8 working together nicely. I made an update about midway through and it's time for another update. I had separated the project into a number of milestones. Phases 1, 2 and 3 dealt with varying aspects of the core CiviCRM module functionality. This work has largely been completed and there are pull requests pending into CiviCRM core, though the front end user experience is still a bit rough (for example, the CiviCRM menu bar doesn’t sit well alongside the Drupal menu). The installation process is quite different with Drupal 8: civicrm now installs as if it were any other Drupal module — simply by clicking enable. It's no longer necessary to use the CiviCRM installer before enabling the module. This handles the most common use case where CiviCRM is installed in the same database as Drupal itself. Custom options can be...

Read more
15 June, 2014
Filed under Drupal 8, GSoC, Drupal

I was accepted into the Google Summer of Code program this year to write the Drupal 8 integration modules for CiviCRM and work has progressed well so far. Drupal 8 is on track for a release this year and hopefully CiviCRM will be Drupal 8 ready about the time it goes final.

The integration is quite a large project and in the planning/proposal phase I separated the work into 6 phases. The first 3 phases are broadly concerned with allowing CiviCRM to boot and to be able to access the bits of Drupal (ie. users) that it needs to. The final 3 phases were to implement the opposite: they are about enabling Drupal to interact with CiviCRM data, for example via Views or Rules.

To run through them briefly, phase 1 is a bare bootstrap, with only as much functionality implemented so that CiviCRM can run simple pages. For this phase, anything that requires CiviCRM to ask Drupal about users, or permissions, etc. would fail. Phase 2 involves fleshing out this missing...

Read more