Faissal Elamraoui
e57cc7b94e
This makes sure default config is always loaded
...
When loading configuration from Beefile or bee.json default values are
not loaded. This fixes that behaviour and makes sure defaults are loaded
and overrided if present in Beefile/bee.json.
2017-03-13 20:34:04 +01:00
Faissal Elamraoui
426237fefe
Fixes configuration loading since last changes
2017-03-12 23:24:50 +00:00
Faissal Elamraoui
4ef1a0e80e
Merge pull request #374 from sergeylanzman/linters
...
Add Go linters
2017-03-11 22:26:07 +00:00
Sergey Lanzman
513debab13
update travis.yml
2017-03-11 11:03:45 +02:00
Sergey Lanzman
feea8877c0
go vet
...
go simple
golint
structcheck
staticcheck
unused
unconvert
2017-03-11 10:57:06 +02:00
astaxie
3d5b13d84e
Merge pull request #370 from sergeylanzman/make-log-for-beego-developer
...
Make logs for beego developer, not for bee developer
2017-03-11 15:36:37 +08:00
Sergey Lanzman
380cce650e
Update logger.go
2017-03-11 09:14:24 +02:00
astaxie
78836f0a4c
Merge pull request #369 from sergeylanzman/merge-default-config-with-config-file
...
merge default config with config file
2017-03-11 12:24:45 +08:00
astaxie
0e79cb596e
Merge pull request #368 from sergeylanzman/add-notify-on-faild-build
...
add notify on build fail
2017-03-11 12:23:49 +08:00
Sergey Lanzman
abf2b4a4cb
1. Make logs for beego developer not for bee developer
...
2. Fix debug mode
2017-03-10 20:32:22 +02:00
Sergey Lanzman
c782720cb7
merge default config with config file
2017-03-10 20:13:42 +02:00
Sergey Lanzman
dacee6ba16
add notify on fails build
2017-03-10 20:04:49 +02:00
astaxie
6dce4df2cb
Merge pull request #362 from sergeylanzman/refactor
...
Refactor
2017-03-10 18:58:13 +08:00
Sergey Lanzman
c1a60c0ec3
update travis.yml
2017-03-10 11:49:31 +02:00
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