civicrm-core.git
12 months agouse entity link rather than hard-coded
benjamin [Tue, 5 Dec 2023 12:55:01 +0000 (12:55 +0000)]
use entity link rather than hard-coded

12 months agouse pop up for user edit
benjamin [Tue, 5 Dec 2023 12:10:03 +0000 (12:10 +0000)]
use pop up for user edit

12 months agoMerge pull request #28478 from wmortada/standalone-fields
Rich Lott [Tue, 5 Dec 2023 12:16:44 +0000 (12:16 +0000)]
Merge pull request #28478 from wmortada/standalone-fields

Standalone - Make active field required and labelled enabled

12 months agoMerge pull request #28494 from eileenmcnaughton/crazy_param
Eileen McNaughton [Tue, 5 Dec 2023 09:14:46 +0000 (22:14 +1300)]
Merge pull request #28494 from eileenmcnaughton/crazy_param

Cleanup return on processContact

12 months agoCleanup return on processContact
Eileen McNaughton [Tue, 5 Dec 2023 04:26:35 +0000 (17:26 +1300)]
Cleanup return on processContact

12 months agoMerge pull request #28486 from 19ATF72/contributor-update
Eileen McNaughton [Mon, 4 Dec 2023 22:32:52 +0000 (11:32 +1300)]
Merge pull request #28486 from 19ATF72/contributor-update

Update contributor-key.yml

12 months agoMerge pull request #28398 from MegaphoneJon/better-ajax-error-handling
Eileen McNaughton [Mon, 4 Dec 2023 21:41:26 +0000 (10:41 +1300)]
Merge pull request #28398 from MegaphoneJon/better-ajax-error-handling

ensure exception class supports getErrorData

12 months agoUpdate contributor-key.yml
19ATF72 [Mon, 4 Dec 2023 21:38:33 +0000 (21:38 +0000)]
Update contributor-key.yml

12 months agoMerge pull request #28425 from demeritcowboy/lang-eco
Tim Otten [Mon, 4 Dec 2023 21:09:31 +0000 (21:09 +0000)]
Merge pull request #28425 from demeritcowboy/lang-eco

Update language download during install to use existing folder if present

12 months agoMerge pull request #26227 from eileenmcnaughton/payment
Matthew Wire [Mon, 4 Dec 2023 20:59:14 +0000 (20:59 +0000)]
Merge pull request #26227 from eileenmcnaughton/payment

Use payment create rather than transitionComponents

12 months agoMake active flag required and labelled enabled
William Mortada [Sun, 3 Dec 2023 12:05:07 +0000 (12:05 +0000)]
Make active flag required and labelled enabled

12 months agoensure this exception class supports getErrorData
Jon Goldberg [Fri, 1 Dec 2023 20:11:17 +0000 (15:11 -0500)]
ensure this exception class supports getErrorData

12 months agoMerge pull request #28419 from ufundo/standalone-url-test
Rich Lott [Mon, 4 Dec 2023 18:46:24 +0000 (18:46 +0000)]
Merge pull request #28419 from ufundo/standalone-url-test

Standalone PathUrlTest

12 months agoMerge pull request #28470 from demeritcowboy/not4
colemanw [Mon, 4 Dec 2023 18:08:21 +0000 (18:08 +0000)]
Merge pull request #28470 from demeritcowboy/not4

Use buttons instead of buttons, but only when not 4, but also if it's 4

12 months agotest Standalone urls (use drupal format)
benjamin [Sat, 2 Dec 2023 15:54:21 +0000 (15:54 +0000)]
test Standalone urls (use drupal format)

12 months agopat => pattern
benjamin [Sat, 2 Dec 2023 15:53:43 +0000 (15:53 +0000)]
pat => pattern

12 months agotypo in joomla path
benjamin [Mon, 4 Dec 2023 17:11:26 +0000 (17:11 +0000)]
typo in joomla path

12 months agoMerge pull request #28449 from vingle/a11y-fbuilder
colemanw [Mon, 4 Dec 2023 16:15:07 +0000 (16:15 +0000)]
Merge pull request #28449 from vingle/a11y-fbuilder

Applies accessible accordion to FormBuilder's 'collapsible' output

