Commit Graph

7142 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
2fbb544cd2 block adding repos when Unknown Sources is disable by Device Admin
Device Admin apps aka Mobile Device Management can set all sorts of
restrictions on the device.  One of these is to globally disable the use
of Unknown Sources.  The other is to restrict a user on the device from
using Unknown Sources.  Both of these are supported.  When either or both
are set, then F-Droid will not allow adding new repos, either via Intent or
via the UI.

refs #2238
https://gitlab.com/groups/CalyxOS/-/epics/25
https://gitlab.com/CalyxOS/calyxos/-/issues/611
2021-08-26 16:01:19 +02:00
Hans-Christoph Steiner
cf6f3c28a0 Merge branch 'fix-status-bar-color' into 'master'
Fix status bar color

Closes #2203

See merge request fdroid/fdroidclient!1035
2021-08-26 13:09:01 +00:00
proletarius101
d440cb0c81 Fix status bar color 2021-08-26 13:09:00 +00:00
Hans-Christoph Steiner
64cb43f657 Merge branch 'fix-main-screen-random-top-padding' into 'master'
Fix random top padding in the main screen

Closes #2233

See merge request fdroid/fdroidclient!1044
2021-08-26 12:01:26 +00:00
proletarius101
f1973e05d2 Fix random top padding in the main screen 2021-08-26 12:01:26 +00:00
Hans-Christoph Steiner
efad464b34 Merge branch 'follow-system-theme-by-default' into 'master'
Set the default theme variant to follow system

See merge request fdroid/fdroidclient!1042
2021-08-26 12:00:05 +00:00
proletarius101
1ddc36e597 Set the default theme variant to follow system 2021-08-26 11:28:23 +00:00
Hans-Christoph Steiner
3796eff817 Merge branch 'glide-use-fdroid-app-long-timeout' into 'master'
Use FDroidApp's long timeout in Glide

See merge request fdroid/fdroidclient!1049
2021-08-26 08:50:52 +00:00
proletarius101
566698bf87 Use FDroidApp's long timeout in Glide 2021-08-26 09:29:30 +08:00
Hans-Christoph Steiner
bc412b77a9 update CHANGELOG 2021-08-25 13:20:31 +02:00
Hans-Christoph Steiner
bdb33a3952 Merge branch 'androidmk' into 'master'
Drop Android.mk

See merge request fdroid/fdroidclient!1045
2021-08-13 07:40:18 +00:00
Chirayu Desai
61266f7805 Drop Android.mk
* Gradle build inline won't work anymore,
  and it's not a good idea to have the build require internet access anyway
* You can ship a prebuilt F-Droid apk if you want to include it in the OS

Example Android.mk snippet:
include $(CLEAR_VARS)
LOCAL_MODULE := F-Droid
LOCAL_SRC_FILES := F-Droid.apk
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_MODULE_CLASS := APPS
LOCAL_PRODUCT_MODULE := true
include $(BUILD_PREBUILT)

Change-Id: I12245312e2fe5253e9d7d311a0053bec5817dad1
2021-08-12 20:57:58 +05:30
Hans-Christoph Steiner
a6e963c54e Merge branch 'trichrome-library' into 'master'
InstalledAppProvider: Fix Trichrome Library install

See merge request fdroid/fdroidclient!1038
2021-08-05 15:52:56 +00:00
Chirayu Desai
2617a9ccea InstalledAppProvider: Fix Trichrome Library install
* The way Trichrome library (which is a static shared library)
  is implemented means that the PackageManager ends up with two
  entries for it, one for the system-installed version, and another
  for the upgrade installed on /data.
* The previous implementation which only relied on packageName would
  sometimes pick the older version, which meant that even after installing
  an update it'd still keep trying to re-install the same version over
  and over again since in F-Droid's internal database it still thought that
  an older version was installed.
* Always using the newer version / higher version code should hopefully fix this.

Fixes: b52c7ca39a
"Remove duplicate entries from installed packages list"

