1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00
Commit Graph

5502 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
64bab7a94c Merge branch 'v2-sig-support' into 'master'
first basic support for APK Signature v2 and v3

See merge request fdroid/fdroidserver!618
2019-02-01 08:40:20 +00:00
Hans-Christoph Steiner
2907aa3ea3 fallback to v3 signatures if v1 and v2 are not available 2019-02-01 09:18:00 +01:00
Hans-Christoph Steiner
d96f5ff660 support APK Signature V2 when apksigner is installed
This was done with much help from @uniqx.  This is the first level of
supporting APK Signatures v1, v2, and v3.  This is enough to include
APKs with any combo of v1/v2/v3 signatures.  For this to work at all,
apksigner and androguard 3.3.3+ must be installed.

closes #399
2019-02-01 09:17:56 +01:00
Hans-Christoph Steiner
ea84014f9b make signer_fingerprint() accept DER encoded certs
androguard's v2 signature methods return DER-encoded certificates.  The DER-
encoded certificates are parsed from JAR Signature's raw "Signature Block
File".
2019-02-01 08:50:57 +01:00
Hans-Christoph Steiner
4d68163175 remove --on-server from completion, it is not a user option
fdroid/fdroidserver!617
a787d123a2
2019-02-01 08:50:57 +01:00
Hans-Christoph Steiner
709d35be0e Merge branch 'patch-1' into 'master'
change glob filter for graphics to not filter out valid IETF RFC5646 locales (fixes #621 and #357)

Closes #357 and #621

See merge request fdroid/fdroidserver!611
2019-01-31 22:09:41 +00:00
Michael Pöhn
f5a10e6e82 Merge branch 'basebox-0.5.1' into 'master'
makebuildserver: update to basebox 0.5.1

See merge request fdroid/fdroidserver!615
2019-01-31 13:32:44 +00:00
Tobias Zwick
1cbd19e33d change back link to fastlane docs 2019-01-30 11:29:55 +01:00
Hans-Christoph Steiner
07759d7550 convert all translation strings to use unicode ellipses
This is already the case in fdroidclient and Debian in general. Weblate
also defaults to checking that the unicode ellipsis is used.

sed -i 's,\.\.\.",…",' locale/fdroidserver.pot locale/*/*/*.po
2019-01-29 13:57:05 +01:00
Hans-Christoph Steiner
7133cede89 gitlab-ci: add cache, extend timeouts/retries to stabilize Fedora job
This is happening too often:
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f29&arch=x86_64 [Connection timed out after 30001 milliseconds]
ERROR: Job failed: exit code 1

https://gitlab.com/fdroid/fdroidserver/-/jobs/152719443

# Conflicts:
#	.gitlab-ci.yml
2019-01-29 13:40:55 +01:00
Hans-Christoph Steiner
3b84a82728 gitlab-ci: fix locale checks in pip_install job 2019-01-29 13:01:25 +01:00
Hans-Christoph Steiner
965b544150 Merge branch 'hide-on-server-cli-flag' into 'master'
fdroid build: hide --on-server cli flag

See merge request fdroid/fdroidserver!617
2019-01-29 11:41:15 +00:00
Michael Pöhn
a787d123a2 fdroid build: hide --on-server cli flag 2019-01-29 11:23:45 +01:00
Hans-Christoph Steiner
54a1c06ce0 tagging release v1.1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 Comment: GPG for Android - https://guardianproject.info/code/gnupg/
 
 iQEcBAABCAAGBQJcTzGDAAoJED4XeBe6G5v6edMH+wRDL6aInF2yLHx/mYMozY+x
 FSxPb7lyIFYVMfjjoldfL15B8cZgCAKbS7M2xcm0eWjfUnu6yBs9GncsY87DhCYm
 tsxI9MOWELzz6e3KHe/C/21vhZj+lIkyw6rIqJ2J0Aw7E6AKxd08d7N8FnyTVhNx
 uq6tKasz6QiDXcwr9G+nikQ3mJLmXRa/noOIJ33ESdGwx2MfvQyqV2JGKBRaQXDD
 bry0w2foT8fjmxxyEtDBxMTFNlEMefS4YccEgHrxxsTbU7ZCIh1+O8wMmIud7n0v
 AEmjjZS/6sF2ckbna+1XaRbz4lDwTxi/p8V4lR+HhKqwIxjDPsb/r6mnRSxqehs=
 =7O4W
 -----END PGP SIGNATURE-----

Merge branch into 'master'

tagging release v1.1

* tag '1.1':
  set version to 1.1
2019-01-29 10:02:12 +01:00
Michael Pöhn
7ea049ba91 Merge branch 'makebuildserver-avoid-cache-request-flood' into 'master'
makebuildserver: avoid trying to continue cache downloads when checksum is okay

See merge request fdroid/fdroidserver!616
2019-01-29 07:59:41 +00:00
Michael Pöhn
8c025b91d8 makebuildserver: avoid trying to continue cache downloads when checksum is okay 2019-01-28 22:16:48 +01:00
Michael Pöhn
6823d534ee update basebox to 0.5.1 2019-01-28 21:08:04 +01:00
Tobias Zwick
50b1e648b2 remove listing about the expected directory structure from the docstring, instead, link the current fastlane docs 2019-01-28 19:44:03 +01:00
Tobias Zwick
412185f058 Merge branch 'master' into patch-1 2019-01-28 19:30:26 +01:00
Hans-Christoph Steiner
714c6ce902
set version to 1.1 2019-01-28 17:43:39 +01:00
Hans-Christoph Steiner
4cbe1d1222 Merge branch 'master' into 'master'
polish up all the localizations for 1.1, and add basic CI tests

See merge request fdroid/fdroidserver!614
2019-01-28 16:21:58 +00:00
Hans-Christoph Steiner
81b1142bec locale: fix missing format strings 2019-01-28 17:00:08 +01:00
Hans-Christoph Steiner
4fa5512041 update list of officially supported languages to ship with source 2019-01-28 17:00:03 +01:00
Hans-Christoph Steiner
6925083e57 gitlab-ci: compile locales using gettext and babel 2019-01-28 14:42:29 +01:00
Hans-Christoph Steiner
288877e7ce travis-ci: fix GNU sed for macOS, homebrew changed how it works
++brew install gnu-sed --with-default-names
Warning: gnu-sed: this formula has no --with-default-names option so it will be ignored!
==> Downloading https://homebrew.bintray.com/bottles/gnu-sed-4.7.high_sierra.bot
######################################################################## 100.0%
==> Pouring gnu-sed-4.7.high_sierra.bottle.2.tar.gz
==> Caveats
GNU "sed" has been installed as "gsed".
If you need to use it as "sed", you can add a "gnubin" directory
to your PATH from your bashrc like:
    PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
2019-01-28 14:38:14 +01:00
Hans-Christoph Steiner
9226cee162 travis-ci: skip Uygher (ug) in Ubuntu/trusty tests, gettext is too old
Traceback (most recent call last):
  File "./setup.py", line 97, in <module>
    'Topic :: Utilities',
  File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/babel/messages/frontend.py", line 133, in run
    catalog = read_po(infile, locale)
  File "/usr/lib/python3/dist-packages/babel/messages/pofile.py", line 121, in read_po
    catalog = Catalog(locale=locale, domain=domain, charset=charset)
  File "/usr/lib/python3/dist-packages/babel/messages/catalog.py", line 247, in __init__
    locale = Locale.parse(locale)
  File "/usr/lib/python3/dist-packages/babel/core.py", line 313, in parse
    raise UnknownLocaleError(input_id)
babel.core.UnknownLocaleError: unknown locale 'ug'
2019-01-28 14:38:14 +01:00
Hans-Christoph Steiner
9449d52fbf locale: update all with new source strings
make -C locale fdroidserver.pot
make -C locale compile
2019-01-28 14:38:14 +01:00
Hans-Christoph Steiner
36e9fbde98 remove redundant bn_BD translation, there is bn already 2019-01-28 09:30:44 +01:00
Hans-Christoph Steiner
f568fc0977 Merge branch 'weblate' into 'master'
Weblate

See merge request fdroid/fdroidserver!612
2019-01-27 22:33:39 +00:00
Hans-Christoph Steiner
74048f8619 Translated using Weblate (kab)
Muḥend Belqasem <belkacem77@gmail.com>
2019-01-27 23:11:45 +01:00
Weblate
e819694de2 Translated using Weblate (nb_NO)
Allan Nordhøy <epost@anotheragency.no>
Ty Moss <lavahd@protonmail.ch>
2019-01-27 23:11:45 +01:00
Weblate
4a1a83ee86 Translated using Weblate (zh_Hans)
kak mi <wavelake@outlook.com>
RainSlide <RainSlide@outlook.com>
Roufique hossain <roufique@rtat.net>
2019-01-27 23:11:45 +01:00
Weblate
ea589c3a9a Translated using Weblate (ru)
Andrey <andrey@mailbox.org>
mesnevi <shams@airpost.net>
2019-01-27 23:11:45 +01:00
Weblate
4fe1f65254 Translated using Weblate (fa)
frowzy <frowzy_penguin@protonmail.com>
2019-01-27 23:11:45 +01:00
Weblate
c1f86893aa Translated using Weblate (ug)
Nureli <nureliosman@gmail.com>
ۋولقان <nureliosman@gmail.com>
2019-01-27 23:11:45 +01:00
Weblate
b7b9cffcd3 Translated using Weblate (pt_BR)
ButterflyOfFire <ButterflyOfFire@protonmail.com>
Luis Fernando <supernando08@gmail.com>
Lunovox Heavenfinder <lunovox@disroot.org>
2019-01-27 23:11:45 +01:00
Weblate
96646adfaf Translated using Weblate (it)
Matteo Fumagalli <f.mustang@protonmail.com>
2019-01-27 23:11:45 +01:00
Weblate
f22e092460 Translated using Weblate (sv)
Jonatan Nyberg <jonatan@autistici.org>
Jonatan Nyberg <jonatan.nyberg.karl@gmail.com>
Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2019-01-27 23:11:45 +01:00
Weblate
7c362d03ea Translated using Weblate (tr)
Ali Demirtas <alidemirtas94@gmail.com>
Emin Tufan Çetin <etcetin@gmail.com>
mahmut özcan <mahmutozcan65@yahoo.com>
monolifed <monolifed@gmail.com>
Myeongjin Lee <aranet100@gmail.com>
2019-01-27 23:11:45 +01:00
Weblate
ac39f11fa0 Translated using Weblate (ja) 2019-01-27 23:11:45 +01:00
Weblate
ae93397886 Translated using Weblate (es_AR)
Andrés S <andres.segovia.dev@gmail.com>
riveravaldez <riveravaldezmail@gmail.com>
2019-01-27 23:11:45 +01:00
Weblate
a07bd6c86b Translated using Weblate (pt_PT)
Lunovox Heavenfinder <lunovox@disroot.org>
Ricardo Fonseca <ricardo.jfonseca@outlook.com>
Sérgio Marques <smarquespt@gmail.com>
ssantos <ssantos@web.de>
2019-01-27 23:11:45 +01:00
Weblate
e7e05385ef Translated using Weblate (hu)
Balázs Meskó <meskobalazs@gmail.com>
2019-01-27 23:11:45 +01:00
Weblate
39393184f7 Translated using Weblate (de)
Allan Nordhøy <epost@anotheragency.no>
BO41 <lukasw41@gmail.com>
ssantos <ssantos@web.de>
2019-01-27 23:11:45 +01:00
Weblate
b74bbefcce Translated using Weblate (ml)
suman dev p <sumandev.p@gmail.com>
2019-01-27 23:11:45 +01:00
Weblate
d2ac358e71 Translated using Weblate (bn)
Roufique hossain <roufique@rtat.net>
2019-01-27 23:11:45 +01:00
Weblate
83faf6ecba Translated using Weblate (uk)
AB <ao7nro+6ltrjuwxelfo4@sharklasers.com>
2019-01-27 23:11:45 +01:00
Hans-Christoph Steiner
877fb04e24 androguard v3.3.2 is also missing key API methods 2019-01-27 23:11:44 +01:00
Weblate
aa83aeed49 Translated using Weblate (pl)
Myeongjin Lee <aranet100@gmail.com>
WaldiS <admin@sto.ugu.pl>
2019-01-27 23:11:44 +01:00
Weblate
43df6ab64a Translated using Weblate (fr)
ButterflyOfFire <ButterflyOfFire@protonmail.com>
David Maulat <david@maulat.eu>
gwenderer <gwenael.derer@gmail.com>
Herdir <herdir@herdir.net>
Jean-Baptiste <jean-baptiste@holcroft.fr>
Ldm Public <ldmpub@gmail.com>
pandipanda41 <petitpanda140@gmail.com>
2019-01-27 23:11:44 +01:00