Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge feature/248 into feature/248__qa-npsp-contact-dupes #7211

Open
wants to merge 147 commits into
base: feature/248__qa-npsp-contact-dupes
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
7fa2565
Merge 676225fbc5e17ffff4bea1f59d1fe95b18c0c636 into feature/248__npsp…
salesforce-org-metaci[bot] Sep 22, 2023
5a5bc60
Merge 5f5fd860f4c051f73198790a7567cd61cc328a35 into feature/248__npsp…
salesforce-org-metaci[bot] Sep 25, 2023
53157c1
Update RD2 preflight class_path to work-around installer errors (#7198)
force2b Oct 9, 2023
7d60e0f
Merge 53157c1b1528c73a07e379fff72a07a3a2803739 into feature/238
salesforce-org-metaci[bot] Oct 9, 2023
34efac3
Merge 7d60e0ff2ee08fc080590f538b985e6e2bda08ee into feature/248
salesforce-org-metaci[bot] Oct 9, 2023
0432b3a
Merge pull request #7191 from SalesforceFoundation/feature/248__npsp-…
npsp-reedestockton Nov 6, 2023
35b0382
Add CRUD/FLS checks
npsp-reedestockton Oct 16, 2023
93e7521
Exclude 'npe03' and '__r' from queryFields
npsp-reedestockton Oct 17, 2023
c77c878
Fix logic for applying UTIL_Namespace.StrTokenNSPrefix()
npsp-reedestockton Oct 17, 2023
febbb83
Change exception class to UTIL_Permissions.InsufficientPermissionExce…
npsp-reedestockton Oct 19, 2023
b663013
Add update check for Opportunity Name
npsp-reedestockton Oct 19, 2023
a51cd13
Change exception class to UTIL_Permissions.InsufficientPermissionExce…
npsp-reedestockton Oct 19, 2023
0d64cfd
Refactor try/catch block
npsp-reedestockton Oct 23, 2023
4c007ee
Check security on Data Import and Form Template
npsp-reedestockton Oct 31, 2023
a76dee9
Fix broken test and aurahandled message
npsp-reedestockton Oct 31, 2023
35e9e25
Refactor try/catch logic
npsp-reedestockton Nov 1, 2023
a2c516a
Remove AuraEnabled notation from deleteFormTemplates()
npsp-reedestockton Nov 1, 2023
bd46c61
Refactor/Move code
npsp-reedestockton Nov 1, 2023
6f7f36a
Refactor canUpsertDataImport()
npsp-reedestockton Nov 2, 2023
7a57eaa
Refactor and add comments.
npsp-reedestockton Nov 3, 2023
8182dd7
Add FLS and refactor.
npsp-reedestockton Nov 5, 2023
19675e5
Add FLS and refactor.
npsp-reedestockton Nov 5, 2023
f422dd2
Add FLS for CampaignMember.Status
npsp-reedestockton Nov 6, 2023
f98e9d7
Add FLS for queries and check CRUD for deletes
npsp-reedestockton Nov 6, 2023
a6b6eca
Check isMergeable and strip inaccessible fields from search results.
npsp-reedestockton Nov 8, 2023
0dc6a96
Add Opportunity fields to required and call check hasFeatureAccess
npsp-reedestockton Nov 9, 2023
ea2a4b9
Fix unit tests / set hasFeatureAccess true
npsp-reedestockton Nov 9, 2023
96a2464
Add OCR read, modify and delete to hasAccess. Check hasAccess in save().
npsp-reedestockton Nov 9, 2023
454e70c
Add hasAccess check to controller and page
npsp-reedestockton Nov 10, 2023
82d6a0c
Revert unnecessary changes...
npsp-reedestockton Nov 10, 2023
626ebad
Fix access checks
npsp-reedestockton Nov 10, 2023
917b6a9
Fix access checks
npsp-reedestockton Nov 10, 2023
c1e144d
Prevent page access without read access to basic lead fields
npsp-reedestockton Nov 10, 2023
636dc39
Fix failing HH_ManageHH_Test.testNewHHObject()
npsp-reedestockton Nov 10, 2023
8c4f932
Check for AuraHandledErrorMessage in shouldNotReturnPauseDataWhenUser…
npsp-reedestockton Nov 10, 2023
81f86c3
Merge 8c4f932b356cfcded2fdf7de6d4afebdd1ae4d8f into feature/248__secu…
salesforce-org-metaci[bot] Nov 10, 2023
a3b24f2
Check for standard Level__c field creation permission
npsp-reedestockton Nov 10, 2023
6e52c17
Remove fields to check from hasFieldReadAccess()
npsp-reedestockton Nov 15, 2023
cb4557e
Remove Undeliverable__c from fields to check for Address read access
npsp-reedestockton Nov 15, 2023
e122060
Add permissions check for CampaignMemberStatus
npsp-reedestockton Nov 15, 2023
1a05e57
Remove @TestVisible annotation
npsp-reedestockton Nov 15, 2023
2245fbf
Fix copy/paste error resulting in bad build
npsp-reedestockton Nov 15, 2023
d8ff2e9
Merge pull request #7216 from SalesforceFoundation/feature/248__secur…
npsp-reedestockton Nov 16, 2023
bd0b2e9
Merge pull request #7215 from SalesforceFoundation/feature/248__secur…
npsp-reedestockton Nov 16, 2023
879ccdb
Fix encryption error in Potential Duplicates test
npsp-reedestockton Nov 16, 2023
70a5ff4
Merge pull request #7195 from SalesforceFoundation/feature/248
npsp-reedestockton Nov 17, 2023
80c26e3
Fix error in PotentialDuplicates_TEST.shouldReturnIdsWhenDuplicatesAr…
npsp-reedestockton Nov 17, 2023
78889bf
Add to comment regarding platform encryption test failure
npsp-reedestockton Nov 17, 2023
3266e56
Merge pull request #7218 from SalesforceFoundation/feature/fix-potent…
npsp-reedestockton Nov 17, 2023
5ed8096
Check for no duplicate rules enabled in PotentialDuplicates_TEST
npsp-reedestockton Nov 17, 2023
9be16b0
Updated translations
dmkud Nov 18, 2023
f1a3e1d
Refactor permission check and set hasAccess = true for HH_CampaignDed…
npsp-reedestockton Nov 18, 2023
f012808
Merge pull request #7220 from SalesforceFoundation/feature/fix-beta-t…
npsp-reedestockton Nov 20, 2023
703c340
Merge f012808aea91635b6da294c665da4e8e2640c15e into feature/238
salesforce-org-metaci[bot] Nov 21, 2023
295de0a
Merge 703c34083d458e634782b4ec3caf3871b0e52c2f into feature/248
salesforce-org-metaci[bot] Nov 21, 2023
1169854
Merge 295de0a5843a104679d7e792a70e1c98ba69d024 into feature/248__loca…
salesforce-org-metaci[bot] Nov 21, 2023
83021df
Replace apostrophe with entity name - '
npsp-reedestockton Nov 27, 2023
03b559b
Use translated picklist values in RD2_StatusAutomationSettings_TEST
npsp-reedestockton Nov 28, 2023
65a391a
Merge pull request #7219 from SalesforceFoundation/feature/248__local…
npsp-reedestockton Nov 28, 2023
5285b29
Merge 65a391a17fdb57cc74804cd031f1aed682e32358 into feature/238
salesforce-org-metaci[bot] Nov 28, 2023
441f54d
Merge 5285b294d333d5f37f52e70b38e583233fd3cbab into feature/248
salesforce-org-metaci[bot] Nov 28, 2023
6b2c0eb
Fix check for isHHAccount
npsp-reedestockton Dec 7, 2023
6ed53c8
Remove unnecessary field checks
npsp-reedestockton Dec 7, 2023
98919c9
Fix namespace issue in canUpdateHousehold()
npsp-reedestockton Dec 8, 2023
9317c73
Refactor namespace fix
npsp-reedestockton Dec 8, 2023
b204fc9
Testing 2gp failure. Will be reverted...
npsp-reedestockton Dec 9, 2023
57a408e
Revert "Testing 2gp failure. Will be reverted..."
npsp-reedestockton Dec 9, 2023
a7beb6a
Testing 2gp failure. Will be reverted...
npsp-reedestockton Dec 9, 2023
f267088
Testing 2gp failure. Will be reverted...
npsp-reedestockton Dec 9, 2023
ba8bf84
Testing re-introducing HH_ManageHH_CTRL original changes (with !isHHA…
npsp-reedestockton Dec 9, 2023
49ee61b
Revert "Testing re-introducing HH_ManageHH_CTRL original changes (wit…
npsp-reedestockton Dec 9, 2023
e113cdc
Original HH_ManageHH_CTRL and HH_ManageHH visualforce page
npsp-reedestockton Dec 9, 2023
d6b118d
Add back AuraEnabled and isMergeable changes
npsp-reedestockton Dec 9, 2023
c6e3656
Add back structure of saveHouseholdPage and return true from checkAdd…
npsp-reedestockton Dec 9, 2023
8ab333c
Re-introduce check of visible address fields.
npsp-reedestockton Dec 10, 2023
1f0ad88
Re-introduce original HH_ManageHH_CTRL code with reversed !isHHAccount.
npsp-reedestockton Dec 10, 2023
61c5989
Remove isHHAccount reference and check for permission exceptions
npsp-reedestockton Dec 10, 2023
d51b683
Merge pull request #7222 from SalesforceFoundation/feature/248__house…
npsp-reedestockton Dec 12, 2023
46183eb
Merge d51b683680fbdfa9c0abc2e672459068516dcbae into feature/238
salesforce-org-metaci[bot] Dec 13, 2023
f82dedc
Merge 46183eb9fd6114d02b7f7289c08eae22af5cb0c5 into feature/248
salesforce-org-metaci[bot] Dec 13, 2023
3caa07e
Remove unnecessary security check.
npsp-reedestockton Jan 10, 2024
5b8f1ad
Remove sorting and filtering by the MailingState__c field allow it to…
force2b Jan 10, 2024
4cad52b
Remove AuraHandledException catch block
npsp-reedestockton Jan 11, 2024
802c198
Remove use of UTIL_Finder because it appears when the field is encryp…
force2b Jan 12, 2024
3d0db02
Merge pull request #7225 from SalesforceFoundation/feature/bug-W-1477…
npsp-reedestockton Jan 12, 2024
448ece6
Merge pull request #7224 from SalesforceFoundation/feature/bug-fix-ge…
npsp-reedestockton Jan 16, 2024
4149c17
Merge 448ece615c5841f08812e0732cc0dd9831e81485 into feature/238
salesforce-org-metaci[bot] Jan 16, 2024
b5ee1e7
Merge 4149c17cd2f19500f38df46075e8e1014e678a68 into feature/248
salesforce-org-metaci[bot] Jan 17, 2024
051b983
Merge 4149c17cd2f19500f38df46075e8e1014e678a68 into feature/250
salesforce-org-metaci[bot] Jan 17, 2024
b66a1b7
Update Repository ReadMe and New Issue Template (#7229)
force2b Feb 20, 2024
128fe75
Merge b66a1b758f540832f449e27a7e0c06b7a667103b into feature/238
salesforce-org-metaci[bot] Feb 20, 2024
7be39bb
Merge 128fe75016196ef41d95aa4d376ace64b7305f1e into feature/248
salesforce-org-metaci[bot] Feb 20, 2024
ff6a369
Merge 128fe75016196ef41d95aa4d376ace64b7305f1e into feature/250
salesforce-org-metaci[bot] Feb 20, 2024
5898fa5
Update cumulusci.yml for release notes statement (#7228)
melissabarber Feb 26, 2024
302619d
Merge 5898fa5c24423b3f919b3acfefb52bcda8779a81 into feature/238
salesforce-org-metaci[bot] Feb 26, 2024
fb4a182
Merge 302619d8130553f20c36c22c27e612d4d901aa05 into feature/248
salesforce-org-metaci[bot] Feb 26, 2024
f535597
Merge 302619d8130553f20c36c22c27e612d4d901aa05 into feature/250
salesforce-org-metaci[bot] Feb 26, 2024
582eed9
Updated the maxNumberOfIntervals from 5 to 20
enzigma-pratishtha-upadhyay Mar 12, 2024
0b87f25
Merge pull request #7231 from SalesforceFoundation/feature/250__ge-ac…
daniel-fuller Mar 18, 2024
1ff3fb0
Commit -- BDI_DataImport_BATCH is queued on GE Processor Queue
enzigma-pratishtha-upadhyay Mar 29, 2024
7d9107c
commit -- Gift Entry - process - batch- fixes
enzigma-pratishtha-upadhyay Apr 4, 2024
c79af4e
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay Apr 8, 2024
743fd08
Revert "Update BDI_DataImportService.cls"
enzigma-pratishtha-upadhyay Apr 8, 2024
4585e8d
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay Apr 10, 2024
ac63dcb
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay Apr 10, 2024
1d43b58
Update GiftBatchService_TEST.cls
enzigma-pratishtha-upadhyay Apr 11, 2024
073ae35
Update GiftEntryProcessorQueue.cls
enzigma-pratishtha-upadhyay Apr 15, 2024
4113488
Merge pull request #7233 from SalesforceFoundation/feature/250
npsp-reedestockton Apr 16, 2024
a60b430
Check for isActive on test user for runAs
npsp-reedestockton Apr 16, 2024
234d8f9
Merge pull request #7235 from SalesforceFoundation/feature/beta-uploa…
npsp-reedestockton Apr 16, 2024
34ace95
Merge 234d8f9fd980a7837048c99b2ac67bcb57b1c9a2 into feature/238
salesforce-org-metaci[bot] Apr 17, 2024
54a4504
Merge 34ace95c7e31108586d2e47242ce0b36ac3074f5 into feature/248
salesforce-org-metaci[bot] Apr 17, 2024
829ccd8
Merge 34ace95c7e31108586d2e47242ce0b36ac3074f5 into feature/252
salesforce-org-metaci[bot] Apr 17, 2024
1caa6ed
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay Apr 25, 2024
a76bdfa
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay Apr 26, 2024
cb3e71c
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay May 2, 2024
fc04703
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay May 8, 2024
34c33d5
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay May 9, 2024
10e76c6
Update GiftEntryProcessorQueue_TEST.cls
enzigma-pratishtha-upadhyay May 9, 2024
b4779d9
Update GiftEntryProcessorQueue_TEST.cls
enzigma-pratishtha-upadhyay May 10, 2024
afdd2b5
Update BDI_DataImportService.cls
enzigma-pratishtha-upadhyay May 10, 2024
594f62c
Minor formating fixes
lparrott May 13, 2024
d6c12e3
Merge pull request #7232 from SalesforceFoundation/feature/250__field…
daniel-fuller May 14, 2024
6c69ebb
changes to mark 'Upgrade process complete' in a headings tag
salesforce-suyash-more Jun 26, 2024
fef85cb
Changes to mark 'Data Migration Run' in a explicit heading tag
salesforce-suyash-more Jun 26, 2024
96368d7
Changes in RD2_EnablementDelegate.cmp to maintain well-formed markup …
salesforce-suyash-more Jun 26, 2024
d6932a8
Changes in RD2_EnablementDelegateController.js to move focus
salesforce-suyash-more Jul 1, 2024
9b9096f
Merge pull request #7237 from SalesforceFoundation/feature/252__W-953…
ptewson-sfdo Jul 1, 2024
b8dbc59
Merge 9b9096f75310a8ee95bb35ffb5dcf73c6cef6a53 into feature/252__W-95…
salesforce-org-metaci[bot] Jul 1, 2024
9a1ab8a
Merge 9b9096f75310a8ee95bb35ffb5dcf73c6cef6a53 into feature/252__W-95…
salesforce-org-metaci[bot] Jul 1, 2024
dde36c5
moved focus logic to RD2 _EnablementDelegateHelper.js
salesforce-suyash-more Jul 2, 2024
7fa0bb8
Merge pull request #7238 from SalesforceFoundation/feature/252__W-953…
ptewson-sfdo Jul 2, 2024
784c9b5
Merge 7fa0bb82026c9035875ee04e70b9a0142b566dff into feature/252__W-95…
salesforce-org-metaci[bot] Jul 2, 2024
f76a09b
Merge pull request #7239 from SalesforceFoundation/feature/252__W-953…
ptewson-sfdo Jul 11, 2024
35ad740
Merge pull request #7240 from SalesforceFoundation/feature/252
npsp-reedestockton Jul 18, 2024
3ec8f74
Merge 35ad740a22451a14c53317b315fb6e15eb4062ae into feature/238
salesforce-org-metaci[bot] Jul 18, 2024
e23e4e9
Merge 3ec8f74e669387fd0f634ea81eaa3b4e86e5410c into feature/248
salesforce-org-metaci[bot] Jul 18, 2024
7092b1d
Changes in ALLO_ManageAllocations_CTRL.cls for FLS checking
salesforce-suyash-more Jul 19, 2024
5f7b99a
Merge pull request #7242 from SalesforceFoundation/feature/252__W-150…
npsp-reedestockton Jul 19, 2024
3b73354
Merge pull request #7243 from SalesforceFoundation/feature/252-bug-fix
npsp-reedestockton Jul 22, 2024
d2eb6cf
Merge 3b73354551484c3393c357051a0f81d0a577b67b into feature/238
salesforce-org-metaci[bot] Jul 22, 2024
ade77c9
Merge d2eb6cf80094c0a7c9241ed756af3f6accaa9cba into feature/248
salesforce-org-metaci[bot] Jul 22, 2024
e73f372
Modified the invalid markup
salesforce-suyash-more Jul 25, 2024
f98ea0d
Merge pull request #7244 from SalesforceFoundation/feature/252__W-163…
npsp-reedestockton Jul 29, 2024
e36888a
Merge pull request #7245 from SalesforceFoundation/feature/252-bug-fixes
npsp-reedestockton Jul 30, 2024
5c04800
Merge e36888a318f04fbb6efc271ca75ccc8a12460359 into feature/238
salesforce-org-metaci[bot] Jul 30, 2024
4016370
Merge 5c04800a0162dcd6d9e1f33a881670cafc67ece0 into feature/248
salesforce-org-metaci[bot] Jul 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/read-this-for-all-support-and-questions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: READ THIS FOR ALL SUPPORT AND QUESTIONS
about: 'GO HERE: http://sfdc.co/npchub'
title: ''
labels: invalid
assignees: ''

---

==== IMPORTANT NOTES ====

The Nonprofit Success Pack team does not review or respond to support requests or questions posted in this repository.

Instead, please post all questions and issues directly in the Nonprofit Hub of the Trailblazer Community: http://sfdc.co/npchub
========================================================================
40 changes: 28 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
![Salesforce Nonprofit Success Pack](https://cloud.githubusercontent.com/assets/450473/18836784/15e1774a-83c7-11e6-8434-0521d4fbebc0.png "Salesforce Nonprofit Success Pack")

#### For Users
## Important Note

* <a href="https://trailhead.salesforce.com/trailblazer-community/groups/0F94S000000kHitSAE?tab=discussion&sort=LAST_MODIFIED_DATE_DESC" target="_blank">Ask questions or get help</a>
* <a href="https://github.com/SalesforceFoundation/NPSP/issues/new" target="_blank">Log a confirmed Issue</a> or <a href="https://ideas.salesforce.com/s/search#t=All&sort=relevancy" target="_blank">Feature Request</a>
* <a href="https://help.salesforce.com/s/articleView?id=sfdo.Nonprofit_Success_Pack.htm&type=5" target="_blank">Nonprofit Success Pack (NPSP) Documentation</a>
* Check out existing <a href="https://github.com/SalesforceFoundation/NPSP/labels/bug" target="_blank">bugs</a> and <a href="https://ideas.salesforce.com/s/search#t=All&sort=relevancy&f:@sfcategoryfull=[Nonprofit%7CNonprofit%20Success%20Pack]" target="_blank">feature and enhancement requests.</a>
* <a href="https://github.com/SalesforceFoundation/NPSP/releases" target="_blank">Release Notes and Beta Releases</a>
In 2023, Salesforce launched the Nonprofit Cloud which is at the foundation of Salesforce for Nonprofits. Nonprofit Cloud helps teams unify their data to work beyond silos and better collaborate, share, learn from, and use their data. Use Nonprofit Cloud as your a single solution to begin or continue in your digital transformation journey. Read more about the [new Nonprofit Cloud](https://www.salesforce.com/blog/new-nonprofit-cloud/). Some key highlights:

* Salesforce will to continue support our managed package products, including the Nonprofit Success Pack. Tens of thousands of customers use our current managed package products to achieve great results.
* Many of our ISV partners are building fantastic solutions for our managed packages as well as the new Nonprofit Cloud. We’re working with these partners to ensure that they understand our new product architecture, and are able to bring their years of experience and learnings to the new Nonprofit Cloud.
* Salesforce remains deeply committed to nonprofit pricing. There are many new capabilities within the new Nonprofit Cloud and we work hard to maintain our nonprofit discounts across the new products. Our goals are to simplify access to nonprofit technology and make it easier for customers to get started.
* Salesforce continues to grant free licenses with the Power of Us Program for the managed packages and Nonprofit Cloud. With Nonprofit Cloud, the Power of Us program also includes more features than ever to accelerate and deepen the nonprofit experience.
* Take the new product for a test drive. Sign-up for a [Nonprofit Cloud Trial org](https://help.salesforce.com/s/articleView?id=sfdo.NPC_Create_Nonprofit_Cloud_Trial_Org.htm&type=5).
* Visit the [Nonprofit Hub](https://trailhead.salesforce.com/trailblazer-community/groups/0F9300000001ocxCAA?tab=discussion&sort=LAST_MODIFIED_DATE_DESC) to chat with others about how nonprofits use Salesforce for social good.

---
### For Nonprofit Success Pack Users and admins

* Check out existing [Nonprofit feature and enhancement requests](https://ideas.salesforce.com/s/search#t=All&sort=relevancy&f:@sfcategoryfull=[Nonprofit%7CNonprofit%20Cloud,Nonprofit%7CNonprofit%20Success%20Pack%20(NPSP)%20-%20Managed%20Package]).
* [Ask questions or get help with the Nonprofit Success Pack](https://trailhead.salesforce.com/trailblazer-community/groups/0F94S000000kHitSAE)
* [Ask for support or questions with other Nonprofit Users and Partners](https://trailhead.salesforce.com/trailblazer-community/groups/0F9300000001ocxCAA)
* [Nonprofit Success Pack (NPSP) Documentation](https://help.salesforce.com/s/articleView?id=sfdo.Nonprofit_Success_Pack.htm)
* [Release Notes](https://sfdc.co/bnL4Cb)
* [Known Issues](https://issues.salesforce.com/#f[sfcategoryfull]=Nonprofit%7CNonprofit%20Success%20Pack%20(NPSP)%20-%20Managed%20Package)

### Try out the Nonprofit Success Pack

#### Try it out
You can install NPSP utilizing our custom application installer into any Developer Edition, Sandbox or Enterprise Edition Salesforce org.
* <a href="https://install.salesforce.org/products/npsp" target="_blank">NPSP Installer</a>

#### Meta
* [NPSP Installer](https://install.salesforce.org/products/npsp)

### Try out the New Nonprofit Cloud

* [Nonprofit Cloud Learning Org Signup](https://help.salesforce.com/s/articleView?id=sfdo.NPC_Create_Nonprofit_Cloud_Trial_Org.htm&type=5)

The Nonprofit Success Pack (“NPSP”) is an open-source package licensed by Salesforce.org (“SFDO”) under the BSD-3 Clause License, found at https://opensource.org/licenses/BSD-3-Clause. ANY MASTER SUBSCRIPTION AGREEMENT YOU OR YOUR ENTITY MAY HAVE WITH SFDO DOES NOT APPLY TO YOUR USE OF NPSP. NPSP IS PROVIDED “AS IS” AND AS AVAILABLE, AND SFDO MAKES NO WARRANTY OF ANY KIND REGARDING NPSP, WHETHER EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, FREEDOM FROM DEFECTS OR NON-INFRINGEMENT, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
SFDO WILL HAVE NO LIABILITY ARISING OUT OF OR RELATED TO YOUR USE OF NPSP FOR ANY DIRECT DAMAGES OR FOR ANY LOST PROFITS, REVENUES, GOODWILL OR INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, COVER, BUSINESS INTERRUPTION OR PUNITIVE DAMAGES, WHETHER AN ACTION IS IN CONTRACT OR TORT AND REGARDLESS OF THE THEORY OF LIABILITY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR IF A REMEDY OTHERWISE FAILS OF ITS ESSENTIAL PURPOSE. THE FOREGOING DISCLAIMER WILL NOT APPLY TO THE EXTENT PROHIBITED BY LAW. SFDO DISCLAIMS ALL LIABILITY AND INDEMNIFICATION OBLIGATIONS FOR ANY HARM OR DAMAGES CAUSED BY ANY THIRD-PARTY HOSTING PROVIDERS.
### Meta

_ducking-octo-happiness, laughing-archer_
The Nonprofit Success Pack (“NPSP”) is an open-source package licensed by Salesforce.org (“SFDO”) under the BSD-3 Clause License, found at https://opensource.org/licenses/BSD-3-Clause. ANY MASTER SUBSCRIPTION AGREEMENT YOU OR YOUR ENTITY MAY HAVE WITH SFDO DOES NOT APPLY TO YOUR USE OF NPSP. NPSP IS PROVIDED “AS IS” AND AS AVAILABLE, AND SFDO MAKES NO WARRANTY OF ANY KIND REGARDING NPSP, WHETHER EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, FREEDOM FROM DEFECTS OR NON-INFRINGEMENT, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW. SFDO WILL HAVE NO LIABILITY ARISING OUT OF OR RELATED TO YOUR USE OF NPSP FOR ANY DIRECT DAMAGES OR FOR ANY LOST PROFITS, REVENUES, GOODWILL OR INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, COVER, BUSINESS INTERRUPTION OR PUNITIVE DAMAGES, WHETHER AN ACTION IS IN CONTRACT OR TORT AND REGARDLESS OF THE THEORY OF LIABILITY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR IF A REMEDY OTHERWISE FAILS OF ITS ESSENTIAL PURPOSE. THE FOREGOING DISCLAIMER WILL NOT APPLY TO THE EXTENT PROHIBITED BY LAW. SFDO DISCLAIMS ALL LIABILITY AND INDEMNIFICATION OBLIGATIONS FOR ANY HARM OR DAMAGES CAUSED BY ANY THIRD-PARTY HOSTING PROVIDERS.
4 changes: 2 additions & 2 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,15 @@ tasks:
github_release:
options:
release_content: |
Check out the Salesforce Release Notes on [Salesforce Help & Training](https://sfdc.co/bnL4Cb).
Check out the [Salesforce Release Notes](https://sfdc.co/bnL4Cb) or [Known Issues](https://issues.salesforce.com/) for details.

github_release_notes:
options:
trial_info: "`TBD`"

is_rd2_enabled:
description: This preflight check ensures that Enhanced Recurring Donations is enabled
class_path: tasks.is_rd2_enabled
class_path: tasks.check_rd2_enablement.is_rd2_enabled
group: NPSP

robot:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@
<lightning:layout horizontalAlign="spread" multipleRows="true" class="slds-hide" aura:id="enablementDisabled">
<lightning:layoutItem padding="horizontal-large" size="10">
<div class="slds-illustration slds-illustration_large">
<br /><br />
<img src="/img/chatter/OpenRoad.svg" class="slds-illustration__svg" alt="OpenRoad" />
<div class="slds-m-vertical_medium">
<img src="/img/chatter/OpenRoad.svg" class="slds-illustration__svg" alt="OpenRoad" />
</div>
<div class="slds-text-longform">
<h3 class="slds-text-heading_medium">{!$Label.c.RD2_EnablementDisabledHeader}</h3>
<p>
Expand All @@ -77,7 +78,9 @@

<lightning:layoutItem padding="horizontal-large" class="slds-p-top_large" size="12">
<lightning:layout multipleRows="true">
<h2 class="title slds-text-heading_small">{!$Label.c.RD2_EnablementPrepTitle}</h2>
<lightning:layoutItem size="12">
<h2 class="title slds-text-heading_small">{!$Label.c.RD2_EnablementPrepTitle}</h2>
</lightning:layoutItem>
<lightning:layoutItem class="slds-p-top_small" size="12">
<lightning:formattedRichText class="slds-text-longform"
value="{!$Label.c.RD2_EnablementPrepIntro}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@
helper.handleBatchEvent(component, event, 'v.dryRunBatch');
helper.refreshDryRun(component);
helper.refreshEnable(component);
var status = event.Hp.batchProgress.status;
var dryRunJob = component.find("dryRunJob");
if (["Completed", "Aborted"].includes(status)) {
if(dryRunJob){
helper.setFocus(component, 'dryRunJob');
}
else{
helper.setFocus(component, 'dryRun2Job');
}
}
},
handleDryRunError: function (component, event, helper) {
helper.handleBatchError(component, event, 'dryRun');
Expand All @@ -44,6 +54,10 @@
handleMigrationStatusChange: function (component, event, helper) {
helper.handleBatchEvent(component, event, 'v.migrationBatch');
helper.refreshMigration(component);
var status = event.Hp.batchProgress.status;
if (["Completed", "Aborted"].includes(status)) {
helper.setFocus(component, 'migrationJob');
}
},
handleMigrationError: function (component, event, helper) {
helper.handleBatchError(component, event, 'migration');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -599,5 +599,22 @@
hideSpinner: function (component, element) {
var spinner = component.find(element);
$A.util.addClass(spinner, 'slds-hide');
}
},
/**
* @description: Autofocus
*/
setFocus: function (component, elementId) {
window.setTimeout(() => {
try { var element = component.find(elementId);
if (element) {
element.getElement().setAttribute('tabindex', '0');
element.getElement().focus();
element.getElement().setAttribute('tabindex', '-1');
}
} catch (error) {
console.error('Error setting focus on element:', error);

}
}, 0);
}
})
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ public with sharing class ALLO_ManageAllocations_CTRL {
objectFields.add(Allocation__c.General_Accounting_Unit__c.getDescribe().getSobjectField());

for(Schema.FieldSetMember additionalField : additionalAllocationFields) {
Schema.DescribeFieldResult fieldResult = additionalField.getSObjectField().getDescribe();
if (fieldResult.isCalculated() || !fieldResult.permissionable || additionalField.getFieldPath().contains('__r')) {
continue;
}
objectFields.add(additionalField.getSObjectField());
}

Expand Down
25 changes: 24 additions & 1 deletion force-app/main/default/classes/BDI_DataImportService.cls
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,13 @@ global with sharing class BDI_DataImportService {
'Status__c != \'' + BDI_DataImport_API.bdiImported + '\'',
'Id =: dataImportIds'
};
List<String> selectClause = new List<String>{
String.join(listStrDataImportFields, ','),
DATAIMPORT_BATCH_NUMBER_FIELD
};

return new UTIL_Query()
.withSelectFields(listStrDataImportFields)
.withSelectFields(selectClause)
.withFrom(DataImport__c.SObjectType)
.withWhere(whereClauses)
// this ensures consistency for our test code, but also should
Expand Down Expand Up @@ -619,6 +623,25 @@ global with sharing class BDI_DataImportService {

this.listDI = checkRDFields(listDI);

if (apexJobId != null && listDI.size() > 0) {
List<DataImportBatch__c> listBatch = [SELECT Name, Batch_Number__c, Batch_Status__c, Batch_Defaults__c,
Form_Template__c, RequireTotalMatch__c, Expected_Count_of_Gifts__c,
Expected_Total_Batch_Amount__c, Batch_Table_Columns__c, LastModifiedDate
FROM DataImportBatch__c WHERE Id= :listDI[0].NPSP_Data_Import_Batch__c LIMIT 1];
if (listBatch.size() > 0 ) {
GiftBatch giftBatch = new GiftBatch(listBatch[0]);
Boolean firstInstallmentPaid = giftBatch.shouldPayFirstInstallment();

for (DataImport__c dataImport : listDI) {
if(dataImport.Recurring_Donation_Recurring_Type__c != null) {
dataImport.Donation_Date__c = null;
if (!firstInstallmentPaid) {
dataImport.Donation_Amount__c = null;
}
}
}
}
}
// do any performance optimizations to avoid unnecessary code
disableAllOppRollups();

Expand Down
22 changes: 22 additions & 0 deletions force-app/main/default/classes/BDI_DataImport_API.cls
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,28 @@ global with sharing class BDI_DataImport_API {
return apexJobId;
}

global static Id processDataImportRecords(Data_Import_Settings__c diSettings,
List<Id> dataImportIds,
Boolean isDryRun, Id batchId) {
Id apexJobId;
if (dataImportIds != null && dataImportIds.size() > 0) {
// Use configured data import settings if none provided.
if (diSettings == null) {
diSettings = UTIL_CustomSettingsFacade.getDataImportSettings();
}
Savepoint sp = Database.setSavepoint();
try {
BDI_DataImport_BATCH batch = new BDI_DataImport_BATCH(batchId, dataImportIds, new BDI_DataImportService(isDryRun, BDI_DataImportService.getDefaultMappingService()));
apexJobId = Database.executeBatch(batch, integer.valueOf(diSettings.Batch_Size__c));
} catch (Exception ex) {
Database.rollback(sp);
ex.setMessage(System.label.bdiAPISelectedError + ' ' + ex.getMessage());
throw ex;
}
}
return apexJobId;
}

/*******************************************************************************************************
* @description The return result object for each batch that is provided to processDataImportBatches()
*/
Expand Down
Loading
Loading