1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-24 21:30:54 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Witaya Tospitakkul
bd1b421491 fix: adding test for issue due to testing is not reflect changed 2019-01-25 09:04:01 +07:00
Witaya Tospitakkul
920207f72c add testing for ParseForm when form post has a slice in body 2019-01-25 00:38:14 +07:00
JessonChan
0d54bbff02 make staticcheck happy 2019-01-22 19:09:57 +08:00
Ruben Cid
5c407ff2e3 Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
astaxie
8f6bce3b87 fix test case 2018-07-20 14:26:43 +08:00
astaxie
aa8f7bc146 fix ineffectual 2017-04-28 22:36:28 +08:00
astaxie
3e29078f68 add check ineffect and gofmt 2017-04-28 21:38:08 +08:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
Zaaksam
11ef5929aa update TestParseForm 2016-09-02 16:08:04 +08:00
Joshua Santos
e0393b721c Change meta to required, and refactor a bit to cover edge cases 2016-06-30 10:32:53 -07:00
Joshua Santos
8917fe44a9 Add test functions 2016-06-28 16:31:45 -07:00
Joshua Santos
21c7821692 Add test function 2016-06-28 16:24:32 -07:00
astaxie
bcb1db256d golint templatefunc 2015-09-08 23:41:41 +08:00
Sergey Shcherbina
0e3fe64c69 Added TestMapGet 2015-08-20 19:04:43 +05:00
Black.Lee
18659e16ba add compare_not/not_nil methods for template 2015-01-05 16:38:57 +08:00
astaxie
b9fdd67519 add test case fot date & stringbool 2014-11-04 16:39:17 +08:00
astaxie
710f5b6234 fix the test fun for pull request 873 2014-10-20 22:23:29 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
ea6982fcea beego: template fund when the start> len(bt) 2014-08-05 23:52:06 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
Vangelis Tsoumenis
4994d36b66 templateform.RenderForm now renders textarea
When RenderForm encounters a field with the structTag `form` value
type `textarea` it renders an actual <textarea> html tag.
2014-06-29 20:49:56 +02:00
Vangelis Tsoumenis
3fe9e6a28a extract func parseFormTag from templatefunc.RenderForm
Extracted a func `parseFormTag` that takes a reflect.StructField
and returns the different positional parts of the `form` structTag
with default values as documented in
http://beego.me/docs/mvc/view/view.md#renderform

This makes RenderForm shorter and makes it possible to test the
parsing separately.
2014-06-29 20:49:08 +02:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
a65ad1a4bc fix the time test case 2014-05-31 14:28:44 +08:00
Michael
61008fe75c udpated timezone in templatefunc_test. changed error message to be more descriptive when tests fail 2014-05-30 14:12:21 -05:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
astaxie
19119e99f7 move utils to utils libs & func move to templatefunc 2013-12-12 22:25:08 +08:00