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
Michael Snoyman
022ead8b31
clientsession 0.4
2010-05-16 10:15:29 +03:00
Michael Snoyman
51f816cb27
staticFiles
2010-05-16 06:56:04 +03:00
Michael Snoyman
f116b0659b
clientsession 0.3.0
2010-05-15 23:08:34 +03:00
Michael Snoyman
70144804ce
Played around with dependencies
2010-05-13 23:25:17 +03:00
Michael Snoyman
0d8c024c33
Offer split mkYesod
2010-05-13 20:50:35 +03:00
Michael Snoyman
6e639e9333
hlint
2010-05-12 17:56:06 +03:00
Michael Snoyman
a847b5c02d
setLanguage
2010-05-12 00:03:15 +03:00
Michael Snoyman
6376157c64
Various minor changes, better description
2010-05-11 23:47:05 +03:00
Michael Snoyman
cda45d2837
Removed Web.Mime
2010-05-11 23:23:07 +03:00
Michael Snoyman
d385fc48d1
Cleaned up helpers + docs
2010-05-11 23:14:33 +03:00
Michael Snoyman
e062033942
Merged EmailAuth into Auth
2010-05-11 21:59:27 +03:00
Michael Snoyman
ad7a3330d5
Major Auth refactoring
2010-05-10 20:29:51 +03:00
Michael Snoyman
9b03a86353
Migrated auth to ult dest
2010-05-10 16:39:55 +03:00
Michael Snoyman
c3f236ce9c
Ultimate dest and messages
2010-05-10 16:33:05 +03:00
Michael Snoyman
2067d5d687
Added head to applyLayout(Json)
2010-05-09 14:30:24 +03:00
Michael Snoyman
32465f4e97
Master/Sub bikeshedding
2010-05-09 02:15:15 +03:00
Michael Snoyman
db5b82f74d
Reverse order, no args from hamlet
2010-05-08 23:34:31 +03:00
Michael Snoyman
7a4f1ad6de
Updated to hamlet 0.2
2010-05-08 22:09:43 +03:00
Michael Snoyman
5df1351a74
Added EmailAuth
2010-05-07 10:07:33 +03:00
Michael Snoyman
4578808df1
Exposing some keys from Auth
2010-05-07 09:24:35 +03:00
Michael Snoyman
e8a042db2d
MonadCatchIO
2010-05-06 17:01:52 +03:00
Michael Snoyman
58b2990794
Migrated away from clientsession middleware
2010-05-05 07:34:27 +03:00
Michael Snoyman
5c5b2ca81d
Removed data-object
2010-05-05 06:40:30 +03:00
Michael Snoyman
6db0589936
Fixed some various FIXMEs
2010-05-05 06:40:30 +03:00
Michael Snoyman
fd0ce32687
Added proper sessions
2010-05-05 06:40:30 +03:00
Michael Snoyman
8d58cc8051
urlRenderOverride
2010-05-04 22:11:25 +03:00
Michael Snoyman
ed56c87317
Exposing fullRender
2010-05-04 22:08:20 +03:00
Michael Snoyman
56fc788d3f
Using cabal MIN_VERSION for transformers
2010-05-04 22:02:16 +03:00
Michael Snoyman
746754d510
Added getAuth function
2010-05-04 17:30:23 +03:00
Michael Snoyman
f1fc97eda0
Fixed haddock script
2010-05-04 13:15:03 +03:00
Michael Snoyman
086b73ac59
Moved all auth settings into YesodAuth typeclass
2010-05-03 20:56:26 +03:00
Michael Snoyman
27981e04f4
Auth now usable
2010-05-02 22:25:16 +03:00
Michael Snoyman
ca3c5b098d
Some more JSON outputting functions
2010-05-02 22:24:50 +03:00
Michael Snoyman
d4afec1277
Removed a number of FIXMEs
2010-05-02 08:20:36 +03:00
Michael Snoyman
180a5ec9ce
More documentation work
2010-05-02 08:12:49 +03:00
Michael Snoyman
9dbf6971ad
Removed examples
2010-05-02 07:53:08 +03:00
Michael Snoyman
dda3140695
Better type for jsonmap
2010-05-02 07:19:59 +03:00
Michael Snoyman
de7ed94abd
Buffering output
2010-05-01 22:38:30 +03:00
Michael Snoyman
22ef236fef
redirect and redirectString
2010-04-30 09:10:32 +03:00
Michael Snoyman
84abd28af9
Add back transformers 0.1.* support
2010-04-25 11:20:04 -07:00
Michael Snoyman
a6ab2db6a7
Minor changes
2010-04-25 11:05:59 -07:00
Michael Snoyman
c320d2a45b
Documented Yesod.Yesod
2010-04-23 12:35:36 -07:00
Michael Snoyman
3701e3c490
Continued refactoring; Yesod.Yesod
2010-04-23 12:29:20 -07:00
Michael Snoyman
09b07a5aad
Continued refactoring; cleaned up Yesod.Handler
2010-04-23 12:04:45 -07:00
Michael Snoyman
26ad604a19
Began major refactoring of code
2010-04-23 11:03:36 -07:00
Michael Snoyman
3265d7a717
Match refactorings in web-routes-quasi
2010-04-23 06:03:03 -07:00
Michael Snoyman
d0c9386d64
Cleaned up Web.Mime, using Strings directly
2010-04-23 06:02:36 -07:00
Michael Snoyman
fa98452452
Slimmed down dependencies
2010-04-21 18:07:03 -07:00
Michael Snoyman
dcf9208cf5
Some minor cleanups
2010-04-20 16:45:02 -07:00
Michael Snoyman
e8812472c0
Added rudimentary JSON support
2010-04-20 16:36:16 -07:00
Michael Snoyman
e280e284f8
Began refactoring
2010-04-20 15:35:41 -07:00
Michael Snoyman
c875c949fe
Initial port to QuasiSite, rather rough
2010-04-20 08:52:19 -07:00
Michael Snoyman
99c0eb060b
Added type signatures for mkYesodSub
2010-04-19 23:26:16 -07:00
Michael Snoyman
533c2c2d15
Continued work on subsites
2010-04-19 23:06:06 -07:00
Michael Snoyman
d6fbe1e088
More built in support for subsites
2010-04-18 00:53:35 -07:00
Michael Snoyman
654331f406
Began converting AtomFeed to hamlet
2010-04-16 16:58:04 -07:00
Michael Snoyman
3165b253ba
Converted auth helper to subsite
2010-04-16 14:28:59 -07:00
Michael Snoyman
e9a8b43595
Recent hamlet changes
2010-04-16 11:58:33 -07:00
Michael Snoyman
5f7668334a
Removed Data.Object.Html and Yesod.Template
2010-04-14 12:38:58 -07:00
Michael Snoyman
572718bbd6
Split hamlet code into separate module
2010-04-14 08:49:15 -07:00
Michael Snoyman
4163c55e0d
Match changes in web-routes-quasi
2010-04-13 20:54:58 -07:00
Michael Snoyman
4a8f674ba1
Minor Hamlet changes
2010-04-12 21:56:32 -07:00
Michael Snoyman
343b5a8b80
Added hamlet example
2010-04-12 00:02:39 -07:00
Michael Snoyman
bf165609f2
Remaining examples compile
2010-04-11 23:43:50 -07:00
Michael Snoyman
ef3e7cc538
Integrated Hamlet
2010-04-11 23:17:21 -07:00
Michael Snoyman
b0e5cf56e5
Fixed helloworld
2010-04-11 13:41:32 -07:00
Michael Snoyman
3f99bf132c
Send 404 response properly
2010-04-11 13:05:40 -07:00
Michael Snoyman
c181fd624e
Wrote cleanupSegments
2010-04-11 12:58:48 -07:00
Michael Snoyman
45b4343747
Implemented getMethod
2010-04-11 12:56:54 -07:00
Michael Snoyman
5d14ac5e1e
Proper render function; removed YesodApproot
2010-04-11 12:54:19 -07:00
Michael Snoyman
a19751622a
Initial migration to web-routes-quasi
2010-04-11 12:47:52 -07:00
Michael Snoyman
3854af50f6
Updated transformers to 0.2.0
2010-04-11 11:40:17 -07:00
Snoyman
6f88e0ff76
Removed call to buggy encodeUtf8
2010-03-10 10:17:10 -08:00
Snoyman
4587112686
Removed usage of liftString (compat with 6.10)
2010-03-10 09:29:25 -08:00
Snoyman
f97719a757
New README; enabled Gzip.
2010-03-07 18:56:55 -08:00
Snoyman
ef2e84668a
Added yesod executable (with init)
2010-03-07 16:51:58 -08:00
Snoyman
a502b58061
Added tweedle example
2010-03-05 13:04:36 -08:00
Snoyman
04fe54ef72
Allow catching of form errors
2010-03-05 07:57:52 -08:00
Snoyman
412402cdd4
Renamed RawRequest to Request
2010-03-05 04:43:36 -08:00
Snoyman
465188e166
Switched to parseRequestBody in web-encodings
2010-03-04 04:37:58 -08:00
Snoyman
70a06a8808
newtype and Source in WAI
2010-02-26 10:41:03 +02:00
Michael Snoyman
0fe88968dc
Added onRequest
2010-02-25 07:42:18 +02:00
Michael Snoyman
c85a542888
Added some Web.Mime unit tests
2010-02-23 18:12:53 +02:00
Michael Snoyman
417d09a968
Exported redirectLogin
2010-02-18 01:09:31 +02:00
Michael Snoyman
71b62e0363
iothunk and fixed some tests
2010-02-17 14:52:23 +02:00
Michael Snoyman
a0cd0b5008
Removed ParamType
2010-02-17 14:32:38 +02:00
Michael Snoyman
47b22ffb49
Removed maybeIdentifier FIXME (RequestReader instance fixed it)
2010-02-17 14:29:42 +02:00
Michael Snoyman
81a6e7a464
Removed Verb
2010-02-17 14:25:45 +02:00
Michael Snoyman
2babde3d78
Removed invalidParams
2010-02-17 09:37:52 +02:00
Michael Snoyman
f07701e25d
Renamed functions for getting Wai values
2010-02-17 09:26:00 +02:00
Michael Snoyman
a39f84a575
Factored out DEST code into separate functions
2010-02-17 09:25:38 +02:00
Michael Snoyman
f94a3ea7e0
applyLayout requires RawRequest
2010-02-11 21:20:40 +02:00
Michael Snoyman
784675919b
Match wai renamings
2010-02-11 20:55:19 +02:00
Michael Snoyman
cca7450613
Rpxnow login looks at DEST cookie
2010-02-09 20:30:29 +02:00
Michael Snoyman
28c5d2ab55
Changed defaultTemplateAttribs; bumped text
2010-02-04 08:10:07 +02:00
Michael Snoyman
3a3d970476
defaultTemplateAttribs
2010-02-03 16:36:03 +02:00
Michael Snoyman
38a15e4692
templateHtml and templateHtmlJson
2010-02-03 16:23:32 +02:00
Michael Snoyman
0e96af34be
Resource Int to Integer
2010-02-03 07:04:55 +02:00
Michael Snoyman
a95704d164
Only read request body when needed
2010-02-01 15:46:32 +02:00
Michael Snoyman
89f40e48d0
Rudimentary form support
2010-02-01 15:07:05 +02:00
Michael Snoyman
ec1d17dcd4
Fixed content type matching
2010-01-31 10:20:26 +02:00
Michael Snoyman
15712773a0
Initial port to wai and wai-extra
2010-01-31 01:30:32 +02:00
Michael Snoyman
7505d9a054
onRpxnowLogin and better defaultLoginPath
2010-01-27 22:00:40 +02:00
Michael Snoyman
f1184a1f66
Added ioTextToContent, fixed json/html order
2010-01-27 13:19:27 +02:00
Michael Snoyman
43c847ff93
handlers -> resources, resources -> mkResources, fix examples
2010-01-27 10:05:29 +02:00
Michael Snoyman
d1618eb3d0
hlint applied
2010-01-27 09:40:39 +02:00
Michael Snoyman
097561b7aa
Moved all StringTemplate support to own module
2010-01-27 09:33:17 +02:00
Michael Snoyman
1ff54a574a
applyLayout added to Yesod
2010-01-27 09:11:23 +02:00
Michael Snoyman
bfc9b224c0
Removed all FIXMEs but Test.Errors and Yesod.Template
2010-01-26 21:07:04 +02:00
Michael Snoyman
ecb4d2f334
Removed Yesod.Parameter
2010-01-26 00:48:10 +02:00
Michael Snoyman
764b981f6c
Changed Content data type.
...
Removed i18n and pushed it back into RawRequest.
Now prepared for the WAI interface, though this is less efficient for
Hack.
2010-01-26 00:16:02 +02:00
Michael Snoyman
e7a2e1cfca
Removed Yesod.Rep
2010-01-25 21:57:08 +02:00
Michael Snoyman
90e197ae46
Attempting to use SendFile throughout
2010-01-25 02:21:02 +02:00
Michael Snoyman
ec5b9863d5
Moved the meat of Yesod.Rep to Yesod.Response
2010-01-25 02:06:02 +02:00
Michael Snoyman
3137ee9bee
Removed reps from HasReps
2010-01-25 02:00:08 +02:00
Michael Snoyman
79b780fec2
Language GET param and cookie; simple i18n example
2010-01-25 01:47:30 +02:00
Michael Snoyman
7275d9ecfc
Switch Content to be a function on language list
2010-01-25 01:46:04 +02:00
Michael Snoyman
b784ef935a
Merged Yesod.Constants into Yesod.Definitions
2010-01-25 01:34:38 +02:00
Michael Snoyman
254018e3c3
Removed more from Yesod.Request, with cascading removals
2010-01-25 01:34:38 +02:00
Michael Snoyman
9ccfe9ba90
Removed cookie as a parameter type
2010-01-25 01:33:15 +02:00
Michael Snoyman
309757c22d
Separate ErrorResponse and SpecialResponse; added SendFile
2010-01-25 01:31:09 +02:00
Michael Snoyman
405fb3ac25
Factored mime-type code into its own module
2010-01-25 00:58:55 +02:00