slapos.core:1.4.3 commitshttps://lab.nexedi.com/nexedi/slapos.core/-/commits/1.4.32017-11-08T19:39:57+01:00https://lab.nexedi.com/nexedi/slapos.core/-/commit/3db1e1c8807eef948b5f42e96ea5684a14b139e7slapos.core: Release 1.4.32017-11-08T19:39:57+01:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/176f8380ff931670da1bbd4ca7a34f10aeee7c64slapos.cfg.example: remove invalid signature certificate for networkcache2017-11-07T17:10:00+01:00Julien Muchembledjm@nexedi.com
See also <a href="/nexedi/slapos/-/commit/04e5d4aa25ea9f3a4d69d6ae240ac747fcfe5819" data-original="nexedi/slapos@04e5d4aa25ea9f3a4d69d6ae240ac747fcfe5819" data-link="false" data-link-reference="false" data-project="15" data-commit="04e5d4aa25ea9f3a4d69d6ae240ac747fcfe5819" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="networkcache: remove invalid signature certificate" class="gfm gfm-commit has-tooltip">nexedi/slapos@04e5d4aa</a>.https://lab.nexedi.com/nexedi/slapos.core/-/commit/355790919507b9442bb56df3f35e3a61f2a2f05aslapos_web: Add scripts to get person's certificate and request computer from...2017-11-06T12:00:26+01:00Rafael Monneratrafael@nexedi.com
Those scripts are part of the new API, added upfront to keep backward compatibility.https://lab.nexedi.com/nexedi/slapos.core/-/commit/5b550fad2803a151a4ac75c0d0a5b7fb4c4eb075slapos.cli.configure_local: Get template locally instead do an http request.2017-11-06T12:00:26+01:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/9696329167669f5e3b45726e75faacaa6db2b3d5slapos.cli: Update API for get person certificates and register computer2017-11-06T12:00:26+01:00Rafael Monneratrafael@nexedi.com
The API uses code which is part of the new VIFIB 2.0 API, and
uses simpler scripts and JSON for the exchange of information.
This API may change again in futher future, but backward compatibility will be kept with the current implementaionhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/8e80a4aede03f162ebd513222319e1de91e603ffComputer [Partition] should acquire region/subordination/group from parent.2017-11-06T12:00:26+01:00Rafael Monneratrafael@nexedi.com
- Acquire subordination from parent Computer: Thanks to this Computer Partitions
can be in same category as Computers they are contained in.
- Computer should acquire region from parent.
- Add group acquisition on Computer Partition
Those changes overwrite the configuration from erp5_base, and to avoid fork erp5 code.https://lab.nexedi.com/nexedi/slapos.core/-/commit/626f0309088db315e57b023375abd05a5aa93e3cformat: fix some conflicts about tun interfaces when changing the number of p...2017-10-12T17:26:29+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/9a9d4b0aa7b6e7395490ee31af4d3211ad522e25slapos_accounting: Import predicate from the right location2017-10-11T19:07:15+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/6ca6a6ba700f7c0c04f9e8912cc949a049032f76slapos_jio: Use user id and adjust users.2017-10-11T18:02:57+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/c4d478fa0161aebac7f45a0ff96ca4341662dd64Reimplement SlapOSMachineAuthenticationPlugin and SlapOSShadowAuthenticationP...2017-10-09T18:33:40+02:00Rafael Monneratrafael@nexedi.com
The reimplementation make both complaint with ERP5LoginUserManager
Include custom ERP5Type_asSecurityGroupId (Required for Computer and Software Instance usage of user_id)
machine_login was renamed to external_login to be complaint with ERP5LoginUserManager
On SlapOSShadowAuthenticationPlugin, the enumerateUsers contains a huge copied code from
ERP5LoginUserManager, which could be be factoried in a sense in future.
Update related tests and code to:
- Add ERP5 Login in person, Computer and Software Instance
- Set user id while create or clone objects
- Update ROLES and logins (for tests) to use User ID instead reference.
- Login is defined by ERP5 Login and not by object reference.https://lab.nexedi.com/nexedi/slapos.core/-/commit/a4e218eea535dc49f5a8311561bc8a3a31514c06slapos_erp5: Don't set local roles if the Person isn't a real user.2017-10-09T18:33:40+02:00Rafael Monneratrafael@nexedi.com
Check if the user has a login subobject before set local roles on the user.
Reference is never None.https://lab.nexedi.com/nexedi/slapos.core/-/commit/def4fc254674929cb412c2dbb3183df7ff6bf112slapos_erp5: Remove ownership entry on roles2017-10-09T18:33:40+02:00Rafael Monneratrafael@nexedi.com
The ownership is not exported into business templates anymore.https://lab.nexedi.com/nexedi/slapos.core/-/commit/99ff64fb5dfe642ffc08c34f61128807aed08bd7slapos_erp5: [Security] Update security for Organisation and Projects2017-10-09T18:33:40+02:00Rafael Monneratrafael@nexedi.com
Organisation is going to be used as Site to identify the Location of a group of Computers.
User can add Organisations
User can add Projects
Owners are also Assignees on theirs Orgsanisations and Projectshttps://lab.nexedi.com/nexedi/slapos.core/-/commit/7b937c3f5ff79b73f99134d67d646106356a006dslapos_erp5: Change ownership modules on testSlapOSERP5GroupRoleSecurityChange2017-10-09T18:33:40+02:00Rafael Monneratrafael@nexedi.com
A common problem on this test is when you run in your instance the modules are owned by the user that setup the Instance while the tests expects to be owned by ERP5TestCaseUser.
This change update the ownership of the modules to be on the expected user used by the tests (which is mostly safe even in production).https://lab.nexedi.com/nexedi/slapos.core/-/commit/b2721927a0781d638b1288c386a9f3891b0b5562slapos node: allow configure different pid files for each command2017-10-06T19:43:09+02:00Jérome Perrinjerome@nexedi.com
We only had a global "pidfile" configuration, but it's more conveniant
to be able to configure different pidfile for each command (software,
instance, report)
The supported config file would look like:
```
[slapos]
pidfile_software = /path/to/pid
pidfile_instance = /path/to/pid
pidfile_report = /path/to/pid
```
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/29" data-original="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/29" data-link="false" data-link-reference="true" data-project="77" data-merge-request="1449" data-project-path="nexedi/slapos.core" data-iid="29" data-mr-title="slapos node: allow configure different pid files for each command" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/slapos.core!29</a>https://lab.nexedi.com/nexedi/slapos.core/-/commit/901e71a7526e4cd243c7a273e460c751e3f633a1Release 1.4.22017-10-02T10:37:58+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/c713396ff0050c3f21dff472cc10e4c6ab73e4b6Move Consumption report utils to a new class so it can be reused2017-09-26T10:33:15+02:00Hardik Junejahardik.juneja@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/ec632b51d77282cb8b36303e7ba3a61572c69ec5Add group by to the queries using select function in collect/db.py2017-09-26T10:33:15+02:00Hardik Junejahardik.juneja@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/9ed841e86f5ffe25b4cfc81204ebf2e88041234dRelease slapos.core 1.4.12017-09-25T13:47:59+02:00Alain Takoudjoualain.takoudjou@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/5197a9bedcb544a7458478e6694301c739abdf59fix getting option create_tun, fix test failing on cpuset_path2017-09-24T23:41:52+02:00Alain Takoudjoualain.takoudjou@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/a696c6b21304413de6f591bc76c2a28833f1b160[format] Introduce create_tun config option (default false)2017-09-24T23:41:52+02:00Tomas Peterkatomas.peterka@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/366edaf0e6c486f91656f5ea210b8728b7ee9e8aslapos_configurator/test: Update List of bt5 installed by the configurator2017-09-20T16:24:58+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/21c3fbb65a452ec028cd9f64d11f5c555c34534aslapos/test: Bootstrap test for register2017-09-20T16:24:05+02:00Rafael Monneratrafael@nexedi.com
Include a test for fetch configurationhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/618d167ccf869a005ed4fdbcd261aa7c9b7811b1cli/registry: get template directly and not reply on namespaces for this2017-09-20T16:24:05+02:00Rafael Monneratrafael_at_nexedi.com
Conflicts on namespace can easily break this feature, so pick the
template directly is safer.https://lab.nexedi.com/nexedi/slapos.core/-/commit/c185f7ab37623afacadf0d2b76739f8271c066f3slapos_jio: reindex skins is not handled by ERP5Site_reindexAll2017-09-20T16:22:58+02:00Rafael Monneratrafael@nexedi.com
The skins should be automatically indexed while install the bt5s.https://lab.nexedi.com/nexedi/slapos.core/-/commit/1c1dd3be5198ba7ac1694817270083aca26f6c84slapos_cloud: Fix test by removing modules from removed business templates.2017-09-20T16:22:58+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/677b59fe8fd7d066864b413c5b9c9f47a1179408tests/___init__py: Stop to test rest API2017-09-20T16:22:58+02:00Rafael Monneratrafael@nexedi.com
The new implementation with hateoas API is under development so there is no need
to expent time on fix those tests now.https://lab.nexedi.com/nexedi/slapos.core/-/commit/2cb7acc44eb794c48b24f92b5e38aaf25abb8ae7slapos_cloud: use getUserId instead getReference2017-09-20T16:22:58+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/0b5cdd6695818cc3cd9c5c2e3fa2a7ab416b0fa3pre-delete pluging: update to naming conventions, add more tests2017-09-19T16:55:51+02:00Alain Takoudjoualain.takoudjou@nexedi.com
This pluging can be used a add a script which wipe data before the partition is removed
The script run after all partition services are stopped. The script is ran by supervisord
then slapos node report will wait until it finish before destroy the partition.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/23" data-original="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/23" data-link="false" data-link-reference="true" data-project="77" data-merge-request="1374" data-project-path="nexedi/slapos.core" data-iid="23" data-mr-title="pre-delete pluging: update to naming conventions, add more tests" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/slapos.core!23</a>https://lab.nexedi.com/nexedi/slapos.core/-/commit/7e99dfc34d83185e9bd83dcd36769bf950a2ae0cadd pluging for run instance script at partition pre-destroy phase2017-09-14T10:57:37+02:00Alain Takoudjoualain.takoudjou@nexedi.com
This pluging can be used a add a script which wipe data before the partition is removed
The script run after all partition services are stopped. The script is ran by supervisord
then slapos node report will wait until it finish before destroy the partition.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/22" data-original="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/22" data-link="false" data-link-reference="true" data-project="77" data-merge-request="1372" data-project-path="nexedi/slapos.core" data-iid="22" data-mr-title="add pluging for run instance script at partition pre-destroy phase" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/slapos.core!22</a>https://lab.nexedi.com/nexedi/slapos.core/-/commit/8338ec423cee06bc4b9c066d2eafa3b7fa68a84aslapos_erp5: erp5_ui_test is not present anymore2017-08-15T01:33:21+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/ebc44dccf219cde8af049896b66d6a4d90e9cbcaslapos_jio: Merge slapos_hypermedia into slapos_jio2017-08-14T20:54:16+02:00Rafael Monneratrafael@nexedi.com
No need 2 bt5 with similar goal.https://lab.nexedi.com/nexedi/slapos.core/-/commit/f648fd6a638f83202f534d49730b30a2601fcf07slapos_jio: ERP5 Form portal type is provided by erp5_hal_json_style2017-08-14T20:54:16+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/f1f8297765460c227684b695886fb15b46b50fe8slapos_jio: Remove unused and useless code2017-08-14T20:54:16+02:00Rafael Monneratrafael@nexedi.com
This code is old code for JIO which were never used in the end, clean up for the next implementation.https://lab.nexedi.com/nexedi/slapos.core/-/commit/dcdb36d5cbce66964245db64cce1e0d17c973579Monitoring UI was moved into ERP5 code base and it is not part of OfficeJS.2017-08-14T12:02:18+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/65dfb326bb175ef5ba5e9fbafb309202aabd423dslapos_cloud: Partially revert the change2017-08-11T11:59:38+02:00Rafael Monneratrafael@nexedi.com
This change were commited by mistakehttps://lab.nexedi.com/nexedi/slapos.core/-/commit/44bd65b55bc2631e084e0f8ec4dc6d06fe938199slapos_erp5: Update Scenario Test2017-08-02T19:15:12+02:00Rafael Monneratrafael@nexedi.com
Get the person created by searching the ERP5 Login, because person has not reference defined.https://lab.nexedi.com/nexedi/slapos.core/-/commit/ab9f21e6ac67bfb7fe14a49eff9da6384ebd810dslapos_erp5: Update default scenario test for chances on security2017-08-02T16:58:40+00:00Rafael Monneratrafael@nexedi.com
- Use getUserId instead getReference for person login on self.login method
- Get the person created by searching the ERP5 Login, because person has not reference defined.https://lab.nexedi.com/nexedi/slapos.core/-/commit/e59cd81bfc175ba4967332b5f439f26958478de7slaposerrp5/../testSlapOSERP5GroupRoleSecurity: Use self.user_id instead hard...2017-08-02T12:34:14+02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/9157ad218573ee657e68e6290234f5d933964b4cslapos_web: testSlapOSWebSkins, use person.getUserId instead person.getReference2017-08-02T08:29:29+00:00Rafael Monneratrafael@nexedi.com