civicrm-core.git
3 years agoFix phpunit 6 support
eileen [Wed, 12 Jun 2019 10:37:11 +0000 (06:37 -0400)]
Fix phpunit 6 support

3 years agoAfform.update - If server_route changes, then clear menu/navigation system
Tim Otten [Tue, 11 Jun 2019 20:42:53 +0000 (16:42 -0400)]
Afform.update - If server_route changes, then clear menu/navigation system

3 years agoAdd basic table output on afform list page
Coleman Watts [Sun, 9 Jun 2019 13:10:11 +0000 (09:10 -0400)]
Add basic table output on afform list page

3 years agoAdd index to Api4Ctrl
Coleman Watts [Sun, 9 Jun 2019 13:10:06 +0000 (09:10 -0400)]
Add index to Api4Ctrl

3 years agoafform_html - Show more editable properaties
Tim Otten [Tue, 4 Jun 2019 01:37:00 +0000 (18:37 -0700)]
afform_html - Show more editable properaties

3 years agoafform_html - Declare dependency on afform core
Tim Otten [Tue, 4 Jun 2019 01:36:06 +0000 (18:36 -0700)]
afform_html - Declare dependency on afform core

3 years agoafformCore - Add crmUrl to default scopes for afforms
Tim Otten [Tue, 4 Jun 2019 01:35:48 +0000 (18:35 -0700)]
afformCore - Add crmUrl to default scopes for afforms

3 years agoafformHtmlEditor - Add "Save" button
Tim Otten [Sun, 5 May 2019 23:15:42 +0000 (16:15 -0700)]
afformHtmlEditor - Add "Save" button

3 years agoroadmap.md
Tim Otten [Sun, 5 May 2019 23:04:38 +0000 (16:04 -0700)]
roadmap.md

3 years agoafform_html - Split main screen into two smaller components
Tim Otten [Sun, 5 May 2019 22:54:24 +0000 (15:54 -0700)]
afform_html - Split main screen into two smaller components

* Before: `afformHtmlEditor` contains list and edit screens
* After: `afformHtmlEditor` contains just the edit screen
* After: `afforHtmlList` contains just the list screen
* After: `afforHtmlAdmin` delegates to `afforHtmlList` and `afformHtmlEditor`

3 years agoafMoncao - Better default sizing
Tim Otten [Sun, 5 May 2019 22:39:57 +0000 (15:39 -0700)]
afMoncao - Better default sizing

3 years agoafMoncao - While hovering on editor, 2-finger scroll should only affect editor
Tim Otten [Sun, 5 May 2019 22:26:50 +0000 (15:26 -0700)]
afMoncao - While hovering on editor, 2-finger scroll should only affect editor

3 years agoafformHtmlEditor - Show list-view if no `?name=` is set.
Tim Otten [Sun, 5 May 2019 07:07:26 +0000 (00:07 -0700)]
afformHtmlEditor - Show list-view if no `?name=` is set.

3 years agocore - Implement aff-api4-action directive
Tim Otten [Sun, 5 May 2019 07:05:07 +0000 (00:05 -0700)]
core - Implement aff-api4-action directive

This allows you to invoke APIv4 when a user clicks on a button or link.  It
is analogous to `ng-click`, except that the notation and messaging are
tweaked for APIv4.

3 years agoafMonaco - Use more conventional scrollbars
Tim Otten [Sun, 5 May 2019 04:31:14 +0000 (21:31 -0700)]
afMonaco - Use more conventional scrollbars

3 years agoafformCore - Expose crmApi4 and crmStatus in standard scopes
Tim Otten [Sun, 5 May 2019 04:30:40 +0000 (21:30 -0700)]
afformCore - Expose crmApi4 and crmStatus in standard scopes

3 years agoafform_html - Update monaco to 0.16.2
Tim Otten [Sun, 5 May 2019 04:30:06 +0000 (21:30 -0700)]
afform_html - Update monaco to 0.16.2

3 years agoafform_html - Skeletal page with Monaco (Angular-based; no saving)
Tim Otten [Sat, 4 May 2019 06:30:07 +0000 (23:30 -0700)]
afform_html - Skeletal page with Monaco (Angular-based; no saving)

Example URL: http://dmaster.bknix:8001/civicrm/admin/afform-html/#/?name=afformExamplepage

3 years agoafform_html - Add status-check for Monaco files
Tim Otten [Sat, 4 May 2019 04:51:51 +0000 (21:51 -0700)]
afform_html - Add status-check for Monaco files

