Commit Graph

61065 Commits

Author SHA1 Message Date
Xavier Morel 99a2dd3938 [ADD] first 90% of non-sucky testing API, last 90% left
also all existing tests shoud now be completely broken and need to be fixed

bzr revid: xmo@openerp.com-20121025154745-rw2gktfd6tp68k2m
2012-10-25 17:47:45 +02:00
Xavier Morel 1cf9b2a60d [REM] test_support controller
bzr revid: xmo@openerp.com-20121024110146-bzuf19sfptew0dn0
2012-10-24 13:01:46 +02:00
niv-openerp 5743dca47d [IMP] Remove some useless code
bzr revid: nicolas.vanhoren@openerp.com-20121019133851-xqgt8vuktawy58gm
2012-10-19 15:38:51 +02:00
niv-openerp d715d39440 [FIX] Problem with wizards: when the dialog is closed the view is not destroyed
bzr revid: nicolas.vanhoren@openerp.com-20121019132827-y3tp1298w1h359kh
2012-10-19 15:28:27 +02:00
Thibault Delavallée 583f26d691 [MERGE] Merged OpenChatter part 5.2: Mailbox Gangnam Style, Pooh Strikes Back
Improvements
- added Favorites, by adding the 'starred' mechanism. Starred messages are messages the user wants to keep in a specific mailbox, independantly of notifications and follow mechanism
- refactored the mailboxes, now having Inbox; To:me; Archives; Sent; Favorites
- refactored expandables
- overall refactoring of mail widget
- fixed message_read method
Next steps :
- CSS/design, client-side code
- more tests, maybe some doc, could be interesting ...

bzr revid: tde@openerp.com-20121019125158-k1rlrkhxw9q51t53
2012-10-19 14:51:58 +02:00
Thibault Delavallée ce4e0f1a37 [TMP] mail: added a small thin in test to re-runbot the runbot.
bzr revid: tde@openerp.com-20121019123222-611b6uv4foyudmvu
2012-10-19 14:32:22 +02:00
Thibault Delavallée d42a7c91c2 [DOC] mail.js: added some comments.
bzr revid: tde@openerp.com-20121019120657-1wsdfqyfl2d5jrg3
2012-10-19 14:06:57 +02:00
Thibault Delavallée 3d057c36f6 [IMP] mail_followers widget: start now calls its super, and override of set_value is not necessary anymore.
bzr revid: tde@openerp.com-20121019120648-kh4ct8kobijvirev
2012-10-19 14:06:48 +02:00
Thibault Delavallée e46ddc2c21 [REV] mail_message: vote_toggle and favorite_toggle back as SUPERUSER_ID, because of access rights issues for people not being able to write on the mail.message.
bzr revid: tde@openerp.com-20121019120616-pw8yop07fo1i2vu2
2012-10-19 14:06:16 +02:00
Xavier Morel 61b74914aa [FIX] Opera: programmatic .focus() on contenteditable element only works if element also has a tabindex
bzr revid: xmo@openerp.com-20121019114605-pa441vc9nhsi3pxm
2012-10-19 13:46:05 +02:00
Thibault Delavallée 2858b8c73f [IMP] mail: cleaned a bit the mail.compose.message form view: debug fields back to invisible, moved into the group for display.
bzr revid: tde@openerp.com-20121019113440-yfohh5gaou8jryiq
2012-10-19 13:34:40 +02:00
Thibault Delavallée 1e6e375662 [FIX] mail: fixed content_subtype stripped from context; fixed posting a message using the composer on res.users.
bzr revid: tde@openerp.com-20121019113408-ynxtc73mfaojh56p
2012-10-19 13:34:08 +02:00
Thibault Delavallée b366eee770 [FIX] mail.js: fixed wrong parent in subthreads (self not defined), fixed wront default model and res_id given to the mail.compose.message wizard.
bzr revid: tde@openerp.com-20121019112700-7d60uqz8tt7ka9u1
2012-10-19 13:27:00 +02:00
vta vta@openerp.com 877957819e [FIX] Fixed a forgotten add(), SearchView#on_invalid().
bzr revid: vta@openerp.com-20121019111558-zu8hzh7u61srew2e
2012-10-19 13:15:58 +02:00
Xavier Morel a060b1400b [FIX] SelectCreatePopup: append search view at the right position in the DOM
Old error had added the list and the search at the same place of the
popup, leading to strange interactions as the search view is floated
to the right: in Firefox the search view would be hidden behind the
list (completely), in Chrome the search view would be visible but
"overlaid" with a transparent section of the list, and (tentative)
clicks on the search view would have no effect as they'd actually be
done on and in the list view.

