Commit Graph

57 Commits

Author SHA1 Message Date
Martin Trigaux 87d48b0859 [FIX] web: do not crash when select wrong db
When a user tries to log into a postgresql database with no view web.login (this
happens if the database is not an odoo database or using a previous version of
odoo), the rendering failed, producing a 500 error (with no detail for the user)
Instead, redirect to the database selector with an informative message.
Fixes #3443

The database selector page is a jinja template with no access to database
required so should be able to be displayed on any database.

Future improvement could verify the version of base module for even more precise
verification before login (but need to make sure it's always accurate).
2015-06-09 15:05:57 +02:00
Frédéric van der Essen da378722cc Revert "[IMP] web, point_of_sale: basic implementation of the cordova integration."
This reverts commit f7a1ac8b06.
The commit introduced a change that required a database update,
which should not be required in a stable version.
2015-05-27 13:46:26 +02:00
Frédéric van der Essen f7a1ac8b06 [IMP] web, point_of_sale: basic implementation of the cordova integration. 2015-05-27 11:59:13 +02:00
Nicolas Lempereur 8a285e6a62 [FIX] css: ie9 specific fixes
Create a new stylesheet for IE9 and less custom css.

The issue #6198 and #6201 is present in IE9 since a div with height 100% inside
a table-cell (i.e: td tag) element only take the minimum height possible for the
content.

For issue #6198: in IE9 a kanban tile could not be moved to an empty kanban,
this fix sets a minimum height for a empty column (80px, the size of two empty
tiles) so now a tile can be moved in the 80px in the top of the column.

For issue #6201: graphs took the minimum height in IE9, this fix set a fixed
height to improve the situation.

For issue #6200: in IE9, the list view could wrongly not go the next line
even if its width is 100%. For the given case, the display CSS property of
these listview is set to value "block".

opw-632415 opw-632417 opw-632416
2015-04-13 18:23:58 +02:00
Xavier Morel adf5b5e0e8 [FIX] tests: overflow on test page body
inherited from main CSS, would prevent from scrolling body and thus from
seeing all the test cases and test case contents (e.g. error messages
and stack traces)
2015-03-03 11:54:12 +01:00
youring 5c59479577 [FIX] openerp -> odoo renamings in db files
closes #4762
2015-01-19 10:27:28 +01:00
Yenthe666 829ac304e9 [FIX] web footer link from OpenERP to Odoo 2014-12-23 00:13:03 +01:00
Martin Trigaux 8ce89736e9 [FIX] web: force company logo refresh per db
The company_logo is cached and was not refreshed when switching between database, still showing the logo of the company of the previous database
Fixes #2738
2014-11-19 12:50:27 +01:00
Simon Lejeune 74aa7406bf [FIX] web: webclient_bootstrap: render the menus when the user is really a user
The webclient rendering is done in two parts: the server renders the boilerplates
including the menus, and then the  javascript launch the webclient using the
server-side boilerplates. In some case, we want to render the boilerplates but not
the menus (auth_calendar). Added groups around the t-call to the menu in the web
template. Fixes issue #2044.
2014-09-08 15:42:10 +02:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Fabien Meghazi a49ebae676 [IMP] Lazy module_boot() loading
Removed 'modules' item in ir.ui.view rendering context.
Replaced by lazy helper get_modules_order
2014-07-01 14:22:56 +02:00
Simon Lejeune 2870af3b49 [FIX] navbar cache: do not use ormcache as it does not handle kwargs. instead, only get the root menu_ids in rendering context 2014-06-30 19:45:12 +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
Christophe Simonis 4cd699df15 [IMP] js testing
- output "error" if any qunit tests failed
- failed js tests are logged as errors
- when running phantomjs considere empty waiting condition or initialisation code as "true"
- lint phantomtest.js file
2014-06-22 11:31:07 +02:00
Christophe Matthieu 14e29ce321 [FIX] tour.js: clear localStorage before testing; add a better log title 2014-06-19 12:19:30 +02:00
Christophe Matthieu bc3fc54fac [IMP] Tour: add tour in web module; tour became available in backend. 2014-06-18 12:25:13 +02:00
Fabien Meghazi 863edbaaf2 Seperate assets_common from other bundles 2014-05-20 17:06:25 +02:00
Fabien Meghazi f3c8cc50c8 [IMP] Include openerpframework in common assets. Add module list in bundle 2014-05-12 17:18:12 +02:00
Fabien Meghazi dba3e92195 [IMP] Add $.fn.button to jquery.ui noconflict template
bzr revid: fme@openerp.com-20140509133528-9i2kvn0heyxn6ngw
2014-05-09 15:35:28 +02:00
Mohammed Shekha 0e62b9d8df [IMP] Jinja template for database manager
bzr revid: fme@openerp.com-20140506155051-3u3kkb9lpvm06iad
2014-05-06 17:50:51 +02:00
Fabien Meghazi b393c4ac18 [FIX] jQuery.ui - boostrap conflicts
bzr revid: fme@openerp.com-20140506153300-0p1gwnrxihpb4y3r
2014-05-06 17:33:00 +02:00
Mohammed Shekha 5600a79007 [IMP]Improved the database manager, instead of calling html_template, created separate html file which is rendered using jinja2, so that we don't need html_template once pos and edit support render_bootstrap_template.
bzr revid: msh@tinyerp.com-20140502132349-bw9zdyaou4yf8o7q
2014-05-02 18:53:49 +05:30
Fabien Meghazi d00d092e18 [FIX] bootstrap - jquery.ui conflicts
bzr revid: fme@openerp.com-20140430131730-du7hem15of8spau1
2014-04-30 15:17:30 +02:00
Fabien Meghazi f0bdc2f9f4 [FIX] phantomjs's console.log does not support string formatting
(version used 1.9.2)

bzr revid: fme@openerp.com-20140430074101-91z0854pqwz5u1ek
2014-04-30 09:41:01 +02:00
Fabien Meghazi 3998225317 [MOV] select2 from common to backend assets
bzr revid: fme@openerp.com-20140430072044-24camfdauw6xxczk
2014-04-30 09:20:44 +02:00
Fabien Meghazi dde0c9324b [IMP] Convered qunit test suite to template
bzr revid: fme@openerp.com-20140428182451-u4mgen9669gnldva
2014-04-28 20:24:51 +02:00
Fabien Meghazi 292e2a5400 [MOV] jquery.form asset from backend to common
bzr revid: fme@openerp.com-20140425133557-p28kkojmy7axns38
2014-04-25 15:35:57 +02:00
Fabien Meghazi 2541ded2c1 [IMP] bundlify web client
bzr revid: fme@openerp.com-20140424092520-xx7nocvacx4mcsyw
2014-04-24 11:25:20 +02:00
Fabien Meghazi 8e14e7a870 [WIP] AssetsBundle
bzr revid: fme@openerp.com-20140409161648-sx87vc0saj30f68x
2014-04-09 18:16:48 +02:00
Christophe Simonis c3827cb8f7 [MERGE] forward port of branch saas-3 up to revid 3967 jke@openerp.com-20140311093515-02xw8phrcqhgz6zx
bzr revid: chs@openerp.com-20140311132200-1bln6gaj80njyh18
2014-03-11 14:22:00 +01:00
Denis Ledoux 82fceb4620 [FIX] web: login, autofocus if login is filled
bzr revid: dle@openerp.com-20140227161454-sd6qxmpgv2bvslf7
2014-02-27 17:14:54 +01:00
Fabien Meghazi 21b863183b [IMP] Move footer to login_layout
bzr revid: fme@openerp.com-20140205150335-vc0aiagopspo1aid
2014-02-05 16:03:35 +01:00
Fabien Meghazi 9acaaa74dd [IMP] database selector, do not display Continue button for javascript
bzr revid: fme@openerp.com-20140205150158-gg274ko7y9jgy3jg
2014-02-05 16:01:58 +01:00
Fabien Meghazi 42952bb7cf [REM] Remove LoginForm javascript
bzr revid: fme@openerp.com-20140205091749-39333kr3hz0dt4wg
2014-02-05 10:17:49 +01:00
Fabien Meghazi b91b265cb8 [IMP] Use ensure_db() for /web and /web/login. Logout controller does not clear the db anymore
bzr revid: fme@openerp.com-20140128211802-9y77th2zojfhp35q
2014-01-28 22:18:02 +01:00
Fabien Meghazi f4e33da924 [ADD] Database selector to login screen
bzr revid: fme@openerp.com-20140124151656-swy3jknclfnxkwzx
2014-01-24 16:16:56 +01:00
Fabien Pinckaers e40646d98d [IMP] wording
bzr revid: fp@tinyerp.com-20140122194046-xrgf3buqlj3nlcve
2014-01-22 20:40:46 +01:00
Fabien Pinckaers 8effb55a7d [IMP] design of sign in/up
bzr revid: fp@tinyerp.com-20140122192342-t3qc2ipcj3okbbgp
2014-01-22 20:23:42 +01:00
Fabien Meghazi c450c82e74 [IMP] use company logo controller for login layout
bzr revid: fme@openerp.com-20140122102646-ftmcud2yn7062ohq
2014-01-22 11:26:46 +01:00
Fabien Meghazi 301c3b9ce3 [ADD] messages to login form + init openerp modules for inheritance
bzr revid: fme@openerp.com-20140121151747-h1vj493z832bzvvz
2014-01-21 16:17:47 +01:00
Fabien Meghazi f43f06a6b0 [IMP] use 'error' key in login template
bzr revid: fme@openerp.com-20140121093224-8auf7b00jxfq8940
2014-01-21 10:32:24 +01:00
Fabien Meghazi fdfcf1b71f [IMP] Create a web.login_layout template the addons can inherit from
bzr revid: fme@openerp.com-20140116181656-76ju3uyd9od0w0q3
2014-01-16 19:16:56 +01:00
Fabien Meghazi 76f7dbb96c [FIX] database selector layout
bzr revid: fme@openerp.com-20140116181619-unbnh3m6migz68as
2014-01-16 19:16:19 +01:00
Fabien Meghazi 6f2f02625a [IMP] Changed login template for inheritance
bzr revid: fme@openerp.com-20140116101554-vvqu8aeim246lj1i
2014-01-16 11:15:54 +01:00
Fabien Meghazi 1783797949 [FIX] database manager link
bzr revid: fme@openerp.com-20140115100631-9wrchrrvoei4llo0
2014-01-15 11:06:31 +01:00
Fabien Meghazi 0275c4ecef [IMP] Improve login footer
bzr revid: fme@openerp.com-20140114145210-omve768o1t50xjdk
2014-01-14 15:52:10 +01:00
Fabien Meghazi cd213eb652 [FIX] Honnor --no-database-list option
bzr revid: fme@openerp.com-20140114140153-0zt2iqt6di6h3hw2
2014-01-14 15:01:53 +01:00
Fabien Meghazi cedc2bd277 [IMP] Better look for login and db selector forms
bzr revid: fme@openerp.com-20140114134427-fu1zu5xxce9j8vrl
2014-01-14 14:44:27 +01:00
Fabien Meghazi 01f3648d3a [ADD] javascript hooks for LoginForm and debug forwarding
bzr revid: fme@openerp.com-20140114111707-ts3ik25p4o2vysxb
2014-01-14 12:17:07 +01:00
Fabien Meghazi 4c4755ffae [ADD] redirect option to /web/login
bzr revid: fme@openerp.com-20140113143702-20j30wc3wuglp3mn
2014-01-13 15:37:02 +01:00