1
0
mirror of https://github.com/beego/bee.git synced 2024-11-23 17:00:56 +00:00
Commit Graph

1113 Commits

Author SHA1 Message Date
Sergey Lanzman
c538bfbc8f Refactor!
create sub packages
delete unused code
delete code from not use command cmdRouter,cmdTest, cmdRundocs
make command plugins
check with gosimple,staticcheck,go vet,unused,unconvert
2017-03-10 11:48:26 +02:00
Sergey Lanzman
74baba4f63 Merge pull request #3 from beego/develop
Develop
2017-03-10 11:44:26 +02:00
astaxie
9db35a8270 Merge pull request #364 from szyhf/master
给bee run增加了一个参数extra,允许watch额外的包(刚忘了要pr到develop)
2017-03-08 11:30:24 +08:00
Back Yu
cc74358320 简化参数extra为ex,并移除了多于的日志 2017-03-07 13:00:37 +08:00
Back Yu
1f6e89a670 允许run命令使用extra参数,watch额外的package。 2017-03-07 12:56:47 +08:00
astaxie
932f16ba4e Merge pull request #361 from beego/develop
bee 1.8.0
2017-03-06 21:59:08 +08:00
astaxie
8eed14a851 bee 1.8.0 2017-03-06 21:33:19 +08:00
astaxie
38f8d6fc56 Merge pull request #358 from sergeylanzman/patch-2
Swagger: add support time.Time and int16
2017-03-05 21:44:18 +08:00
Sergey Lanzman
3b5e381a48 add support time.Time and int16 2017-03-01 12:42:14 +02:00
Faissal Elamraoui
7bd1e415dd Merge pull request #357 from sergeylanzman/patch-1
Update watch.go
2017-02-26 19:12:46 +01:00
Sergey Lanzman
ee3dd8f436 Update watch.go
fix bug with reload static files
before:
on change static file bee reload web page
on change go files bee only reload web page
after:
on change static file bee reload web page
on change go files bee rebuild app without not reload web page.
2017-02-25 22:14:45 +02:00
astaxie
c2161cac3f Merge pull request #356 from radioinmyhead/patch-2
fix GOROOT
2017-02-23 22:58:17 +08:00
radioinmyhead
cf1809a64b fix GOROOT
set goroot by runtime.GOROOT if goroot is empty
2017-02-21 16:30:55 +08:00
Faissal Elamraoui
14eeb07402 Merge pull request #353 from sergeylanzman/improve-live-reload
Improve live reload by adding support for static files
2017-02-14 07:28:27 +01:00
Sergey Lanzman
b867a57d65 improve live reload 2017-02-13 23:05:32 +02:00
astaxie
268a9d8346 Merge pull request #352 from ogero/develop
Fixes #351
2017-02-13 12:34:04 +08:00
Gero
c53a621c52 Fixes #351 2017-02-11 16:54:12 -03:00
astaxie
496f162f9b Merge pull request #350 from amrfaissal/hot-reload
AutoReload support for Beego applications
2017-02-07 11:02:18 +08:00
Faissal Elamraoui
62260c1033 Generate WebSocket client in static/js 2017-01-27 16:57:37 +01:00
Faissal Elamraoui
c5f8b8d28e Add gorilla/websocket to vendor folder 2017-01-23 20:12:40 +01:00
Faissal Elamraoui
3f15b69bcc Send a reload message when AutoBuild is triggered 2017-01-22 22:28:52 +01:00
Faissal Elamraoui
de62ae6043 Start the Reload server (if enabled) 2017-01-22 22:27:20 +01:00
Faissal Elamraoui
24eee99d5b Enable reload through JSON/YAML configuration files 2017-01-22 22:24:52 +01:00
Faissal Elamraoui
4ad45b3cd7 Implements the Reload WebSocket endpoint
It hosts a WebSocket service with a single "/reload" endpoint, to which
a browser can connect to and receive payload or notification from the
server. Each notification can be handled (in the client-side) and reload
the entire web page with the new updates.
2017-01-22 22:14:29 +01:00
astaxie
848618b21e update travis 2016-12-27 20:44:17 +08:00
Faissal Elamraoui
f9d0b2f2fc Merge pull request #347 from amrfaissal/fix-hproseapp
Handle case when appname argument is missing
2016-12-27 09:50:51 +01:00
Faissal Elamraoui
0dbf0c9693 Handle case when appname argument is missing 2016-12-27 09:44:15 +01:00
astaxie
09e6fb26e2 Merge pull request #346 from Lao-liu/develop
fix bee hprose error.
2016-12-27 11:59:00 +08:00
Laoliu
20fdbe6a1a fix bee hprose error. 2016-12-27 09:01:08 +08:00
Faissal Elamraoui
3c676b602c Updated README.md 2016-12-26 22:44:27 +01:00
Faissal Elamraoui
bbe1a4efe3 Merge pull request #344 from amrfaissal/fix-183
hotfix: Configuration loading from JSON and YAML
2016-12-26 13:49:26 +01:00
Faissal Elamraoui
1799601be1 Merge pull request #345 from amrfaissal/develop
This fixes #147
2016-12-25 13:56:47 +01:00
Faissal Elamraoui
3a51d4830c This fixes #147 2016-12-25 13:53:06 +01:00
Faissal Elamraoui
e215969963 This fixes #183
Passes the conf variable by reference to JSON and YAML parsers instead of
a copy.
2016-12-25 13:24:11 +01:00
astaxie
d801cc2469 Merge pull request #343 from amrfaissal/set-version-output-format
Set the output format for bee version
2016-12-25 13:51:22 +08:00
Faissal Elamraoui
059df76c3e Set the output format for bee version
This adds the ability to set the output format (using -o flag) of bee
version command. It supports both JSON and YAML formats.
2016-12-24 14:51:14 +01:00
Faissal Elamraoui
d8b9d96d84 Merge pull request #342 from amrfaissal/bee-dockerize
Dockerize a Beego Web Application
2016-12-23 13:10:21 +01:00
Faissal Elamraoui
040b160ecd Added default base image + New layout for displaying options 2016-12-23 11:53:02 +01:00
Faissal Elamraoui
4ea1715df6 Expose more than one port
This adds the ability to expose more than one port inside the Docker
container.
2016-12-22 22:53:45 +01:00
Faissal Elamraoui
699d76bc95 Ability to specify the base image of the Docker container 2016-12-22 18:29:13 +01:00
Faissal Elamraoui
81c6de6cb3 Ability to dockerize a Beego application
This introduces a new command "dockerize" which will generate
a Dockerfile to allow a Beego Web Application to run inside Docker.
2016-12-22 18:10:45 +01:00
astaxie
77acc749e4 update vendor 2016-12-20 17:02:58 +08:00
astaxie
a02243ba7a Merge pull request #333 from vCaesar/test-pr
Update fsnotify
2016-12-20 16:58:36 +08:00
astaxie
d7433a6e39 Merge pull request #337 from sergeylanzman/add-inet-type
Add inet type for postgresql
2016-12-20 16:58:14 +08:00
astaxie
0a58d03ca0 Merge pull request #334 from amrfaissal/fix-beegen-output
Fix bee generate output in watch.go
2016-12-20 16:57:51 +08:00
astaxie
0b6212575d Merge pull request #335 from sergeylanzman/parse-all-package-only-if-docs-generate
Parse all packages only if docs generate
2016-12-20 16:56:58 +08:00
astaxie
b4a92f7521 Merge pull request #336 from sergeylanzman/go-install-default
Go install default
2016-12-20 16:56:01 +08:00
astaxie
54537ee8ee fix the generate 2016-12-20 16:54:03 +08:00
astaxie
ea51b6e831 Merge pull request #339 from onealtang/master
fix #338 failed to generate swagger doc
2016-12-20 16:52:43 +08:00
tangshancheng
b0928f186f fix #338 failed to generate swagger doc 2016-12-14 23:57:59 +08:00