- 07 Nov, 2011 5 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 04 Nov, 2011 1 commit
-
-
Romain Courteaud authored
-
- 03 Nov, 2011 1 commit
-
-
Łukasz Nowak authored
Now it is possible to lock down computer to be available only to owner or selected friends. Squashed commit of the following: commit d46f5cd0d4eeb6ebe75481b6f555a5aca9eac511 Merge: 8477635 0737bcf0 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Nov 3 17:59:32 2011 +0100 Merge branch 'master' into ghostbusters Conflicts: master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py commit 84776355fb2c110f56a3e237fbde87966b916cec Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 17:33:48 2011 +0100 Usage report packing list also trigger this interaction script. Such delivery contains multiple lines commit cebc827c7f4a349c517f83734468597e605e003a Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 15:35:55 2011 +0100 Reindex partition when modifying the destruction deliveries commit 2213015d184006ec18470af9ae9a8b0084653478 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Nov 3 15:33:28 2011 +0100 Put slave related tests to different file. commit 2d2990b75ece15a8a87600459ee078ea99135e42 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 15:30:43 2011 +0100 Removing partition from their table is the way to prevent new instanciation commit e5d8540973a08d7fac565ee32f121ac7dc6d9a4a Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Nov 3 14:59:46 2011 +0100 Follow slap library changes. Additionaly logout from slap too. commit d902310cacae19e574e940fe4b74af33184874a7 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Nov 3 14:49:14 2011 +0100 Drop pdb. commit 885bdaa31ced4df2b92b7e5a610ac5a476bb6e3f Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 14:08:00 2011 +0100 Use portal_catalog to filter. commit 669de4bcabaa1ded07dffdf9581b83f72514d29d Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Nov 3 14:03:37 2011 +0100 Update local roles in end of transaction. There are a lot of modifications on Open Sale Order happening during one transaction, so in order to fetch real data from open order during update local roles do it as late as possible during transaction. commit d134011374e630837e84a4b7982c48b405202687 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 13:35:13 2011 +0100 Partition are destroyed by the Computer commit 6b78b0758e8e2410af73a821876fd6252d041176 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 11:58:06 2011 +0100 User is not allowed to access the partition document. commit ff7a324c4c00e2da84da4852dab37440a8f075e9 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Nov 3 11:55:31 2011 +0100 YAT-TA! commit 023f6a92a5dfaba0ded9b0c8f04134ffc94f0f6c Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Nov 3 11:34:39 2011 +0100 Restore back Slave Instance destroyed support. commit 4960b97da7f73be631c905f0852cfbe3c90c4fbd Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 11:28:12 2011 +0100 Software type is provided by the sequence commit 36e0c756fbe875e8a40989880581ab7a87609d4a Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 11:22:09 2011 +0100 Instance software type is defined by the sequence. commit 5e8c2db393761e4cd323415c04e2e07d23dbba50 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 11:15:01 2011 +0100 state parameter may be already provided by method parameters. commit 77be3f3608cd3f92ad76b5829dedd7aa39544945 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Nov 3 11:11:01 2011 +0100 Drop failure expectations. After Romain avoided groups growing for a Person, this test shall pass. commit d09f1d3173b96c24d57a37481a5f6e16a3346ed8 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 11:02:38 2011 +0100 Restore hack to allow the validation of the instance commit 2fe62055497be08b1b096a2bbc0e98222dc7f0a4 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 10:36:48 2011 +0100 Prevent explosion of person security group. A person who has 1 million of Hosting Subscription should have limited number of security group. commit 8d7b8f8417d1bbbbcf46f2a322b88fb22d0463b0 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Nov 3 10:08:54 2011 +0100 Update XML commit 969437b373090784e7350765251ec3a84b64a8eb Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 18:23:03 2011 +0100 Synchronise software type with rest of tests. commit e40d2b3a19de8fda8d400a338ac16fcde5f18f7a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 18:10:52 2011 +0100 Use consitent way of activity locking. commit 953c96a4224c997947e7fab743b8dbda55f716a8 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 16:40:32 2011 +0100 Trigger only once per transaction. commit d1ac5aa33b10657b47ed98369265fea64a461330 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 16:28:23 2011 +0100 Separate requested software type from reference. While requesting Slave Partition software type have to be the same. commit 765bdd2cee085494b48882b9894f901f3c42d904 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Nov 2 15:57:06 2011 +0100 Person is not reindexed yet when the open order is created. No way to use set'Category'Uid in this case. commit 2adf671815fec15152057eac200d280c0fd24b0b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 15:49:27 2011 +0100 Set reference too. It is used for example during login. commit 3664995bdf9ae14326bcf759cf9fcaf61452d276 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Nov 2 15:37:04 2011 +0100 Production manager can manage open sale order of customer. commit e30281597dd4b33ed93e97bbea12c4bef476b65b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 14:54:42 2011 +0100 Mark expected failure. commit 078b2f999b1d3bdc03ef92fd55f7d6e0ad432583 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 14:45:49 2011 +0100 Stabilise assertions. In some cases different amount of packing lists are expected. commit 27e48e872b566b6d04ec65640f0f2e0d35d5f8f0 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 14:42:53 2011 +0100 Only one slave is checked. commit 4ec1ec6abd717eee95f3d07220fe04510ce6032f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 14:38:45 2011 +0100 Returned delivery line can be for Slave Instance. commit 860c4ed22ffb9f791d0287188fb1bafd9de5fd1f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 14:25:35 2011 +0100 Assert after each action. Again: it allows to raise early with understandable message. commit b5e015e09ffa868c5c4fc843e52304e526818c3b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 13:58:30 2011 +0100 Allow to track Slave Instances. commit 50b782d464945b8e423937ed4c8039f063d7524c Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 13:56:17 2011 +0100 Show type. One then more portal type can be in module. commit fc02501438d0c68461cebbfdbdb56edf0a2b681e Author: Romain Courteaud <romain@nexedi.com> Date: Wed Nov 2 13:57:17 2011 +0100 Fix verification of instance's software_type commit 3c25275654be1b0d9662ecb4696ffc2ca77d53fd Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 13:07:11 2011 +0100 Force join in catalog queries. *_value is silently dropped while generating query. commit a4a20493b5a17469b46c99f73049c35f1bbb917c Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 13:01:36 2011 +0100 Force join. Passing _value just silently drops condition. commit 63ed13b4d4893cafd7c0c8c14554852b8ea8f6a6 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 12:07:33 2011 +0100 Edit in one shot. commit 76e7ff5902d01e65349460e57915b9c6df1bc17b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 12:00:06 2011 +0100 Check that what shall be done is done. Those methods are working on higher level, so catch early any issue, instead of failing late with bizzare messages. commit 6b850c84ee6c0d45c79186c9752c951e6bef8272 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 11:43:15 2011 +0100 Revert "Allocation scope has higher priority then friend list." This reverts commit fdf5c9267828828a404d58ae529c6d24f79a6616. Real bug shall be hunted and fixed instead. commit fdf5c9267828828a404d58ae529c6d24f79a6616 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 11:17:44 2011 +0100 Allocation scope has higher priority then friend list. open/public is public, whatever is configuration of trade condition. commit c0bce742a55b54bb0b4b333741326e0645ab2bae Author: Romain Courteaud <romain@nexedi.com> Date: Wed Nov 2 11:04:53 2011 +0100 Slave partition have to request the same software type. commit 735ff1f5691aafd8a1b2c8a03d1ea8c442a29313 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 10:10:30 2011 +0100 When closing computer no change is done to friend list. commit c55b84c97ca3a95c3891c694d15c27dccc260ae3 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 10:01:24 2011 +0100 Simplify allocation/scope impact updates. open/personal shall result in STC for self. open/public shall result in STC for noone. open/friend shall have self always. commit 0cac12ae1a6e8da407c7a1063d7b7f1296f7f0bd Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Nov 2 10:00:00 2011 +0100 Check destination_section category. It is more important than subject_list, as it impacts system behaviour. commit 8b46e60ff9b1bce6f4b9b121aa6951f4d29219a8 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 18:54:36 2011 +0100 Fix another stabilisation. commit 03c80efc378131a1c91a524975131d52b1c1b3b1 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 18:52:08 2011 +0100 Restabilise subject list checks. commit fa95a4aa0c31ea7ae6a31405376f3fdea50e178c Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 18:34:24 2011 +0100 Remove not used module. commit 121245368c17003cd4a981c8eca50f0232509401 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 18:34:10 2011 +0100 uid is needed too. commit e99a4b52aabb573a25f13e8182fd1d33cc9144fd Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 18:28:22 2011 +0100 Store software instance reference too. It is used to login. commit 4d691bac97a42c594873b3c3fc2f964b7cb06df0 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 31 18:19:54 2011 +0100 Bypass trade condition security to apply it. commit 2e1d7d7eae03dd79e956fd75b8ca0f463fe35d7a Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 31 18:19:17 2011 +0100 Use uid to discover the lastest deliveries. commit a1ec726f1ff6d20e42db72573c803d736c2a8cf0 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 17:26:50 2011 +0100 Implement friend based scenario. commit 0fdbeb26d5376d8b5c70bf8f490b362014620dac Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 17:06:50 2011 +0100 Follow changes in subject list configuration. commit 10cbaa6cd8bf30743e71fa056331968cb9ec10b1 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 17:04:13 2011 +0100 Manipulate subject_list in "intelligent" way. Non open/public computer shall have self in subject list. commit 2f44ac44cf9fef2a7fce22461033a47729b33b5a Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 16:57:49 2011 +0100 Except different presentation of emptiness. commit e57a74c2fdf176afded4baca70ad215a0f4ee996 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 16:37:26 2011 +0100 Adding anyone to friend list adds owner. commit c643564cb72eb320578997d545a2ad0c61f97d67 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 16:34:06 2011 +0100 In case of adding friends, add self to friend list. commit 6e6bb356c4c516fdcff6f1cfe20705159c351c2a Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 16:20:09 2011 +0100 Restrict search. This script can be run as super user, so no restriction will apply. commit 8c86cdf8cdb950f6d9269fe1246a4df11f46daa2 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 16:01:47 2011 +0100 Do the SQL join. destination_decision_value was just droppped. commit d67eb23b1a335b4030934441433d73f3a29f2f3f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 15:43:07 2011 +0100 Create open order while opening assignment. Open Order have to exists as soon as possible, as they are used in security configuration. commit 266a37a98e9c8e8be21f976a49636cf322fb9eaa Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 31 15:25:50 2011 +0100 Computer is public in most tests. commit 8b8a31d6fffeab565c68704c18849794edd57698 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 14:35:37 2011 +0100 Wait for Trade Condition, Supply Line and computer. Trade Condition state might be chanining, and it is used in catalog queries. Supply Line and Computer relation might be ongoing, and it is important from catalog point of view. commit a464172f5af751c3ef5bf3c8407df4777bd4f4c7 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 31 14:56:19 2011 +0100 Define the computer as public. commit 79e96382ff57bd5cb469e388a6068c7874ba348c Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 31 14:43:51 2011 +0100 Share steps with more tests commit ad12ae87ef8c6dcfa4d1f8fb050083ef11012883 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 13:58:19 2011 +0100 Stabilise assertions. Sometimes empty means empty list and sometimes list of empty string. commit 88bb5c78611a9ac04df4ff29856017e7f288df1b Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 13:34:34 2011 +0100 Request twice. It is related with async request on slap library level. commit 649d3789b3515307d022ed17a52742ffa05cf452 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 13:30:56 2011 +0100 No need to mark busy again. Code was refactored to do it before. commit 260958168f7898630d9d6788db527307677cb996 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 12:56:46 2011 +0100 Pass positional arguments to External Method. commit f01faa98a11b1d5f0231c90efe4518293b9fc05e Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 12:56:01 2011 +0100 Change signature. There are issues with External Method calls. Sometimes the first argument is context object of call, sometimes it is first one passed. Force using positional arguments then. commit 222dfe8e085e6871c25474a4acec5157768d1857 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 11:56:24 2011 +0100 No timeout in tests. commit 1c9c4f6e43530b1474b0e12899b3ed2e71898e3a Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 11:51:13 2011 +0100 Simplify. commit 68d18b61ca3970432f67ce201b98d9b384a43222 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 11:37:30 2011 +0100 Allow to access Open Sale Order for HS group. commit 465410652d5bc427ed411dcb7c6eb12347485978 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 11:06:10 2011 +0100 Use UnrestrictedMethod. It allows to do "atomic bomb security surgery" by defining exactly required security "escalation". commit 26531ae9925d3e66f26ea285b71b10ce7a15f8a5 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 10:33:59 2011 +0100 Find parent_uid in unrestricted environment. Computer is not accessible to Software Instance, but it is required to fetch correct computer partition. commit ef4248cbee79440feee43117846c87217cc8e884 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 10:28:15 2011 +0100 Fetch data as super user. According to configuration in this moment the data shall be available to Software Instance. commit 05ac40d223350d885f78a9476a721451e2b8b969 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 31 09:59:10 2011 +0100 Update local roles on Computer Partition too. It is required to give access to it for Software Instance user. commit 4ac88d055622aaf6eddd04818eb6afc4753255bd Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 31 09:42:19 2011 +0100 Give auditor role on busy partition. This will instance to find their IP. commit 5d92540ee8bac32d2a15e3256614fb37a1e0ab61 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 18:51:56 2011 +0200 Use acl_users instead of portal_membership. There were issues with getting roles in context with portal_membership. commit 245113bc09d4424057e694e5f6625cb104977523 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 17:11:49 2011 +0200 Shadow user need access to the computer module commit b89983125ad1ab16e8604db0f52917cefce1227f Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 17:07:07 2011 +0200 Fix assertion. commit d83fc1b0299ecbc181199b2da6a48774c7ebf019 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 16:59:08 2011 +0200 Update trade condition destination section after editing subject list commit f26ac9e91e16e787e134fc886f06064b056c2f31 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 16:45:33 2011 +0200 Set the subject list on the trade condition commit 6dafd7814c58aef2b6aad74fa51e03d8d5b87760 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 16:21:41 2011 +0200 Typo commit 56e28fcebf48c0659da8fc6d5b27a9c03ef40e36 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 16:19:40 2011 +0200 Wait for more activities commit fa4004ed1d791d48a85e7b780a6787bbf579d2ad Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 16:17:59 2011 +0200 Wait for more activities commit 5c18218ddc1afe9275d78e3d24baafe3f21042d0 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 16:07:07 2011 +0200 Typo commit 8cf19d6ae4f3ba434de0d82d24bcf553199eb398 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 15:51:33 2011 +0200 Rename method and simplify it. Shadow has no access to software instance, so all parameters have to be passed as strings. commit 9133112a66c7ee87ad8e0e785d8ce9002988cc7f Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 15:36:26 2011 +0200 Do not use the stock table to fetch the information commit af43b6f61fb10723fd442f82b61ee622f91b0d42 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 15:33:17 2011 +0200 Pass open_order as argument mapped to self. commit 9ec82d031dc90a1e71b997843a1cdd0f1e709850 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 15:30:26 2011 +0200 Call the method. commit 1e8748f172c1def13f6a006bcb7d83c43a028987 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 15:14:49 2011 +0200 Use shadow user to retrieve the partition commit f2e94f302a677d677e16fe0965592f945b67779b Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 15:13:45 2011 +0200 Return computer partition url. As Instance_findPartition is supposed to be called with the shadown user, prevent any unauthorized error later. commit 1109e55ac90393bbea612ed8bb232eedc8cf9306 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 15:05:33 2011 +0200 Shadow user should only be used to retrieve computer partition commit bb2d019ab336a327fb64740e1f96c86f53b9fbfc Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 14:52:02 2011 +0200 Trust the open order access restriction. commit a9c1260e383e83455a87a11f7e508b999b18a477 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 14:48:26 2011 +0200 Support software instance too. commit 51a9fe407ff2ef5e7604e295b515f7197e90134f Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 14:42:43 2011 +0200 Request partition as expected user commit e7b4a4ef6ebbedb8768e4cacb9b7c26223c3b8e1 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 14:19:00 2011 +0200 Call the right method on the expected object commit 34d8bce9646b887c835d4ab74f5f2f20071dcfba Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 14:13:47 2011 +0200 Typo commit 3110fd198ae754f5abacca7bd61cc77d76b4c0dc Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 14:09:18 2011 +0200 Simplify shadow user groups commit 69ffdc5b7dd083ea22d83488fa3ee5bc786cc6d7 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 14:03:34 2011 +0200 Simplify shadow user security group commit d22d8d14782ff370cc12b5f7bc97eeba6c25c943 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 13:52:08 2011 +0200 Return document instead of string commit 112b3f600ba453a33dbf3bb6970b3f6beac6a8c8 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 13:48:06 2011 +0200 Add more groups for Person and Software Instance. Each Person and Software Instance belong to role/open_order group and related Open Sale Order group. commit 3ec9d3c1ca79ba2f7c7540f0d90f9cc715eec327 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 13:46:18 2011 +0200 Add shadow role. commit 327586b2cb0223ae8f3c1e924fe7f95b5a6dbb87 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 13:08:39 2011 +0200 Typo commit 10c09cc29d9897b14580fd68e429a5cb656fc353 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 12:06:39 2011 +0200 Add role/open_order category. commit 63cbe8c9efc11fa8a875bb72736b77fd7cc9dbb5 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 12:05:17 2011 +0200 Give role/openorder to Open Sale Order users. commit 5833ae265a0d824f33544ba6cf884f7b2d130d7a Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 12:02:17 2011 +0200 Generate computer local roles based on related open sale order reference. commit 2dfdf0c5760faff5ee07e198fd528a584a2751e3 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 11:59:04 2011 +0200 Restrict the list of trade condition to update commit 6717f88ec88bfa828e1ab5c7f395ea8d0f6d571e Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 11:33:10 2011 +0200 Instance needs to access the sale trade condition module commit 9fe47b072b488055412b0c7f337f5031c2845e80 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 11:30:51 2011 +0200 Open Sale Order already has generated reference (configured on portal type) commit 175544e3e994bdaf04a4db7124c9172a4ded79f2 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 11:28:58 2011 +0200 Change Sale Trade Condition security. Give instance Auditor role for public sale trade condition. "Friends" security is based on the member's open sale order. commit 08982cbaac1f687c5eb3c0454421124a13883ee0 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 11:23:08 2011 +0200 Remove not needed commented out code. commit a62497f2381d71bcaa3a8d1ecb9a4e322865b9bd Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 11:17:45 2011 +0200 Do not catalog creation/modification date. In Vifib those dates are not used. There is issue with getting creation/modification date on big workflows, which leads to (1) high memory consumption and (2) not freeing memory later. Vifib workflows have ten thousands of entires (and they grow), so until proper solution if found it is better to avoid often calculation of those dates. commit dfc47913cfe682151fe48b17ccad25011c673dfc Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 11:14:50 2011 +0200 Do not use creation date. Sale Packing List Lines can be safely sorted by its start date. commit e18600a6bb479feb2254c29fbeb3a67019f7cf90 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 11:09:25 2011 +0200 Finalise switch method. Simplify passed arguments -- any callable with arguments can be passed. commit 335781cdf5e351af0ed0cc15798fa4986641a847 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 28 10:36:48 2011 +0200 Typo commit 07e77a6b50b01c9d1707e571d9c1bc81ed4bfada Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 10:33:04 2011 +0200 Fix copy&paste mistake. commit 4b4e52f9a5bfe28417027f20c1fd1332f1594e34 Author: Łukasz Nowak <luke@nexedi.com> Date: Fri Oct 28 10:10:48 2011 +0200 Disable failing functionality. commit 45be4c6debd598375c4573637b67b9dd5bab8a66 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 19:26:39 2011 +0200 WIP external method to run code as 'shadow' user commit 601dbcf27af93df7b1fc0c2efc7d2e0e4d36e7ca Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 19:24:26 2011 +0200 Forgotten modification in previous commit commit e6700aad6ae15947cbf3949e1548bd7795214f1b Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 19:23:32 2011 +0200 Initialize open sale order reference commit 6b5dc641dc8c69747abbd466b5794ce257508257 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 19:16:36 2011 +0200 Only catalog instanciated software release for busy partition commit 8e6286bec236472278eea19bf6218d13999d929c Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 19:06:49 2011 +0200 Software instance type is stored on source_reference commit e9f36426196c5e03619dd700bd5eae47cf880ef2 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 19:05:54 2011 +0200 Filter busy partition by software type commit ef49bb2aa01f1c7cb8f8541855f688ab4d9a0577 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 18:54:49 2011 +0200 Share the code by using Instance_findPartition commit e7ff5c843747c58748d6e1f760500eb328d8675e Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 18:51:25 2011 +0200 Prevent copy/paste by creating a new script to find a partition commit 4e71ade4a9ef5c401649c249c99639436bc9361a Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 18:15:35 2011 +0200 Activate shadow plugin in tests. commit 5e6bfd51e8432755512b3a5538f6a03c6b0ed0a5 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 18:12:19 2011 +0200 Initiate development of shadow plugin. Shadow users will allow to have a "bit different" groups then normal ones. They will be used in order to select normally not available objects (like computer). This plugin will disallow normal login (not extract credentials), as it shall be used only internally (similarly to sudo). commit 0376d8ad540cb4e9b5226735a2f05128b163fd93 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 17:45:02 2011 +0200 Implement test_start_computer_partition_allocation_scope_close. commit aa40a28011583a2860c16b1b8674f4c08c208614 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 17:26:28 2011 +0200 YATTA: Yet Another Test To check After close start behaviour. commit 32a740cfb9e000ada553c4ec1f2c968606547794 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 17:22:15 2011 +0200 Finalise skeletonising request. Only friend partition request case is left. commit 3afb0e4a3093c706d78e581e3364dd2c05925ba5 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 17:10:57 2011 +0200 Restrict workflow action usage commit 18d637876789a24154cd4bb10ca5476d0426da6f Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 17:07:17 2011 +0200 Skeletonise more tests for request. Also do additional check: proof that even if someone incorrect was not able to request instance, correct one (the friend, the owner) can do it. Thanks to this the test assuers (quite well...) that refusal of requestion was because of configuration and not artificial problem. commit 4b62f9e2d04844b2ee7881eed553500e66597969 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 17:06:12 2011 +0200 Cover open/friend with friend. commit d75b15bd453eeb128c5ee0e89839ec7618a0fc50 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 17:05:13 2011 +0200 Allow to login as test_vifib_customer_a commit 2d06c16c9d909ed50e87fd6c282f15a0b1919617 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 16:55:16 2011 +0200 Start covering cases of software instance request. commit 48b411bb511b1e8a3bd66ec4a5ed1c0fa028ac14 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 16:47:06 2011 +0200 YAT(ta). Yet another typo (ta). commit 33d72cddf8b6d04bfe27ad430ad28d8c482ab875 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 16:45:55 2011 +0200 Typo. commit ebb1051c1556996de683fd31189078e1787968fa Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 16:44:18 2011 +0200 Cover empty allocation scope. commit fc59fed9c51a8b007dae40c196d8e1cac8b641b5 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 16:42:46 2011 +0200 Cover case of allocation scope close. commit 96c01c7cb5061a3abfabea013148098a1c929407 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 16:38:04 2011 +0200 Test open/public allocation scope. commit a0a6fb15048a6b1e6256066b020eda667a5084bc Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 16:32:29 2011 +0200 Finish open/personal allocation scope test. commit 2349abad932e516790f94329a6fbf52668465c6c Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 16:07:08 2011 +0200 Validated in the end. It will allow to fetch data about the object. commit 0cb5494eecd794fe54365a6f4603e82bedcdfbee Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 15:55:03 2011 +0200 Initialize sale trade condition reference commit 6199dbfffcd3733e522453f25e332911fbbead84 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 15:39:26 2011 +0200 Request on known computer. commit 6a84303ca83288c0889b96c43e4ccc1d0f8d4546 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 15:39:07 2011 +0200 Support sla_xml for person. commit e78beca259b9245b14e40c2763b9610bf4d77ce3 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 15:34:27 2011 +0200 Copy/paste is an easier solution to get ride of typo... commit 90ff7420c52997f6ad1321b5c3c319be2d858388 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 15:28:21 2011 +0200 Typo in script name commit 45712d0d62f4177eae8b499819be93dab75accb4 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 15:25:09 2011 +0200 Revert "Update local roles in end of transaction." This reverts commit aff2708b66a9037d3f67d46951d28af6dc227872. commit 1f1a6f2c4955362c3493441df9682cf3f71f29fe Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 15:21:22 2011 +0200 Add more test steps. commit 22fe142f112208b1c0de78ef03d7629d2d0c5775 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 15:13:42 2011 +0200 Tic after publishing software release. commit aff2708b66a9037d3f67d46951d28af6dc227872 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 14:44:44 2011 +0200 Update local roles in end of transaction. During the whole transaction roles could have not expected result. commit 7f08884155a69d6fc7c8a71dd44283f8fb8450aa Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 15:16:27 2011 +0200 XML changes commit af224b4cfaf845b6d17b3d48aefce2cb1966a007 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 15:10:23 2011 +0200 Give Auditor role on computer depending on sale trade condition configuration. commit 374e08157bac0aed48add551310837dfa6041f59 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 14:32:13 2011 +0200 Initiate test implementation. commit c761161e430002b808cede00d1a5f5eeae01b406 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 14:11:53 2011 +0200 Send empty string in case of no list. commit 112b090b111f1405b13e47e7556a713f1bb088f5 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 13:55:57 2011 +0200 Sekeltonise allocation scope tests. commit 838c5dcd3660c452c8e7e49471cad35182a4ef27 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 14:30:53 2011 +0200 Supplier of the trade condition should be allowed to modify it. commit 729c9516415149716ddc8804b8035f0549bfde94 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 14:29:52 2011 +0200 Set default allocation scope on computer. By default, only its administrator can allocate service on it. commit 72f5c606e4be095199fdc33fd4c786c6c4ae7947 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 14:23:45 2011 +0200 Change sale trade condition roles based on their relation, in order to make them viewable to other members. commit d1d5cb4d23c1abd74cb0ea189d013b4f95277b6b Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 12:02:39 2011 +0200 Allow to edit the computer allocation scope and friends list. commit 797d1731582097c0501389e29afcc22bfb5030a0 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 11:16:18 2011 +0200 Only partitions belonging to computer which is open are free. commit 6b0f63df8dc4b594cad8de4c7c4cb73dc25bf9d9 Author: Łukasz Nowak <luke@nexedi.com> Date: Thu Oct 27 10:26:00 2011 +0200 Follow changes in slap library. First request is not returning the whole object, so second one have to be done. In some places redo a logic a bit in order to follow new way of slap library usage. commit 77bbd4dc553f3bead251a35dd029412e30c5919d Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 10:36:48 2011 +0200 The supply trade condition is created with the instance setup service. commit 90b31bf9458d1b522fa9995bc7e0d3336a4b7e1d Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 27 10:00:21 2011 +0200 Create a default sale trade condition to restrict computer usage to only its administrator by default commit 015230d8889d944fac0b4784e3b4ea40a76e8d7f Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 26 17:15:02 2011 +0200 Remove computer access on trade condition by default commit 9163efca54c0579ba284ddbf00d2be51eb8e4ccc Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 26 13:53:33 2011 +0200 Restrict access to computers.
-
- 27 Oct, 2011 1 commit
-
-
Łukasz Nowak authored
First request is not returning the whole object, so second one have to be done. In some places redo a logic a bit in order to follow new way of slap library usage.
-
- 26 Oct, 2011 1 commit
-
-
Cédric de Saint Martin authored
-
- 24 Oct, 2011 2 commits
-
-
Romain Courteaud authored
Allow sale division to create all kind of events. Allow sale division to create persons and organisations. Add a live test to check the use cases.
-
Romain Courteaud authored
-
- 18 Oct, 2011 5 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Hiding exception first time is good enough, other "connected" methods will raise supported exceptions.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 13 Oct, 2011 1 commit
-
-
Łukasz Nowak authored
When title, source_reference (so software type) or text_content (instance xml) are changed trigger the update. Do not trigger on anything else, especially on connection_xml.
-
- 12 Oct, 2011 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
It does not include the software type anymore.
-
- 11 Oct, 2011 3 commits
-
-
Romain Courteaud authored
This fix ComputerPartition.request software type modification
-
Romain Courteaud authored
This fix OpenOrder.request software type modification
-
Romain Courteaud authored
Reducing it allow to run tests more quickly and to get a better global overview
-
- 10 Oct, 2011 7 commits
-
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
Romain Courteaud authored
-
Romain Courteaud authored
The configuration will not be modified in comming weeks
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 07 Oct, 2011 4 commits
-
-
Romain Courteaud authored
url_string is not more the default email property. coordinate_text can also be used.
-
Romain Courteaud authored
-
Romain Courteaud authored
This reverts commit 3326057a. Conflicts: master/bt5/vifib_erp5/bt/revision
-
Romain Courteaud authored
Security configuration is now based on the role base categories. More permissions are given to all users (anyone can add software, computer and request instance). Add compatibility with the supply method of slap library. Squashed commit of the following: commit 6c27a4e65c02fd2d95818b23257b03baf097e98e Merge: b2250f3 37a6f91d Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 7 13:44:18 2011 +0200 Merge remote-tracking branch 'origin/master' into updated_category Conflicts: master/bt5/vifib_base/bt/revision master/bt5/vifib_erp5/bt/revision master/bt5/vifib_slap/bt/revision commit b2250f31704707d4f72e575a8fbfb15a2b86814e Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 7 10:47:05 2011 +0200 Validate computer before requesting installation commit 30fdfae93b62b306b9a4159a4ecf93bdf7017d90 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 17:59:46 2011 +0200 Correctly export test_vifib_customer_a local roles commit 95f2b8336a709a80e65b1b1eae941970b5f2ef1f Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 17:02:35 2011 +0200 Typo commit ad363ca61814a0937fd9a85c7f0fb614254bf5b1 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:51:13 2011 +0200 Import P-VIFIB-ERP5.Categories-008-en.ods commit ac3b73f9088ba7eff23f324a424943cdb2160e16 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:32:52 2011 +0200 Fix hr admin assignment commit bcbcd346ae3adfdcea250c59994be53b9fdb24bd Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:24:42 2011 +0200 Fix assignment function commit 4ea30ff4c267180ab95a95ebc0dc7f3387a56834 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:11:36 2011 +0200 Only allow computer agent to accept computer registration commit 88a78a85d22649cd90ae74e3d72cc26391c6e2d3 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:01:49 2011 +0200 Typo commit c0dae73e5c77acddb11101fc0bf56a8fb83c1965 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 17:15:38 2011 +0200 Fix currency local roles commit ff12d85af18664e556390145aa4101924f8c323b Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 17:08:16 2011 +0200 Restore view access on organisation commit f7aba6b8a456d0042b2c188e3fb3b7f2ed94db39 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 16:54:23 2011 +0200 Restore view access for Computer on Business Process commit 10c7c84151bb328074def9b262ff76984e1e4972 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 16:47:14 2011 +0200 Security should be based on role commit 77819c92ef8f450aaed2045e33131a27d5c42dd4 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 16:33:16 2011 +0200 Restore Sale Trade Condition access to Computer commit 17ddb1d0ad020222de7585abd66c0fa9ad5b1ba6 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 15:38:56 2011 +0200 Give back access to hosting subscription for Computer commit c8296c1ea1aeb21ba979b0f15c8c26faf3c8ec40 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 15:28:21 2011 +0200 Change default assignment created by credential commit be53092f5c3f581fcdaa944c20f2d83f6118c2ae Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 11:45:34 2011 +0200 Allow computer to access the hosting subscription module commit f2f2c1ca1dc54413e6c18f26d05b4950ab287849 Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 15:26:11 2011 +0200 Restore full read access on Computer. Security restriction will be done later, after categories are fully migrated commit 109b69d5fe1ea7350a19fbf7e4b4f3c87dbff43c Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 11:47:16 2011 +0200 No need to access the document itself commit 7afe9f326c0b706312373be1127d9f609d494aac Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:58:46 2011 +0200 Do not access document. It is not needed for the user to have access permission on those documents commit 6dcbf0ee168a8b96138598b1c95001b392b7a48e Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:53:38 2011 +0200 Define the service to setup a software commit 7789db052f79d68883485e42dae46bc4a0f2231f Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:49:50 2011 +0200 Typo commit 1600ca99d0a02631ddc93cb60fa025b84e8ea8f0 Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:46:37 2011 +0200 Allow to trigger request_software_release transition from draft state. commit c4567f3c96bbea45fe6c5e66863e086d58b3e2c7 Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:36:12 2011 +0200 Use Computer API to trigger software release installation commit 8956c4e109ddc9b9cb32b2d6b861443e4f861edb Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:30:02 2011 +0200 Implement supplySupply method in slaptool. This is used by the slap library to request a software release installation. commit 904ca429ec9f4285155c5f03d3a94ac0e85e3656 Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:29:06 2011 +0200 Use Computer API to request software installation commit 91a71ae7747326c46a8cff2734200179bbb1b5dd Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:24:49 2011 +0200 Allow to request software release installation from Computer document itself commit da932855e6cf52a67a96612b4d73df1307412a9d Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 16:48:49 2011 +0200 Fix vifib_internet configuration commit 4f3e5011981f9f982791e6521d99740a76e2bf4b Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 16:34:13 2011 +0200 Configure software release roles. commit c7d8aeca1c68901d8a2adb6245dfcacdac105706 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 16:18:09 2011 +0200 Fix wrong copy/paste from Software Product Module commit f52352fe4881e02bdaad8512ade0fd16a15c7137 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 16:12:37 2011 +0200 Allow SlapOS software publisher to create Software Product commit 508f8d599f990a4ed885d9c236730198b3795be1 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 15:36:26 2011 +0200 Give member role to all users commit 270b6c883e81b04df4aba283b64cdb2f2a3527d6 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 15:05:38 2011 +0200 Update test users assignment commit b35532463b7d9ed3e8800a5c86e2999ed008880a Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 11:07:33 2011 +0200 Security groups are now mostly generated from the role categories commit c039f7749e6d6c3db946ce8bf91ee09551896dfb Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 10:58:12 2011 +0200 Update document local roles commit a24a9865f252f07f01c8e13c760f7b5d7d6deae0 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 10:56:41 2011 +0200 Update document local_roles commit 9cdc44c5046dbac6922d94491cc5006f74be78db Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 10:32:41 2011 +0200 Configure categories codification commit 24c718fecb4e99204be61bf4a463609ffe3aae76 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Sep 30 18:22:07 2011 +0200 Rewrite the security configuration based on the new categories. Restrict access to some objects. commit fd79fc7b3793ccfd575f49fff00e70ad691b0db0 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Sep 30 15:24:10 2011 +0200 Import P-VIFIB-ERP5.Categories-005-en.ods commit 1229a18ec9406a4ee33bf6cd65bc82adf9c2da68 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Sep 29 15:31:20 2011 +0200 Remove unmaintained test. This test has been replaced by other working tests already commit e374df25dbfbb08ceda2e2b577edc9fe99d0ee10 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Sep 28 17:58:36 2011 +0200 Base categories have been commited in erp5_computer_immobilisation commit 9d20981f5701a3bcb6b6bdf143d5004abb96d9cf Author: Romain Courteaud <romain@nexedi.com> Date: Wed Sep 28 17:01:03 2011 +0200 Add new base categories, to be used on Computer commit 1a9393ea91f8d349a8ed7d4e4ce2a6649a5f988e Author: Romain Courteaud <romain@nexedi.com> Date: Wed Sep 28 16:42:08 2011 +0200 Import P-VIFIB-ERP5.Categories-004-en.ods This integrate computer classification and change all assignment categories.
-
- 05 Oct, 2011 1 commit
-
-
Łukasz Nowak authored
Some conditions were missing (WHY??).
-
- 04 Oct, 2011 5 commits
-
-
Yingjie Xu authored
-
Antoine Catton authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
It allows to bang all software instances related to one comptuer -- eg in case of issue on computer. Squashed commit of the following: commit 7197adeb6899639faa086e48ea67fa0f0f56b0a8 Merge: eb27743 d3bfe2ff Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 11:40:05 2011 +0200 Merge branch 'master' into bang Conflicts: master/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_bangSoftwareInstanceTree.xml master/bt5/vifib_base/bt/revision commit eb277438da78a60df0aa85c2b2db6af0939ce9de Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 11:26:19 2011 +0200 Cover a case when computer administrator uses Computer.bang commit 8816c49a48e9962f1ad8f6b98640106f2a0118d0 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 11:18:04 2011 +0200 Test Computer.bang. commit 6421b1c18d8c988631eb7361bd8262f5dad4a0b4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 11:08:45 2011 +0200 Bang all busy partitions on self bang. commit 772df7b015121daa90d1b013fcc9760eb8f4899f Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:54:20 2011 +0200 Add skeleton for Computer's bang transition. commit d38da3948fa471a3ae63c06542e13fbe993fdd8d Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:52:04 2011 +0200 Implement server side computerBang commit 16e20fd09d80140f0bb639140edd228621ba59e3 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:48:10 2011 +0200 Implement client-side Computer.bang commit 2002039a58e82ae6cbaaecea35523dae42e3cbad Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:41:28 2011 +0200 Rename to cover more cases. Computer.bang will be done in same test. commit 7abb808da143f7b6d7701378768e8bad2ed334a8 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:39:41 2011 +0200 Work in activities. It will allow to "serialize" errors per document, and so the whole bang would not be stopped because of one failing partition. commit afaaaf6e76de96b70b9b1d3625cbc408024c280e Merge: 6e3ed1e c2a1455e Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:18:58 2011 +0200 Merge branch 'master' into bang Conflicts: master/bt5/vifib_base/bt/revision master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py commit 6e3ed1ef90d4916b6d3bdfb29a97f78c950feb4b Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:11:06 2011 +0200 Check that message sent by bang is correctly stored. commit 0774d6f5ed21ae47f44d4d405095247532df45b3 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 09:59:41 2011 +0200 Prove that bang in any part of tree updates the whole tree. commit 2d9b44971d35ba33af6671c94d3ed1778d80beb4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 09:34:45 2011 +0200 Fix finding root. commit b3c42077c076a7edae8dc7824283fa45e973e717 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 18:14:23 2011 +0200 Initialise bang testing. commit 95d16bc41050a35325065c08927a24b9b1beda6e Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 16:35:30 2011 +0200 Implement bang on the whole software instance tree. commit 6f251837c8e6265209b06600f177267b8239f71f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 16:16:42 2011 +0200 Pick the newest buildout. commit df5ae80624b9788030c93e7cd01482f20926f443 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 15:56:37 2011 +0200 Implement server side softwareInstanceBang support. commit 8145f0bc1b5d7d92b234a4e5204924a9bf5f5089 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 15:54:17 2011 +0200 Implement ComputerPartition.bang commit 949488534c541d1c960b5e1a8f82de5067aaf706 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 14:47:49 2011 +0200 Cover person begin requesting. commit 09fb07bcae69e806c82953762cf95c7762f62973 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 14:26:23 2011 +0200 Prove that no update packing list is created when request is in progress. commit 93dfc1fc1015da6ee53cd2aa061e994994f6a8a5 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 11:29:03 2011 +0200 Rewrite test in order to follow logic. It raises before, but leave required checks. commit 328666079187437bf23d259abf7e2e132fefe5ae Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 11:04:16 2011 +0200 Prove that during destruction in progress no update is created. Again: such operation will result in update software instance. commit 5b7a0abe18e325d16eb228794eb8546c236bf49f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:58:02 2011 +0200 Prove that during start in progress no update is done. commit 420c66b7f3d9ff3bde7a483d3a72107fe591f754 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:54:25 2011 +0200 Do not interfere with start or destruction in progress. Those actions will result in instance update, no need to create any. commit e7e7c1a40cb57dafb4d0044d39ba6eae00716e81 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:32:54 2011 +0200 One another place to avoid update creation. Add notes about impossibly to fetch correct tag. commit 41bc0f1b92d5b836635b6c43ba98d9c5b6095d4d Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:28:46 2011 +0200 Another lock test to avoid update during request. commit 3c9d408c8ac6381e6a8706543dfa85857eef43bd Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 09:45:11 2011 +0200 Revert "Avoid resetting test CA." This reverts commit a3e246e8156d4b016723aaa13ddc116f0dad14e2. Conflicts: master/product/Vifib/tests/VifibMixin.py commit 70a6f27faf44bdeeeb6930516b4b45b53cedab96 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 09:41:00 2011 +0200 Revert "For safety make small gap." This reverts commit 925c10370d7cf002188500f704d3ae882ba7aeb1. commit 8a510bcfa1d24fe005e3383e7dec093e672e303d Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 17:23:47 2011 +0200 No, setup in delivered is NOT supported. commit 925c10370d7cf002188500f704d3ae882ba7aeb1 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 17:21:33 2011 +0200 For safety make small gap. commit 4efecddd41251928f8f0116dfd2dc8f804978b44 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:41:05 2011 +0200 Cover ignored cases. commit 58d502c49633468e8c8df66660cb870e5f06d1f1 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:32:47 2011 +0200 OpenSSL serials are in base 16. commit aec5e64ad158f5eec0c61bb2cfb22450b3841486 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:27:11 2011 +0200 Check started and special stopped state. Started is usual state. When instance was requested in stopped state, instace update shall support case of instance setup packing list. commit 8ab1ffe4f5beb8047523461dd4072f7db63a97f7 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:25:41 2011 +0200 Support case of request SI with stopped state. In such case there is only Instance Setup Packing List which if in stopped state allows to deliver inset update PPL. commit 43568cd2017cfbc4ed4676f075535394caf77352 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:47:42 2011 +0200 Proof that update works on stopped software instance. commit 8a855c01f1cdcfa70b819609ff423ed574ed949b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:25:40 2011 +0200 Typo. commit 30dc522284e5ff23681966c44b6d73c5eac5ed15 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:22:34 2011 +0200 It is better to reset test environment instead of CA. commit 85accd973f72e98cc33356644701fe910adbea0a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:07:36 2011 +0200 Define tests. commit 9621885fd1be692b7d5387c59f0f596257ec89e7 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:34:04 2011 +0200 Drop local_permission_vifib_interaction_workflow It is defined and configured in vifib_erp5. commit 6279404c4bd48c933c6a0e17e2e258affdc6d2b9 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:17:40 2011 +0200 Do not set slap_interaction_workflow in vifib_base. This workflow is available in vifib_slap, and those types are configured in former business template. commit 9bf84264777283f5c876d45d4b6b74a3fdc1ba3e Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:10:48 2011 +0200 Skeleton for update packing list tests. commit 8dfacef65bc5f4e7c940164a30f746db1e7b0534 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:08:32 2011 +0200 Avoid plurals. commit 784511374d47a89255b29d0fe69fa41e66d856e4 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:06:25 2011 +0200 Cleanup imports. It lowers pyflakes complaints and allows to have minimalist required test module. commit 8b7bc851d1724f40f2b843636d9f5a5f080ae15f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 13:55:32 2011 +0200 Separate bug related tests. commit d775aa6f6f95e40753c31235fe13f607312c613a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 13:50:12 2011 +0200 Keep "compatibility" If not update packing list was defined in active state fallback to previous "failing" behaviour. It is not defined what shall happen in cases when not correct (eg: stopped->stopped) is requested, and new functionality shall not impact it. commit ff88c3704cde5aa8da0fee65ddbe8105a0bbe64b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:39:57 2011 +0200 Process update packing list on started and stopped responses. commit 2a833c884e558860dbeef3989adae95edbe6ff29 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:39:09 2011 +0200 Provide update packing list delivery script. If there update packing list was found and it was in correct state, this scripts returns True, to indicate that update packing list was managed. commit 4b9923f10730ad95816f70fff20c96531ef0d741 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:38:35 2011 +0200 Allow to pass own state_list. commit e34819d6d4892248cf4ca550e1d5fb710a1fe14f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:37:36 2011 +0200 Support update packing list. It impacts presence of partition on list. commit b95b568c7a90f71566bbf072058b2a623d736abf Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:25:26 2011 +0200 Support update resource. commit aecca5f228f7607c7037d28c14ac852885c352f5 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:43:26 2011 +0200 Destroy is "unsupported" too. commit 96fc577fff652a0311d1d1c4bc7def491fd8dd7e Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:42:25 2011 +0200 Create update packing list. Create only when Instance Hosting or Setup are in correct states. commit 2a95ee39a9d81ba7a2ade496556844e867d634d3 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:42:13 2011 +0200 Support None tag. commit e56bc4390a084d1d3162c1c0c2c3c8b75b012e6d Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:44:56 2011 +0200 Call proper script. commit a3e246e8156d4b016723aaa13ddc116f0dad14e2 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:20:45 2011 +0200 Avoid resetting test CA. It allows to live coexist test instance and development site on same instance. commit dacd5ab8a2e1d77ef88051e8e6d9aa82d1e0342c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:17:19 2011 +0200 Make it pass consistency check. commit 83f08e4ff8c3a1c066df8a2e0aca027abe7916b2 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:10:55 2011 +0200 Add vifib_instance_update to data. commit 2a5ef6f082a9ff2c2d05208a67419fab7bfdbd69 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:06:56 2011 +0200 Add preferred_instance_update_resource_property with UI. commit 420eaddf73f8ca41cc2089325372d14d870a533c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:57:46 2011 +0200 Export from ERP5. Seems like file was edited locally. commit fd4377bca8a79ff25908c19b8b929396a49b8a13 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:57:20 2011 +0200 Add missing BT5 metadata. commit ce7d695587c81aa53a9f5c5680233b34183c22bb Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:49:56 2011 +0200 Partially revert mistake in 324c9104 Person document class was removed. commit 206ec5c30e59ecfb62ea58eee9f6f4c35dc24aa4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:46:38 2011 +0200 Add request_update_computer_partition. Also remove update_slave_partition_list, which seems like wrongly commited BT5.
-
Łukasz Nowak authored
-