Commit Graph

82028 Commits

Author SHA1 Message Date
Stephane Wirtel 3f779a5cae [IMP] Add the ir_logging object where we will store the log messages (exception, error and warning)
bzr revid: stw@openerp.com-20140228161055-98897xl1r46mf9mr
2014-02-28 17:10:55 +01:00
Stephane Wirtel 855836e96e [IMP] Move the netsvc.dispatch_rpc function from netsvc to openerp.http
bzr revid: stw@openerp.com-20140227125648-kunaefr22y28honx
2014-02-27 13:56:48 +01:00
Fabien Meghazi 992975f236 [IMP] Improvement/changes to the http request/response API.
- Added http.Response object
- @http.route decorator wraps methods in order to convert returned value to Response object
- http.Request.func* variables moved to http.EndPoint class
- moved _first_arg_is_req backward compatibility feature in EndPoint class
- CORS support moved to new http.Request object
- Added a #render() helper on request object as a companion of #make_response() that will return a lazy qweb rendering response
- Extra check in routing_map() in order to forbid the chabge of request type in @http.route arguments inheritance
- Fix crash happening when no Host header is present in the request

bzr revid: fme@openerp.com-20140226164407-5avn72p20o3o4f7x
2014-02-26 17:44:07 +01:00
Fabien Meghazi e2f92040db [REM] removed Request's getattr proxying to httprequest
This might be a problem when merging the new api so we let it as is for the moment

bzr revid: fme@openerp.com-20140226161627-edgbe5f8mpzylq46
2014-02-26 17:16:27 +01:00
Launchpad Translations on behalf of openerp a900c2f44d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226063458-06tloufxtz1og92z
2014-02-26 06:34:58 +00:00
Gery Debongnie 47340431f9 [FIX] fixes the tooltip position in chart mode (graph view). The position was wrong because the parent position was not 'relative'. (addon web_graph)
bzr revid: ged@openerp.com-20140225141623-cawr7yur38zhjcz4
2014-02-25 15:16:23 +01:00
Fabien Meghazi 5da9305bf5 [MERGE] upstream
bzr revid: fme@openerp.com-20140225105045-9t4a443nq0lw55qu
2014-02-25 11:50:45 +01:00
Gery Debongnie fed81544ad [IMP] optimizes graph view to avoid reloading data in some cases (such as removing a filter from the search view) (addon web_graph)
bzr revid: ged@openerp.com-20140225104233-zidrw03dh2hlwrng
2014-02-25 11:42:33 +01:00
Gery Debongnie 02b70e2950 [FIX] fixes problems due to the preceding merge (resolved conflict was not properly resolved) (addon web_graph)
bzr revid: ged@openerp.com-20140225103155-9cdbs8p79sa7hkwi
2014-02-25 11:31:55 +01:00
Gery Debongnie 893b7041f9 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140225091310-pzkj5ip17esl52kz
2014-02-25 10:13:10 +01:00
Fabien Meghazi 2ab61cf001 [IMP] Rename request.httprequest.session -> request.session
bzr revid: fme@openerp.com-20140225090506-4rnku48yg7ruvv8p
2014-02-25 10:05:06 +01:00
Gery Debongnie 956b73998c [FIX] fixes various problems with the search bar integration with the graph view. Now, the code correctly computes the group_bys and col_groupbys contained in the various filters in the search bar (addon web_graph)
bzr revid: ged@openerp.com-20140225090349-z6udsjn0cjafu0lt
2014-02-25 10:03:49 +01:00
Launchpad Translations on behalf of openerp eaa20f9586 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225060535-e6jwphbnlp4q2vc6
2014-02-25 06:05:35 +00:00
Frédéric van der Essen 4dd0d7c524 [MERGE] hw_proxy: improvements to the posbox documentation
bzr revid: fva@openerp.com-20140224172856-ku0tedluscdzvkjz
2014-02-24 18:28:56 +01:00
Frédéric van der Essen 0368f23b1e [MERGE] from trunk
bzr revid: fva@openerp.com-20140224172822-ehn3xeb7rb1xro07
2014-02-24 18:28:22 +01:00
Frédéric van der Essen b2c89c22bf [IMP] hw_proxy: adding a few troubleshoot info to the manual + add the compiled pdf version to the repo
bzr revid: fva@openerp.com-20140224172547-diov3ubpfspmdfvy
2014-02-24 18:25:47 +01:00
Frédéric van der Essen 5c08f38a1b [FIXME] deactivated failed tests to make the runbot green again
bzr revid: fva@openerp.com-20140224164321-7631d3uqu2r2zqyw
2014-02-24 17:43:21 +01:00
Fabien Pinckaers 2d0db5a8bf [IMP] 3 cols to respect icon and make it easier for new users to start with
bzr revid: fp@tinyerp.com-20140224110148-12lndtuaztxypgmw
2014-02-24 12:01:48 +01:00
Fabien Meghazi 6df317c546 [FIX] website's translation problems on multiple inheritance
bzr revid: fme@openerp.com-20140224103235-2s9de5k71xfa2qko
2014-02-24 11:32:35 +01:00
Fabien Pinckaers 3e31d2cb03 [IMP] Allow to press select where you want the new line
bzr revid: fp@tinyerp.com-20140224095553-qc4lhnpetczl1t7v
2014-02-24 10:55:53 +01:00
Launchpad Translations on behalf of openerp 5580324bbf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222063856-jg0p4f82hy0yw5f0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222063912-upicgao9ly9iu2wf
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223070706-qx82kgcpxvuqfmod
2014-02-23 07:07:06 +00:00
Christophe Simonis e027b3b447 [FIX] damn! correct import
bzr revid: chs@openerp.com-20140221231010-nxwqfgtn6477ewvg
2014-02-22 00:10:10 +01:00
Christophe Simonis d81e9debbe [IMP] openerp/service/server.py: lint file
bzr revid: chs@openerp.com-20140221223544-q309ioxit8tzlaki
2014-02-21 23:35:44 +01:00
Christophe Simonis f511109440 [FIX] correct signal handler on nt
bzr revid: chs@openerp.com-20140221221702-5sa98qfkfh0fimct
2014-02-21 23:17:02 +01:00
Christophe Simonis 9f3417080c [FIX] correct run of test-file via command line
bzr revid: chs@openerp.com-20140221221551-y168fe003k45229m
2014-02-21 23:15:51 +01:00
Christophe Simonis 40f7df4fd8 [FIX] return code is non-zero if any preloaded database failed to load
bzr revid: chs@openerp.com-20140221220348-vw3mll25dti1n23u
2014-02-21 23:03:48 +01:00
Christophe Simonis 186bb97638 [FIX] httpd thread must be a daemon threaded
bzr revid: chs@openerp.com-20140221215709-codb7b9r9n77ln7k
2014-02-21 22:57:09 +01:00
Xavier Morel bb7eb52699 [REM] RPC from js/qunit tests
They're a pain in the ass, they never worked right and they're basically
useless. Screw it.

