Commit Graph

113 Commits

Author SHA1 Message Date
P. Christeas bba009f639 Merge commit 'origin/master' into mdv-gpl3-py26
Conflicts:
	bin/netsvc.py
	bin/sql_db.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090208175840-xmy5c53ijl3rs1l5
2009-02-08 19:58:40 +02:00
Christophe Simonis f5724590ce [FIX] modules that cannot be loaded are marked as uninstallable
bzr revid: christophe@tinyerp.com-20090205103042-hkqsip3d4mgf7smh
2009-02-05 11:30:42 +01:00
P. Christeas 1d4bc47020 Merge commit 'origin/master' into mdv-gpl3-py26
Conflicts:

	bin/addons/__init__.py

bzr revid: p_christ@hol.gr-20090201163859-3b46agdb2wcoe37g
2009-02-01 18:38:59 +02:00
Christophe Simonis 5d4c72c177 [FIX] Avoid an infinite loop when a module can not be physically found. Thanks a lot to P. Christeas for the initial patch.
bzr revid: christophe@taupe-20090131202914-m3stut6b62ysd0dm
2009-01-31 21:29:14 +01:00
P. Christeas 2ae98f03c9 Little better message when modules cannot be loaded.
bzr revid: p_christ@hol.gr-20090131114835-7go7yhsve0t8oks0
2009-01-31 13:48:35 +02:00
P. Christeas 03c835af30 Fix module loading when some not found.
If some modules exist in db and not in addons/ , then, the new code
introduced at db57878bbb11 would loop forever. Check that and continue
in such a case.

bzr revid: p_christ@hol.gr-20090131113036-ikvuyry7kt3x4ao7
2009-01-31 13:30:36 +02:00
P. Christeas b69c19fbb2 Merge branch 'master' of openobject-server into mdv-gpl3-py26
Conflicts:
	bin/netsvc.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090131100804-pu97gelwjh1flk3h
2009-01-31 12:08:04 +02:00
Christophe Simonis f3bd6582fc [IMP] the module graph is updated and loaded until there are modules to load.
[IMP] log the extra database columns only when all modules are loaded

bzr revid: christophe@tinyerp.com-20090129095937-izrx5s4qac1dmapj
2009-01-29 10:59:37 +01:00
P. Christeas caa5ca5ae2 Merge branch 'master' of openobject-server into mdv-gpl3-py26
Conflicts:

	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090128135050-bb1ueo5ovziijg00
2009-01-28 15:50:50 +02:00
P. Christeas 9c74129419 Module unload: workaround missing models.
If module unload asks to remove objects from missing models, just warn.

bzr revid: p_christ@hol.gr-20090126202751-721lgjp2lhvlh19e
2009-01-26 22:27:51 +02:00
Christophe Simonis 0bb1d799ca [FIX] apply the state change of the module before upgrading languages
lp bug: https://launchpad.net/bugs/319977 fixed

bzr revid: stephane@tinyerp.com-20090122182700-ujlaok0b5027i8ow
2009-01-22 19:27:00 +01:00
P. Christeas 1f6278b32c Merge branch 'master' of openobject-server into mdv-gpl3-py26
Conflicts:
	bin/addons/base/ir/ir.xml
	bin/osv/orm.py
	bin/sql_db.py
	bin/tools/config.py

bzr revid: p_christ@hol.gr-20090122175910-4apjfo1p7iokatm6
2009-01-22 19:59:10 +02:00
Christophe Simonis b926a1eb35 [FIX] execute the migration scripts in alphabetic order (per version)
bzr revid: christophe@tinyerp.com-20090122161616-gvujsj324a3vyvw5
2009-01-22 17:16:16 +01:00
Stephane Wirtel 3268209d8c [IMP] Add a new method: get_module_as_zip_from_module_directory(module_directory, b64enc, src)
This function compress a module directory as zip file

bzr revid: stephane@tinyerp.com-20090122152536-c9wb2fogcocn7sha
2009-01-22 16:25:36 +01:00
Stephane Wirtel 9ef4ac36fe [FIX] Don't archive the source file when src is False
bzr revid: stephane@tinyerp.com-20090122145853-0er3kat9kxxx8e80
2009-01-22 15:58:53 +01:00
Christophe Simonis 2b1ecd58d6 [FIX] demo files were always parsed in 'init' mode
[IMP] ensure modobj exists before upgrading module state and version

