Commit Graph

1777 Commits

Author SHA1 Message Date
Christophe Matthieu 373eadffb1 [MERGE] from saas-3
bzr revid: chm@openerp.com-20140214100424-str26q27d169adwi
2014-02-14 11:04:24 +01:00
Christophe Matthieu d4244bec3e [IMP] website: add a checkbox on new page dialog to add page in menu. Fix: The new page is confusing: one user created a new page and then she don't figure out how to find it
bzr revid: chm@openerp.com-20140213152728-jj6j1hxae8ia5w4k
2014-02-13 16:27:28 +01:00
Christophe Simonis f6422470dd ಠ_ಠ
bzr revid: chs@openerp.com-20140213152348-alye3ovcn2y53xp3
2014-02-13 16:23:48 +01:00
Christophe Matthieu c86156bbec [FIX] website: comment test login_test.js. Error QWeb2 (test dependence) is not injected in the login page to insert login and password
bzr revid: chm@openerp.com-20140213132550-9i28l7v8vcibz36t
2014-02-13 14:25:50 +01:00
Christophe Matthieu a193f3fef8 [FIX] website: login for test js
bzr revid: chm@openerp.com-20140213132156-plxe5hqohmkxf40g
2014-02-13 14:21:56 +01:00
openerp-sle e7f03b92c4 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140213121633-d1qnw9hsgz2e392d
2014-02-13 13:16:33 +01:00
openerp-sle 0ae6d1f4e7 [FIX] More accurate values for the demo paper format and website contact widget enhanced
bzr revid: openerp-sle@openerp-sle.home-20140213120739-4jh30s94scfr584e
2014-02-13 13:07:39 +01:00
Christophe Matthieu 441bbb23d7 [IMP] website tour: auto hide popover when the target element is display or hidden
bzr revid: chm@openerp.com-20140213104947-ezd53nzwyxe4xtos
2014-02-13 11:49:47 +01:00
openerp-sle eb4bdb1a49 [IMP] Website: contact widget has now an option to disable fontawesome markers
bzr revid: openerp-sle@openerp-sle.home-20140212220801-66kuwbz8d3piy2sa
2014-02-12 23:08:01 +01:00
Christophe Matthieu e1b37a897d [FIX] website: remove alert snippets_modal
bzr revid: chm@openerp.com-20140212143916-tqf8d8n1hhod5l4v
2014-02-12 15:39:16 +01:00
Christophe Matthieu ed785f0783 [FIX] website_sale: pager and breadcrum keep search and filter. Filter keep search and category. Links for category
bzr revid: chm@openerp.com-20140212115516-3izdv7cszgh2n3l4
2014-02-12 12:55:16 +01:00
Thibault Delavallée 19d9b7309d [CLEAN] website: ir_actions: removed commented line + small reordering of columns definition + fixed an help string
bzr revid: tde@openerp.com-20140212104227-bd2rsrewqizmxtf3
2014-02-12 11:42:27 +01:00
Thibault Delavallée 4c11416db6 [FIX] website: server action controllers: fixed typo in a domain
bzr revid: tde@openerp.com-20140212103912-1rhyl3wxa2a084ls
2014-02-12 11:39:12 +01:00
Thibault Delavallée e1e528e19c [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140212103823-aifj3y0dwir0cbyv
2014-02-12 11:38:23 +01:00
Thibault Delavallée 3c3bff14c0 [CLEAN] website: server action controllers: removed unnecessary variable
bzr revid: tde@openerp.com-20140212103753-8fheizloj3minlt6
2014-02-12 11:37:53 +01:00
Christophe Matthieu ac03ba3095 [FIX] website: pager don't keep searches
bzr revid: chm@openerp.com-20140212102805-5khiv3cgslci9che
2014-02-12 11:28:05 +01:00
Christophe Matthieu 7576c80a36 [FIX] website: Snippet: Move separator to Features instead of Content section
bzr revid: chm@openerp.com-20140211163853-g5a92uuifrv20e20
2014-02-11 17:38:53 +01:00
Christophe Matthieu 712811654a [FIX] website: text-box and image in the banner is too big on large screen. It should be in a 'container'.
bzr revid: chm@openerp.com-20140211143619-b1dwa5q1wdoeyzn4
2014-02-11 15:36:19 +01:00
Fabien Meghazi 527b60f208 [FIX] website /web/login just return super()
bzr revid: fme@openerp.com-20140211112302-1km9svxsmwe2y6fg
2014-02-11 12:23:02 +01:00
Christophe Matthieu 1b52723e97 [IMP] website: remove bootstrap in addons/website and use bootstrap from web
bzr revid: chm@openerp.com-20140211110457-cmqdhbs6wugqt14x
2014-02-11 12:04:57 +01:00
Christophe Matthieu 7d1ba3329c [FIX] website: contactus: address of the company above the phone, typo edit button
bzr revid: chm@openerp.com-20140211095933-s712ssydrv1d54nq
2014-02-11 10:59:33 +01:00
Fabien Pinckaers 7e41345c02 [IMP] reduce image size, faster preview
bzr revid: fp@tinyerp.com-20140211091401-b3jvu4792bz1de0j
2014-02-11 10:14:01 +01:00
Fabien Pinckaers d31504171c [IMP] Pantone colors of the year
bzr revid: fp@tinyerp.com-20140211085450-ny3pgidw5nobjc5x
2014-02-11 09:54:50 +01:00
Frédéric van der Essen 04a6074b1a [MERGE] forward porting fixes from saas-3
bzr revid: fva@openerp.com-20140210155628-75mgw7qcq9k5ncem
2014-02-10 16:56:28 +01:00
Christophe Matthieu 1ac9b4d20d [IMP] website: banner tutorial: remove step about customize and promote
bzr revid: chm@openerp.com-20140210155251-iyj3v06r18vexj7d
2014-02-10 16:52:51 +01:00
Christophe Matthieu 3a273b989c [IMP] website: typo for tutorial
bzr revid: chm@openerp.com-20140210151741-grf5wsvjonuihxw0
2014-02-10 16:17:41 +01:00
Christophe Matthieu abc49aebd5 [FIX] website: don't set tour as automatic when reload page
bzr revid: chm@openerp.com-20140210145923-2w9vbxqqgewgkb0w
2014-02-10 15:59:23 +01:00
Fabien Meghazi cb29f0599b [MERGE] saas-3
bzr revid: fme@openerp.com-20140210143646-kv87fekab804phqh
2014-02-10 15:36:46 +01:00
Fabien Meghazi 0da8cdda90 [FIX] Set default 'editable' key in website's rendering context
bzr revid: fme@openerp.com-20140210143546-1t82gog330n5x89t
2014-02-10 15:35:46 +01:00
Xavier Morel d4c7de4b03 [FIX] work around distribute_branding
distribute_branding is applied after view inheritance is applied, and does not
take it in account. As a result, altering an existing view "from the top"
(e.g. adding a div element preceding an existing div) will alter the xpath
leading to whatever element we need to deal with.

Move fakebar injection to the bottom of the body, where it can't have any
impact on preceding node paths.

bzr revid: xmo@openerp.com-20140210132855-lwh1ow1tq1e0pidp
2014-02-10 14:28:55 +01:00
Xavier Morel e95eb140a7 [CHG] website: fp wants image 'change' buttons to be btn-sm
bzr revid: xmo@openerp.com-20140210130504-hejvay436emh7f36
2014-02-10 14:05:04 +01:00
Antony Lesuisse 9c7f132a7a [IMP] website test_ui simplification
bzr revid: al@openerp.com-20140210005926-03hhcm56gpplgbt2
2014-02-10 01:59:26 +01:00
Antony Lesuisse bf2198e4c8 [IMP] website test shorter code
bzr revid: al@openerp.com-20140209234531-0i2xgr94yjaqzen8
2014-02-10 00:45:31 +01:00
Antony Lesuisse a21b1c4f8c [IMP] test_ui conversion, needs validation from chm
bzr revid: al@openerp.com-20140209232040-12uq85pseheth8z0
2014-02-10 00:20:40 +01:00
Antony Lesuisse 70d498c14a [FIX] disable http test before conversion
bzr revid: al@openerp.com-20140209141950-o9sf0jual07y315f
2014-02-09 15:19:50 +01:00
Antony Lesuisse 87172d90d2 [MERGE] saas-3
bzr revid: al@openerp.com-20140209140315-ukqlf90ngy6ycu2k
2014-02-09 15:03:15 +01:00
Fabien Pinckaers 673695fa68 [IMP] less black snippet border
bzr revid: fp@tinyerp.com-20140208120151-l43xf7kamhmmxejr
2014-02-08 13:01:51 +01:00
Fabien Pinckaers 54beb6d0b8 [IMP] Buttons snippet
bzr revid: fp@tinyerp.com-20140208114750-jgtx0h5oevqjz4zm
2014-02-08 12:47:50 +01:00
Fabien Pinckaers 92567bc102 [IMP] small useability trick to avoid people writing several keywords in the same input
bzr revid: fp@tinyerp.com-20140208101553-i6l27e6hpy0d0h3n
2014-02-08 11:15:53 +01:00
Fabien Pinckaers ec10577cb2 [IMP] tutorial banner
bzr revid: fp@tinyerp.com-20140207213254-jxw1fwplg3kjbm78
2014-02-07 22:32:54 +01:00
Denis Ledoux 38b7c38e32 [FIX] website: config settings does write the values on the website model
This config contains only related fields of the website_id many2one.
The problem is that applying the change CREATE a res config settings
And the create orm method does not forward and write the values on the related fields.
Write does.
The best fix should be to change all these related fields to char fields, 
and to create the set_ method who will acutally set the value to the website_id.
But, unfortunately, this is a stable branch
And we cannot alter the database structure in stable branches.

bzr revid: dle@openerp.com-20140207172157-6upyhuin93qlkrfa
2014-02-07 18:21:57 +01:00
Fabien Pinckaers 00cc1057b6 [IMP] reduced image size
bzr revid: fp@tinyerp.com-20140207161410-22evlc2nz2buud2y
2014-02-07 17:14:10 +01:00
Christophe Matthieu efe1e4a183 [FIX] website test: remove hack for runbot
bzr revid: chm@openerp.com-20140207155454-jf3pwp3hl9nvay6m
2014-02-07 16:54:54 +01:00
Christophe Matthieu c254b7ae2c [FIX] website: enable test tour; + translate; + fixes
bzr revid: chm@openerp.com-20140207155113-honsvx545awa3rcp
2014-02-07 16:51:13 +01:00
Christophe Matthieu 6d7eccf10a [FIX] website snippet drop for rte; remove dependence to qweb template (remove popover from tours); fx import file with ajax
bzr revid: chm@openerp.com-20140207154520-2injapzg9lgrdbvc
2014-02-07 16:45:20 +01:00
Xavier Morel 7ac7b2599e [IMP] make page lookup case-insensitive during completion
bzr revid: xmo@openerp.com-20140207150623-vevnuswi9gx0bqeb
2014-02-07 16:06:23 +01:00
Xavier Morel 6900662b54 [FIX] page creation broken because what is grep
bzr revid: xmo@openerp.com-20140207145149-fem1wnr0t10rcgsn
2014-02-07 15:51:49 +01:00
Christophe Matthieu f767f6ca47 [FIX] website tour test: import with ajax insead of jquery (and auto load jquery)
bzr revid: chm@openerp.com-20140207143437-uptdehmpegzze61y
2014-02-07 15:34:37 +01:00
Christophe Matthieu d432e56661 [FIX] website: for activate test on runbot
bzr revid: chm@openerp.com-20140207143241-e4u7ikvgbl0f980d
2014-02-07 15:32:41 +01:00
Christophe Matthieu 598d811ea7 [MERGE] from saas-3
bzr revid: chm@openerp.com-20140207140912-2tu1bhpvlap0fa4m
2014-02-07 15:09:12 +01:00
Antony Lesuisse cd2bddad46 [FIX] website ir.ui.view render
bzr revid: al@openerp.com-20140207140503-doolcovzuce4m6i4
2014-02-07 15:05:03 +01:00
Fabien Pinckaers 5f6f08899b [IMP] insert a banner --> build a page
bzr revid: fp@tinyerp.com-20140207135946-7gkzt6zodhf0hdxi
2014-02-07 14:59:46 +01:00
Fabien Pinckaers 5f92743b18 [IMP] logo by default (easier to configure)
bzr revid: fp@tinyerp.com-20140207134836-pjub0d84nxmgb560
2014-02-07 14:48:36 +01:00
Christophe Matthieu 25117ffd0b [FIX] tour test log error
bzr revid: chm@openerp.com-20140207134548-lr2563gtlgjphxrp
2014-02-07 14:45:48 +01:00
Christophe Matthieu 76841f14e4 [FIX] website: snippet: display baner in mobile view; background cover insead of 100%; paralax scrolling
bzr revid: chm@openerp.com-20140207133712-srtik2knhwyybgse
2014-02-07 14:37:12 +01:00
Christophe Matthieu 6cb5b1e556 [FIX] website: test tour: use admin insead of tools.config['admin_passwd']
bzr revid: chm@openerp.com-20140207130104-nuwurzlsvt4cu1jr
2014-02-07 14:01:04 +01:00
Christophe Matthieu b21bb08c22 [ADD] website: test login, backend, go back, branding, edit, logout
bzr revid: chm@openerp.com-20140207125231-3zd0i1axdwuht5g4
2014-02-07 13:52:31 +01:00
Thibault Delavallée c27dfb92ea [IMP] website: server action: demo data now have website_path
bzr revid: tde@openerp.com-20140207123355-t3hxvqxjr5p8p0du
2014-02-07 13:33:55 +01:00
Thibault Delavallée 167ac762ca [IMP] website: server action: display website_url in tree view
bzr revid: tde@openerp.com-20140207123301-4guyw8ay4e6fghuj
2014-02-07 13:33:01 +01:00
Thibault Delavallée 21602f92a1 [FIX] website: server action: compute website_url only for published code actions
bzr revid: tde@openerp.com-20140207123249-yfql78xurblyamze
2014-02-07 13:32:49 +01:00
Christophe Simonis 1b0ce7052e [FIX] website: do not force uneditable templates
bzr revid: chs@openerp.com-20140207122837-ysfss4khpt2hsau1
2014-02-07 13:28:37 +01:00
Thibault Delavallée c7b90329cd [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140207121941-hzzbc2qk40ukahvy
2014-02-07 13:19:41 +01:00
Thibault Delavallée 7d696bc620 [IMP] website: server actions: usability improvements
- added website_path, the end of the path to access the server action, allowing more custom
and short URLs, like website/action/partners instead of website/action/website.action_partners;
- added website_url, computed file with the full address of the server action that is displayed
on the form view, to ease usability
- updated server action contorller: now takes xml_id, id, or website_path

bzr revid: tde@openerp.com-20140207121921-7kdpxrf30zlte47l
2014-02-07 13:19:21 +01:00
Christophe Matthieu b71ef0541e [FIX] website test phantomjs login
bzr revid: chm@openerp.com-20140207115903-kzf9ikk37xvtq0ef
2014-02-07 12:59:03 +01:00
Christophe Matthieu 22a27ed953 [MERGE] Microformats (microdata) support for improved SEO.
Supported formats:
 - Organization
   https://support.google.com/webmasters/answer/146861?hl=en&ref_topic=1088474
   http://schema.org/Organization
 - Event
   https://support.google.com/webmasters/answer/164506?hl=en&ref_topic=1088474
   http://schema.org/Event
 - Product+Offer
   https://support.google.com/webmasters/answer/146750#offer_properties
   http://schema.org/Product
   http://schema.org/Offer

Tested with http://www.google.com/webmasters/tools/richsnippets

bzr revid: chm@openerp.com-20140207113721-klunj6bf9qp4b2cx
2014-02-07 12:37:21 +01:00
Christophe Matthieu 7f241d4245 [FIX] website: snippet option: background style is required
bzr revid: chm@openerp.com-20140207105722-6wfbfw5mj5937t03
2014-02-07 11:57:22 +01:00
Fabien Pinckaers 02aff66446 [FIX] layout bug, right alignment of blocks incorrect
bzr revid: fp@tinyerp.com-20140207104831-s52wrim8r8k7eqox
2014-02-07 11:48:31 +01:00
Christophe Matthieu 8879fb1728 [FIX] website snippet: reset snippet-editor and overlay because the rte re-generate the dom and cancelled all snippet datas
bzr revid: chm@openerp.com-20140207100734-pdzr0qz8mtmha96m
2014-02-07 11:07:34 +01:00
Christophe Matthieu 4663f5b10c [IMP] website test: add a timeout in phantom js to raise a better error and improve log error
bzr revid: chm@openerp.com-20140207074745-ffrcoi2aj5m67i8m
2014-02-07 08:47:45 +01:00
Christophe Matthieu 062c491488 [IMP] website test_ui: add a try catch in run and run_test to display error
bzr revid: chm@openerp.com-20140206175113-w0qscfngebnn7718
2014-02-06 18:51:13 +01:00
Christophe Simonis daace48560 [MERGE] fix template rendering
bzr revid: chs@openerp.com-20140206163811-i43srg7hd4yqzzo3
2014-02-06 17:38:11 +01:00
Christophe Matthieu 97091c31ae [IMP] website: reduce run test of banner
bzr revid: chm@openerp.com-20140206161614-afam16q12ci0kr7l
2014-02-06 17:16:14 +01:00
Fabien Meghazi 2d4fb97696 [IMP] Move some qweb rendering context vars from website#ir.qweb to server#ir.ui.view
bzr revid: fme@openerp.com-20140206161316-jw7luqon476widcm
2014-02-06 17:13:16 +01:00
Christophe Matthieu 64eb4376ee [MERGE] from saas-3
bzr revid: chm@openerp.com-20140206150121-drs3ybhgx5837zt2
2014-02-06 16:01:21 +01:00
Thibault Delavallée 2f682975bc [FIX] website: fixed call to slugify
- python-slugify: max_length is an optional keyword
- slugify library also exists and does not accepts max_length -> if this very simple library is used, fall
            back on our own implementation

bzr revid: tde@openerp.com-20140206145638-entdcqsawrqf1nnq
2014-02-06 15:56:38 +01:00
Christophe Matthieu 14b4efcd28 [FIX] tour and translate title
bzr revid: chm@openerp.com-20140206145236-vwdq74yyz21qvyzu
2014-02-06 15:52:36 +01:00
Fabien Meghazi b112d5d2f1 [FIX] ir ui view should have rendering context on request.website_enabled
bzr revid: fme@openerp.com-20140206143919-f6vz8rpx9mb4798g
2014-02-06 15:39:19 +01:00
Christophe Matthieu e8964f896c [FIX] website: tour, test and test_runner
bzr revid: chm@openerp.com-20140206140746-jmeyx8q9qxv7sz1j
2014-02-06 15:07:46 +01:00
Christophe Matthieu 0677fda79e [FIX] website tours: fix and translate
bzr revid: chm@openerp.com-20140206140643-z3b2fu2v9uaozc1z
2014-02-06 15:06:43 +01:00
Christophe Matthieu 052bcacd5f [FIX] website_sale template; snippet editor
bzr revid: chm@openerp.com-20140206140258-l3hriceuksx0c061
2014-02-06 15:02:58 +01:00
Christophe Matthieu d819d494f1 [IMP] website: add debugger template used to create nex tours/tests (display in customize menu in debug mode)
bzr revid: chm@openerp.com-20140206135036-geq8fubtz39pxp20
2014-02-06 14:50:36 +01:00
Denis Ledoux f487fbb298 [FIX] website: urljoin from urlparse cannot handle unicode. Therefore, We decode before passing the arg to urljoin then we (re-)encode the result
bzr revid: dle@openerp.com-20140206103929-oe289oilz08n1msk
2014-02-06 11:39:29 +01:00
Thibault Delavallée 8860002d41 [IMP] website: demo: set new demo as noupdate + updated some action name
bzr revid: tde@openerp.com-20140206082105-vsmjn9c48a0hrfyo
2014-02-06 09:21:05 +01:00
Thibault Delavallée a769fb4111 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140206081947-7bf31snu1igkwz5x
2014-02-06 09:19:47 +01:00
Thibault Delavallée 91abbeda24 [DOC] website: ir_actions: added some comments
bzr revid: tde@openerp.com-20140206081921-vp22x256vkk3ea1o
2014-02-06 09:19:21 +01:00
Fabien Pinckaers 9ef5359477 [IMP] Reduce images, all images at same size for 3col snippets
bzr revid: fp@tinyerp.com-20140205220857-ckc5fzaop820ue7e
2014-02-05 23:08:57 +01:00
Fabien Pinckaers cd4060d373 [IMP] Simplify snippet so that they are useabile out-of-the-box
bzr revid: fp@tinyerp.com-20140205214151-s6narh04xsffjri2
2014-02-05 22:41:51 +01:00
Thibault Delavallée 9487dafd12 [IMP] website: server action in front-end: improved demo data, a mini posting mechanism
bzr revid: tde@openerp.com-20140205141515-z0yfu11iufq0qqdk
2014-02-05 15:15:15 +01:00
Thibault Delavallée 89d053111f [IMP] website: server action: response is a better keyworkd than template
bzr revid: tde@openerp.com-20140205140238-liili9v4l0a074zj
2014-02-05 15:02:38 +01:00
Thibault Delavallée 79d6a1a39a [IMP] website: server action controller: no need to add post, everything is on request
bzr revid: tde@openerp.com-20140205140216-r6oxlbbmypd3u5vf
2014-02-05 15:02:16 +01:00
Thibault Delavallée ba962f9b1c [ADD] website: added forgottent view file for ir_actions
bzr revid: tde@openerp.com-20140205123737-o7btwj3xryosnayo
2014-02-05 13:37:37 +01:00
Thibault Delavallée 47309f045b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140205115653-7ktnizsmvppv90wk
2014-02-05 12:56:53 +01:00
Thibault Delavallée 8d1713170a [FIX] website: server action demo data: ValueError is not defined, do something generic
bzr revid: tde@openerp.com-20140205110118-6c5mq24x8e806vvn
2014-02-05 12:01:18 +01:00
Thibault Delavallée 1c608569ca [IMP] website: server action in front-end: updated demo data
to show something vaguely complex that 'everyone' can do using 2 server actions
and 2 templates: a basic partner directory.

bzr revid: tde@openerp.com-20140205105555-hzpwwqgefdiy12jg
2014-02-05 11:55:55 +01:00
Xavier Morel c68c5837aa [FIX] avoid blowing up editor if run on non-updated editor_head template without a placeholder edition navbar
bzr revid: xmo@openerp.com-20140205103623-bk038voq3f8zj9vm
2014-02-05 11:36:23 +01:00
Fabien Meghazi 766f7d4808 [FIX] website.menu#url shall not be required=True
A parent node's url is not clickable in the website front-end

bzr revid: fme@openerp.com-20140205101500-ghmkfkpvkojv81kf
2014-02-05 11:15:00 +01:00
Thibault Delavallée 5ec4259a34 [IMP] website: removed dummy data used for testing, added a first
demo template + server action callable through the front-end, working
on partners. Some king of simple partner directory.

bzr revid: tde@openerp.com-20140205101051-d9ysg4fel30g2cgy
2014-02-05 11:10:51 +01:00
Thibault Delavallée 1e6f81abc2 [IMP] website: ir_actions_server: only published server action can be invoked from the front-end
bzr revid: tde@openerp.com-20140205094530-k058ealuxq9hbrdw
2014-02-05 10:45:30 +01:00
Thibault Delavallée 8df6b16784 [ADD] website: added support for invoking a server action through controller
website: added website/action/<id_or_xml_id> route, that runs the server action designed
by its id or xml_id. Only code server action returning a template give a result. The
template is displayed. Other or not existing server actions redirect to the homepage.

website: added an override of ir_actions_server: evaluation context gets request for
evaluation, to enable request.render(template_name); also returns template the same
way action is returned for code server action;

bzr revid: tde@openerp.com-20140205090447-2hppg7818nx1wfzh
2014-02-05 10:04:47 +01:00
Xavier Morel 7d1f7ee10a [IMP] handling of overly large images in website image upload
bzr revid: xmo@openerp.com-20140204165823-q05aoq83q28b2hhg
2014-02-04 17:58:23 +01:00