bzr revid: xmo@openerp.com-20140221143518-hv3rjkw2b00ughvh
2014-02-21 15:35:18 +01: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 013d27b850 [IMP] filter out phantomjs warning on OSX
bzr revid: xmo@openerp.com-20140221143448-tpx62ua785kc8gfx
2014-02-21 15:34:48 +01:00
Thibault Delavallée a908700252 [MERGE] [IMP] ir_actions: allow using workflows in server actions.
bzr revid: tde@openerp.com-20140221141238-4tfi6ojxs86arc41
2014-02-21 15:12:38 +01:00
Richard Mathot (OpenERP) 13194a10f7 [ADD] Test that the variable 'workflow' is correctly assigned in Python server actions (if not, the code will crash)
bzr revid: rim@openerp.com-20140221125708-6vt2ucp5sjtvl02q
2014-02-21 13:57:08 +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
Thibault Delavallée d7c974aa5b [MERGE] [IMP] mail: subtype: order by application + allow to hide technical subtypes + updated addons subtypes
- mail.message.subtype:
-- added sequence field, used to order subtypes when displaying them
-- added hidden field, used to hide some subtypes. Subtypes like 'Task Created' or 'Issue Created' are not necessary on a task or issue, but useful on the project form view. Indeed by following the task created subtype on the project, the user is notified of new tasks. However on the task itself it makes no sense to be able to follow task created. This subtype has to exist due to the technical implementation, but should be hidden in the followers widget of the task.
- mail: updated followers widget accordingly, and display subtypes by application with a visual border to separate them

