Commit Graph

46 Commits

Author SHA1 Message Date
chm@openerp.com f299180399 [FIX] website_mail: request.website.user_id.id
bzr revid: chm@openerp.com-20140502092659-1gwsx6lmgmtcf80q
2014-05-02 11:26:59 +02:00
Thibault Delavallée b484da7e73 [FIX] [IMP] website_mail: improved and fixed the 'subscribe button'.
This button is used to perform a 'message_subscribe' or 'message_unsubscribe' on some
documents. It is notably used to add a 'Subscribe' button in some pages that subscribe
the user to a mailing list (aka mail.group).
This branch fixes some subscribe/unsubscribe issues, better manages the public user,
use the session to remember whether a public user has subscribe to a mailing list,
and uses already-existing code to manage partners.

bzr revid: tde@openerp.com-20140319113129-qd2bok52hvf1ybiu
2014-03-19 12:31:29 +01:00
chm@openerp.com 3624a3beb2 [IMP] website_mail: refactor follow button; add partner_id in session for public user
bzr revid: chm@openerp.com-20140318101505-4yivw8h5oujyhm9b
2014-03-18 11:15:05 +01:00
chm@openerp.com 73446943f5 [FIX] website snippet: clean_for_save; display email in subscribe snippet
bzr revid: chm@openerp.com-20140306134746-oi0p580c3s3t2a24
2014-03-06 14:47:46 +01:00
chm@openerp.com 58a5f90758 [IMP] website: dynamic website_mail snippet with js
bzr revid: chm@openerp.com-20140306130240-cpsd5mssziuvrpf8
2014-03-06 14:02:40 +01:00
Fabien Meghazi 14bb6060d7 [REM] Removed @website.route() decorator
Need trunk-website-al Rev#5151

bzr revid: fme@openerp.com-20140120153733-ve3dn2kwvha7n3yl
2014-01-20 16:37:33 +01:00
Christophe Matthieu f927506bfc [FIX] website_mail: follow/subscribe button
bzr revid: chm@openerp.com-20140113110542-jkb13xfiy3tno50n
2014-01-13 12:05:42 +01:00
Fabien Pinckaers ed7623fc45 [IMP] Performance improvement: improved cache with context, better get_object
bzr revid: fp@tinyerp.com-20131130154659-uqis34x2cemmocly
2013-11-30 16:46:59 +01:00
Christophe Matthieu 84e24d62b5 [IMP] add website_hr_recruitment
Module for jobs displayed on the website.
The public user can apply or follow the jobs.

little fixes in website_mail

bzr revid: chm@openerp.com-20131002115603-ikgipps88vbf69ef
2013-10-02 13:56:03 +02:00
Thibault Delavallée 726cda367e [FIX] website and all derived addons: fixed imports broken when moving
website.py to models/ directory in website (revision 9491 revid:xmo@openerp.com-20130930145358-qh7xdicgg21prsk4).

bzr revid: tde@openerp.com-20131001085739-hoczgpqrv2nrr6lb
2013-10-01 10:57:39 +02:00
Thibault Delavallée 857f255d95 [IMP] website_mail, website_blog: improved follow / unfollow (always display email, more visible)
bzr revid: tde@openerp.com-20130930143357-0r61uikrf8nx92fg
2013-09-30 16:33:57 +02:00
Thibault Delavallée b34f746c36 [ADD] website_mail: added templates, js and css to have a generic follow button.
Based on the same principle as publish, there is now a generic button to follow
or unfollow objects in openerp. This should replace all custom instance of
subscription in other addons.

bzr revid: tde@openerp.com-20130923095909-4p5aiswlwy14g32k
2013-09-23 11:59:09 +02:00
Thibault Delavallée 4c3b516a7b [REF] website_mail refactoring
It is now called website_blog, and not based on mail.group anymore. It uses
document_page module, previously renamed blog.post (see previous commits).

Refactored controllers and views to work with the new model.

Added website_mail module, that holds mail-related stuff necessary
for the website. This is an auto-install module.

bzr revid: tde@openerp.com-20130920135643-rey5bwza2e96v7h5
2013-09-20 15:56:43 +02:00
Christophe Matthieu 4c040d0578 [IMP] website_mail: author
bzr revid: chm@openerp.com-20130919141958-0qfx01nfidr4zq5i
2013-09-19 16:19:58 +02:00
Christophe Matthieu fcfc2d9649 [IMP] website_mail: content and fix button
bzr revid: chm@openerp.com-20130919140538-atltxg7htzp8gkd3
2013-09-19 16:05:38 +02:00
Fabien Meghazi 0e82448ed8 [IMP] Refactor code + WIP multiwebsite
bzr revid: fme@openerp.com-20130910134133-esdgbhbtt8eguapk
2013-09-10 15:41:33 +02:00
Fabien Meghazi bf09524def [FIX] context set on wrong methods
bzr revid: fme@openerp.com-20130909100059-j7yhkfql3qxaz96b
2013-09-09 12:00:59 +02:00
Fabien Meghazi e980e1c715 [FIX] context merge
bzr revid: fme@openerp.com-20130909075031-rvwxjdc07zhq0m8u
2013-09-09 09:50:31 +02:00
Fabien Meghazi d2e90f0621 [BREAK] request.context everywhere
some stuff broken will be repaired by chm

