Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
teebbstudios
teebb
提交
bf0ee249
T
teebb
项目概览
teebbstudios
/
teebb
9 个月 前同步成功
通知
14
Star
16
Fork
4
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
teebb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bf0ee249
编写于
12月 10, 2020
作者:
T
teebbstudios
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
config split and from_email
上级
2aa91c16
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
196 addition
and
179 deletion
+196
-179
CHANGELOG.md
CHANGELOG.md
+5
-1
config/packages/teebb_core.yaml
config/packages/teebb_core.yaml
+13
-178
config/packages/teebb_core/teebb_dashboard_blocks.yaml
config/packages/teebb_core/teebb_dashboard_blocks.yaml
+98
-0
config/packages/teebb_core/teebb_side_menu.yaml
config/packages/teebb_core/teebb_side_menu.yaml
+80
-0
未找到文件。
CHANGELOG.md
浏览文件 @
bf0ee249
...
@@ -3,4 +3,8 @@
...
@@ -3,4 +3,8 @@
0.
1.1:
0.
1.1:
1.
fosckeditorbundle 添加文件图片拖拽上传和图片上传功能
1.
fosckeditorbundle 添加文件图片拖拽上传和图片上传功能
2.
用户组权限调整,不同用户组可设置不同的ckeditor工具栏配置
2.
用户组权限调整,不同用户组可设置不同的ckeditor工具栏配置
3.
文本、长文本字段默认过滤所有HTML标签
3.
文本、长文本字段默认过滤所有HTML标签
\ No newline at end of file
0.
1.2:
1.
邮件发送fromAddress去除硬编码,改为在teebb_core.yaml文件中手动配置且必须配置
2.
Dashboard控制台首页blocks、侧边栏菜单使用单独yaml文件配置
\ No newline at end of file
config/packages/teebb_core.yaml
浏览文件 @
bf0ee249
teebb_core
:
teebb_core
:
#Dashboard 侧边栏菜单
#用于自动检测并获取teebb中的注解配置
side_menu
:
content
:
content
:
label
:
Content
icon
:
fa-file-alt
items
:
-
label
:
Add Content
route
:
teebb_content_create_index
#route_params: {typeAlias: content}
groups
:
[]
-
label
:
Manage Content
route
:
teebb_content_index
groups
:
[]
groups
:
[]
type
:
label
:
Type
icon
:
fa-boxes
items
:
-
label
:
Add Type
route
:
content_create
groups
:
[]
-
label
:
Manage Type
route
:
content_index
groups
:
[]
groups
:
[]
taxonomy
:
label
:
Taxonomy
icon
:
fa-tags
items
:
-
label
:
Add Taxonomy
route
:
taxonomy_create
groups
:
[]
-
label
:
Manage Taxonomy
route
:
taxonomy_index
groups
:
[]
groups
:
[]
other
:
menu
:
label
:
Menu
icon
:
fa-list
items
:
-
label
:
Add Menu
route
:
teebb_menu_create
groups
:
[]
-
label
:
Manage Menu
route
:
teebb_menu_index
groups
:
[]
groups
:
[]
comment
:
label
:
Comment
icon
:
fa-comment
items
:
-
label
:
Manage Comment
route
:
comment_index
groups
:
[]
groups
:
[]
user
:
label
:
User
icon
:
fa-user
items
:
-
label
:
Manage User
route
:
user_people_index
groups
:
[]
-
label
:
User Group
route
:
user_group_index
groups
:
[]
settings
:
system
:
label
:
System
icon
:
fa-tools
items
:
-
label
:
Settings
route
:
teebb_system_option
groups
:
[]
-
label
:
Text Formatter
route
:
teebb_formatter_index
groups
:
[]
groups
:
[]
#dashboard index blocks
blocks
:
-
position
:
top
type
:
teebb.core.block.count
#block service type
class
:
col-xl-3 col-md-6 mb-4
#block class
groups
:
[]
#block show user groups
settings
:
entity_class
:
Teebb\CoreBundle\Entity\Content
#block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
label
:
contents(last month)
#block label
#translation_domain: #default: messages
icon
:
fas fa-file-alt
#block icon
border
:
border-left-primary
#block border
#property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
duration
:
-1 month
#The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
#template: #default template @TeebbCore/Block/count_block.html.twig
-
position
:
top
type
:
teebb.core.block.count
#block service type
class
:
col-xl-3 col-md-6 mb-4
#block class
groups
:
[]
#block show user groups
settings
:
entity_class
:
Teebb\CoreBundle\Entity\Types\Types
#block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
bundle
:
content
label
:
content_types
#block label
#translation_domain: #default: messages
icon
:
fas fa-boxes
#block icon
border
:
border-left-success
#block border
#property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
duration
:
-1 month
#The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
#template: #default template @TeebbCore/Block/count_block.html.twig
-
position
:
top
type
:
teebb.core.block.count
#block service type
class
:
col-xl-3 col-md-6 mb-4
#block class
groups
:
[]
#block show user groups
settings
:
entity_class
:
Teebb\CoreBundle\Entity\User
#block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
label
:
users(last month)
#block label
#translation_domain: #default: messages
icon
:
fas fa-user
#block icon
border
:
border-left-info
#block border
#property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
duration
:
-1 month
#The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
#template: #default template @TeebbCore/Block/count_block.html.twig
-
position
:
top
type
:
teebb.core.block.count
#block service type
class
:
col-xl-3 col-md-6 mb-4
#block class
groups
:
[]
#block show user groups
settings
:
entity_class
:
Teebb\CoreBundle\Entity\Comment
#block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
label
:
comments(last month)
#block label
#translation_domain: #default: messages
icon
:
fas fa-comments
#block icon
border
:
border-left-warning
#block border
#property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
duration
:
-1 month
#The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
#template: #default template @TeebbCore/Block/count_block.html.twig
-
position
:
left
type
:
teebb.core.block.text
settings
:
label
:
Welcome to Teebb
content
:
Teebb Information
template
:
'
@TeebbCore\blocks\dashboard_base_block.html.twig'
-
position
:
left
type
:
teebb.core.block.types
settings
:
label
:
Content Types
bundle
:
content
-
position
:
left
type
:
teebb.core.block.contents
settings
:
label
:
New users
entity_class
:
Teebb\CoreBundle\Entity\User
property
:
createdAt
order
:
DESC
template
:
'
@TeebbCore\blocks\new_users.html.twig'
-
position
:
right
type
:
teebb.core.block.contents
settings
:
label
:
Last contents
entity_class
:
Teebb\CoreBundle\Entity\Content
property
:
createdAt
order
:
DESC
-
position
:
right
type
:
teebb.core.block.contents
settings
:
label
:
Last comments
entity_class
:
Teebb\CoreBundle\Entity\Comment
property
:
createdAt
order
:
DESC
template
:
'
@TeebbCore\blocks\last_comments.html.twig'
mapping
:
mapping
:
directories
:
[
'
%kernel.project_dir%/src'
]
directories
:
[
'
%kernel.project_dir%/src'
]
#邮件发送人配置此项必须配置,请修改为您的配置
from_email
:
address
:
sender@quanweiwei.cn
address_name
:
TEEBB.COM管理员
fly_system
:
fly_system
:
service
:
'
%fly_system_service%'
service
:
'
%fly_system_service%'
#此变量用于生成上传文件的链接
#此变量用于生成上传文件的链接
root_host_url
:
'
%fly_system_host%/uploads'
root_host_url
:
'
%fly_system_host%/uploads'
#文本过滤器用于 文本已格式化字段,长文本已格式化字段,长文本已格式化字段带摘要
filter_settings
:
filter_settings
:
strip_tags
:
strip_tags
:
filter_class
:
Teebb\CoreBundle\TextFilter\StripTagsFilter
filter_class
:
Teebb\CoreBundle\TextFilter\StripTagsFilter
...
@@ -201,6 +31,7 @@ teebb_core:
...
@@ -201,6 +31,7 @@ teebb_core:
filter_class
:
Teebb\CoreBundle\TextFilter\EscapeHtmlFilter
filter_class
:
Teebb\CoreBundle\TextFilter\EscapeHtmlFilter
filter_label
:
teebb.core.form.escape_html_filter
filter_label
:
teebb.core.form.escape_html_filter
#配置页面中额外的assets库,使用TemplateRegister将对应库加入页面
assets
:
assets
:
extra
:
extra
:
transliteration
:
transliteration
:
...
@@ -325,3 +156,7 @@ doctrine:
...
@@ -325,3 +156,7 @@ doctrine:
dir
:
"
%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity"
dir
:
"
%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity"
alias
:
GedmoTree
# (optional) it will default to the name set for the mapping
alias
:
GedmoTree
# (optional) it will default to the name set for the mapping
is_bundle
:
false
is_bundle
:
false
#加入额外配置:控制台首页blocks和边栏菜单
imports
:
-
{
resource
:
teebb_core/
}
\ No newline at end of file
config/packages/teebb_core/teebb_dashboard_blocks.yaml
0 → 100644
浏览文件 @
bf0ee249
teebb_core
:
#dashboard index blocks
blocks
:
-
position
:
top
type
:
teebb.core.block.count
#block service type
class
:
col-xl-3 col-md-6 mb-4
#block class
groups
:
[]
#block show user groups
settings
:
entity_class
:
Teebb\CoreBundle\Entity\Content
#block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
label
:
contents(last month)
#block label
#translation_domain: #default: messages
icon
:
fas fa-file-alt
#block icon
border
:
border-left-primary
#block border
#property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
duration
:
-1 month
#The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
#template: #default template @TeebbCore/Block/count_block.html.twig
-
position
:
top
type
:
teebb.core.block.count
#block service type
class
:
col-xl-3 col-md-6 mb-4
#block class
groups
:
[]
#block show user groups
settings
:
entity_class
:
Teebb\CoreBundle\Entity\Types\Types
#block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
bundle
:
content
label
:
content_types
#block label
#translation_domain: #default: messages
icon
:
fas fa-boxes
#block icon
border
:
border-left-success
#block border
#property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
duration
:
-1 month
#The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
#template: #default template @TeebbCore/Block/count_block.html.twig
-
position
:
top
type
:
teebb.core.block.count
#block service type
class
:
col-xl-3 col-md-6 mb-4
#block class
groups
:
[]
#block show user groups
settings
:
entity_class
:
Teebb\CoreBundle\Entity\User
#block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
label
:
users(last month)
#block label
#translation_domain: #default: messages
icon
:
fas fa-user
#block icon
border
:
border-left-info
#block border
#property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
duration
:
-1 month
#The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
#template: #default template @TeebbCore/Block/count_block.html.twig
-
position
:
top
type
:
teebb.core.block.count
#block service type
class
:
col-xl-3 col-md-6 mb-4
#block class
groups
:
[]
#block show user groups
settings
:
entity_class
:
Teebb\CoreBundle\Entity\Comment
#block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
label
:
comments(last month)
#block label
#translation_domain: #default: messages
icon
:
fas fa-comments
#block icon
border
:
border-left-warning
#block border
#property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
duration
:
-1 month
#The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
#template: #default template @TeebbCore/Block/count_block.html.twig
-
position
:
left
type
:
teebb.core.block.text
settings
:
label
:
Welcome to Teebb
content
:
Teebb Information
template
:
'
@TeebbCore\blocks\dashboard_base_block.html.twig'
-
position
:
left
type
:
teebb.core.block.types
settings
:
label
:
Content Types
bundle
:
content
-
position
:
left
type
:
teebb.core.block.contents
settings
:
label
:
New users
entity_class
:
Teebb\CoreBundle\Entity\User
property
:
createdAt
order
:
DESC
template
:
'
@TeebbCore\blocks\new_users.html.twig'
-
position
:
right
type
:
teebb.core.block.contents
settings
:
label
:
Last contents
entity_class
:
Teebb\CoreBundle\Entity\Content
property
:
createdAt
order
:
DESC
-
position
:
right
type
:
teebb.core.block.contents
settings
:
label
:
Last comments
entity_class
:
Teebb\CoreBundle\Entity\Comment
property
:
createdAt
order
:
DESC
template
:
'
@TeebbCore\blocks\last_comments.html.twig'
config/packages/teebb_core/teebb_side_menu.yaml
0 → 100644
浏览文件 @
bf0ee249
teebb_core
:
#Dashboard 侧边栏菜单
side_menu
:
content
:
content
:
label
:
Content
icon
:
fa-file-alt
items
:
-
label
:
Add Content
route
:
teebb_content_create_index
#route_params: {typeAlias: content}
groups
:
[]
-
label
:
Manage Content
route
:
teebb_content_index
groups
:
[]
groups
:
[]
type
:
label
:
Type
icon
:
fa-boxes
items
:
-
label
:
Add Type
route
:
content_create
groups
:
[]
-
label
:
Manage Type
route
:
content_index
groups
:
[]
groups
:
[]
taxonomy
:
label
:
Taxonomy
icon
:
fa-tags
items
:
-
label
:
Add Taxonomy
route
:
taxonomy_create
groups
:
[]
-
label
:
Manage Taxonomy
route
:
taxonomy_index
groups
:
[]
groups
:
[]
other
:
menu
:
label
:
Menu
icon
:
fa-list
items
:
-
label
:
Add Menu
route
:
teebb_menu_create
groups
:
[]
-
label
:
Manage Menu
route
:
teebb_menu_index
groups
:
[]
groups
:
[]
comment
:
label
:
Comment
icon
:
fa-comment
items
:
-
label
:
Manage Comment
route
:
comment_index
groups
:
[]
groups
:
[]
user
:
label
:
User
icon
:
fa-user
items
:
-
label
:
Manage User
route
:
user_people_index
groups
:
[]
-
label
:
User Group
route
:
user_group_index
groups
:
[]
settings
:
system
:
label
:
System
icon
:
fa-tools
items
:
-
label
:
Settings
route
:
teebb_system_option
groups
:
[]
-
label
:
Text Formatter
route
:
teebb_formatter_index
groups
:
[]
groups
:
[]
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录