- project, crm, sale_crm: updated hidden and sequence of subtypes

bzr revid: tde@openerp.com-20140221122036-m30laylmb4tqndkh
2014-02-21 13:20:36 +01:00
Richard Mathot (OpenERP) 6b40002f98 [ADD] Enable access to workflow engine in server actions that run arbitrary python code
(a workflow variable gives now access to trg_* methods of the workflow engine)

bzr revid: rim@openerp.com-20140221115347-rpar6uyiwx1z9deu
2014-02-21 12:53:47 +01:00
Thibault Delavallée 0b21db907e [MERGE] Sync with trunk, because trunk was broken at last update
bzr revid: tde@openerp.com-20140221115207-oussz4cxss9u99vw
2014-02-21 12:52:07 +01:00
Thibault Delavallée 6709242bb8 [CLEAN] gamification: removed .moved folder, added when forward porting
saas-3 into trunk.

bzr revid: tde@openerp.com-20140221114004-9ee33tn3ilk6rekf
2014-02-21 12:40:04 +01:00
Thibault Delavallée 587c8474b0 [FIX] mail: fixed regression caused by forward-porting saas-3: re-removed
the hack in mail_thread about subscription in create mode.

bzr revid: tde@openerp.com-20140221113919-3b51stz2u9rj4kcz
2014-02-21 12:39:19 +01:00
Thibault Delavallée d3ea25c0ba [IMP] crm: added sequence on subtypes
bzr revid: tde@openerp.com-20140221112915-1o9pk3gjohtl558w
2014-02-21 12:29:15 +01:00
Thibault Delavallée 6813592da8 [IMP] mail: subtype model: cleaning + improved form view to add the new fields
bzr revid: tde@openerp.com-20140221112904-ijgkqy5zhco5a9i4
2014-02-21 12:29:04 +01:00
Thibault Delavallée e2eb37efe2 [IMP] mail: do not fetch hidden subtypes in follower widgets
bzr revid: tde@openerp.com-20140221112816-xhtc97az72ip355o
2014-02-21 12:28:16 +01:00
Thibault Delavallée 3a2d8d1496 [IMP] project, project_issue: added sequence on subtypes
bzr revid: tde@openerp.com-20140221112704-lqd4o5bnljn84yxs
2014-02-21 12:27:04 +01:00
Thibault Delavallée 41f91e2bef [IMP] sale_crm: subtypes: added sequence
bzr revid: tde@openerp.com-20140221112643-thzam5r0db5cfiq6
2014-02-21 12:26:43 +01:00
Christophe Simonis 7e2bf04b4a [FIX] website: bootstrap is now in web module
bzr revid: chs@openerp.com-20140221104725-e1w0t9ety5oqjf0y
2014-02-21 11:47:25 +01:00
Thibault Delavallée 09c90c3a53 [ADD] mail: mail_message_subtype: add a hidden field, to hide some subtypes from
the followers widget. This will be used to hide the created
subtype on the task or issues for example, while still available
on the related project. The subtype on the task is necessary
to trigger the various autosubscription and notification mechanisms
but its display on task/issue is not.

bzr revid: tde@openerp.com-20140221102823-ca1bvw3qi9kf61uq
2014-02-21 11:28:23 +01:00
Thibault Delavallée fc7f21e4bf [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140221102322-oi7wa2sc3867g81d
2014-02-21 11:23:22 +01:00
Christophe Simonis 636b3ff2dd [FIX] testing: only load js tests of loaded modules
bzr revid: chs@openerp.com-20140221095543-07lv6as8ym17mj7z
2014-02-21 10:55:43 +01:00
Christophe Simonis b79f35471e [FIX] testing: rpc tests works directly on the source database instead of copying it
bzr revid: chs@openerp.com-20140221095500-5cer5exzdei76y1d
2014-02-21 10:55:00 +01:00
Launchpad Translations on behalf of openerp b949cef63c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140221054843-7g7jwzx085jnes1q
2014-02-21 05:48:43 +00:00
Christophe Simonis 4769ff5e5d [FIX] mail: fix IndentationError introduced in last commit
bzr revid: chs@openerp.com-20140220172926-4fy9x1i1q4wknfqx
2014-02-20 18:29:26 +01:00