bzr revid: xmo@openerp.com-20121019110804-3kg91rro91isp771
2012-10-19 13:08:04 +02:00
Thibault Delavallée c3a27390eb [FIX] mail_message: fixed message_unread filter name, to be able to use action counter on mail.messages.
bzr revid: tde@openerp.com-20121019101211-2tuz45x891a3izzl
2012-10-19 12:12:11 +02:00
Xavier Morel 3be621b9bc [IMP] hack-ish hack to make reorderable lists non-reorderable in readonly o2m
* Technically this is done by the the setup_reseq override

* the filtering added to FieldOne2Many is for UI improvement

bzr revid: xmo@openerp.com-20121019100725-izotstggoxpfjk6k
2012-10-19 12:07:25 +02:00
Thibault Delavallée fbb80f4ba6 [REVIEW] mail: some code cleanup before merging.
mail.message: fixed to_read condition
mail.message: cleaned message_read code
mail.thread: fixed mega security hole, giving superuser rights when creating objects in mail.thread

bzr revid: tde@openerp.com-20121019095919-xa95j10f22va6djm
2012-10-19 11:59:19 +02:00
Thibault Delavallée 4ab127557d [REV] mail_followers: this.view.dataset.ids[0] back to its old this.view.datarecord.id form.
bzr revid: tde@openerp.com-20121019095626-7j3xpjebay33nyij
2012-10-19 11:56:26 +02:00
Thibault Delavallée 347be7b72c [FIX] mail_message: fixed message_read adding too much expandables, due to bad code indentation.
bzr revid: tde@openerp.com-20121019091329-5jnht3of77zqukl0
2012-10-19 11:13:29 +02:00
Thibault Delavallée 0b4a35d62e [FIX] mail_followers widget: fixed bug trying to get current record id, now using datarecord.id.
bzr revid: tde@openerp.com-20121019083612-9oklso9sht5qj5tq
2012-10-19 10:36:12 +02:00
Thibault Delavallée e47d26a9e4 [IMP] [TMP] mail: tests: added some tests and debug when facing the now famous random runbot-dev bug, that is now not only trigerred on runbot-dev.
bzr revid: tde@openerp.com-20121019081736-rpsqvve1bjhl5ymg
2012-10-19 10:17:36 +02:00
Thibault Delavallée d3b2aff657 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20121019074855-q13yu3kz0jqmr2hi
2012-10-19 09:48:55 +02:00
Christophe Matthieu 57263d65d6 [FIX] mail: remove message_loaded on call message_post_api
bzr revid: chm@openerp.com-20121019073610-nfbgn83kixxm1x64
2012-10-19 09:36:10 +02:00
Christophe Matthieu df2d88a5ab [FIX] mail: message_post_api call and new_message_id value
bzr revid: chm@openerp.com-20121019073338-brb0g1qivvs9pyry
2012-10-19 09:33:38 +02:00
Launchpad Translations on behalf of openerp 5bfa3c5a7d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121019053933-51d6oob5aw0ujz40
2012-10-19 05:39:33 +00:00
Antony Lesuisse 4755454c2a [FIX] remove console.log
bzr revid: al@openerp.com-20121018203118-ufstntp8wshs3fjj
2012-10-18 22:31:18 +02:00
Thibault Delavallée a6a47fc949 [CLEAN] TopButton: removed unnecessary options in context.
bzr revid: tde@openerp.com-20121018164533-8np5jqw8d3gv1kf1
2012-10-18 18:45:33 +02:00
Antony Lesuisse 75735ea1c5 [DIE] callbackenabled
bzr revid: al@openerp.com-20121018155837-lr90ldzrnwd06ueu
2012-10-18 17:58:37 +02:00
Antony Lesuisse c4104503d6 [DIE] callbackenable
bzr revid: al@openerp.com-20121018155755-ldtrek7v33gz93po
2012-10-18 17:57:55 +02:00
Fabien Meghazi 6e04399945 [FIX] m2o#focus() does nothing when readonly
bzr revid: fme@openerp.com-20121018154755-a9hurjb0664l03x2
2012-10-18 17:47:55 +02:00
Thibault Delavallée b2e7caca7d [ADD] mail: added forgottent mail_favorite_view.xml file.
bzr revid: tde@openerp.com-20121018153334-g7fv8mv3a8utrx76
2012-10-18 17:33:34 +02:00
Thibault Delavallée 8716ea43b7 [FIX] Favorite menu: fixed domain, forgottent to update star into favorite.
bzr revid: tde@openerp.com-20121018153139-nw5jpnrju5taid3r
2012-10-18 17:31:39 +02:00
Thibault Delavallée 91f4e942db [IMP] mail: star is renamed as favorite (propagated changes through module); added views for this model in technical feature, under emails. Cleaned message_read and message_read_get_expandable because the code was quite obfuscated.
bzr revid: tde@openerp.com-20121018152322-cakaas3a77h1pi7m
2012-10-18 17:23:22 +02:00
Xavier Morel b5be361c55 [FIX] various listview issues
bzr revid: xmo@openerp.com-20121018150108-althdcxk3jc2bkun
2012-10-18 17:01:08 +02:00
Xavier Morel 4223b1e786 [IMP] add overridable dimension-setting method on form fields
bzr revid: xmo@openerp.com-20121018145712-am4y6bdnz2x14i2c
2012-10-18 16:57:12 +02:00
Fabien Meghazi adb172b7cb [IMP] Binary fields, use html5 api if available
bzr revid: fme@openerp.com-20121018143730-2qoalz6uye5ggbn5
2012-10-18 16:37:30 +02:00
Olivier Dony 5b166040b1 [MERGE] expression: negative operators (e.g. NOT IN) where not working on o2m fields - tests added
bzr revid: odo@openerp.com-20121018142136-sptithprvul2v7cc
2012-10-18 16:21:36 +02:00
niv-openerp 77415e7f77 [IMP] Finally allow to call set() with 2 arguments.
bzr revid: nicolas.vanhoren@openerp.com-20121018141607-jpow2bu1dlvdriyd
2012-10-18 16:16:07 +02:00
Xavier Morel 6782c33a32 [FIX] only reload m2m listview once after adding n records to it (via dialog)
The listview does not support concurrent reload requests, either wait
for the previous reload to finish before sending the new one, or just
send a single reload.