12 months agoMerge pull request #28469 from jaapjansma/language_clean_up
Matthew Wire [Mon, 4 Dec 2023 14:57:28 +0000 (14:57 +0000)]
Merge pull request #28469 from jaapjansma/language_clean_up

dev/core#4411: follow up PR of the language pr, this cleans up an unused functions

12 months agoMerge pull request #28463 from eileenmcnaughton/processAmount
Matthew Wire [Mon, 4 Dec 2023 14:56:48 +0000 (14:56 +0000)]
Merge pull request #28463 from eileenmcnaughton/processAmount

Add warnings to processAmount

12 months agoMerge pull request #28459 from eileenmcnaughton/deprecate
Matthew Wire [Mon, 4 Dec 2023 14:53:26 +0000 (14:53 +0000)]
Merge pull request #28459 from eileenmcnaughton/deprecate

Stop using & deprectate `getSalesTaxTerm`

12 months agoMerge pull request #28461 from eileenmcnaughton/add_payment
Matthew Wire [Mon, 4 Dec 2023 14:52:32 +0000 (14:52 +0000)]
Merge pull request #28461 from eileenmcnaughton/add_payment

Fix tests calling AdditionalPayment form to use full flow, add standard ID get functions

12 months agoMerge pull request #27496 from eileenmcnaughton/activity_view
demeritcowboy [Mon, 4 Dec 2023 13:44:25 +0000 (08:44 -0500)]
Merge pull request #27496 from eileenmcnaughton/activity_view

Fix activity view bug where an activity type id in the url overrides …

12 months agouse buttons instead of buttons, but only when not 4, but also if it's 4
demeritcowboy [Mon, 4 Dec 2023 05:37:45 +0000 (00:37 -0500)]
use buttons instead of buttons, but only when not 4, but also if it's 4

12 months agoMerge pull request #28462 from eileenmcnaughton/notice_mem
demeritcowboy [Mon, 4 Dec 2023 12:57:26 +0000 (07:57 -0500)]
Merge pull request #28462 from eileenmcnaughton/notice_mem

Notice fix in membership_online_receipt

12 months agoMerge pull request #28448 from colemanw/summaryStyle
Rich Lott [Mon, 4 Dec 2023 12:49:04 +0000 (12:49 +0000)]
Merge pull request #28448 from colemanw/summaryStyle

Greenwich - Fix styling of summary collapsible element

12 months agodev/core#4411: follow up PR of the language pr, this cleans up an unused function
Jaap Jansma [Mon, 4 Dec 2023 12:24:23 +0000 (13:24 +0100)]
dev/core#4411: follow up PR of the language pr, this cleans up an unused function

12 months agoMerge pull request #28420 from wmortada/standalone-roles2
Rich Lott [Mon, 4 Dec 2023 11:56:11 +0000 (11:56 +0000)]
Merge pull request #28420 from wmortada/standalone-roles2

Standalone - add name and delete en/disable actions for roles

12 months agoFormBuilder - Use summary/details instead of af-collapsible
colemanw [Mon, 4 Dec 2023 11:04:01 +0000 (11:04 +0000)]
FormBuilder - Use summary/details instead of af-collapsible

12 months agoMerge pull request #28429 from wmortada/standalone-roles3
Rich Lott [Mon, 4 Dec 2023 11:19:14 +0000 (11:19 +0000)]
Merge pull request #28429 from wmortada/standalone-roles3

Standalone - remove role from users on deletion

12 months agoAfform - Handle details element at runtime
colemanw [Mon, 4 Dec 2023 10:12:39 +0000 (10:12 +0000)]
Afform - Handle details element at runtime

