Commit Graph
85003 Commits
Author SHA1 Message Date
Richard Mathot (OpenERP) ef7a23ad27 [REM] bye bye vim
bzr revid: rim@openerp.com-20140304142341-xav2selw1nmozeyf
2014-03-04 15:23:41 +01:00
Richard Mathot (OpenERP) c6689f4a1a [REM] Outdated test
bzr revid: rim@openerp.com-20140304135950-of0ohkn5a84xfa8h
2014-03-04 14:59:50 +01:00
Richard Mathot (OpenERP) b8ccde9318 [FIX] Reenabling tests for hr_recruitment
bzr revid: rim@openerp.com-20140304135923-32nr8uw1vu4vvqxt
2014-03-04 14:59:23 +01:00
Xavier Morel 8ab5f3979b [ADD] deduplication of website images being uploaded
There is a deduplication in ir.attachment, but it's only for FS-stored content
*and* it only deduplicates storage not models (as there are access rights
issues involved).
  
The goal here is to always return the same attachment when a user uploads the
exact same image multiple times (because it's simpler or whatever).
  
Initially tried to use a binary field & digest(), but search() blows up
because it tries to utf-8 encode raw binary data. So use char & hexdigest
instead.
  
_compute_checksum returns None if the provided attachment data does not look
like a website image attachment.
  
Unhandled: multiple existing matches, maybe a UNIQUE constraint on the
checksum field would be a good idea just in case.

cherrypicked from saas-3's xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f
which had to be backed out (as the patch adds a new stored field)

bzr revid: xmo@openerp.com-20140304133117-r88p9zl2tc9tsh75
2014-03-04 14:31:17 +01:00
Martin Trigaux 3ad670c91d [IMP] Upgrade underscore.js from version 1.3.1 to 1.6.0 and underscore.string.js from version 1.2.0 to 2.3.0
bzr revid: mat@openerp.com-20140304132825-lbzcwihkb1fkembz
2014-03-04 14:28:25 +01:00
Paramjit Singh Sahota 2331b14f57 [UPDATE] Updated the cleditor lib from v1.3.0 to v1.4.4 to fix the INTERNET EXPLORER issues.
bzr revid: psa@tinyerp.com-20140304132534-8dyuusqda5vsdcit
2014-03-04 18:55:34 +05:30
Xavier Morel a0feb7c3c9 [REV] backout xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f, schemas should not be altered in saas-3
bzr revid: xmo@openerp.com-20140304132101-qysq310wp1oo859n
2014-03-04 14:21:01 +01:00
Richard Mathot (OpenERP) ea2fd36ba3 [FIX] Security rules for 'hr_evaluation' according to new objects in 'survey'
bzr revid: rim@openerp.com-20140304131016-e14dyu4fszv1jls8
2014-03-04 14:10:16 +01:00
Martin Trigaux 7bb95a4468 Update undescore.js to version 1.6 and underscore.string.js to version 2.3
bzr revid: mat@openerp.com-20140304125528-97w5kbv3ry028kn9
2014-03-04 13:55:28 +01:00
Turkesh Patel (Open ERP) 09c005df51 [IMP] improved code to show url instead of id use slug.
bzr revid: tpa@tinyerp.com-20140304125350-zib1hxzvq1lr9bky
2014-03-04 18:23:50 +05:30
Turkesh Patel (Open ERP) 5471b1ba96 [IMP] improved code to add forum from top menu 'Content', remove static id of below link, show only related questions per forum
bzr revid: tpa@tinyerp.com-20140304124002-otl1wn10c6qcggbs
2014-03-04 18:10:02 +05:30
Denis Ledoux 179de3702c [REVERT] partial revert dle@openerp.com-20140304113407-b2kku1xolvkceqcg, distraction error, left pudb
bzr revid: dle@openerp.com-20140304115413-tjwpni7ssqpl7yis
2014-03-04 12:54:13 +01:00
Thibault Delavallée db93656f10 [FIX] res_users: change password wizard: fixed crash when submitting the form.
Indeed unlinking wizard content before actually closing it seems to
cause a crash. Instead of unlinking lines with user - password data
we now write a void value on the new password. The stored content
does not contain valuable data after submitting the form.

bzr revid: tde@openerp.com-20140304115017-posdyri9y1cra4jo
2014-03-04 12:50:17 +01:00
Denis Ledoux 5db57a21a2 [FIX]stock: in fill inventory wizard, set raise-exception to False in context to avoid having error saying that the product uom category is different: this button is just a tool to help filling the inventory. Anyway, If it should pop the error, it should be on the validation, not in the button to auto-fill the inventory.
bzr revid: dle@openerp.com-20140304113407-b2kku1xolvkceqcg
2014-03-04 12:34:07 +01:00
Rifakat 5d2e59e5e4 [FIX] hr_payroll_account: used float_compare() instead of direct comparing between two floats to avoid python rounding
bzr revid: rha@tinyerp.com-20140304113117-smy5gb9e92lcuji8
2014-03-04 17:01:17 +05:30
Thibault Delavallée db2bdee343 MERGE] [FIX] email_template: fix relative -> absolute url conversion
Local URLs are converted into absolute URLs, notably because when using the
email designer, images are added using local URLs. Previously to this fix
the template was analyzed to find local URLs and make them absolute.
However this causes 2 issues :
- mako-based URLs are broken because a scheme is added before the mako that
generated the image src
- when changing the base url, the templates are not updated
The URLs are now converted dynamically when generating the content of the
html. This is done by passing a new parameter that enable the post processing
of the generated content.
Also fixed double body generation when using templates; fields parameter
was not propagated correctly.

