Commit Graph
202 Commits
Author SHA1 Message Date
Olivier Dony a2055b6d31 [FIX] addons.zip_directory: ZipFile.write() still expects binary strings for filenames in python 2.5
lp bug: https://launchpad.net/bugs/690559 fixed

bzr revid: odo@openerp.com-20101220191724-mvu1rsf3sup19s9m
2010-12-20 20:17:24 +01:00
olt@tinyerp.com a536adce04 [FIX] addons/__init__.py: wrong number of arguments for format string
bzr revid: olt@tinyerp.com-20101217110210-sxqhhvj7dh96h58q
2010-12-17 12:02:10 +01:00
Olivier Dony 7bcccbafe5 [FIX] addons: avoid deleting resources after stand-alone base module update
When updating a database, base module is first loaded on its own, and this may cause useless deletion
of resource, because the aut-cleanup process. This process looks for records that are in the base namespace and
have not been processed, and deletes them because they are presumed removed from the newer version. This does not
properly work now that several modules install records (menus, groups) in the base namespace.
This is fixed by skipping the auto-cleanup process during the stand-alone loading of base, which is fine
because it will be processed properly after the rest of the modules are loaded/updated. 
(No specific LP bug reference, but many translation bugs stem partially from this)

bzr revid: odo@openerp.com-20101213161802-ulsece9bb3q1y1fx
2010-12-13 17:18:02 +01:00
Olivier Dony 3774ad65d7 [FIX] base,yaml: fixed !assert with "count" attribute in yaml tests + enabled more tests in base
bzr revid: odo@openerp.com-20101203142035-3h1min1htys5lhop
2010-12-03 15:20:35 +01:00
P. Christeas, O. Dony 6a69f37cf0 [MERGE] many improvements regarding translations, logging, reports, http, speed
bzr revid: odo@openerp.com-20101125142219-8bkqfboyuslzpvyo
2010-11-25 15:22:19 +01:00
Olivier Dony 458d7c7dea [FIX] addons.__init__: fixed mismatching logger API usage
bzr revid: odo@openerp.com-20101124163840-eyctlqtgjfq9h1u0
2010-11-24 17:38:40 +01:00
P. Christeas 81a1a310fc addons-init: better messages when an ir.model is missing
Suppress the msgs "no access rules", but add an explicit message that
the model is not there.

bzr revid: p_christ@hol.gr-20101123135748-y6t35206fy4tq44c
2010-11-23 15:57:48 +02:00
rpa (Open ERP) 7c5dce1072 [FIX]: Fixed translation of warning messages
lp bug: https://launchpad.net/bugs/660494 fixed

bzr revid: rpa@tinyerp.com-20101027133601-caqy1wdk9pduxyem
2010-10-27 19:06:01 +05:30
Xavier Morel 11c4cbd31f [FIX] booleans are returned, not raised
bzr revid: xmo@openerp.com-20101021110144-t7azpoho48cnc39u
2010-10-21 13:01:44 +02:00
Xavier Morel 5ee5a24bdc [REV] previous revision in part: back to returning false when resource not found
bzr revid: xmo@openerp.com-20101021104439-sjrixx5ubwu5wa8d
2010-10-21 12:44:39 +02:00
Xavier Morel fcdebe5924 [FIX] naming in get_resource_path, raise errors when invoked stupidly rather than just return False
bzr revid: xmo@openerp.com-20101021095817-fm0qr3fzsamj4giw
2010-10-21 11:58:17 +02:00
P. Christeas 312e62c10a [FIX] get_module_resource should not limit to regular files.
bzr revid: xmo@openerp.com-20101021095226-u3v9gtyerhm6l2g0
2010-10-21 11:52:26 +02:00
Olivier Dony f9eb2e0260 [FIX] addons: fixed cross-platform compatibility for get_module_resource()
bzr revid: odo@openerp.com-20101011102439-qgrsxquxdmasnty8
2010-10-11 12:24:39 +02:00
Harry (OpenERP) 3d6b88c87e [FIX] fixed regression on get_module_resource method to clean checking of file
bzr revid: hmo@tinyerp.com-20101011065703-96zngxucees6zwx1
2010-10-11 12:27:03 +05:30
jas 795e755b42 [FIX] : base : import module as zip file
bzr revid: jas@tinyerp.com-20101008132028-qzrac0xv1nu7z4ow
2010-10-08 18:50:28 +05:30
Xavier Morel c153c2d46b [ADD] server-side web addons
bzr revid: xmo@openerp.com-20100928075257-06f2b3o6kvdb9f6y
2010-09-28 09:52:57 +02:00
olt@tinyerp.com ba4f8ad223 [FIX] addons: tried to remove a non existing key in dict
bzr revid: olt@tinyerp.com-20100922123135-qmh4hpfgr9iexs03
2010-09-22 14:31:35 +02:00
Olivier Dony 0b314fd3dd [IMP] addons.init: handle properly empty update/init module spec
bzr revid: odo@openerp.com-20100921142525-2vjy7njophpl77bf
2010-09-21 16:25:25 +02:00
Olivier Dony 8af368159b [IMP] addons.init: avoid spurious warnings during validation of -i / -u server parameters
Includes revert of revision 2111.5.24 rvo@tinyerp.co.in-20100503134414-ma87k4htpifi00tz

