Mathieu Lutfy [Tue, 22 Nov 2022 21:02:04 +0000 (16:02 -0500)]
Log API Authorization failed errors
Seamus Lee [Tue, 22 Nov 2022 20:41:52 +0000 (07:41 +1100)]
Merge pull request #25006 from aydun/bao_del
More del() deprecations in favour of standard deleteRecord()
demeritcowboy [Tue, 22 Nov 2022 18:16:15 +0000 (13:16 -0500)]
Merge pull request #25022 from eileenmcnaughton/tokens
Cleanup in test class
Aidan Saunders [Mon, 21 Nov 2022 11:09:56 +0000 (11:09 +0000)]
More del() deprecations in favour of standard deleteRecord()
Eileen McNaughton [Tue, 22 Nov 2022 01:44:03 +0000 (14:44 +1300)]
Cleanup in test class
colemanw [Tue, 22 Nov 2022 01:04:00 +0000 (20:04 -0500)]
Merge pull request #25021 from colemanw/relationshipType
Add default label field for RelationshipType entity
Coleman Watts [Mon, 21 Nov 2022 23:22:46 +0000 (18:22 -0500)]
Add default label field for RelationshipType entity
Seamus Lee [Mon, 21 Nov 2022 21:23:27 +0000 (08:23 +1100)]
Merge pull request #25019 from aydun/bao_del_more
More BAO `del()` deprecations
colemanw [Mon, 21 Nov 2022 19:43:18 +0000 (14:43 -0500)]
Merge pull request #25018 from aydun/bao_del_event
Deprecate `CRM_Event_BAO_Event::del()` in favour of `deleteRecord()`
colemanw [Mon, 21 Nov 2022 19:43:03 +0000 (14:43 -0500)]
Merge pull request #25017 from aydun/bao_del_relationship
Deprecate `CRM_Contact_BAO_Relationship::del()` in favour of `deleteRecord()`
Aidan Saunders [Mon, 21 Nov 2022 19:37:58 +0000 (19:37 +0000)]
More BAO `del()` deprecations
colemanw [Mon, 21 Nov 2022 18:33:57 +0000 (13:33 -0500)]
Merge pull request #24985 from colemanw/searchDisplayDescriptions
SearchKit - Descriptions for search displays
Aidan Saunders [Mon, 21 Nov 2022 16:40:11 +0000 (16:40 +0000)]
Deprecate `CRM_Contact_BAO_Relationship::del()` in favour of
`deleteRecord()`
Move status message out of business-layer
colemanw [Mon, 21 Nov 2022 17:09:24 +0000 (12:09 -0500)]
Merge pull request #24999 from colemanw/refOptionValueDel
[REF] OptionValue - Deprecate del() function in favor of standard deleteRecord
colemanw [Mon, 21 Nov 2022 17:06:50 +0000 (12:06 -0500)]
Merge pull request #24991 from kurund/formbuilder-event-entity
add event entity to formbuilder
Aidan Saunders [Mon, 21 Nov 2022 16:37:22 +0000 (16:37 +0000)]
Deprecate `CRM_Event_BAO_Event::del()`
Seamus Lee [Mon, 21 Nov 2022 04:38:08 +0000 (15:38 +1100)]
Merge pull request #25013 from demeritcowboy/dispatcher-utilstest
[NFC] UtilsTest - convert EventDispatcher to CiviEventDispatcher
demeritcowboy [Mon, 21 Nov 2022 03:09:39 +0000 (22:09 -0500)]
Merge pull request #25010 from colemanw/minHeight
Menubar - fix height of quicksearch (Drupal9)
Seamus Lee [Mon, 21 Nov 2022 03:04:18 +0000 (14:04 +1100)]
Merge pull request #25011 from eileenmcnaughton/res
Var type fix in comment
Eileen McNaughton [Mon, 21 Nov 2022 01:04:17 +0000 (14:04 +1300)]
Var type fix in comment
Coleman Watts [Sun, 20 Nov 2022 23:15:13 +0000 (18:15 -0500)]
Menubar - fix height of quicksearch (Drupal9)
demeritcowboy [Sun, 20 Nov 2022 19:45:20 +0000 (14:45 -0500)]
convert to CiviEventDispatcher
colemanw [Sun, 20 Nov 2022 18:03:42 +0000 (13:03 -0500)]
Merge pull request #25007 from demeritcowboy/daotest2
php8 - don't pass null as string
demeritcowboy [Sun, 20 Nov 2022 01:34:59 +0000 (20:34 -0500)]
Merge pull request #25008 from demeritcowboy/daotest
[NFC] Allow running tests/phpunit/CRM/Core/DAOTest.php on mariadb
demeritcowboy [Sat, 19 Nov 2022 23:04:35 +0000 (18:04 -0500)]
php8 don't pass null as string
demeritcowboy [Sat, 19 Nov 2022 22:50:51 +0000 (17:50 -0500)]
allow mariadb
Kurund Jalmi [Sat, 19 Nov 2022 19:12:15 +0000 (19:12 +0000)]
set standard defaults
colemanw [Sat, 19 Nov 2022 00:45:51 +0000 (19:45 -0500)]
Merge pull request #24989 from eileenmcnaughton/js_strings
Use fastArray cache for js_strings
colemanw [Sat, 19 Nov 2022 00:43:22 +0000 (19:43 -0500)]
Merge pull request #25005 from demeritcowboy/missing-dot-2
(alternate) Sentence runs together since period is inside the if block
demeritcowboy [Fri, 18 Nov 2022 22:35:06 +0000 (17:35 -0500)]
fix missing dot and translation
demeritcowboy [Fri, 18 Nov 2022 22:09:54 +0000 (17:09 -0500)]
Merge pull request #25002 from kurund/crm-user-improvements
add legend to CMS user creation section
Seamus Lee [Fri, 18 Nov 2022 21:47:04 +0000 (08:47 +1100)]
Merge pull request #25000 from mlutfy/fixMenuTranslation
Fix CiviCRM Home/Hide/Logout translation
Kurund Jalmi [Fri, 18 Nov 2022 20:24:21 +0000 (20:24 +0000)]
add legend to CMS user creation section
Mathieu Lutfy [Fri, 18 Nov 2022 18:59:51 +0000 (13:59 -0500)]
Fix CiviCRM Home/Hide/Logout translation
Coleman Watts [Fri, 18 Nov 2022 17:26:23 +0000 (12:26 -0500)]
OptionValue - Deprecate del() function in favor of standard deleteRecord
demeritcowboy [Fri, 18 Nov 2022 14:10:20 +0000 (09:10 -0500)]
Merge pull request #24923 from eileenmcnaughton/filt_bool
dev/core#3962 Add 'boolean' as a filter for tokens
colemanw [Thu, 17 Nov 2022 22:23:04 +0000 (17:23 -0500)]
Merge pull request #24993 from aydun/joinable_fix
Allow Joinables to be added to tables without specifying a base column
Aidan Saunders [Thu, 17 Nov 2022 18:03:57 +0000 (18:03 +0000)]
Allow `addTableLink(NULL, ...)`
Kurund Jalmi [Thu, 17 Nov 2022 15:31:07 +0000 (15:31 +0000)]
add event entity to formbuilder
colemanw [Thu, 17 Nov 2022 02:42:04 +0000 (21:42 -0500)]
Merge pull request #24990 from demeritcowboy/dao
Update DAOs after https://github.com/civicrm/civicrm-core/pull/24984
demeritcowboy [Thu, 17 Nov 2022 02:32:05 +0000 (21:32 -0500)]
update daos
Eileen McNaughton [Thu, 17 Nov 2022 01:32:40 +0000 (14:32 +1300)]
Use fastArray cache for js_strings
Seamus Lee [Thu, 17 Nov 2022 00:06:41 +0000 (11:06 +1100)]
Merge pull request #24986 from civicrm/5.56
5.56
Seamus Lee [Wed, 16 Nov 2022 23:47:15 +0000 (10:47 +1100)]
Merge pull request #24984 from eileenmcnaughton/dao
Add html for default field to schema
demeritcowboy [Wed, 16 Nov 2022 22:13:04 +0000 (17:13 -0500)]
Merge pull request #24926 from eileenmcnaughton/5.56
dev/core#3685 Fix price sets in sample data
Eileen McNaughton [Wed, 16 Nov 2022 22:06:41 +0000 (11:06 +1300)]
Merge pull request #24983 from colemanw/dedupeAliases
[REF] DAO - Use class_alias for aliases of renamed classes
Coleman Watts [Wed, 16 Nov 2022 21:25:00 +0000 (16:25 -0500)]
SearchKit - Descriptions for search displays
This shows the savedSearch description on the default display,
and allows each custom display to have its own description
which shows at the top.
Eileen McNaughton [Tue, 8 Nov 2022 04:45:50 +0000 (17:45 +1300)]
dev/core#3962 Add 'boolean' as a filter for tokens
Add unit tests leveraging & demo-ing boolean fitler in greetings
Eileen McNaughton [Wed, 16 Nov 2022 21:13:55 +0000 (10:13 +1300)]
Merge pull request #24978 from yashodha/dev-3992
(dev/core#3992) Expose created date column in contact reports
Eileen McNaughton [Wed, 16 Nov 2022 21:07:24 +0000 (10:07 +1300)]
Add html for default field to schema
Note in the process I found that OptionValue.is_default is not required and LocationType.is_default
is not required and does not have a default
Coleman Watts [Wed, 16 Nov 2022 20:39:25 +0000 (15:39 -0500)]
DAO - Use class_alias for aliases of renamed classes
colemanw [Wed, 16 Nov 2022 19:54:48 +0000 (14:54 -0500)]
Merge pull request #24963 from colemanw/SearchKitFkFix
SearchKit - Fix campaign, event & primary address dropdowns
Coleman Watts [Sat, 12 Nov 2022 20:19:52 +0000 (15:19 -0500)]
SearchKit - Use EntityRef for all FK fields, even those with option lists
Before: option lists were preferred over FK
After: FK is preferred over option lists
Fixes dev/core#3950
Fixes dev/core#3982
Coleman Watts [Wed, 16 Nov 2022 17:37:52 +0000 (12:37 -0500)]
Customize default display for Countries
Coleman Watts [Sat, 12 Nov 2022 20:31:19 +0000 (15:31 -0500)]
CiviEvent - Add labels to field metadata
Coleman Watts [Sat, 12 Nov 2022 20:16:00 +0000 (15:16 -0500)]
CiviCampaign - Add labels to field metadata
Seamus Lee [Wed, 16 Nov 2022 07:33:15 +0000 (18:33 +1100)]
Merge pull request #24979 from eileenmcnaughton/dao
Regen DAO
Eileen McNaughton [Wed, 16 Nov 2022 05:51:59 +0000 (18:51 +1300)]
Regen DAO
yashodha [Wed, 16 Nov 2022 05:29:59 +0000 (10:59 +0530)]
(dev/core#3992) Expose created date column in contact reports
colemanw [Tue, 15 Nov 2022 19:50:06 +0000 (14:50 -0500)]
Merge pull request #24976 from colemanw/api4Autocompletes
APIv4 Autocomplete - Support searching by ID, customize some entities
Matthew Wire [Tue, 15 Nov 2022 19:33:04 +0000 (19:33 +0000)]
Merge pull request #24977 from colemanw/exceptions
APIv3 - Use the Exception rather than the rule
Coleman Watts [Tue, 15 Nov 2022 13:18:11 +0000 (08:18 -0500)]
APIv4 Autocomplete improvements - Support searching by ID, customize some entities
Gives parity with the v3-based widget which would search either by id or label
and place the exact match at the top if found.
Also gives parity with the customized output of some v3 entities,
plus a few like Relationship that v3 never was able to handle.
Coleman Watts [Tue, 15 Nov 2022 15:58:26 +0000 (10:58 -0500)]
APIv3 - Use the Exception rather than the rule
Following up on #19323 this converts APIv3 in Smarty and Ajax to use exceptions instead
of overriding the PEAR exception handler. Now that PEAR throws exceptions there is
no need to do so and it was interfering with try/catch handlers within the api call.
colemanw [Tue, 15 Nov 2022 14:13:38 +0000 (09:13 -0500)]
Merge pull request #24970 from eileenmcnaughton/enabled_4
Add html definition to schema for is_active (part 4)
colemanw [Tue, 15 Nov 2022 14:13:01 +0000 (09:13 -0500)]
Merge pull request #24969 from eileenmcnaughton/enabled_3
Add html definition to schema for is_active (part 3)
colemanw [Tue, 15 Nov 2022 14:12:01 +0000 (09:12 -0500)]
Merge pull request #24968 from eileenmcnaughton/enabled_2
Add html definition to schema for is_active (part 2)
colemanw [Tue, 15 Nov 2022 14:11:38 +0000 (09:11 -0500)]
Merge pull request #24967 from eileenmcnaughton/enabled
Add html definition to schema for is_active (part 1)
demeritcowboy [Tue, 15 Nov 2022 05:47:36 +0000 (00:47 -0500)]
Merge pull request #24975 from artfulrobot/artfulrobot-support-es6-in-civilint
Support ES6 (2015) in civilint: jshint config update
colemanw [Mon, 14 Nov 2022 18:22:41 +0000 (13:22 -0500)]
Merge pull request #24760 from colemanw/adminUiCleanup
AdminUI - Always cleanup saved searches during uninstall
Matthew Wire [Mon, 14 Nov 2022 14:32:36 +0000 (14:32 +0000)]
Merge pull request #24974 from colemanw/api4Autocompletes
Use APIv4-based Autocomplete widget throughout SearchKit, Afform & API Explorer
Rich Lott / Artful Robot [Mon, 14 Nov 2022 13:56:16 +0000 (13:56 +0000)]
Support ES6 (2015) in civilint: jshint config update
Coleman Watts [Mon, 14 Nov 2022 02:29:25 +0000 (21:29 -0500)]
APIv4 Explorer - Use APIv4 autocomplete instead of v3 entityRef
Coleman Watts [Mon, 14 Nov 2022 01:32:46 +0000 (20:32 -0500)]
SearchKit, Afform - Use APIv4-based Autocomplete widget throughout
Eileen McNaughton [Mon, 14 Nov 2022 01:20:57 +0000 (14:20 +1300)]
Merge pull request #24966 from colemanw/afformMultiEntityRef
Afform - Fix multivalue entityRef fields
Eileen McNaughton [Mon, 14 Nov 2022 00:05:11 +0000 (13:05 +1300)]
Merge pull request #24973 from civicrm/5.56
5.56 to master
Eileen McNaughton [Mon, 14 Nov 2022 00:04:09 +0000 (13:04 +1300)]
Merge pull request #24965 from colemanw/afformFieldMetaFix
[PHP 8.1 compat] Afform - Fix display of search filter fields
Eileen McNaughton [Sun, 13 Nov 2022 23:59:48 +0000 (12:59 +1300)]
Merge pull request #24950 from MegaphoneJon/better-clean-url-wp-rc
Fix WP Clean Pages check when components are disabled
Eileen McNaughton [Sun, 13 Nov 2022 22:57:42 +0000 (11:57 +1300)]
Add html definition to schema for is_active (part 4)
Eileen McNaughton [Sun, 13 Nov 2022 22:53:55 +0000 (11:53 +1300)]
Add html definition to schema for is_active (part 3)
Eileen McNaughton [Sun, 13 Nov 2022 22:14:59 +0000 (11:14 +1300)]
Add html definition to schema for is_active (part 2)
Eileen McNaughton [Sun, 13 Nov 2022 22:08:47 +0000 (11:08 +1300)]
Add html definition to schema for is_active (1)
colemanw [Sun, 13 Nov 2022 21:29:07 +0000 (16:29 -0500)]
Merge pull request #24934 from eileenmcnaughton/remove_replace_com
Remove deprecated token function `replaceComponentTokens`
colemanw [Sun, 13 Nov 2022 21:26:08 +0000 (16:26 -0500)]
Merge pull request #24935 from eileenmcnaughton/test_nfc
Further cleanup on JobTest
colemanw [Sun, 13 Nov 2022 20:47:46 +0000 (15:47 -0500)]
Merge pull request #24960 from mlutfy/fixYeOldUpgrade
FourSeven Upgrade: disable i18nrewrite to avoid multilingual fatal
Coleman Watts [Sun, 13 Nov 2022 03:22:14 +0000 (22:22 -0500)]
Afform - Fix multivalue entityRef fields
Apparently 'multiple' is a reserved word and wasn't working as an angular param,
switching it to 'multi' fixes the issue.
Coleman Watts [Sun, 13 Nov 2022 01:32:02 +0000 (20:32 -0500)]
Afform - Fix display of search filter fields in PHP 8.1+
In PHP 8.1 Afform search fields stopped working. This is due to an encoding change which broke the parser.
According to https://www.php.net/manual/en/function.htmlspecialchars.php#refsect1-function.htmlspecialchars-changelog
PHP 8.1 changed the default mode for `htmlspecialchars`, the impact of which is to escape straight quotes
instead of leaving them alone.
This ensures the function works the same on all PHP versions by explicitly setting the mode.
Coleman Watts [Sat, 12 Nov 2022 22:44:40 +0000 (17:44 -0500)]
Merge branch '5.56' to master
colemanw [Sat, 12 Nov 2022 22:41:02 +0000 (17:41 -0500)]
Merge pull request #24962 from colemanw/afformAutoservice
[REF] Afform - Use autoservice for event subscribers
demeritcowboy [Sat, 12 Nov 2022 21:19:59 +0000 (16:19 -0500)]
Merge pull request #24958 from colemanw/since
[NFC] Add @since annotation
demeritcowboy [Sat, 12 Nov 2022 21:19:14 +0000 (16:19 -0500)]
Merge pull request #24961 from colemanw/psr0Path
Update psr0 paths to match current convention
Coleman Watts [Sat, 12 Nov 2022 15:23:57 +0000 (10:23 -0500)]
Afform - Use autoservice for event subscribers
Coleman Watts [Sat, 12 Nov 2022 15:32:12 +0000 (10:32 -0500)]
Update psr0 paths to match current convention
colemanw [Sat, 12 Nov 2022 15:10:21 +0000 (10:10 -0500)]
Merge pull request #24832 from colemanw/afformEntityRef
Afform - Customizable APIv4-based Autocomplete widget for EntityRef fields
Mathieu Lutfy [Sat, 12 Nov 2022 13:31:14 +0000 (08:31 -0500)]
FourSeven Upgrade: disable i18nrewrite to avoid multilingual fatal
Coleman Watts [Sat, 12 Nov 2022 02:55:16 +0000 (21:55 -0500)]
Add @since annotation
colemanw [Fri, 11 Nov 2022 22:17:42 +0000 (17:17 -0500)]
Merge pull request #24132 from demeritcowboy/eventdispatcher3
dev/core#2316 - Symfony EventDispatcher dispatch() signature kerfuffle - try 3
demeritcowboy [Fri, 11 Nov 2022 21:25:13 +0000 (16:25 -0500)]
Merge pull request #24649 from larssandergreen/clarify-allow-multiple-registrations
Make it clear that same email for event registrations allows multiple registrations per contact
demeritcowboy [Fri, 19 Aug 2022 00:18:29 +0000 (20:18 -0400)]
use unoptimized dispatcher
demeritcowboy [Wed, 3 Aug 2022 20:20:03 +0000 (16:20 -0400)]
unit test updates
demeritcowboy [Tue, 19 Apr 2022 02:40:55 +0000 (22:40 -0400)]
convert SchemaMapBuilder