- Jun 02, 2021
-
-
totten authored
-
totten authored
This creates an entity, `Translation` (`civicrm_translation`), to represent a single translated database value. Loosely speaking, any field in the database can be designated as translatable -- and then it will be permitted to store values like: ```sql INSERT INTO civicrm_translation (entity_table, entity_id, entity_field, language, string) VALUES ('civicrm_event', 100, 'title', 'fr_FR', 'La nouvelle chaine') ``` This is based on a `civi-data-translate` strings table, but with some changes: * Entity names are usually singular, but `String` is conflicted. I previously used hybrid String/Strings (depending on context), but we negotiated `Translation` on tcon. * The language only needs 5 characters (NN_nn). * Consolidated `bool is_active` and `bool is_default` into one `int status_id`. * Added indexing * Mark dynamic foreign key This commit includes the BAO with some of the backing-methods required for API exposure. However, the API won't really work until we have the validation-values event, so the API has been kicked to a subsequent PR. The list of translatable entities/fields will be signficant because it will determine when/how to redirect data in API calls. This patch does not commit to specific translatable fields - but it does provide a hook to determine them. When the API PR becomes unblocked, it will include test-coverage that hits the API, BAO, and hook.
-
- Jun 01, 2021
-
-
Seamus Lee authored
Bump DOMPDF to `~1.0.0`
-
Seamus Lee authored
SearchKit - Update `hook_civicrm_searchKitTasks` signature
-
Eileen McNaughton authored
[Ref] [tests only] replace direct calls to enable logging with calls to the setting
-
Eileen McNaughton authored
-
colemanw authored
-
DaveD authored
[Ref] Remove function parameter only used from test
-
homotechsual authored
-
colemanw authored
APIv4 - Return id_field as part of Entity.get
-
-
Eileen McNaughton authored
Don't pass doPayment by reference in Contribution.transact API
-
Eileen McNaughton authored
#2486 Add in FinancialItem APIv4 Entity
-
homotechsual authored
Having reviewed the changelogs and actual changes here https://github.com/dompdf/dompdf/releases and following a run-test on this I can't find any broken functionality as a result of this upgrade. There are numerous fixes and improvements in this and the next planned version 1.0.3 will further improve SVG handling.
-
Monish Deb authored
-
mattwire authored
-
Eileen McNaughton authored
[Ref] Remove function parameter only used from test The test passes a function parameter to rebuild triggers but the only other call to this function in the civi-verse doesn't. We shouldn't make this function more complex for just the test. Note the function also uses the force param which I didn't move to the test call - it's possible when the tests all run together I'll need to force cache clearing but this seems like a dumb way
-
Eileen McNaughton authored
[Ref] remove never-passed param
-
colemanw authored
All entities have a unique identifier field, usually named 'id' but some entities the field is named something else. e.g. Afform uses 'name' as the identifier. This returns the name of the field as part of Entity.get, and it's also available directly from each API class e.g. Contact::getInfo().
-
Eileen McNaughton authored
Make functions protected
-
Eileen McNaughton authored
Removes a parameter that is never passed in
-
colemanw authored
Mark test class as having invalid financials
-
- May 31, 2021
-
-
Eileen McNaughton authored
I did a universe search & determined these functions could be protected as they are not called from outside this class
-
Eileen McNaughton authored
SearchKit - Organize ON clause field selectors with joined entity first
-
Eileen McNaughton authored
BAOs, Tests, etal - Support `HookInterface` and `EventSubscriberInterface` for auto-registration
-
Eileen McNaughton authored
AfformGui - Fix tabs when cms theme adds extra margin
-
Eileen McNaughton authored
[REF] APIv4 refactoring to support calculated fields
-
colemanw authored
-
colemanw authored
SearchKit - Add static groups and organize main entity selector
-
colemanw authored
-
-
magnolia61 authored
-
totten authored
-
totten authored
When using Symfony-style listeners, all inputs and outputs for the event go through the event object. Note that `hook_*()` notation does allow return values, For these functions, it is *normal* to return void, but some existing hooks rely on returning array-data. It could be misleading if we made it appear that all `hook_*()` examples have to return void.
-
totten authored
Note: This is uncommon and discouraged for new hooks, but some hooks require returning values, e.g ```php function hook_foo() { return ['my-data']; } ``` This should fix compatibility with those.
-
totten authored
-
Monish Deb authored
[REF] Set receipt_date after sending, (from batch) not in anticipation
-
- May 30, 2021
-
-
Seamus Lee authored
#2593 Fix failure to complete contributions when membership deleted
-
Eileen McNaughton authored
[php8-compat] Upgrade PHPWord Package to support php8
-
Seamus Lee authored
-