Commit Graph

663 Commits

Author SHA1 Message Date
Alexander Larsson
8e4b0d156d remote add/modify: Add --[no-]authenticator-install options
This enables or disables auto-installation of autenticators for a remote.
If it is unset it defaults to whatever the remote wants.
2019-12-19 10:33:21 +01:00
Alexander Larsson
85a53947b3 man: Document the authentcator options
This adds --authenticator-name and --authenticator-opion to remote-add
and remote-modify docs.
2019-12-17 15:25:42 +01:00
Jan Grulich
a61f61870e Add support for CUPS socket 2019-12-13 17:56:22 +01:00
Matthias Clasen
1957d4473e doc: Add an example for permission-set
This shows how --data formatting works on the commandline.
2019-12-12 12:45:53 -05:00
Matthias Clasen
cdf3c33293 permission-set: Add an option to set data
This is useful for debugging permission store functionality
and will be more so when the openuri portal starts using
per-entry data.
2019-12-11 17:21:36 +01:00
Matthew Leeds
e0e9996370 doc/flatpak-build-bundle: Add an example for the user installation 2019-12-10 14:36:58 +01:00
Matthias Clasen
2166913eb1 Update flatpak ps docs
Mention the new columns.
2019-12-04 13:33:52 +01:00
Matthias Clasen
d580dd71cf Merge pull request #3268 from matthiasclasen/doc-updates
Doc updates
2019-12-02 07:29:12 -05:00
Matthias Clasen
4765a78a87 Merge pull request #3270 from matthiasclasen/parent-pid-docs
run: Improve help output for --parent-pid
2019-12-02 07:28:28 -05:00
Matthias Clasen
a2424c0c33 Merge pull request #3269 from matthiasclasen/info-docs
info: Add an example to the man page
2019-12-02 07:26:59 -05:00
Matthew Leeds
3211b537b5 doc/flatpak-permission-set: Add reference to permission-show 2019-12-01 19:08:58 -08:00
Matthias Clasen
d26d5edac0 doc: Fix a copy-paste error
Fix some ids in the flatpak-ps man page.
2019-12-01 16:49:36 -05:00
Matthias Clasen
9bde9d4ba2 doc: Fix a copy-paste error
Fix the refpurpose for flatpak permission-show.
2019-12-01 16:49:02 -05:00
Matthias Clasen
959d71f7dc docs: Add flatpak permissions-set to command list
This new command was missing from flatpak(1) and
from the references in other permission commands.
2019-12-01 16:26:14 -05:00
Matthias Clasen
cb2cadb3ad run: Improve help output for --parent-pid
Show a placeholder to indicate that this option
takes an argument. Update docs to match.
2019-12-01 16:12:36 -05:00
Matthias Clasen
3907de1105 info: Add an example to the man page
Show an example for how to list the files that are
part of an installed app.

Related: https://github.com/flatpak/flatpak/issues/3079
2019-12-01 14:23:35 -05:00
Matthias Clasen
87591066c3 doc: Add missing apis to flatpak-sections.txt
Add various public apis that were missing from the docs.
2019-12-01 14:04:41 -05:00
Matthias Clasen
8628322446 doc: Update IGNORE_HFILES
Add all the private headers here.
2019-12-01 14:04:35 -05:00
Alexander Larsson
e6ae979cc4 run: Document new --parent-pid and --parent-expose-pid args 2019-11-27 14:21:25 +01:00
Alexander Larsson
c486cc461e run: Document the sandbox related swtiches 2019-11-26 09:52:07 +01:00
Matthias Clasen
d4b3694609 Document the flatpak-spawn --watch-bus option
This was missing from the man page.
2019-11-26 09:51:46 +01:00
Matthias Clasen
c917257a1c permission-remove: Allow removing a single row
Allow specifying an app-id to remove from a given
id in a given table.
2019-11-21 13:48:31 +01:00
Matthias Clasen
5a8489cefe Add a permission-set command
This command adds permissions for an app to one of the permission
store database(s).
2019-11-21 13:48:31 +01:00
Alexander Larsson
4718bcccfd enter: Make sure sudo -E works when using setuid brwap
This also updates the manpage so it is correct wrt permissions and
sudo.
2019-11-20 13:17:43 +01:00
Will Thompson
6e209a52a4 build-finish: fix 'of' typo in manpage 2019-11-01 12:52:38 +00:00
Philip Withnall
d5a1170820 doc: Clarify format of locale identifiers in extra-languages key
Also update the tests to use the same format, and make sure to include
coverage of all forms of locale (language-only, with locale, with
codeset, and with modifier).

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-10-24 13:54:05 +01:00
Philip Withnall
62cb538440 doc: Add some missing <literal> docbook tags
Makes the documentation a little clearer to read.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-10-24 13:54:05 +01:00
Matthias Clasen
e9aeb637de Merge pull request #3190 from mbooth101/spawn-docs
Adds documentation for the new flatpak-spawn option
2019-10-23 13:54:08 -04:00
Christoph Brill
e22cdbef1b Fix copy&pasto in refpurpose of permission-remove 2019-10-23 16:31:46 +02:00
Mat Booth
35baa75ad2 Adds documentation for the new flatpak-spawn option
added in https://github.com/flatpak/flatpak-xdg-utils/pull/22

