civicrm-core.git
4 years agoRename extension (ang `msgtplui` => `crmMsgadm`, lowerCamelForm)
Tim Otten [Fri, 24 Sep 2021 20:55:11 +0000 (13:55 -0700)]
Rename extension (ang `msgtplui` => `crmMsgadm`, lowerCamelForm)

4 years agoRename extension (ang `msgtplui` => `crmMsgadm`, hyphen-form)
Tim Otten [Fri, 24 Sep 2021 20:51:40 +0000 (13:51 -0700)]
Rename extension (ang `msgtplui` => `crmMsgadm`, hyphen-form)

4 years agoRename extension (`CRM/Msgtplui` => `CRM/MessageAdmin`, files)
Tim Otten [Fri, 24 Sep 2021 20:31:22 +0000 (13:31 -0700)]
Rename extension (`CRM/Msgtplui` => `CRM/MessageAdmin`, files)

4 years agoRename extension (`CRM/Msgtplui` => `CRM/MessageAdmin`, content)
Tim Otten [Fri, 24 Sep 2021 20:29:22 +0000 (13:29 -0700)]
Rename extension (`CRM/Msgtplui` => `CRM/MessageAdmin`, content)

4 years agoRename extension (ext `msgtplui` => `message_admin`, files+meta)
Tim Otten [Fri, 24 Sep 2021 20:25:00 +0000 (13:25 -0700)]
Rename extension (ext `msgtplui` => `message_admin`, files+meta)

4 years agoRename extension (ext `msgtplui` => `message_admin`, content)
Tim Otten [Fri, 24 Sep 2021 20:23:57 +0000 (13:23 -0700)]
Rename extension (ext `msgtplui` => `message_admin`, content)

4 years ago(NFC) msgtplui - Style
Tim Otten [Fri, 24 Sep 2021 04:35:24 +0000 (21:35 -0700)]
(NFC) msgtplui - Style

4 years agodistmaker - Add msgtplui
Tim Otten [Fri, 24 Sep 2021 02:57:22 +0000 (19:57 -0700)]
distmaker - Add msgtplui

4 years agomsgtplui - info.xml - Replace placeholders with realistic content
Tim Otten [Fri, 24 Sep 2021 02:58:15 +0000 (19:58 -0700)]
msgtplui - info.xml - Replace placeholders with realistic content

4 years agomsgtplui - backlog.md
Tim Otten [Wed, 22 Sep 2021 20:51:15 +0000 (13:51 -0700)]
msgtplui - backlog.md

4 years agomsgtplui - Preview Dialog - If there are no examples, show a decent error message
Tim Otten [Fri, 17 Sep 2021 05:13:13 +0000 (22:13 -0700)]
msgtplui - Preview Dialog - If there are no examples, show a decent error message

Use Case: You edit a msgtpl for which there are no examples.

Before: The dialog opens. The dialog doesn't really work, because there are no examples.
Rendering attempts yield errors.

After: The dialog declines open. A more pointed error is displayed.

4 years agomsgtplui - (NFC) "Add Translation" - Comment
Tim Otten [Fri, 17 Sep 2021 03:56:48 +0000 (20:56 -0700)]
msgtplui - (NFC) "Add Translation" - Comment

4 years agomsgtplui - (REF) "Add Translations" - Combine "mainLangs"/"altLangs"
Tim Otten [Fri, 17 Sep 2021 03:51:46 +0000 (20:51 -0700)]
msgtplui - (REF) "Add Translations" - Combine "mainLangs"/"altLangs"

4 years agomsgtplui - "Add Translation" - Autocomplete list should be more complete
Tim Otten [Fri, 17 Sep 2021 03:40:31 +0000 (20:40 -0700)]
msgtplui - "Add Translation" - Autocomplete list should be more complete

4 years agomsgtplui - "Add Translation" - Convert from select to select2
Tim Otten [Fri, 17 Sep 2021 03:35:31 +0000 (20:35 -0700)]
msgtplui - "Add Translation" - Convert from select to select2

