Commit Graph
61 Commits
Author SHA1 Message Date
qsm-odoo 7cbb2e6ed3 [FIX] website_blog: set public visibility for default cover images 2016-09-28 14:49:56 +02:00
qsm-odoo 4dd31f645e [IMP] website_blog: add consistent behaviors for cover options
There was no bug but now the behaviors are more consistent :

- Demo data now declare a black invisible filter instead of nothing.
This allows user to see the effect of filter intensity option
(otherwise it had no visible effect since there was no filter color).

- If the filter intensity is set to "None" (invisible filter) and that
a filter color option is highlighted or chosen, a "Low" filter
intensity is automatically highlighted or chosen so that the user see
the filter color he is chosing (instead of having to choose the filter
intensity first).

- Hide the "Size" option on the blog list page since it has not visible
effect there.

- Some code "performance" improvements in option selection.
2016-09-28 13:05:39 +02:00
Martin Trigaux 11812b0b9e [FIX] all: remove external ids fakely from base
Several modules defines records with the external ID `base.foo_bar` while it is
created inside this module (typically menus and groups).
While there is no technical reasons to do so but this may introduce issues:

- these records will not be deleted during uninstall
- if a language is loaded before the installation of the module, it won't be
  translated

The uninstallation will only remove the records with an external id linked to
this module (these would only be removed when removing base).

Installing a language before the module will drop the translations not linked
to an existing external id (as it can not be resolved).

This commit correct all the external ids tagged as from base or other incorrect
modules.
2016-09-02 16:14:26 +02:00
stefanorigano 1ec38c02c5 [IMP] website_blog: replace images and add xml ids
* Replace demo blog post covers
* Add xml ID to demo images so they can be easily replaced by themes
* Remove unused images
2016-09-02 14:57:40 +01:00
qsm-odoo 1c87f1d3bb [IMP] website(_blog): remove "Style" (blog-style) snippet option
The "bigger text" option was an useless option as redundant with the
summernote editor one.

The "narrow" option always resulted in an ugly layout with bugs in
many contexts.

Note: the styling classes are kept for compatibility for now.

+ Adapt demo data of website_blog which rely on the "narrow" option.
Use up to date snippets with reduced column width to get the same
result.
2016-08-31 16:37:20 +02:00
qsm-odoo 74d7de465e [REF] website_blog: refactore cover option and change opacity behavior
* Isolate website_blog style
* Simplify/Correct the cover option JS
* Allow to modify the cover from the blog list page
* Change cover layout (use a more conventionnal odoo design with a
div which is full width, which contains a container(-fluid) then its
content) -> easier to customize.
* Refactore code to be understandable
* Change behavior of opacity filter: before this commit the cover
filter was not intuitive and did not work on IE or Edge, it mixed
the color of the bg-image and the bg-color in a complex way and the
opacity was just controlling if the image was visible clearly or not
(which led in general to ugly style if the opacity was used). Now, the
color in applied *on top* of the image so that its color changes the
hue of the underlying image. The opacity value controls only the
opacity value of the color to mix.

[MIGRATION] Note: as the opacity behavior has changed, the exact same
behavior is not reproductible at all. But for the change to make a bit
of sense in old databases, this should be applied for the field
"cover_properties" of blog posts (with changes in layout):

if cover_properties.background-color != "oe_none":
    cover_properties.opacity = 0.6
else:
    cover_properties.opacity = 1.0 - cover_properties.opacity
2016-08-19 17:44:28 +02:00
fwi-odoo 5e7ccc0e96 [MIG] website_blog: migrate xml files 2016-08-10 17:57:03 +02:00
Thibault Delavallée efd55ab8a5 [REF] various: rename openerp node to odoo in xml files 2016-08-10 15:48:10 +02:00
qsm-odoo a3585b84b5 [FIX] website(_*): stop launching old tours on installation
On website/theme installation and other website_* module installation,
an action was triggered to launch tours. These tours are now used only
for tests and should not be used as onboarding anymore.

Note: in master these tours will be removed to use the new test system.
2016-07-15 17:47:03 +02:00
Jigar Patel 7853d0da26 [IMP] website_blog: Add published date, sort posts on this date + frontent filters
=======
Purpose
=======

For now all the views of blog posts sort them based on creation date. This creation date cannot be
changed (even with server actions). This leads to issues in several cases:

- import of old blog posts from a former system -> all the blog posts have the same date, on the website as well
- website visitors see when the blog post has been created, not published...

=============
Functional Spec
=============