Issue: https://gitlab.com/fdroid/fdroidclient/-/issues/2184
Issue: calyxos#406
2021-07-24 22:29:38 +05:30
Hans-Christoph Steiner
d74943f27a Merge branch 'share' into 'master'
Improve sharing apps

Closes #1918

See merge request fdroid/fdroidclient!929
2021-07-06 21:59:36 +00:00
Hans-Christoph Steiner
402cbcc3c2 implement combined EXTRA_STREAM/EXTRA_TEXT Intents for createChooser()
An app can create an `ACTION_SEND Intent` to share a file and/or text
to another app.  This `Intent` can provide an `InputStream` to get the
actual file via `EXTRA_STREAM`.  This `Intent` can also include
`EXTRA_TEXT` to describe what the shared file is.  Apps like K-9Mail,
Gmail, Signal, etc. correctly handle this case and include both the
file itself and the related text in the draft message.

This is used in F-Droid to share apps.  The text is the
name/description of the app and the URL that points to the app's page
on f-droid.org.  The `EXTRA_STREAM` is the actual APK if available.
Having all together means that the user can choose to share a message
or the actual APK, depending on the receiving app.

Unfortunately, not all apps handle this well.  WhatsApp and Element
only attach the file and ignore the text.
https://github.com/vector-im/element-android/issues/3637
2021-07-06 23:24:51 +02:00
Hans-Christoph Steiner
29a1869818 create PublicSourceDirProvider to share installed APK files as streams 2021-07-06 23:24:51 +02:00
Hans-Christoph Steiner
f953865359 remove long removed AboutActivity from AndroidManifest.xml 2021-07-06 23:24:51 +02:00
Fynn Godau
62b3879864 Share apps via native share dialog instead of bluetooth only 2021-07-06 23:24:51 +02:00
Fynn Godau
a8a7827cbd Remove custom share dialog 2021-07-06 23:24:51 +02:00
Hans-Christoph Steiner
ceea14297f version code 1013050 2021-07-06 23:15:30 +02:00
Hans-Christoph Steiner
cb8ddfad1d Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidclient!1036
2021-07-06 14:07:01 +00:00
Hans-Christoph Steiner
260e80c827 ./tools/remove-unused-and-blank-translations.py 2021-07-06 15:33:39 +02:00
C. Rüdinger
4eb4bc2b82 Translated using Weblate: German (de) by C. Rüdinger <Mail-an-CR@web.de>
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: C. Rüdinger <Mail-an-CR@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/de/
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:33 +02:00
Bhavabhuthi
459c47bc0e Translated using Weblate: Telugu (te) by Bhavabhuthi <bhavabhuthi@swecha.net>
Currently translated at 63.8% (23 of 36 strings)

Translated using Weblate: Telugu (te) by Bhavabhuthi <bhavabhuthi@swecha.net>

Currently translated at 82.6% (387 of 468 strings)

Co-authored-by: Bhavabhuthi <bhavabhuthi@swecha.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/te/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/te/
Translation: F-Droid/F-Droid
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:33 +02:00
janne ojanperä
f7ef3bb90a Translated using Weblate: Finnish (fi) by janne ojanperä <janne.ojanpera@iki.fi>
Currently translated at 97.6% (457 of 468 strings)

Co-authored-by: janne ojanperä <janne.ojanpera@iki.fi>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/fi/
Translation: F-Droid/F-Droid
2021-07-06 14:38:33 +02:00
Agnieszka C
5f2f634851 Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>
Currently translated at 97.2% (35 of 36 strings)

Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>

Currently translated at 100.0% (468 of 468 strings)

Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>

Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Agnieszka C <aga_04@o2.pl>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/pl/
Translation: F-Droid/F-Droid
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:33 +02:00
Josu
cf668c6103 Translated using Weblate: Basque (eu) by Josu <bi000@protonmail.com>
Currently translated at 99.7% (467 of 468 strings)

Translated using Weblate: Basque (eu) by Josu <bi000@protonmail.com>

Currently translated at 98.2% (460 of 468 strings)

