summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.backend.xml
AgeCommit message (Collapse)Author
2017-09-30[IMP] website: Script injected in DOM: window.onerror empty paramsrde
Before this commit, error thrown by scripts injected in DOM won't return a clean error on window.onerror. It would open the crash_manager's show_error's dialog that wouldn't display any informations except "Script Error." and "Traceback:". This is because of browser's security reason: it will just give you a 'Script error.' as message and nothing else for security issue. Now, this kind of error will show a clearer message informing that it is probably originating from a Javascript file served from a different origin. There is now also the possibility for developers to handle/override the behavior when this kind of error is catch to prevent the dialog to open for example. Might be of use: https://blog.sentry.io/2016/05/17/what-is-script-error.html https://stackoverflow.com/a/7778424 https://danlimerick.wordpress.com/2014/01/18/how-to-catch-javascript-errors-with-window-onerror-even-on-chrome-and-firefox/ (Search for Script Error)
2017-09-28[IMP] website: change link for google analytics tracking IDVandan Shah
closes #19730
2017-06-19[IMP] website: Restructure the 'Google Analytics' wizard.Hiral Bhavsar
* Set the blocking warning if the user enters a 'Client ID' without any 'Tracking ID'. * 'Google Analytics in Dashboard' field is visible only if 'Google Analytics' is checked in website settings. * Get/Set the value of 'google_analytics_key' and 'google_management_client_id' from 'website' model instead of 'ir.config_parameter' on 'Google Analytics' wizard. * If ID is set on 'Google Analytics' wizard then activated the related features and populate fields in website settings.
2017-03-03[IMP] website: improve dashboard header to have a website-related dashboardRohan Patel
This header displays icons that proposes to install other website related applications.
2017-03-03[REF] website: merge Website and Website Admin menu itemsRohan Patel
This commit merge the two website menu items in order to ease user flow inside Odoo. When clicking on the Website item a server action is called that decides to redirect the user either to the dashboard if the user is an admin or a website publisher, either to the website for other people. Overriding this method allows to define a specific behavior. Future commit will also redirect sales people to the website dashboard. Dashboard itself is customized to add a header used to display a website button. It will be used in future commits to add other new stuff to the dashboard.
2017-03-03[FIX] website: update google analytics documentation linkRohan Patel
2017-01-03[FIX] website: Link to the latest version for documentation user pagesYannick Tivisse
2016-09-16[FIX] website: improve ACL supportDamien Bouvy
The dashboard must be visible for non-'group system' users, hence the sudo call + only display the link to modify the client id if the user has sufficient access rights. Small visual correction for live users counter in the dashboard.
2016-09-16[IMP] website: make the website dashboard ACL awareDamien Bouvy
The Website Admin dashboard displays graphs for sales, analytics,etc. using a (somewhat easily) extensible js framework. Unfortunately, this framework is ACL unaware, meaning that it will completely and silently crash if you are missing any of the required access rights. To solve this, extensions must now specify not just a graph name but a necessary group for it and set the value for this group in the extension of the backend controller. This commit also - make the icon visible for the group 'Website Designer and Editor' (not juste the Settings group, which is extremely restrictive) - make the button to set the Google API key only visible to people with sufficient access rights
2016-08-22[IMP] website: improve dashboard designCsaba Fazekas
2016-03-15[FIX] website: deal with unauthorized usersMartin Geubelle
Show an appropriate message if the user does not have access to the analytics views.
2016-03-10[ADD] website, website_sale, website_crm: new dashboardMartin Geubelle
2015-09-15[FIX] website: published/unpublished button + useless codeqsm-odoo
For some strange reason, two CSS rules had different priorities between firefox and chrome (which forced chrome to always display published and unpublished at the same time). The chosen solution is to change the value of the button in published/ unpublished instead of toggling and relying on CSS classes (with this method, the DOM looks better too). There was also duplicated code in website for assets_backend.
2015-08-31[IMP] website: WidgetWebsiteButton: Add label on website below the ↵Yannick Tivisse
publication status
2015-07-10[IMP] web_editor: split website into web_editor (to use editor in backend ↵Christophe Matthieu
for html field) and website
2015-06-15[FIX] Cross-addons: Kanban templates: records editable/deletableAaron Bohy
for the sake of compatibility with the communication logic in the new Kanban implementation.
2015-03-13[FIX] website, mass_mailing: restore original FieldTextHtml widget -> ↵Olivier Dony
FieldTextHtmlFrame only for mass_mailing The new `summernote in iframe` version of the FieldTextHtml widget is not ready for prime time yet. Usability is not very good when used as a replacement for the previous html editor, especially in email composer windows, and initial loading is very slow. For now we only enable it as FieldTextHtmlFrame for mass_mailing templates, where isolation of the style is important (so that recipients receive the exact same result as was displayed on screen, without side-effects caused by backend/frontend style) In master the summernote version will be improved and the old CLE version will be dropped completely.
2015-02-15[IMP] Project form view cleanedFabien Pinckaers
2015-02-12[IMP] website: create a new web editor in the backend to edit html field ↵Christophe Matthieu
with the website builder
2015-01-20[IMP][REF] website: introducing a mixin class to handle website_publishedDavid Monjoie
and website_url fields. This will allow to remove custom code in every website addons that redefine those two fields and the URL getter method. The published button in backend has also been cleaned. It is now a link button that redirects to the website_url. It does not change the publish status anymore. Indeed it makes sense publish and unpublish website documents directly in the website, while checking that everything is correct, instead of doing it in the backend. Next commits will update the Odoo addons to use this mixin and the new button in the form view.
2015-01-08[REM] modelines: Gotta catch 'em allRichard Mathot
2013-12-02[FIX] website: product backend view with website_button widgetChristophe Matthieu
bzr revid: chm@openerp.com-20131202163010-9nksvoxmbuj9v8i1
2013-12-02[WIP] website: add website_button widget in backend to publish and go back ↵Christophe Matthieu
to the website. (need bootstrap 3 for layout) bzr revid: chm@openerp.com-20131202124504-78zvm5t0p1hpsn53