appier 1.33.1__tar.gz → 1.33.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {appier-1.33.1/src/appier.egg-info → appier-1.33.2}/PKG-INFO +1 -1
- {appier-1.33.1 → appier-1.33.2}/setup.py +1 -1
- {appier-1.33.1 → appier-1.33.2}/src/appier/base.py +13 -8
- {appier-1.33.1 → appier-1.33.2/src/appier.egg-info}/PKG-INFO +1 -1
- {appier-1.33.1 → appier-1.33.2}/MANIFEST.in +0 -0
- {appier-1.33.1 → appier-1.33.2}/README.rst +0 -0
- {appier-1.33.1 → appier-1.33.2}/setup.cfg +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/__init__.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/amqp.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/api.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/asgi.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/async_neo.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/async_old.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/asynchronous.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/bus.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/cache.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/common.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/component.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/compress.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/config.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/controller.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/crypt.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/data.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/defines.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/exceptions.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/execution.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/export.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/extra.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/extra_neo.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/extra_old.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/geo.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/git.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/graph.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/http.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/legacy.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/log.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/meta.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/mock.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/model.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/model_a.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/mongo.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/observer.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/part.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/preferences.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/queuing.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/redisdb.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/request.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/res/static/css/base.css +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/res/static/images/favicon.ico +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/res/static/js/base.js +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/res/templates/error.html.tpl +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/res/templates/holder.html.tpl +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/res/templates/layout.html.tpl +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/scheduler.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/serialize.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/session.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/settings.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/smtp.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/storage.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/structures.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/__init__.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/base.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/cache.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/config.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/crypt.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/data.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/exceptions.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/export.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/graph.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/http.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/legacy.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/log.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/mock.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/model.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/part.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/preferences.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/queuing.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/request.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/scheduler.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/serialize.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/session.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/smtp.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/structures.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/typesf.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/util.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/test/validation.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/typesf.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/util.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier/validation.py +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier.egg-info/SOURCES.txt +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier.egg-info/dependency_links.txt +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier.egg-info/not-zip-safe +0 -0
- {appier-1.33.1 → appier-1.33.2}/src/appier.egg-info/top_level.txt +0 -0
|
@@ -94,7 +94,7 @@ NAME = "appier"
|
|
|
94
94
|
""" The name to be used to describe the framework while working
|
|
95
95
|
on its own environment, this is just a descriptive value """
|
|
96
96
|
|
|
97
|
-
VERSION = "1.33.
|
|
97
|
+
VERSION = "1.33.2"
|
|
98
98
|
""" The version of the framework that is currently installed
|
|
99
99
|
this value may be used for debugging/diagnostic purposes """
|
|
100
100
|
|
|
@@ -2378,6 +2378,8 @@ class App(
|
|
|
2378
2378
|
headers={},
|
|
2379
2379
|
attachments=[],
|
|
2380
2380
|
renderer=None,
|
|
2381
|
+
html=None,
|
|
2382
|
+
plain=None,
|
|
2381
2383
|
html_handler=None,
|
|
2382
2384
|
plain_handler=None,
|
|
2383
2385
|
**kwargs
|
|
@@ -2452,13 +2454,16 @@ class App(
|
|
|
2452
2454
|
subject=subject,
|
|
2453
2455
|
)
|
|
2454
2456
|
|
|
2455
|
-
html
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2457
|
+
if html == None:
|
|
2458
|
+
html = renderer(template, detached=True, **parameters)
|
|
2459
|
+
|
|
2460
|
+
if plain == None:
|
|
2461
|
+
if plain_template:
|
|
2462
|
+
plain = renderer(plain_template, detached=True, **parameters)
|
|
2463
|
+
elif convert:
|
|
2464
|
+
plain = util.html_to_text(html)
|
|
2465
|
+
else:
|
|
2466
|
+
plain = legacy.UNICODE("Email rendered using HTML")
|
|
2462
2467
|
|
|
2463
2468
|
if html_handler:
|
|
2464
2469
|
html = html_handler(html)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|