Simon Lejeune
ee697920f5
[FIX] web: re-enable test_menu.py without the mock-menu test
2014-10-10 18:12:59 +02:00
Raphael Collet
207013c74f
[IMP] refactoring: move function topological_sort to openerp.tools
2014-08-08 14:12:06 +02:00
Raphael Collet
cbe2dbb672
[MERGE] new v8 api by rco
...
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.
- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +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
Fabien Meghazi
acf2123123
[MERGE] Web assets moved from manifests to ir.ui.view bundles
...
bzr revid: fme@openerp.com-20140430151302-e42monb4klz4udw5
2014-04-30 17:13:02 +02:00
Richard Mathot (OpenERP)
dfe236fe82
[REM] removing menu_di
...
bzr revid: rim@openerp.com-20140429135640-84ycqhsdlhmdj268
2014-04-29 15:56:40 +02:00
Antony Lesuisse
d9eec7345b
convert js tests to HttpCase
...
bzr revid: al@openerp.com-20140428152857-h7z61vdw5crezv2u
2014-04-28 17:28:57 +02:00
Xavier Morel
42763039f0
[IMP] filter out phantomjs warning on OSX
...
bzr revid: xmo@openerp.com-20140221143512-0qmmxq0gibmdgk6d
2014-02-21 15:35:12 +01:00
Xavier Morel
d27526d088
[IMP] JS unit tests
...
split automated suite so web only runs its own JS tests, and web_tests_demo runs its own.
Also reversed changes to index.
todo: use hack cursor thing?
bzr revid: xmo@openerp.com-20140221124557-s875nj0xrf2t85i9
2014-02-21 13:45:57 +01:00
Christophe Simonis
49f26ffbc8
[MERGE] forward port of branch saas-2 up to revid 3950 dle@openerp.com-20140220141302-3paib80ixiyi66qg
...
bzr revid: chs@openerp.com-20140220161753-ec6l9ser1pbnmzgk
2014-02-20 17:17:53 +01:00
Xavier Morel
cbc987191c
[FIX] QUnitSuite: don't be self-recursive
...
bzr revid: xmo@openerp.com-20140218104347-u56pghrto948iclx
2014-02-18 11:43:47 +01:00
Antony Lesuisse
88741e98c6
[FIX] web test_ui test for view form instead of kanban
...
bzr revid: al@openerp.com-20140216223208-0gw9dev1jpxsskib
2014-02-16 23:32:08 +01:00
Antony Lesuisse
5c3c89a17c
[FIX] tests move test_ui to web as it requires web.login template
...
bzr revid: al@openerp.com-20140216215039-448vh07674on9569
2014-02-16 22:50:39 +01:00
Antony Lesuisse
09a7519654
[IMP] phantomjs helper simplification
...
bzr revid: al@openerp.com-20140210005008-0vmwbofnfnuqaj3d
2014-02-10 01:50:08 +01:00
Antony Lesuisse
8f29812b0f
[IMP] test_ui shorter code
...
bzr revid: al@openerp.com-20140209234743-n3015x520z9zs4qz
2014-02-10 00:47:43 +01:00
Antony Lesuisse
85d37619e4
[IMP] add test_ui
...
bzr revid: al@openerp.com-20140209232001-1efvws2pzeldbuhb
2014-02-10 00:20:01 +01:00
Antony Lesuisse
c954e9adf2
fix web tests
...
bzr revid: al@openerp.com-20140209004310-0jpc29beh7k1e27c
2014-02-09 01:43:10 +01:00
Christophe Simonis
ef14282df0
[FIX] tests: pass correct passwords to js
...
bzr revid: chs@openerp.com-20140203141506-zmfhd7g0zorveb5v
2014-02-03 15:15:06 +01:00
Xavier Morel
b78703c122
[IMP] console.log js output should be piped to stdout during JS tests
...
bzr revid: xmo@openerp.com-20140131152612-rqxkge24w6p95q10
2014-01-31 16:26:12 +01:00
Xavier Morel
99743cae43
[REM] useless comment
...
the database password is necessary to duplicate databases
bzr revid: xmo@openerp.com-20140131110748-nfguxwjysgbn6y3y
2014-01-31 12:07:48 +01:00
Martin Trigaux
4b7799c0c7
[IMP] search_read: use search_read from the orm instead of rewritting it
...
skip search_count when getting no result from search_read
remove useless test based on implementation details
bzr revid: mat@openerp.com-20140117120047-9b5emsrbtjauvegl
2014-01-17 13:00:47 +01:00
Antony Lesuisse
d5aec362a9
[FIX] MockRequestCase
...
bzr revid: al@openerp.com-20131203214705-6tz63yqo9kk73ztx
2013-12-03 22:47:05 +01:00
Antony Lesuisse
401099d358
[IMP] move http layer from openerp-web to openobject-server, convert controllers to the new route api
...
bzr revid: al@openerp.com-20131027171717-dzqx2264p152lq8y
2013-10-27 18:17:17 +01:00
Xavier Morel
777716d443
[MERGE] from trunk again
...
bzr revid: tde@openerp.com-20131002143826-xtzkkfr0rratuyxf
bzr revid: tde@openerp.com-20131004092146-vp406nv0xb0hdav9
bzr revid: tde@openerp.com-20131007081238-j860nrdzx8ldspto
bzr revid: tde@openerp.com-20131011075756-utfeqy4ws0linucc
bzr revid: xmo@openerp.com-20131015110940-8wkrblhf576h3cbj
bzr revid: xmo@openerp.com-20131015112458-vtukdpa6svjc19w3
2013-10-15 13:24:58 +02:00
Xavier Morel
ee4802b1b7
[ADD] forgot a file in previous commit
...
bzr revid: xmo@openerp.com-20131015112348-94c10psv1nm4evs6
2013-10-15 13:23:48 +02:00
Xavier Morel
38682f1fba
[FIX] incorrect __exit__ calls in tests
...
bzr revid: xmo@openerp.com-20131015110814-faz7361z0560xgrm
2013-10-15 13:08:14 +02:00
Xavier Morel
82999df03c
[IMP] recent qunit will send moduleStart with no name if error happens outside of a testing module
...
bzr revid: xmo@openerp.com-20130807112159-91jdzgl6g2fk966t
2013-08-07 13:21:59 +02:00
niv-openerp
9b1904e892
Put back stuff removed by merge
...
bzr revid: nicolas.vanhoren@openerp.com-20130607103749-7pe6k3vgwudohnxo
2013-06-07 12:37:49 +02:00
niv-openerp
b778d3c45a
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130607085618-quxxm6izqlfnoy1n
2013-06-07 10:56:18 +02:00
niv-openerp
9d412b63cb
fix another stupid bug
...
bzr revid: nicolas.vanhoren@openerp.com-20130607080108-ajjly9a05ny96hmd
2013-06-07 10:01:08 +02:00
niv-openerp
a3e430ec63
Changed to use werkzeug's LocalStack
...
bzr revid: nicolas.vanhoren@openerp.com-20130606162020-oemq8eyuxr47a2e1
2013-06-06 18:20:20 +02:00
niv-openerp
6afbca24f9
[REV] revert of previous improvement
...
bzr revid: nicolas.vanhoren@openerp.com-20130605092926-dhoumh76dwtl211t
2013-06-05 11:29:26 +02:00
niv-openerp
7735db7202
fix unit tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130604160525-e0qgr814j2g6qhl6
2013-06-04 18:05:25 +02:00
Olivier Dony
55419f063c
[IMP] menu loading: simplify/optimize menu loading mechanism and de-duplicate need_action load, use child_of, skip useless calls, update tests
...
bzr revid: odo@openerp.com-20121212205120-qa8gq86hh6f26bdk
2012-12-12 21:51:20 +01:00
Antony Lesuisse
f83bfeff0b
[IMP] cleanup menu method mess
...
do_* were introduce for testing this is not needed anymore
bzr revid: al@openerp.com-20121211021338-8s3jqpfraku1tmsj
2012-12-11 03:13:38 +01:00
Thibault Delavallée
1ca5e68b1f
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121130093732-i8y10ayjqiaq5t7p
bzr revid: tde@openerp.com-20121204142854-pauouyapnw7z8zwj
bzr revid: tde@openerp.com-20121205101544-k4ui6thr0ibzw0vx
bzr revid: tde@openerp.com-20121210125423-81wbh4af9sxdqjki
2012-12-10 13:54:23 +01:00
Antony Lesuisse
35b52c5b65
[FIX] test_js typo
...
bzr revid: al@openerp.com-20121209043015-curop98b936em7bn
2012-12-09 05:30:15 +01:00
Antony Lesuisse
eaf4780bd5
[FIX] runbot use db_password for admin_passowrd
...
bzr revid: al@openerp.com-20121209040103-65om8phyuj71u167
2012-12-09 05:01:03 +01:00
Antony Lesuisse
4040b8caa6
[IMP] testjs command
...
To tun the tests:
createdb t
/server/openerp-server --addons-path=addons,web/addons server -d t -i web_tests_demo
Once the server is ready, run, in an other shell:
/server/openerp-server --addons-path=addons,web/addons testjs
bzr revid: al@openerp.com-20121209024810-cdi2s9ftr97x8l5p
2012-12-09 03:48:10 +01:00
Thibault Delavallée
7461f88473
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121129114105-0akr0d6nji08g750
2012-11-29 12:41:05 +01:00
Thibault Delavallée
c5d3036674
[IMP] Needaction: couters are not counter with the menu anymore.
...
Web-side: a call to get_needaction_data is performed to have action counters.
Menus are then updated synchronously with this value.
bzr revid: tde@openerp.com-20121127142944-m17zo62er5rh2lvg
2012-11-27 15:29:44 +01:00
Xavier Morel
4a5cb1ebc4
[REM] EVALPOCALYPSE PART 2: no more python-side eval
...
trigger an error if a nonliteral context is pushed to the server (through a new object_hook)
bzr revid: xmo@openerp.com-20121126140525-ni2x5m56upss610b
2012-11-26 15:05:25 +01:00
Xavier Morel
eb9a1c7d55
[REM] EVALPOCALYPSE PART ONE
...
bzr revid: xmo@openerp.com-20121126105450-0f6xowd3dhj4jmbl
2012-11-26 11:54:50 +01:00
Xavier Morel
8e85f4e0bd
[IMP] timeout discipline
...
* Global timeout significantly increased to correctly handle e.g. db creation and teardown
* Per-test timeout brought back down to 2s
bzr revid: xmo@openerp.com-20121115091501-ys8opo0ccr3dq29h
2012-11-15 10:15:01 +01:00
Xavier Morel
5040c649c4
[FIX] add JS test integration with unittest/runbot runner
...
bzr revid: xmo@openerp.com-20121030132106-gggi4vmwjwq4l2mj
2012-10-30 14:21:06 +01:00
Vo Minh Thu
ede4edc156
[FIX] web/tests: `import openerp.addons.web` instead of `import web`.
...
bzr revid: vmt@openerp.com-20121015134918-9ccl265d49qkms4t
2012-10-15 15:49:18 +02:00
Olivier Dony
69fa182342
[FIX] web/tests: leftover import errors after removal of standalone web mode
...
bzr revid: odo@openerp.com-20121011110410-pzons7v1cqn4dywf
2012-10-11 13:04:10 +02:00
Xavier Morel
a933c17e54
[FIX] integrate web tests into buildbot runner, fix broken tests
...
* Remove deprecated tests and dead code
* Fix usage of mock
* Moar fixes
bzr revid: xmo@openerp.com-20120910105129-rxh3jqwkewh65rl3
2012-09-10 12:51:29 +02:00