civicrm-core.git
3 years agoproposed fix/workaround for CORE-2502
B. Endres [Thu, 1 Apr 2021 11:57:50 +0000 (13:57 +0200)]
proposed fix/workaround for CORE-2502

3 years agoMerge pull request #19317 from ahed-compucorp/dev/core#2285
Eileen McNaughton [Mon, 5 Apr 2021 07:46:35 +0000 (19:46 +1200)]
Merge pull request #19317 from ahed-compucorp/dev/core#2285

dev/core#2285 Fix civicrm_alterReportVar hook for contribute detail r…

3 years agoMerge pull request #19920 from totten/master-upgrade-token
Eileen McNaughton [Mon, 5 Apr 2021 07:27:16 +0000 (19:27 +1200)]
Merge pull request #19920 from totten/master-upgrade-token

Upgrader - Display note about token formatting

3 years agoMerge pull request #19948 from demeritcowboy/defrev-recdate
Eileen McNaughton [Mon, 5 Apr 2021 07:21:10 +0000 (19:21 +1200)]
Merge pull request #19948 from demeritcowboy/defrev-recdate

dev/financial#172 - Warning when saving a contribution with a recognition date

3 years agoMerge pull request #19963 from systopia/issue/2164_2
Eileen McNaughton [Sat, 3 Apr 2021 20:03:04 +0000 (08:03 +1200)]
Merge pull request #19963 from systopia/issue/2164_2

Proposed fix for CORE-2164

3 years agoproposed fix for CORE-2164
B. Endres [Sat, 3 Apr 2021 17:47:53 +0000 (19:47 +0200)]
proposed fix for CORE-2164

3 years agoMerge pull request #18982 from mlutfy/wp82
Mathieu Lu [Fri, 2 Apr 2021 16:24:56 +0000 (12:24 -0400)]
Merge pull request #18982 from mlutfy/wp82

dev/wordpress#82 Add support for creating WordPress accounts from the contact record

3 years agoMerge pull request #19962 from jaapjansma/dev_2503
Eileen McNaughton [Thu, 1 Apr 2021 22:02:06 +0000 (11:02 +1300)]
Merge pull request #19962 from jaapjansma/dev_2503

Fix for dev/core#2503

3 years agoFix for dev/core#2503
Jaap Jansma [Thu, 1 Apr 2021 13:30:10 +0000 (15:30 +0200)]
Fix for dev/core#2503

3 years agoMerge pull request #19949 from eileenmcnaughton/dedupe
Seamus Lee [Thu, 1 Apr 2021 03:08:51 +0000 (14:08 +1100)]
Merge pull request #19949 from eileenmcnaughton/dedupe

[REF] Minor cleanup - strictness & formatting

3 years agoMerge pull request #19911 from eileenmcnaughton/new
Monish Deb [Thu, 1 Apr 2021 02:48:08 +0000 (08:18 +0530)]
Merge pull request #19911 from eileenmcnaughton/new

[REF] [Towards membership api] more consistent handling on amount

3 years agoMerge pull request #19938 from demeritcowboy/php74-money
Seamus Lee [Wed, 31 Mar 2021 22:21:55 +0000 (09:21 +1100)]
Merge pull request #19938 from demeritcowboy/php74-money

dev/financial#171 - Trigger an error if non-numeric value passed to Money::format()

3 years agoMerge pull request #19937 from samuelsov/core#527
Eileen McNaughton [Wed, 31 Mar 2021 21:24:55 +0000 (10:24 +1300)]
Merge pull request #19937 from samuelsov/core#527

dev/core#527 use public title for on behalf profile and confirm/thank you profile in emails

3 years agoMerge pull request #19951 from pradpnayak/fixgetlineitem
Eileen McNaughton [Wed, 31 Mar 2021 20:51:15 +0000 (09:51 +1300)]
Merge pull request #19951 from pradpnayak/fixgetlineitem

Donot over-ride total amount incase contribution has more than one line item