Display blog post sorted by publish date in descending order. If the post has not been published yet,
the published date = creation date. When a post is unpublished and then published again, the publish
date should be updated to the last time it is published.

Add a status filter for published/not published blog posts, by default both are active (only visible
for website admin)
2016-06-06 12:56:56 +02:00
David Monjoie 3e3aa74ea8 [FIX] website_blog: fixed typo in demo data
Change is not retroactive to avoid breaking existing translations.
Courtesy of nmi.
2015-07-30 16:13:42 +02:00
Hitesh Trivedi f2987ea412 [IMP] website_blog : onboarding. The cover image of a blog post is editable (opacity, color, size, ...). Add a new tour, views improvements and new default images 2015-03-17 09:09:27 +01:00
Christophe Simonis 4eb385fc0b [MERGE] forward port of branch 8.0 up to 0ec3c75 2015-01-23 14:57:07 +01:00
Aaron Bohy 3cae676619 [FIX] Use local copies of png instead of fetching them from websites
Debian does not allow fetching data from external website at runtime.
This fixes the privacy-breach-generic lintian warnings for Debian packaging.
The removed youtube url was a dead link...
2015-01-23 11:23:04 +01:00
Jérome Maes aaf37d8e87 [IMP] website_blog : allow multi tags and date filter, clean all the routes, remove group_comment from website_mail (only user and portal can post comment on blog.post, but the form is visible for all), modify the redirect controller to the login form when posting comment, and remove the description field of blog.blog 2014-12-26 16:04:29 +01:00
Christophe Simonis 1d3f8eba87 [MERGE] forward port of branch 8.0 up to 591e329 2014-12-02 16:18:08 +01:00
Amit Vora 4bf9dc4078 [IMP] [FIX] website_blog: better follow mechanism. Now people following
a blog will receive notifications only for published posts. They
will not receive all comments of all posts anymore.
When commenting a post users will receive the answers.

Added tests to try to test this behavior.
2014-11-28 15:12:14 +01:00
Goffin Simon 5f258c831e [WIP] Multi website 2014-09-16 14:11:08 +02:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Thibault Delavallée fbecb8da26 [CLEAN] website_blog: removed some demo data to avoid bloating the diff
bzr revid: tde@openerp.com-20140402115939-q0gh61wp7owov64c
2014-04-02 13:59:39 +02:00
ajay javiya (OpenERP) eff3ce022c [REM] : image
bzr revid: aja@tinyerp.com-20140401092101-neuzx2xuet0e8m7x
2014-04-01 14:51:01 +05:30
Fabien Pinckaers 48afa1fac7 [IMP] security improvement, removing empty doc
bzr revid: fp@tinyerp.com-20140322221507-4xya3el8uxsvkfdz
2014-03-22 23:15:07 +01:00
ajay javiya (OpenERP) 9d0e551091 [IMP] : demo data
bzr revid: aja@tinyerp.com-20140224103628-fsopxc78rywmeoz7
2014-02-24 16:06:28 +05:30
Fabien Pinckaers c12ee07b02 [IMP] cover by default
bzr revid: fp@tinyerp.com-20140223171532-p2ts7i40l8vlmx2p
2014-02-23 18:15:32 +01:00
Fabien Pinckaers a851a16bef [IMP] changes in main view
bzr revid: fp@tinyerp.com-20140223141706-otrugczrfkolidue
2014-02-23 15:17:06 +01:00
ajay javiya (OpenERP) 762598ad9f [IMP] :demo data
bzr revid: aja@tinyerp.com-20140220065732-sftm2n16ww3eq9mi
2014-02-20 12:27:32 +05:30
ajay javiya (OpenERP) 937e482114 [FIX] : content not display proper
bzr revid: aja@tinyerp.com-20140220064248-lvmpgbz7skjpqyus
2014-02-20 12:12:48 +05:30
ajay javiya (OpenERP) 35172c499b [ADD] : icons for published in
bzr revid: aja@tinyerp.com-20140219131829-kioys6v15c2b9yyp
2014-02-19 18:48:29 +05:30
Mahendra Barad (OpenERP) 28802724e3 [IMP]demo data and auth image
bzr revid: mba@tinyerp.com-20140217070257-g635bnsd5jv6ogkb
2014-02-17 12:32:57 +05:30
ajay javiya (OpenERP) a75f8dbd7b [IMP] : blog post list layout
bzr revid: aja@tinyerp.com-20140217051649-cxs7eglqcw5q5z37
2014-02-17 10:46:49 +05:30
ajay javiya (OpenERP) a58be27cb6 [ADD]: image and improve subtitle
bzr revid: aja@tinyerp.com-20140211100658-xpsff6sci803wyr3
2014-02-11 15:36:58 +05:30
Mahendra Barad (OpenERP) 3591c3f312 [IMP]improved view of blog cover
bzr revid: mba@tinyerp.com-20140211095714-1ui064ahrxc5p3nd
2014-02-11 15:27:14 +05:30
Mahendra Barad (OpenERP) d26f38bd0b [IMP]remove strong ,em ,small from demo
bzr revid: mba@tinyerp.com-20140211053746-c4gx1opca2khpjv3
2014-02-11 11:07:46 +05:30
ajay javiya (OpenERP) 7d6389cc8e [ADD] : sub-title field in blog.post
[ADD] : customize option for list view of blogpost in blog

