Commit Graph

227 Commits

Author SHA1 Message Date
Nicolas Lempereur 21e65ae3c6 [FIX] website_blog: don't add background from backend
Adding an image from the frontend use ir.attachment or pre-existing url
and set the url in the blog.post's background_image field. This is
not the same as a binary field which sets the data in the field.

Since it's possible to do it in the frontend, there is no use of the
field in the backend. This fix removes this field.

closes #6497
issue #1305
opw-633725
2015-04-28 16:50:34 +02:00
Jeremy Kersten 337487db60 [FIX] website_blog: change name t-as to avoid to erase exisitng variable tag.
controller render with context { tags, tag, ... };
so use 't-foreach tags t-as tag', erase the 'tag' from controller.
2015-02-20 16:22:15 +01:00
Jeremy Kersten cafbf0714e [IMP] website_blog: Add menu, form view and tree view to manage tags. 2014-11-21 15:53:32 +01:00
Jeremy Kersten 738a895dba [FIX] ir_qweb, website_blog: Allow to pass inline style as an option for the widget image. And change some img from blog to use this widget 2014-11-05 11:11:26 +01:00
Jeremy Kersten b95b134285 [FIX] website_blog: use related to display the image from the author from a blog without that the partner is 'website_published'. 2014-10-28 14:12:39 +01:00
Fabien Meghazi bc5e6fa2cb [ADD] Helper for /website/image (allows to use aggressive cache) 2014-09-16 19:54:59 +02:00
Christophe Simonis 980d23f98b [IMP] website_blog: more generic xpath expression when inheriting view. ease migration. 2014-09-11 13:19:59 +02:00
Jeremy Kersten c916243bb6 [FIX] website_blog: change group restriction to load the JS editor 2014-09-10 18:20:54 +02:00
Antony Lesuisse 2d296cb779 [MERGE] ir-ui-view split active and show_customize
Split the ternary field application in active and show_customize, all four
possible value are now needed for the customize theme popup.
2014-08-31 16:56:44 +02:00
Fabien Meghazi 5e6e1303e3 [IMP] pretty urls for /website/image 2014-08-28 16:37:38 +02:00
Jeremy Kersten 287ea2fb17 [IMP] website_*forum,blog,instantclick,...: Move Js in assets 2014-08-28 12:21:47 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Thibault Delavallée b411b88fc8 [IMP] website_blog: minor improvements in post form view (use group) 2014-07-01 11:37:35 +02:00
Simon Lejeune 195fa93168 [MERGE] backend front end integration
Render the top-menu (backend menu or frontend editbar) server-side.
Use Fontawesome icons (mail, timezone, chat).
Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.
2014-06-27 11:03:34 +02:00
ged-odoo 74168c4e9d Merge pull request #272 from odoo-dev/master-inline-searchview-ged
[MERGP] Inline Searchview

This task split the searchview in two parts: SearchView and SearchViewDrawer. The drawer is displayed inside the main view and the searchview stays in place.  It also changes the scrolling behavior of the web client: the main view area can scroll without affecting the UI (so the various menus stays in place)

Because of this, other large changes have been made:

the drawer has been redesigned,
the Custom Filter widget has been split in two (Custom Report and SaveCurrentFilter),
the main view is now scrollable, so the UI stays in place and only the view can change
The text 'Group By...' has been changed into 'Group By' (most addons had to be modified)
bootstrap classes are used when it makes sense (for example, badge)
the left menu is also scrollable (separately from the main view)

It is likely that some stupid bugs have been introduced.  Please don't hurt me.
2014-06-12 16:27:11 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
Géry Debongnie 8202561511 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-06-10 11:43:17 +02:00
Richard Mathot 401607ed11 [FIX] website_blog: use new custom footer 2014-06-02 12:11:18 +02:00
Géry Debongnie 6b4a227cd4 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-05-30 09:22:12 +02:00
Olivier Dony e276ac33f6 [MERGE] Forward-port saas-4 up to bf135ad 2014-05-28 17:45:31 +02:00
Richard Mathot bf135ad057 [FIX] website_blog: display properly (very) long words in comments 2014-05-28 17:23:28 +02:00
Géry Debongnie 5cc8f9ca42 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-05-28 10:37:16 +02:00
Xavier Morel e06f5b414b [IMP] inherit_option_id -> application 2014-05-27 12:13:51 +02:00
Géry Debongnie 62900fe01b Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged
Conflicts:
	addons/crm/crm_case_section_view.xml