3 years agoMerge pull request #19958 from demeritcowboy/htmlmoney
Eileen McNaughton [Wed, 31 Mar 2021 20:49:18 +0000 (09:49 +1300)]
Merge pull request #19958 from demeritcowboy/htmlmoney

dev/financial#171 - Don't try to money_format html

3 years agoMerge pull request #19561 from seamuslee001/search_task_map
Eileen McNaughton [Wed, 31 Mar 2021 20:47:42 +0000 (09:47 +1300)]
Merge pull request #19561 from seamuslee001/search_task_map

Expose mapping search task to Search Kit

3 years agodev/core#527 simpler solution
Samuel Vanhove [Wed, 31 Mar 2021 19:49:25 +0000 (15:49 -0400)]
dev/core#527 simpler solution

3 years agoMerge pull request #19955 from eileenmcnaughton/merge_locations
colemanw [Wed, 31 Mar 2021 18:26:38 +0000 (14:26 -0400)]
Merge pull request #19955 from eileenmcnaughton/merge_locations

[REF] Move function from static class to OO class

3 years agodon't try to money_format html
demeritcowboy [Wed, 31 Mar 2021 13:36:50 +0000 (09:36 -0400)]
don't try to money_format html

3 years agoMerge pull request #19924 from eileenmcnaughton/mem_ex
Monish Deb [Wed, 31 Mar 2021 09:41:31 +0000 (15:11 +0530)]
Merge pull request #19924 from eileenmcnaughton/mem_ex

[REF] Extract getMembershipTypeValues

3 years agoMerge pull request #19956 from civicrm/5.36
Eileen McNaughton [Wed, 31 Mar 2021 09:33:04 +0000 (22:33 +1300)]
Merge pull request #19956 from civicrm/5.36

5.36

3 years agoMerge pull request #19952 from eileenmcnaughton/5.36
Monish Deb [Wed, 31 Mar 2021 05:22:55 +0000 (10:52 +0530)]
Merge pull request #19952 from eileenmcnaughton/5.36

dev/core#2498 Fix regression on saving dedupe rules

3 years agoMerge pull request #19936 from jmcclelland/only-include-completed
Seamus Lee [Wed, 31 Mar 2021 05:07:35 +0000 (16:07 +1100)]
Merge pull request #19936 from jmcclelland/only-include-completed

Only include completed contributions in the aggregate custom search

3 years agoMerge pull request #19894 from eileenmcnaughton/acl
Seamus Lee [Wed, 31 Mar 2021 05:05:20 +0000 (16:05 +1100)]
Merge pull request #19894 from eileenmcnaughton/acl

Only call getGroupACLRoles if contactID is present

3 years agoMerge pull request #19944 from civicrm/dependabot/npm_and_yarn/y18n-4.0.1
Seamus Lee [Wed, 31 Mar 2021 05:01:07 +0000 (16:01 +1100)]
Merge pull request #19944 from civicrm/dependabot/npm_and_yarn/y18n-4.0.1

Bump y18n from 4.0.0 to 4.0.1

3 years agoMerge pull request #19953 from eileenmcnaughton/jobtest
Seamus Lee [Wed, 31 Mar 2021 04:59:28 +0000 (15:59 +1100)]
Merge pull request #19953 from eileenmcnaughton/jobtest

NFC cleanup in test class

3 years ago[REF] Move function from static class to OO class
eileen [Wed, 31 Mar 2021 03:47:13 +0000 (16:47 +1300)]
[REF] Move function from static class to OO class

Part of using the mergeHandler to (slowly) make code more readable.

changes from

self::mergeLocations();

to mergeHandler->mergeLocations()

3 years agoNFC cleanup in hook class
eileen [Wed, 31 Mar 2021 02:51:50 +0000 (15:51 +1300)]
NFC cleanup in hook class

3 years agoMerge pull request #19950 from eileenmcnaughton/dead_fn
Eileen McNaughton [Wed, 31 Mar 2021 02:35:30 +0000 (15:35 +1300)]
Merge pull request #19950 from eileenmcnaughton/dead_fn