bzr revid: aja@tinyerp.com-20140207114028-4y47svx88xe5rrhy
2014-02-07 17:10:28 +05:30
ajay javiya (OpenERP) 292f9ad980 [IMP] : demo data
bzr revid: aja@tinyerp.com-20140207090611-3xccl03os5p4xh2t
2014-02-07 14:36:11 +05:30
ajay javiya (OpenERP) 9e5733c7a8 [MERGE] : merge with lp:~openerp-dev/openobject-addons/trunk-website-al-blog-imp-aja
bzr revid: aja@tinyerp.com-20140207061928-2s378cq1okd0fs2v
2014-02-07 11:49:28 +05:30
Mahendra Barad (OpenERP) 59cc4f2d7f [ADD]demo data
bzr revid: mba@tinyerp.com-20140204095958-kx27zprz58g2e680
2014-02-04 15:29:58 +05:30
ajay javiya (OpenERP) de2177bb26 [MERGE] : with main
bzr revid: aja@tinyerp.com-20140204072402-ra7u1t0nmyot6j0j
2014-02-04 12:54:02 +05:30
Mahendra Barad (OpenERP) 91459c931b [IMP]imporved demo data
bzr revid: mba@tinyerp.com-20140203120515-oddwj82hw1v7kauh
2014-02-03 17:35:15 +05:30
Christophe Matthieu d23f8425ad [FIX] website tour: flickering; banner auto run; work with different language
bzr revid: chm@openerp.com-20140203112816-c350lxr5pgo9x2li
2014-02-03 12:28:16 +01:00
Mahendra Barad (OpenERP) d5a7848eb5 [IMP]demo data and css for img banner
bzr revid: mba@tinyerp.com-20140131064833-38zk9976w6gkqivd
2014-01-31 12:18:33 +05:30
Mahendra Barad (OpenERP) f0a2cebb93 [Add]demo data in website_blog
bzr revid: mba@tinyerp.com-20140129115530-2dbt32c2ogy1088p
2014-01-29 17:25:30 +05:30
Fabien Pinckaers eb71671bc4 [FIX] ID conflict crash at install
bzr revid: fp@tinyerp.com-20140126115052-ndzqd723bq1wsa5p
2014-01-26 12:50:52 +01:00
Christophe Simonis 16db944365 [IMP] website_blog: rename "Category" to "Blogs"
bzr revid: chs@openerp.com-20140124162251-3kkn3n17uqum1scu
2014-01-24 17:22:51 +01:00
Christophe Matthieu c4ea06327c [FIX] website: typo
bzr revid: chm@openerp.com-20140106103855-vjd6ro0w4m0xkfrc
2014-01-06 11:38:55 +01:00
ddm 4f0ad3f64a [IMP] Basic support for ui tests
bzr revid: ddm@openerp.com-20131218145628-9oqxlwy4g05n4jwa
2013-12-18 15:56:28 +01:00
ddm 0c699923e1 [FIX] Restore tutorial on blog install
bzr revid: ddm@openerp.com-20131212100316-ipy9vnrg4k05t0m2
2013-12-12 11:03:16 +01:00
Christophe Matthieu 8f2f589561 [FIX] website: typo, partner order, event demo data
bzr revid: chm@openerp.com-20131211112617-11kdph7cieews0y8
2013-12-11 12:26:17 +01:00
Fabien Meghazi a7738ab2ea [IMP] Reorder menu
bzr revid: fme@openerp.com-20131203120910-yv82gwref4uikn7b
2013-12-03 13:09:10 +01:00
Christophe Matthieu d32ece09db [IMP] website_blog: change url paths
bzr revid: chm@openerp.com-20131129161434-rsnklmcz1g9b1cc0
2013-11-29 17:14:34 +01:00