2014-05-26 10:06:31 +02:00
Fabien Pinckaers 143615ddc1 Merge branch 'master-remove-html-fields-backend-ypa' of https://github.com/odoo-dev/odoo into odoo-dev-master-remove-html-fields-backend-ypa 2014-05-23 09:24:16 +02:00
Yogesh Parekh 59ecefbed2 Remove content field in Pages History form in website_blog module 2014-05-22 16:17:22 +05:30
Yogesh Parekh 52f571ac8a Remove content html field from website_blog module 2014-05-22 15:33:37 +05:30
Géry Debongnie 555677f14d [IMP] replace all 'Group By...' by 'Group By'
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters.  This change was requested by the upper management
2014-05-22 11:44:35 +02:00
Christophe Simonis a756b82372 [MERGE] forward port of branch saas-4 up to revid bb26dea 2014-05-20 20:19:55 +02:00
Martin Trigaux 00a4845bc7 [FIX] website_blog: fix broken change cover wizard 2014-05-13 12:31:57 +02:00
Richard Mathot (OpenERP) d34c54dbb6 [FIX] URL generation in blog template 2014-05-12 16:20:48 +02:00
Fabien Meghazi 4f16d15120 [IMP] rename editor assets
bzr revid: fme@openerp.com-20140425101753-gz6c8q9huw9c04yp
2014-04-25 12:17:53 +02:00
Fabien Meghazi 1c4e2cfd22 [IMP] bundlify addons (except website)
bzr revid: fme@openerp.com-20140424172129-ze74eaz2eaidmxhm
2014-04-24 19:21:29 +02:00
Xavier Morel 74d4d1f58d [CHG] bundlify website
CKEDITOR_BASEPATH has to be defined, by default ckeditor will load its files
relative to "itself" (the file which executes it). After bundling, the path is
incorrect and ckeditor looks for its files (e.g. en.js) in the wrong place.

bzr revid: xmo@openerp.com-20140418121503-4nsja7enutney2vn
2014-04-18 14:15:03 +02:00
Thibault Delavallée 8f105b6624 [IMP] website_blog: path computation (unique key) for paragraphs in medium-like blogs
is now done server-side and stored directly in the html content, as post processing.
The front-end attaches messages based on the attribute data-chatter-id, but do not
compute the attribute itself anymore.
Misc cleaning of code.

bzr revid: tde@openerp.com-20140403112656-ane3ovhh70qdc8b4
2014-04-03 13:26:56 +02:00
Thibault Delavallée 045157170a [IMP] website_blog: update templates to use the contact widget, allowing to
display partner-related stuff without having to tweak the access rights.
Misc update of templates due to some filed renaming.
Added author field on the blog, allowing to avoid having issues with
create_uid field.

bzr revid: tde@openerp.com-20140402140200-a3g0750akro2n12v
2014-04-02 16:02:00 +02:00
ajay javiya (OpenERP) 7126bc5b50 [MERGE] : with trunk and resolve conflicts
bzr revid: aja@tinyerp.com-20140401132534-owbxvwqo6qpodw7e
2014-04-01 18:55:34 +05:30
Thibault Delavallée 6a4e52f272 [IMP] website_blog: use 2 different URL schemes (post and blog), to ease url use in templates
bzr revid: tde@openerp.com-20140401092026-2patc88e0xu6ghyx
2014-04-01 11:20:26 +02:00
Fabien Pinckaers 804d3fe4f6 [IMP] rename class to be reusable
bzr revid: fp@tinyerp.com-20140401072504-6hbwo2jui240jng7
2014-04-01 09:25:04 +02:00
Fabien Pinckaers 1c2a8466e9 [IMP] no flickering on scroll event
bzr revid: fp@tinyerp.com-20140401071940-1pwz6ncar6afcybz
2014-04-01 09:19:40 +02:00
Thibault Delavallée 2555249fbb [IMP] website_blog: url helper defintiion + use; still blog posts to fix.
bzr revid: tde@openerp.com-20140331152711-yg34m7klexuu6v8t
2014-03-31 17:27:11 +02:00
ajay javiya (OpenERP) 3d8952b534 [IMP] : code
bzr revid: aja@tinyerp.com-20140328131934-tbhr7l3rbozkor3c
2014-03-28 18:49:34 +05:30
ajay javiya (OpenERP) 4931eae3c1 [REM] : archive related changes
-> remove routes related to date on blog method

bzr revid: aja@tinyerp.com-20140328112008-8mhxvqxs8g1ui2mn
2014-03-28 16:50:08 +05:30
ajay javiya (OpenERP) a5d783cf82 [ADD] : history feature
bzr revid: aja@tinyerp.com-20140328085055-kw0pplobbla2emjd
2014-03-28 14:20:55 +05:30
ajay javiya (OpenERP) b8b562ce0a [IMP] :When creating a new blog, there is a zone to edit the content
bzr revid: aja@tinyerp.com-20140327133407-kj5geztq3t551lk1
2014-03-27 19:04:07 +05:30
ajay javiya (OpenERP) 287e92bca7 [ADD] : pager on blog list
[FIX] :archive navigation does not work 
[REM] : BYPAGE in blogs method and use existing _blog_post_per_page

bzr revid: aja@tinyerp.com-20140327111024-7nm1kbs74kqtcmrv
2014-03-27 16:40:24 +05:30
ajay javiya (OpenERP) e5f0562265 [REM] : unsed import
-> author_iamge field
[IMP] : odrder of imports
 -> mechanism to post for anonymus user

bzr revid: aja@tinyerp.com-20140327072334-4wwt7ady4vmam91e
2014-03-27 12:53:34 +05:30
ajay javiya (OpenERP) 588c44a6c4 [REV] : unwanted mail message change
bzr revid: aja@tinyerp.com-20140327060100-fyefo1o1ga3ym48l
2014-03-27 11:31:00 +05:30
ajay javiya (OpenERP) 16f7cc4e5b [ADD] : field on view
bzr revid: aja@tinyerp.com-20140327051528-joaa06orfcffzzuj
2014-03-27 10:45:28 +05:30
Fabien Pinckaers f51a366ea7 [IMP] anonymous for website_blog
bzr revid: fp@tinyerp.com-20140323195531-84hnzo5f950r4eg7
2014-03-23 20:55:31 +01:00