Remove unused private function

3 years agoAdding test to support fix
Pradeep Nayak [Wed, 31 Mar 2021 01:55:37 +0000 (02:55 +0100)]
Adding test to support fix

3 years agoMerge pull request #19941 from eileenmcnaughton/html_to_money
Eileen McNaughton [Wed, 31 Mar 2021 01:46:26 +0000 (14:46 +1300)]
Merge pull request #19941 from eileenmcnaughton/html_to_money

Stop passing html to crmMoney

3 years agoDonot over-ride total amount incase contribution has more than one line item
Pradeep Nayak [Wed, 31 Mar 2021 01:16:23 +0000 (02:16 +0100)]
Donot over-ride total amount incase contribution has more than one line item

3 years agodev/core#2498 Fix regression on saving dedupe rules
eileen [Wed, 31 Mar 2021 01:28:11 +0000 (14:28 +1300)]
dev/core#2498 Fix regression on saving dedupe rules

3 years agoRemove unused private function
eileen [Wed, 31 Mar 2021 00:35:22 +0000 (13:35 +1300)]
Remove unused private function

3 years ago[REF] Minor cleanup
eileen [Wed, 31 Mar 2021 00:17:58 +0000 (13:17 +1300)]
[REF] Minor cleanup

Makes typing a bit stricter, uses preferred strpos function

3 years agodatepicker remnant
demeritcowboy [Tue, 30 Mar 2021 23:04:12 +0000 (19:04 -0400)]
datepicker remnant

3 years agoMerge pull request #19940 from eileenmcnaughton/dave_shall_not_break_our_tests
Seamus Lee [Tue, 30 Mar 2021 22:45:54 +0000 (09:45 +1100)]
Merge pull request #19940 from eileenmcnaughton/dave_shall_not_break_our_tests

Fix to avoid passing non-money to money::format

3 years agoMerge pull request #19933 from eileenmcnaughton/pt
colemanw [Tue, 30 Mar 2021 20:02:40 +0000 (16:02 -0400)]
Merge pull request #19933 from eileenmcnaughton/pt

dev/core#2486 Add payment token api

3 years agoStop passing html to crmMoney
eileen [Tue, 30 Mar 2021 00:33:38 +0000 (13:33 +1300)]
Stop passing html to crmMoney

3 years agoMerge pull request #19945 from eileenmcnaughton/group_filter
colemanw [Tue, 30 Mar 2021 19:03:34 +0000 (15:03 -0400)]
Merge pull request #19945 from eileenmcnaughton/group_filter

[REF] Extract portion of GroupContact load that builds the temporary table

3 years agoAdd payment token api
eileen [Mon, 29 Mar 2021 00:54:16 +0000 (13:54 +1300)]
Add payment token api

I put up a merge request to edit in somewhere to link to
https://lab.civicrm.org/documentation/docs/user-en/-/merge_requests/472 since I couldn't
see anywhere that payment tokens were discussed

3 years ago[REF] Extract portion of GroupContact load that builds the temporary table
eileen [Tue, 30 Mar 2021 05:42:36 +0000 (18:42 +1300)]
[REF] Extract portion of GroupContact load that builds the temporary table

This is mostly a straight extraction. I chose to pass groupIDs in as an array
as I think that creates greater flexibility and I chose to pass CRM_Utils_SQL_TempTable
in rather than load it in the function because I have some ideas I'm working through
about how that might also provide more flexibilty

Those things can be changed later if we want as it IS a protected function

3 years agoBump y18n from 4.0.0 to 4.0.1
dependabot[bot] [Tue, 30 Mar 2021 04:10:40 +0000 (04:10 +0000)]
Bump y18n from 4.0.0 to 4.0.1

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #19935 from colemanw/afGuiFixes
Eileen McNaughton [Tue, 30 Mar 2021 04:10:12 +0000 (17:10 +1300)]
Merge pull request #19935 from colemanw/afGuiFixes

Afform GUI - Improve drag-n-drop and add link to edit search