bzr revid: tde@openerp.com-20140304112957-l9b10gyjqphs5fgc
2014-03-04 12:29:57 +01:00
Thibault Delavallée d6aeff2989 [FIX] res_users: fixed on_change_login that crashed
when changing the login by a void value.

bzr revid: tde@openerp.com-20140304111452-np9537a3ja7vf1zi
2014-03-04 12:14:52 +01:00
Xavier Morel e78a3b18cc [ADD] tentative removal of attachments
Attachments ought be removed only if they are not used in an existing page/web
view.

Theoretically this could be set directly in unlink(), but:
* that would make a nice error message significantly harder
* the expenses of performing a text search in all view archs would be a bit expensive

Notes:
* the views set could be reduced to only "web" views
* the search is likely sensible to false negatives e.g. different order of
  query parameters. It *will* remove images still being used.

bzr revid: xmo@openerp.com-20140304110716-u14w6uo8fbkfa42i
2014-03-04 12:07:16 +01:00
Mohammed Shekha (OpenERP) f29f1e6f04 [FIX]Fixed the issue of o2m sorting by column, m2o field does not give proper result for sorting because whole value of m2o [id, value] going to compare for sorting.
bzr revid: msh@openerp.com-20140304110659-4uu38feetsjj0tt5
2014-03-04 16:36:59 +05:30
Turkesh Patel (Open ERP) 782b4acaf3 [IMP] improved url's and controller in order to represent forum as multi-forum
bzr revid: tpa@tinyerp.com-20140304104930-5tk6upw78pu2egos
2014-03-04 16:19:30 +05:30
Denis Ledoux 257df67d32 [FIX]stock: in fill inventory wizard, set raise-exception to False in context to avoid having error saying that the product uom category is different: this button is just a tool to help filling the inventory. Anyway, If it should pop the error, it should be on the validation, not in the button to auto-fill the inventory.
bzr revid: dle@openerp.com-20140304104603-5y9rz8onsxdr43dp
2014-03-04 11:46:03 +01:00
Richard Mathot (OpenERP) 485d6c0092 [WIP] Temporarily disabling of tests in hr_evaluation and hr_recruitment
bzr revid: rim@openerp.com-20140304094533-gaft7rx3581snefg
2014-03-04 10:45:33 +01:00
Olivier Dony 4641a23d14 [FIX] server.stop: avoid traceback during shutdown if HTTP service never started (e.g. because address was already in use)
bzr revid: odo@openerp.com-20140304093240-0yfoe3s0xz0u0xv9
2014-03-04 10:32:40 +01:00
Richard Mathot (OpenERP) ac45077749 [MERGE] Sync with trunk
bzr revid: rim@openerp.com-20140304090633-6er115zbxgtsmv8u
2014-03-04 10:06:33 +01:00
Launchpad Translations on behalf of openerp b201dc79b7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140218054104-8egkh4jj7hiiwuih
bzr revid: launchpad_translations_on_behalf_of_openerp-20140219054048-688twg0fubtm2x2q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140220054214-237ri67t9rw3l4fu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140221063855-wniw42r27gyg3h6y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222073328-xpn7nwqz407yzumq
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223074516-0r09cpmma58ylqji
bzr revid: launchpad_translations_on_behalf_of_openerp-20140224060319-535oheaq2w9u2ye3
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225062420-zl7curej0e0warhz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226073146-3vzhw4hddr81olbs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140227062959-24e2rn98rqb9afpr
bzr revid: launchpad_translations_on_behalf_of_openerp-20140228072152-f9gm4ud1wu19ge27
bzr revid: launchpad_translations_on_behalf_of_openerp-20140301055205-r0df0fqz9yf5z66i
bzr revid: launchpad_translations_on_behalf_of_openerp-20140302052638-bjf11oumy7w15oco
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304082704-k1z2te1tfud43zy3
2014-03-04 08:27:04 +00:00
Launchpad Translations on behalf of openerp 9863dbe5c8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304075238-yra39uwmwahmrnf3
2014-03-04 07:52:38 +00:00
Parth Gajjar (Open ERP) cc70d1d22e [IMP] replaced calendar icon with map and cloud, top and bottom margin added, domain added for confirmed events, used font-awesome instead of block-country_event.png
bzr revid: pga@tinyerp.com-20140304070104-3pb9hpnkgke6peu9
2014-03-04 12:31:04 +05:30
Launchpad Translations on behalf of openerp 0759553fe4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304061656-tmqvsiz854vbugx2
2014-03-04 06:16:56 +00:00
Bharat R. Devnani (OpenERP) 79e14134b2 [MERGE] merged with main web addons
bzr revid: bde@tinyerp.com-20140304050627-7b1mmmsmq3f6de13
2014-03-04 10:36:27 +05:30
Fabien Pinckaers ff9833efdc [IMP] badges
bzr revid: fp@tinyerp.com-20140303204142-r2hynmbhypcxkj76
2014-03-03 21:41:42 +01:00
Fabien Pinckaers 8892c8f4d3 [IMP] forum users
bzr revid: fp@tinyerp.com-20140303203425-5jf71pg6uqviaz6r
2014-03-03 21:34:25 +01:00
Fabien Pinckaers fd2cac1110 [IMP] Questions and answers of users
bzr revid: fp@tinyerp.com-20140303202647-56h9j8cwjliq0c8k
2014-03-03 21:26:47 +01:00
Fabien Pinckaers 33ce71444b [IMP] user page, not finished
bzr revid: fp@tinyerp.com-20140303202224-em1zdpmhwmob38ua
2014-03-03 21:22:24 +01:00
Fabien Pinckaers 68faefa15f [IMP] adding FAQ page
bzr revid: fp@tinyerp.com-20140303193654-rkmar2mc05uluhg8
2014-03-03 20:36:54 +01:00
Fabien Pinckaers e2ee1de89d [IMP] better css
bzr revid: fp@tinyerp.com-20140303192927-q4ci0218zdsltef3
2014-03-03 20:29:27 +01:00
Fabien Pinckaers ad66572645 [IMP] better views
bzr revid: fp@tinyerp.com-20140303191748-y7c6zcy7r6riy1fq
2014-03-03 20:17:48 +01:00
Denis Ledoux f363856773 [FIX] website_hr_recruitment: missing required 'name', which leaded to crash, and the phone field is partner_phone, not just phone. Do you even test what you do ?
bzr revid: dle@openerp.com-20140303174445-j733tpmccc9x855u
2014-03-03 18:44:45 +01:00
Martin Trigaux a1a5bc6c06 [MERGE] [FIX] view list: pagination problem when delete records in list view
When delete a record, correctly display the number of remaining items displayed (eg: 1-79 of 99)
When no more items in a page, force switch to previous page
When no more pager, reload the content to display potential items in next page