4 years agomsgtplui - "Add Translation" - Suggest languages based on active language list. Add...
Tim Otten [Fri, 17 Sep 2021 03:29:33 +0000 (20:29 -0700)]
msgtplui - "Add Translation" - Suggest languages based on active language list. Add option for any/all languages.

4 years agomsgtplui - "Workflow" Tab - Always show translation buttons
Tim Otten [Fri, 17 Sep 2021 03:28:03 +0000 (20:28 -0700)]
msgtplui - "Workflow" Tab - Always show translation buttons

If we're not relying on uiLanguages to give the list of languages, then we
can't use it to choose between views.

4 years agomsgtplui - backlog.md
Tim Otten [Thu, 16 Sep 2021 23:52:15 +0000 (16:52 -0700)]
msgtplui - backlog.md

4 years agomsgtplui - Preview.html - Disable cycle-buttons if there is nothing to cycle through
Tim Otten [Tue, 14 Sep 2021 03:29:43 +0000 (20:29 -0700)]
msgtplui - Preview.html - Disable cycle-buttons if there is nothing to cycle through

4 years agomsgtplui - Edit.js, Preview.js - Use updated ExampleData API
Tim Otten [Tue, 14 Sep 2021 03:16:44 +0000 (20:16 -0700)]
msgtplui - Edit.js, Preview.js - Use updated ExampleData API

4 years agomsgtplui - Rename WorkflowMessageExample => ExampleData
Tim Otten [Fri, 10 Sep 2021 04:17:04 +0000 (21:17 -0700)]
msgtplui - Rename WorkflowMessageExample => ExampleData

4 years agomsgtplui - Preview.html - Temporarily hide the (incomplete) support for adhoc examples
Tim Otten [Mon, 9 Aug 2021 21:06:08 +0000 (14:06 -0700)]
msgtplui - Preview.html - Temporarily hide the (incomplete) support for adhoc examples

4 years agomsgtplui - Preview.js - Prefer loading fresh examples
Tim Otten [Mon, 9 Aug 2021 21:05:34 +0000 (14:05 -0700)]
msgtplui - Preview.js - Prefer loading fresh examples

4 years agomsgtplui - backlog.md
Tim Otten [Fri, 30 Jul 2021 20:38:22 +0000 (13:38 -0700)]
msgtplui - backlog.md

4 years agomsgtplui - (WIP) Add icon to edit example data
Tim Otten [Thu, 29 Jul 2021 20:26:01 +0000 (13:26 -0700)]
msgtplui - (WIP) Add icon to edit example data

This converts the example to JSON and puts up an edit blob. Issue:

- Edit block is too big (*should only be 15%...*)
- Need to regen JSON when navigating between examples
- Need to periodically refresh example

4 years agomsgtplui - Render using prefetched example data
Tim Otten [Thu, 29 Jul 2021 20:13:13 +0000 (13:13 -0700)]
msgtplui - Render using prefetched example data

4 years agomsgtplui - Load real list of examples
Tim Otten [Thu, 29 Jul 2021 04:00:14 +0000 (21:00 -0700)]
msgtplui - Load real list of examples

4 years agomsgtplui - Generate real previews
Tim Otten [Thu, 29 Jul 2021 03:53:17 +0000 (20:53 -0700)]
msgtplui - Generate real previews

4 years agomsgtplui - backlog.md
Tim Otten [Tue, 27 Jul 2021 23:21:18 +0000 (16:21 -0700)]
msgtplui - backlog.md

4 years agomsgtplui - backlog.md
Tim Otten [Fri, 23 Jul 2021 22:01:30 +0000 (15:01 -0700)]
msgtplui - backlog.md

4 years agomsgtplui - WIP Load real list of examples
Tim Otten [Wed, 14 Jul 2021 21:02:14 +0000 (14:02 -0700)]
msgtplui - WIP Load real list of examples

4 years agomsgtplui - Edit.html - More detailed explanation
Tim Otten [Tue, 6 Jul 2021 21:57:56 +0000 (14:57 -0700)]
msgtplui - Edit.html - More detailed explanation

4 years agomsgtplui - Workflow screen - Split implementation of translated/untranslated tables
Tim Otten [Wed, 23 Jun 2021 01:54:09 +0000 (18:54 -0700)]
msgtplui - Workflow screen - Split implementation of translated/untranslated tables