bzr revid: odo@openerp.com-20100921140457-cwhl843wz86nfmm8
2010-09-21 16:04:57 +02:00
Olivier Dony 910cc41a51 [REF] config/test: renamed test-* config params to use underscores as all others, for consistency.
This will only break existing config files, but command-line stays the same with hyphens of course.

bzr revid: odo@openerp.com-20100810131755-rjwipw4pqhg3uev3
2010-08-10 15:17:55 +02:00
Jay (Open ERP) af6d826fac [FIX] __init__.py corrected for processing of .sql files
lp bug: https://launchpad.net/bugs/610938 fixed

bzr revid: jvo@tinyerp.com-20100728183447-vx9nmxlodo62jvfp
2010-07-29 00:04:47 +05:30
Christophe Simonis, Olivier Dony 75d569cc6c [FIX] base.addons: remove global and improve error handling for modules that cannot be loaded
bzr revid: odo@openerp.com-20100628130405-vn13v23ng8hh3fgy
2010-06-28 15:04:05 +02:00
Fabien Pinckaers d582f8c56b fix
bzr revid: fp@tinyerp.com-20100625135443-zqmehpce2xb9td5x
2010-06-25 15:54:43 +02:00
Olivier Dony 09297baccf [IMP] osv_memory: disabled regular ir_model_access access rights and switched to per-user access only. also did some cleanup
bzr revid: odo@openerp.com-20100624155602-noiat5i91uyeyy5t
2010-06-24 17:56:02 +02:00
vra 7ed648ce88 [MERGE] merge the changes from main trunk branch.
bzr revid: vra@tinyerp.com-20100624084539-ne1e1tscqn1z3jw5
bzr revid: vra@tinyerp.com-20100624084650-svala4jb0dnf7aal
2010-06-24 14:16:50 +05:30
vra 1cf10a7daa [FIX][IMP] SQL-Injection ,minor improvement.
bzr revid: vra@tinyerp.com-20100618140537-mjbviu7sxxwn83x8
2010-06-18 19:35:37 +05:30
Anup (OpenERP) e0d94956c1 [IMP] SQL injection Refactored
bzr revid: ach@tinyerp.com-20100618101641-84cdea9n1pzx36v2
2010-06-18 15:46:41 +05:30
Anup (OpenERP) 253c7786a3 [MERGE] Merged from the main trunk server
bzr revid: ach@tinyerp.com-20100615133947-xmf38gf47ljnb00l
bzr revid: ach@tinyerp.com-20100616112927-8ecwh6n270tkp6gp
bzr revid: ach@tinyerp.com-20100618093614-7wtc8cw3korg3280
2010-06-18 15:06:14 +05:30
Olivier Dony 96f01fe1c4 [IMP] addons: changed test section to only run in demo mode
bzr revid: odo@openerp.com-20100616154946-aeosrnkn7wvjyhwn
2010-06-16 17:49:46 +02:00
Julien Thewys 8e2f0e4e30 [FIX] csv data loading
bzr revid: jth@openerp.com-20100611152549-np935rqv1dthmph3
2010-06-11 17:25:49 +02:00
Anup (OpenERP) f331711986 [IMP] Security fixes for SQL injections.
bzr revid: ach@tinyerp.com-20100611112332-8tsrkea948wnv0ap
2010-06-11 16:53:32 +05:30
Julien Thewys f070facbd1 [MERGE] Merged data loader fixes.
bzr revid: jth@openerp.com-20100608123459-3pat73cpmyzjwu20
2010-06-08 14:34:59 +02:00
Olivier Dony 13d8991999 [MERGE] safe_eval branch merged: plain eval() replaced by safer version wherever possible - should be single point of fixing now
bzr revid: odo@openerp.com-20100604011342-wus17d5o99gfoqf5
2010-06-04 03:13:42 +02:00
Christophe Simonis 2f3c27b631 [IMP] __openerp__.py can now contain maitainer and contribors
bzr revid: chs@openerp.com-20100516162741-5qwvadhq07bdt1be
2010-05-16 18:27:41 +02:00
Olivier Dony 73b5ab1b24 [IMP] renamed server option --test-no-rollback to --test-commit, and dropped --test-continue, making it the default
bzr revid: odo@openerp.com-20100519153027-trhfaluudgo4f59z
2010-05-19 17:30:27 +02:00
Olivier Dony b020dc8363 [IMP] work-in-progress: initial version of safe_eval implementation -- still need fixing
bzr revid: odo@openerp.com-20100503234953-qgbk64bmir95jvzd
2010-05-04 00:49:53 +01:00
Olivier Dony 0fb50cd625 [FIX] restore proper exception context and logging for test-continue
bzr revid: odo@openerp.com-20100503230519-vc4bxt8y2j87p5qf
2010-05-04 00:05:19 +01:00
Rvo (Open ERP) e2f40f8300 [Add]: warning starting server with '-u XXX' or '-i XXX' where XXX is not a valid module name or 'all'
bzr revid: rvo@tinyerp.co.in-20100503134414-ma87k4htpifi00tz
2010-05-03 19:14:14 +05:30
PAP(OpenERP) 9e36298cf0 Added commmand line arguments to make yml test easier
bzr revid: hda@tinyerp.com-20100430142250-ieb6mzx59wyvl3u9
2010-04-30 19:52:50 +05:30
Framework Team 3af6db6180 [MERGE] merged trunk-dev-framework branch, including a.o diagram view improvements, access rights, bugfixes
bzr revid: odo@openerp.com-20100420120017-wpnt9q169cq9iztr
2010-04-20 14:00:17 +02:00
Olivier Dony b134ac988e [IMP] re-enabled warning for osv_memory access rights, because we are going to check them explictly
bzr revid: odo@openerp.com-20100420115829-ysyk4b5n6ox1wapn
2010-04-20 13:58:29 +02:00
Olivier Dony 78556c7a19 [FIX] safety check for missing terp file in modules
bzr revid: odo@openerp.com-20100419111655-crp73szug687q57x
2010-04-19 13:16:55 +02:00
Rvo (Open ERP) b481a12eea [IMP]: access rights checking stopped for osv_memory objects, filter and shortcut creation rights added for all groups
bzr revid: rvo@tinyerp.co.in-20100413073228-earaglnoo4hr2x3r
2010-04-13 13:02:28 +05:30
Julien Thewys fc9bf8716a [FIX] Ensure a failing test do not stop the server unless it has ERROR severity/level.
[FIX] Load tests only if demo data are present.