bzr revid: christophe@tinyerp.com-20090121121936-2fdqa7kblh2to74k
2009-01-21 13:19:36 +01:00
Fabien Pinckaers 1e150d5898 bugfix
bzr revid: fp@tinyerp.com-20090119205152-g7i0pghp98p2v93l
2009-01-19 21:51:52 +01:00
Stephane Wirtel 6a38a97f4d [FIX] Typo
bzr revid: stephane@tinyerp.com-20090119154403-g2t8dn49yxrpmw3h
2009-01-19 16:44:03 +01:00
Olivier Laurent b01f041047 pep8
bzr revid: olt@tinyerp.com-20090114091223-lbuvca2agsqehdbp
2009-01-14 10:12:23 +01:00
Olivier Laurent 9acb5b8ca4 Fixed a bug when 'dir' equals ''. Filename's first character was truncated.
bzr revid: olt@tinyerp.com-20090114081041-ft5vynfi58078vj6
2009-01-14 09:10:41 +01:00
P. Christeas b8d5eac277 Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3-py26
Conflicts:

	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090114075916-feh0125soh9euu1h
2009-01-14 09:59:16 +02:00
Olivier Laurent 892eeea5ae Fixed a potential IndexError if variable 'dir' equals ''
bzr revid: olt@tinyerp.com-20090114075902-tz5sbtlkcsrg56qc
2009-01-14 08:59:02 +01:00
Christophe Simonis 5fc9c91289 [FIX] migration scripts: works now with zip modules
bzr revid: christophe@tinyerp.com-20090109155438-ayp2m5nt4e6kcajp
2009-01-09 16:54:38 +01:00
Christophe Simonis 383c212c97 [FIX] fix (some) cStringIO problems
[IMP] remove debug code

bzr revid: christophe@tinyerp.com-20090109113525-5iq0uryv35ho4nwr
2009-01-09 12:35:25 +01:00
Christophe Simonis f8e9998c25 [FIX] do not check the module base before it is fully initialized
lp bug: https://launchpad.net/bugs/314986 fixed

bzr revid: christophe@tinyerp.com-20090108090200-cftkgm715r094woq
2009-01-08 10:02:00 +01:00
Christophe Simonis 6c360b6d59 [FIX] migrate_databases: convert exception before raising it to client
[IMP] the verification of the presence of the description and the validation 
	  of the quality certificate is done only at instanciation of the module

bzr revid: christophe@tinyerp.com-20090107155345-gb86zqkrulonb7sg
2009-01-07 16:53:45 +01:00
Christophe Simonis c56395453a [FIX] when a module can not be loaded, the pool is delete, allowing to recreate a new pool...
bzr revid: christophe@tinyerp.com-20090107145234-96rg0fq1jgwe9fcd
2009-01-07 15:52:34 +01:00
P. Christeas 7aa561987b Merge branch 'mdv-gpl3' into mdv-gpl3-py26
bzr revid: p_christ@hol.gr-20090106103203-mu7zxgyofhlmedpp
2009-01-06 12:32:03 +02:00
Stephane Wirtel c5923d87f2 [IMP] Use cStringIO
bzr revid: stephane@tinyerp.com-20090105210240-nkg2vm08dwhz2xtq
2009-01-05 22:02:40 +01:00
Stephane Wirtel 9d293d1f00 [IMP] Update the copyright to 2009
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2009-01-04 23:13:29 +01:00
Christophe Simonis aea0ab1d89 [FIX] close the opened file when loading a module
bzr revid: christophe@cobalt-20090102224412-ye7am97hdx8ib2yi
2009-01-02 23:44:12 +01:00
Fabien Pinckaers 0b14d89e15 bugfix
bzr revid: fp@tinyerp.com-20090102145726-bqaitcn1kmfutyoj
2009-01-02 15:57:26 +01:00
Christophe Simonis 577a2a1a11 [IMP] add a method to retrieve the update from the maintenance server
bzr revid: christophe@cobalt-20090102144325-cevctmg0cv9cvviq
2009-01-02 15:43:25 +01:00
P. Christeas d60e23965c Replace the deprecate Set class with set (py2.6).
bzr revid: p_christ@hol.gr-20090102100401-ocj5ulrp7cw4kbzg
2009-01-02 12:04:01 +02:00
Najlaâ EL KHAYAT 870fc3bab5 solve partially problem of menu items (migration)[cls]
module reference: add header in rml

