Commit Graph

328 Commits

Author SHA1 Message Date
Michael Snoyman
cb51f4fa8e Added liftHandler function 2010-07-15 18:05:44 +03:00
Michael Snoyman
839efad98b False instead of True in Crud 2010-07-15 01:35:34 +03:00
Michael Snoyman
db7dfcbefd Added Html' and get404 2010-07-13 11:17:25 +03:00
Michael Snoyman
d8ece1db78 Updated documentation 2010-07-13 09:36:20 +03:00
Michael Snoyman
e2eb7d3315 Migrated to WAI 0.2 2010-07-13 00:12:59 +03:00
Michael Snoyman
d5704fb65d E-mail validation via email-validate 2010-07-11 10:12:33 +03:00
Michael Snoyman
93d71a4779 Added email field 2010-07-11 10:05:05 +03:00
Michael Snoyman
ecd39ed587 Added jsonRaw function 2010-07-11 07:25:56 +03:00
Michael Snoyman
9f75a77fcc Unwrapped type for jqueryDayField et al 2010-07-10 22:15:24 +03:00
Michael Snoyman
0f1378a013 Widgets only create script and style tags when necessary 2010-07-10 21:56:35 +03:00
Michael Snoyman
2c0434c431 Added addJavaScript for widgets 2010-07-10 21:48:16 +03:00
Michael Snoyman
7d273861e2 Better doc for setSession 2010-07-10 21:44:10 +03:00
Michael Snoyman
a14f232f18 New sig for basicHandler 2010-07-09 15:21:46 +03:00
Michael Snoyman
43494c0557 Setting ultimate dest with the isAuthorized function 2010-07-07 22:55:17 +03:00
Michael Snoyman
d6509266f4 Fix optionalFieldHelper 2010-07-07 17:20:24 +03:00
Michael Snoyman
2a71c7ab9b Unified fields and inputs 2010-07-07 07:12:04 +03:00
Michael Snoyman
9fde607bd8 Fancy form widgets 2010-07-07 06:21:32 +03:00
Michael Snoyman
5354c03a2c Autocomplete form widget 2010-07-06 22:36:20 +03:00
Michael Snoyman
5d8ee5e7fb Renamed Routes to Route 2010-07-06 20:17:00 +03:00
Michael Snoyman
32ef86c295 AuthResult 2010-07-06 12:59:39 +03:00
Michael Snoyman
ef7d27df7c Renamings in Form 2010-07-06 10:42:58 +03:00
Michael Snoyman
af46ece3ed Hamlet adds ToHtml typeclass 2010-07-06 09:15:55 +03:00
Michael Snoyman
55e0af467d Added JqueryDay and NicHtml newtypes 2010-07-06 09:14:18 +03:00
Michael Snoyman
6d05c9ec30 Specify label and tooltip in field attributes 2010-07-05 22:43:41 +03:00
Michael Snoyman
c71821a5c9 Added time field 2010-07-04 08:21:41 +03:00
Michael Snoyman
2289400d7a Hamlet html-angle-brackets change 2010-07-04 01:28:15 +03:00
Michael Snoyman
fcfd1559ca Minor fix in atom 2010-07-04 01:00:50 +03:00
Michael Snoyman
56240984f3 A bunch of minor additions for forms 2010-07-02 13:36:45 +03:00
Michael Snoyman
c7f1669ac0 Yesod routes must fulfill equality constraint 2010-07-02 09:37:17 +03:00
Michael Snoyman
879d5657ba Remove old content from Form module 2010-07-02 09:22:15 +03:00
Michael Snoyman
65d8e2febd Added blog sample 2010-07-02 09:19:26 +03:00
Michael Snoyman
f2e71a6c00 htmlField and fixed auth 2010-07-02 07:18:39 +03:00
Michael Snoyman
be3235a0b2 Added maybeAuthorized 2010-07-02 07:18:08 +03:00
Michael Snoyman
d8fca59025 Semi-working forms based on widgets
Cool feature: automatically include a Javascript library for a
datepicker when you need a day field.
2010-07-01 22:16:56 +03:00
Michael Snoyman
8f1f8537fe Began porting forms to widgets 2010-07-01 20:46:16 +03:00
Michael Snoyman
3ed97f4cfc Switch Routes back to type family.
There appears to be a bug in GHC, but I'm not certain. Look at the
output from compiling the previous commit; some kind of interaction with
a DataInstD and deriving instances.
2010-07-01 17:55:00 +03:00
Michael Snoyman
5568530a5d Added extractBody 2010-07-01 17:19:42 +03:00
Michael Snoyman
e76f380cb5 Initial widgets support 2010-07-01 16:21:49 +03:00
Michael Snoyman
f49c16c3ba Support for files in forms 2010-07-01 08:41:14 +03:00
Michael Snoyman
53f7837cff Added a few incomplete functions to Form 2010-06-30 23:17:00 +03:00
Michael Snoyman
1a375e8fb4 Merged Yesod.Form and yesod.Formable 2010-06-30 22:41:47 +03:00
Michael Snoyman
95047029f8 Some documentation updates
Next target for cleanup: Yesod.Form, Yesod.Formable and
Yesod.Helpers.Crud.
2010-06-30 21:55:33 +03:00
Michael Snoyman
ea48760294 Combined authFacebook and authFacebookPerms 2010-06-30 21:45:42 +03:00
Michael Snoyman
058b738b4a Added sendResponse function 2010-06-30 21:43:48 +03:00
Michael Snoyman
e32c5b9a53 Static file serving: extensible mime-type dictionary 2010-06-30 21:33:32 +03:00
Michael Snoyman
6ce79d673f setLanguage uses user session 2010-06-30 21:21:49 +03:00
Michael Snoyman
5bed76f067 redirect uses redirectParams 2010-06-30 21:19:24 +03:00
Michael Snoyman
0652fae94f Cleaned up Yesod.Handler function names 2010-06-30 21:16:00 +03:00
Michael Snoyman
d34f44fd53 More sane Yesod.Request lookup functions 2010-06-30 21:11:15 +03:00
Michael Snoyman
729751f742 Fixed type signature in some functions in Yesod typeclass 2010-06-30 20:46:47 +03:00
Michael Snoyman
ac8d0fb800 Better signature for errorHandler 2010-06-30 20:39:33 +03:00
Michael Snoyman
949e3bff2f Methods must be upper case 2010-06-30 20:38:32 +03:00
Michael Snoyman
0e6f32f4a6 Subsites working with new web-routes-quasi 2010-06-30 14:24:36 +03:00
Michael Snoyman
2f17cda10d Routes is data family, not type family 2010-06-30 12:44:57 +03:00
Michael Snoyman
c91a4ada56 Changes reflecting web-routes-quasi modifications.
Minimal changes to get hello world working.
2010-06-30 12:23:55 +03:00
Michael Snoyman
f7f42cad1d Facebook support in auth 2010-06-29 09:35:49 +03:00
Michael Snoyman
a8e6485e46 GHandler is a newtype (gives better compiler errors) 2010-06-29 09:11:05 +03:00
Michael Snoyman
d2f0194163 Replace ContT with MEitherT in Handler monad 2010-06-29 09:04:26 +03:00
Michael Snoyman
e4dd6ddd2c persistent 0.1 2010-06-29 00:57:14 +03:00
Michael Snoyman
b8c74e86ff Fixes for CGI scripts in a subpath 2010-06-29 00:35:09 +03:00
Michael Snoyman
ed2f89ca59 YesodBreadcrumbs 2010-06-24 22:12:38 +03:00
Michael Snoyman
31af9ec792 persistent changes 2010-06-20 11:18:54 +03:00
Michael Snoyman
bc7fc91606 BlazeHtml 0.1 2010-06-20 10:34:14 +03:00
Michael Snoyman
72aad8659d persistent changes 2010-06-20 10:33:55 +03:00
Michael Snoyman
08ad4709c0 Replacing dash in static files 2010-06-16 08:46:49 +03:00
Michael Snoyman
8101113505 Removed buffering (was killing performance) 2010-06-15 12:07:56 +03:00
Michael Snoyman
cb15ae78f4 Handler is entirely transformers 2010-06-15 11:49:18 +03:00
Michael Snoyman
c60cc6ab21 Handler writers: Endos instead of lists 2010-06-15 11:11:11 +03:00
Michael Snoyman
aceab32999 Beginning of converting Handler to Cont monad 2010-06-15 11:08:57 +03:00
Michael Snoyman
809aa256f7 Exposing check function 2010-06-13 16:07:58 +03:00
Michael Snoyman
3aa2636676 Formable instances and sealRow 2010-06-10 10:04:32 +03:00
Michael Snoyman
48d8ac3085 hlint 2010-06-10 00:33:03 +03:00
Michael Snoyman
f8c157bb42 Simplified Formable type class again 2010-06-09 16:39:16 +03:00
Michael Snoyman
758b647de6 More power Forms (getting ugly...) 2010-06-09 13:56:26 +03:00
Michael Snoyman
91da0ff1e5 Removed SealedForm(let) 2010-06-09 10:34:58 +03:00
Michael Snoyman
93ad24f969 Sorted Contrib stuff into regular hierarchy 2010-06-09 10:26:54 +03:00
Michael Snoyman
59c56c1256 Cleaned up warnings 2010-06-09 10:14:17 +03:00
Michael Snoyman
f76d5a6442 Integrate Contrib 2010-06-09 10:11:13 +03:00
Michael Snoyman
f99852fd0f Tests running again 2010-06-09 09:51:00 +03:00
Michael Snoyman
d57dc78983 Removed convertible-text 2010-06-09 09:48:21 +03:00
Michael Snoyman
7568bec3c4 ToContent typeclass 2010-06-09 09:28:26 +03:00
Michael Snoyman
8a20a416ba ContentType is a String 2010-06-09 09:21:47 +03:00
Michael Snoyman
2ba7dc6780 SealedForm keeps list of errors 2010-06-08 23:32:24 +03:00
Michael Snoyman
3708445f7a Cleaned up formlet interface slightly 2010-06-08 23:26:35 +03:00
Michael Snoyman
1236bbeb40 Local formlet implementation with inline error messages 2010-06-08 22:43:51 +03:00
Michael Snoyman
a2d2192b9c Compile with newest Hamlet 2010-06-08 21:51:55 +03:00
Michael Snoyman
46b6dda084 Added delete confirmation line for crud 2010-06-08 19:55:35 +03:00
Michael Snoyman
2947c3b4b6 Initial inclusion of persistent support 2010-06-06 21:55:48 +03:00
Michael Snoyman
7262c30c74 More sophisticated subsite support 2010-06-06 21:51:26 +03:00
Michael Snoyman
31fffcf5d4 Migration to hamlet 3 2010-06-06 01:53:55 +03:00
Michael Snoyman
56ac260207 isAuthorized 2010-06-05 21:25:32 +03:00
Michael Snoyman
3ba6be616f Removed some FIXMEs 2010-05-24 14:35:38 +03:00
Michael Snoyman
30e1739bf8 web-routes-quasi 0.3 2010-05-21 13:46:53 +03:00
Michael Snoyman
ae43848001 clientsession changes 2010-05-21 09:41:33 +03:00
Michael Snoyman
7762559c86 Monad instance import, wai(-extra) version 2010-05-21 08:00:54 +03:00
Michael Snoyman
712110a2ef Removed web-encodings dependency 2010-05-20 22:21:26 +03:00
Michael Snoyman
aa770f7622 Fix slash to underscore for static 2010-05-20 14:51:22 +03:00
Michael Snoyman
8dc59bf113 Fixed atom feeds 2010-05-16 21:06:31 +03:00
Michael Snoyman
7d1b88f55a Changed some types 2010-05-16 15:34:54 +03:00
Michael Snoyman
0c9e2f94c0 Better getTime + putTime, added test 2010-05-16 11:23:45 +03:00