The label of "Current" is quirky in a system that doesn't support drafting workflows.

4 years agomsgtplui - Fix extraneous button on non-translated systems
Tim Otten [Wed, 23 Jun 2021 01:53:25 +0000 (18:53 -0700)]
msgtplui - Fix extraneous button on non-translated systems

4 years agomsgtplui - Edit.js - Add another mock item to "Example" list
Tim Otten [Wed, 23 Jun 2021 00:16:38 +0000 (17:16 -0700)]
msgtplui - Edit.js - Add another mock item to "Example" list

4 years agomsgtplui - Preview - Extract separate ctrl. Prepare for AJAX loading.
Tim Otten [Wed, 23 Jun 2021 00:06:13 +0000 (17:06 -0700)]
msgtplui - Preview - Extract separate ctrl. Prepare for AJAX loading.

4 years agomsgtplui - Preview.html - More plausible widgets
Tim Otten [Tue, 22 Jun 2021 22:53:02 +0000 (15:53 -0700)]
msgtplui - Preview.html - More plausible widgets

4 years agomsgtplui - Tweak status msgs. Fix JS warning.
Tim Otten [Tue, 22 Jun 2021 22:24:50 +0000 (15:24 -0700)]
msgtplui - Tweak status msgs. Fix JS warning.

4 years agomsgtplui - backlog.md
Tim Otten [Tue, 22 Jun 2021 22:17:35 +0000 (15:17 -0700)]
msgtplui - backlog.md

4 years agomsgtplui - (REF) Use crm-icon
Tim Otten [Tue, 22 Jun 2021 22:11:19 +0000 (15:11 -0700)]
msgtplui - (REF) Use crm-icon

4 years agomsgtplui - Don't show token-picker on "Original" (read-only) tab
Tim Otten [Tue, 22 Jun 2021 22:04:20 +0000 (15:04 -0700)]
msgtplui - Don't show token-picker on "Original" (read-only) tab

4 years agomsgtplui - Move per-tab action-buttons into tab-bar. More consistent code-style.
Tim Otten [Tue, 22 Jun 2021 21:57:18 +0000 (14:57 -0700)]
msgtplui - Move per-tab action-buttons into tab-bar. More consistent code-style.

4 years agomsgtplui - Tweak icons
Tim Otten [Tue, 22 Jun 2021 21:17:06 +0000 (14:17 -0700)]
msgtplui - Tweak icons

4 years agomsgtplui - Preview - Show a more readable placeholder
Tim Otten [Tue, 22 Jun 2021 07:25:01 +0000 (00:25 -0700)]
msgtplui - Preview - Show a more readable placeholder

4 years agomsgtplui - Cleanup styling on cycling widgets
Tim Otten [Tue, 22 Jun 2021 06:55:52 +0000 (23:55 -0700)]
msgtplui - Cleanup styling on cycling widgets

4 years agomsgtplui - Basic `<<` and `>>` cycling widgets
Tim Otten [Tue, 22 Jun 2021 06:51:06 +0000 (23:51 -0700)]
msgtplui - Basic `<<` and `>>` cycling widgets

4 years agomsgtplui - Preview dialog - Add placeholder
Tim Otten [Tue, 22 Jun 2021 06:30:59 +0000 (23:30 -0700)]
msgtplui - Preview dialog - Add placeholder

4 years agomsgtplui - Tweak navbar in expanded view
Tim Otten [Tue, 22 Jun 2021 05:06:17 +0000 (22:06 -0700)]
msgtplui - Tweak navbar in expanded view

4 years agomsgtplui - Implement expanded editor dialog
Tim Otten [Tue, 22 Jun 2021 04:37:10 +0000 (21:37 -0700)]
msgtplui - Implement expanded editor dialog

4 years agomsgtplui - (NFC) Code style
Tim Otten [Tue, 22 Jun 2021 02:51:32 +0000 (19:51 -0700)]
msgtplui - (NFC) Code style

4 years agomsgtplui - Switch from crm-mailing-token to crm-ui-select
Tim Otten [Tue, 22 Jun 2021 02:50:51 +0000 (19:50 -0700)]
msgtplui - Switch from crm-mailing-token to crm-ui-select