bzr revid: nel@tinyerp.com-20081230130829-y35p0e90k39m6y12
2008-12-30 14:08:29 +01:00
Fabien Pinckaers 6fc6b033d1 bugfixes
bzr revid: fp@tinyerp.com-20081220080239-yg14hb7cjpi21rba
2008-12-20 09:02:39 +01:00
Fabien Pinckaers 33cbc4a44c improved
bzr revid: fp@tinyerp.com-20081216181535-uplb4qy6omlm1k33
2008-12-16 19:15:35 +01:00
Stephane Wirtel 0c3a25a431 [IMP] Log the error if it can load a module
bzr revid: stephane@tinyerp.com-20081216102323-acn5tmtfpopwc5ch
2008-12-16 11:23:23 +01:00
Christophe Simonis d9b561cd5b [FIX] update the module list when upgrading the modules.
bzr revid: christophe@cobalt-20081215134906-zvavnfbnb29e0053
2008-12-15 14:49:06 +01:00
Stephane Wirtel 8855ece8fd [IMP] Load the real modules
bzr revid: stephane@tinyerp.com-20081215122958-z9i0mdeydr7wuuh7
2008-12-15 13:29:58 +01:00
Stephane Wirtel 577e96bb53 [IMP] Remove the unused exception
bzr revid: stephane@tinyerp.com-20081215114541-zv3k4sumcxrlqeoc
2008-12-15 12:45:41 +01:00
Fabien Pinckaers 8cb88b6054 improvements_bugfixes
bzr revid: fp@tinyerp.com-20081214164647-hku6dlqkd65fe8ry
2008-12-14 17:46:47 +01:00
Christophe Simonis 5a38fc4899 [FIX] fix with detection of dependencies
lp bug: https://launchpad.net/bugs/307393 fixed

bzr revid: christophe@tinyerp.com-20081212141436-s3n6410mhuddm3ru
2008-12-12 15:14:36 +01:00
Christophe Simonis 71ed4e9e9c [FIX] handle correctly the '-i' command line switch
bzr revid: christophe@tinyerp.com-20081212105208-i5o9w28su9h9olzv
2008-12-12 11:52:08 +01:00
Christophe Simonis 458324a685 [FIX] handle the case when the addons has no version
bzr revid: christophe@tinyerp.com-20081211124724-6fj8g1er1iaet3ov
2008-12-11 13:47:24 +01:00
Christophe Simonis 765ef60221 [FIX] ir.module.module: Incorrect field names !!
* installed_version refer the latest version (the one on disk)
 * latest_version refer the installed version (the one in database)
 * published_version refer the version available on the repository

bzr revid: christophe@tinyerp.com-20081211114413-olfcmv4g650o350f
2008-12-11 12:44:13 +01:00
Christophe Simonis 3b41e1a843 [IMP] avoid false warnings by disabling the check of access rules when loading only 'base' module graph
bzr revid: christophe@tinyerp.com-20081210150632-7tji0vj1yc05o7h8
2008-12-10 16:06:32 +01:00
Christophe Simonis bbbdf4b8ca [IMP] remove dead code and add comment
bzr revid: christophe@tinyerp.com-20081210144357-d4v17cnsjycabexr
2008-12-10 15:43:57 +01:00
Christophe Simonis dd25d328f5 [MERGE]
bzr revid: christophe@tinyerp.com-20081210144113-6wdfu8mwpsojl4la
2008-12-10 15:41:13 +01:00
Najlaa 5a836ab275 [FIX] correct graph loading when updating database or installing new module from command line
lp bug: https://launchpad.net/bugs/304807 fixed

bzr revid: nel@silver-20081210141128-oaknnb0rzj68htio
2008-12-10 15:11:28 +01:00