Translated using Weblate: Basque (eu) by Josu <bi000@protonmail.com>

Currently translated at 97.8% (458 of 468 strings)

Co-authored-by: Josu <bi000@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/eu/
Translation: F-Droid/F-Droid
2021-07-06 14:38:33 +02:00
Web0nst
935395fe6b Translated using Weblate: Galician (gl) by Web0nst <web0nst@tuta.io>
Currently translated at 99.3% (465 of 468 strings)

Co-authored-by: Web0nst <web0nst@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/gl/
Translation: F-Droid/F-Droid
2021-07-06 14:38:33 +02:00
Simona Iacob
69bdabbda4 Translated using Weblate: Romanian (ro) by Simona Iacob <s@zp1.net>
Currently translated at 100.0% (468 of 468 strings)

Translated using Weblate: Romanian (ro) by Simona Iacob <s@zp1.net>

Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Simona Iacob <s@zp1.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ro/
Translation: F-Droid/F-Droid
2021-07-06 14:38:33 +02:00
GM
520374d493 Translated using Weblate: Lithuanian (lt) by GM <muziejusinfo@gmail.com>
Currently translated at 73.7% (345 of 468 strings)

Co-authored-by: GM <muziejusinfo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/lt/
Translation: F-Droid/F-Droid
2021-07-06 14:38:33 +02:00
Max Seifert
29fde0ec38 Translated using Weblate: Spanish (Argentina) (es-rAR) by Max Seifert <max.seifert@gmail.com>
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Max Seifert <max.seifert@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/es_AR/
Translation: F-Droid/F-Droid
2021-07-06 14:38:33 +02:00
Mateo Martinjak
f407dfdf8e Translated using Weblate: Croatian (hr) by Mateo Martinjak <mateo1559@gmail.com>
Currently translated at 96.3% (451 of 468 strings)

Co-authored-by: Mateo Martinjak <mateo1559@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/hr/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
Vancha March
3187970dc6 Translated using Weblate: Frisian (fy) by Vancha March <tjipkevdh@gmail.com>
Currently translated at 29.2% (137 of 468 strings)

Translated using Weblate: Frisian (fy) by Vancha March <tjipkevdh@gmail.com>

Currently translated at 24.5% (115 of 468 strings)

Co-authored-by: Vancha March <tjipkevdh@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/fy/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
hiking
7b8cb31f2e Translated using Weblate: Spanish (es) by hiking <joaquinfc@protonmail.com>
Currently translated at 66.6% (24 of 36 strings)

Translated using Weblate: Spanish (es) by hiking <joaquinfc@protonmail.com>

Currently translated at 66.6% (24 of 36 strings)

Co-authored-by: hiking <joaquinfc@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/es/
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:32 +02:00
109247019824
ceec77e3e5 Translated using Weblate: Bulgarian (bg) by 109247019824 <stoyan@gmx.com>
Currently translated at 99.1% (464 of 468 strings)

Translated using Weblate: Bulgarian (bg) by 109247019824 <stoyan@gmx.com>

Currently translated at 99.1% (464 of 468 strings)

Co-authored-by: 109247019824 <stoyan@gmx.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/bg/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
rhyte
7b3df9b56d Translated using Weblate: Romanian (ro) by rhyte <vmhl.ph@gmail.com>
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: rhyte <vmhl.ph@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ro/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
☆Verdulo
a08044eddd Translated using Weblate: Esperanto (eo) by ☆Verdulo <tomek@disroot.org>
Currently translated at 100.0% (36 of 36 strings)

Translated using Weblate: Esperanto (eo) by ☆Verdulo <tomek@disroot.org>

Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: ☆Verdulo <tomek@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/eo/
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:32 +02:00
Yaron Shahrabani
ad1597e655 Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>
Currently translated at 100.0% (36 of 36 strings)

