Commit Graph

93 Commits

Author SHA1 Message Date
Ming Deng 29e5fadf6a Bee fix command 2020-10-15 22:10:45 +08:00
Ming Deng e0fd237002 add dev githook command 2020-10-09 23:35:22 +08:00
Ming Deng cef7185b35 Bee new using v2.0 beego 2020-10-07 16:36:04 +08:00
wangle 9c63635169 add cmd 'bee update' to update self
just notice once a day if there is a new version
2020-08-09 15:27:37 +08:00
wangle e0ea0abf5b Automatic update bee every day
Backup only when content changes
Fix the version
2020-08-09 15:27:37 +08:00
askuy 3e5f9cf213 Revert "Change bee version"
This reverts commit e0ce20407c.
2020-07-27 13:13:23 +08:00
qiantao dbb41fa430 1. default gopath=false,
2. fix error work path.
2020-07-26 10:26:38 +08:00
wangle e0ce20407c Change bee version 2020-07-26 10:24:52 +08:00
yitea f3240109bf bee new uses go mod by default 2020-07-18 22:09:28 +08:00
yitea adf3cc850f bee pro remove go dependence 2020-07-18 10:45:50 +08:00
qiantao 8893ad2d13 generate go.mod skip Minor version. 2020-07-18 10:45:50 +08:00
qiantao fccdcbbeda fix #477 2020-07-18 10:45:50 +08:00
yitea 2c329fd606 support beego pro migration exec sql 2020-07-11 17:44:39 +08:00
yitea 8758f6eaa1 beego pro init 2020-07-04 22:58:03 +08:00
qiantao 9433a7b66f 1. new,api,hprose 命令增加两个参数 [-module=true] [-beego=v1.12.1] 用于生成go module项目
2. generate,migrate命令不再打印GOPATH.
3. pack命令排除。
4. run命令支持传递ldflags参数
5. fix watch file bug.ignoredFilesRegExps数组对每个文件增加$,防止目录存在tmp的情况
6. getPackagePath函数被调用时如果找不到GOPATH,则看看工程有没有go.mod 有就当做go module项目处理。
7. .travis.yml检查时排除/pkg/mod/目录
2020-06-25 22:29:27 +08:00
Waleed Gadelkareem ad695cd8c6 Merge branch 'develop' of github.com:beego/bee into develop
# Conflicts:
#	cmd/commands/dlv/dlv_amd64.go
#	go.mod
#	go.sum
2020-06-20 11:58:52 +02:00
askuy 8ebb7977f9 bee update version 2020-06-20 12:26:28 +08:00
yitea f7419c24fc update delve version 2020-06-20 11:13:58 +08:00
Waleed Gadelkareem f5cc7abe8d fix: Fix github.com/go-delve/delve upgrade error 2020-06-19 20:02:57 +02:00
Waleed Gadelkareem b1dbdd023c fix: Fix github.com/go-delve/delve import error and add go mod 2020-06-19 17:15:22 +02:00
Faissal Elamraoui 6a86284cec
Merge pull request #586 from cjereme/fix/infosec-output-security
Fixes #536
2019-04-11 07:34:49 +02:00
CodeLingoBot 4562f47f4d Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingoBot <bot@codelingo.io>
2019-03-21 16:17:56 +13:00
cjereme 0f9b9ea345 Update loggging information on bee migrate 2019-03-07 22:14:52 -08:00
Faissal Elamraoui de82e68f73
Merge pull request #544 from dotSlashLu/dev
Introduce new "sqlconn" attribute into app.conf
2019-01-24 22:42:36 +01:00
Faissal Elamraoui 231e90d274 Kill the server process gracefully on Windows
See discussion in pull request #569
2019-01-23 10:21:40 +01:00
Faissal Elamraoui 4b7edb7235
Merge pull request #559 from s00500/develop
Adds  "-dir" option to migrate command to set migrations directory
2019-01-16 07:47:03 +01:00
Lukas Bachschwell c5099ba2a0 Update migrate description for dir option 2019-01-15 18:38:10 +01:00
Faissal Elamraoui d06f56566c
Merge pull request #563 from luhuisicnu/develop
Use quoted strings in bee help api
2019-01-10 08:47:27 +01:00
Faissal Elamraoui 12019e22af
Merge pull request #569 from sangheee/develop
Kill the server process gracefully
2019-01-10 08:30:18 +01:00
Tavee Khunbida df31f04b26 Fix accidently removed time.Sleep 2019-01-08 22:21:19 +07:00
Tavee Khunbida d24c05d83e Fix staticcheck failed - should use time.Until instead of t.Sub(time.Now()) (S1024) 2019-01-08 01:03:58 +07:00
Tavee Khunbida 79d6746aa2 Fix staticcheck failed - should use time.Until instead of t.Sub(time.Now()) (S1024) 2019-01-08 01:02:14 +07:00
Tavee Khunbida 19be52dc8c Fix panic on running tests for newly generated project 2019-01-08 00:34:51 +07:00
sanghee 87a287cac2 Remove comments and add error handling 2019-01-04 23:28:36 +09:00
sanghee 8252ea9f88 When restarting, terminate process gracefully 2019-01-04 23:04:38 +09:00
Hank.Lu babd8d04b4
Update hprose.go
db连接信息使用双引号包含
2018-12-06 15:01:38 +08:00
Hank.Lu 5ba90258a4
Update apiapp.go
db连接信息使用双引号包含
2018-12-06 15:00:12 +08:00
Lukas Bachschwell 10a2e56df0 Fixing absolute path for dir option of migration 2018-11-12 13:58:15 +01:00
Lukas Bachschwell 3d977edbb4 Adding dir parameter to migrate command 2018-11-12 13:10:43 +01:00
Franz Wilhelm von der Lippe 6689e25d6f Add support for apps outside of gopath with go modules, fixes #549 2018-10-06 13:35:26 +02:00
dotSlashLu cb2fae3e68 cmd/api: put sqlconn to app.conf 2018-09-13 16:09:45 +08:00
dotSlashLu 393e315ba5 cmd/new: unify variable naming convention with cmd/api
camelCase should be the standard anyway
2018-09-13 14:51:09 +08:00
astaxie 5ed819a025 version 1.10.0 2018-07-22 12:06:22 +08:00
astaxie 1fb0bebe30
Merge pull request #516 from qida/master
Update ignoredFilesRegExps
2018-07-21 22:59:18 +08:00
astaxie 25a2684240
Merge pull request #522 from lixiangzhong/master
Update watch.go
2018-07-21 22:58:48 +08:00
astaxie ecd8896cf3
Merge pull request #530 from Medicean/master
fix bee.json & Beefile watch_ext doesn't work
2018-07-21 22:28:38 +08:00
astaxie a386880832
Merge pull request #537 from wilhelmguo/master
Support extra args to run application.
2018-07-21 22:27:53 +08:00
Codeb Fan cd82742af9 Support extra args to run application. 2018-06-26 18:07:49 +08:00
Medicean 25063a62c4 fix bee.json & Beefile watch_ext doesn't work 2018-06-11 18:01:35 +08:00
qida c1896dd4cf
Update ignoredFilesRegExps
解决了在执行 `bee run -gendoc=true` 时,更新`commentsRouter_controllers.go`文件导致多次触发"build"的bug。
2018-03-27 15:08:24 +08:00