For m2m, can wait and do a single reload so do that.

bzr revid: xmo@openerp.com-20121018134123-ox2ccq0wm3r5jwas
2012-10-18 15:41:23 +02:00
Thibault Delavallée 93b545357d [FIX] mail_message: fixed various bigs introduced when merging trunk.
bzr revid: tde@openerp.com-20121018131850-t4d4o38jyma8uaa1
2012-10-18 15:18:50 +02:00
vta vta@openerp.com d5e8e627cb [MERGE] trunk-trigger-on_write.
bzr revid: vta@openerp.com-20121018130845-igtqi323qd0g120f
2012-10-18 15:08:45 +02:00
vta vta@openerp.com baf6526de5 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121018130820-c95a4bsxsjq0vzxw
2012-10-18 15:08:20 +02:00
Thibault Delavallée 7c142d5a5c [MERGE] Merged with addons/trunk, re-done to get last fixes from trunk.
bzr revid: tde@openerp.com-20121018130049-d2cisvw7g503chvs
bzr revid: tde@openerp.com-20121018130601-nj99fd1a5ok7r952
2012-10-18 15:06:01 +02:00
vta vta@openerp.com 896c92f710 [MERGE] Merge trunk-trigger-on_search.
bzr revid: vta@openerp.com-20121018125946-tl881noca2ys20we
2012-10-18 14:59:46 +02:00
vta vta@openerp.com 94cc99925c [MERGE] Merge trunk-trigger-on_search.
bzr revid: vta@openerp.com-20121018125745-23he1va0dpj5jrfk
2012-10-18 14:57:45 +02:00
Olivier Dony 00dc401ef1 [FIX] l10n_us typo: agricultar->agriculture (also fixed in XML ids, should not break anything on existing DBs)
bzr revid: odo@openerp.com-20121018125738-wf3utqfhzgexs191
2012-10-18 14:57:38 +02:00
Olivier Dony 361c0acd2a [FIX] expression: negative operators (e.g. NOT IN) where not working on o2m fields - tests added
bzr revid: odo@openerp.com-20121018124750-bkea51a7zkvwwygi
2012-10-18 14:47:50 +02:00
vta vta@openerp.com 59aaa765a6 [FIX] Fixed event name.
bzr revid: vta@openerp.com-20121018124607-rifo06nfx7jo134e
2012-10-18 14:46:07 +02:00
vta vta@openerp.com 295e7eef25 [FIX] Fixed name in event.
bzr revid: vta@openerp.com-20121018124548-qfan5n9tl31cn3ng
2012-10-18 14:45:48 +02:00