3 years agoMerge pull request #19943 from civicrm/5.36
Eileen McNaughton [Tue, 30 Mar 2021 03:18:13 +0000 (16:18 +1300)]
Merge pull request #19943 from civicrm/5.36

5.36 to master

3 years agoMerge pull request #19942 from eileenmcnaughton/5.36
Eileen McNaughton [Tue, 30 Mar 2021 03:17:30 +0000 (16:17 +1300)]
Merge pull request #19942 from eileenmcnaughton/5.36

Revert "dev/core#2028 Add in a status check for checking if the wkhtm…

3 years agoRevert "dev/core#2028 Add in a status check for checking if the wkhtmltopdf package...
eileen [Tue, 30 Mar 2021 00:50:28 +0000 (13:50 +1300)]
Revert "dev/core#2028 Add in a status check for checking if the wkhtmltopdf package is installed in the expected location, Also ensure if it isn't then the pdf generation falls back on the current default which is DOMPDF"

This reverts commit 6bbe0cf6c513c49f89179aa153cabad3a2a059b7.

3 years agoFix to avoid passing non-money to money::format
eileen [Tue, 30 Mar 2021 00:25:55 +0000 (13:25 +1300)]
Fix to avoid passing non-money to money::format

3 years agoAfformGui - Improve dragging & dropping with more space & clearer borders
Coleman Watts [Mon, 29 Mar 2021 03:18:37 +0000 (23:18 -0400)]
AfformGui - Improve dragging & dropping with more space & clearer borders

This adds more space for dragging & dropping elements so it's not so difficult to put things in the right place

3 years agoMerge pull request #19931 from eileenmcnaughton/fa
Eileen McNaughton [Mon, 29 Mar 2021 19:09:20 +0000 (08:09 +1300)]
Merge pull request #19931 from eileenmcnaughton/fa

dev/core#2486 Add v4 batch api

3 years agoMerge pull request #19923 from MikeyMJCO/patch-8
Eileen McNaughton [Mon, 29 Mar 2021 18:08:18 +0000 (07:08 +1300)]
Merge pull request #19923 from MikeyMJCO/patch-8

Set the `Other Amount` input in a price set to not autocomplete

3 years agoMerge pull request #19873 from demeritcowboy/multiemail-activityids
Eileen McNaughton [Mon, 29 Mar 2021 18:06:15 +0000 (07:06 +1300)]
Merge pull request #19873 from demeritcowboy/multiemail-activityids

dev/core#2463 - Adjust returned list of activity ids when sending emails since it changes in 5.36+

3 years agotrigger an error if non-numeric
demeritcowboy [Mon, 29 Mar 2021 17:54:24 +0000 (13:54 -0400)]
trigger an error if non-numeric

3 years agodev/core#527 use public title for on behalf profile and confirm/thank you pages
Samuel Vanhove [Mon, 29 Mar 2021 16:06:07 +0000 (12:06 -0400)]
dev/core#527 use public title for on behalf profile and confirm/thank you pages

3 years agoOnly include completed contributions in the aggregate custom search
Jamie McClelland [Mon, 29 Mar 2021 14:27:25 +0000 (10:27 -0400)]
Only include completed contributions in the aggregate custom search

There is little value in getting the aggregate contributions if failed
contributions are also included.

3 years agoAdd v4 batch api
eileen [Sun, 28 Mar 2021 23:42:43 +0000 (12:42 +1300)]
Add v4 batch api

3 years agoAfformGui - Add link to edit SavedSearch to searchDisplay element
Coleman Watts [Mon, 29 Mar 2021 03:17:18 +0000 (23:17 -0400)]
AfformGui - Add link to edit SavedSearch to searchDisplay element

3 years agoMerge pull request #19932 from eileenmcnaughton/ft
Eileen McNaughton [Mon, 29 Mar 2021 01:41:46 +0000 (14:41 +1300)]
Merge pull request #19932 from eileenmcnaughton/ft

dev/core#2486 Add entity financial trxn

