civicrm-core.git
2 years agodev/core#1307 Add civicrm_import_job table
Eileen McNaughton [Thu, 14 Apr 2022 04:04:39 +0000 (16:04 +1200)]
dev/core#1307 Add civicrm_import_job table

2 years agoMerge pull request #23209 from civicrm/5.49
Eileen McNaughton [Fri, 15 Apr 2022 01:40:46 +0000 (13:40 +1200)]
Merge pull request #23209 from civicrm/5.49

5.49

2 years agoMerge pull request #23212 from colemanw/noMoreDrupal6
Eileen McNaughton [Fri, 15 Apr 2022 01:25:26 +0000 (13:25 +1200)]
Merge pull request #23212 from colemanw/noMoreDrupal6

Remove code only needed by Drupal6

2 years agoRemove code only needed by Drupal6
Coleman Watts [Thu, 14 Apr 2022 23:33:03 +0000 (19:33 -0400)]
Remove code only needed by Drupal6

Followup from https://github.com/civicrm/civicrm-core/pull/22960

2 years agoMerge pull request #23206 from braders/feature/pledge-payment-nodefaults
Eileen McNaughton [Thu, 14 Apr 2022 23:20:21 +0000 (11:20 +1200)]
Merge pull request #23206 from braders/feature/pledge-payment-nodefaults

Don't overescape links in pledge tab

2 years agoMerge pull request #23160 from eileenmcnaughton/ev
Tim Otten [Thu, 14 Apr 2022 23:13:07 +0000 (16:13 -0700)]
Merge pull request #23160 from eileenmcnaughton/ev

(REF) Fix test to use full flow

2 years agoMerge pull request #23205 from braders/tablink-nodefaults
Eileen McNaughton [Thu, 14 Apr 2022 22:46:47 +0000 (10:46 +1200)]
Merge pull request #23205 from braders/tablink-nodefaults

Don't overescape tab links

2 years agoMerge pull request #23198 from eileenmcnaughton/549
demeritcowboy [Thu, 14 Apr 2022 22:35:41 +0000 (18:35 -0400)]
Merge pull request #23198 from eileenmcnaughton/549

Move 5.49 update to beta

2 years agoMerge pull request #23204 from totten/master-ext-msg
Eileen McNaughton [Thu, 14 Apr 2022 21:50:25 +0000 (09:50 +1200)]
Merge pull request #23204 from totten/master-ext-msg

