Commit Graph

147 Commits

Author SHA1 Message Date
Armin Ronacher 67f4b0f315 Modules are now instanciated with the package name.
This makes it possible to load resources from the folder the module is
located in.
2010-04-24 17:07:16 +02:00
Armin Ronacher 2f181e1949 Removed unused package_name attribute 2010-04-23 17:16:59 +02:00
Armin Ronacher 5c52fe980e Added request/response processing based on modules. 2010-04-23 17:10:22 +02:00
Armin Ronacher e0148a00c0 Basic module support is working, but does not look very nice. 2010-04-23 17:01:20 +02:00
Armin Ronacher 444e642531 extended URL generation 2010-04-23 16:44:49 +02:00
Armin Ronacher 88f671aaae Another try for #12 2010-04-23 16:04:54 +02:00
Armin Ronacher dc3f13df54 Corrected validator usage in the wtforms docs. 2010-04-23 12:17:12 +02:00
Armin Ronacher be15340e0f Added mailinglist link to the README 2010-04-21 21:47:45 +02:00
Armin Ronacher ebb07a0656 Better English. 2010-04-21 21:10:57 +02:00
Armin Ronacher 1cb75df8f1 Add leftovers from website branch to gitignore 2010-04-21 18:39:51 +02:00
Armin Ronacher 3261357ba7 Removed website from main branch. Makes no sense to be there 2010-04-21 18:39:25 +02:00
Armin Ronacher d73be4b709 Merge branch 'florentx-fork' 2010-04-21 17:57:25 +02:00
Armin Ronacher 7e8019565f Added florentx to the AUTHORS file 2010-04-21 10:37:05 +02:00
florentx dbe0df756b Use setdefault() because it sets session.modified correctly. 2010-04-21 16:36:20 +08:00
florentx 3eacc1d068 Use a tuple to store _flashes, and simplify the flask.Request class. 2010-04-21 16:36:19 +08:00
florentx f014ce29a7 Fix a doc oversight, and revert 5876a8fd. 2010-04-21 16:36:19 +08:00
florentx b6e7330539 Use setdefault() because it sets session.modified correctly. 2010-04-21 01:23:09 +02:00
florentx 7cf5a9bf6e Use a tuple to store _flashes, and simplify the flask.Request class. 2010-04-21 00:40:43 +02:00
florentx c0d3b6c371 Merge. 2010-04-20 22:53:38 +02:00
florentx 9d340ad747 Fix a doc oversight, and revert 5876a8fd. 2010-04-20 22:46:36 +02:00
cgrinds 5876a8fd96 Merge more upstream changes 2010-04-21 03:59:21 +08:00
Armin Ronacher 9cf2ea2abc Documented hostname change. 2010-04-20 21:45:36 +02:00
Armin Ronacher 00f87f679c flask uses 127.0.0.1 as host by default now. stupid chrome. 2010-04-20 21:44:52 +02:00
Armin Ronacher 260b4dfe61 Added changelog, restructured docs a bit. 2010-04-20 20:21:01 +02:00
Armin Ronacher f6b9efc1e9 Added missing os import. 2010-04-20 20:03:03 +02:00
Armin Ronacher 3053fcdb0d Make the example tests pass on Windows.
Also updated the documentation regarding that.
2010-04-20 20:01:00 +02:00
Armin Ronacher af3b73f70d Tiny refactoring 2010-04-20 19:03:18 +02:00
florentx eae44e465b Typo in README 2010-04-20 18:48:49 +02:00
florentx 75057bb411 Slightly faster _tojson_filter. 2010-04-20 18:44:54 +02:00
florentx 3c821a0fa4 Fix typos and remove unused import. 2010-04-20 18:40:58 +02:00
Armin Ronacher 9f6bc93e4d Fixed XSS problem by escaping all slashes in JSON.
This also probes simplejson first to figure out if it escapes slashes
which it did in earlier versions.
2010-04-20 15:12:16 +02:00
Armin Ronacher 268302fc68 Changed link to license. 2010-04-20 14:22:34 +02:00
Armin Ronacher 3a1e518657 Fixed typo and added AUTHORS file and license text to docs. 2010-04-20 13:29:54 +02:00
Armin Ronacher 715f64d2af Some more documentation updates. 2010-04-20 13:01:10 +02:00
Armin Ronacher 1404a85bc5 Fixed WTForms example. 2010-04-20 11:22:20 +02:00
Armin Ronacher 9f0b2429d6 The testsuite skips JSON tests now is not available and runs the example
tests as well.
2010-04-20 10:51:36 +02:00
Chris Edgemon a7ff9dbddd Proofreading the documentation 2010-04-19 23:25:51 -05:00
Armin Ronacher 4ff9493e57 POST -> post in HTML 2010-04-20 01:37:51 +02:00
Armin Ronacher 50a3313071 Fixed typo in form docs 2010-04-20 01:35:22 +02:00
Armin Ronacher 06ec917dde Only escape backslashes if they follow "<" in JSON dumping for
templates.
2010-04-19 23:54:38 +02:00
Armin Ronacher 95750b3287 Documented some routing converter possibilities. 2010-04-19 23:49:02 +02:00
cgrinds 5acc491c94 Refactored the @route decorator to use the new add_url_rule method.
Tagged add_url_rule with versionadded of 0.2
2010-04-20 01:33:12 +08:00
unknown 3088a9371e Make it easier to associate a rule, endpoint and view_function
This resolves http://github.com/mitsuhiko/flask/issues/issue/11
2010-04-20 01:33:12 +08:00
Armin Ronacher 36f105c293 Removed possible bashism. source -> . 2010-04-19 18:56:12 +02:00
Armin Ronacher ade490514d Fixed a security problem caused by changed simplejson semantics.
Notice: this was never in a release version of Flask.
2010-04-19 18:51:04 +02:00
Armin Ronacher 07e515b071 Leaving -> living .... 2010-04-19 17:05:24 +02:00
Armin Ronacher 3d32017681 Added instructions about how to run the latest development version. 2010-04-19 17:03:08 +02:00
Armin Ronacher f878919753 With -> with in headline 2010-04-19 16:01:14 +02:00
Armin Ronacher a99e408bd1 Finished jQuery example documentation. 2010-04-19 15:59:16 +02:00
Armin Ronacher 6e2be6a0b3 Added JSON Support and started working on jQuery docs 2010-04-19 15:39:07 +02:00