Battle plan:
At the moment i tagged an alpha5 release, this provides features-compatibility for the following entities:
- constant
- contact
- contact_type
- customgroup
- customfield
- domain
- relationshiptype
- setting
These are stripped from references to other entities. That way these are fully seperated entities. Next up is to add dependencies. Important point is to make sure this works without the use of id's since these can be different for different sites.
Next up is to add this for the above entities, that way we have a real base module, which then only should be expanded for the other entities.
I'm aiming first for dependencies in one direction. (For example af group has dependencies on the entities it's on, but a contacttype has no dependencies on the groups which are on it, since it doesn't know that).
Fixed
- Relationshiptype #2017867: Relationshiptypes
- ContactType #1956570: ContactType
Fixed, but with CiviCRM issues
- Constant #1968554: Constant: Read-Only, #2005134: Undefined get methods for some constants. , #2005140: stateProvinceForCountry Constant get Call gives error
- Setting #1956582: Setting: (Still CiviCrRM issues) A setting can actually be dependent on a domain / component / contact, but we can't capture this throught the API.
Needs dependencies
- CustomGroup #1956574: CustomGroup
- CustomField #1956576: CustomField
- Domain #2008826: Domain: has contact 1, which has tons of dependencies.
Needs work
- Contact #2016779: Contact 1: Do we need more than contact 1?
Not started
Next up
For me that will be the dependencies for #1956570: ContactType and #2017867: Relationshiptypes. These should be up by tomorrow.
Want to help?
If you want to help, you're very welcome.
- Create an issue (and assign to yourself) for the entity (see below) you wan't to tackle, and add it to this list.
- Follow contacttype and relationshiptype to add entity, and create patch ;-)
Not started
- Activity
- ActivityType
- Address
- Batch
- Campaign
- Case
- Contribution
- ContributionPage
- ContributionRecur
- CustomSearch
- CustomValue
- Entity
- EntityTag
- Event
- Extension
- File
- Grant
- Group
- GroupContact
- GroupNesting
- GroupOrganization
- Im
- Job
- LineItem
- LocBlock
- Location
- LocationType
- MailSettings
- Mailing
- MailingEventConfirm
- MailingEventResubscribe
- MailingEventSubscribe
- MailingEventUnsubscribe
- MailingGroup
- MailingJob
- MailingRecipients
- Membership
- MembershipPayment
- MembershipStatus
- MembershipType
- Note
- OptionGroup
- OptionValue
- Participant
- ParticipantPayment
- ParticipantStatusType
- PaymentProcessorType
- Phone
- Pledge
- PledgePayment
- PriceField
- PriceFieldValue
- PriceSet
- Profile
- Relationship
- RelationshipType
- ReportTemplate
- Setting #1956582: Setting
- Survey
- SurveyRespondant
- System
- Tag
- UFField
- UFGroup
- UFJoin
- UFMatch
- Website
Comments
Comment #0.0
mallezieFirst issues linked
Comment #0.1
mallezieadded code architecture issue, civi API link
Comment #0.2
mallezieadded constant issue
Comment #0.3
mallezieAdjusted state to new generalized API.
Comment #0.4
mallezieupdate
Comment #1
mallezieI just tagged an alpha-3 release, which is back (third time is a charm) a complete overhaul of this module.
Implementend entitys at the moment are:
Further issues and testing are very much welcomed.
Comment #1.0
malleziecase is content, so won't fix
Comment #1.1
mallezieversion alpha 3 added in comment
Comment #1.2
mallezieAdded api-entities.
Comment #1.3
mallezieAdded 1956582
Comment #1.4
mallezieAdded domain 2008826
Comment #1.5
mallezieAdded 2016779
Comment #1.6
mallezieAdded 1956570, 1956574, 1956576
Comment #1.7
mallezieadded plan
Comment #1.8
mallezienew structure, and update to latest alpha 5
Comment #1.9
mallezieRemoved some items from not started list
Comment #1.10
mallezieRelationshiptype and contacttype fixed.
Comment #1.11
malleziespace
Comment #1.12
malleziemoved setting
Comment #1.13
mallezietypos