(dev/core#3171) "Manage Extensions" - Tweak messaging for "Install" screen

2 years agoDon't overescape links in pledge tab
Bradley Taylor [Thu, 14 Apr 2022 21:03:01 +0000 (22:03 +0100)]
Don't overescape links in pledge tab

2 years agoDon't overescape tab links
Bradley Taylor [Thu, 14 Apr 2022 20:50:57 +0000 (21:50 +0100)]
Don't overescape tab links

2 years ago"Manage Extensions" - Fix title display
Tim Otten [Thu, 14 Apr 2022 19:56:49 +0000 (12:56 -0700)]
"Manage Extensions" - Fix title display

1. Extensions sometimes display the `key` rather than the `<name>`.
   This happens because it only reads titles from the remote/download feed.
2. When the key is used, put some styling on it.
3. Escape from Los Smartalous

2 years agodev/core#3171 - Tune-down the pre-"Install" message
Tim Otten [Thu, 14 Apr 2022 19:55:31 +0000 (12:55 -0700)]
dev/core#3171 - Tune-down the pre-"Install" message

2 years agoMerge pull request #23194 from eileenmcnaughton/ds2
demeritcowboy [Thu, 14 Apr 2022 12:33:32 +0000 (08:33 -0400)]
Merge pull request #23194 from eileenmcnaughton/ds2

Remove unused parameter from private function

2 years agoMerge pull request #23200 from eileenmcnaughton/unused
demeritcowboy [Thu, 14 Apr 2022 12:30:48 +0000 (08:30 -0400)]
Merge pull request #23200 from eileenmcnaughton/unused

Remove unused function

2 years agoMerge pull request #23157 from eileenmcnaughton/anet
Monish Deb [Thu, 14 Apr 2022 08:20:50 +0000 (13:50 +0530)]
Merge pull request #23157 from eileenmcnaughton/anet

Minor readability improvement

2 years agoMerge pull request #23203 from civicrm/5.49
Eileen McNaughton [Thu, 14 Apr 2022 06:42:43 +0000 (18:42 +1200)]
Merge pull request #23203 from civicrm/5.49

5.49 to master

2 years agoMerge pull request #23177 from JMAConsulting/booleanFields_1
Eileen McNaughton [Thu, 14 Apr 2022 06:41:46 +0000 (18:41 +1200)]
Merge pull request #23177 from JMAConsulting/booleanFields_1

(REF) Schema - Correct boolean fields in various tables

2 years agoMerge pull request #23201 from civicrm/5.49
Seamus Lee [Thu, 14 Apr 2022 06:22:02 +0000 (16:22 +1000)]
Merge pull request #23201 from civicrm/5.49

5.49

2 years agoMerge pull request #23197 from seamuslee001/5.49
Eileen McNaughton [Thu, 14 Apr 2022 05:12:50 +0000 (17:12 +1200)]
Merge pull request #23197 from seamuslee001/5.49

[REF] Regenerate civicrm_generated data

2 years agoRemove unused function
Eileen McNaughton [Thu, 14 Apr 2022 05:10:14 +0000 (17:10 +1200)]
Remove unused function

2 years agorevert Menu.is_public requiredness
Monish Deb [Sat, 9 Apr 2022 02:05:54 +0000 (07:35 +0530)]
revert Menu.is_public requiredness

2 years agoMerge pull request #23158 from eileenmcnaughton/fail
Monish Deb [Thu, 14 Apr 2022 04:20:53 +0000 (09:50 +0530)]
Merge pull request #23158 from eileenmcnaughton/fail

[REF] Extract getContributionRecurID

2 years agoMerge pull request #22571 from eileenmcnaughton/trxn
Monish Deb [Thu, 14 Apr 2022 04:10:13 +0000 (09:40 +0530)]
Merge pull request #22571 from eileenmcnaughton/trxn

Improve financial trxn spec to require required fields

2 years agoMerge pull request #23196 from civicrm/5.49
Eileen McNaughton [Thu, 14 Apr 2022 04:03:44 +0000 (16:03 +1200)]
Merge pull request #23196 from civicrm/5.49

5.49 to master

2 years agoMove 5.49 update to beta
Eileen McNaughton [Thu, 14 Apr 2022 03:46:02 +0000 (15:46 +1200)]
Move 5.49 update to beta

2 years ago[REF] Regenerate civicrm_generated data
Seamus Lee [Thu, 14 Apr 2022 03:31:33 +0000 (13:31 +1000)]
[REF] Regenerate civicrm_generated data

2 years agoMerge pull request #23192 from eileenmcnaughton/549
Seamus Lee [Thu, 14 Apr 2022 03:24:39 +0000 (13:24 +1000)]
Merge pull request #23192 from eileenmcnaughton/549

Fix FiveFortyNine is_public to default to 0

2 years agoMerge pull request #23189 from alifrumin/rn5.49
Eileen McNaughton [Thu, 14 Apr 2022 02:30:23 +0000 (14:30 +1200)]
Merge pull request #23189 from alifrumin/rn5.49

[NFC] First Pass at Release notes for 5.49

2 years agoRemove unused parameter from private function
Eileen McNaughton [Thu, 14 Apr 2022 01:41:44 +0000 (13:41 +1200)]
Remove unused parameter from private function

2 years agoMerge pull request #23191 from twomice/3164_report_show_filter_criteria_zero
Eileen McNaughton [Thu, 14 Apr 2022 01:24:22 +0000 (13:24 +1200)]
Merge pull request #23191 from twomice/3164_report_show_filter_criteria_zero

dev/core#3164 : Report Filter Statistics don't show filters with vaue of "0"

2 years agoImprove financial trxn spec to require required fields
Eileen McNaughton [Wed, 19 Jan 2022 04:20:39 +0000 (17:20 +1300)]
Improve financial trxn spec to require required fields

It turns out the apiv4 conformance test only passes because it
is bypassing the BAO create method - which requires more parameters

Not this will fail :-( because it messes with the test expectations
- I don't know how to create complex valid test data for it though....

I guess we could create a contribution & pass it as entity_id

2 years ago[NFC] 5.49 release notes first pass
Alice Frumin [Wed, 13 Apr 2022 01:16:15 +0000 (21:16 -0400)]
[NFC] 5.49 release notes first pass

2 years agoFix FiveFortyNine is_public to default to 0
Eileen McNaughton [Wed, 13 Apr 2022 23:50:53 +0000 (11:50 +1200)]
Fix FiveFortyNine is_public to default to 0

2 years agodev/core#3164 : Report Filter Statistics don't show filters with value of "0"
Allen Shaw [Wed, 13 Apr 2022 23:24:21 +0000 (18:24 -0500)]
dev/core#3164 : Report Filter Statistics don't show filters with value of "0"

2 years agoMerge pull request #23139 from kurund/group-subscription-confirmation-email
Eileen McNaughton [Wed, 13 Apr 2022 21:10:09 +0000 (09:10 +1200)]
Merge pull request #23139 from kurund/group-subscription-confirmation-email

send group subscription welcome email only if template is enabled

2 years agoMerge pull request #23188 from colemanw/jsFix
demeritcowboy [Wed, 13 Apr 2022 18:09:31 +0000 (14:09 -0400)]
Merge pull request #23188 from colemanw/jsFix

Cleanup crmMailing/Templates.js

2 years agoCleanup crmMailing/Templates.js
Coleman Watts [Wed, 13 Apr 2022 16:01:59 +0000 (12:01 -0400)]
Cleanup crmMailing/Templates.js

2 years agoMerge pull request #23180 from eileenmcnaughton/csv
colemanw [Wed, 13 Apr 2022 02:27:42 +0000 (22:27 -0400)]
Merge pull request #23180 from eileenmcnaughton/csv

dev/core#3172 Update phpleague/csv from 9.2 to 9.6 (supports php 8)

2 years agoMerge pull request #23172 from eileenmcnaughton/import_most
colemanw [Wed, 13 Apr 2022 00:24:37 +0000 (20:24 -0400)]
Merge pull request #23172 from eileenmcnaughton/import_most

Further simplify variable retrieval

2 years agoMerge pull request #23181 from civicrm/5.49
Eileen McNaughton [Tue, 12 Apr 2022 23:50:31 +0000 (11:50 +1200)]
Merge pull request #23181 from civicrm/5.49

5.49 to master

2 years agoMerge pull request #23179 from totten/5.49-grant-entities
Eileen McNaughton [Tue, 12 Apr 2022 23:50:08 +0000 (11:50 +1200)]
Merge pull request #23179 from totten/5.49-grant-entities

(dev/core#3161) CiviGrant - Cleanup managed entities (5.49-rc)

2 years agodev/core#3172 Update phpleague/csv from 9.2 to 9.6 (supports php 8)
Eileen McNaughton [Tue, 12 Apr 2022 23:35:45 +0000 (11:35 +1200)]
dev/core#3172 Update phpleague/csv from 9.2 to 9.6 (supports php 8)

2 years agoMerge pull request #23082 from agileware/CIVICRM-1958
Eileen McNaughton [Tue, 12 Apr 2022 23:24:30 +0000 (11:24 +1200)]
Merge pull request #23082 from agileware/CIVICRM-1958

🪲 🪳 Bug Fix: The option "Enable multiple bulk email address for a contact" does not apply when editing a Contact, only works for inline edit of email addresses

2 years agoCiviGrant - Remove unused managed entities during upgrade
Coleman Watts [Tue, 12 Apr 2022 15:31:02 +0000 (11:31 -0400)]
CiviGrant - Remove unused managed entities during upgrade

Removes managed entities which may have been added during the 5.47 upgrade,
to prevent the managed system from automatically deleting them.

2 years agoCiviGrant - Cleanup managed entities - fixes dev/core#3161
Coleman Watts [Fri, 8 Apr 2022 13:47:51 +0000 (09:47 -0400)]
CiviGrant - Cleanup managed entities - fixes dev/core#3161

- Ensure labels are translated
- Set stricter cleanup policy for entities that should be removed on uninstall
- Make grant_status options unmanaged. They will not be updated by the system ever,
  but they will be deleted on uninstall because the option group is a managed entity.

2 years agoMerge pull request #23174 from braders/nodefaults-contrib-links
Eileen McNaughton [Tue, 12 Apr 2022 19:12:29 +0000 (07:12 +1200)]
Merge pull request #23174 from braders/nodefaults-contrib-links

Contribution dashboard links work in escape-on-output mode

2 years agoMerge pull request #23178 from civicrm/5.49
Eileen McNaughton [Tue, 12 Apr 2022 19:11:12 +0000 (07:11 +1200)]
Merge pull request #23178 from civicrm/5.49

5.49 to master

2 years agoMerge pull request #23176 from agh1/5.49.0-releasenotes-initial
Eileen McNaughton [Tue, 12 Apr 2022 19:09:58 +0000 (07:09 +1200)]
Merge pull request #23176 from agh1/5.49.0-releasenotes-initial

5.49.0 release notes initial run

2 years agoMerge pull request #23175 from pradpnayak/limitcontacts
Eileen McNaughton [Tue, 12 Apr 2022 19:00:55 +0000 (07:00 +1200)]
Merge pull request #23175 from pradpnayak/limitcontacts

Limit issue when printing pdf from contribution search

2 years ago5.49.0 release notes: added boilerplate
Andie Hunt [Tue, 12 Apr 2022 17:00:31 +0000 (13:00 -0400)]
5.49.0 release notes: added boilerplate

2 years ago5.49.0 release notes: raw from script
Andie Hunt [Tue, 12 Apr 2022 16:23:20 +0000 (12:23 -0400)]
5.49.0 release notes: raw from script

2 years agoMerge pull request #23173 from braders/escape-on-output-event-links
colemanw [Tue, 12 Apr 2022 15:07:30 +0000 (11:07 -0400)]
Merge pull request #23173 from braders/escape-on-output-event-links

Add smarty:nodefaults to ManageEvent page.

2 years agoFix limit issue
Pradeep Nayak [Tue, 12 Apr 2022 13:13:45 +0000 (14:13 +0100)]
Fix limit issue

2 years agoContrib dashboard links work in escape-on-output mode
Bradley Taylor [Tue, 12 Apr 2022 06:51:12 +0000 (07:51 +0100)]
Contrib dashboard links work in escape-on-output mode

2 years agoAdd smarty:nodefaults to ManageEvent page.
Bradley Taylor [Tue, 12 Apr 2022 06:41:42 +0000 (07:41 +0100)]
Add smarty:nodefaults to ManageEvent page.
This ensures that the links render correctly in escape-on-output mode.

2 years agoSimplify more variables
Eileen McNaughton [Tue, 12 Apr 2022 02:49:22 +0000 (14:49 +1200)]
Simplify more variables

2 years agoSimplify value retrieval
Eileen McNaughton [Mon, 11 Apr 2022 23:42:04 +0000 (11:42 +1200)]
Simplify value retrieval

2 years agoMerge pull request #23171 from eileenmcnaughton/saved_map
Eileen McNaughton [Tue, 12 Apr 2022 02:33:07 +0000 (14:33 +1200)]
Merge pull request #23171 from eileenmcnaughton/saved_map

Remove some copy & paste

2 years agoMerge pull request #23169 from totten/master-authx-info
Tim Otten [Tue, 12 Apr 2022 00:48:00 +0000 (17:48 -0700)]
Merge pull request #23169 from totten/master-authx-info

(NFC) authx - Update descriptions and links in `info.xml`

2 years agoRemove some copy & paste
Eileen McNaughton [Tue, 12 Apr 2022 00:45:28 +0000 (12:45 +1200)]
Remove some copy & paste

2 years agoMerge pull request #23135 from eileenmcnaughton/memm
colemanw [Mon, 11 Apr 2022 23:35:48 +0000 (19:35 -0400)]
Merge pull request #23135 from eileenmcnaughton/memm

Centralise skipColumnHeader to one function (fixes notices, cleans code)

2 years agoMerge pull request #23168 from totten/master-ver-compat
colemanw [Mon, 11 Apr 2022 23:28:24 +0000 (19:28 -0400)]
Merge pull request #23168 from totten/master-ver-compat

(Re-)Set version to 5.50.alpha1

2 years agoMerge pull request #23166 from pradpnayak/limitcontacts
Eileen McNaughton [Mon, 11 Apr 2022 23:28:22 +0000 (11:28 +1200)]
Merge pull request #23166 from pradpnayak/limitcontacts

Set limit to 0 when processing send sms task

2 years agoMerge pull request #23165 from eileenmcnaughton/ref
colemanw [Mon, 11 Apr 2022 23:24:38 +0000 (19:24 -0400)]
Merge pull request #23165 from eileenmcnaughton/ref

Reduce use of reference

2 years ago(NFC) authx - Update descriptions and links in `info.xml`
Tim Otten [Mon, 11 Apr 2022 22:47:52 +0000 (15:47 -0700)]
(NFC) authx - Update descriptions and links in `info.xml`

2 years agoSet limit to 0 when processing send sms task
Pradeep Nayak [Mon, 11 Apr 2022 20:56:30 +0000 (21:56 +0100)]
Set limit to 0 when processing send sms task

2 years agoSet version to 5.50.alpha1
Tim Otten [Mon, 11 Apr 2022 21:42:11 +0000 (14:42 -0700)]
Set version to 5.50.alpha1

2 years agoMerge pull request #23143 from colemanw/extVersion
Tim Otten [Mon, 11 Apr 2022 21:44:34 +0000 (14:44 -0700)]
Merge pull request #23143 from colemanw/extVersion

Release - Set version compatibility for core extensions when updating core

2 years agoCentralise skipColumnHeader to one function
Eileen McNaughton [Fri, 8 Apr 2022 00:40:07 +0000 (12:40 +1200)]
Centralise skipColumnHeader to one function

2 years agoReduce use of reference
Eileen McNaughton [Mon, 11 Apr 2022 19:53:08 +0000 (07:53 +1200)]
Reduce use of reference

Reference does not make sense for objects. assign_by_ref does not make
sense when not used again in the function or returned in a reffy kinda way

2 years agoMerge pull request #23101 from MegaphoneJon/core-1836-js
Eileen McNaughton [Mon, 11 Apr 2022 19:34:44 +0000 (07:34 +1200)]
Merge pull request #23101 from MegaphoneJon/core-1836-js

core#1836 - restrict scheduled reminder 'Also Include' to non-events

2 years agoMerge pull request #23163 from mlutfy/fixTsEventSv
Eileen McNaughton [Mon, 11 Apr 2022 19:31:46 +0000 (07:31 +1200)]
Merge pull request #23163 from mlutfy/fixTsEventSv

getSelfServiceEligibility: fix string translation

2 years agoMerge pull request #23155 from eileenmcnaughton/ret2
demeritcowboy [Mon, 11 Apr 2022 18:37:58 +0000 (14:37 -0400)]
Merge pull request #23155 from eileenmcnaughton/ret2

Remove-single-value-loop

2 years agoMerge pull request #23162 from agileware/additional-not-additonal
demeritcowboy [Mon, 11 Apr 2022 18:30:05 +0000 (14:30 -0400)]
Merge pull request #23162 from agileware/additional-not-additonal

✍🏼 Fix spelling of "additional". Numerous uses of "additonal"

2 years agogetSelfServiceEligibility: fix string translation
Mathieu Lutfy [Mon, 11 Apr 2022 17:58:26 +0000 (13:58 -0400)]
getSelfServiceEligibility: fix string translation

2 years agoFix spelling of additional
Justin Freeman [Mon, 11 Apr 2022 03:51:25 +0000 (13:51 +1000)]
Fix spelling of additional

2 years agoFix test to use full flow
Eileen McNaughton [Mon, 11 Apr 2022 02:16:32 +0000 (14:16 +1200)]
Fix test to use full flow

2 years ago[REF] Extract getContributionRecurID
Eileen McNaughton [Mon, 11 Apr 2022 01:33:26 +0000 (13:33 +1200)]
[REF] Extract getContributionRecurID

2 years agoMinor readability improvement
Eileen McNaughton [Mon, 11 Apr 2022 01:16:11 +0000 (13:16 +1200)]
Minor readability improvement

This just adds isSuccess as a function to avoid having to understand what
response code is.

I grepped & didn't find 'response_code' outside the class/test

I also confirmed that the retrieve function casts to an int (via
validate) so the triple = is correct

2 years agoMerge pull request #23141 from totten/master-mailing-verify
Eileen McNaughton [Sun, 10 Apr 2022 23:26:31 +0000 (11:26 +1200)]
Merge pull request #23141 from totten/master-mailing-verify

(dev/mail#107) CiviMail - Fix validation error (5.49)

2 years agoMerge pull request #22159 from colemanw/isCurrentDomain
Eileen McNaughton [Sun, 10 Apr 2022 23:21:51 +0000 (11:21 +1200)]
Merge pull request #22159 from colemanw/isCurrentDomain

APIv4 - Add `is_active` extra field to Domain entity

2 years agoMerge pull request #23144 from colemanw/noMoreSaveButtonInApiExplorer
Eileen McNaughton [Sun, 10 Apr 2022 23:20:24 +0000 (11:20 +1200)]
Merge pull request #23144 from colemanw/noMoreSaveButtonInApiExplorer

API4 Explorer - Remove confusing "Save" button

2 years agoRemove-single-value-loop
Eileen McNaughton [Sun, 10 Apr 2022 23:12:44 +0000 (11:12 +1200)]
Remove-single-value-loop

The communicationType array only has one value. This removes the foreach, swapping
the values for the only value they could be. This resulted in 2 always-true
ifs being replaced too

2 years agoMerge pull request #23149 from colemanw/searchIcons
Eileen McNaughton [Sun, 10 Apr 2022 23:03:26 +0000 (11:03 +1200)]
Merge pull request #23149 from colemanw/searchIcons

Add icons for SavedSearch and SearchDisplay entities

2 years agoMerge pull request #23150 from braders/deleteurl-ensure-variable
Eileen McNaughton [Sun, 10 Apr 2022 23:02:25 +0000 (11:02 +1200)]
Merge pull request #23150 from braders/deleteurl-ensure-variable

Ensure deleteURL variable for ContactImage.tpl

2 years agoMerge pull request #23153 from braders/nodefaults-default-form
Eileen McNaughton [Sun, 10 Apr 2022 23:01:51 +0000 (11:01 +1200)]
Merge pull request #23153 from braders/nodefaults-default-form

Add smarty:nodefaults to default.tpl form.

2 years agoMerge pull request #23154 from civicrm/5.49
demeritcowboy [Sun, 10 Apr 2022 22:39:41 +0000 (18:39 -0400)]
Merge pull request #23154 from civicrm/5.49

5.49

2 years agoMerge pull request #23152 from braders/row-weight-nodefaults
Seamus Lee [Sun, 10 Apr 2022 22:11:45 +0000 (08:11 +1000)]
Merge pull request #23152 from braders/row-weight-nodefaults

Don't overescape weights in default-escape mode

2 years agoMerge pull request #23151 from braders/financialaccount-notices
demeritcowboy [Sun, 10 Apr 2022 19:34:28 +0000 (15:34 -0400)]
Merge pull request #23151 from braders/financialaccount-notices

Avoid PHP notices on FinancialAccount table

2 years agoMerge pull request #23148 from totten/5.48-cache-ver-suffix
demeritcowboy [Sun, 10 Apr 2022 19:17:02 +0000 (15:17 -0400)]
Merge pull request #23148 from totten/5.48-cache-ver-suffix

(dev/core#3166) "Metadata" cache - Strictly separate by version

2 years agoMerge pull request #22967 from eileenmcnaughton/ret2
demeritcowboy [Sun, 10 Apr 2022 19:16:10 +0000 (15:16 -0400)]
Merge pull request #22967 from eileenmcnaughton/ret2

[REF] Code cleanup on location entities for the Contact Summary screen

2 years agoAdd smarty:nodefaults to default.tpl form.
Bradley Taylor [Sun, 10 Apr 2022 15:19:26 +0000 (16:19 +0100)]
Add smarty:nodefaults to default.tpl form.

This allows core forms (e.g. search forms) to submit correctly,
even with CIVICRM_SMARTY_DEFAULT_ESCAPE mode.

Without this change, quote marks were turned into HTML attributes,
meaning the form essentially had no method or action.

2 years agoDon't overescape weights in default-escape mode
Bradley Taylor [Sun, 10 Apr 2022 10:16:01 +0000 (11:16 +0100)]
Don't overescape weights in default-escape mode

2 years agoAvoid PHP notices on FinancialAccount table
Bradley Taylor [Sun, 10 Apr 2022 09:50:34 +0000 (10:50 +0100)]
Avoid PHP notices on FinancialAccount table

2 years agoEnsure deleteURL variable for ContactImage.tpl
Bradley Taylor [Sun, 10 Apr 2022 08:09:06 +0000 (09:09 +0100)]
Ensure deleteURL variable for ContactImage.tpl

2 years agoAdd icons for SavedSearch and SearchDisplay entities
Coleman Watts [Sun, 10 Apr 2022 00:40:49 +0000 (20:40 -0400)]
Add icons for SavedSearch and SearchDisplay entities

2 years agoSet version to 5.50.alpha1
CiviCRM [Sat, 9 Apr 2022 21:41:10 +0000 (21:41 +0000)]
Set version to 5.50.alpha1

2 years agoSet version to 5.49.beta1
CiviCRM [Sat, 9 Apr 2022 21:38:59 +0000 (21:38 +0000)]
Set version to 5.49.beta1

2 years ago(dev/core#3166) "Metadata" cache - Strictly separate by version
Tim Otten [Sat, 9 Apr 2022 20:23:56 +0000 (13:23 -0700)]
(dev/core#3166) "Metadata" cache - Strictly separate by version

This addresses some symptoms identified in the discussion of 3166.

Before
------

The "metadata" cache is always stored with the name `metadata`.

If you load a newer codebase, it still reads `metadata` from the older code base (until something explicitly clears the cache).

After
-----

The "metadata" cache is always stored with the name `metadata_{version}`, eg `metadata_5_48_0`.

If you load a newer codebase (eg `5.49.0`), it will ignore the older `metadata_5_48_0` and create a new `metadata_5_49_0`.

Comments
--------

The upgrade system also clears cache, but many users rely on navigating through the site to get to the upgrader.

The change could make sense with other caches, but I only applied the change to the `metadata` cache because there is _some_ risk;
eg if some caller bypasses the cache objects. (I was also slightly concerned about the possibility the some caller relies
on `$cache->getName()` or `$cache->getPrefix()` or similar... but I haven't been able to find any methods like that...). It seems
safer to put that sort of change into a monthly update rather than minor patch.