Eileen McNaughton [Thu, 5 May 2022 09:26:36 +0000 (21:26 +1200)]
Merge pull request #23374 from eileenmcnaughton/549_up
549 to master
Tim Otten [Thu, 5 May 2022 09:16:59 +0000 (02:16 -0700)]
Merge pull request #23356 from eileenmcnaughton/pp
Ensure comma not formatted into amount
Eileen McNaughton [Thu, 5 May 2022 07:22:10 +0000 (19:22 +1200)]
Merge pull request #23366 from eileenmcnaughton/import_tpl
[REF] [Import] Remove unused tpl assign showColNames
Eileen McNaughton [Wed, 4 May 2022 07:14:19 +0000 (19:14 +1200)]
Ensure comma not formatted into amount
Probably the function doesn't add anything as params['amount']
should be correctly formatted - however,
it shouldn't add a comma - per
https://github.com/eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor/issues/227
Seamus Lee [Thu, 5 May 2022 06:00:27 +0000 (16:00 +1000)]
Merge pull request #23370 from eileenmcnaughton/import_catch
[Import] [Ref] [Minor] Simplify error handling with a try-catch block
Eileen McNaughton [Thu, 5 May 2022 03:55:52 +0000 (15:55 +1200)]
Simplify error handling with a try-catch block
Eileen McNaughton [Thu, 5 May 2022 03:04:55 +0000 (15:04 +1200)]
Merge pull request #23367 from eileenmcnaughton/import_prop
[Ref][Import] Remove another good intention - random email counting
Eileen McNaughton [Thu, 5 May 2022 02:52:40 +0000 (14:52 +1200)]
Merge pull request #23363 from eileenmcnaughton/import_var
[REF] [Import] Trivial - simplify variables
Eileen McNaughton [Thu, 5 May 2022 02:31:47 +0000 (14:31 +1200)]
Merge pull request #23336 from colemanw/customGroupExtends
CustomFields - Improve metadata about which custom groups belong to which entities
Eileen McNaughton [Thu, 5 May 2022 01:06:15 +0000 (13:06 +1200)]
Merge pull request #23364 from eileenmcnaughton/rel
Minor function simplification in private function
Eileen McNaughton [Thu, 5 May 2022 00:03:57 +0000 (12:03 +1200)]
[Ref][Import] Remove another good intention - random email counting
Eileen McNaughton [Wed, 4 May 2022 21:58:44 +0000 (09:58 +1200)]
[REF] [Import] Trivial - simplify variables
Eileen McNaughton [Wed, 4 May 2022 23:33:19 +0000 (11:33 +1200)]
[REF] [Import] Remove unused tpl assign showColNames
colemanw [Wed, 4 May 2022 23:24:37 +0000 (19:24 -0400)]
Merge pull request #22115 from artfulrobot/artfulrobot-api4-count-methods
Implement countFetched() and countMatched() on api4 results.
colemanw [Wed, 4 May 2022 23:20:01 +0000 (19:20 -0400)]
Merge pull request #23276 from eileenmcnaughton/flush
[Ref] [Import] Cleanup cleanup on old tables for form re-submission
Eileen McNaughton [Wed, 4 May 2022 22:38:28 +0000 (10:38 +1200)]
Merge pull request #23351 from lcdservices/dev-core-3439
dev/core#3439 change batch geocode query to include events
Eileen McNaughton [Wed, 4 May 2022 22:34:21 +0000 (10:34 +1200)]
Minor function simplification in private function
The function does 2 different things depending on whether if finds a duplicate
& having it in a sub-function doesn't make the parent class clearer....
colemanw [Wed, 4 May 2022 22:17:22 +0000 (18:17 -0400)]
Merge pull request #23313 from herbdool/issue-3429
Issue 3249: make casetype a managed entity
colemanw [Wed, 4 May 2022 22:15:22 +0000 (18:15 -0400)]
Merge pull request #23361 from eileenmcnaughton/import_comment
Import - fix comment
Coleman Watts [Wed, 4 May 2022 14:34:57 +0000 (10:34 -0400)]
APIv3 - Fix testCustomDataGet errors caused by legacy entity naming issues
Coleman Watts [Mon, 2 May 2022 12:08:31 +0000 (08:08 -0400)]
CustomFields - Improve metadata for custom_group_extends
This allows the API to filter custom groups by entity type and other values.
Coleman Watts [Sun, 1 May 2022 21:54:54 +0000 (17:54 -0400)]
CustomGroup - Add metadata about how a custom group relates to entity types
Fixes dev/core#2905
Before: Hard coded, plus a very strange use of the 'description' field to store a callback function.
After: The 'grouping' field in the OptionValue for custom extends and custom type is used.
APIv4 getfields can then retrieve the necessary options.
colemanw [Wed, 4 May 2022 22:11:39 +0000 (18:11 -0400)]
Merge pull request #23362 from demeritcowboy/dao
DAOs out of date
Eileen McNaughton [Wed, 4 May 2022 21:52:51 +0000 (09:52 +1200)]
Merge pull request #23360 from eileenmcnaughton/import_var
[REF] [Import] Trivial - simplify variable
Eileen McNaughton [Wed, 4 May 2022 20:40:01 +0000 (08:40 +1200)]
Merge pull request #23339 from ginkgomzd/bermuda-parishes
add missing Parishes of Bermuda (civicrm_state_province)
demeritcowboy [Wed, 4 May 2022 20:08:36 +0000 (16:08 -0400)]
DAOs out of date
colemanw [Wed, 4 May 2022 20:05:13 +0000 (16:05 -0400)]
Merge pull request #23288 from eileenmcnaughton/import_upgrade
[Import] Upgrade saved import names for contacts
Eileen McNaughton [Wed, 4 May 2022 19:53:07 +0000 (07:53 +1200)]
Import - fix comment
colemanw [Wed, 4 May 2022 19:52:05 +0000 (15:52 -0400)]
Merge pull request #23340 from eileenmcnaughton/import_preview2
[REF][Import] [Contact] Clean up preview screen
Eileen McNaughton [Wed, 4 May 2022 19:49:53 +0000 (07:49 +1200)]
[REF] [Import] Trivial - simplify variable
Assign this->activeFields[i]->_relatedContactType to
a variable rather than keep repeating it.
Eileen McNaughton [Thu, 21 Apr 2022 03:48:56 +0000 (15:48 +1200)]
Cleanup cleanup on old tables for form re-submission
colemanw [Wed, 4 May 2022 19:42:32 +0000 (15:42 -0400)]
Merge pull request #23342 from eileenmcnaughton/import_map
[Import] [Ref] [Contact] Extract row mapping and add test
colemanw [Wed, 4 May 2022 19:27:39 +0000 (15:27 -0400)]
Merge pull request #23345 from eileenmcnaughton/cypr
Stop adding obsolete currencies to new installs
Eileen McNaughton [Wed, 4 May 2022 19:23:27 +0000 (07:23 +1200)]
Merge pull request #23357 from mattwire/participant
NFC Minor cleanup to Participant confirm
ginkgoMZD [Wed, 4 May 2022 18:54:57 +0000 (14:54 -0400)]
regen;
ginkgoMZD [Mon, 2 May 2022 22:19:42 +0000 (18:19 -0400)]
add missing Parishes of Bermuda (civicrm_state_province)
colemanw [Wed, 4 May 2022 18:51:38 +0000 (14:51 -0400)]
Merge pull request #23344 from eileenmcnaughton/import_functions
[Ref] [Import] Add extra functions to DataSource
colemanw [Wed, 4 May 2022 18:20:14 +0000 (14:20 -0400)]
Merge pull request #23359 from colemanw/managedDocs
[NFC] Fix APIv4 docblock annotations for Managed API
Coleman Watts [Wed, 4 May 2022 15:03:09 +0000 (11:03 -0400)]
NFC - Fix APIv4 docblock annotations for Managed API
demeritcowboy [Wed, 4 May 2022 11:56:37 +0000 (07:56 -0400)]
Merge pull request #23349 from eileenmcnaughton/import_var
[REF] [Import] Trivial - simplify variable
demeritcowboy [Wed, 4 May 2022 11:54:25 +0000 (07:54 -0400)]
Merge pull request #23352 from eileenmcnaughton/leg
Remove unused variable
Matthew Wire [Wed, 4 May 2022 10:44:19 +0000 (11:44 +0100)]
Minor cleanup to Participant confirm
Eileen McNaughton [Wed, 4 May 2022 06:51:44 +0000 (18:51 +1200)]
Merge pull request #23355 from colemanw/userJobIfNotExists
Fix 'Table already exists' error when running 5.50 upgrade twice
Eileen McNaughton [Wed, 4 May 2022 06:39:14 +0000 (18:39 +1200)]
Merge pull request #23354 from colemanw/searchKitDateField
SearchKit - Consistently check for date field
Coleman Watts [Wed, 4 May 2022 01:01:31 +0000 (21:01 -0400)]
Fix 'Table already exists' error when running 5.50 upgrade twice
Coleman Watts [Wed, 4 May 2022 00:49:56 +0000 (20:49 -0400)]
SearchKit - Consistently check for date field
Eileen McNaughton [Tue, 3 May 2022 03:40:32 +0000 (15:40 +1200)]
Add extra functions to DataSource
This adds functions from https://github.com/civicrm/civicrm-core/pull/23292 to
the DataSource class (without them being called as yet)
- part of trying to get to the point where fixes are not dependent on each other
colemanw [Tue, 3 May 2022 22:10:11 +0000 (18:10 -0400)]
Merge pull request #23350 from eileenmcnaughton/rel_cast
IDE cheer - cast var explicitly to an int
Eileen McNaughton [Tue, 3 May 2022 20:44:56 +0000 (08:44 +1200)]
Merge pull request #23310 from colemanw/api4Update
Api4 - minor fixes and updates
Eileen McNaughton [Tue, 3 May 2022 20:43:31 +0000 (08:43 +1200)]
Merge pull request #23321 from davejenx/report-column-nodisplay
PR 22070 follow-up: reinstate respecting no_display on report column headers
Eileen McNaughton [Tue, 3 May 2022 20:33:44 +0000 (08:33 +1200)]
Merge pull request #23348 from colemanw/getFieldsSuffixes
APIv4 - Support pseudoconstant suffixes in getFields
Eileen McNaughton [Tue, 3 May 2022 19:16:05 +0000 (07:16 +1200)]
Remove unused variable
Brian Shaughnessy [Tue, 3 May 2022 18:59:56 +0000 (14:59 -0400)]
dev/core#3439 change batch geocode query to include events
Eileen McNaughton [Tue, 3 May 2022 18:57:37 +0000 (06:57 +1200)]
IDE cheer - cast var explicitly to an int
Eileen McNaughton [Tue, 3 May 2022 17:57:49 +0000 (05:57 +1200)]
[REF] [Import] Trivial - simplify variable
Assign this->activeFields[i]->_relatedContactDetails to
a variable rather than keep repeating it.
Eileen McNaughton [Tue, 3 May 2022 00:48:07 +0000 (12:48 +1200)]
[Import] [Ref] [Contact] Extract row mapping and add test
Eileen McNaughton [Tue, 3 May 2022 17:44:17 +0000 (05:44 +1200)]
Merge pull request #23347 from eileenmcnaughton/import_var
[REF] [Import] Trivial - simplify variable
Coleman Watts [Tue, 3 May 2022 15:55:45 +0000 (11:55 -0400)]
APIv4 - Support pseudoconstant suffixes in getFields
colemanw [Tue, 3 May 2022 14:43:35 +0000 (10:43 -0400)]
Merge pull request #23261 from eileenmcnaughton/throw
[REF] [Import] Remove another good intention from the import class
Eileen McNaughton [Tue, 3 May 2022 12:58:39 +0000 (00:58 +1200)]
[REF] [Import] Trivial - simplify variable
Assign this->_activeFields[i]->_name to a variable
rather than keep repeating it...
Seamus Lee [Tue, 3 May 2022 07:30:44 +0000 (17:30 +1000)]
Merge pull request #23324 from agileware/CIVIUX-153
🇦🇺 jira/browse/CRM-18217 On the website front-end, CiviCRM page heading should start from h2 and not h1
Seamus Lee [Tue, 3 May 2022 07:26:54 +0000 (17:26 +1000)]
Merge pull request #23334 from colemanw/afformResetButton
AfformGui - Optional reset button for search and submit forms
Eileen McNaughton [Tue, 3 May 2022 04:18:38 +0000 (16:18 +1200)]
Stop adding obsolete currencies to new installs
CYP - Cyprus Pound
https://www.centralbank.cy/en/banknotes-and-coins/cyprus-pound
LTL - Lithuanian litas
https://en.wikipedia.org/wiki/Lithuanian_litas#:~:text=The%20Lithuanian%20litas%20(ISO%20currency,centas%2C%20nominative%20plural%20centai).
GWP - replaced in 1997 https://en.wikipedia.org/wiki/Guinea-Bissau_peso
LVL - https://www.investopedia.com/terms/forex/l/lvl-latvian-lat.asp#:~:text=The%20Latvian%20lats%20(LVL)%20was,was%20replaced%20by%20the%20euro.
MTL - https://www.investopedia.com/terms/m/mtl.asp
ROL - https://en.wikipedia.org/wiki/Romanian_leu
SDD - https://www.investopedia.com/terms/s/sdd-sudanese-dinar.asp#:~:text=The%20Sudanese%20dinar%20(SDD)%20was,replaced%20the%20original%20Sudanese%20pound.
SIT - https://www.investopedia.com/terms/s/sit-slovenian-tolar.asp
SKK - https://en.wikipedia.org/wiki/Slovak_koruna
TMM - https://en.wikipedia.org/wiki/Turkmenistani_manat
Eileen McNaughton [Mon, 2 May 2022 23:27:56 +0000 (11:27 +1200)]
[REF][Import] [Contact] Clean up preview screen
This gets rid of the crazy code on the preview screen - relying on getMappingFieldFromMapperInput
to compile the titles and
Eileen McNaughton [Mon, 2 May 2022 00:49:55 +0000 (12:49 +1200)]
set contact type for map fields
Eileen McNaughton [Sat, 23 Apr 2022 01:58:48 +0000 (13:58 +1200)]
Update Save Field Mapping code to save in upgraded format
Eileen McNaughton [Fri, 22 Apr 2022 20:02:42 +0000 (08:02 +1200)]
Upgrade saved import names for contacts
style
Eileen McNaughton [Tue, 3 May 2022 02:01:37 +0000 (14:01 +1200)]
Merge pull request #23341 from eileenmcnaughton/import_test
[REF] [Import] [Trivial] Minor test fixes
Eileen McNaughton [Tue, 3 May 2022 02:00:51 +0000 (14:00 +1200)]
Merge pull request #23337 from eileenmcnaughton/import
Master only import regression - fix contactSubType handling
Eileen McNaughton [Tue, 3 May 2022 01:13:27 +0000 (13:13 +1200)]
Merge pull request #23338 from eileenmcnaughton/import_preview
Add import function to parser
Eileen McNaughton [Mon, 2 May 2022 23:59:54 +0000 (11:59 +1200)]
[REF] [Import] [Trivial] Minor test fixes
This just fixes some of the import parser tests to be more
realistic - notably ensuring the userJobID is set - which
is now required, and making the params for
setting that up more flexible within the test class
Eileen McNaughton [Mon, 2 May 2022 20:44:22 +0000 (08:44 +1200)]
Master only import regression - fix contactSubType handling
I found that the fieldname for contactSubType was actually subType
so renamed to contactSubType & ensured the type was set before
metadata loading
Eileen McNaughton [Mon, 2 May 2022 22:04:14 +0000 (10:04 +1200)]
Add import function to parser
This function is not used in this PR but added in
https://github.com/civicrm/civicrm-core/pull/23288/
- however, that PR is a bit stalled & getting the function added also allows
for other places to call it (ie kill off the enotices on the preview
screen and remove all the silly parameters in the construct)
so trying to get just the function merged
Eileen McNaughton [Wed, 20 Apr 2022 09:40:06 +0000 (21:40 +1200)]
Remove another good intention from the import class
Once upon a time - the import classes were written....
Back then it seemed like a good idea to give the derived classes
a way to abort processing.
Like unicorns and mermaids derived classes turned out to
be mythical creatures - not even found by searching the
git universe....
demeritcowboy [Mon, 2 May 2022 00:10:05 +0000 (20:10 -0400)]
Merge pull request #23329 from eileenmcnaughton/import_getfields
Fix master-only regression on showing fields for contact type
demeritcowboy [Sun, 1 May 2022 22:43:22 +0000 (18:43 -0400)]
Merge pull request #23335 from colemanw/searchKitDateFix
SearchKit - Ensure all date and timestamp fields are presented with datepicker
colemanw [Sun, 1 May 2022 21:12:17 +0000 (23:12 +0200)]
Merge pull request #23262 from eileenmcnaughton/limit
[REF] [Import] Handle limit with more sanity
Eileen McNaughton [Sun, 1 May 2022 20:21:33 +0000 (08:21 +1200)]
Merge pull request #23327 from demeritcowboy/caseresources-limit
dev/core#3431 - Case activity only has 25 contacts listed from Case Resources in the Send Copy section
Coleman Watts [Sun, 1 May 2022 10:27:08 +0000 (12:27 +0200)]
SearchKit - Ensure all date and timestamp fields are presented with a datepicker
Coleman Watts [Sun, 1 May 2022 10:01:01 +0000 (12:01 +0200)]
AfformGui - Optional reset button for search and submit forms
Adds some metadata about what elements belong on what form types,
which will now hide the "submit" button as an option for non-submission forms.
demeritcowboy [Fri, 29 Apr 2022 18:02:57 +0000 (14:02 -0400)]
Case Resources only returns 25 contacts
Eileen McNaughton [Sat, 30 Apr 2022 03:53:38 +0000 (15:53 +1200)]
Fix master-only regression on showing fields for contact type
colemanw [Sat, 30 Apr 2022 07:34:24 +0000 (09:34 +0200)]
Merge pull request #23330 from eileenmcnaughton/import_errors
[Import] [Ref] Simplify string concatenation
colemanw [Sat, 30 Apr 2022 07:30:24 +0000 (09:30 +0200)]
Merge pull request #23322 from kurund/survey-title-fixes
make survey title available in form builder
Eileen McNaughton [Sat, 30 Apr 2022 04:26:37 +0000 (16:26 +1200)]
[Import] [Ref] Simplify string concatenation
Eileen McNaughton [Sat, 30 Apr 2022 02:21:12 +0000 (14:21 +1200)]
Merge pull request #23238 from ufundo/event-reminders-from-template-api4
Update copied event reminders to link to new event when creating from…
demeritcowboy [Fri, 29 Apr 2022 23:50:55 +0000 (19:50 -0400)]
Merge pull request #23304 from eileenmcnaughton/import_highlight
[REF][Import] (minor) Extract getHightlightedFields
Eileen McNaughton [Tue, 26 Apr 2022 19:29:20 +0000 (07:29 +1200)]
[REF][Import] Extract getHightlightedFields
demeritcowboy [Fri, 29 Apr 2022 18:19:55 +0000 (14:19 -0400)]
Merge pull request #23326 from civicrm/5.49
5.49
demeritcowboy [Fri, 29 Apr 2022 16:29:40 +0000 (12:29 -0400)]
Merge pull request #23295 from eileenmcnaughton/549
dev/core#3084 Bug fix on line item financial types
Justin Freeman [Fri, 29 Apr 2022 02:06:02 +0000 (12:06 +1000)]
CIVIUX-153 On the website front-end, CiviCRM page heading should start from h2 and not h1
Kurund Jalmi [Thu, 28 Apr 2022 18:23:26 +0000 (19:23 +0100)]
make survey title available in form builder
demeritcowboy [Thu, 28 Apr 2022 13:05:49 +0000 (09:05 -0400)]
Merge pull request #23319 from colemanw/searchKitKeepLabel
SearchKit - Keep label when switching entity
Dave Jenkins [Thu, 28 Apr 2022 11:47:58 +0000 (12:47 +0100)]
PR 22070 follow-up: reinstate respecting no_display on column headers
colemanw [Thu, 28 Apr 2022 09:07:49 +0000 (11:07 +0200)]
Merge pull request #23315 from colemanw/searchDisplayGridCss
SearchKit - Move grid css to its own file
Coleman Watts [Thu, 28 Apr 2022 07:58:52 +0000 (09:58 +0200)]
SearchKit - Keep label when switching entity
Seamus Lee [Thu, 28 Apr 2022 02:36:25 +0000 (12:36 +1000)]
Merge pull request #23316 from jmcclelland/petition-links
Make links to sign a petition easily accessible on the form.
Seamus Lee [Thu, 28 Apr 2022 02:36:06 +0000 (12:36 +1000)]
Merge pull request #23311 from colemanw/unusedEvent
APIv4 - Deprecate unnecessary event
Jamie McClelland [Wed, 27 Apr 2022 19:38:18 +0000 (15:38 -0400)]
Make links to sign a petition easily accessible on the form.
Coleman Watts [Wed, 27 Apr 2022 16:55:47 +0000 (18:55 +0200)]
APIv4 - Move filtering of component entities higher up
Filtering out component entities at a low level was causing errors when trying
to get basic info about an entity from a disabled component.
It's better to do the filtering in the Entity.get action instead.