Commit Graph

1004 Commits

Author SHA1 Message Date
Haojin Gui 7d78224b99 Remove redundant selectedTables.
When selectedTables is not nil, we are already generating tables
from it. So we don't need to pass it further.
2017-10-20 23:32:13 -07:00
Haojin Gui f8e9f67ae6 Add empty line. 2017-10-20 23:32:13 -07:00
Faissal Elamraoui b94b47d7d5 Merge pull request #483 from TankTheFrank/feature/refresh-browser-on-build
Refresh browser page after binary builds
2017-10-19 15:16:45 +02:00
TankTheFrank c34cb05355 after build the browser is refreshed 2017-10-19 14:23:08 +03:00
qida 9dc796dc1e Merge pull request #1 from beego/master
Merge
2017-10-07 09:46:16 +08:00
Vladimir Alaev a5cddac554 Fix docs generator to ignore all child folders of the vendor folder within project dir 2017-10-04 16:54:05 +03:00
astaxie 65e995ca17 Merge pull request #476 from soonick/master
Only import the correct driver when doing a migration. Fixes #447
2017-09-25 13:00:32 +08:00
Adrian Ancona Novelo 52e3087bb4 Only import the correct driver when doing a migration. Fixes #447 2017-09-25 10:48:08 +08:00
astaxie e90da8f77b Merge pull request #474 from beego/develop
v1.9.1
2017-09-14 08:16:02 +08:00
asta xie ceefd74c9b v1.9.1 2017-09-12 21:23:20 +08:00
Sergey Lanzman fbbb713465 Merge pull request #468 from hamidfzm/master
Generate multipart/form-data consumer for API doc
2017-08-18 21:21:44 +03:00
Hamid FzM ae1f1a9bf4 Remove wrong consumer 2017-08-16 15:42:40 +04:30
Hamid FzM 2936241fe6 Update g_docs.go 2017-08-16 15:28:59 +04:30
Hamid FzM cdec05b5e3 Generate multipart/form-data consumer for API doc 2017-08-16 14:47:07 +04:30
Sergey Lanzman 0405523d35 Merge pull request #462 from gigovich/develop
Fix #438. Fix random module matching from swagger generator.
2017-08-11 22:18:29 +03:00
astaxie b8040300b6 Merge pull request #464 from liusy182/patch-1
Do no omit response description
2017-08-06 22:40:20 +08:00
Liu Siyuan 0a42575490 Do no omit response description
[swagger specs](https://swagger.io/docs/specification/describing-responses/) requires each response to have a description. Otherwise, ignorable error will be generated. This PR makes sure that description field is not omitted in the event that user did not give a description.
2017-08-03 17:32:46 +08:00
Givi Khojanashvili 52c8cb8b6a Fix #438. Fix random module matching from swagger generator. 2017-08-01 16:46:05 +03:00
zhangyanzhe 58bfa5c1ec array format 2017-07-19 15:49:54 +08:00
zhangyanzhe d0b3ede4ec array format 2017-07-19 15:38:04 +08:00
zhangyanzhe 2b04261f9c array format 2017-07-19 14:47:19 +08:00
zhangyanzhe 254174eda6 array format 2017-07-19 14:42:46 +08:00
astaxie aae0cc4587 Merge pull request #456 from beego/develop
v1.9.0
2017-07-19 00:56:52 +08:00
astaxie 3b3da1655d Merge pull request #444 from qida/develop
读取 ref(pk) 值
2017-07-19 00:31:29 +08:00
astaxie d29f8e8ec3 Merge pull request #441 from hudangwei/develop
fix #440 only get these tables information in custom the option ‘-tab…
2017-07-19 00:30:54 +08:00
astaxie 899aede629 Merge pull request #454 from scf2k/fixscan
Fix: docs generator skips everything containing 'vendor'
2017-07-19 00:29:40 +08:00
astaxie b65934a764 v1.9.0 2017-07-19 00:28:53 +08:00
astaxie 3523212500 bee add subcommand server 2017-07-19 00:28:12 +08:00
astaxie 1b03d81aa2 Merge pull request #455 from gnanakeethan/feature/database-migration
[Proposal] Database Migrations
2017-07-17 10:55:31 +08:00
Gnanakeethan Balasubramaniam 552111517e
Revert "Update: complementary fix for removing calling ddlSpec on migration"
The odds of getting this perfectly up is not good.

This reverts commit 3673659178.
2017-07-16 08:13:08 +05:30
Gnanakeethan Balasubramaniam 3673659178
Update: complementary fix for removing calling ddlSpec on migration
file.

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
2017-07-16 07:25:36 +05:30
Gnanakeethan Balasubramaniam 042a4cf244
Update: fixing switch statement
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
2017-07-13 21:24:53 +05:30
Gnanakeethan Balasubramaniam ea63bf253e
UPDATE: creating ddl migration spec is now possible
SUMMARY: The DDL migration can now be generated by adding a `-ddl` and a
proper "alter" or "create" as argument value.

Migration generation had been modified to accommodate the complementary
code for ddl generation

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
2017-07-13 20:30:06 +05:30
Vladimir Alaev 416fb2ec9d Fix: docs generator skips everything containing 'vendor' in path which is wrong. Fixed that to skip only the 'vendor' dir directly under the project root. Also don't even scan a dir beginning with a '.'. 2017-07-12 17:23:53 +03:00
sunqida 5c3807e29a Merge remote-tracking branch 'remotes/beego/develop' into develop 2017-06-08 20:31:10 +08:00
astaxie 34faa8fca6 Merge pull request #445 from eyalpost/develop
support multiple http methods
2017-06-06 09:54:46 +08:00
Eyal Post 0099ef2f92 support multiple http methods 2017-06-05 18:19:45 +03:00
qida 681fc57e16 读取 ref(pk) 值 2017-06-05 09:34:38 +08:00
hudangwei 812b8c4e5b if tag.Comment is empty, the ORM tag string will not contain description 2017-05-30 19:43:40 +08:00
hudangwei f5471680e4 fix tag description,add tag description by getting database table information column comment 2017-05-30 16:21:45 +08:00
astaxie 46fc9d75ae Merge pull request #443 from cfsalguero/year_type
Added MySQL year data type
2017-05-30 13:36:50 +08:00
Carlos Salguero b4bee5cceb Added MySQL year data type 2017-05-29 15:48:57 -03:00
hudangwei f657d22fc7 fix tag description,add tag description by getting database table information column comment 2017-05-26 13:30:28 +08:00
hudangwei 8b01334faf fix #440 only get these tables information in custom the option ‘-tables’ 2017-05-20 13:06:25 +08:00
astaxie 9e4a43f08a Merge pull request #439 from beego/develop
v1.8.4
2017-05-19 21:19:23 +08:00
astaxie 0000e7d7c9 gosimple 2017-05-19 09:41:47 +08:00
astaxie 0d0e583346 v1.8.4 2017-05-18 22:58:13 +08:00
astaxie bacdca6037 Merge pull request #421 from eyalpost/develop
Add support for controller methods with paramaters
2017-05-18 18:28:36 +08:00
astaxie 69760a96ec Merge pull request #436 from franzwilhelm/master
Add complete swagger 3.0 security support for oauth2, apiKey and basic
2017-05-16 11:17:35 +08:00
franzwilhelm e8c0f528a6 add ignore for staticcheck 2017-05-15 00:56:56 +02:00