3 years agodev/core#2486 Add entity financial trxn
eileen [Mon, 29 Mar 2021 00:11:23 +0000 (13:11 +1300)]
dev/core#2486 Add entity financial trxn

3 years agoMerge pull request #19930 from eileenmcnaughton/acl_setting
Seamus Lee [Sun, 28 Mar 2021 22:49:17 +0000 (09:49 +1100)]
Merge pull request #19930 from eileenmcnaughton/acl_setting

dev/core#2477 Add setting to allow opportunistic cache flushing for acls

3 years agoMerge pull request #19929 from demeritcowboy/fake-intl-warning
Eileen McNaughton [Sun, 28 Mar 2021 22:18:15 +0000 (11:18 +1300)]
Merge pull request #19929 from demeritcowboy/fake-intl-warning

dev/financial#171 - False INTL warning when adding a price field

3 years agodev/core#2477 Add setting to allow opportunistic cache flushing for acls
eileen [Sun, 28 Mar 2021 20:37:42 +0000 (09:37 +1300)]
dev/core#2477 Add setting to allow opportunistic cache flushing for acls

This adds the same mechanism as the group contact cache to reduce site contention.
A job api is also added which people can optionally configure.

It would be especially worth setting on sites that do not use ACLs at all

3 years agofalse INTL warning
demeritcowboy [Sun, 28 Mar 2021 19:46:55 +0000 (15:46 -0400)]
false INTL warning

3 years agoMerge pull request #19738 from jitendrapurohit/note-date
Eileen McNaughton [Sun, 28 Mar 2021 09:27:54 +0000 (22:27 +1300)]
Merge pull request #19738 from jitendrapurohit/note-date

dev/core#2243 Add created_date column to the civicrm_note table

3 years agoadd created_date to civicrm_note
Jitendra Purohit [Fri, 5 Mar 2021 09:27:35 +0000 (14:57 +0530)]
add created_date to civicrm_note

3 years agoMerge pull request #19925 from eileenmcnaughton/tear
Seamus Lee [Sat, 27 Mar 2021 23:07:40 +0000 (10:07 +1100)]
Merge pull request #19925 from eileenmcnaughton/tear

PHPUNIT 8 - add void to setup functions

3 years ago[REF] Extract getMembershipTypeValues
eileen [Fri, 26 Mar 2021 03:23:25 +0000 (16:23 +1300)]
[REF] Extract getMembershipTypeValues

3 years agoPHPUNIT 8 - add void to setup functions
eileen [Sat, 27 Mar 2021 19:22:16 +0000 (08:22 +1300)]
PHPUNIT 8 - add void to setup functions

3 years agoAdd checkstyle comma after last item in multiline array.
Mikey O'Toole [Sat, 27 Mar 2021 17:32:00 +0000 (17:32 +0000)]
Add checkstyle comma after last item in multiline array.

3 years agoSet the `Other Amount` input in a price set to not autocomplete
Mikey O'Toole [Sat, 27 Mar 2021 17:26:19 +0000 (17:26 +0000)]
Set the `Other Amount` input in a price set to not autocomplete

3 years agoadjust for multiple activities in 5.36+
demeritcowboy [Sat, 27 Mar 2021 13:33:07 +0000 (09:33 -0400)]
adjust for multiple activities in 5.36+

3 years agoMerge pull request #19863 from eileenmcnaughton/flex
Seamus Lee [Sat, 27 Mar 2021 04:40:17 +0000 (15:40 +1100)]
Merge pull request #19863 from eileenmcnaughton/flex

Update flexmailer default

3 years agoMerge pull request #19921 from eileenmcnaughton/tear
Seamus Lee [Sat, 27 Mar 2021 04:37:51 +0000 (15:37 +1100)]
Merge pull request #19921 from eileenmcnaughton/tear

[PHPunit8] cleanup on setUp functions

3 years ago[PHPunit8] cleanup on tearDown functions
eileen [Thu, 25 Mar 2021 09:58:22 +0000 (22:58 +1300)]
[PHPunit8] cleanup on tearDown functions