bzr revid: mat@openerp.com-20140303164114-pzeuu9hxvq17lx02
2014-03-03 17:41:14 +01:00
Christophe Simonis ab80456fe7 [IMP] openerp/service/db.py: lint file
bzr revid: chs@openerp.com-20140303160805-ywbtw04jd3022jcv
2014-03-03 17:08:05 +01:00
Fabien Pinckaers 13a4923a10 [IMP] better templates
bzr revid: fp@tinyerp.com-20140303155355-1nxn9yaudzeu5dei
2014-03-03 16:53:55 +01:00
Xavier Morel a99a15c960 [ADD] deduplication of website images being uploaded
There is a deduplication in ir.attachment, but it's only for FS-stored content
*and* it only deduplicates storage not models (as there are access rights
issues involved).

The goal here is to always return the same attachment when a user uploads the
exact same image multiple times (because it's simpler or whatever).

Initially tried to use a binary field & digest(), but search() blows up
because it tries to utf-8 encode raw binary data. So use char & hexdigest
instead.

_compute_checksum returns None if the provided attachment data does not look
like a website image attachment.

Unhandled: multiple existing matches, maybe a UNIQUE constraint on the
checksum field would be a good idea just in case.

bzr revid: xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f
2014-03-03 16:38:55 +01:00
Xavier Morel ec68d3d8bd [IMP] don't duplicate website_url function field of attachments
bzr revid: xmo@openerp.com-20140303142401-2jaxc3m31tmqw9qa
2014-03-03 15:24:01 +01:00
Christophe Matthieu 68749a0683 [IMP] website: snippet: remove data-snippet-id and add auto resize on resising option
bzr revid: chm@openerp.com-20140303142017-jcb3401wpiuvbc1n
2014-03-03 15:20:17 +01:00
Xavier Morel 9d00835b2c [FIX] order of attachments in 'existing images' sub-dialog: put last uploaded first
bzr revid: xmo@openerp.com-20140303135426-evouhwgjtwku3v2b
2014-03-03 14:54:26 +01:00
Richard Mathot (OpenERP) 7227b0b0c9 [REF] Bye bye vim
bzr revid: rim@openerp.com-20140303133814-rpjv0gl7618bt1i1
2014-03-03 14:38:14 +01:00
Richard Mathot (OpenERP) 6eca5c113b [IMP] Kanban view tweaking
bzr revid: rim@openerp.com-20140303133641-xa52rj4g2k0gxtxp
2014-03-03 14:36:41 +01:00
Richard Mathot (OpenERP) dbd02d734b [MERGE] Sync with trunk
bzr revid: rim@openerp.com-20140303131137-2shoyv0ywvgp5fx3
2014-03-03 14:11:37 +01:00
Richard Mathot (OpenERP) 2cde1e8b91 [MERGE] Reporting tool for surveys + [REF] Serveral refactorings (code style, missing semicolons in JS, typos...) + [FIX] Security breach using unsafe eval
bzr revid: rim@openerp.com-20140303130544-xoage8hgkhtfhwpg
2014-03-03 14:05:44 +01:00
Christophe Matthieu 4a80c007e3 [IMP] website: snippet selector
bzr revid: chm@openerp.com-20140303121945-d2ynze1vja5v0d7d
2014-03-03 13:19:45 +01:00
Christophe Matthieu 2569e07191 [IMP] website: snippet don't use snipet id
bzr revid: chm@openerp.com-20140303113946-d70yd8nmew1k3z37
2014-03-03 12:39:46 +01:00