3 years agoafform_html - Statically load Monaco editor
Tim Otten [Sat, 4 May 2019 04:51:17 +0000 (21:51 -0700)]
afform_html - Statically load Monaco editor

3 years agoafform_html - Add skeletal page civicrm/admin/afform/html
Tim Otten [Sat, 4 May 2019 03:59:04 +0000 (20:59 -0700)]
afform_html - Add skeletal page civicrm/admin/afform/html

3 years agoafform_html - Use package.json to download Monaco
Tim Otten [Sat, 4 May 2019 03:52:12 +0000 (20:52 -0700)]
afform_html - Use package.json to download Monaco

3 years agoImport afform_html skeleton
Tim Otten [Sat, 4 May 2019 03:48:45 +0000 (20:48 -0700)]
Import afform_html skeleton

3 years agoang/af*.ang.php - Remove elements that are unlikely to be used
Tim Otten [Fri, 3 May 2019 23:58:08 +0000 (16:58 -0700)]
ang/af*.ang.php - Remove elements that are unlikely to be used

3 years agoang/*.ang.php - Cleanup new files
Tim Otten [Fri, 3 May 2019 23:50:38 +0000 (16:50 -0700)]
ang/*.ang.php - Cleanup new files

3 years agoAdd example page `civicrm/afex` based on last note from planning-v0.3.md
Tim Otten [Fri, 3 May 2019 23:44:31 +0000 (16:44 -0700)]
Add example page `civicrm/afex` based on last note from planning-v0.3.md

3 years agoafModel*, afBlock*, afField - Add skeletal directives
Tim Otten [Fri, 3 May 2019 23:36:37 +0000 (16:36 -0700)]
afModel*, afBlock*, afField - Add skeletal directives

3 years agoAdd skeletal modules
Tim Otten [Fri, 3 May 2019 23:35:51 +0000 (16:35 -0700)]
Add skeletal modules

3 years agoArrayHtml - Mitigate crash on HTML comments
Tim Otten [Fri, 3 May 2019 23:44:17 +0000 (16:44 -0700)]
ArrayHtml - Mitigate crash on HTML comments

3 years agoAfform.{get,update} - Allow layout format to be array or string/HTML
Tim Otten [Sat, 4 May 2019 23:00:50 +0000 (16:00 -0700)]
Afform.{get,update} - Allow layout format to be array or string/HTML

3 years agoArrayHtml - Boundary cases for empty content. Code formatting.
Tim Otten [Sat, 4 May 2019 23:50:30 +0000 (16:50 -0700)]
ArrayHtml - Boundary cases for empty content. Code formatting.

3 years agoApi4/Afform.php - Fix callback notation. Cleanup style.
Tim Otten [Fri, 3 May 2019 23:33:54 +0000 (16:33 -0700)]
Api4/Afform.php - Fix callback notation. Cleanup style.

3 years agoUpdate planning-v0.3.md
Tim Otten [Fri, 3 May 2019 21:06:29 +0000 (14:06 -0700)]
Update planning-v0.3.md

3 years agoUpdate planning-v0.2.md
Tim Otten [Fri, 3 May 2019 20:43:47 +0000 (13:43 -0700)]
Update planning-v0.2.md

3 years agoCreate planning-v0.3.md
Tim Otten [Fri, 3 May 2019 02:12:06 +0000 (19:12 -0700)]
Create planning-v0.3.md

3 years agoUpdate planning-v0.2.md
Tim Otten [Thu, 2 May 2019 21:34:51 +0000 (14:34 -0700)]
Update planning-v0.2.md

3 years agoUpdate planning-v0.2.md
Tim Otten [Thu, 2 May 2019 21:02:58 +0000 (14:02 -0700)]
Update planning-v0.2.md

3 years agoAdd getFields to api4 classes
Coleman Watts [Tue, 16 Apr 2019 22:24:18 +0000 (18:24 -0400)]
Add getFields to api4 classes

3 years agoAdd skeletal APIs for AfformPalette and AfformTag
Tim Otten [Mon, 11 Feb 2019 22:53:49 +0000 (14:53 -0800)]
Add skeletal APIs for AfformPalette and AfformTag

3 years agoCivi\Api4\Afform - Refactor to use BasicGetAction, BasicUpdateAction, BasicBatchAction
Tim Otten [Sat, 9 Feb 2019 23:37:29 +0000 (18:37 -0500)]
Civi\Api4\Afform - Refactor to use BasicGetAction, BasicUpdateAction, BasicBatchAction

3 years agoWIP afformList angular page
Coleman Watts [Mon, 11 Feb 2019 01:04:36 +0000 (20:04 -0500)]
WIP afformList angular page

3 years agoAfformTestCase - Extract base for more tests
Tim Otten [Sat, 9 Feb 2019 21:26:34 +0000 (16:26 -0500)]
AfformTestCase - Extract base for more tests

3 years agoCivi\Api4\Afform - Use simple (non-db) implementation. Fix typos in namespaces.
Tim Otten [Sat, 9 Feb 2019 21:16:33 +0000 (16:16 -0500)]
Civi\Api4\Afform - Use simple (non-db) implementation. Fix typos in namespaces.

3 years agoAfform.revert - Refuse to revert if there are no "where" constraints
Tim Otten [Sat, 9 Feb 2019 05:53:02 +0000 (00:53 -0500)]
Afform.revert - Refuse to revert if there are no "where" constraints

Bulk reverting everything would be... a bit... dangerous?

3 years agodocs - Update to reflect new naming convention. General copy-editing.
Tim Otten [Sat, 9 Feb 2019 05:11:58 +0000 (00:11 -0500)]
docs - Update to reflect new naming convention. General copy-editing.

3 years agoSkelital gui list page
Coleman Watts [Sat, 9 Feb 2019 04:59:02 +0000 (23:59 -0500)]
Skelital gui list page

3 years agoCopyedits on mockups
Tim Otten [Sat, 9 Feb 2019 03:06:22 +0000 (22:06 -0500)]
Copyedits on mockups

3 years agoShow mockup as main graphic. Remove unused placeholder.
Tim Otten [Sat, 9 Feb 2019 02:50:04 +0000 (21:50 -0500)]
Show mockup as main graphic. Remove unused placeholder.

3 years agoAfformScanner - Allow loading bare forms
Tim Otten [Sat, 9 Feb 2019 02:43:46 +0000 (21:43 -0500)]
AfformScanner - Allow loading bare forms

__Before__: To create an afform, you *must* create both the HTML and JSON file.

__After__: To create an afform, you *must* create the HTML file. You *may* create JSON file.

__Comments__: This enhances developer usability.

3 years agoSkelital gui angular page
Coleman Watts [Sat, 9 Feb 2019 02:33:33 +0000 (21:33 -0500)]
Skelital gui angular page

3 years agomock - Define two directives, one which references the other
Tim Otten [Sat, 9 Feb 2019 01:18:40 +0000 (20:18 -0500)]
mock - Define two directives, one which references the other

3 years agoAfformScanner - Use `ang/*.aff.json` file-naming convention
Tim Otten [Sat, 9 Feb 2019 00:56:03 +0000 (19:56 -0500)]
AfformScanner - Use `ang/*.aff.json` file-naming convention

__Before__: Scan each `$extension` for `$extension/afform/*/meta.json`

__After__: Scan each `$extension` for `$extension/ang/*.aff.json`

__Comments__: This is a significant breaking change for v0.2.

It preserves some key design-goals from the old naming convention

* The symbol in HTML (e.g.  `afform-email`) should have symmetry with the file-name (e.g.  `afform/Email/*` or `afform-email.*`)
* The file-name in the base-code provided by an extension should match the file-name in the local override folder.

However, the new naming convention also:

* Makes it easier downstream to choose their own prefixes. We're not boxed-in or hard-coded to `afform-`.
  This will be useful, e.g., with distinguishing the stdlib from the business-forms that use the stdlib.
* Puts Afform-Angular content in the same folder structure as Regular-Angular content.

3 years agoMove mock form and its test case to a separate extension (`afform-mock`)
Tim Otten [Sat, 9 Feb 2019 00:12:17 +0000 (19:12 -0500)]
Move mock form and its test case to a separate extension (`afform-mock`)

3 years agoUpdate examplepage to follow new file naming
Tim Otten [Fri, 8 Feb 2019 22:58:16 +0000 (17:58 -0500)]
Update examplepage to follow new file naming

3 years agoGenerate skeletal `afform-gui` extension
Tim Otten [Fri, 8 Feb 2019 22:02:32 +0000 (17:02 -0500)]
Generate skeletal `afform-gui` extension

3 years agoREADME.md - Hide sections about future/unavailable install methods
Tim Otten [Fri, 8 Feb 2019 22:00:40 +0000 (17:00 -0500)]
README.md - Hide sections about future/unavailable install methods

3 years agoMove core/framework code under `./core`
Tim Otten [Fri, 8 Feb 2019 22:42:47 +0000 (17:42 -0500)]
Move core/framework code under `./core`

3 years agoinfo.xml - Bump to v0.2
Tim Otten [Fri, 8 Feb 2019 21:21:09 +0000 (16:21 -0500)]
info.xml - Bump to v0.2

3 years agoImport v0.2 discussion sketches
Tim Otten [Fri, 8 Feb 2019 21:20:42 +0000 (16:20 -0500)]
Import v0.2 discussion sketches

3 years agoAdd docs/sandbox/planning-v0.2.md
Tim Otten [Fri, 8 Feb 2019 21:13:41 +0000 (16:13 -0500)]
Add docs/sandbox/planning-v0.2.md

3 years agoUpdate README.md
Tim Otten [Fri, 8 Feb 2019 20:38:18 +0000 (15:38 -0500)]
Update README.md

3 years agoinfo.xml - Set version to 0.1
Tim Otten [Fri, 8 Feb 2019 20:32:52 +0000 (15:32 -0500)]
info.xml - Set version to 0.1

3 years agoAfform.{create,delete} are equally unsupported/untested/TODO.
Tim Otten [Thu, 7 Feb 2019 22:32:58 +0000 (17:32 -0500)]
Afform.{create,delete} are equally unsupported/untested/TODO.

3 years agoRemove Afform.{get,create} support from APIv3
Tim Otten [Thu, 7 Feb 2019 22:24:39 +0000 (17:24 -0500)]
Remove Afform.{get,create} support from APIv3

3 years agoUpdate docs to use api4 instead of api3
Tim Otten [Thu, 7 Feb 2019 22:20:17 +0000 (17:20 -0500)]
Update docs to use api4 instead of api3

3 years agoAfformCrudTrait - When delegating to another API call, use same permissions
Tim Otten [Thu, 7 Feb 2019 21:57:33 +0000 (16:57 -0500)]
AfformCrudTrait - When delegating to another API call, use same permissions

3 years agoMove AfformCrudTrait to a namespace that isn't scanned
Tim Otten [Thu, 7 Feb 2019 18:43:38 +0000 (13:43 -0500)]
Move AfformCrudTrait to a namespace that isn't scanned

3 years agoImplement basic APIv4 support
Tim Otten [Thu, 7 Feb 2019 05:49:37 +0000 (00:49 -0500)]
Implement basic APIv4 support

3 years agoMove CRM_Afform_AfformScanner to a service
Tim Otten [Thu, 7 Feb 2019 04:39:07 +0000 (23:39 -0500)]
Move CRM_Afform_AfformScanner to a service

3 years agoAdd Api4Ctrl
Coleman Watts [Thu, 7 Feb 2019 02:46:30 +0000 (21:46 -0500)]
Add Api4Ctrl

3 years agoinfo.xml - Require api4
Tim Otten [Thu, 7 Feb 2019 02:43:27 +0000 (21:43 -0500)]
info.xml - Require api4

3 years agoUpdate embed.md
Tim Otten [Wed, 9 Jan 2019 04:07:15 +0000 (20:07 -0800)]
Update embed.md

3 years agoREADME.md - Bump up PHP/CiviCRM versions (#6)
Tim Otten [Wed, 9 Jan 2019 03:59:49 +0000 (19:59 -0800)]
README.md - Bump up PHP/CiviCRM versions (#6)

It's not that we have any specific need for these versions, but this is
still alpha, and it's mostly being tested on newer platform versions.

3 years agogramatical fix
Eileen McNaughton [Thu, 3 Jan 2019 00:19:06 +0000 (13:19 +1300)]
gramatical fix

3 years agoAdd need to create meta.json
Eileen McNaughton [Wed, 2 Jan 2019 23:08:13 +0000 (12:08 +1300)]
Add need to create meta.json

Per the fix me the requires part of this might change later but for now this gives more help to devs using this

3 years agoAllow saving is_public
Tim Otten [Wed, 12 Dec 2018 23:32:43 +0000 (15:32 -0800)]
Allow saving is_public

3 years agoReport is_public as part of APIv3
Tim Otten [Wed, 12 Dec 2018 23:32:28 +0000 (15:32 -0800)]
Report is_public as part of APIv3

3 years agoAfformScanner.php - Syntax cleanup
Tim Otten [Wed, 12 Dec 2018 23:31:22 +0000 (15:31 -0800)]
AfformScanner.php - Syntax cleanup

3 years agowriting.md - Link to more docs for `afform-api3`
Tim Otten [Wed, 12 Dec 2018 22:52:17 +0000 (14:52 -0800)]
writing.md - Link to more docs for `afform-api3`

3 years agowriting.md - Show error if no cid is provided
Tim Otten [Wed, 12 Dec 2018 22:50:48 +0000 (14:50 -0800)]
writing.md - Show error if no cid is provided

3 years agoAdd support for the is_public flag on front-end forms
Mathieu Lutfy [Wed, 28 Nov 2018 21:38:11 +0000 (16:38 -0500)]
Add support for the is_public flag on front-end forms

3 years agoroadmap.md - Add tidbits
Tim Otten [Fri, 28 Sep 2018 20:02:10 +0000 (16:02 -0400)]
roadmap.md - Add tidbits

3 years agodocs/roadmap.md - More known limits
Tim Otten [Thu, 20 Sep 2018 03:43:01 +0000 (20:43 -0700)]
docs/roadmap.md - More known limits

3 years agoUpdate philosophy.md
Tim Otten [Wed, 19 Sep 2018 06:03:33 +0000 (23:03 -0700)]
Update philosophy.md

3 years agodocs/alter.md - Copy-edit
Tim Otten [Tue, 18 Sep 2018 09:32:03 +0000 (02:32 -0700)]
docs/alter.md - Copy-edit

3 years agoUpdate docs - Add more discussion of change-sets (alterAlngular) and philosophy
Tim Otten [Tue, 18 Sep 2018 09:20:33 +0000 (02:20 -0700)]
Update docs - Add more discussion of change-sets (alterAlngular) and philosophy

3 years agoUpdate README.md
Tim Otten [Mon, 17 Sep 2018 22:38:02 +0000 (15:38 -0700)]
Update README.md

3 years agoAfform.create, Afform.revert - Clear file-cache adding/deleting files
Tim Otten [Wed, 8 Aug 2018 06:39:55 +0000 (23:39 -0700)]
Afform.create, Afform.revert - Clear file-cache adding/deleting files

3 years agoAfform.get - Fix copy-paste mistake
Tim Otten [Wed, 8 Aug 2018 06:37:44 +0000 (23:37 -0700)]
Afform.get - Fix copy-paste mistake

3 years agoAdd Afform.revert. Fix Afform.create. Add lifecycle test-case.
Tim Otten [Wed, 8 Aug 2018 05:31:00 +0000 (22:31 -0700)]
Add Afform.revert. Fix Afform.create. Add lifecycle test-case.

3 years agoUpdate roadmap.md
Tim Otten [Tue, 31 Jul 2018 00:36:41 +0000 (17:36 -0700)]
Update roadmap.md

3 years agoREADME.md - Change placeholder URLs
Tim Otten [Tue, 31 Jul 2018 00:35:14 +0000 (17:35 -0700)]
README.md - Change placeholder URLs

3 years agoDoc tweaks
Tim Otten [Tue, 31 Jul 2018 00:32:27 +0000 (17:32 -0700)]
Doc tweaks

3 years agoFix typos
Tim Otten [Tue, 31 Jul 2018 00:18:50 +0000 (17:18 -0700)]
Fix typos

3 years agoREADME, docs - Tweak titles
Tim Otten [Tue, 31 Jul 2018 00:16:10 +0000 (17:16 -0700)]
README, docs - Tweak titles

3 years agoroadmap.md - Describe follow-up modules
Tim Otten [Tue, 31 Jul 2018 00:12:56 +0000 (17:12 -0700)]
roadmap.md - Describe follow-up modules

3 years agoSplit README.md into smaller `docs/*.md` files
Tim Otten [Mon, 30 Jul 2018 23:36:52 +0000 (16:36 -0700)]
Split README.md into smaller `docs/*.md` files

3 years agoREADME.md
Tim Otten [Thu, 14 Jun 2018 07:15:37 +0000 (00:15 -0700)]
README.md

3 years agoREADME.md
Tim Otten [Thu, 14 Jun 2018 06:16:53 +0000 (23:16 -0700)]
README.md

3 years agoREADME.md
Tim Otten [Thu, 14 Jun 2018 06:09:04 +0000 (23:09 -0700)]
README.md