This will make it easier to swap the list of tokens, depending on the particular message template

4 years agomsgtplui - Switch back to ugly but functional picker button
Tim Otten [Mon, 21 Jun 2021 22:46:40 +0000 (15:46 -0700)]
msgtplui - Switch back to ugly but functional picker button

4 years agomsgtplui - (REF) Change from deprecated function
Tim Otten [Mon, 21 Jun 2021 22:15:19 +0000 (15:15 -0700)]
msgtplui - (REF) Change from deprecated function

4 years agomsgtplui - Edit.js - Status alert when adding/removing draft
Tim Otten [Mon, 21 Jun 2021 03:56:02 +0000 (20:56 -0700)]
msgtplui - Edit.js - Status alert when adding/removing draft

4 years agomsgtplui - Tweak tabs
Tim Otten [Mon, 21 Jun 2021 03:50:20 +0000 (20:50 -0700)]
msgtplui - Tweak tabs

4 years agomsgtplui - EditContent - Simpler dataflow. Fix refresh bug.
Tim Otten [Mon, 21 Jun 2021 02:49:02 +0000 (19:49 -0700)]
msgtplui - EditContent - Simpler dataflow. Fix refresh bug.

4 years agomsgtplui - Workflow.html - Hide translation widgets if there is only one locale
Tim Otten [Mon, 21 Jun 2021 02:31:30 +0000 (19:31 -0700)]
msgtplui - Workflow.html - Hide translation widgets if there is only one locale

4 years agomsgtplui - backlog.md
Tim Otten [Mon, 21 Jun 2021 02:21:48 +0000 (19:21 -0700)]
msgtplui - backlog.md

4 years agomsgtplui - (REF) Normalize folder name
Tim Otten [Mon, 21 Jun 2021 02:21:23 +0000 (19:21 -0700)]
msgtplui - (REF) Normalize folder name

4 years agomsgtplui - Move toolbar into heading
Tim Otten [Sun, 20 Jun 2021 23:07:13 +0000 (16:07 -0700)]
msgtplui - Move toolbar into heading

4 years agomsgtplui - Use more Bootstrap styling
Tim Otten [Sun, 20 Jun 2021 22:30:00 +0000 (15:30 -0700)]
msgtplui - Use more Bootstrap styling

4 years agomsgtplui - EditContent - Add controller. Basic tokens. Skeletal buttons.
Tim Otten [Sun, 20 Jun 2021 22:09:38 +0000 (15:09 -0700)]
msgtplui - EditContent - Add controller. Basic tokens. Skeletal buttons.

4 years agomsgtplui - Edit.html - Fix warning
Tim Otten [Sun, 20 Jun 2021 05:19:56 +0000 (22:19 -0700)]
msgtplui - Edit.html - Fix warning

4 years agomsgtplui - Edit - Make the 'Subject' widget more consistent
Tim Otten [Sun, 20 Jun 2021 04:57:59 +0000 (21:57 -0700)]
msgtplui - Edit - Make the 'Subject' widget more consistent

Before: Flipped back/forth between 1-line INPUT and Monaco. The transitions were awkward.

After: Just use Monaco, but tighten the size a bit

4 years agomsgtplui - Edit - Display "Locale" in pretty format
Tim Otten [Sat, 19 Jun 2021 05:25:06 +0000 (22:25 -0700)]
msgtplui - Edit - Display "Locale" in pretty format

4 years agomsgtplui - Edit - Use "_exists" flag. Fix initial saving of new txActive and/or txDra...
Tim Otten [Sat, 19 Jun 2021 05:21:51 +0000 (22:21 -0700)]
msgtplui - Edit - Use "_exists" flag. Fix initial saving of new txActive and/or txDraft records.

4 years agomsgtplui - Implement "Add Translation" dialog
Tim Otten [Sat, 19 Jun 2021 01:57:53 +0000 (18:57 -0700)]
msgtplui - Implement "Add Translation" dialog

4 years agomsgtplui - Add crmDialog helpers
Tim Otten [Sat, 19 Jun 2021 04:17:11 +0000 (21:17 -0700)]
msgtplui - Add crmDialog helpers

