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

8370 Commits

Author SHA1 Message Date
FestplattenSchnitzel
7c89e923f6 Move methods specific to import to it's module 2022-08-24 22:21:37 +02:00
FestplattenSchnitzel
7b7f863c65 [import] Rename to import_subcommand internally
This enables normal import of the module without the need for
workarounds.
2022-08-24 22:21:35 +02:00
Hans-Christoph Steiner
2eb56ae8d4 Merge branch 'linsui-master-patch-66779' into 'master'
scanner: also scan classpath

See merge request fdroid/fdroidserver!1148
2022-08-24 19:49:43 +00:00
linsui
832ed18fca scanner: also scan classpath 2022-08-24 21:34:55 +02:00
Hans-Christoph Steiner
1a71f352cf Merge branch 'sinasdk' into 'master'
scanner: add sinaweibosdk, umeng and exoplayer cast extension

See merge request fdroid/fdroidserver!1147
2022-08-24 19:15:05 +00:00
linsui
b2eb189a3b Apply 1 suggestion(s) to 1 file(s) 2022-08-24 19:14:45 +00:00
linsui
82525dbc4e Apply 1 suggestion(s) to 1 file(s) 2022-08-24 19:14:45 +00:00
linsui
ae79e8b967 scanner: add sinaweibosdk 2022-08-24 19:14:45 +00:00
Hans-Christoph Steiner
114fee3bfd Merge branch 'fix-ci-plugin_fetchsrclibs' into 'master'
gitlab-ci: paramiko from Debian to avoid crypto libs from source

See merge request fdroid/fdroidserver!1175
2022-08-24 19:14:39 +00:00
Hans-Christoph Steiner
22ce23ebe0 gitlab-ci: paramiko from Debian to avoid crypto libs from source
Before it was cryptography, now bcrypt requires a Rust compiler:
https://gitlab.com/fdroid/fdroidserver/-/jobs/2929483724
2022-08-24 19:53:54 +02:00
Hans-Christoph Steiner
30284ed31c Merge branch 'fix-verify-reporting' into 'master'
verify: fix generating JSON reports, as used in verification.f-droid.org

See merge request fdroid/fdroidserver!1168
2022-08-24 17:31:07 +00:00
Hans-Christoph Steiner
ed3622ffff
convert verify.py and verify.TestCase to black code format 2022-08-24 19:16:36 +02:00
Hans-Christoph Steiner
9e58fc8cda
verify: normalize dicts via JSON for reliable comparisons
13016c5d63 in !602 used a set to prevent
duplicate entries, but that worked poorly because it required lots of
data wrapping.  Instead, just normalize to JSON, then equality is easy.
2022-08-24 19:16:33 +02:00
Jochen Sprickerhof
a1286209ad Merge branch 'sortxml' into 'master'
Sort the xml file pathes for consistent result

See merge request fdroid/fdroidserver!1174
2022-08-24 13:51:47 +00:00
linsui
43ea0c35d8 Sort the xml file pathes for consistent result 2022-08-24 13:51:31 +00:00
Hans-Christoph Steiner
dbf667d1f5 Merge branch 'ndk-release-checksums.py' into 'master'
update NDK

See merge request fdroid/fdroidserver!1173
2022-08-24 11:21:11 +00:00
fdroid-bot
53c6dffbce Android NDK None (None) 2022-08-24 11:07:33 +00:00
Jochen Sprickerhof
dea188a790 Merge branch 'checku' into 'master'
Fix tag match

See merge request fdroid/fdroidserver!1072
2022-08-24 11:06:54 +00:00
linsui
516a0c2ce8 Fix tag match with GitPython 2022-08-24 10:50:09 +00:00
Jochen Sprickerhof
737ad53d3c Merge branch 'nopath' into 'master'
Show all unused scanner path at once

See merge request fdroid/fdroidserver!1171
2022-08-23 13:16:15 +00:00
linsui
cf7eb913d9 Show all unused scanner path at once 2022-08-19 18:01:31 +08:00
Jochen Sprickerhof
abd9faf275 Merge branch 'fix_var' into 'master'
Fix variable in exception

See merge request fdroid/fdroidserver!1170
2022-08-17 10:46:41 +00:00
Jochen Sprickerhof
6ce271ac15
Fix variable in exception 2022-08-17 12:33:02 +02:00
Jochen Sprickerhof
f830390873 Merge branch 'stop-checking-build-tools-existence' into 'master'
stop checking existence for build-tools, platform-tools, tools

