Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/QubesOS/qubes-core-admin

Qubes component: core-admin
https://github.com/QubesOS/qubes-core-admin

add mock libvirtaio module + pylint fixes

3bc4ec1e98760da2c8026da3eac1f5eafe23e4a1 authored almost 8 years ago
qubes: revert async def, use @asyncio.coroutine

Current pylint (any released version) stumbles on async def'ined
functions. Let's use @asyncio.c...

64d358562bd318bae38418535b250cc67dd45c28 authored almost 8 years ago
qubes/vm/qubesvm: rework QubesVM.run*() methods

0) All those methods are now awaitable rather than synchronous.

1) The base method is run_servi...

78693c265c829b7555b156e44af09b8aaa5541b7 authored almost 8 years ago
travis: bump dom0 to fedora-25

80a06b0d8de333af61cd96a12f4e891e42e016da authored almost 8 years ago
qubes/mgmt: add missing events for permission for lifecycle

Thanks @marmarek for spotting this.

QubesOS/qubes-issues#2622

a520e8d768b23d94b5d0758b14570d62e3f7dde8 authored almost 8 years ago
travis: bump python to 3.5

QubesOS/qubes-issues#2622

45d5a1e049c388b1aa5f2281ae90642f282a9996 authored almost 8 years ago
qubes/mgmt: explicit method decorator and misc improvements

- Get rid of @not_in_api, exchange for explicit @api() decorator.
- Old @no_payload decorator be...

c4ef02c3774f92226d2bfe340b5fd8e0f28b0fc3 authored almost 8 years ago
qubes/mgmt: lifecycle and class listing

- mgmt.vmclass.List
- mgmt.vm.Start
- mgmt.vm.Shutdown
- mgmt.vm.Pause
- mgmt.vm.Unpause
- mgmt....

c437f40284198439a3fa260106e8c57529240dad authored almost 8 years ago
qubes-hcl-report: drop 'TEST VERSION' tag

2ec65e595632c8a8ed8ef382b8181279b760374d authored almost 8 years ago
Merge remote-tracking branch 'marmarek/core3-mgmt-methods1' into core3-devel

Conflicts:
qubes/mgmt.py

1b9479837a473b19927d32fa5d71dcd20f650032 authored almost 8 years ago
mgmt: move property value sanitization to property definition

This also means we don't check if a VM with given name (in case of
VMProperty) exists in the sys...

3388054eae008891c961bd9b01964a02af778329 authored almost 8 years ago
spec: update and tidy up python dependencies

QubesOS/qubes-issues#2622

8defc883a4ce69796417a924eb777ce50a121957 authored almost 8 years ago
qubes/vm/qubesvm: async def start

QubesOS/qubes-issues#2622

cce809c2cbae00e55e20862e41f1ef85432ebf89 authored almost 8 years ago
vm: move validate_name to qubes/vm

This will be needed by VMProperty class in the next commit.

QubesOS/qubes-issues#2622

ce3bedbf2c9c8194cb4305ae4f5ccb607e3f9615 authored almost 8 years ago
mgmt: minor adjustments

per @woju review

QubesOS/qubes-issues#2622

ad456a338710fc291a69b5c6c17efa76b44ac8ac authored almost 8 years ago
Move libviraio to core-libvirt, may be upstreamed

QubesOS/qubes-issues#2622

8e3621c4e5cc2cd0dca8f4328ae0cb279a8a353a authored almost 8 years ago
Added dom0 check to qvm-prefs

Added a check to qvm-prefs to see if the specified VM is dom0 and,
if so, error out with a messa...

7896dc540467d731758eb130299b520d2b67914d authored almost 8 years ago
mgmt: allow functions to return None if no data is to be returned

Don't force `return ''` everywhere.

QubesOS/qubes-issues#2622

2c115bb64890eb9e57ffbc0af16a32e141939d5b authored almost 8 years ago
tests: use python3 by default