4 years agomsgtplui - (REF) ListCtrl - More consistent variable name
Tim Otten [Fri, 18 Jun 2021 23:27:10 +0000 (16:27 -0700)]
msgtplui - (REF) ListCtrl - More consistent variable name

It's a little confusing that .html uses `$ctrl` while JS uses `ctrl`.

Just use `$ctrl` for both.# On branch master

4 years agomsgtplui - (REF) More consistent variable name
Tim Otten [Fri, 18 Jun 2021 23:08:42 +0000 (16:08 -0700)]
msgtplui - (REF) More consistent variable name

It's a little confusing that .html uses `$ctrl` while JS uses `ctrl`.

Just use `$ctrl` for both.

4 years agomsgtplui - Edit screen - Prettier buttons
Tim Otten [Fri, 18 Jun 2021 23:06:33 +0000 (16:06 -0700)]
msgtplui - Edit screen - Prettier buttons

4 years agomsgtplui - Add workflow for transitioning between draft<=>current
Tim Otten [Fri, 18 Jun 2021 22:58:05 +0000 (15:58 -0700)]
msgtplui - Add workflow for transitioning between draft<=>current

4 years agomsgtplui - Tune height of Monaco
Tim Otten [Wed, 16 Jun 2021 10:20:02 +0000 (03:20 -0700)]
msgtplui - Tune height of Monaco

4 years agomsgtplui - Edit - Implement save() and delete()
Tim Otten [Wed, 16 Jun 2021 09:44:49 +0000 (02:44 -0700)]
msgtplui - Edit - Implement save() and delete()

4 years agomsgtplui - Fixup msg_subject. Extract <msgtplui-monaco>
Tim Otten [Wed, 16 Jun 2021 09:36:01 +0000 (02:36 -0700)]
msgtplui - Fixup msg_subject. Extract <msgtplui-monaco>

4 years agomsgtplui - Tweak deletion prompt
Tim Otten [Wed, 16 Jun 2021 08:30:24 +0000 (01:30 -0700)]
msgtplui - Tweak deletion prompt

4 years agomsgtplui - Edit - Skeletal action buttons
Tim Otten [Wed, 16 Jun 2021 08:25:53 +0000 (01:25 -0700)]
msgtplui - Edit - Skeletal action buttons

4 years agomsgtplui - Visually wrap long line
Tim Otten [Wed, 16 Jun 2021 08:04:31 +0000 (01:04 -0700)]
msgtplui - Visually wrap long line

4 years agomsgtplui - Move "HTML" and "Text" content into accordions. Use Monaco.
Tim Otten [Wed, 16 Jun 2021 07:50:47 +0000 (00:50 -0700)]
msgtplui - Move "HTML" and "Text" content into accordions. Use Monaco.

4 years agomsgtplui - Show Current/Draft/Original with form widgets
Tim Otten [Wed, 16 Jun 2021 07:27:16 +0000 (00:27 -0700)]
msgtplui - Show Current/Draft/Original with form widgets

4 years agomsgtplui - Edit - Download real msgtpl data. Show tabs with JSON.
Tim Otten [Wed, 16 Jun 2021 07:19:13 +0000 (00:19 -0700)]
msgtplui - Edit - Download real msgtpl data. Show tabs with JSON.

4 years agomsgtplui - Always put normal MsgTpl above its translations
Tim Otten [Tue, 15 Jun 2021 22:00:44 +0000 (15:00 -0700)]
msgtplui - Always put normal MsgTpl above its translations

4 years agomsgtplui - Simplify 'record.*' expressions. Order explicitly on (title,language).
Tim Otten [Tue, 15 Jun 2021 09:51:32 +0000 (02:51 -0700)]
msgtplui - Simplify 'record.*' expressions. Order explicitly on (title,language).

4 years agomsgtplui - ListCtrl - Ensure that standard records are always listed
Tim Otten [Tue, 15 Jun 2021 09:18:07 +0000 (02:18 -0700)]
msgtplui - ListCtrl - Ensure that standard records are always listed

Before: If you have a translation, then it would obscure the existence of the standard/baseline template.

