Tim Otten [Wed, 13 Jun 2018 05:21:21 +0000 (22:21 -0700)]
afformCore - Move default directive logic from *.tpl to *.js
Tim Otten [Wed, 13 Jun 2018 05:19:21 +0000 (22:19 -0700)]
Afform.create API - More FIXMEs
Tim Otten [Wed, 13 Jun 2018 05:18:35 +0000 (22:18 -0700)]
afform.php - Remove debugging code
Tim Otten [Wed, 13 Jun 2018 05:18:15 +0000 (22:18 -0700)]
_afform_angular_module_name - Accept `$format` option
Tim Otten [Wed, 13 Jun 2018 03:44:02 +0000 (20:44 -0700)]
README.md - Fill in some FIXME's
Tim Otten [Wed, 13 Jun 2018 03:34:31 +0000 (20:34 -0700)]
Generate skeletal base-page based on `server_route` values
Tim Otten [Wed, 13 Jun 2018 03:32:19 +0000 (20:32 -0700)]
ArrayHtml - Improve comments and warnings
Tim Otten [Wed, 13 Jun 2018 03:31:54 +0000 (20:31 -0700)]
Afform.get API - Allow calls without `name`
Tim Otten [Wed, 13 Jun 2018 03:31:36 +0000 (20:31 -0700)]
AfformScanner - Add getMetas()
Tim Otten [Wed, 13 Jun 2018 03:13:53 +0000 (20:13 -0700)]
info.xml - Fill in some FIXME's
Tim Otten [Wed, 13 Jun 2018 03:11:45 +0000 (20:11 -0700)]
Rename 'route' to 'server_route'
Tim Otten [Wed, 13 Jun 2018 02:25:58 +0000 (19:25 -0700)]
Proof-of-concept - Autogenerate AngularJS modules+directives for each form
Tim Otten [Wed, 13 Jun 2018 01:51:54 +0000 (18:51 -0700)]
Proof-of-concept - Add afformCore AngularJS module
Tim Otten [Wed, 13 Jun 2018 01:48:20 +0000 (18:48 -0700)]
README.md - Example dev tasks
Tim Otten [Wed, 13 Jun 2018 01:40:18 +0000 (18:40 -0700)]
Proof-of-concept - Afform.create
Tim Otten [Wed, 13 Jun 2018 01:13:11 +0000 (18:13 -0700)]
Proof-of-concept - Afform.get
Tim Otten [Wed, 13 Jun 2018 01:05:26 +0000 (18:05 -0700)]
Add phpunit skeleton
Tim Otten [Wed, 13 Jun 2018 00:47:23 +0000 (17:47 -0700)]
Proof-of-concept - File scanner
Tim Otten [Wed, 13 Jun 2018 00:47:06 +0000 (17:47 -0700)]
Proof-of-concept - Array<=>Html mapper
Tim Otten [Tue, 12 Jun 2018 21:15:28 +0000 (14:15 -0700)]
Import skeletal code
Seamus Lee [Wed, 16 Sep 2020 01:50:38 +0000 (11:50 +1000)]
Merge pull request #18403 from seamuslee001/dev_core_1486
dev/core#1486 Remove Foreign Keys from ACL Cache tables and replace o…
Seamus Lee [Wed, 16 Sep 2020 00:44:07 +0000 (10:44 +1000)]
Merge pull request #18445 from eileenmcnaughton/activity
[Ref] Code simplification - remove conditional chunk
Seamus Lee [Wed, 16 Sep 2020 00:27:28 +0000 (10:27 +1000)]
Merge pull request #18476 from eileenmcnaughton/location
[NFC] Remove trailing whitespace
Seamus Lee [Tue, 8 Sep 2020 01:35:40 +0000 (11:35 +1000)]
dev/core#1486 Remove Foreign Keys relating to contacts from ACL Cache tables and replace one with an index on contact_id
Create index on upgrade
Seamus Lee [Wed, 16 Sep 2020 00:19:36 +0000 (10:19 +1000)]
Merge pull request #18417 from eileenmcnaughton/pay_more
dev/financial#86 Make 'Record Payment' & 'Record Refund' visible regardless of whether the balance 'requires' one
eileen [Tue, 15 Sep 2020 23:08:24 +0000 (11:08 +1200)]
[NFC] Remove trailing whitespace
Seamus Lee [Tue, 15 Sep 2020 21:24:16 +0000 (07:24 +1000)]
Merge pull request #18468 from eileenmcnaughton/iso1
dev/core#1921 Remove iso convert
Eileen McNaughton [Tue, 15 Sep 2020 21:12:30 +0000 (09:12 +1200)]
Merge pull request #18474 from civicrm/5.30
5.30
Seamus Lee [Tue, 15 Sep 2020 21:04:16 +0000 (07:04 +1000)]
Merge pull request #18473 from demeritcowboy/install-pear-db
dev/core#2036 - PEAR::DB is no longer in packages, now autoloaded from vendor
Seamus Lee [Tue, 15 Sep 2020 21:03:35 +0000 (07:03 +1000)]
Merge pull request #18461 from demeritcowboy/entity-drupal-9
dev/drupal#138 - Drupal 9 deprecations
demeritcowboy [Tue, 15 Sep 2020 17:57:24 +0000 (13:57 -0400)]
DB is no longer in packages, now autoloaded from vendor
Eileen McNaughton [Tue, 15 Sep 2020 07:07:54 +0000 (19:07 +1200)]
Merge pull request #18472 from totten/master-symlink
dev/core#1393 - distmaker - Fix URL-based installation on D7/BD
Tim Otten [Tue, 15 Sep 2020 02:58:36 +0000 (19:58 -0700)]
dev/core#1393, dev/core#1990 - Exclude README.rst symlink
Tim Otten [Tue, 15 Sep 2020 03:59:01 +0000 (20:59 -0700)]
dev/core#1393, dev/core#1990 - Assert that Drupal-style tarballs have no symlinks
Seamus Lee [Tue, 15 Sep 2020 00:25:30 +0000 (10:25 +1000)]
Merge pull request #18469 from eileenmcnaughton/iso2
dev/core#1921 Further removal of iso date handling
Seamus Lee [Mon, 14 Sep 2020 22:49:37 +0000 (08:49 +1000)]
Merge pull request #18431 from colemanw/searchUpdate
Search extension: edit smart groups
eileen [Mon, 14 Sep 2020 20:55:42 +0000 (08:55 +1200)]
dev/core#1921 Further removal of iso date handling
Overview
----------------------------------------
Same deal as https://github.com/civicrm/civicrm-core/pull/18359
Before
----------------------------------------
Casting to ISO date to avoid 2014 bug
After
----------------------------------------
We are stuck in 2020
Technical Details
----------------------------------------
Comments
----------------------------------------
relevant tests
api_v3_CaseTest::testCaseMerge
eileen [Mon, 14 Sep 2020 20:49:07 +0000 (08:49 +1200)]
dev/core#1921 Remove iso convert
relevant tests
api_v3_CaseTest.testCaseActivityUpdate_Tracked
api_v3_CaseTest.testCaseActivityUpdateCustom
Eileen McNaughton [Mon, 14 Sep 2020 20:00:12 +0000 (08:00 +1200)]
Merge pull request #18467 from mattwire/membershiptestfix
Fix parameters for MembershipTest
Coleman Watts [Fri, 11 Sep 2020 18:18:11 +0000 (14:18 -0400)]
APIv4 Explorer: Only show result length if result is array
Coleman Watts [Fri, 11 Sep 2020 17:58:43 +0000 (13:58 -0400)]
Update links to APIv4 smart groups to point to the new search ext
Coleman Watts [Fri, 11 Sep 2020 15:58:52 +0000 (11:58 -0400)]
Search ext: load saved searches
Coleman Watts [Thu, 10 Sep 2020 15:39:25 +0000 (11:39 -0400)]
Search ext: improve debug output
Matthew Wire [Mon, 14 Sep 2020 16:03:08 +0000 (17:03 +0100)]
Fix parameters for MembershipTest
Seamus Lee [Mon, 14 Sep 2020 06:33:59 +0000 (16:33 +1000)]
Merge pull request #18460 from eileenmcnaughton/comment
Update code comments
Eileen McNaughton [Mon, 14 Sep 2020 04:03:00 +0000 (16:03 +1200)]
Merge pull request #18462 from civicrm/5.30
5.30 to master
Eileen McNaughton [Mon, 14 Sep 2020 04:02:26 +0000 (16:02 +1200)]
Merge pull request #18459 from seamuslee001/dev_financial_147
dev/financial#147 Ensure that jQuery Validation doesn't execute when …
eileen [Mon, 14 Sep 2020 00:57:17 +0000 (12:57 +1200)]
Update code comments
Making these a little less paypal specific
demeritcowboy [Sun, 13 Sep 2020 03:48:03 +0000 (23:48 -0400)]
drupal 9 deprecations
Eileen McNaughton [Mon, 14 Sep 2020 01:46:14 +0000 (13:46 +1200)]
Merge pull request #18456 from eileenmcnaughton/iso1
dev/core#1921 remove isoToMysql
colemanw [Mon, 14 Sep 2020 01:13:27 +0000 (21:13 -0400)]
Merge pull request #18432 from eileenmcnaughton/mem
[REF] Simplify array construction
Seamus Lee [Mon, 14 Sep 2020 01:12:39 +0000 (11:12 +1000)]
Merge pull request #18457 from eileenmcnaughton/mailer
dev/core#1921 remove isoToMysql
colemanw [Mon, 14 Sep 2020 01:11:19 +0000 (21:11 -0400)]
Merge pull request #18435 from eileenmcnaughton/ms
[REF] minor tidy up on membershipStatus::create & add
colemanw [Mon, 14 Sep 2020 01:04:37 +0000 (21:04 -0400)]
Merge pull request #18450 from eileenmcnaughton/activity2
Pass in activity type rather than calculate it
Seamus Lee [Mon, 14 Sep 2020 00:59:28 +0000 (10:59 +1000)]
dev/financial#147 Ensure that jQuery Validation doesn't execute when we click the paypal express button and ensure the style of the button doesn't change
Eileen McNaughton [Mon, 14 Sep 2020 00:58:15 +0000 (12:58 +1200)]
Merge pull request #18452 from eileenmcnaughton/user
Move definition of userName to where it is used and remove an unused parameter
Eileen McNaughton [Mon, 14 Sep 2020 00:57:52 +0000 (12:57 +1200)]
Merge pull request #18454 from eileenmcnaughton/pay
dev/financial#149 Add permission = false to apiv4 call to address unreleased regression
eileen [Mon, 14 Sep 2020 00:09:23 +0000 (12:09 +1200)]
dev/core#1921 remove isoToMysql
Overview
----------------------------------------
Remove unnecessary isoToDate function
Before
----------------------------------------
Code compatible with packages code of 6 years ago
After
----------------------------------------
will break if you revert 6 year old fix....
Technical Details
----------------------------------------
The test testMailerStats passes through this line of code - which
I think is probably about the most we can confirm testing wise as we expect there
to be no reason to cast to mysql anymore
Comments
----------------------------------------
https://lab.civicrm.org/dev/core/-/issues/1921
eileen [Sun, 13 Sep 2020 23:57:50 +0000 (11:57 +1200)]
dev/core#1921 remove isoToMysql
The test testPaymentDontChangeReceiveDate passes through these 2 lines of code - which
I think is probably about the most we can confirm testing wise as we expect there
to be no reason to cast to mysql anymore
Eileen McNaughton [Sun, 13 Sep 2020 23:54:54 +0000 (11:54 +1200)]
Merge pull request #18455 from civicrm/5.30
5.30 to master
Eileen McNaughton [Sun, 13 Sep 2020 23:53:54 +0000 (11:53 +1200)]
Merge pull request #18453 from demeritcowboy/receipt-from-email-5.30
E_NOTICE on contribution confirm page
eileen [Sun, 13 Sep 2020 22:12:54 +0000 (10:12 +1200)]
Move definition of userName to where it is used and remove an unused paramter
eileen [Sun, 13 Sep 2020 23:14:54 +0000 (11:14 +1200)]
dev/financial#149 Add permission = false to apiv4 call to address regression
This retrieves payment processors using FALSE for get permissions. I was able to replicate the bug in the test.
I also updated one line that I passed through when stepping through the test that related to the addActivity.
It just passes in activityType rather than leaving addActivity to figure that out
demeritcowboy [Sun, 13 Sep 2020 22:40:35 +0000 (18:40 -0400)]
missing ?? when converted from Array::value
eileen [Sun, 13 Sep 2020 07:54:30 +0000 (19:54 +1200)]
[Ref] Code simplification - remove conditional chunk
All this calculation of component is only to insert it into an error messaage that we don't expect to see
(ie it's an 'unknown error' error message, not an anticipated one.
Given that, it's hard to see why we would use so many lines of code to calculate it
eileen [Sun, 13 Sep 2020 21:30:05 +0000 (09:30 +1200)]
Pass in activity type rather than calculate it
This line is hit in CRM_Event_BAO_ParticipantTest.testCreate
api_v3_ContributionTest.testCompleteTransactionWithParticipantRecord
I think we should be moving the logic back to the calling functions in general - to the point of them
just callling the v4 api directly, but this just clarifies on tiny bit
colemanw [Sun, 13 Sep 2020 19:01:17 +0000 (15:01 -0400)]
Merge pull request #18434 from agh1/titlesingular
Offer singular entity titles
Coleman Watts [Sun, 13 Sep 2020 17:21:16 +0000 (13:21 -0400)]
Search ext: update to plural entity titles
Andrew Hunt [Fri, 11 Sep 2020 20:46:17 +0000 (16:46 -0400)]
DAOs with singular/plural options for entity titles
colemanw [Sun, 13 Sep 2020 16:44:33 +0000 (12:44 -0400)]
Merge pull request #18446 from colemanw/noDebugInApi3Test
Remove unnecessary debug from tests which messes up array output
Coleman Watts [Sun, 13 Sep 2020 13:08:10 +0000 (09:08 -0400)]
Remove unnecessary debug from tests which messes up array output
GetValue and debug can't really be used together. If the output is scalar,
then there's no place for the debug info to go. If the output is an array of values,
the debug info will be injected into the values, messing up the test.
Seamus Lee [Sun, 13 Sep 2020 00:00:58 +0000 (10:00 +1000)]
Merge pull request #18443 from demeritcowboy/symfony-public-more
Make symfony aliased services public
demeritcowboy [Sat, 12 Sep 2020 22:42:49 +0000 (18:42 -0400)]
make service public like in symfony 2.x
Eileen McNaughton [Sat, 12 Sep 2020 20:17:47 +0000 (08:17 +1200)]
Merge pull request #18440 from civicrm/5.30
5.30 to master
Eileen McNaughton [Sat, 12 Sep 2020 20:17:19 +0000 (08:17 +1200)]
Merge pull request #18437 from colemanw/api4Perms
dev/core#2008 APIv4 - Map specific action names to more generic versions
colemanw [Sat, 12 Sep 2020 17:03:43 +0000 (13:03 -0400)]
Merge pull request #18438 from eileenmcnaughton/line
[REF] Folllow up cleanup - remove now unused param
Coleman Watts [Sat, 12 Sep 2020 01:03:36 +0000 (21:03 -0400)]
APIv4 - Map specific action names to more generic versions
eileen [Sat, 12 Sep 2020 06:37:51 +0000 (18:37 +1200)]
[REF] Folllow up cleanup - remove now unused param
In a recent regression fix we stopped returning from getLine. This fully removes the, now unused,
parameter. The functions that call getLine calculate the total now
colemanw [Fri, 11 Sep 2020 22:24:23 +0000 (18:24 -0400)]
Merge pull request #18433 from eileenmcnaughton/memstatus
dev/core#2017 Remove unused property, override function that just calls parent
eileen [Fri, 11 Sep 2020 22:02:12 +0000 (10:02 +1200)]
[REF] minor tidy up on membershipStatus::create & add
We have been deprecating & removing the array from BAO create & add actions - this continues that
(long slow) process'
eileen [Fri, 11 Sep 2020 20:43:55 +0000 (08:43 +1200)]
Remove unused property, null constructor
Eileen McNaughton [Fri, 11 Sep 2020 20:29:08 +0000 (08:29 +1200)]
Merge pull request #18419 from colemanw/improveCustomFieldForm
Custom field form reform
Coleman Watts [Thu, 10 Sep 2020 15:39:25 +0000 (11:39 -0400)]
[REF] Simplify array construction
In trying to interpret https://github.com/civicrm/civicrm-core/pull/17992
I realised that the code copies values from the dao to an array, copies the array
to another array, unsets most of the variables and then uses that second array.
This simplifies.
The easiest way to work through this code is in a debugger running
testProcessMembershipUpdateStatus
Eileen McNaughton [Fri, 11 Sep 2020 19:05:05 +0000 (07:05 +1200)]
Merge pull request #18405 from pradpnayak/lineItemFix
Replace & to and in button label
Coleman Watts [Wed, 9 Sep 2020 13:47:23 +0000 (09:47 -0400)]
Custom field admin form reform
This overhauls the custom field administration form:
- Gets rid of the difficult-to-use hierarchcal select
- Removes changeFieldType as a separate form
- Allows changing field type on the main form, with improved validation
- Fixes up some metadata
- Improves choosing default values
Coleman Watts [Tue, 8 Sep 2020 15:27:32 +0000 (11:27 -0400)]
Custom Field Form - Cleanup country/state leftover cruft
Coleman Watts [Thu, 3 Sep 2020 21:50:07 +0000 (17:50 -0400)]
CustomField - Reformat data when modifying field serialize property.
Adds or removes CRM_Core_DAO::VALUE_SEPARATOR from custom values when switching a field from single to muti-valued.
Eileen McNaughton [Fri, 11 Sep 2020 18:24:59 +0000 (06:24 +1200)]
Merge pull request #18429 from artfulrobot/fixpropertybagsetamount
property bag's setAmount should ensure dot decimal point
Pradeep Nayak [Tue, 8 Sep 2020 11:42:58 +0000 (12:42 +0100)]
Replace & to and in button label
Rich Lott / Artful Robot [Fri, 11 Sep 2020 13:30:33 +0000 (14:30 +0100)]
Add tests for PropertyBag::setAmount()
Eileen McNaughton [Thu, 10 Sep 2020 21:47:11 +0000 (09:47 +1200)]
Merge pull request #18428 from lcdservices/dev-core-2009
dev/core#2009 filter grant dashboard to exclude trashed contacts
Brian Shaughnessy [Thu, 10 Sep 2020 19:10:09 +0000 (15:10 -0400)]
dev/core#2009 filter grant dashboard to exclude trashed contacts
Seamus Lee [Thu, 10 Sep 2020 12:05:09 +0000 (22:05 +1000)]
Merge pull request #18425 from seamuslee001/revert_credit_card_getter
Revert "PropertyBag - add cardNumber to getters"
Seamus Lee [Thu, 10 Sep 2020 11:51:02 +0000 (21:51 +1000)]
Merge pull request #18426 from mattwire/clarifygetmembershipcount
NFC Clarify what CRM_Price_BAO_Priceset::getMembershipCount does
colemanw [Thu, 10 Sep 2020 11:32:12 +0000 (07:32 -0400)]
Merge pull request #18388 from eileenmcnaughton/line4
dev/core#1980 Add v4 api LineItem entity
eileen [Fri, 12 Jun 2020 22:50:44 +0000 (10:50 +1200)]
Revert "PropertyBag - add cardNumber to getters"
This reverts commit
194ae0f4206d0de00dea44553ac8a679cd771ea4.
Matthew Wire [Mon, 7 Sep 2020 15:32:18 +0000 (16:32 +0100)]
Clarify what getMembershipCount does
Eileen McNaughton [Thu, 10 Sep 2020 09:41:51 +0000 (21:41 +1200)]
Merge pull request #18404 from mattwire/membershipfrontenddep
Switch frontend contribution form to cached/non-deprecated functions for membershipTypes
Seamus Lee [Thu, 10 Sep 2020 08:38:12 +0000 (18:38 +1000)]
Merge pull request #17595 from eileenmcnaughton/settings
PropertyBag - add cardNumber to getters
eileen [Sun, 6 Sep 2020 20:25:44 +0000 (08:25 +1200)]
Add v4 api LineItem entity