bzr revid: jth@openerp.com-20100408172333-1g3g4nfy6m81m4zw
2010-04-08 19:23:33 +02:00
Fabien Pinckaers 009f5f7bb4 merge
bzr revid: fp@tinyerp.com-20100407070504-x1474hslloxn32v9
2010-04-07 09:05:04 +02:00
Julien Thewys f29491458b [ADD] Tests declared in 'test' section of __terp__ are rolled back at the end of the module processing.
[FIX] Removed an unnecessary commit in ir_sequence.get_id (replaced by SELECT ... FOR UPDATE NOWAIT):
        commit was actually breaking the test rollback behaviour.

bzr revid: jth@openerp.com-20100406102445-le227exvrphahbx5
2010-04-06 12:24:45 +02:00
Julien Thewys 1b3c687e4b [REF] Extract some functions before adding new things.
bzr revid: jth@openerp.com-20100405211419-yokve9t42fna43n3
2010-04-05 23:14:19 +02:00
Olivier Dony 16749901c7 [FIX] changed loglevel to debug for missing module descriptor messages
bzr revid: odo@openerp.com-20100401120024-6s60u16p29t6mvkt
2010-04-01 14:00:24 +02:00
HDA (OpenERP) a052c1a9df Merged
bzr revid: hda@tinyerp.com-20100315104423-35cn2y9y0vz1s6bw
2010-03-15 16:14:23 +05:30
Stephane Wirtel a74a26a113 [IMP] addons: create a warning log to inform the user/developper that
there is a missing description file

bzr revid: stephane@openerp.com-20100312123106-098u2qvczg6zxwjb
2010-03-12 13:31:06 +01:00