3 years agoFlexmailer - Switch defintion of "auto" to "flexmailer"
Tim Otten [Sat, 27 Mar 2021 02:11:54 +0000 (19:11 -0700)]
Flexmailer - Switch defintion of "auto" to "flexmailer"

3 years agodev/wordpress#82 Add support for creating WordPress accounts from the contact record
Mathieu Lutfy [Mon, 16 Nov 2020 21:25:30 +0000 (16:25 -0500)]
dev/wordpress#82 Add support for creating WordPress accounts from the contact record

Also removes the possibility to set a user-defined password for WordPress users.

3 years agoFiveThirtySeven - Upgrade note about token formatting
Tim Otten [Sat, 27 Mar 2021 00:45:31 +0000 (17:45 -0700)]
FiveThirtySeven - Upgrade note about token formatting

3 years agoMerge pull request #19893 from eileenmcnaughton/mem_types
Eileen McNaughton [Sat, 27 Mar 2021 00:33:26 +0000 (13:33 +1300)]
Merge pull request #19893 from eileenmcnaughton/mem_types

[REF]  [Towards membership api] Simplify calculation of recurring membership parameters

3 years agoMerge pull request #19919 from eileenmcnaughton/pay2
Eileen McNaughton [Sat, 27 Mar 2021 00:32:55 +0000 (13:32 +1300)]
Merge pull request #19919 from eileenmcnaughton/pay2

Remove deprecated code

3 years agoMerge pull request #19918 from eileenmcnaughton/payment
colemanw [Sat, 27 Mar 2021 00:11:41 +0000 (20:11 -0400)]
Merge pull request #19918 from eileenmcnaughton/payment

Add FinancialTrxn apiv4

3 years agoRemove deprecated code
eileen [Fri, 26 Mar 2021 21:37:36 +0000 (10:37 +1300)]
Remove deprecated code

3 years agoMerge pull request #19806 from eileenmcnaughton/msg_compat
Tim Otten [Fri, 26 Mar 2021 21:26:34 +0000 (14:26 -0700)]
Merge pull request #19806 from eileenmcnaughton/msg_compat

Align most of the tokens in the token processor handling with the legacy handling

3 years agoAdd FinancialTrxn apiv4
eileen [Fri, 26 Mar 2021 21:07:18 +0000 (10:07 +1300)]
Add FinancialTrxn apiv4

3 years agoMerge pull request #19912 from eileenmcnaughton/batch
colemanw [Fri, 26 Mar 2021 21:04:57 +0000 (17:04 -0400)]
Merge pull request #19912 from eileenmcnaughton/batch

[REF] [Towards membership api] Duplicate emailReceipt function rather than silly sharing

3 years ago[REF] Simplify calculation of recurring membership parameters
eileen [Wed, 24 Mar 2021 22:29:47 +0000 (11:29 +1300)]
[REF] Simplify calculation of recurring membership parameters

We need frequency_unit & frequency_interval for the params we pass
to the payment process & those we use to create the recurring -
this simplifies them to be calculated in a function rather than being
passed around

For the legacyProcessRecurringContribution function to be reached
auto_renew must be true

3 years agoMerge pull request #19915 from eileenmcnaughton/mem_end
Monish Deb [Fri, 26 Mar 2021 12:32:06 +0000 (18:02 +0530)]
Merge pull request #19915 from eileenmcnaughton/mem_end

[REF] [Towards membership api] Simplify message functions

3 years agoMerge pull request #19906 from MikeyMJCO/patch-8
Eileen McNaughton [Fri, 26 Mar 2021 09:21:09 +0000 (22:21 +1300)]
Merge pull request #19906 from MikeyMJCO/patch-8

Rebuild the Drupal route cache.

3 years ago[REF] [Towards membership api] Simplify message functions
eileen [Fri, 26 Mar 2021 06:38:23 +0000 (19:38 +1300)]
[REF] [Towards membership api] Simplify message functions

