Commit graph

842 commits

Author SHA1 Message Date
Fabian Braun
dad1569aea Added: Hide admin interface if only one template is available
Added:	Migrations
2016-07-06 15:40:45 +02:00
Fabian Braun
014b94449b Feature-add:
Plugins have a field that allows to specify a (sub-)folder from which the plugin templates are loaded. Default folder is "plugins". It goes into the "djangocms_blog" template folder (or, if set, the folder named in the app hook).

This allows, e.g., different templates for showing a post list as tables, columns, or you name it.

New templates have the same names as the standard templates in the "plugins" folder ("latest_entries.html", "authors.html", "tags.html", "categories.html", "archive.html"). The folder options can be defined in a new setting called BLOG_PLUGIN_TEMPLATE_FOLDERS. It's default is "( ("plugins", _("Default template") )" to be compatible with hitherto configurations.

To add new templates write in settings.py, e.g.,

BLOG_PLUGIN_TEMPLATE_FOLDERS = (
('plugins', _('Default template') ), 	# reads from "templates/djangocms_blog/plugins/
('timeline', _('Vertical timeline') ),	# reads from "templates/djangocms_blog/vertical/
('masonry', _('Masonry style') ),  	# reads from "templates/djangocms_blog/masonry/
)
2016-07-06 13:31:58 +02:00
Iacopo Spalletti
8a479a557a
Fix BLOG_PERMALINK_URLS name in doc 2016-06-29 16:25:13 +02:00
Iacopo Spalletti
ecfe85fb1f Merge pull request #287 from nephila/feature/multisite-filters
WiP: Multisite filters
2016-06-28 22:53:39 +02:00
Iacopo Spalletti
7d28e08f58
Enabled cached plugin 2016-06-28 08:58:08 +02:00
Iacopo Spalletti
096e1d48f7
More manager tests 2016-06-28 08:14:07 +02:00
Iacopo Spalletti
7cdfc0e7c7
Add docs 2016-06-28 00:34:57 +02:00
Iacopo Spalletti
c1edba9772
Add option to exclude empty categories from menu 2016-06-28 00:26:38 +02:00
Iacopo Spalletti
8b248e7b0f
More multisites tweaks 2016-06-26 18:11:37 +02:00
Iacopo Spalletti
67e3fa0128
Multisite filters 2016-06-26 17:09:01 +02:00
Iacopo Spalletti
ade8b189a4
Initial 0.9 changelog 2016-06-26 17:08:41 +02:00
Iacopo Spalletti
2296b7c1d1 Merge pull request #286 from nephila/feature/improve_docs
Improve documentation
2016-06-26 15:08:31 +02:00
Iacopo Spalletti
4bd6e4fb3a Merge pull request #232 from nephila/liveblog
Liveblog using channels
2016-06-26 13:58:24 +02:00
Iacopo Spalletti
874fde78be
Fix docs styling 2016-06-26 13:45:58 +02:00
Iacopo Spalletti
7bd2655036
Add channels features documentation 2016-06-26 13:45:58 +02:00
Iacopo Spalletti
92b4284eb0
Add tests for liveblog 2016-06-26 13:45:58 +02:00
Iacopo Spalletti
41834f6bf9
Better plugin templates 2016-06-26 13:32:32 +02:00
Iacopo Spalletti
abf2c1bb61
Add tests for liveblog 2016-06-26 12:30:01 +02:00
Iacopo Spalletti
52146269f6
Fix admin 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
413c9bb3aa
Fix code style 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
9bf5fa8895
Fix plugins order 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
a6feb4629d
Fix lieblog channels group 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
0f4056f678
Fix migrations 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
13a26650ad
Add flag to enable liveblog 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
eab9083d90
Update code 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
3c4eebdd02
Remove jQuery dependency 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
d9dd192ca8
Update channels configuration 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
eb5d98c9e3
Fix migrations 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
c0002ddd5f
cleanup PoC 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
a6f296226a
Add experimental liveblogging support 2016-06-26 10:33:07 +02:00
Iacopo Spalletti
f2beec480b
Merge branch 'release/0.8.x' into develop 2016-06-26 10:32:44 +02:00
Iacopo Spalletti
cff940a832
Bump version 2016-06-26 10:24:49 +02:00
Iacopo Spalletti
0c12e450d4 Merge pull request #284 from nephila/feature/thumbnailoption_migrations
Fix Thumbnailoption migrations
2016-06-26 00:49:16 +02:00
Iacopo Spalletti
e9a5e8fa46 Merge pull request #283 from nephila/feature/thumbnailoption_migrations
Fix thumbnailoption migrations
2016-06-25 18:28:04 +02:00
Iacopo Spalletti
a40044d533
Add note wrt cmsplugin-filer migration 2016-06-25 17:34:32 +02:00
Iacopo Spalletti
1f484c625d
Moar migration fixes 2016-06-25 17:12:21 +02:00
Iacopo Spalletti
c2bcb137d3
Fix code style 2016-06-23 09:29:53 +02:00
Iacopo Spalletti
1ead29a68c
Merge remote-tracking branch 'origin/release/0.8.x' into develop 2016-06-22 23:20:21 +02:00
Iacopo Spalletti
0fc168e147
Fix filer versions in tox 2016-06-22 08:44:06 +02:00
Iacopo Spalletti
63168b8f56
Bump version 2016-06-21 23:56:44 +02:00
Iacopo Spalletti
ce1b7b58a0
Fix migration dependencies issues 2016-06-21 23:55:28 +02:00
Iacopo Spalletti
40302ab680
Merge branch 'release/0.8.x' into develop 2016-06-21 16:50:30 +02:00
Iacopo Spalletti
11394beeec
Bump version 2016-06-21 16:47:49 +02:00
Iacopo Spalletti
70333d61ff
Fix filer dependencies 2016-06-21 16:46:16 +02:00
Iacopo Spalletti
f752a56092 Merge pull request #279 from nephila/docs/multisite
Improve multisite documentation
2016-06-16 18:43:30 +02:00
Iacopo Spalletti
f6000ef623
Improve multisite documentation 2016-06-16 18:00:37 +02:00
Iacopo Spalletti
300dcebfbf Merge pull request #275 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-06-14 09:11:11 +02:00
Adam Chainz
7c33ddc11c Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-06-13 22:08:48 +01:00
Iacopo Spalletti
f6cfacb50d
Merge branch 'release/0.8.x' into develop 2016-06-12 10:00:43 +02:00
Iacopo Spalletti
3b28e7d6bf
Bump for aldryn-only release, no code change 2016-06-12 09:48:30 +02:00