aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--back-end/src/Content.Publishing.Blog.Admin.csproj6
-rw-r--r--ci/plugins.taskfile.yaml2
-rw-r--r--front-end/package.json2
-rw-r--r--front-end/src/views/Blog/ckeditor/Editor.vue6
-rw-r--r--front-end/src/views/Blog/components/Posts.vue5
-rw-r--r--front-end/src/views/Blog/components/podcast-helpers/EpisodeAdder.vue4
-rw-r--r--lib/admin/package.json2
-rw-r--r--lib/client/package.json2
8 files changed, 16 insertions, 13 deletions
diff --git a/back-end/src/Content.Publishing.Blog.Admin.csproj b/back-end/src/Content.Publishing.Blog.Admin.csproj
index 0d63d90..d782a61 100644
--- a/back-end/src/Content.Publishing.Blog.Admin.csproj
+++ b/back-end/src/Content.Publishing.Blog.Admin.csproj
@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
@@ -13,7 +13,7 @@
<Company>Vaughn Nugent</Company>
<Product>CMNext.Admin</Product>
<Description>A VNLib.Plugins.Essentials administration plugin for the CMNext content publishing platform.</Description>
- <Copyright>Copyright © 2023 Vaughn Nugent</Copyright>
+ <Copyright>Copyright © 2024 Vaughn Nugent</Copyright>
<PackageProjectUrl>https://www.vaughnnugent.com/resources/software/modules/CMNext.Admin</PackageProjectUrl>
<RepositoryUrl>https://github.com/VnUgE/CMNext/tree/master/</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
@@ -33,7 +33,7 @@
</ItemGroup>
<ItemGroup>
- <PackageReference Include="FluentFTP" Version="48.0.3" />
+ <PackageReference Include="FluentFTP" Version="49.0.1" />
<PackageReference Include="Minio" Version="6.0.1" />
<PackageReference Include="VNLib.Plugins.Extensions.Loading" Version="0.1.0-ci0044" />
<PackageReference Include="VNLib.Plugins.Extensions.Validation" Version="0.1.0-ci0044" />
diff --git a/ci/plugins.taskfile.yaml b/ci/plugins.taskfile.yaml
index 3620a4a..de62e00 100644
--- a/ci/plugins.taskfile.yaml
+++ b/ci/plugins.taskfile.yaml
@@ -131,6 +131,8 @@ tasks:
ignore_error: true
- cmd: powershell -Command "rm ./lib/argon2/argon2-specs.pdf"
ignore_error: true
+ - cmd: powershell -Command "rm ./lib/argon2/package.json"
+ ignore_error: true
install-plugin:
cmds:
diff --git a/front-end/package.json b/front-end/package.json
index 0e60e64..c910fc5 100644
--- a/front-end/package.json
+++ b/front-end/package.json
@@ -3,7 +3,7 @@
"private": true,
"version": "0.1.2",
"type": "module",
- "copyright": "Copyright \u00A9 2023 Vaughn Nugent",
+ "copyright": "Copyright \u00A9 2024 Vaughn Nugent",
"description": "The CMNext admin web UI, built with Tailwindcss and Vuejs",
"repository": "https://github.com/VnUgE/CMNext/tree/master/front-end",
"author": "Vaughn Nugent",
diff --git a/front-end/src/views/Blog/ckeditor/Editor.vue b/front-end/src/views/Blog/ckeditor/Editor.vue
index e1ee2ce..b1d6c0b 100644
--- a/front-end/src/views/Blog/ckeditor/Editor.vue
+++ b/front-end/src/views/Blog/ckeditor/Editor.vue
@@ -26,7 +26,7 @@
<div class="">
Search for content by its id or file name.
</div>
- <ContentSearch :blog="$props.blog"/>
+ <ContentSearch/>
</div>
</PopoverPanel>
</Popover>
@@ -70,7 +70,7 @@
<script setup lang="ts">
import { debounce, defer } from 'lodash-es';
-import { computed, ref, toRefs } from 'vue';
+import { computed, defineAsyncComponent, ref, toRefs } from 'vue';
import { useSessionStorage } from '@vueuse/core';
import { tryOnMounted } from '@vueuse/shared';
import { apiCall } from '@vnuge/vnlib.browser';
@@ -78,8 +78,8 @@ import { Popover, PopoverButton, PopoverPanel, Switch } from '@headlessui/vue'
import { Converter } from 'showdown'
import { useCkConfig } from './build.ts'
import { useUploadAdapter } from './uploadAdapter';
-import ContentSearch from '../components/ContentSearch.vue';
import { useStore } from '../../../store';
+const ContentSearch = defineAsyncComponent(() => import('../components/ContentSearch.vue'));
const emit = defineEmits(['change', 'load', 'mode-change'])
diff --git a/front-end/src/views/Blog/components/Posts.vue b/front-end/src/views/Blog/components/Posts.vue
index 5c345f4..647e093 100644
--- a/front-end/src/views/Blog/components/Posts.vue
+++ b/front-end/src/views/Blog/components/Posts.vue
@@ -11,7 +11,7 @@
<template #editor>
<PostEditor
@submit="onSubmit"
- @close="closeEdit"
+ @close="closeEdit(true)"
@delete="onDelete"
/>
</template>
@@ -97,9 +97,10 @@ const onSubmit = async ({post, content } : { post: PostMeta, content: string })
title: 'Saved',
text: `Post '${post.title}' updated`,
})
+
+ refresh();
})
}
- refresh();
}
const onDelete = async (post: PostMeta) => {
diff --git a/front-end/src/views/Blog/components/podcast-helpers/EpisodeAdder.vue b/front-end/src/views/Blog/components/podcast-helpers/EpisodeAdder.vue
index e8b9ddd..e770761 100644
--- a/front-end/src/views/Blog/components/podcast-helpers/EpisodeAdder.vue
+++ b/front-end/src/views/Blog/components/podcast-helpers/EpisodeAdder.vue
@@ -71,7 +71,7 @@
</template>
<script setup lang="ts">
-import { ref, reactive, computed } from 'vue';
+import { ref, reactive, computed, defineAsyncComponent } from 'vue';
import { PodcastEntity, getPodcastForm } from './podcast-form'
import {
Dialog,
@@ -83,10 +83,10 @@ import {
Popover,
Switch
} from '@headlessui/vue'
-import ContentSearch from '../ContentSearch.vue'
import { apiCall, debugLog } from '@vnuge/vnlib.browser';
import { ContentMeta } from '@vnuge/cmnext-admin';
import { useStore } from '../../../../store';
+const ContentSearch = defineAsyncComponent(() => import('../ContentSearch.vue'));
const emit = defineEmits(['submit'])
const store = useStore()
diff --git a/lib/admin/package.json b/lib/admin/package.json
index 11a6915..5856d9b 100644
--- a/lib/admin/package.json
+++ b/lib/admin/package.json
@@ -3,7 +3,7 @@
"version": "0.1.2",
"author": "Vaughn Nugent",
"description": "A browser client library for CMNext admin UI development",
- "copyright": "Copyright \u00A9 2023 Vaughn Nugent",
+ "copyright": "Copyright \u00A9 2024 Vaughn Nugent",
"repository": "https://github.com/VnUgE/CMNext/tree/master/lib/admin",
"output_dir": "bin",
"type": "module",
diff --git a/lib/client/package.json b/lib/client/package.json
index c5e0f04..54e71b2 100644
--- a/lib/client/package.json
+++ b/lib/client/package.json
@@ -2,7 +2,7 @@
"name": "@vnuge/cmnext-client",
"version": "0.1.2",
"type": "module",
- "copyright": "Copyright \u00A9 2023 Vaughn Nugent",
+ "copyright": "Copyright \u00A9 2024 Vaughn Nugent",
"author": "Vaughn Nugent",
"description": "A browser client library to access your CMNext content from its http static storage",
"repository": "https://github.com/VnUgE/CMNext/tree/master/lib/client",