summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAgeFilesLines
* document portal: Add AddNamed method for host-side useAlexander Larsson2015-12-021-0/+7
| | | | This is needed for the "save as" file selector portal
* Install dbus introspection filesAlexander Larsson2015-10-211-0/+11
|
* Correct capitalization on dbus interface filenameAlexander Larsson2015-10-211-0/+0
|
* document portal: Add support for transient documentsAlexander Larsson2015-09-171-0/+1
| | | | These are useful for passing temporary files.
* document-portals: Support unique documentsAlexander Larsson2015-09-041-0/+1
| | | | | | | 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.
* Store and verify parent dir dev/ino and pass O_PATH fdsAlexander Larsson2015-09-031-5/+1
| | | | | | | | | | | | | | | In order to be robust against symlink attacks (i.e. make a document for a path, then replace it with a symlink somewhere else and have the portal read that instead) we store the parent dev/ino when we create the document id and always verify that (atomically with the *at syscalls) on each use. Also, we pass O_PATH fds when creating documents, as it allows us to be a bit safer. For instance we can verify that the fd is a O_PATH fd before doing any ops on it, and it makes it possible to avoid other symlink trickery. Also, we drop the double add methods, and just use the O_PATH version.
* Document portal: Store paths, not urisAlexander Larsson2015-08-271-1/+1
| | | | | There is no way to do this for generic uris anyway, lets not pretend we're solving a larger problem.
* Switch document portal to use strings for document idsAlexander Larsson2015-08-261-5/+5
|
* Initial version of permission storeAlexander Larsson2015-08-261-1/+45
| | | | | This is a generalized store for permissions, which also will be used by the document portal.
* Rename dbus file to org.freedesktop.XdgAppAlexander Larsson2015-08-251-0/+0
|
* Add GetMountPoint method for document portalAlexander Larsson2015-07-101-0/+3
| | | | | This is both to get the mount path and to have a nice way to activate the mount.
* Import xdg-document-portal from github repoAlexander Larsson2015-07-101-0/+50
| | | | | | | This pulls in the daemon code from: https://github.com/alexlarsson/xdg-document-portal/ We need this in xdg-app because we need to set up the mounts correctly.
* Restructure directories and buildAlexander Larsson2015-07-102-0/+53
This moves a all source code into separate subdirs per binary. The helper and the generic stuff goes into lib/ which is then used by all the others. For now this is a completely internal library, but at some point we will probably clean it up and expose some subset. Also, we move the dbus proxy to libexecdir.