Translated using Weblate: Hebrew (he) by Yaron Shahrabani <sh.yaron@gmail.com>

Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/he/
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:32 +02:00
Daimar Stein
f7c3ab0222 Translated using Weblate: Portuguese (Brazil) (pt-BR) by Daimar Stein <570cxat11@relay.firefox.com>
Currently translated at 97.2% (35 of 36 strings)

Co-authored-by: Daimar Stein <570cxat11@relay.firefox.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pt_BR/
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:32 +02:00
Orhan
336e20e6a9 Translated using Weblate: Turkish (tr) by Orhan <orya@pm.me>
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Orhan <orya@pm.me>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/tr/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
Shashank Pujari
86934ee898 Translated using Weblate: Kannada (kn) by Shashank Pujari <shashankppujari@gmail.com>
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Shashank Pujari <shashankppujari@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/kn/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
Tigran Khachatryan
4bcd6a7fb9 Translated using Weblate: Armenian (hy) by Tigran Khachatryan <tkhachatryan2008@gmail.com>
Currently translated at 50.4% (236 of 468 strings)

Co-authored-by: Tigran Khachatryan <tkhachatryan2008@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/hy/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
Naveen
32c4dc6b8a Translated using Weblate: Tamil (ta) by Naveen <naveen.translator@protonmail.com>
Currently translated at 33.3% (12 of 36 strings)

Translated using Weblate: Tamil (ta) by Naveen <naveen.translator@protonmail.com>

Currently translated at 13.8% (5 of 36 strings)

Translated using Weblate: Tamil (ta) by Naveen <naveen.translator@protonmail.com>

Currently translated at 100.0% (468 of 468 strings)

Translated using Weblate: Tamil (ta) by Naveen <naveen.translator@protonmail.com>

Currently translated at 100.0% (468 of 468 strings)

Translated using Weblate: Tamil (ta) by Naveen <naveen.translator@protonmail.com>

Currently translated at 74.1% (347 of 468 strings)

Co-authored-by: Naveen <naveen.translator@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/ta/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ta/
Translation: F-Droid/F-Droid
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:32 +02:00
Balázs Meskó
0d1578afa6 Translated using Weblate: Hungarian (hu) by Balázs Meskó <meskobalazs@mailbox.org>
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/hu/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
Sérgio Morais
48d6c5c44b Translated using Weblate: Portuguese (Portugal) (pt-PT) by Sérgio Morais <lalocas@protonmail.com>
Currently translated at 100.0% (36 of 36 strings)

Translated using Weblate: Portuguese (pt) by Sérgio Morais <lalocas@protonmail.com>

Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: Sérgio Morais <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pt/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/pt_PT/
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:32 +02:00
Roman Leo
66a617e072 Translated using Weblate: German (de) by Roman Leo <roman.leo@gmx.de>
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: Roman Leo <roman.leo@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/de/
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:32 +02:00
Rex_sa
cdee5364bd Translated using Weblate: Arabic (ar) by Rex_sa <rex.sa@pm.me>
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Rex_sa <rex.sa@pm.me>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/ar/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
Oymate
035fbf3434 Translated using Weblate: Bengali (bn) by Oymate <dhruboadittya96@gmail.com>
Currently translated at 100.0% (468 of 468 strings)

Translated using Weblate: Bengali (Bangladesh) (bn-rBD) by Oymate <dhruboadittya96@gmail.com>

Currently translated at 100.0% (468 of 468 strings)

Translated using Weblate: Bengali (Bangladesh) (bn-rBD) by Oymate <dhruboadittya96@gmail.com>

Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/bn/
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid/bn_BD/
Translation: F-Droid/F-Droid
2021-07-06 14:38:32 +02:00
Eric
fd528bf725 Translated using Weblate: Chinese (Simplified) (zh-CN) by Eric <spice2wolf@gmail.com>
Currently translated at 100.0% (36 of 36 strings)

Translated using Weblate: Chinese (Simplified) (zh-CN) by Eric <spice2wolf@gmail.com>

Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: Eric <spice2wolf@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/f-droid-metadata/zh_Hans/
Translation: F-Droid/F-Droid metadata
2021-07-06 14:38:32 +02:00