Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
teebbstudios
teebb
提交
36764e44
T
teebb
项目概览
teebbstudios
/
teebb
8 个月 前同步成功
通知
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 搜索 >>
提交
36764e44
编写于
8月 17, 2021
作者:
伟
伟伟权
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
0.1.10
上级
4fd464a8
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
141 addition
and
5 deletion
+141
-5
.env
.env
+6
-0
.gitignore
.gitignore
+5
-1
config/packages/lock.yaml
config/packages/lock.yaml
+2
-0
config/packages/security.yaml
config/packages/security.yaml
+12
-4
symfony.lock
symfony.lock
+116
-0
未找到文件。
.env
浏览文件 @
36764e44
...
...
@@ -35,3 +35,9 @@ DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$
###< nelmio/cors-bundle ###
###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=semaphore
###< symfony/lock ###
.gitignore
浏览文件 @
36764e44
...
...
@@ -27,4 +27,8 @@ public/uploads/
###> liip/imagine-bundle ###
/public/media/cache/
###< liip/imagine-bundle ###
\ No newline at end of file
###< liip/imagine-bundle ###
###> phpunit/phpunit ###
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###
config/packages/lock.yaml
0 → 100644
浏览文件 @
36764e44
framework
:
lock
:
'
%env(LOCK_DSN)%'
config/packages/security.yaml
浏览文件 @
36764e44
...
...
@@ -3,7 +3,10 @@ security:
Teebb\CoreBundle\Entity\User
:
algorithm
:
auto
# https://symfony.com/doc/current/security/experimental_authenticators.html
enable_authenticator_manager
:
true
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
providers
:
user_provider
:
entity
:
...
...
@@ -15,18 +18,23 @@ security:
pattern
:
^/(_(profiler|wdt)|css|images|js)/
security
:
false
main
:
anonymous
:
lazy
lazy
:
true
provider
:
user_provider
logout
:
path
:
teebb_user_logout
guard
:
authenticators
:
-
Teebb\CoreBundle\Security\LoginFormAuthenticator
# 弃用,从symfony5.3版本起使用新的认证系统
# guard:
# authenticators:
# - Teebb\CoreBundle\Security\LoginFormAuthenticator
custom_authenticator
:
Teebb\CoreBundle\Security\AppLoginFormAuthenticator
user_checker
:
Teebb\CoreBundle\Security\UserChecker
login_throttling
:
max_attempts
:
3
remember_me
:
secret
:
'
%kernel.secret%'
lifetime
:
604800
# 7 days in seconds
...
...
symfony.lock
浏览文件 @
36764e44
...
...
@@ -46,6 +46,9 @@
"doctrine/dbal": {
"version": "2.10.2"
},
"doctrine/deprecations": {
"version": "v0.5.3"
},
"doctrine/doctrine-bundle": {
"version": "2.0",
"recipe": {
...
...
@@ -186,6 +189,9 @@
"monolog/monolog": {
"version": "2.0.2"
},
"myclabs/deep-copy": {
"version": "1.10.2"
},
"nelmio/cors-bundle": {
"version": "1.5",
"recipe": {
...
...
@@ -219,6 +225,12 @@
"pagerfanta/pagerfanta": {
"version": "v2.3.0"
},
"phar-io/manifest": {
"version": "2.0.3"
},
"phar-io/version": {
"version": "3.1.0"
},
"php": {
"version": "7.3"
},
...
...
@@ -231,9 +243,41 @@
"phpdocumentor/type-resolver": {
"version": "1.1.0"
},
"phpspec/prophecy": {
"version": "1.13.0"
},
"phpstan/phpdoc-parser": {
"version": "0.4.10"
},
"phpunit/php-code-coverage": {
"version": "9.2.6"
},
"phpunit/php-file-iterator": {
"version": "3.0.5"
},
"phpunit/php-invoker": {
"version": "3.1.1"
},
"phpunit/php-text-template": {
"version": "2.0.4"
},
"phpunit/php-timer": {
"version": "5.0.3"
},
"phpunit/phpunit": {
"version": "9.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "9.3",
"ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6"
},
"files": [
".env.test",
"phpunit.xml.dist",
"tests/bootstrap.php"
]
},
"psr/cache": {
"version": "1.0.1"
},
...
...
@@ -249,6 +293,54 @@
"psr/log": {
"version": "1.1.3"
},
"sebastian/cli-parser": {
"version": "1.0.1"
},
"sebastian/code-unit": {
"version": "1.0.8"
},
"sebastian/code-unit-reverse-lookup": {
"version": "2.0.3"
},
"sebastian/comparator": {
"version": "4.0.6"
},
"sebastian/complexity": {
"version": "2.0.2"
},
"sebastian/diff": {
"version": "4.0.4"
},
"sebastian/environment": {
"version": "5.1.3"
},
"sebastian/exporter": {
"version": "4.0.3"
},
"sebastian/global-state": {
"version": "5.0.3"
},
"sebastian/lines-of-code": {
"version": "1.0.3"
},
"sebastian/object-enumerator": {
"version": "4.0.4"
},
"sebastian/object-reflector": {
"version": "2.0.4"
},
"sebastian/recursion-context": {
"version": "4.0.4"
},
"sebastian/resource-operations": {
"version": "3.0.3"
},
"sebastian/type": {
"version": "2.3.4"
},
"sebastian/version": {
"version": "3.0.2"
},
"sensio/framework-extra-bundle": {
"version": "5.2",
"recipe": {
...
...
@@ -426,6 +518,18 @@
"symfony/intl": {
"version": "v5.0.8"
},
"symfony/lock": {
"version": "5.2",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "5.2",
"ref": "a1c8800e40ae735206bb14586fdd6c4630a51b8d"
},
"files": [
"config/packages/lock.yaml"
]
},
"symfony/mailer": {
"version": "4.3",
"recipe": {
...
...
@@ -485,6 +589,9 @@
"symfony/orm-pack": {
"version": "v1.0.8"
},
"symfony/password-hasher": {
"version": "v5.3.4"
},
"symfony/phpunit-bridge": {
"version": "4.3",
"recipe": {
...
...
@@ -521,6 +628,9 @@
"symfony/polyfill-php80": {
"version": "v1.18.0"
},
"symfony/polyfill-php81": {
"version": "v1.23.0"
},
"symfony/process": {
"version": "v5.0.8"
},
...
...
@@ -533,6 +643,9 @@
"symfony/property-info": {
"version": "v5.0.8"
},
"symfony/rate-limiter": {
"version": "v5.3.4"
},
"symfony/routing": {
"version": "4.2",
"recipe": {
...
...
@@ -670,6 +783,9 @@
"teebbstudios/core-bundle": {
"version": "0.1.0"
},
"theseer/tokenizer": {
"version": "1.2.1"
},
"twig/extra-bundle": {
"version": "v3.0.3"
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录