12 months agoFIx tests caling AdditionalPayment form to use full flow, add getContributionID(...
Eileen McNaughton [Mon, 4 Dec 2023 00:44:39 +0000 (13:44 +1300)]
FIx tests caling AdditionalPayment form to use full flow, add getContributionID() function

12 months agoMerge pull request #28465 from lemniscus/fix-typo-entitiy
Eileen McNaughton [Mon, 4 Dec 2023 08:33:00 +0000 (21:33 +1300)]
Merge pull request #28465 from lemniscus/fix-typo-entitiy

[NFC] Fix a tiypo

12 months agoFix a tiypo
Noah Miller [Mon, 4 Dec 2023 07:06:45 +0000 (23:06 -0800)]
Fix a tiypo

12 months agoMerge pull request #28321 from colemanw/angEverywhere
Seamus Lee [Mon, 4 Dec 2023 04:38:41 +0000 (15:38 +1100)]
Merge pull request #28321 from colemanw/angEverywhere

dev/core#4811 AngularJs - Load on every page

12 months agoAdd warnings to processAmount
Eileen McNaughton [Mon, 4 Dec 2023 01:47:41 +0000 (14:47 +1300)]
Add warnings to processAmount

12 months agoNotice fix in membership_online_receipt
Eileen McNaughton [Mon, 4 Dec 2023 01:32:27 +0000 (14:32 +1300)]
Notice fix in membership_online_receipt

12 months agoMerge pull request #28455 from ufundo/standalone-public-civimail-sub
Tim Otten [Mon, 4 Dec 2023 01:00:55 +0000 (01:00 +0000)]
Merge pull request #28455 from ufundo/standalone-public-civimail-sub

fix standalone permission for civimail subscribe pages

12 months agoMerge pull request #28460 from colemanw/searchKitAutocompleteById
Eileen McNaughton [Mon, 4 Dec 2023 00:30:56 +0000 (13:30 +1300)]
Merge pull request #28460 from colemanw/searchKitAutocompleteById

SearchKit - Ensure result autocompleted by id is excluded from subsequent pages

12 months agoMerge pull request #28458 from civicrm/5.68
Eileen McNaughton [Mon, 4 Dec 2023 00:07:34 +0000 (13:07 +1300)]
Merge pull request #28458 from civicrm/5.68

Merge 5.68 to master

12 months agoSearchKit - Ensure result autocompleted by id is excluded from subsequent pages
colemanw [Sun, 3 Dec 2023 23:36:10 +0000 (23:36 +0000)]
SearchKit - Ensure result autocompleted by id is excluded from subsequent pages

12 months agoStop using & deprectate getSalesTaxTerm
Eileen McNaughton [Sun, 3 Dec 2023 23:18:18 +0000 (12:18 +1300)]
Stop using & deprectate getSalesTaxTerm

This function made sense we we have that non-standard way of saving
the taxTerm setting but now it just hides what the one-liner is doing

12 months agoMerge pull request #28457 from braders/php8-ParticipantStatusType
Eileen McNaughton [Sun, 3 Dec 2023 23:15:29 +0000 (12:15 +1300)]
Merge pull request #28457 from braders/php8-ParticipantStatusType

[REF][PHP8.2] Declare property in CRM_Admin_Form_ParticipantStatusType

12 months agoUse payment create rather than transitionComponents
Eileen McNaughton [Tue, 16 May 2023 00:57:23 +0000 (12:57 +1200)]
Use payment create rather than transitionComponents

12 months agoMerge pull request #28453 from jaapjansma/standalone_language_and_timezone
colemanw [Sun, 3 Dec 2023 22:58:00 +0000 (22:58 +0000)]
Merge pull request #28453 from jaapjansma/standalone_language_and_timezone

dev/core#4411 fix issue with user language

12 months ago[REF][PHP8.2] Declare property in CRM_Admin_Form_ParticipantStatusType
Bradley Taylor [Sun, 3 Dec 2023 21:45:12 +0000 (21:45 +0000)]
[REF][PHP8.2] Declare property in CRM_Admin_Form_ParticipantStatusType

12 months agoMerge pull request #28421 from vingle/a11y-accordions-3
Eileen McNaughton [Sun, 3 Dec 2023 21:23:14 +0000 (10:23 +1300)]
Merge pull request #28421 from vingle/a11y-accordions-3

 Applies accessible accordion to Activity Search

12 months agodev/core#4411 fix issue with user language
Jaap Jansma [Sun, 3 Dec 2023 21:22:31 +0000 (22:22 +0100)]
dev/core#4411 fix issue with user language

12 months agoFix activity view bug where an activity type id in the url overrides the actual activ...
Eileen McNaughton [Mon, 18 Sep 2023 21:29:23 +0000 (09:29 +1200)]
Fix activity view bug where an activity type id in the url overrides the actual activity type id

When we view an activity there is code in the template that renders differently depending on the
activity type id. However, if the activity ID (atype) is wrong in the url it gives the url precedence

This is a bit obscure - I hit it when I changed the activity type id in the database & the view
did not update

12 months agoMerge pull request #28451 from wmortada/standalone-protected-roles
Eileen McNaughton [Sun, 3 Dec 2023 20:53:48 +0000 (09:53 +1300)]
Merge pull request #28451 from wmortada/standalone-protected-roles

Standalone - Protect admin and everyone roles

12 months agofix standalone permission for civimail subscribe pages
benjamin [Sun, 3 Dec 2023 19:50:12 +0000 (19:50 +0000)]
fix standalone permission for civimail subscribe pages

12 months agoMerge pull request #28436 from artfulrobot/standalone-abs-paths
colemanw [Sun, 3 Dec 2023 19:45:14 +0000 (19:45 +0000)]
Merge pull request #28436 from artfulrobot/standalone-abs-paths

Standalone absolute paths

12 months agoMerge pull request #28450 from demeritcowboy/regen
colemanw [Sun, 3 Dec 2023 19:43:21 +0000 (19:43 +0000)]
Merge pull request #28450 from demeritcowboy/regen

regen

12 months agoRebase
Nicol [Sun, 3 Dec 2023 18:58:44 +0000 (18:58 +0000)]
Rebase

12 months agoMerge pull request #28444 from braders/php8-timespent
Matthew Wire [Sun, 3 Dec 2023 18:38:22 +0000 (18:38 +0000)]
Merge pull request #28444 from braders/php8-timespent

[REF][PHP8.2] Declare properties in TimeSpent report

12 months agoMerge pull request #28409 from colemanw/toolbar
Matthew Wire [Sun, 3 Dec 2023 18:37:17 +0000 (18:37 +0000)]
Merge pull request #28409 from colemanw/toolbar

SearchKit - Fix toolbar display when not using pager

12 months agoMerge pull request #28454 from colemanw/searchKitMenuHide
Rich Lott [Sun, 3 Dec 2023 18:37:09 +0000 (18:37 +0000)]
Merge pull request #28454 from colemanw/searchKitMenuHide

SearchKit - Hide empty menus

12 months agoMerge pull request #28437 from colemanw/civiGrantView
Matthew Wire [Sun, 3 Dec 2023 18:36:44 +0000 (18:36 +0000)]
Merge pull request #28437 from colemanw/civiGrantView

CiviGrant - Fix 'View Grant' page

12 months agoMerge pull request #28435 from eileenmcnaughton/notice_new_member
Matthew Wire [Sun, 3 Dec 2023 18:36:00 +0000 (18:36 +0000)]
Merge pull request #28435 from eileenmcnaughton/notice_new_member

Fix notices on view membership

12 months agoMerge pull request #28430 from vingle/a11y-accordions
Matthew Wire [Sun, 3 Dec 2023 18:35:40 +0000 (18:35 +0000)]
Merge pull request #28430 from vingle/a11y-accordions

Applies accessible accordion to contact dashboard, replaces old accordion pattern

12 months agoMerge pull request #28440 from artfulrobot/artfulrobot-standalone-user-timestamps
Rich Lott [Sun, 3 Dec 2023 18:34:17 +0000 (18:34 +0000)]
Merge pull request #28440 from artfulrobot/artfulrobot-standalone-user-timestamps

standalone: implement User fields when_last_accessed and when_updated

12 months agoSearchKit - Hide empty menus
colemanw [Sun, 3 Dec 2023 18:32:19 +0000 (18:32 +0000)]
SearchKit - Hide empty menus

12 months agoMerge pull request #28418 from vingle/a11y-accordions-2
Matthew Wire [Sun, 3 Dec 2023 18:28:56 +0000 (18:28 +0000)]
Merge pull request #28418 from vingle/a11y-accordions-2

Applies accessible accordion to Advanced Search

12 months agoMerge pull request #28443 from ufundo/asset-builder-test
Matthew Wire [Sun, 3 Dec 2023 18:27:46 +0000 (18:27 +0000)]
Merge pull request #28443 from ufundo/asset-builder-test

Asset builder test

12 months agoMerge pull request #28427 from ufundo/standalone-bootstrap-script
colemanw [Sun, 3 Dec 2023 18:26:09 +0000 (18:26 +0000)]
Merge pull request #28427 from ufundo/standalone-bootstrap-script

Standalone - bootstrap script fixes

12 months agoMerge pull request #28446 from braders/php8-task-delete
colemanw [Sun, 3 Dec 2023 18:25:01 +0000 (18:25 +0000)]
Merge pull request #28446 from braders/php8-task-delete

[REF][PHP8.2] Declare properties in CRM_Contact_Form_Task_Delete

12 months agoStandalone - Protect admin and everyone roles
William Mortada [Sun, 3 Dec 2023 17:54:43 +0000 (17:54 +0000)]
Standalone - Protect admin and everyone roles

12 months agoMerge pull request #28447 from wmortada/standalone-admin-role
Rich Lott [Sun, 3 Dec 2023 17:59:25 +0000 (17:59 +0000)]
Merge pull request #28447 from wmortada/standalone-admin-role

Standalone - give admin role super permission

12 months agoregen
demeritcowboy [Sun, 3 Dec 2023 17:50:57 +0000 (12:50 -0500)]
regen

12 months agoUpdate CRM/Utils/System/Standalone.php
Rich Lott [Sun, 3 Dec 2023 17:46:09 +0000 (17:46 +0000)]
Update CRM/Utils/System/Standalone.php

Co-authored-by: colemanw <coleman@civicrm.org>
12 months agoMerge pull request #28405 from eileenmcnaughton/payment_send
demeritcowboy [Sun, 3 Dec 2023 17:38:39 +0000 (12:38 -0500)]
Merge pull request #28405 from eileenmcnaughton/payment_send

Update Payment or receipt notification template

12 months agoRemoves collapsible checkbox / needs conditional
Nicol [Sun, 3 Dec 2023 17:30:22 +0000 (17:30 +0000)]
Removes collapsible checkbox / needs conditional

12 months agoUpdate afGuiContainer.component.js
Nicol [Sun, 3 Dec 2023 17:25:43 +0000 (17:25 +0000)]
Update afGuiContainer.component.js

12 months agoGreenwich - Fix styling of summary collapsible element
colemanw [Sun, 3 Dec 2023 17:24:52 +0000 (17:24 +0000)]
Greenwich - Fix styling of summary collapsible element

12 months ago[REF][PHP8.2] Declare properties in CRM_Contact_Form_Task_Delete
Bradley Taylor [Sun, 3 Dec 2023 17:13:15 +0000 (17:13 +0000)]
[REF][PHP8.2] Declare properties in CRM_Contact_Form_Task_Delete

12 months agoStandalone - give admin role super permission
William Mortada [Sun, 3 Dec 2023 17:11:03 +0000 (17:11 +0000)]
Standalone - give admin role super permission

12 months ago[REF][PHP8.2] Declare properties in TimeSpent report
Bradley Taylor [Sun, 3 Dec 2023 16:57:29 +0000 (16:57 +0000)]
[REF][PHP8.2] Declare properties in TimeSpent report

12 months agotestUrl: pass all the params needed to build crm-l10n.js
benjamin [Sun, 3 Dec 2023 16:11:51 +0000 (16:11 +0000)]
testUrl: pass all the params needed to build crm-l10n.js

12 months agodedicated function get l10n js asset build params
benjamin [Sun, 3 Dec 2023 16:10:40 +0000 (16:10 +0000)]
dedicated function get l10n js asset build params

12 months agoMerge pull request #28434 from eileenmcnaughton/notice_add_member
colemanw [Sun, 3 Dec 2023 15:50:22 +0000 (15:50 +0000)]
Merge pull request #28434 from eileenmcnaughton/notice_add_member

Fix notices on new membership

12 months agoMerge pull request #28439 from greenpeace-cee/fix-get-user-id-from-username
colemanw [Sun, 3 Dec 2023 15:45:16 +0000 (15:45 +0000)]
Merge pull request #28439 from greenpeace-cee/fix-get-user-id-from-username

dev/core#2998 - Fix standalone throwing exception when fetching unkno…

12 months agoMerge pull request #28428 from colemanw/cacheWrapper
Tim Otten [Sun, 3 Dec 2023 14:17:00 +0000 (14:17 +0000)]
Merge pull request #28428 from colemanw/cacheWrapper

Add CRM_Utils_CacheWrapper to all caches

12 months agostandalone: implement User fields when_last_accessed and when_updated
Rich Lott / Artful Robot [Sun, 3 Dec 2023 13:15:47 +0000 (13:15 +0000)]
standalone: implement User fields when_last_accessed and when_updated
When last accessed tracks when the logged in user last
made a PHP request to the site, limited to one update per minute.

When updated tracks when a user record was updated.

12 months agoStandalone - remove role from users on deletion
William Mortada [Sat, 2 Dec 2023 19:01:32 +0000 (19:01 +0000)]
Standalone - remove role from users on deletion

12 months agodev/core#2998 - Fix standalone throwing exception when fetching unknown user
Patrick Figel [Sun, 3 Dec 2023 11:27:41 +0000 (11:27 +0000)]
dev/core#2998 - Fix standalone throwing exception when fetching unknown user

This fixes an issue where getUserIDFromUsername() was throwing an exception
when fetching unknown users, rather than return NULL.

12 months agoMerge pull request #28422 from colemanw/userRoleCache
colemanw [Sun, 3 Dec 2023 08:35:19 +0000 (08:35 +0000)]
Merge pull request #28422 from colemanw/userRoleCache

Standalone - Flush cache when saving user role

12 months agoAdd CRM_Utils_CacheWrapper to all caches
colemanw [Sat, 2 Dec 2023 19:08:46 +0000 (19:08 +0000)]
Add CRM_Utils_CacheWrapper to all caches

This wraps all caches and dispatches a 'civi.cache.clear' event when deleting items from the cache.

12 months agoCiviGrant - Fix 'View Grant' page
colemanw [Sun, 3 Dec 2023 06:40:27 +0000 (06:40 +0000)]
CiviGrant - Fix 'View Grant' page

Fixes https://lab.civicrm.org/dev/core/-/issues/4828

12 months agoMerge pull request #28404 from eileenmcnaughton/version
demeritcowboy [Sun, 3 Dec 2023 04:18:01 +0000 (23:18 -0500)]
Merge pull request #28404 from eileenmcnaughton/version

Stop forcing apiVersion to 3 in setUp

12 months agoStop forcing apiVersion to 3 in setUp
Eileen McNaughton [Sat, 2 Dec 2023 04:33:47 +0000 (17:33 +1300)]
Stop forcing apiVersion to 3 in setUp

It should be possible to override it at a class level...

12 months agoremoves defunct comment
Nicol [Sun, 3 Dec 2023 01:18:19 +0000 (01:18 +0000)]
removes defunct comment

12 months agoMerge branch 'civicrm:master' into a11y-accordions-2
Nicol [Sun, 3 Dec 2023 01:15:26 +0000 (01:15 +0000)]
Merge branch 'civicrm:master' into a11y-accordions-2

12 months agoFix notices on view membership
Eileen McNaughton [Sat, 2 Dec 2023 23:15:51 +0000 (12:15 +1300)]
Fix notices on view membership

12 months agoFix notices on event section of payment or refund notification
Eileen McNaughton [Sat, 2 Dec 2023 05:31:24 +0000 (18:31 +1300)]
Fix notices on event section of payment or refund notification

12 months agoAdd support for financial trxn tokens
Eileen McNaughton [Sat, 2 Dec 2023 06:31:00 +0000 (19:31 +1300)]
Add support for financial trxn tokens

12 months agostandalone: fix not returning absolute paths from System class
Rich Lott / Artful Robot [Sat, 2 Dec 2023 23:37:41 +0000 (23:37 +0000)]
standalone: fix not returning absolute paths from System class

Simple one this.

12 months agoRemove text version of payment_or_refund notification
Eileen McNaughton [Sat, 2 Dec 2023 20:21:30 +0000 (09:21 +1300)]
Remove text version of payment_or_refund notification

12 months agoMerge pull request #28432 from braders/php8-household-summary
demeritcowboy [Sat, 2 Dec 2023 23:28:49 +0000 (18:28 -0500)]
Merge pull request #28432 from braders/php8-household-summary

[REF][PHP8.2] Declare properties in HouseholdSummary report

12 months agoFix notices on new membership
Eileen McNaughton [Sat, 2 Dec 2023 23:27:28 +0000 (12:27 +1300)]
Fix notices on new membership

12 months agostandalone bootstrap script fixes
benjamin [Sat, 2 Dec 2023 18:29:37 +0000 (18:29 +0000)]
standalone bootstrap script fixes