Commit Graph

418 Commits

Author SHA1 Message Date
Thibault Delavallée 452f1fbe59 [MERGE] [IMP] website_blog: layout and usability improvements. This task proposes a better layout that eases the reading + smooth transitions between blogs based on suggestions dynamically chosen based on a ranking.
Featuring :
- blog: blog now have a subtitle field
- blog_post: blog post now have a subtitle field, removed shortened content + website_published_datetime (create_date and write_date are sufficient). Added tracking of visits + ranking computation, to select the next post the user will see. Added background-image, that is used to display a cover behind the post title and subtitle. Overall display improvement.
- added new feature that allows a user to tweet selected text on twitter from post.
- added new feature that allows a user to discuss on every paragraph (anonymous user have to give their name and email)
- better blog demo data

Misc:
- website: removed dead code about website_published_datetime that could have been generic but has never been used
- [FIX] website: fixed image controller, do not attempt to read website_published on models that do not have that field

bzr revid: tde@openerp.com-20140409123550-tkrcfvnofxz7ryiz
2014-04-09 14:35:50 +02:00
Thibault Delavallée 6c6885d7fa [IMP] website_blog: always have a next_post, even a visited one, it you have at least
2 posts.

bzr revid: tde@openerp.com-20140408134728-fy4mbsuetwksa76v
2014-04-08 15:47:28 +02:00
Thibault Delavallée 5dac705c1a [IMP] website_blog: enable_editor + slugify URLs in order to be directly
in edit mode when creating a new blog.

bzr revid: tde@openerp.com-20140408134115-125vtpmtikdd2u26
2014-04-08 15:41:15 +02:00
Thibault Delavallée a59283ecc3 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140408131347-uo0ahmypbxhlx7vv
2014-04-08 15:13:47 +02:00
Christophe Simonis 0fad8159f3 [MERGE] forward port of branch saas-3 up to revid 9380 chs@openerp.com-20140407144439-10n8fs6zovodwwtx
bzr revid: chs@openerp.com-20140407163318-hh3jwfkj3o2c83lk
2014-04-07 18:33:18 +02:00
Denis Ledoux 73b3c851da [FIX] website*: remove unusable demo links from manifests
bzr revid: dle@openerp.com-20140403145128-9w92v4mmasz66mqj
2014-04-03 16:51:28 +02:00
Thibault Delavallée 271e43c3ed [FIX] website_blog: content post process: forgotten the unicity of paragraph tagging
bzr revid: tde@openerp.com-20140403115122-wuk65a5ua7ewqzz7
2014-04-03 13:51:22 +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
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
Thibault Delavallée c45ae33859 [CLEAN] website_blog: cleaned modifications in models :
- default value for post name and subtitle, because using it through the front-end
is the only way it shoudl be used, and the behavior should always be consistent
- moved mail_message new field into its own mail_message.py file to ease the
module reading;
- renamed discussion into discussion_key, a bit more understandable
- link cleaning

bzr revid: tde@openerp.com-20140402111656-0h66yedwm36m6c7t
2014-04-02 13:16:56 +02:00
Thibault Delavallée 059508ee14 [FIX] website_blog: fixed security breach, we do not allow to read on res.partner.
Avoid doing things like this.

