Commit Graph

10089 Commits

Author SHA1 Message Date
Philipp Wolfer
1506462940 Extend asciipunct tests to check for conversion of DOT LEADER 2023-10-02 11:02:49 +02:00
Philipp Wolfer
8281bb03aa PICARD-2768: Fix loading series relationships for recordings 2023-09-29 08:59:44 +02:00
Laurent Monin
6792bff482 Merge pull request #2331 from zas/debug_envvar
In debug mode, log QT_* env vars
2023-09-27 18:31:39 +02:00
Laurent Monin
598ce73ab7 In debug mode, log QT_* env vars
It might be useful as many QT_ env vars modify the behavior of Qt and therefore Picard's behavior.


Example of output:

```
D: 16:50:10,035 tagger.__init__:325: Qt Environment: QT_ACCESSIBILITY='1' QT_QPA_PLATFORMTHEME='qt5ct'
```
2023-09-27 16:59:51 +02:00
Philipp Wolfer
c965eff013 Additional tests for win_prefix_longpath 2023-09-26 15:13:10 +02:00
Philipp Wolfer
4a056e8322 Release 2.10.0rc1 2023-09-26 07:05:53 +02:00
Philipp Wolfer
067f6237a8 Run update_constants 2023-09-26 07:04:22 +02:00
Bob Swift
ac21b878bd Highlight associated labels for items not showing highlight 2023-09-25 16:26:58 +02:00
Hosted Weblate
d1186c0747 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/app/
Translation: Picard/App
2023-09-25 14:01:20 +00:00
Philipp Wolfer
6f740a8fd9 Update picard.pot 2023-09-25 16:01:05 +02:00
Philipp Wolfer
ea73f66c40 Remove German (Swiss) translation files.
Maintaining just the slight differences in spelling and maybe some words
is difficult. If Weblate would have dedicated support for language variants
this would be possible. But currently the German (Swiss) variant is
incomplete and it is even unclear how many strings should be modified.
2023-09-25 15:59:04 +02:00
Philipp Wolfer
2381b64e35 Revert accidental translatable string change 2023-09-25 15:40:20 +02:00
Laurent Monin
f2da2b7234 Import RELEASE_* directly from respective files
Add a TODO about removing imports from `const/__init__.py`
2023-09-25 14:25:10 +02:00
Philipp Wolfer
fb7ddcc394 Fixed tabulator order in option pages 2023-09-25 07:56:08 +02:00
Laurent Monin
15bf226c84 Consistency: use utf-8 encoding name everywhere
In fact, Python codec is `utf_8` but it has aliases, `utf8' (declared as
alias) or `utf-8` (because `_` or `-` do not make difference) are
working, but we mainly use `utf-8` among the code.

See https://docs.python.org/3/library/codecs.html#standard-encodings
2023-09-25 07:44:18 +02:00
Laurent Monin
a9d4efd808 Extend string quoting guidelines
- Add a note about URI & quoting
- Add note about XML
- Clarify scope and usage if in doubt

Clarification
2023-09-25 07:44:18 +02:00
Laurent Monin
713c4355e7 More consistent string quoting 2023-09-25 07:44:18 +02:00
Bob Swift
7ea8e04f85 Get option group name from parent page name if appropriate 2023-09-25 07:33:36 +02:00
Philipp Wolfer
ab4526521c Translated using Weblate (German)
Currently translated at 100.0% (1171 of 1171 strings)

Co-authored-by: Philipp Wolfer <ph.wolfer@gmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/app/de/
Translation: Picard/App
2023-09-23 07:27:41 +00:00
Bob Swift
0b8ed2f5d1 Hide individual update items but leave plugins update check visible 2023-09-23 01:18:06 +02:00
Philipp Wolfer
118f5f7b66 Build macOS and Windows packages with libdiscid 0.6.4 2023-09-22 14:49:21 +02:00
Philipp Wolfer
2b86ff285e codacy: generally exclude "picard/resources.py" 2023-09-22 07:56:02 +02:00
Philipp Wolfer
b7d9809506 Hard coded fake "token" in unit test is not a security issue 2023-09-22 07:30:22 +02:00
Philipp Wolfer
d47cec4877 Double quote shell variables to prevent globbing and word splitting 2023-09-22 07:12:30 +02:00
Philipp Wolfer
5e3aee4a74 Removed unused import in setup.py 2023-09-22 07:09:02 +02:00
Philipp Wolfer
d28de6149d Merge pull request #2324 from zas/markdownlint_config
Markdownlint config
2023-09-22 07:03:41 +02:00
Bob Swift
bcb98d6665 Add check for missing profile_id keys 2023-09-22 06:59:41 +02:00
Laurent Monin
54ccf4ce00 Minor fixes to .md, making markdownlint happier 2023-09-21 23:57:24 +02:00
Laurent Monin
c17da75c1f Add an helper script to run codacy-analysis-cli locally
Used to validate .markdownlint.json
2023-09-21 23:56:44 +02:00
Laurent Monin
fd4dbd70ee Add a configuration for markdownlint
Ignore some warnings that are spamming the report
2023-09-21 23:55:52 +02:00
Laurent Monin
6caab73ee6 Merge pull request #2322 from zas/string_quoting
Add a section about string quoting to CONTRIBUTING
2023-09-21 23:52:38 +02:00
Laurent Monin
5db5f74cda Add a section about string quoting 2023-09-21 22:11:32 +02:00
Philipp Wolfer
377f0839cf Merge pull request #2320 from zas/caa_tidyup_3
Caa tidyup 3
2023-09-21 20:39:25 +02:00
Philipp Wolfer
2a3ad2a3f5 Fail packaging on Windows code signing errors 2023-09-21 11:08:02 +02:00
Philipp Wolfer
05d605d1d5 PICARD-2760: Use SignTool for all Windows code signing
This tool is more flexible then the than the Powershell commandlet and
unifies code signing between .exe and .appx packages.
2023-09-21 10:56:12 +02:00
Philipp Wolfer
0e1993c111 PICARD-2760: Timestamp the Windows binaries when codesigning
This ensures the final binaries are still accepted by the OS even after
the certificates have expired.
2023-09-21 10:56:12 +02:00
Laurent Monin
46eb164d71 More consistent quotes 2023-09-20 18:53:45 +02:00
Laurent Monin
738876ef01 CoverArt.retrieve(): invert the test and simplify code a bit 2023-09-20 18:53:45 +02:00
Laurent Monin
8924f7fd5a Add a comment about CoverArt.release attribute 2023-09-20 18:53:45 +02:00
Laurent Monin
e464f801f8 Improve debugging output a bit 2023-09-20 18:53:45 +02:00
Laurent Monin
b472bfe581 Merge pull request #2319 from zas/tagcaa_str_repr
TagCoverArtImage(): properly set _repr() and _str() for this subclass
2023-09-20 14:56:24 +02:00
Laurent Monin
6e0054d242 TagCoverArtImage(): properly set _repr() and _str() for this subclass
Also add matching tests
2023-09-20 13:16:01 +02:00
Laurent Monin
3018d52738 Merge pull request #2318 from zas/byebyemd5
Replace hashlib.md5() with hashlib.blake2b()
2023-09-20 01:54:45 +02:00
Laurent Monin
cbfc90f44e Replace hashlib.md5() with hashlib.blake2b()
It is faster, and more secure.
2023-09-19 17:19:26 +02:00
Philipp Wolfer
a12aa45d88 Merge pull request #2315 from phw/PICARD-1377
PICARD-1377: New plugin UI icons
2023-09-19 05:30:59 +02:00
Philipp Wolfer
6a4b869976 Plugins options: Add some spacing between buttons 2023-09-18 16:24:35 +02:00
Aerozol
9764e878af PICARD-1377: Updated plugin icons 2023-09-18 16:19:23 +02:00
Laurent Monin
768b392c2f Merge pull request #2316 from zas/python_audit
PICARD-2757: Add a command-line option to enable audit
2023-09-18 15:21:33 +02:00
Laurent Monin
255ec01cd8 Move comment where it makes more sense
Suggested by phw
2023-09-18 14:43:55 +02:00
Philipp Wolfer
31a5d273de Use raw strings to avoid double backslashes in Windows path strings 2023-09-18 12:03:16 +02:00