The amount of code confusion to avoid loading the end_date isn't really warranted for the
performance boost....

3 years agoMerge pull request #19910 from eileenmcnaughton/mem_pay
Monish Deb [Fri, 26 Mar 2021 05:38:58 +0000 (11:08 +0530)]
Merge pull request #19910 from eileenmcnaughton/mem_pay

[REF] [Towards membership api] Cleanup access to payment_processor_id

3 years agoMerge pull request #19905 from eileenmcnaughton/tear
Eileen McNaughton [Fri, 26 Mar 2021 04:15:53 +0000 (17:15 +1300)]
Merge pull request #19905 from eileenmcnaughton/tear

[PHPunit8] cleanup on tearDown functions

3 years ago[REF] Duplicate emailReceipt function rather than silly sharing
eileen [Fri, 26 Mar 2021 03:06:27 +0000 (16:06 +1300)]
[REF] Duplicate emailReceipt function rather than silly sharing

3 years ago[PHPunit8] cleanup on tearDown functions
eileen [Thu, 25 Mar 2021 09:58:22 +0000 (22:58 +1300)]
[PHPunit8] cleanup on tearDown functions

3 years ago[REF] [Towards membership api] more consistent handling on amount
eileen [Fri, 26 Mar 2021 00:46:53 +0000 (13:46 +1300)]
[REF] [Towards membership api] more consistent handling on amount

This also moves template assignments to the email function

3 years ago[REF] Cleanup access to payment_processor_id
eileen [Thu, 25 Mar 2021 23:38:08 +0000 (12:38 +1300)]
[REF] Cleanup access to payment_processor_id

3 years agoMerge pull request #19909 from eileenmcnaughton/setup
Seamus Lee [Thu, 25 Mar 2021 22:37:51 +0000 (09:37 +1100)]
Merge pull request #19909 from eileenmcnaughton/setup

[phpunit8] Add void to some setup() functions

3 years agoMerge pull request #19908 from colemanw/relationshipCacheReadonly
Eileen McNaughton [Thu, 25 Mar 2021 21:19:55 +0000 (10:19 +1300)]
Merge pull request #19908 from colemanw/relationshipCacheReadonly

Schema - Add readonly to all fields in RelationshipCache entity

3 years agoAdd void to some setup() functions
eileen [Thu, 25 Mar 2021 20:27:46 +0000 (09:27 +1300)]
Add void to some setup() functions

3 years agoRebuild the Drupal route cache.
Mikey O'Toole [Thu, 25 Mar 2021 19:32:51 +0000 (19:32 +0000)]
Rebuild the Drupal route cache.

This is linked to [issue 158](https://lab.civicrm.org/dev/drupal/-/issues/158) and [issue 37](https://lab.civicrm.org/dev/drupal/-/issues/37).

It takes an alternative approach, adding a Util hook function to rebuild the route cache which we can then invoke from multiple places.
Trigger `rebuildDrupalRouteCache()` when running `triggerRebuild()`
Fix checkstyle issues
Change function from `protected` to `public`
Update Drupal8.php
Add base for `invalidateRouteCache()`
Add invalidateRouteCache function
Add call to userFramework->invalidateRouteCache
Update Base.php
Correct `userFramework` to `userSystem`
Remove stray whitespace.
Move invalidateRouteCache call to the same place as resetNavigation.
Update Invoke.php
Switch to the `router.builder' option as invalidating the cache doesn't cut it.

3 years agoMerge pull request #19870 from totten/master-psr0
colemanw [Thu, 25 Mar 2021 16:16:10 +0000 (12:16 -0400)]
Merge pull request #19870 from totten/master-psr0

info.xml - Allow PSR-0 style class-loader declarations

3 years agoSchema - Add readonly to all fields in RelationshipCache entity
Coleman Watts [Thu, 25 Mar 2021 15:52:33 +0000 (11:52 -0400)]
Schema - Add readonly to all fields in RelationshipCache entity

This entire entity is readonly. Fields should never be presented to the user as editable.