After: The records for the standard/baseline templates and translations are separate.

4 years agomsgtplui - Hide reserved/original values
Tim Otten [Tue, 15 Jun 2021 06:20:45 +0000 (23:20 -0700)]
msgtplui - Hide reserved/original values

4 years agomsgtplui - On "User-Driven" tab, connect "Edit" button to old UI
Tim Otten [Tue, 15 Jun 2021 06:15:25 +0000 (23:15 -0700)]
msgtplui - On "User-Driven" tab, connect "Edit" button to old UI

Relatedly, when the user-returns, cleanup the resulting URL.

4 years agomsgtplui - ListCtrl - Bind the filter-text to "?f=..."
Tim Otten [Tue, 15 Jun 2021 06:03:40 +0000 (23:03 -0700)]
msgtplui - ListCtrl - Bind the filter-text to "?f=..."

4 years agomsgtplui - Add navbar and help box
Tim Otten [Tue, 15 Jun 2021 05:58:47 +0000 (22:58 -0700)]
msgtplui - Add navbar and help box

4 years agomsgtplui - Misc - Add filter box. Cleanup some links. Consolidate list ctrls.
Tim Otten [Tue, 15 Jun 2021 05:07:05 +0000 (22:07 -0700)]
msgtplui - Misc - Add filter box. Cleanup some links. Consolidate list ctrls.

4 years agomsgtplui - Add skeletal listing of msg tpls
Tim Otten [Tue, 15 Jun 2021 01:45:40 +0000 (18:45 -0700)]
msgtplui - Add skeletal listing of msg tpls

4 years agomsgtplui - msgtplui - Require translatable message templates
Tim Otten [Tue, 15 Jun 2021 00:26:34 +0000 (17:26 -0700)]
msgtplui - msgtplui - Require translatable message templates

4 years agomsgtplui - info.xml - Require afform
Tim Otten [Tue, 15 Jun 2021 00:26:22 +0000 (17:26 -0700)]
msgtplui - info.xml - Require afform

4 years agomsgtplui - Skeleton
Tim Otten [Sat, 12 Jun 2021 23:35:14 +0000 (16:35 -0700)]
msgtplui - Skeleton

4 years agoMerge pull request #21585 from eileenmcnaughton/compat
Eileen McNaughton [Thu, 23 Sep 2021 22:11:19 +0000 (10:11 +1200)]
Merge pull request #21585 from eileenmcnaughton/compat

Fix test

4 years agoMerge pull request #21538 from mattwire/subscriptioncleanup
Seamus Lee [Thu, 23 Sep 2021 20:12:03 +0000 (06:12 +1000)]
Merge pull request #21538 from mattwire/subscriptioncleanup

Clean up UpdateBilling/UpdateSubscription/ContributionRecur to use getters

4 years agoFix test
Eileen McNaughton [Thu, 23 Sep 2021 11:42:30 +0000 (23:42 +1200)]
Fix test

Fixes test logic I accidentally voided

4 years agoMerge pull request #21457 from colemanw/searchDisplayAfformDelete
colemanw [Thu, 23 Sep 2021 19:19:56 +0000 (15:19 -0400)]
Merge pull request #21457 from colemanw/searchDisplayAfformDelete

Fixes dev/core#2824 - Handle related Afforms when deleting Search Displays

4 years agoMerge pull request #21577 from jmcclelland/display-backend-recur-options
Matthew Wire [Thu, 23 Sep 2021 17:28:04 +0000 (18:28 +0100)]
Merge pull request #21577 from jmcclelland/display-backend-recur-options

ensure recur options are present on backend cc contribution form.

4 years agoMerge pull request #21484 from JKingsnorth/price-field-id-css
Matthew Wire [Thu, 23 Sep 2021 17:24:08 +0000 (18:24 +0100)]
Merge pull request #21484 from JKingsnorth/price-field-id-css

Add unique class to price field template

4 years agoremove type hint to return bool - we are no longer using the ret value.
Jamie McClelland [Thu, 23 Sep 2021 15:47:13 +0000 (11:47 -0400)]
remove type hint to return bool - we are no longer using the ret value.