518 Commits

Author SHA1 Message Date
Alexander Larsson
645c433960 Fix distcheck issues 0.4.0 2015-09-17 20:24:04 +02:00
Alexander Larsson
eec8798f5e document portal: Add support for transient documents
These are useful for passing temporary files.
2015-09-17 20:09:50 +02:00
Alexander Larsson
7fccaf1e57 Updated NEWS for release 2015-09-17 19:22:46 +02:00
Alexander Larsson
8f445ee883 bump version to 0.4.0 2015-09-17 19:09:13 +02:00
Alexander Larsson
df79d571a5 bash completion: Update to match the lastest options 2015-09-17 17:45:13 +02:00
Alexander Larsson
e9f1054e9c Update docs for new/changes interface 2015-09-17 16:22:52 +02:00
Alexander Larsson
4eeea231e8 Rename repo-contents to ls-remote
This matches the other command names
2015-09-17 15:55:10 +02:00
Alexander Larsson
1ce71f4f60 list-remotes: Use --show-details instead of --details
This makes it consisten with e.g. repo-contents
2015-09-17 15:42:42 +02:00
Alexander Larsson
16d2fb5672 docs: Update remote related docs 2015-09-17 15:41:17 +02:00
Alexander Larsson
d42bef8f3f list-remotes: Separate columns with tab
Since the title column can often have spaces in it.
2015-09-17 15:39:28 +02:00
Alexander Larsson
0e08979493 add/modify-remote: Support importing trusted gpg keys 2015-09-17 15:27:49 +02:00
Alexander Larsson
f866097c94 Add XdgAppChainInputStream based on ostree version
This should really be in some library, but lets just copy it for now.
2015-09-17 15:27:04 +02:00
Alexander Larsson
eb06ade783 Fix unused label warning 2015-09-17 14:55:50 +02:00
Alexander Larsson
4816f95f1e list-remotes: Add more details to remotes list 2015-09-17 12:18:22 +02:00
Alexander Larsson
7bf535ad25 add modify-remote command 2015-09-17 11:37:29 +02:00
Alexander Larsson
7c788adb20 lib: Handle libsoup now having built-in autocleanup support 2015-09-17 10:56:14 +02:00
Alexander Larsson
7ef861cedf Add new override builtin to override app permissions 2015-09-11 16:07:31 +02:00
Alexander Larsson
c87e7e4e4f create dirs with 755, not 777 2015-09-11 15:30:39 +02:00
Alexander Larsson
9d1cfd7688 run: Support system overrides as well as per-user 2015-09-11 13:01:39 +02:00
Alexander Larsson
c702fa2555 XdgAppContext: Always initialize bitfields 2015-09-11 13:01:06 +02:00
Alexander Larsson
931922c49d build-finish: Don't export hidden or backup files 2015-09-11 11:00:10 +02:00
Alexander Larsson
90718549ee run: Read per-app override metadata file 2015-09-09 16:31:49 +02:00
Alexander Larsson
6d98e56c55 run: Never propagate DISPLAY if X socket not requested
This is just confusing.
2015-09-09 16:31:07 +02:00
Alexander Larsson
4ca4f78483 document portal: Fix crashes when dbus activated
We handle the first message (the activating message) before we
have gotten the name aquired message. Make sure that this
is correctly handled.
2015-09-09 16:25:51 +02:00
Alexander Larsson
6abfb68faf run: Correctly report errors talking to document portal 2015-09-09 15:37:45 +02:00
Alexander Larsson
5610b97455 XdgAppContext: Properly handle masking things from parent context
This allows you to use things like --nosocket in build-finish to
override runtime defaults. But it is also a building block for
later changes.
2015-09-09 14:11:05 +02:00
Alexander Larsson
07a12a145a test-doc-portal: Add recursive file export test 2015-09-08 15:34:51 +02:00
Alexander Larsson
ab97ea7da6 test-doc-portal: Work around GTestDbus env unsetting 2015-09-08 15:34:21 +02:00
Alexander Larsson
8c04d2b532 fuse: Add some more debug spew 2015-09-08 15:33:55 +02:00
Alexander Larsson
d0773282a5 test-doc-portal: Fix unique boolean arg 2015-09-08 15:31:01 +02:00
Alexander Larsson
31837cdaa3 fuse: Drop DOC_DIR_INO_CLASS
We can just use a APP_DOC_DIR_INO_CLASS with app_id 0.
This gets rid of some duplicated code.
2015-09-08 15:23:18 +02:00
Alexander Larsson
42c6cd4574 document portal: Correctly handle recursive documents
I.e. if you pass in a document fd to the document portal we
reuse the existing id.
2015-09-08 14:53:14 +02:00
Alexander Larsson
fa3eb15580 export-file: Print the full document pathname 2015-09-08 14:52:43 +02:00
Alexander Larsson
af331d364f document portal: Move locking explicitly into portal handlers
This is requires because do i/o on the passed in fd in add() and
if you pass in a fd on the fuse mount itself we deadlock.
2015-09-08 14:23:27 +02:00
Alexander Larsson
bbc6fa8835 document-portal: Allow dbus owner replacing 2015-09-08 12:18:14 +02:00
Alexander Larsson
ad9f05397e fuse: Add some more debug spew 2015-09-08 11:15:31 +02:00
Alexander Larsson
bb6e476f62 fuse: Raise entry cache times now that we invalidate 2015-09-08 11:15:05 +02:00
Alexander Larsson
8fe6a115f6 fuse: Properly invalidate inodes and entries 2015-09-08 11:09:40 +02:00
Alexander Larsson
18cc81d8a7 test-doc-portal: Launch the portal manually
This allows us to get debug output
2015-09-08 09:49:33 +02:00
Alexander Larsson
44f295c088 fuse: Add daemonizing switch
This will be used for the tests
2015-09-08 09:47:32 +02:00
Alexander Larsson
8af69c93af fuse: Unmount previous fuse instance if ENOTCONN 2015-09-08 09:33:44 +02:00
Alexander Larsson
d79935bd4a Add minimal document portal tests 2015-09-07 17:17:44 +02:00
Alexander Larsson
ed2763a0da export-file: Fix leak 2015-09-07 16:03:45 +02:00
Alexander Larsson
60fc11035e db: Fix leak 2015-09-07 11:13:24 +02:00
Alexander Larsson
d50284c7a6 Add check-valgrind target 2015-09-07 11:13:21 +02:00
Alexander Larsson
2f115c89af document-portal: Actually respect WRITE permissions 2015-09-04 17:00:37 +02:00
Alexander Larsson
4be7bdc0f5 export-files: Allow specifying app permissions 2015-09-04 15:39:03 +02:00
Alexander Larsson
6cf4d24a09 document-portal: Use xdg_app_is_valid_name() to validate app names 2015-09-04 14:50:02 +02:00
Alexander Larsson
7ad47c74ea document-portals: Support unique documents
These document id will not be shared for multiple users. The main
difference is this this makes it safe for the creating app to delete
the document if he wants to (i.e. for temporary docs), and thus we can
grant this additional permission for the calling app.
2015-09-04 14:46:02 +02:00
Alexander Larsson
83201bd7e4 fuse: Always open files with O_NOFOLLOW
Following symlinks is risky as the sandbox may control them.
2015-09-04 14:16:45 +02:00