Tim Otten [Mon, 23 May 2016 22:36:21 +0000 (15:36 -0700)]
bin/regen.sh - Execute GenerateData.php with a dummy CMS
1. This addresses the error [PHP Fatal error: Call to undefined function db_query() in /opt/buildkit/build/mytestbuild/sites/all/modules/civicrm/CRM/Utils/System/DrupalBase.php](http://civicrm.stackexchange.com/questions/11972/regen-sh-call-to-undefined-function-db-query/11986#11986).
2. Generally, the goal here is to produce `civicrm_generated.mysql`, which
is used on any/all CMS's to initialize the Civi database. If the generation
were really dependent on Drupal 7, then we wouldn't be able to use that
output on other CMS's, right? Thus I'm hopeful that we can generate
`civicrm_generated.mysql` with any `CIVICRM_UF`. And the `UnitTests` UF has
fewer dependencies/interactions.
3. Since `GenerateData.php` is running in a dummy CMS, we can remove
these weird mock-drupal-functions.
4. To test, I ran `regen.sh` and compared the output with the old one.
All the changes looked like random-data (`civicrm_contact`, etal) and
not structural data (`civicrm_option_value`, etal).
colemanw [Fri, 27 May 2016 22:26:52 +0000 (18:26 -0400)]
Merge pull request #8452 from jitendrapurohit/CRM-18677
CRM-18677 - Bugs with multivalued custom data displayed Inline.
Yashodha Chaku [Fri, 27 May 2016 07:11:50 +0000 (12:41 +0530)]
Merge pull request #8441 from rajbdilip/CRM-17887_2
CRM-17887 - Add a new setting `Financial Batch date`
colemanw [Thu, 26 May 2016 19:11:02 +0000 (15:11 -0400)]
Merge pull request #8458 from tommybobo/select2css-fix
CRM-18691 Select2 Height being squashed when defult is blank
Tommy Bobo [Thu, 26 May 2016 18:53:51 +0000 (14:53 -0400)]
CRM-18691 Select2 Height being squashed when defult is blank
Kurund Jalmi [Thu, 26 May 2016 11:07:36 +0000 (16:37 +0530)]
Merge pull request #8457 from yashodha/CRM-18676
CRM-18676: Incorrect status for pay later free membership
yashodha [Thu, 26 May 2016 09:45:00 +0000 (15:15 +0530)]
CRM-18676: Incorrect status for pay later free membership
----------------------------------------
* CRM-18676: Incorrect status for pay later free membership
https://issues.civicrm.org/jira/browse/CRM-18676
yashodha [Thu, 26 May 2016 09:04:29 +0000 (14:34 +0530)]
CRM-18676: Incorrect status for pay later free membership
----------------------------------------
* CRM-18676: Incorrect status for pay later free membership
https://issues.civicrm.org/jira/browse/CRM-18676
Dilip Raj Baral [Mon, 23 May 2016 06:10:22 +0000 (11:40 +0530)]
CRM-17887 - Add a new setting `Financial Batch date`
https://issues.civicrm.org/jira/browse/CRM-17887
He's likely referencing the setting at Administer > Localization > Date Formats, Complete Date fields. Unfortunately, those settings don't include a convenient one for this purpose, since by default they include text names of months, etc. So, added a new field exclusively for Financial Batch.
jitendrapurohit [Wed, 25 May 2016 12:50:39 +0000 (18:20 +0530)]
CRM-18677 - Bugs with multivalued custom data displayed Inline.
Monish Deb [Wed, 25 May 2016 05:08:07 +0000 (10:38 +0530)]
Merge pull request #8443 from colemanw/CRM-17607
CRM-17607 - Add docx, odt, html document export functionality
Coleman Watts [Mon, 7 Mar 2016 02:08:36 +0000 (21:08 -0500)]
CRM-17607 - Fix document showing up as activity type
Coleman Watts [Wed, 24 Feb 2016 14:09:59 +0000 (09:09 -0500)]
CRM-17607 - Support multiple document formats for export
Coleman Watts [Wed, 17 Feb 2016 21:52:48 +0000 (16:52 -0500)]
CRM-17607 - Change PDF activity type label
Coleman Watts [Sat, 5 Mar 2016 00:32:24 +0000 (19:32 -0500)]
CRM-17607 - Add phpoffice/phpword library
Eileen McNaughton [Mon, 23 May 2016 21:51:50 +0000 (09:51 +1200)]
Merge pull request #8434 from totten/master-regen-zipcodes
(NFC) bin/regen.sh - Drop-create table `zipcodes`
Tim Otten [Mon, 23 May 2016 20:31:07 +0000 (13:31 -0700)]
bin/regen.sh - Drop-create table `zipcodes`
The original `regen.sh` script drops the table `zipcodes` after creating it.
That works fine in normal execution (when `regen.sh` finishes without
erorr). But if there is an error, then the table gets left in the DB -- and
creates a conflict when you try re-run `regen.sh`.
This patch does a 'drop-create' so that subsequent runs will work despite a
previous error.
Tim Otten [Mon, 23 May 2016 19:32:45 +0000 (12:32 -0700)]
Set version to 4.7.9
Tim Otten [Sun, 22 May 2016 01:39:24 +0000 (18:39 -0700)]
Merge pull request #7586 from nielosz/configure-recent
[ready-for-core-team-review] Add settings to configure recently viewed items stack (Recent.php)
Tim Otten [Sat, 21 May 2016 04:18:30 +0000 (21:18 -0700)]
Merge pull request #8419 from totten/master-dompdf
CRM-16898 - Restore TreeBuilder. Replace debug call.
Tim Otten [Sat, 21 May 2016 03:58:26 +0000 (20:58 -0700)]
CRM-16898 - Replace debug code in html5lib
Tim Otten [Sat, 21 May 2016 03:49:51 +0000 (20:49 -0700)]
Revert "CRM-16898. Remove debugging in html5lib."
This reverts commit
693cb3279584278ccbb3eaa1394999c7a69d7bf6.
Tim Otten [Sat, 21 May 2016 03:25:52 +0000 (20:25 -0700)]
Merge pull request #8298 from colemanw/CRM-18286
CRM-18286 - Use localStorage to remember datatable page length
Tim Otten [Sat, 21 May 2016 02:47:41 +0000 (19:47 -0700)]
Merge pull request #7825 from torrance/editable-button-fix-master
Ensure editable buttons don't sit underneath other page elements.
Tim Otten [Sat, 21 May 2016 02:16:32 +0000 (19:16 -0700)]
Merge pull request #8370 from eileenmcnaughton/groups
CRM-16642 group refresh code
Eileen McNaughton [Sat, 21 May 2016 01:52:24 +0000 (13:52 +1200)]
Merge pull request #8417 from seamuslee001/CRM-18504-47
CRM-18504 Add test for custom group that extends multiple subtype
Tim Otten [Sat, 21 May 2016 00:58:55 +0000 (17:58 -0700)]
Update sql/civicrm_generated.mysql
Tim Otten [Sat, 21 May 2016 00:40:56 +0000 (17:40 -0700)]
CRM-16642 - Simplify list of smart-group options
Using an option-group takes a lot of work. Also, it wasn't handling
consistently labels+descriptions (upgrade-vs-new install), and it isn't
really supported in the metadata for Setting API. And fundamentally this
list is not really editable by users.
Monish Deb [Fri, 20 May 2016 14:57:13 +0000 (20:27 +0530)]
Merge pull request #8415 from monishdeb/CRM-18159
CRM-18159: Mailings does not have an ACL restriction in place
Monish Deb [Fri, 20 May 2016 14:55:19 +0000 (20:25 +0530)]
Merge pull request #7587 from totten/master-jobproc-2m
CRM-17629 - JobProcessMailingTest - Test w/mailerBatchLimit & 2x mailings
Monish Deb [Fri, 20 May 2016 13:49:20 +0000 (19:19 +0530)]
Merge pull request #8416 from monishdeb/CRM-18322
CRM-18322: notice fix on participant search
Niels Heinemann [Fri, 20 May 2016 13:19:44 +0000 (15:19 +0200)]
Revert unintentionally deletion
Niels Heinemann [Fri, 20 May 2016 13:02:30 +0000 (15:02 +0200)]
Reflect style guidelines
Niels Heinemann [Fri, 20 May 2016 12:29:42 +0000 (14:29 +0200)]
Validate user input on stack size
Niels Heinemann [Thu, 14 Jan 2016 09:03:02 +0000 (10:03 +0100)]
Reflect civi style guidelines
Niels Heinemann [Tue, 12 Jan 2016 15:22:39 +0000 (16:22 +0100)]
Add configuration options to adjust the behavior of recent items stack: 1.) Define stack size, 2.) Decide which components may store items in stack
Seamus Lee [Fri, 20 May 2016 11:31:12 +0000 (11:31 +0000)]
Convert test to having multiple custom groups separated by VALUE_SEPARATOR
Seamus Lee [Fri, 20 May 2016 11:15:55 +0000 (11:15 +0000)]
Fix undefined veriable
deb.monish [Fri, 20 May 2016 09:57:00 +0000 (15:27 +0530)]
additional fixes
Jaap Jansma [Thu, 12 May 2016 18:23:29 +0000 (20:23 +0200)]
CRM-18159 fixed styles issues and moved buildAcl to CRM_ACL_BAO_ACL
Jaap Jansma [Fri, 15 Apr 2016 13:01:36 +0000 (15:01 +0200)]
Fixed CRM-18159: master branch and sending test mail to group did not include an acl yet.
Seamus Lee [Fri, 20 May 2016 10:40:22 +0000 (10:40 +0000)]
Attempt to add test for custom group that extends multiple subtype
deb.monish [Fri, 20 May 2016 10:39:46 +0000 (16:09 +0530)]
CRM-18322: notice fix on participant search
Niels Heinemann [Thu, 18 Feb 2016 11:49:30 +0000 (12:49 +0100)]
Fix deprecated settings call
Niels Heinemann [Thu, 14 Jan 2016 09:03:02 +0000 (10:03 +0100)]
Reflect civi style guidelines
Niels Heinemann [Tue, 12 Jan 2016 18:56:47 +0000 (19:56 +0100)]
Rm debug out
Niels Heinemann [Tue, 12 Jan 2016 15:22:39 +0000 (16:22 +0100)]
Add configuration options to adjust the behavior of recent items stack: 1.) Define stack size, 2.) Decide which components may store items in stack
Monish Deb [Fri, 20 May 2016 06:21:57 +0000 (11:51 +0530)]
Merge pull request #8366 from kenwest/CRM-18528-b
CRM-18528 Manage Groups search ignores filters
Yashodha Chaku [Fri, 20 May 2016 05:18:01 +0000 (10:48 +0530)]
Merge pull request #8349 from rajbdilip/CRM-18324
CRM-18324 - Fix tax divison by zero error on Event Dashboard
eileenmcnaugton [Fri, 20 May 2016 04:37:34 +0000 (16:37 +1200)]
CRM-18568 remove flawed tests.
After fixing the api to create option groups as enabled parts of this
test started to fail as it became clear they were only appearing to pass
(somewhat intermittantly) due to them bypassing checks due to the set up
issue. This commit disables those parts for now. State province & country
are
subject to a caching bug & LIKE on pseudoconstants has issues described
in CRM-18568
\1a
Eileen McNaughton [Fri, 20 May 2016 04:12:03 +0000 (16:12 +1200)]
Merge pull request #8413 from totten/master-ymdhis
Change 12-hour `Ymdhis` to 24-hour `YmdHis`
Tim Otten [Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)]
sql/GenerateReportData.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
Tim Otten [Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)]
sql/GenerateData.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
Tim Otten [Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)]
Civi/Core/SettingsBag.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
Tim Otten [Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)]
CRM/Utils/Mail/Incoming.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
Tim Otten [Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)]
CRM/Core/BAO/File.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
Tim Otten [Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)]
CRM/Core/BAO/CustomGroup.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
Tim Otten [Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)]
CRM/Core/BAO/CustomField.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
Tim Otten [Fri, 20 May 2016 00:48:28 +0000 (17:48 -0700)]
CRM-16642 - Compute timestamps using 24-hour clock
`Ymdhis` is silly here. Use `YmdHis`. This was causing test results to
vary based on they were run.
Tim Otten [Thu, 19 May 2016 23:09:23 +0000 (16:09 -0700)]
CRM-16642 - Rename `refreshCache` to `flushCache`
The old name is misleading about the outcome -- it does not end up producing
a 'fresh' cache. It produces an empty cache.
eileen [Tue, 17 May 2016 04:26:03 +0000 (16:26 +1200)]
CRM-16642 add further tests
Change-Id: I0804620359bf594d100ffcf74c638b94b012c584
eileen [Tue, 17 May 2016 03:56:16 +0000 (15:56 +1200)]
tidy up constant ref
Change-Id: Ie05c915f9a1841a6faf5654965399b5ed0bf62b6
eileen [Tue, 17 May 2016 01:05:23 +0000 (13:05 +1200)]
Add tests for Ensure OptionGroup exists fn & fix optionValueExists to accept ID
The option_group_id field accepts name or id so use that.
eileen [Mon, 16 May 2016 23:42:55 +0000 (11:42 +1200)]
CRM-18516 clarify that cache_date & refresh_date can be NULL (ie. when they have not been build).
Arguably refresh_date should be set to 'now' at this point but this doesn't change anything and that logic might be teased out more when we turn out eyes to the rebuild scripts
eileenmcnaugton [Mon, 16 May 2016 06:16:23 +0000 (18:16 +1200)]
Fix install portion of new option Group
eileenmcnaugton [Mon, 16 May 2016 04:54:55 +0000 (16:54 +1200)]
First caching test:
Change-Id: I2bc8de77ff063605b64042a2ed4dc6d5175e6f5d
eileenmcnaugton [Mon, 16 May 2016 03:51:05 +0000 (15:51 +1200)]
Preliminary tidy up on test class
eileenmcnaugton [Mon, 16 May 2016 02:06:56 +0000 (14:06 +1200)]
CRM-18516 add job for clearing of caches, separated from the rebuild job
eileenmcnaugton [Mon, 16 May 2016 01:44:58 +0000 (13:44 +1200)]
CRM-16642 Switch to opportunisticCacheRefresh calls.
There is one call left to the function called 'remove' which needs a little more consideration
eileenmcnaugton [Mon, 16 May 2016 01:25:03 +0000 (13:25 +1200)]
CRM-16642 add setting & functions for opportunistic vs deterministic cache clearing
eileenmcnaugton [Sun, 15 May 2016 23:18:27 +0000 (11:18 +1200)]
CRM-18142 fix use of uninidexed TIMESTAMPDIFF function
This removes function comparisons in favour of direct comparisons on cache date functions
eileen [Sat, 7 May 2016 23:18:10 +0000 (09:18 +1000)]
CRM-18516 Convert the date fields relating to group caching & acl caching timestamp
eileenmcnaugton [Sun, 15 May 2016 22:05:53 +0000 (10:05 +1200)]
Comment fixes & formatting
colemanw [Thu, 19 May 2016 20:30:31 +0000 (16:30 -0400)]
Merge pull request #8338 from JKingsnorth/CRM-18526
CRM-18526: Fix upgrade code for foreign keys from CRM-18345
Eileen McNaughton [Thu, 19 May 2016 20:11:44 +0000 (08:11 +1200)]
Merge pull request #8251 from eileenmcnaughton/merge_tests
Dedupe fixes CRM-18442, CRM-18539, CRM-18480
colemanw [Thu, 19 May 2016 19:57:37 +0000 (15:57 -0400)]
Merge pull request #8410 from mollux/CRM-18589
CRM-18589 Drastically reduce memory usage during tests.
Mattias Michaux [Thu, 19 May 2016 14:50:59 +0000 (16:50 +0200)]
Drasticly reduce memory usage during tests.
Monish Deb [Thu, 19 May 2016 12:13:29 +0000 (17:43 +0530)]
Merge pull request #8406 from eileenmcnaughton/batch_trxn_id
CRM-17123 - Include Transaction ID in membership bulk entry profile
Monish Deb [Thu, 19 May 2016 11:56:43 +0000 (17:26 +0530)]
Merge pull request #8284 from eileenmcnaughton/postal_code
CRM-17118 extend civicrm_address postal_code to accept full data stri…
eileen [Thu, 19 May 2016 05:11:06 +0000 (17:11 +1200)]
CRM-17123 - Include Transaction ID in membership bulk entry profile
deb.monish [Thu, 19 May 2016 10:56:01 +0000 (16:26 +0530)]
CRM-17123: add unit test
Yashodha Chaku [Thu, 19 May 2016 10:42:58 +0000 (16:12 +0530)]
Merge pull request #8145 from nielosz/master
To check mails for a valid html part strip tags when comparing
Monish Deb [Thu, 19 May 2016 09:28:42 +0000 (14:58 +0530)]
Merge pull request #8222 from eileenmcnaughton/CRM-18465
CRM-18465: fully resolve contributions before resolving tokens
Eileen McNaughton [Thu, 19 May 2016 05:30:41 +0000 (17:30 +1200)]
Merge pull request #8405 from eileenmcnaughton/custom_data-regress
CRM-18504 fix validation error when contact subtype is disabled
Eileen McNaughton [Thu, 19 May 2016 04:17:17 +0000 (16:17 +1200)]
Merge pull request #8189 from kenwest/CRM-18448
CRM-18448 Update recurring contribution - fix Financial Type required error
Eileen McNaughton [Thu, 19 May 2016 04:00:44 +0000 (16:00 +1200)]
Merge pull request #8190 from kenwest/CRM-18449
CRM-18449 prevent fatal error on Update recurring contribution
eileen [Tue, 17 May 2016 20:56:28 +0000 (08:56 +1200)]
CRM-18539: Permit criteria for batch merging (other than group)
eileen [Wed, 27 Apr 2016 05:20:43 +0000 (17:20 +1200)]
CRM-18842 Dedupe query: remove OR join in favour of more performant UNION
Unions are much faster than OR joins. This change took the length of the query to get the dedupes on a large database from
'as long as it took for the server to fall over' to less than one second on a small group of contacts
This query is only affecting one path - ie Individuals - at the moment as I can only extend that as fast as I can write tests.
eileen [Wed, 18 May 2016 00:06:15 +0000 (12:06 +1200)]
CRM-18480 fix batch merge job to cope with new inability to re-merge deleted contacts
Also, I changed the fatal to an exception - low level functions should throw exceptions, it's up to the form to catch & render those
Eileen McNaughton [Thu, 19 May 2016 01:21:34 +0000 (13:21 +1200)]
Merge pull request #8404 from eileenmcnaughton/recur_test
Fix mis-failing test assertion
eileen [Thu, 19 May 2016 00:24:52 +0000 (12:24 +1200)]
CRM-18465 add test to check correct setting of token variables.
eileen [Wed, 18 May 2016 23:02:39 +0000 (11:02 +1200)]
CRM-18504 fix validation error when contact subtype is disabled
Eileen McNaughton [Wed, 18 May 2016 22:14:45 +0000 (10:14 +1200)]
Merge pull request #8122 from JKingsnorth/CRM-18339
CRM-18397: Don't add empty billing name to non-existent billing address
eileen [Wed, 18 May 2016 21:54:45 +0000 (09:54 +1200)]
Fix mis-failing test assertion
Eileen McNaughton [Wed, 18 May 2016 21:39:51 +0000 (09:39 +1200)]
Merge pull request #8385 from eileenmcnaughton/no_dupe_email
CRM-18546 Duplicate email addresses created when merging in 4.7
Monish Deb [Wed, 18 May 2016 15:53:06 +0000 (21:23 +0530)]
Merge pull request #8396 from JMAConsulting/CRM-18406
CRM-18406 Added unit test for activity create/update when contributio…
Monish Deb [Wed, 18 May 2016 15:02:51 +0000 (20:32 +0530)]
Merge pull request #8399 from monishdeb/CRM-18406
CRM-18406: minor fix
deb.monish [Wed, 18 May 2016 14:32:47 +0000 (20:02 +0530)]
CRM-18406: minor fix
Monish Deb [Wed, 18 May 2016 12:41:04 +0000 (18:11 +0530)]
Merge pull request #8384 from rohankatkar/CRM_18406
CRM-18406: When a contribution is edited it doesn't update the activity to match
JKingsnorth [Wed, 18 May 2016 12:04:54 +0000 (13:04 +0100)]
CRM-18526: Move upgrade code to 4.7.8