1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-30 20:15:47 +00:00
Commit Graph

3124 Commits

Author SHA1 Message Date
astaxie
bf429a3a20 Merge pull request #762 from pdf/pointer_field_support
Add support for basic type pointer fields
2014-08-22 13:41:58 +08:00
astaxie
f8ff79d77d Merge pull request #764 from smallfish/master
Update README
2014-08-22 13:41:01 +08:00
陈小玉
e9487d3571 Update README 2014-08-22 13:32:54 +08:00
Peter Fern
d7c3727f96 Add support for basic type pointer fields
Allows models like:

```
type User struct {
	Id    int64
	Name  string
	Email *string `orm:"null"`
}
```

This helps a lot when doing JSON marshalling/unmarshalling.

Pointer fields should always be declared with the NULL orm tag for sanity, this
probably requires documentation.
2014-08-22 14:25:32 +10:00
astaxie
03eb1fc104 toolbox: add notify when add & delete task 2014-08-21 15:56:41 +08:00
astaxie
0a967875da Merge pull request #757 from smallfish/develop
Add new function SetBasicAuth, and update README
2014-08-21 09:01:45 +08:00
陈小玉
6ae8bc1a16 Update README 2014-08-21 00:08:08 +08:00
陈小玉
e70537f8b3 Update README 2014-08-21 00:03:03 +08:00
smallfish
9a583323a8 Add SetBasicAuth function for HTTP Auth 2014-08-20 23:36:58 +08:00
astaxie
ff9c8d94e6 Merge pull request #753 from smallfish/develop
format comments
2014-08-20 16:40:26 +08:00
astaxie
7f977a0c8c beego: change the colour 2014-08-20 11:54:25 +08:00
astaxie
aaabeff44f change the route info 2014-08-20 10:59:38 +08:00
smallfish
f85ac088c3 format comments 2014-08-19 16:48:30 +08:00
astaxie
26da23266a Merge branch 'master' into develop 2014-08-19 09:49:07 +08:00
astaxie
80274684e0 context: redirect should writer to response instantly 2014-08-19 09:48:21 +08:00
astaxie
be005f9774 Merge pull request #750 from smallfish/develop
Update httplib support read data from response buffer, add some testcase...
2014-08-18 21:33:02 +08:00
smallfish
c16b7be9ac rollback the ToFile func implement, and add testcase 2014-08-18 21:29:45 +08:00
smallfish
de87529387 Update httplib support read data from response buffer, add some testcases 2014-08-18 21:01:49 +08:00
astaxie
c4fa17921e comments for godocs 2014-08-18 16:44:40 +08:00
astaxie
724137e605 Merge branch 'master' into develop 2014-08-18 16:42:16 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
05089be427 Merge pull request #749 from smallfish/master
rename SetAgent and ToXML, and update some testcase
2014-08-18 15:07:11 +08:00
smallfish
7668c54d05 update testcase for httplib 2014-08-18 15:03:34 +08:00
smallfish
86752a55b6 rename SetAgent and ToXML 2014-08-18 15:03:10 +08:00
astaxie
e07d780dcf update the router info 2014-08-18 15:00:27 +08:00
astaxie
e566322643 beego: change the version from 1.4.0 to 1.3.2 2014-08-18 14:46:43 +08:00
astaxie
51ee1e77c2 beego: close the file when finish init 2014-08-18 14:42:17 +08:00
astaxie
986e91b7d6 beego: update the debug info rules 2014-08-18 14:35:43 +08:00
astaxie
8b8638c507 Merge pull request #748 from smallfish/master
Remove some unnecessary code
2014-08-17 21:36:10 +08:00
smallfish
d27c5c8daf Remove some unnecessary code 2014-08-17 21:13:29 +08:00
astaxie
86121deac4 Merge pull request #747 from francoishill/patch-12
Another change to match with logs/log.go (and RFC 5424 specs)
2014-08-16 10:10:16 +08:00
astaxie
6b02e1e9d4 Merge pull request #746 from francoishill/patch-11
To match with logs/log.go (and RFC 5424 specs)
2014-08-16 10:09:32 +08:00
astaxie
83696d95c3 Merge pull request #745 from francoishill/patch-10
Makes more sense to Use Debug instead of Info?
2014-08-16 09:40:01 +08:00
Francois
7be8114616 To match with logs/log.go (and RFC 5424 specs) 2014-08-15 21:30:59 +02:00
Francois
1dbbb89ad1 To match with logs/log.go (and RFC 5424 specs) 2014-08-15 21:12:57 +02:00
Francois
75904effd9 Makes more sense to Use Debug instead of Info? 2014-08-15 21:11:16 +02:00
astaxie
cd9e614a71 plugins: basic auth & cors 2014-08-15 17:15:20 +08:00
astaxie
c1234e7c6d fix the responseWriter 2014-08-15 15:24:46 +08:00
astaxie
b611b9dab6 change the adminui link 2014-08-15 15:19:35 +08:00
astaxie
cad3da337a toolbox: fix the program name 2014-08-15 15:17:11 +08:00
astaxie
3969cd3b40 toolbox: improve the profile 2014-08-15 15:09:59 +08:00
astaxie
f4867aad5a Merge pull request #744 from lei-cao/develop
ajax refresh gc message
2014-08-15 14:46:37 +08:00
Lei Cao
17006cfb26 ajax refresh gc message 2014-08-15 14:24:55 +08:00
astaxie
7d1b03ee5d toolbox: fix the test case 2014-08-15 00:14:30 +08:00
astaxie
84a4379f0d Merge pull request #739 from lei-cao/develop
Added the UI for Admin monitor page
2014-08-14 23:57:09 +08:00
astaxie
ab71201c96 Merge pull request #741 from smallfish/master
Update ctx.WriteString multiple buf output
2014-08-14 23:56:20 +08:00
Lei Cao
c347dd9e7b Fix the comments and deleted the println 2014-08-14 23:50:15 +08:00
smallfish
75e2611cc4 Update ctx.WriteString multiple buf output 2014-08-14 21:37:52 +08:00
Lei Cao
d314d12c77 Added the UI for Admin monitor page 2014-08-14 17:35:23 +08:00
astaxie
564c3bbeb5 migration: update the debug error 2014-08-14 13:44:05 +08:00