QubesOS/qubes-issues#2074

6924ec3b85b735bbb86bc2513144d3439dfbeb8b authored almost 8 years ago
tests: plug coverage into run-tests

It makes easier to check what functions lack unit tests.

b225cefdf84b98e070269967cd82721a47c6620e authored almost 8 years ago
mgmt: drop ProtocolRepr

Since we've added type= argument to property.Get format, it isn't
useful anymore.

QubesOS/qubes...

f93674de1acca91741fb833d33a6b3a1bcd65d2e authored almost 8 years ago
mgmt: add decorator for method calls not accepting payload

Fixes QubesOS/qubes-issues#2687

d21f54887df88857063157acccd7d1ee9b8c8b72 authored almost 8 years ago
tests: storage and labels

QubesOS/qubes-issues#2622

8371ffcd0f943d49157b353628179d95ca8a41fa authored almost 8 years ago
tests/mgmt: check if argument/payload is rejected when should be

Instead of creating such tests for each method separately, use unittest
subTest functionality to...

beaa0e93480b3a2551a7ca31f95f05b39d57e14d authored almost 8 years ago
tests: add missing import

2a223811a56831e9e96548d1973d2618db29604e authored almost 8 years ago
tests: deal with events containing dict in kwargs

If kwargs contains dict as one of values, it isn't hashable and can't be
used as value in frozen...

f1c8f3220d7b8ab090cf66b2ed10aeaac0397a5f authored almost 8 years ago
qubes/vm/net: fix name of argument for property-del event handler

Since enforcing keyword arguments for event handlers, it's important now.

35d11678935b49ede7e2a5e8268583bcc0723b17 authored almost 8 years ago
tests/mgmt: VM property related functions

944bb2636961fbf7e9b5c7f63e344f975922feb3 authored almost 8 years ago
Prefer qubes.exc.QubesValueError over ValueError

This provide clearer information for UI.

2c4303efc4f48a98af5d957e72b89d954565b8b8 authored almost 8 years ago
qubes/app: fix notifying about default_netvm change

Notify every VM that is affected, not only those providing network
itself.

32f6bc2cd99ba3265ae969a65bce6298d325e4cb authored almost 8 years ago
mgmt: save qubes.xml after config-modifying calls

In theory any call could modify config (through events), but lets keep
writes to qubes.xml low. ...

33f3fedca1a94da28fc7a3fb189fd4186b0c08d2 authored almost 8 years ago
mgmt: add label-related calls

QubesOS/qubes-issues#2622

010d40dc1e729caf6910ae03d434c58fb969f66e authored almost 8 years ago
vm/qubesvm: add validator for default_user property

Don't allow characters potentially interfering with qrexec. To be on the
safe side, allow only a...

da51e6f032f06a13e2c91ed87d0081478aff0ba0 authored almost 8 years ago
mgmt: implement mgmt.vm.property.Set

Sanitization of input value is tricky here, and also very important at
the same time. If propert...

868dbeac3eae72150e1856c403fe6e2ababbacc6 authored almost 8 years ago
vm/qubesvm: remove pool_name property

It isn't used anywhere - in core3 each storage volume have pool assigned
- which may be differen...

0f8fab088e66802b53bdfa61448086e83c3901cb authored almost 8 years ago
vm/qubesvm: convert firewall_conf into dumb, read-only property

Don't allow anything else than firewall.xml.

2d2672ec583c749047a30d3e024304bcfdae1d4a authored almost 8 years ago
vm/qubesvm: improve name property setter

Split it into two functions: validate_name - context-less verification,
and actual _setter_name ...

a036e2a8a065e253cf5f5f2ee067a08956ee2dfb authored almost 8 years ago
mgmt: encode property type in property.Get

This also require having property.type public.

QubesOS/qubes-issues#2622

dbf2066dfdfb52780c9b180c082a9d65e34a48f8 authored almost 8 years ago
vm/qubesvm: forbid '/' in kernel property