bzr revid: tde@openerp.com-20140402093348-4a3tjuxtqcxthvqb
2014-04-02 11:33:48 +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 76141aaecf [FIX] website_blog: who wrote such stupid domains ?
bzr revid: tde@openerp.com-20140401095430-tn2i94o1bmdvevgd
2014-04-01 11:54:30 +02:00
Thibault Delavallée e29e6dfe26 [CLEAN] website_blog :code cleaning in added code
bzr revid: tde@openerp.com-20140401092826-gf9f365bn4wu8mk3
2014-04-01 11:28:26 +02:00
ajay javiya (OpenERP) eff3ce022c [REM] : image
bzr revid: aja@tinyerp.com-20140401092101-neuzx2xuet0e8m7x
2014-04-01 14:51:01 +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
Thibault Delavallée e6bcc1111e [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140401084304-mnbcx1agdzdptyyf
2014-04-01 10:43:04 +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
ajay javiya (OpenERP) 844e010a3d [REM] : unused import
bzr revid: aja@tinyerp.com-20140401061146-gxavo2gi25oi82yk
2014-04-01 11:41:46 +05:30
ajay javiya (OpenERP) 138f5d7f32 [MERGE] : with trunk and resolve conflicts
bzr revid: aja@tinyerp.com-20140401052801-4483i0z0ivmrwsbn
2014-04-01 10:58:01 +05:30
chm@openerp.com ee9191ca1b [FIX] website_blog: remove create_date from demo data
bzr revid: chm@openerp.com-20140331155603-02fhk4sscvfxpc55
2014-03-31 17:56:03 +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
chm@openerp.com 0162ee6aff [FIX] website_blog: order of blog_post must be by create_date
bzr revid: chm@openerp.com-20140331144140-hjokx0g6jklxp18m
2014-03-31 16:41:40 +02:00
ajay javiya (OpenERP) 88236bf2ac [IMP][FIX] : overwrite a record rule to see partner detail to anonymous user
bzr revid: aja@tinyerp.com-20140331132546-puaa6f6tc9osw590
2014-03-31 18:55:46 +05:30
ajay javiya (OpenERP) 256907674e [ADD] : change log
bzr revid: aja@tinyerp.com-20140331111958-oyfi455jwyacn9xx
2014-03-31 16:49:58 +05:30
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) e52dd4eeb8 [FIX] :traceback
bzr revid: aja@tinyerp.com-20140328095038-c8aygh3hc0eskray
2014-03-28 15:20:38 +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) 660c812786 [IMP] : ranking and visits management
bzr revid: aja@tinyerp.com-20140328063523-ttuhcai8aybtbmk0
2014-03-28 12:05:23 +05:30
ajay javiya (OpenERP) 68a1b4244f [FIX] : WARNING trunk-medium openerp.osv.expression: The domain term '('blog_id', '=', [1])' should use the 'in' or 'not in' operator.
bzr revid: aja@tinyerp.com-20140328051020-gvvlytg2pgqet5nv
2014-03-28 10:40:20 +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
ajay javiya (OpenERP) b5ffa0f83b [IMP]: code
bzr revid: aja@tinyerp.com-20140326073057-d60x28qqizy2l3u9
2014-03-26 13:00:57 +05:30
ajay javiya (OpenERP) 864892d6ce [MERGE] : with trunk
bzr revid: aja@tinyerp.com-20140326054841-9yoaub8fw058vjkm
2014-03-26 11:18:41 +05:30
ajay javiya (OpenERP) 52e527c518 [IMP]: code
bzr revid: aja@tinyerp.com-20140325132042-sr9mcr4jv51wp0vw
2014-03-25 18:50:42 +05:30
ajay javiya (OpenERP) f76a734e90 [MERGE] : with trunk
bzr revid: aja@tinyerp.com-20140325114109-lts5z42lq9xlgqx0
2014-03-25 17:11:09 +05:30
ajay javiya (OpenERP) bac460d5bd [IMP] : ask name and email to anonymus user
-> write name as author instead of anonymus in inline discussion
[ADD] :add 'publish/unpublish' feature on inline comments
[FIX] : nline discuss does not work on smaller devices

bzr revid: aja@tinyerp.com-20140325110428-sxvcsq2wdkptr3m3
2014-03-25 16:34:28 +05:30
chm@openerp.com 13d7cfe86c [MERGE] from trunk
bzr revid: chm@openerp.com-20140324082341-d6gqyloc7822aen2
bzr revid: chm@openerp.com-20140325084852-i1yomuyhyen4ss95
2014-03-25 09:48:52 +01:00
Denis Ledoux 5e967d1a3f [MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 9347 revid:dle@openerp.com-20140324162524-ew3c3eauj3kcnefi
bzr revid: dle@openerp.com-20140324162852-iubef1i0hwpxiske
2014-03-24 17:28:52 +01:00
Denis Ledoux a9001aedb1 [FIX] website_blog: typo, platform instead of plateform
bzr revid: dle@openerp.com-20140324162524-ew3c3eauj3kcnefi
2014-03-24 17:25:24 +01:00
ajay javiya (OpenERP) ce4a8347a8 [IMP]:In inline discuss icon, the small triangle should point to the left
bzr revid: aja@tinyerp.com-20140324060628-v7yzlcn7o4jtmozr
2014-03-24 11:36:28 +05:30
ajay javiya (OpenERP) 42dda7fb12 [FIX] :Select to tweet range is not perfect
-> change cover button does not to work.

bzr revid: aja@tinyerp.com-20140324055938-cj25uxm3h23kjmof
2014-03-24 11:29:38 +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
Fabien Pinckaers eeca54b04c [IMP] js fixes
bzr revid: fp@tinyerp.com-20140323190533-7lp6ayiyh7v03agv
2014-03-23 20:05:33 +01:00