Commit graph

206 commits

Author SHA1 Message Date
Christopher Ramírez
7e25b7634c Adding markdown2 to the requirements. 2013-09-03 15:49:38 -06:00
Christopher Ramírez
7d81f42731 Merge pull request #4 from armonge/travis
Now using Travis-CI to automatize the tests,
2013-08-27 15:26:50 -07:00
Andrés Reyes Monge
5f7b240aa6 Now using Travis-CI to automatize the tests, some changes to make tests pass in python3.3 2013-08-27 15:51:16 -06:00
Christopher Ramírez
0eccef32bf Merge pull request #3 from armonge/tests
Starting a test suite
2013-08-19 09:59:41 -07:00
Andrés Reyes Monge
58d0ea0575 Starting a test suite 2013-08-17 10:54:53 -06:00
Christopher Ramírez
3691f7f3e6 Document installation. 2013-08-15 23:02:10 -06:00
Christopher Ramírez
38e6af3a00 Updated MANIFEST to include simple_template.odt. 2013-08-15 22:22:31 -06:00
Christopher Ramírez
47b9e3a717 Adding MANIFEST files to include README.md AND LICENSE.txt in pipy package. 2013-08-15 22:20:37 -06:00
Christopher Ramírez
6d983bc0b5 Added LICENSE.txt 2013-08-15 22:10:21 -06:00
Christopher Ramírez
2a53b41766 Updated author_email and description. 2013-08-15 22:08:29 -06:00
Christopher Ramírez
129974b8e0 Merge pull request #2 from armonge/setup.py
Merge ***Creating a new setup.py*** from armonge
2013-08-15 12:01:47 -07:00
Andrés Reyes Monge
94c94c2071 Creating a new setup.py 2013-08-14 20:46:47 -06:00
Christopher Ramírez
99c8da07d0 Update project documentation. 2013-08-13 19:54:57 -06:00
Christopher Ramírez
74175c570a Update doc string. 2013-08-07 09:25:23 -06:00
Christopher Ramírez
c81d5768aa Remove commented code. 2013-08-07 09:24:07 -06:00
Christopher Ramírez
36d8b9d5ff Remove unused constants. 2013-08-07 09:22:18 -06:00
Andrés Reyes Monge
cc963c3b13 Removing a lot of global state
Using 'with' to open and close files
2013-07-31 15:58:48 -06:00
Andrés Reyes Monge
2d89aabf1a Renaming to secretary
This is so we can make a proper package
2013-07-31 14:58:04 -06:00
Andrés Reyes Monge
e5c0e94d75 Removing some properties cause Python Is Not Java
Getters and setters are evil when all you need is simple attribute
access

http://dirtsimple.org/2004/12/python-is-not-java.html
2013-07-31 14:54:22 -06:00
Andrés Reyes Monge
c8c4d828bc Removing unused imports 2013-07-31 14:50:27 -06:00
Andrés Reyes Monge
dd0bd757e5 Removing trailing spaces 2013-07-31 14:49:54 -06:00
Christopher Ramírez
d1226e852c Simplify template loading and render() now returns rendere document instead of an instance of StringIO. 2013-07-22 13:27:42 -06:00
Christopher Ramírez
46ec22b187 Autoescape enabled by deafult. 2013-07-21 13:23:58 -06:00
Christopher Ramírez
ab4a3ef61b Fixed environment var name due to typo. 2013-07-21 13:22:42 -06:00
Christopher Ramírez
c849c01363 Update internal documentation. 2013-07-21 13:13:39 -06:00
Christopher Ramírez
b923f34888 Update author email. 2013-07-21 12:54:52 -06:00
Christopher Ramírez
6a615abdf1 Remove _style_file. 2013-07-21 12:53:33 -06:00
Christopher Ramírez
d303f84d09 Remove _style_file. 2013-07-21 12:53:01 -06:00
Christopher Ramírez
210a289348 Document render function. 2013-07-21 12:50:53 -06:00
Christopher Ramírez
3c186ae389 Refactoring of pack an unpack template and result.' 2013-07-21 12:47:41 -06:00
Christopher Ramírez
06769a3a39 Refactoring of pack an unpack template and result.' 2013-07-21 12:45:11 -06:00
Christopher Ramírez
68882fbcf6 Remove all render_with_engine function. 2013-07-20 22:06:15 -06:00
Christopher Ramírez
6019a75e87 Restructuration of code to a more extendable code. 2013-07-20 22:05:37 -06:00
Christopher Ramírez
39e96bc04c Purge old and unused code. 2013-07-18 16:29:42 -06:00
Christopher Ramírez
ecc8fa5db5 Introducing UndefinedSilently to silently ignore undefined vars errors. 2013-07-18 16:16:04 -06:00
Christopher Ramírez
c32ff51032 Introducing pad filter. 2013-07-18 15:10:34 -06:00
Christopher Ramírez
1ad6849be2 Replace \n for a ODT linebreak. We disable pretty printing in debug state. 2013-07-18 14:50:04 -06:00
Christopher Ramírez
5b336711a8 Complete replace how secretary handle jinja template tags. Now is almost required tags to be widthin a ODT field. 2013-07-18 13:34:05 -06:00
Christopher Ramírez
955e8c6ddd XML pretty printing now depends on debug param. 2013-07-18 10:37:43 -06:00
Christopher Ramírez
c98519e119 .toprettyxml() was introducing undesired spaces between <text:span>'s 2013-07-18 09:58:09 -06:00
Christopher Ramírez
6bcced99cd Now secretary can render headers. 2013-07-17 16:19:06 -06:00
Christopher Ramírez
08bb72ed31 render_template now only accepts a template string. use render_template_file to render a ODF template file. 2013-07-17 16:10:20 -06:00
Christopher Ramírez
77f504b663 Dropped support for Django. Added support to pass a template file through command line. 2013-02-28 10:31:56 -06:00
Christopher Ramírez
bb46009e01 Check python version to set zip compresion 2013-02-01 15:31:52 -06:00
Christopher Ramírez
bdec463350 .ignore to set ignored files in the repo. 2013-01-30 16:46:11 -06:00
Christopher Ramírez
ed1adfcb3d added render_template function. 2012-10-23 16:44:49 -06:00
Christopher Ramírez
60ae47477c Test template updated 2012-07-20 11:56:34 -06:00
Christopher Ramírez
8d5104be4c Refactoring. Native support to ODF files added. A new control tag '{% tablerow_tag %}'. This tag replace the row internal XML with the control-flow a control tag near it. Used for table genation. 2012-07-20 01:32:23 -06:00
Christopher Ramírez
4973bb36ab added 'simple_template.odt' template. A simple ODF template with a table. 2012-07-20 01:28:39 -06:00
Christopher Ramírez
394867c694 Implemented {% paragraph_tag %} tag. When this tag is present in a paragraph, the XML source of the paragraph will be replaced with an additional tag ex. {% if varname %} in the same paragraph. 2012-07-19 18:45:40 -06:00