bzr revid: fme@openerp.com-20130905151803-7d17us7rn9yubnb2
2013-09-05 17:18:03 +02:00
Christophe Matthieu c80cf7d064 [IMP] website_event: add subscribe option and comments
bzr revid: chm@openerp.com-20130905104212-m6cybnbif4tsn9t3
2013-09-05 12:42:12 +02:00
Fabien Meghazi 6621c1275b [IMP] Refactoring using `webcontext`
bzr revid: fme@openerp.com-20130904153236-gc78bs8pxeprktkr
2013-09-04 17:32:36 +02:00
Christophe Matthieu 1b31e4255d [IMP] website: fix the pager; website_mail: use website pager
bzr revid: chm@openerp.com-20130814094122-s21uaicmnwnhuxwm
2013-08-14 11:41:22 +02:00
Christophe Matthieu ddf32f4f9e [IMP] website: refact. python for website publish button
bzr revid: chm@openerp.com-20130814084505-5ynbrmfvbu48v7kx
2013-08-14 10:45:05 +02:00
Fabien Meghazi 6e56bac4b0 [IMP] Replaced website#get_public_uid by get_public_user (returns browse record)
bzr revid: fme@openerp.com-20130807130127-9yd6k1pypyhmo12n
2013-08-07 15:01:27 +02:00
Christophe Matthieu bbe9721732 [IMP] website_mail: check_access_rule to follow
bzr revid: chm@openerp.com-20130806152951-0ur49vxwnxfexzq7
2013-08-06 17:29:51 +02:00
Christophe Matthieu 892e38decf [IMP] website: website in context value
bzr revid: chm@openerp.com-20130806152551-al681prbs3l1150q
2013-08-06 17:25:51 +02:00
Christophe Matthieu dc0148b73e [IMP] website_mail: public_uid
bzr revid: chm@openerp.com-20130806142835-tfk8gvdidxi0m371
2013-08-06 16:28:35 +02:00
Christophe Matthieu 1a93e8bbca [IMP] website_sale: some access right
bzr revid: chm@openerp.com-20130806141848-0m2c742tg18p2f04
2013-08-06 16:18:48 +02:00
Fabien Meghazi 67e1d2819b [REM] Remove public_uid from request
bzr revid: fme@openerp.com-20130806140636-qreh32s86q1synmk
2013-08-06 16:06:36 +02:00
Christophe Matthieu f55561d154 [FIX] website_mail: access right and xml
bzr revid: chm@openerp.com-20130806090845-xi47tuk6mfekaedr
2013-08-06 11:08:45 +02:00
Christophe Matthieu c0f75a5931 [IMP] website_mail: subscribe (add followers)
bzr revid: chm@openerp.com-20130806085654-n3z6f9u991k9wky3
2013-08-06 10:56:54 +02:00
Fabien Meghazi af08367290 [ADD] Added website osv object + refactoring
bzr revid: fme@openerp.com-20130805161600-abms35e0vk47f3i1
2013-08-05 18:16:00 +02:00
Christophe Matthieu 9cd3d8132b [IMP] website_event
bzr revid: chm@openerp.com-20130805124428-9pnqbdb68lruqnxq
2013-08-05 14:44:28 +02:00
Christophe Matthieu d37aebb7f0 [IMP] website: security and public access
bzr revid: chm@openerp.com-20130802035504-lokijwh57e0q3w6a
2013-08-02 05:55:04 +02:00
Christophe Matthieu a176be5c44 [IMP] website: public_uid
bzr revid: chm@openerp.com-20130801143347-ihg8nkb1frs08rl2
2013-08-01 16:33:47 +02:00
Christophe Matthieu bd23b31721 [IMP] website: add auth_method_public
bzr revid: chm@openerp.com-20130801124850-9ycc9j77wphiiww6
2013-08-01 14:48:50 +02:00
Christophe Matthieu 781ae74c18 [IMP] website_mail: button add a new blog; link on header and footer
bzr revid: chm@openerp.com-20130730085027-beo81wr0ru1m6q2d
2013-07-30 10:50:27 +02:00
Christophe Matthieu 3bb683e07d [IMP] website_mail: post new blog
bzr revid: chm@openerp.com-20130729154916-dr5bm70smt49efvv
2013-07-29 17:49:16 +02:00
Christophe Matthieu 4dde39af8f [IMP] website_mail: blog archive, pager
bzr revid: chm@openerp.com-20130729141934-y45eofkxxjgya59u
2013-07-29 16:19:34 +02:00
Christophe Matthieu 4ebaf63987 [IMP] website_mail: blog archive
bzr revid: chm@openerp.com-20130729105146-zbr3454gdmqkg81u
2013-07-29 12:51:46 +02:00
Christophe Matthieu 0d168ea3f4 [IMP] website_mail: post with login
bzr revid: chm@openerp.com-20130729084915-yy713hv4e9r60ap4
2013-07-29 10:49:15 +02:00
Christophe Matthieu b21b10d1f3 [IMP] website_mail: inherit mail.group to add get_public_message_ids method
bzr revid: chm@openerp.com-20130726154816-nl25yxslv6yekoqi
2013-07-26 17:48:16 +02:00
Christophe Matthieu 69acb34f3e [IMP] website: new class website with route decorator
bzr revid: chm@openerp.com-20130726141333-047bdk1qocrpodqp
2013-07-26 16:13:33 +02:00
Christophe Matthieu f3a8f62e75 [IMP] website: create website class and decorator
bzr revid: chm@openerp.com-20130726123317-idaxp6zfvdpr60k2
2013-07-26 14:33:17 +02:00
Christophe Matthieu 087989b12e [IMP] website_mail: publish and post message
bzr revid: chm@openerp.com-20130725145743-uxt7lqxeavxb6u4g
2013-07-25 16:57:43 +02:00
Christophe Matthieu 185827a579 [IMP] website_mail
bzr revid: chm@openerp.com-20130724152027-hzcdqli4t80ytg3l
2013-07-24 17:20:27 +02:00