Coleman Watts [Sun, 26 Dec 2021 19:01:20 +0000 (14:01 -0500)]
SearchKit/Afform - Provide contextual titles to search Afforms in standalone mode
When displaying a full-page search with contextual filters, e.g. submissions for a particular form,
provides a contextual title based on the url filter arg, e.g. "My Great Form Submissions"
Coleman Watts [Sat, 25 Dec 2021 23:38:45 +0000 (18:38 -0500)]
Afform - Add field types + pseudoconstant metadata to AfformSubmission entity
The html type info is needed for the fields to be usable in the Afform GUI.
The reason for adding the pseudoconstant is to facilitate automatically fetching
the title from the afAdminFormSubmissionList form.
This could be inefficient for sites with thousands of forms,
but I think that's sufficiently mitigated by the fact that
this pseudoconstant won'be be used for much;
it won't generally be loaded onto the client-side.
Coleman Watts [Sat, 25 Dec 2021 20:02:09 +0000 (15:02 -0500)]
Afform - add UI for configuring search display filters
Allows filters from the URL and/or fixed values to be
added to an embedded search display.
Coleman Watts [Thu, 23 Dec 2021 15:07:26 +0000 (10:07 -0500)]
Afform - refactor add value to use new onCrmUiSelect directive
demeritcowboy [Fri, 24 Dec 2021 16:04:55 +0000 (11:04 -0500)]
Merge pull request #22292 from totten/master-authxlogin-2
Add authx_login() API for backend script authentication (alt)
demeritcowboy [Fri, 24 Dec 2021 15:10:50 +0000 (10:10 -0500)]
Merge pull request #22307 from eileenmcnaughton/mixed_currency
Demo sample data - Add in some mixed currency contributions
Tim Otten [Fri, 24 Dec 2021 05:39:01 +0000 (21:39 -0800)]
Merge pull request #22311 from braders/docurl-translate-text-and-fix-urls
Allow text to be translated and fix URL paths in calls to docURL() function.
Tim Otten [Fri, 24 Dec 2021 01:02:41 +0000 (17:02 -0800)]
Merge pull request #22312 from mlutfy/eventPhpTweak
Event Registration: initialize array
Seamus Lee [Fri, 24 Dec 2021 00:02:03 +0000 (11:02 +1100)]
Merge pull request #22317 from civicrm/5.45
5.45
Tim Otten [Thu, 23 Dec 2021 23:36:14 +0000 (15:36 -0800)]
authx - Report a valid outcome if you are already logged in
Eileen McNaughton [Thu, 23 Dec 2021 22:55:16 +0000 (11:55 +1300)]
Merge pull request #22298 from colemanw/fixApi3ValidateString
APIv3 - Fix overzealous pseudoconstant matching
Eileen McNaughton [Thu, 23 Dec 2021 22:53:52 +0000 (11:53 +1300)]
Merge pull request #22302 from colemanw/customMeta
SearchKit - Add links for CustomField and CustomGroup entities
Seamus Lee [Thu, 23 Dec 2021 22:31:29 +0000 (09:31 +1100)]
Merge pull request #22286 from seamuslee001/dev_core_3000
dev/core#3000 Fix database error when copying custom data fields from…
Seamus Lee [Tue, 21 Dec 2021 04:41:23 +0000 (15:41 +1100)]
dev/core#3000 Fix database error when copying custom data fields from a master address to related addresses
Add in hook param as per jon
Mathieu Lutfy [Thu, 23 Dec 2021 14:48:04 +0000 (09:48 -0500)]
Event Registration: initialize array
Bradley Taylor [Thu, 23 Dec 2021 12:47:56 +0000 (12:47 +0000)]
Allow text to be translated and fix URL paths in calls to docURL() function.
Eileen McNaughton [Thu, 23 Dec 2021 10:08:48 +0000 (23:08 +1300)]
Merge pull request #22308 from eileenmcnaughton/notice1
E-notice fix (smarty)
Eileen McNaughton [Thu, 23 Dec 2021 05:19:54 +0000 (18:19 +1300)]
E-notice fix (smarty)
Eileen McNaughton [Thu, 23 Dec 2021 04:31:50 +0000 (17:31 +1300)]
Add in some mixed currency contributions
This fixes some of the contributions & recurring contributions to be in currencies other than USD.
I also found that a lot of the contributions being created are either in 2010 or on the generation
date so I spread the dates out a bit - although that meant making it a bit easier to
keep the activities in sync.
It turns out the API does work in this context - and that would create the activities
more faithfully - but the issues around the processor being created by a different process are
a bit challenging
Seamus Lee [Thu, 23 Dec 2021 00:44:04 +0000 (11:44 +1100)]
Merge pull request #22306 from eileenmcnaughton/charset
Fix char-set for default escaping
Eileen McNaughton [Wed, 22 Dec 2021 23:25:58 +0000 (12:25 +1300)]
Fix char-set for default escaping
Eileen McNaughton [Wed, 22 Dec 2021 22:45:41 +0000 (11:45 +1300)]
Merge pull request #22300 from colemanw/searchKitExportTweak
SearchKit - Tweak export explorer link icon + format
Eileen McNaughton [Wed, 22 Dec 2021 22:44:54 +0000 (11:44 +1300)]
Merge pull request #22304 from braders/feature/smtp-settings-html-positions
Display label before input elements on SMTP settings page
Eileen McNaughton [Wed, 22 Dec 2021 22:34:23 +0000 (11:34 +1300)]
Enable more currencies by default
Seamus Lee [Wed, 22 Dec 2021 22:17:23 +0000 (09:17 +1100)]
Merge pull request #22294 from eileenmcnaughton/esc
Do not apply default escaping to multiselects on currency form
Bradley Taylor [Wed, 22 Dec 2021 21:04:48 +0000 (21:04 +0000)]
Display label before input elements on SMTP settings page
Coleman Watts [Wed, 22 Dec 2021 15:10:42 +0000 (10:10 -0500)]
Fix test error message, and remove bad tests
Coleman Watts [Wed, 22 Dec 2021 14:30:25 +0000 (09:30 -0500)]
SearchKit - Allow more link actions
Yashodha Chaku [Wed, 22 Dec 2021 14:11:13 +0000 (19:41 +0530)]
Merge pull request #22290 from eileenmcnaughton/cont
Fix broken links in default modifier mode on manage contributions
Seamus Lee [Wed, 22 Dec 2021 11:01:50 +0000 (22:01 +1100)]
Merge pull request #22297 from civicrm/5.45
Merge 5.45 to master
Seamus Lee [Wed, 22 Dec 2021 08:42:27 +0000 (19:42 +1100)]
Merge pull request #22295 from alifrumin/rn5.45
[NFC] First Pass at Release Notes for 5.45
Seamus Lee [Wed, 22 Dec 2021 08:41:53 +0000 (19:41 +1100)]
Merge pull request #22299 from colemanw/suitcaseIcon
SearchKit - better icon for packaged searches
Seamus Lee [Wed, 22 Dec 2021 08:41:22 +0000 (19:41 +1100)]
Merge pull request #22301 from eileenmcnaughton/recur_data
Follow up fix on recur data
Eileen McNaughton [Wed, 22 Dec 2021 06:10:44 +0000 (19:10 +1300)]
Follow up fix on recur data
Yashodha Chaku [Wed, 22 Dec 2021 05:45:52 +0000 (11:15 +0530)]
Merge pull request #22296 from eileenmcnaughton/recur_data
Add recurring conributions to sample data
Coleman Watts [Wed, 22 Dec 2021 05:42:16 +0000 (00:42 -0500)]
SearchKit - Tweak export explorer link icon + format
Updates the explorer params to use raw strings, as json-encoding
is not necessary.
Coleman Watts [Wed, 22 Dec 2021 05:32:01 +0000 (00:32 -0500)]
SearchKit - better icon for packaged searches
Coleman Watts [Wed, 22 Dec 2021 04:59:53 +0000 (23:59 -0500)]
APIv3 - Fix overzealous pseudoconstant matching
Strings do not need to be strictly matched to pseudoconstants
during get operations.
Fixes regression caused by #22282.
Eileen McNaughton [Wed, 22 Dec 2021 03:10:20 +0000 (16:10 +1300)]
Merge pull request #22293 from colemanw/fixEditableCustom
SearchKit - Fix editable custom fields
Eileen McNaughton [Wed, 22 Dec 2021 03:06:56 +0000 (16:06 +1300)]
Add recurring conributions to sample data
Alice Frumin [Thu, 9 Dec 2021 17:51:34 +0000 (12:51 -0500)]
[NFC] First pass release notes 5.45
colemanw [Wed, 22 Dec 2021 02:17:37 +0000 (21:17 -0500)]
Merge pull request #22288 from eileenmcnaughton/process
[REF] move code into the function
Eileen McNaughton [Wed, 22 Dec 2021 01:23:18 +0000 (14:23 +1300)]
Do not apply default escaping to multiselects on currency form
This is probably an html pattern we have missed in our early returns but
explictly marking the fields not to be escaped is probably better now the bulk is weeded out
colemanw [Wed, 22 Dec 2021 01:18:20 +0000 (20:18 -0500)]
Merge pull request #22281 from colemanw/fixSearchKitConcatWS
SearchKit - Fix "Combine Text" transformation
colemanw [Wed, 22 Dec 2021 01:16:37 +0000 (20:16 -0500)]
Merge pull request #22228 from colemanw/managedGroup
Apiv4 - Make Groups a managed entity, fix 'null' bugs in BAO_Group
Coleman Watts [Wed, 22 Dec 2021 01:09:28 +0000 (20:09 -0500)]
SearchKit - Fix editable custom fields
Coleman Watts [Wed, 22 Dec 2021 00:58:59 +0000 (19:58 -0500)]
Add path metadata to CustomField and CustomValue entities
Eileen McNaughton [Wed, 22 Dec 2021 00:09:23 +0000 (13:09 +1300)]
Merge pull request #22289 from eileenmcnaughton/urls
Enotice fixes on ContributionPage dash
Tim Otten [Fri, 10 Dec 2021 06:56:33 +0000 (22:56 -0800)]
authx - Add authx_login({principal: array, useSession: bool}) API for use by backend/service scripts
Tim Otten [Fri, 10 Dec 2021 05:51:22 +0000 (21:51 -0800)]
(REF) authx - Add option for authenticator to emit exceptions
Before: If the authenticator encounters an error, it sends a response document.
After: The authenticator encoutners an error, it may either:
- (Default) Send a response document
- (Option) Emit an exception
Tim Otten [Tue, 21 Dec 2021 10:32:11 +0000 (02:32 -0800)]
Drupal8::getUfId() - Fix exception on unknown usernames
As mentioned in https://github.com/civicrm/civicrm-core/pull/22239#issuecomment-
997108926, there can be an exception:
```
Error: Call to a member function id() on bool in ...\CRM\Utils\System\Drupal8.php on line 359 #0 ...\ext\authx\Civi\Authx\Authenticator.php(380)
```
The function signature specifies `@return int|null`. Various callers appear to expect this, and that seems to be how it behaves on D7/WP.
Eileen McNaughton [Tue, 21 Dec 2021 21:17:06 +0000 (10:17 +1300)]
Fix broken links in default modifier mode on manage contributions
Eileen McNaughton [Tue, 21 Dec 2021 21:09:13 +0000 (10:09 +1300)]
Enotice fixes on ContributionPage dash
Eileen McNaughton [Tue, 21 Dec 2021 20:37:06 +0000 (09:37 +1300)]
[REF] move code into the function
Within the if there is some code & then a function call. There doesn't seem
to be much reason for some of the code to be in the function & some
outside - this simplifies
Yashodha Chaku [Tue, 21 Dec 2021 08:51:50 +0000 (14:21 +0530)]
Merge pull request #22287 from eileenmcnaughton/process
[REF] Stop passing this as form, set in function
Eileen McNaughton [Tue, 21 Dec 2021 05:06:41 +0000 (18:06 +1300)]
[REF] Stop passing this as form, set in function
Seamus Lee [Tue, 21 Dec 2021 04:49:56 +0000 (15:49 +1100)]
Merge pull request #21611 from eileenmcnaughton/cancel
Add workflow template for recurring cancelled
colemanw [Tue, 21 Dec 2021 02:24:05 +0000 (21:24 -0500)]
Merge pull request #22229 from colemanw/searchKitExport
SearchKit - Import/Export saved search configuration
colemanw [Tue, 21 Dec 2021 02:21:37 +0000 (21:21 -0500)]
Merge pull request #22284 from eileenmcnaughton/process
[REF] Remove now non-variable variables from previously shared code
Eileen McNaughton [Mon, 20 Dec 2021 21:53:55 +0000 (10:53 +1300)]
Merge pull request #22283 from eileenmcnaughton/notice
Cleanup Smarty e-notices on campaign dashboard
Eileen McNaughton [Mon, 20 Dec 2021 21:52:03 +0000 (10:52 +1300)]
[REF] Remove now non-variable variables from previously shared code
Coleman Watts [Wed, 8 Dec 2021 17:04:36 +0000 (12:04 -0500)]
SearchKit - Add Import dialog
Coleman Watts [Wed, 8 Dec 2021 16:07:28 +0000 (11:07 -0500)]
Move crmDialog angular utility from message_admin extension to core for reusability
Coleman Watts [Wed, 8 Dec 2021 13:03:21 +0000 (08:03 -0500)]
SearchKit - Rename searchList template to match controller, move "New Search" button to top
Coleman Watts [Tue, 7 Dec 2021 21:16:07 +0000 (16:16 -0500)]
SearchKit - Add Export dialog
Coleman Watts [Mon, 6 Dec 2021 16:17:27 +0000 (11:17 -0500)]
Afform - Be more forgiving about input format when saving an afform
Coleman Watts [Mon, 6 Dec 2021 03:06:49 +0000 (22:06 -0500)]
SearchKit - Faster delete/revert actions in search listing
Coleman Watts [Mon, 6 Dec 2021 02:50:30 +0000 (21:50 -0500)]
SearchKit - Use dropdown for actions in search listing
The list of actions is getting too big for a row of buttons...
colemanw [Mon, 20 Dec 2021 21:29:07 +0000 (16:29 -0500)]
Merge pull request #22276 from eileenmcnaughton/process
[REF] Duplicate & unshare processFormContribution
Eileen McNaughton [Mon, 20 Dec 2021 20:04:39 +0000 (09:04 +1300)]
Cleanup Smarty e-notices on campaign dashboard
Eileen McNaughton [Mon, 20 Dec 2021 19:57:02 +0000 (08:57 +1300)]
Merge pull request #22282 from colemanw/cgExtends
CustomGroup - Add pseudoconstant for extends column
Coleman Watts [Mon, 20 Dec 2021 05:54:52 +0000 (00:54 -0500)]
CustomGroup - Add pseudoconstant for extends column
Yashodha Chaku [Mon, 20 Dec 2021 08:55:40 +0000 (14:25 +0530)]
Merge pull request #22265 from eileenmcnaughton/ver
dev/core#2996 Increment php recommndations
Coleman Watts [Mon, 20 Dec 2021 05:31:36 +0000 (00:31 -0500)]
SearchKit - Fix CONCAT_WS & any function that doesn't take a field as 1st arg
Fixes dev/report#88
See https://lab.civicrm.org/dev/report/-/issues/88
Seamus Lee [Mon, 20 Dec 2021 05:18:56 +0000 (16:18 +1100)]
Merge pull request #22275 from eileenmcnaughton/recur_test
dev/core#567 Add test shell
Seamus Lee [Mon, 20 Dec 2021 05:18:47 +0000 (16:18 +1100)]
Merge pull request #22278 from demeritcowboy/unused-function
Remove unused function CRM/Utils/Mail/EmailProcessor::cleanupDir
Seamus Lee [Mon, 20 Dec 2021 05:18:37 +0000 (16:18 +1100)]
Merge pull request #22279 from eileenmcnaughton/refs
Remove unnecessary pass-by-ref
Eileen McNaughton [Sun, 19 Dec 2021 22:40:24 +0000 (11:40 +1300)]
Remove unnecessary pass-by-ref
demeritcowboy [Sun, 19 Dec 2021 22:27:32 +0000 (17:27 -0500)]
unused function
Eileen McNaughton [Sun, 19 Dec 2021 21:56:31 +0000 (10:56 +1300)]
dev/core#567 Add test shell
Eileen McNaughton [Sun, 19 Dec 2021 22:17:57 +0000 (11:17 +1300)]
[REF] Duplicate & unshare processFormContribution
The only way I've managed to break up these big toxic functions is divide & conquer. While it seems
counter-intuitive to not doing things in more than one place in practice much of the
code is form-relevant and the the code before, during and after these functions
does a whole lot of extra work to share stuff that they don't really have in common.
This dates back pre-api when the only copy of the business logic often was on the forms....
demeritcowboy [Sun, 19 Dec 2021 17:56:05 +0000 (12:56 -0500)]
Merge pull request #22272 from eileenmcnaughton/anet
[NFC] Cleanup in Authorize.net test class
demeritcowboy [Sat, 18 Dec 2021 23:34:16 +0000 (18:34 -0500)]
Merge pull request #21927 from eileenmcnaughton/trxn
Move two more functions to financialProcessor
colemanw [Sat, 18 Dec 2021 23:33:33 +0000 (18:33 -0500)]
Merge pull request #22233 from colemanw/apiExplorerArgs
APIv4 Explorer - Make selected language and format bookmarkable
Eileen McNaughton [Sat, 25 Sep 2021 02:10:37 +0000 (14:10 +1200)]
Add workflow template for recurring cancelled
This is a simple template, with a slightly smaller subset of values than the exisiting one.
It pulls out the recurring part to a trait...
Eileen McNaughton [Sat, 18 Dec 2021 21:40:13 +0000 (10:40 +1300)]
[NFC] Cleanup in Authorize.net test class
The main goal in this update is to switch the contribution form to use the full form flow.
Other changes are just code style
Eileen McNaughton [Sat, 18 Dec 2021 21:23:38 +0000 (10:23 +1300)]
Merge pull request #22266 from eileenmcnaughton/cont_tests
Fix test to use full form flow
Eileen McNaughton [Sat, 18 Dec 2021 21:22:11 +0000 (10:22 +1300)]
Merge pull request #22269 from demeritcowboy/make-clean
[NFC] - Try to work around failing tests
Eileen McNaughton [Sat, 18 Dec 2021 21:17:30 +0000 (10:17 +1300)]
Merge pull request #22271 from civicrm/5.45
5.45
demeritcowboy [Sat, 18 Dec 2021 00:19:43 +0000 (19:19 -0500)]
Merge pull request #22270 from colemanw/relatedContactsLabel
Fix related contacts label in search kit
Coleman Watts [Fri, 17 Dec 2021 21:37:06 +0000 (16:37 -0500)]
Fix related contacts label in search kit
demeritcowboy [Fri, 17 Dec 2021 20:37:57 +0000 (15:37 -0500)]
work around previous test fails
Eileen McNaughton [Fri, 17 Dec 2021 04:50:07 +0000 (17:50 +1300)]
Fix test to use full form flow
Eileen McNaughton [Wed, 27 Oct 2021 19:55:04 +0000 (08:55 +1300)]
Move two more functions to financialProcessor
Eileen McNaughton [Thu, 16 Dec 2021 22:44:03 +0000 (11:44 +1300)]
Increment php recommndations
Tim Otten [Thu, 16 Dec 2021 21:27:49 +0000 (13:27 -0800)]
Merge pull request #22107 from demeritcowboy/test-isdir
dev/core#2927 - Avoid warnings for is_dir() when open_basedir is in effect
Tim Otten [Thu, 16 Dec 2021 21:19:29 +0000 (13:19 -0800)]
Merge pull request #22236 from mlutfy/angularCacheCodeLanguage
Resources: set language-specific cacheCode, fixes AngularJS translation with multilingual
Mathieu Lu [Thu, 16 Dec 2021 14:04:11 +0000 (09:04 -0500)]
Merge pull request #21762 from jitendrapurohit/job-alert
Add system status warning to display scheduled job failures
jitendrapurohit [Thu, 9 Dec 2021 11:23:23 +0000 (16:53 +0530)]
add ts
Eileen McNaughton [Thu, 16 Dec 2021 03:37:47 +0000 (16:37 +1300)]
Merge pull request #22261 from eileenmcnaughton/prof
[REF] Remove more params that are unused now function is not shared