Signed-off-by: Mat Booth <mat.booth@redhat.com>
2019-10-22 14:10:46 +01:00
Matthew Leeds
512444dc23 Merge pull request #3152 from mazen-asef/languages_locales_key
app: Change xa.extra-languages to accept locales
2019-10-16 15:50:35 -05:00
Mazen Asef
65912f27fe app: Allow locales to be stored in the extra-languages key
In order to configure gnome-software to show specific apps in one region
without showing to all language speakers, we allow the storage of full
locales on the extra-languages key. However, these locales are ignored when
calling flatpak_installation_get_default_languages, so locales will be reduced
to their language identifier (eg. en_IN locale will be returned as 'en', and
az_Latn_AZ will be returned as 'az'). In order to get the full locales, we can
call flatpak_installation_get_default_locales instead, which can return languages
and locales.
2019-10-16 16:25:06 -03:00
Bastien Nocera
0873e5dd79 docs: Fix typos 2019-10-15 13:13:58 +02:00
Matthew Leeds
1ebc94dc48 doc/flatpak-mask: Fix a couple typos 2019-10-14 09:52:42 -05:00
Umang Jain
11631f9514 transaction: Add getter for querying no-pull
As this is a required to deploy autoupdates downloaded in the
background, for clients like gnome-software.
2019-10-08 15:21:09 +05:30
Umang Jain
c7670e87d7 transaction: Add getter for querying no-deploy
FlatpakTransaction inherently doesn't differentiate between a
autoupdate and a regular update; both are
FLATPAK_TRANSACTION_OPERATION_UPDATE.

This getter can help differentiate between a regular update
and autoupdate in clients like gnome-software. Autoupdates
work in two separate transaction passes; first that runs with
"no-deploy" and the second pass that deploys all the downloaded
update (i.e. with "no-pull").
2019-10-08 15:21:03 +05:30
Matthias Clasen
8a338dff32 Fix a doc typo
The docs refer to flatpakref files in /etc/flatpak/remotes.d,
but the code is looking for flatpakrepo files there.
2019-10-03 22:23:30 -04:00
Philip Withnall
ab5c0968e6 flatpak-run: Add parental controls support for filtering apps
Prevent the user from running a flatpak app if that app is filtered by
the parental controls applied to the user.

If flatpak is running as a system user (UID < 1000), ignore failure to
load the app filter. This could happen if a flatpak is run in the
gnome-initial-setup session, before the user’s account is created.

Includes contributions by André Magalhães.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://github.com/flatpak/flatpak/pull/2797
2019-10-03 10:42:04 +02:00
Alexander Larsson
9c715096aa man: Reference flatpak-mask.1 from flatpak.1 2019-09-30 10:52:06 +02:00
Alexander Larsson
02b542789a Add manpage for flatpak mask 2019-09-30 10:52:06 +02:00
Alexander Larsson
161a13951b Add flatpak install --or-update operation
This allows you to ensure that a particular app/runtime is installed
and with the latest version in a single operation, which is useful
for instance in automatic use, like CI systems.
2019-09-27 09:07:13 +02:00
Matthew Leeds
593f0e563b doc/flatpak-create-usb: Clarify how to install from USB 2019-09-27 08:53:04 +02:00
Alexander Larsson
5026f01153 Support multiple versions in required-flatpak metadata key
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.

Closes: #3112
Approved by: alexlarsson
2019-09-18 14:55:38 +00:00
Matthew Leeds
13279af129 Merge pull request #3058 from mazen-asef/add_default_languages_key
Add extra-languages config key
2019-09-13 13:19:08 -07:00
Mazen Asef
a0666034db app: Add new extra-languages key
If xa.languages is set, use these, and no others. Otherwise, take the union
of xa.extra-languages, and the system default locales for system repos;
xa.extra-languages for user repo and the langs based on the user's locale

Fixes https://github.com/flatpak/flatpak/issues/3043
2019-09-13 15:31:14 -03:00
Matthew Leeds
c474c941c0 doc/flatpak-metadata: Fix a couple typos
Closes: #3096
Approved by: alexlarsson
2019-09-13 07:18:05 +00:00
Matthew Leeds
9a0e45941a doc/flatpak-kill: Add a hint about flatpak ps 2019-07-21 12:50:50 -07:00
Matthew Leeds
5edafefa4b doc/flatpak-enter: Make a few minor improvements 2019-07-21 12:45:58 -07:00
Richard Hughes
7e62d01d9b Add 5 missing symbols to the generated GtkDoc output
Closes: #2982
Approved by: mwleeds
2019-06-25 20:44:16 +00:00
Antonio Larrosa
7898ffef96 Rename libflapak-docs.xml to fix a typo in its name
Note the missing 't'

Closes: #2963
Approved by: mwleeds
2019-06-14 23:02:10 +00:00