It would give VM access to some files outside of
/var/lib/qubes/vm-kernels.

123feced36596f858ce5936a5050a386692b756b authored almost 8 years ago
vm/qubesvm: fix few more keyword arguments for events

3b36e92b6d36d5dc470a68ebb9c727ec36da4b9b authored almost 8 years ago
mgmt: allow vm.List call to a particular VM

This allow getting info about a single VM.

QubesOS/qubes-issues#853

10a07c8726d1dc465581e15cab1438c85704395c authored almost 8 years ago
mgmt: implement storage-related methods

QubesOS/qubes-issues#2622

fb7bd6823a434c81fe7f9913db05124dfba770b7 authored almost 8 years ago
Initialize dom0 label

It is required property. Additionally, define icon_path to None,
otherwise it tries to access do...

c41585e2f59a20076689c2851305d3293bdd1db6 authored almost 8 years ago
vm/qubesvm: define 'updateable' as qubes.property

This will allow property being accessed through management API

772293d0b53d78318338c1966e9116c31630aa8e authored almost 8 years ago
tools/qubesd: do not close connection before sending response

eof_received callback should return True, if connection should not be
automatically closed just ...

f7eabf8eb05cfcd4a4d7c5cd2c02e129482963cd authored almost 8 years ago
qubes/libvirtaio: document and prepare for upstream

QubesOS/qubes-issues#2622

80807fb8727d8b7ea50fabd17989f029968efe3a authored almost 8 years ago
qvm-shutdown: Do not mutate list while iterating through it

This commit makes sure that the Python list vms_list is not mutated
while the code is iterating ...

6bcc97b859dc6edbe61033075c0842733f7d85c0 authored almost 8 years ago
qubes-core.service: Do not shut down/reboot before all VMs have shut down

Prior to this commit, the qubes-core.service inherited systemd's default
timeout value of 90 sec...

5e2bd5ea64e4abc77c6c0fc65f2388619d17acc1 authored almost 8 years ago
qvm-shutdown: Allow multiple VMs to be shut down with one invocation

Prior to this commit, qvm-shutdown had a limitation where only one
VM name could be passed in vi...

e499e6e88cbb2513ef64d5f834cee2b7c9a4c8e3 authored almost 8 years ago
qvm-shutdown: Add missing documentation for multi-VM support

1d9d59a3351b59c043fb950cb07ea4aa946b1808 authored almost 8 years ago
qubes-tools,qvm-tools: Remove dates from man pages

As discussed/agreed, this commit removes the dates from the manual pages
belonging to the qubes-...

5c5f331a6e8c3c975a08069f01c0d59dd47d1a4d authored almost 8 years ago
Fix qvm-trim-template block attach handling

qvm-trim-template manually assemble device dict, fix it to include
also 'desc' field, as it is n...

9d1fea4c7f1c422d59b5a3e83d535c07de0b6b66 authored almost 8 years ago
qubes/mgmt: Drop custom repr

QubesOS/qubes-issues#2622

a5c59a50756de239b8db6c78d0451fb8d5ed799d authored almost 8 years ago
Add documentation for mgmt

QubesOS/qubes-issues#2622

93153da893e851567a1e50d93e7fe27431502f6f authored almost 8 years ago
qubes/vm/mix/net: fix event arguments

Arguments to events are now keyword-only and require exact names.

417cb6e9121bd858d1fc43c32c3eac4b3be15713 authored almost 8 years ago
Merge remote-tracking branch 'origin/pull/90/head' into core3-devel

4a247b1b1bece13b95152179b3925655bd878de4 authored almost 8 years ago
ci/pylintrc: disable deprecated-method

Pylint deprecated-method report interferes with asyncio.ensure_future
compatibility monkeypatch....

c228bc934ef6acfc6122d994f5f97b70a808a97f authored almost 8 years ago
qubes/storage: py3k related fixes