See merge request fdroid/fdroidserver!1165
2022-08-17 07:59:37 +00:00
proletarius101
8267fb2caf stop checking existence for build-tools, platform-tools, tools 2022-08-17 07:59:36 +00:00
Hans-Christoph Steiner
e7a7f12cae Merge branch 'ktsmaven' into 'master'
scanner: fix maven url check for kts files

See merge request fdroid/fdroidserver!1162
2022-08-08 16:06:54 +00:00
linsui
f99dbec012 scanner: fix maven url check for kts files 2022-08-08 15:52:47 +00:00
Hans-Christoph Steiner
07713af425 Merge branch 'gradle-release-checksums.py' into 'master'
update to gradle v7.5.1

See merge request fdroid/fdroidserver!1166
2022-08-08 15:51:16 +00:00
fdroid-bot
e207f45cb6 gradle v7.5.1 2022-08-08 15:37:07 +00:00
Hans-Christoph Steiner
353999146c Merge branch 'licaon-kter-master-patch-51501' into 'master'
Update approved official SPDX license tags

See merge request fdroid/fdroidserver!1164
2022-08-08 15:36:24 +00:00
Licaon_Kter
543c9fc77f Update approved official SPDX license tags 2022-08-04 10:45:41 +00:00
Jochen Sprickerhof
e7e8ad163b Merge branch 'flake8_E275' into 'master'
Fix flake8 E275 missing whitespace after keyword

See merge request fdroid/fdroidserver!1161
2022-07-31 08:02:05 +00:00
Jochen Sprickerhof
eb79522a36 Fix flake8 E275 missing whitespace after keyword 2022-07-31 09:48:14 +02:00
Jochen Sprickerhof
42ef7c3406 Merge branch 'defused_exception' into 'master'
Catch DefusedXmlException (as ValueError)

See merge request fdroid/fdroidserver!1157
2022-07-31 06:53:43 +00:00
Jochen Sprickerhof
7822db2881 Catch DefusedXmlException (as ValueError)
defusedxml can't handle the nbsp in the strings.xml (etree can).
2022-07-25 09:30:25 +02:00
Jochen Sprickerhof
7e1d974351 Reduce try/except block 2022-07-25 08:51:47 +02:00
Michael Pöhn
1151ba298f Merge branch 'exodus_scanner_logging' into 'master'
scan_binary: Log matched class

See merge request fdroid/fdroidserver!1156
2022-07-19 17:12:58 +00:00
Jochen Sprickerhof
f8452c4f0c scan_binary: Log matched class 2022-07-18 15:12:43 +02:00
Michael Pöhn
ffdd038cfa Merge branch 'finish-exodus-scanner' into 'master'
Add tests for fdroid scanner code

Closes #806, #1008, and #566

See merge request fdroid/fdroidserver!1155
2022-07-17 14:07:44 +00:00
Michael Pöhn
ab579be6b5 add some basic tests for scanner.main 2022-07-17 15:52:52 +02:00
Michael Pöhn
42d9ac446c get tests working on ci 2022-07-17 15:50:07 +02:00
Michael Pöhn
66adf4c508 add .ropeproject/ to .gitignore 2022-07-17 15:50:07 +02:00
Michael Pöhn
1c2b084410 🔧 improve scanner.scan_apk tests
Refactor test function it a TestCase and split into separate test cases.
Fix and improve tests for scanning apks with embedded apks.
2022-07-17 15:50:07 +02:00
Michael Pöhn
07a366a4d6 add tests for scanner.load_exodus_trackers_signatures 2022-07-17 15:50:07 +02:00
Michael Pöhn
544772d3ab add missing "or" to scanner cli synopsis 2022-07-17 15:50:07 +02:00
Michael Pöhn
a1677b5cb0 add test case for _exodus_compile_signatures 2022-07-17 15:50:07 +02:00
Michael Pöhn
94c9f0bef9 Merge branch 'exodus_scanner' into 'master'
Integrate Exodus

Closes #806, #1008, and #566

See merge request fdroid/fdroidserver!1137
2022-07-17 12:24:46 +00:00
Jochen Sprickerhof
3bd09ef7f4 Integrate Exodus (Closes: #566, #1008)
Code taken from:

https://github.com/Exodus-Privacy/exodus-core/blob/v1/exodus_core/analysis/static_analysis.py
2022-07-17 12:09:03 +00:00
Jochen Sprickerhof
ea9299f216 Use binary scanner with fdroid scanner path/to.apk
Closes: #806
2022-07-17 12:09:03 +00:00
Hans-Christoph Steiner
dc723e7108 Merge branch 'gradle-release-checksums.py' into 'master'
update to gradle v7.5

See merge request fdroid/fdroidserver!1153
2022-07-14 23:26:54 +00:00