Serghei Mihai
cb9be31f31
version 1.10.0
2015-04-07 15:10:58 +02:00
Serghei Mihai
7d32047694
Renderer returning data, with appended default context as dict ( #6870 )
2015-04-02 15:54:46 +02:00
Serghei Mihai
bf976e8ad9
Renderer returning data as dict with slugs as keys ( #6870 )
2015-04-02 15:54:28 +02:00
Serghei Mihai
d1ddf7b5d6
django-cms dependency removed ( #6853 )
2015-03-30 11:40:36 +02:00
Serghei Mihai
789e2ed6ca
setup.py adapted for django 1.7
2015-03-30 10:25:32 +02:00
Frédéric Péters
3c7714a3d4
make it possible to treat blurp variables as iterables ( #6362 )
2015-01-27 22:56:14 +01:00
Frédéric Péters
a30c517956
fix check of signature_key type ( #6341 )
2015-01-27 15:40:53 +01:00
Frédéric Péters
229e6e18a8
add create_renderer() function to create a blurp from a dictionary ( #6345 )
2015-01-27 15:40:53 +01:00
Frédéric Péters
0f44ca35f6
correctly remove hmac- prefix from algo ( #6342 )
2015-01-27 15:40:53 +01:00
Serghei Mihai
7d6a3d20c5
version 1.0.9
2014-12-11 09:57:22 +01:00
Serghei Mihai
34e3a5f48b
data source list extending, instead of appending
2014-12-08 11:19:24 +01:00
Serghei Mihai
3dcf1565f4
data renderer aggregating multiple source results into one list
2014-12-04 16:55:02 +01:00
Benjamin Dauvergne
defce175d0
Do no try to retrieve an OAuth2 token when there is no user
...
Closes #5900
2014-11-10 10:23:26 +01:00
Benjamin Dauvergne
01259aa963
bump release to 1.0.8
2014-11-07 10:44:21 +01:00
Benjamin Dauvergne
c4c84f0c14
RequestException is a base class, log the instance
2014-11-07 10:43:35 +01:00
Serghei Mihai
7376062ac5
version 1.0.7
2014-11-06 09:19:20 +01:00
Serghei Mihai
dfd17e4fd4
jsonify template tag added
...
Closes #5866
2014-11-05 09:33:01 +01:00
Benjamin Dauvergne
fbe7b87218
Fix debug output when updatecache parameter is not used in the query string
2014-11-04 11:32:44 +01:00
Benjamin Dauvergne
fd74d2f7c1
Add username to cache key in datasource renderer if OAuth2 is used
...
(fixes #5849 )
2014-11-03 23:06:22 +01:00
Serghei Mihai
7040ba8900
README fixes
2014-10-23 16:14:39 +02:00
Benjamin Dauvergne
f96099ed48
In data_source renderer hide and log exceptions in update_content() ( fixes #5584 )
2014-09-25 14:56:05 +02:00
Benjamin Dauvergne
db31f6387d
Add more debug logs (refs #5586 )
2014-09-25 14:55:20 +02:00
Benjamin Dauvergne
a6419a4722
Fix bug breaking the cache ( fixes #5586 )
2014-09-25 14:55:20 +02:00
Serghei Mihai
3ec77339bd
rolling back priority to 'template_name' attribute
2014-09-09 11:07:18 +02:00
Serghei Mihai
c7fd750388
handling properly cases when no template defined
2014-09-08 18:19:04 +02:00
Serghei Mihai
6cbd4d70b3
missing exception imported
2014-09-08 17:23:27 +02:00
Benjamin Dauvergne
bb7c7a0e8a
In AJAX view return 404 on absent plugin ( fixes #5092 )
...
When the view fails, stop polling if status is 404, otherwise continue
polling but use an exponential backoff between retries.
2014-09-08 11:43:54 +02:00
Benjamin Dauvergne
85bd25bf34
Do not traceback when rendering a blurp ( fixes #5092 )
...
If DEBUG is True, report exception in result string.
2014-09-08 11:43:52 +02:00
Benjamin Dauvergne
d73a37fb1d
renderers: add debug content to templates when DEBUG is True ( fixes #5092 )
...
The debug content for the data_source renderer is (using pseudo-template
code):
<!-- DEBUG:
config: {{ blurp.config|pprint }}
{% for each source %}
slug {{ source.slug }}: {% source.content|pprint %}
{% endfor %}
-->
The debug content is extracted from a template context variable named
'blurp_debug__' that any blurp renderer can set when DEBUG is True.
2014-09-08 11:43:35 +02:00
Benjamin Dauvergne
ba5d718042
Improve error reporting in data source renderer when TEMPLATE_DEBUG is True ( fixes #5092 )
...
This commit also normalize logging level to warning for non critical
errors.
2014-09-08 11:43:30 +02:00
Benjamin Dauvergne
170ef69a13
renderers/data_source: fix resolve_file_url return value ( fixes #5092 )
...
URL resolvers must return a stream and an error code.
2014-09-08 11:43:13 +02:00
Serghei Mihai
e4aca152c8
don't use CMS, loaded only for admin, variable on ajaxified plugin
...
Closes #5273
2014-08-19 16:06:25 +02:00
Benjamin Dauvergne
fe4463b14f
bump release to 1.0.6
2014-07-04 11:03:42 +02:00
Benjamin Dauvergne
742d41a929
models: do not try to import but check if cms is in INSTALLED_APPS
...
fix commit ae4e5cb8e
2014-07-04 11:03:03 +02:00
Benjamin Dauvergne
a3d2ddbdb9
bump release to 1.0.5
2014-07-04 10:54:14 +02:00
Benjamin Dauvergne
ae4e5cb8e2
models: allow loading of cmsplugin_blurb without django-cms
2014-07-04 10:53:52 +02:00
Benjamin Dauvergne
0cf75c6266
bump release to 1.0.4
2014-07-04 10:31:16 +02:00
Benjamin Dauvergne
d1a7fdad23
add missing file
2014-07-04 10:30:47 +02:00
Benjamin Dauvergne
df232a7c20
README: describe the async options of the data_source renderer
2014-07-02 13:01:34 +02:00
Benjamin Dauvergne
4b468104b7
bump release to 1.0.3
2014-07-02 10:34:54 +02:00
Benjamin Dauvergne
d6b960f0e1
README: document the blurp block tag
2014-07-02 10:34:17 +02:00
Benjamin Dauvergne
fce84e9251
templatetags: add block tag to insert blurp variables into the current context
...
This does not work with ajax blurp for now, you will only get
synchronous loading.
2014-07-02 09:58:17 +02:00
Benjamin Dauvergne
0d6ab6fbbd
modify the signature of Renderer interface's render() method
2014-07-01 23:28:05 +02:00
Benjamin Dauvergne
455a162057
README: add documentation about the template tag
2014-07-01 16:49:39 +02:00
Benjamin Dauvergne
169c3ed842
bump release to 1.0.2
2014-07-01 16:43:57 +02:00
Benjamin Dauvergne
b254eeb088
data_source: when doing an HTTP request also log the headers
2014-07-01 16:42:53 +02:00
Benjamin Dauvergne
8a59512d08
templatetags: add template tag to render a blurp block in a template
...
Blurp blocks doing things with placholders or cms-plugin instances will
not work.
2014-07-01 16:42:53 +02:00
Benjamin Dauvergne
1c326dc72b
setup.py: add requirement on django and django-cms
2014-07-01 16:35:34 +02:00
Benjamin Dauvergne
18212be91c
data_source: fix check of configuration around signature_key
2014-07-01 15:46:44 +02:00
Benjamin Dauvergne
d7d8162e35
bump release to 1.0.1
2014-07-01 14:29:08 +02:00