Thomas NOËL
e12c9d797b
add django 1.9 support ( #16526 )
2017-09-09 13:40:08 +02:00
Frédéric Péters
6315bbd2fd
allow signature_key to be None ( #15078 )
2017-02-22 14:08:30 +01:00
Serghei Mihai
bfbe8a5803
blurp: convert signature key to string ( #14987 )
2017-02-21 16:10:26 +01:00
Frédéric Péters
fbd306c23d
remove <!-- DEBUG --> insertion, incompatible with django 1.8 ( #14968 )
2017-02-13 12:58:53 +01:00
Benjamin Dauvergne
f98e87fcbc
Restore blurp_tags ( fixes #11323 )
2016-06-13 22:06:47 +02:00
Benjamin Dauvergne
19dd85c8bb
data_source: do not log same message two times ( fixes #11069 )
2016-05-26 15:49:30 +02:00
Benjamin Dauvergne
8a655f5abb
remove django-cms support
2016-05-04 18:45:34 +02:00
Frédéric Péters
d08c582d2a
setup: sync version handling with our current best practises ( #7929 )
2015-07-27 09:38:21 +02:00
Benjamin Dauvergne
607290c2e0
data_source: in TemplateSourcesRenderer copy the source before updating url ( fixes #7903 )
2015-07-22 12:17:12 +02:00
Frédéric Péters
f0d27a7f86
add methods to know if there's something in cache ( #6977 )
2015-04-17 21:50:49 +02:00
Serghei Mihai
a14e84fd93
version 1.10.1
2015-04-17 11:11:57 +02:00
Serghei Mihai
6f1da5d02a
data renderer treating its sources urls as templates
2015-04-07 19:04:51 +02:00
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
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
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
4b468104b7
bump release to 1.0.3
2014-07-02 10:34:54 +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