f7d73893d78b1dfeff7e784fc2cfdf04579180c5 authored almost 8 years ago
pylint: do not interpret asyncio.ensure_future compat hack

c2a0d34ade6de59d2ef571fe89ecfe2c12479849 authored almost 8 years ago
qubesd+mgmt: convert mgmt functions to coroutines

QubesOS/qubes-issues#2622

865ab10a0cc097f06a959d952d954903c31904c3 authored almost 8 years ago
qubes: allow 'property' object comparing with str

This will allow checking if a given name is valid property name, using
simple `name in vm.proper...

3e0f22593805ccc3321073f1507c04a1d2af16eb authored almost 8 years ago
qubesd: fix response message header

Type is not 16 bit big-endian. Encode it as 8bit code and \x00 as
delimiter explicitly.

QubesOS...

216907580736b749d28d6f9950d89700191cef54 authored almost 8 years ago
qubes/mgmt: encode VM name without quotes

That's how it is in the specification.

QubesOS/qubes-issues#853

6ab7032b11bbdb0a8ed29c940d1775865a094b9b authored almost 8 years ago
qubesd: make qubesd socket qubes-group owned

QubesOS/qubes-issues#853

f4616fc36649ec351f9d4221f224e1732a333718 authored almost 8 years ago
qubes/mgmt: use keyword arguments in events

QubesOS/qubes-issues#853

c4549735963c023e8bf60a6dda5d71d92d8cc4b9 authored almost 8 years ago
backup: make hmac verification more defensive

Check HMAC file size, read it as binary or with 'ascii' encoding only.

751415434c6409ed284743c3ceeadf189c28ea9f authored almost 8 years ago
tests: be even more defensive on cleaning up VMs

Don't fail even if qubes-test.xml do not load at all because of syntax
error - for example empty...

a6c7da606127a3759aa9edbf669117846b43b37f authored almost 8 years ago
fix misplaced comment

c5a8135fdbc2a1039e9858970b3eaeb8f5ca12ce authored almost 8 years ago
backup: minor fixes after bringing back scrypt support

45709b510aa72d40b9da8f63c1d9f51b60763f68 authored almost 8 years ago
tests: some more fixes for core3 API

13fc8103630a6150502d588992db7bc2226f0c8c authored almost 8 years ago
tests: improve devices API unit test

Check fired events - inspired by qvm-device test.

3ecc0a9bcbe11ef042f292317f062427ffce5b22 authored almost 8 years ago
Revert "Revert "backup: use 'scrypt' tool for backup encryption and integrity protection""

This reverts commit 0f1672dc6393e61649d096debc1405d22ed6fc65.

Bring it back. Lets not revert th...

1363251438718a3c11f3a2f2470ae3e7efc3f05b authored almost 8 years ago
tests: fix importing template in non-default pool

7f2ca33774a55361ae69b0b5d696ebeb3a92c58f authored almost 8 years ago
python: decode xrandr output earlier, don't use regexp on bytes

3726c7d9c39be6455eff6d681a810ed929f4e4d5 authored almost 8 years ago
qubes: unify property ordering

We already have property ordering defined in property_list(), lets move
it to proper place: prop...

5e43d26abd676c2dcff774e73e479cf9388de56c authored almost 8 years ago
qmemman: update for py3k

This just make the code compatible with py3k, but nothing more.
Converting to asyncio is probabl...

33416f2549dd10057cbcec25a3b558d94a1a29ba authored almost 8 years ago
tests: more py3k related fixes

9ace4e66f1efe883999698f6caa7beef8022dcf7 authored almost 8 years ago
tests/storage: read-only volume should not have save_on_stop=True

3f29345d3262e3a7f0ce5f9a51ef99c833b81ab6 authored almost 8 years ago
backup: one more py3k related fix

2c3e11295188bd269300899592290d768a6d188d authored almost 8 years ago
tests: just one more test in vm_qrexec_gui to core3 API

cae68f64ca7f857099c6423c7476cc24473bd0c3 authored almost 8 years ago
qubes: allow passing name of class to app.add_new_vm

This will allow more flexible API usage, especially when using mgmt API
- we need to use VM type...

e52d8fb0518c6905268b284fd3bfe03f02d7f038 authored almost 8 years ago
qubes/core2migration: update locking API

Sync with 0141e1a "qubes/app: Allow keeping lock after load"

5ee05e06e50f9fff4688882a57917b3d7a141f65 authored almost 8 years ago
qubes: py3k related fixes

570cbe5225580c1004deff6b19c49bb7457489e8 authored almost 8 years ago
qubes/backup: py3k related fixes

- str/bytes usage
- functools.reduce
- dict.items instead of dict.iteritems etc

9c5c70fe256abe8af17c4ffb15f6918106117844 authored almost 8 years ago
qubes: add property ordering

d68499f17f161d60d4ba0873e5c2d3f21db7ce54 authored almost 8 years ago
tests: py3k related fixes - bytes/str

Adjust usage of bytes vs str type.

9cad353939ca3fe365a10ddc6b88e0beb58605b2 authored almost 8 years ago
typos in comments

f2a1687879985ffa16b93598a6a7f3922d0f0e18 authored almost 8 years ago
qubes/tools/qubesd: add response header

QubesOS/qubes-issues#2622

48f10a79c94918ec62e8969c91ad4634be1a55db authored almost 8 years ago
qubes/events: they accept only keyword arguments

Positional arguments are hereby deprecated, with immediate effect.

QubesOS/qubes-issues#2622

be53db4db9250ee6d3cbf057ce0ac3a1d2eb77f1 authored almost 8 years ago
Merge remote-tracking branch 'origin/pull/88/head' into core3-devel

25d81b8ab66e8731f49ae4d7ad09082b132da17d authored about 8 years ago
tools/qvm-features: fix handling empty list of features

0c433291882308c6238f8f8ab5072267c96652b5 authored about 8 years ago
tools/qvm-features: make pylint happy

reduce number of return statements.

e50b17a6b35f9ceccffec6166537f9853443a069 authored about 8 years ago
tests: add basic test for qvm-features

c3fc4062d8293053932271998ca10e0b4845e6e4 authored about 8 years ago
qubes/ext/gui: adjust shm.id path

It's moved to /var/run/qubes and now is built based on $DISPLAY.

a317e81d7e5b26b2dd9c26829b1e0b0f13cd75f5 authored about 8 years ago
Fix libvirt xml template for HVM domains

QubesOS/qubes-issues#2185

1c20aae98aff7e86fc40cb39f98cf3e8e9bf5ceb authored about 8 years ago
tests: copy pool configuration into qubes-test.xml

If template choosen for the tests is installed in non-default storage
pool, this pool also needs...

bd9300b38e216486c0b96012cef7045b6ad60f32 authored about 8 years ago
tools/qvm-features: fix domain argument handling

It's args.domains[0], not args.vm.

98edc9779c39995763ebb76ab66d0a6e5c89e5b5 authored about 8 years ago
storage: implement two-layers of dm-snapshot in block-snapshot script

Have dm-snapshot of dm-snapshot. The first layer is to "cache" changes
done by base volume holde...

b89689e27847dd6de2c917788bd37bc10a58185c authored about 8 years ago
qubes/vm: make sure to close qmemman socket after failed startup

If qmemman socket isn't closed, it will block other VM startups.

bcab92ee64c9024b265d863909f484f566b6fe8f authored about 8 years ago
tests: check if snap_on_start=True volumes are not persistent

Content should be reset back to base volume at each VM startup.
Disposable VMs depend on this be...

48f78dfbc8c6ecacc7413a18d12385bb08328b43 authored about 8 years ago