Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from WeblateOrg:main #186

Open
wants to merge 3,357 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3357 commits
Select commit Hold shift + click to select a range
f1e06f9
Translated using Weblate (Estonian)
Jan 20, 2025
88a71ce
Translated using Weblate (Estonian)
Jan 20, 2025
5a8c1f5
Translated using Weblate (Estonian)
Jan 20, 2025
f368de6
Translated using Weblate (Estonian)
Jan 20, 2025
f409d31
Translated using Weblate (Estonian)
Jan 20, 2025
b2ff381
Translated using Weblate (Estonian)
Jan 20, 2025
daffbeb
Translated using Weblate (Estonian)
Jan 20, 2025
086fdf7
Translated using Weblate (Estonian)
Jan 20, 2025
afe3bc4
Translated using Weblate (Estonian)
Jan 20, 2025
cf3840a
Translated using Weblate (Estonian)
Jan 20, 2025
a3f1d86
Translated using Weblate (Estonian)
Jan 20, 2025
2c6980f
Translated using Weblate (Estonian)
Jan 20, 2025
f393e6e
Translated using Weblate (Estonian)
Jan 20, 2025
2bc86d6
Translated using Weblate (Estonian)
Jan 20, 2025
e029df8
Translated using Weblate (Estonian)
Jan 20, 2025
53eb496
Translated using Weblate (Estonian)
Jan 20, 2025
9b181d5
Translated using Weblate (Estonian)
Jan 20, 2025
deb777e
Translated using Weblate (Estonian)
Jan 20, 2025
dbff560
Translated using Weblate (Estonian)
Jan 20, 2025
1555571
Translated using Weblate (Estonian)
Jan 20, 2025
ad2d45f
Translated using Weblate (Estonian)
Jan 20, 2025
7e04e82
Translated using Weblate (Estonian)
Jan 20, 2025
a1feba2
Translated using Weblate (Estonian)
Jan 20, 2025
fb5cc57
Translated using Weblate (Estonian)
Jan 20, 2025
00c23c4
Translated using Weblate (Estonian)
Jan 20, 2025
0a8fc6b
Translated using Weblate (Estonian)
Jan 20, 2025
bc3ad32
Translated using Weblate (Estonian)
Jan 20, 2025
8e5e05f
Translated using Weblate (Estonian)
Jan 20, 2025
8c4b360
Translated using Weblate (Estonian)
Jan 20, 2025
d8c2329
Translated using Weblate (Estonian)
Jan 20, 2025
7187b57
Translated using Weblate (Estonian)
Jan 20, 2025
29cba78
Translated using Weblate (Estonian)
Jan 20, 2025
50b07bd
Translated using Weblate (Estonian)
Jan 20, 2025
a07c94f
Translated using Weblate (Estonian)
Jan 20, 2025
9c898b3
Translated using Weblate (Estonian)
Jan 20, 2025
b439078
Translated using Weblate (Estonian)
Jan 20, 2025
a728f9f
Translated using Weblate (Estonian)
Jan 20, 2025
4c53633
Translated using Weblate (Estonian)
Jan 20, 2025
3e794c3
Translated using Weblate (Estonian)
Jan 20, 2025
479dda3
Translated using Weblate (Estonian)
Jan 20, 2025
a2fe3ab
Translated using Weblate (French)
ChristianWia Jan 20, 2025
bc537bc
Translated using Weblate (Turkish)
kayazeren Jan 20, 2025
7481cc6
Translated using Weblate (Norwegian Bokmål)
tkbremnes Jan 20, 2025
3851b1c
Translated using Weblate (Estonian)
Jan 20, 2025
89e2854
Translated using Weblate (Estonian)
Jan 20, 2025
f8f6a26
Translated using Weblate (French)
ChristianWia Jan 20, 2025
9f0dad1
docs: use guilabel tag
nijel Jan 20, 2025
e9bc224
docs: replace dogslow with Sentry
nijel Jan 20, 2025
0d1b543
Translated using Weblate (Chinese (Traditional Han script))
nijel Jan 20, 2025
f0ed586
Translated using Weblate (Irish)
nijel Jan 20, 2025
b03d0c9
Translated using Weblate (Tamil)
nijel Jan 20, 2025
125df83
Translated using Weblate (Irish)
nijel Jan 20, 2025
8696359
Translated using Weblate (Tamil)
nijel Jan 20, 2025
052a8d2
Translated using Weblate (Chinese (Traditional Han script))
nijel Jan 20, 2025
03d8270
docs: clarify AUDITLOG_EXPIRY description
nijel Jan 20, 2025
a095cf7
docs: fix typo
nijel Jan 20, 2025
f5d6e16
fix: fix plurals for lzh
nijel Jan 20, 2025
92b5943
Merge remote-tracking branch 'origin/weblate'
nijel Jan 20, 2025
9315508
fix(checks): catch another error in references
nijel Jan 20, 2025
ba5b454
fix(linkcheck): ignore gnu.org
nijel Jan 20, 2025
c6902d8
Translated using Weblate (Breton)
nijel Jan 20, 2025
c31f0ca
Translated using Weblate (Vietnamese)
nijel Jan 20, 2025
b8e539d
Translated using Weblate (Azerbaijani)
nijel Jan 20, 2025
069027a
Translated using Weblate (Kurdish (Central))
nijel Jan 20, 2025
4f7a276
Translated using Weblate (Spanish)
nijel Jan 20, 2025
631a7c3
Translated using Weblate (French)
nijel Jan 20, 2025
f91cf76
Translated using Weblate (Norwegian Bokmål)
nijel Jan 20, 2025
4614bef
Translated using Weblate (Romanian)
nijel Jan 20, 2025
57190b7
Translated using Weblate (Russian)
nijel Jan 20, 2025
b570bcc
Translated using Weblate (Serbian)
nijel Jan 20, 2025
db8fdc5
Translated using Weblate (Tamil)
nijel Jan 20, 2025
d23712d
Translated using Weblate (Burmese)
nijel Jan 20, 2025
0b1f42d
Translated using Weblate (Berber)
nijel Jan 20, 2025
59b6552
Translated using Weblate (Berber)
nijel Jan 20, 2025
9217b99
Translated using Weblate (Estonian)
weblate Jan 20, 2025
46eb4e0
Translated using Weblate (Uyghur)
nijel Jan 20, 2025
42141fd
Translated using Weblate (Hindi)
nijel Jan 20, 2025
a54ab0a
feat(checks): better handle markup in duplicates check
nijel Jan 20, 2025
d12141b
fix(component): commit pending changes before creating new translation
nijel Jan 20, 2025
37c0a94
docs: update documentation on configuration locations
nijel Jan 20, 2025
acfb199
fix: improve error message on failed rename
nijel Jan 20, 2025
22b6a05
feat(api): improve OpenAPI authentication description
nijel Jan 20, 2025
34b02f7
Translated using Weblate (Russian)
nijel Jan 20, 2025
42b81a4
Translated using Weblate (Ukrainian)
nijel Jan 20, 2025
c1c3cdf
Translated using Weblate (Chinese (Traditional Han script))
nijel Jan 20, 2025
a1f56cb
chore(addons): add type annotations
nijel Jan 20, 2025
a8016a8
fix(docs): udpate sphix doc URL
nijel Jan 20, 2025
da5c71a
Translated using Weblate (Chinese (Simplified Han script))
nijel Jan 20, 2025
c9dd134
Translated using Weblate (Chinese (Traditional Han script))
nijel Jan 20, 2025
17443ea
fix(docs): add missing class stub
nijel Jan 20, 2025
24d585b
Translated using Weblate (Chinese (Traditional Han script))
nijel Jan 20, 2025
4490b12
fix(docs): fix zh_Hant translation
nijel Jan 20, 2025
915c381
Translated using Weblate (German)
VfBFan Jan 21, 2025
d15b197
Translated using Weblate (Chinese (Simplified Han script))
ziweidao Jan 21, 2025
bbcb21c
Translated using Weblate (Chinese (Simplified Han script))
ziweidao Jan 21, 2025
15fb921
docs: add missing links to new rst checks
nijel Jan 21, 2025
9880e35
docs: rename file to stop annoying codespell
nijel Jan 21, 2025
cd3cfc9
fix: replace webalte typo
nijel Jan 21, 2025
be65ea3
fix: improvements in the strings
nijel Jan 21, 2025
6e9896e
docs: clarify changelog entry
nijel Jan 21, 2025
7be41bc
docs: adjust link to renamed integration
nijel Jan 21, 2025
6873d34
fix: missing stop
nijel Jan 21, 2025
5014392
docs: fix typo
nijel Jan 21, 2025
d7cb3dc
docs: link to the documentation instead of the code
nijel Jan 21, 2025
77c61d1
docs: improve wording
nijel Jan 21, 2025
424fd11
docs: update example to use current URL
nijel Jan 21, 2025
a63d3d7
fix: simplify test path
nijel Jan 21, 2025
fa5d6fd
docs: clarify same checks behavior
nijel Jan 21, 2025
3a2b366
feat(ci): include more lists from codespell
nijel Jan 21, 2025
1a325f7
chore: switch to different sphinx redirects extension
nijel Jan 21, 2025
d4354e3
chore: remove no longer used exclude
nijel Jan 21, 2025
bfc1587
chore(deps): update dependency selenium to v4.28.0 (#13605)
renovate[bot] Jan 21, 2025
b3ef4b7
chore(deps): update dependency pre-commit to v4.1.0 (#13604)
renovate[bot] Jan 21, 2025
fd3c542
feat(api): provide more detailed errors on locking
nijel Jan 21, 2025
14b3c6f
feat(machinery): automatically switch to free API for free api keys
nijel Jan 21, 2025
00d1931
feat(manage): filter out active users by default
nijel Jan 21, 2025
0896815
chore(deps): update github/codeql-action action to v3.28.2 (#13618)
renovate[bot] Jan 21, 2025
ec72b02
Translated using Weblate (Portuguese)
Jan 21, 2025
b4f1248
Translated using Weblate (Portuguese)
Jan 21, 2025
163eb05
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
1d378c5
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
f56eca8
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
65df3e1
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
a723b1f
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
a6ae66c
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
06b5a81
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
718a5c5
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
0afe53b
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
27090fe
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
375ef43
Translated using Weblate (Turkish)
kayazeren Jan 21, 2025
670c782
Add search preview to Bulk Edit Addon
meel-hd Jan 21, 2025
d992eea
Remove close preview when focus is lost.
meel-hd Jan 21, 2025
a83414c
docs: move file formats to top level navigation
nijel Jan 22, 2025
af608db
docs: simplify index entries
nijel Jan 22, 2025
d3ea1b2
feat: use finders to load static files locally
nijel Jan 22, 2025
09b467c
fix: hold component lock for component wide autotranlation
nijel Jan 22, 2025
c23ac18
chore(deps): update pre-commit hook codespell-project/codespell to v2…
renovate[bot] Jan 22, 2025
fd2f496
fix(auto-translate): make component setting really optional
nijel Jan 22, 2025
ef9668d
chore(deps): update mysql docker tag to v9.2.0 (#13621)
renovate[bot] Jan 22, 2025
8bd9bfc
chore(deps): update dependency boto3-stubs to v1.36.3 (#13620)
renovate[bot] Jan 22, 2025
c96b2e2
Translated using Weblate (Italian)
ppasserini Jan 22, 2025
48f468d
Translated using Weblate (Croatian)
milotype Jan 22, 2025
a015de9
Translated using Weblate (Croatian)
milotype Jan 22, 2025
ce216a3
Translated using Weblate (Italian)
ppasserini Jan 22, 2025
8035ab0
Translated using Weblate (Chinese (Simplified Han script))
ziweidao Jan 22, 2025
e333b7a
Translated using Weblate (Croatian)
milotype Jan 22, 2025
584f7de
Translated using Weblate (Croatian)
milotype Jan 22, 2025
1a9bed8
Translated using Weblate (Croatian)
milotype Jan 22, 2025
72fe4cb
Translated using Weblate (Croatian)
milotype Jan 22, 2025
89d61c5
Translated using Weblate (Croatian)
milotype Jan 22, 2025
52ab91e
Translated using Weblate (Croatian)
milotype Jan 22, 2025
916f634
fix(auth): list localized team names
nijel Jan 22, 2025
e08e588
chore(deps): update github/codeql-action action to v3.28.3 (#13629)
renovate[bot] Jan 22, 2025
15d4ef9
chore(deps): update dependency @sentry/browser to v8.51.0 (#13630)
renovate[bot] Jan 23, 2025
21b9223
fix: ignore error logger for sentry
nijel Jan 23, 2025
e1aef4f
chore(deps): update dependency boto3-stubs to v1.36.4 (#13631)
renovate[bot] Jan 23, 2025
eabe94e
fix: bring back top users to stats page
nijel Jan 23, 2025
82f5512
feat(machinery): provide friendly error message for 456
nijel Jan 23, 2025
141cda0
fix: include total_translations in info context
nijel Jan 23, 2025
64ee224
fix: disable propagation on generate add-on
nijel Jan 23, 2025
9734b8a
fix(upload): select_for_update all translation units
nijel Jan 23, 2025
5b9fc8e
fix: update list of openai models
nijel Jan 23, 2025
117c227
fix: prefer cheaper models
nijel Jan 23, 2025
c59553c
feat(machinery): detect OpenAI rate limiting errors
nijel Jan 23, 2025
4176661
chore: remove no longer needed pin
nijel Jan 23, 2025
b4c476f
feat(ci): enforce documentation builds for all languages
nijel Jan 23, 2025
88e668f
feat: change config option to enable bbcode Check via a flag (#13551)
gersona Jan 23, 2025
862a5cb
chore(forms): remove get_search_query api
nijel Jan 23, 2025
202520b
feat(auth): make User.objects.get_or_create compatible with Django one
nijel Jan 23, 2025
13f1f07
chore(deps): update Django dependencies
nijel Jan 23, 2025
d7121ca
feat: improve language mapping for Azure AI Translator
nijel Jan 23, 2025
1b70f9b
Translated using Weblate (Danish)
Jan 22, 2025
02f2d49
Translated using Weblate (Croatian)
milotype Jan 23, 2025
94372a2
Translated using Weblate (Danish)
Jan 22, 2025
1edca23
Translated using Weblate (French)
ChristianWia Jan 23, 2025
b5351e9
Translated using Weblate (Croatian)
milotype Jan 23, 2025
89f3872
chore(deps): update github/codeql-action action to v3.28.4 (#13645)
renovate[bot] Jan 23, 2025
934281f
chore(deps): update dependency selenium to v4.28.1 (#13642)
renovate[bot] Jan 23, 2025
551622e
Translated using Weblate (Chinese (Simplified Han script))
ziweidao Jan 24, 2025
387168c
Translated using Weblate (Chinese (Simplified Han script))
ziweidao Jan 24, 2025
6f8956f
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9…
renovate[bot] Jan 24, 2025
ca806e4
chore(deps): update dependency boto3-stubs to v1.36.5 (#13648)
renovate[bot] Jan 24, 2025
90756d1
chore(deps): update fossas/fossa-action action to v1.5.0 (#13651)
renovate[bot] Jan 24, 2025
9fbf035
Translated using Weblate (Slovak)
Jan 24, 2025
7a91108
chore(deps): update github/codeql-action action to v3.28.5 (#13653)
renovate[bot] Jan 24, 2025
f601814
Translated using Weblate (Greek)
VisionR1 Jan 24, 2025
88deea4
Translated using Weblate (French)
ChristianWia Jan 24, 2025
5d35d0c
chore(deps): update dependency boto3-stubs to v1.36.6 (#13656)
renovate[bot] Jan 25, 2025
c3fb30a
chore(deps): update dependency stylelint to v16.14.0 (#13658)
renovate[bot] Jan 25, 2025
5da31d4
Translated using Weblate (English (United Kingdom))
andibing Jan 25, 2025
e983b8e
Translated using Weblate (Russian)
Blueberryy Jan 25, 2025
dc329fb
Translated using Weblate (English (United Kingdom))
andibing Jan 25, 2025
767df3c
chore(js): update vendored libraries (#13660)
weblate Jan 26, 2025
d41380f
chore(deps): update lockfile
nijel Jan 26, 2025
a18f6e5
Translated using Weblate (Russian)
Blueberryy Jan 26, 2025
9327cce
Translated using Weblate (Russian)
Blueberryy Jan 26, 2025
c747a7e
Translated using Weblate (Russian)
Blueberryy Jan 26, 2025
b2e5adf
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
5794711
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
80be3ef
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
5e08044
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
12f1dcb
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
6e70e41
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
8b556d4
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
df68d45
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
250d71b
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
79c429c
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
09c1fe3
Translated using Weblate (Chinese (Traditional Han script))
pan93412 Jan 26, 2025
2997fa9
docs: update mysql doc link
nijel Jan 27, 2025
8ce003c
fix(css): Fixed input color to match theme (#13650)
meel-hd Jan 27, 2025
eb11a8a
chore: extend LargePagination size
nijel Jan 27, 2025
09dda71
fix(unit): avoid commiting each propagated change separately
nijel Jan 27, 2025
b695afc
chore(deps): loosen boto3 dependency range
nijel Jan 27, 2025
79244df
feat(api): add CSV renderer
nijel Jan 27, 2025
cd28dee
chore: update mypy untyped modules
nijel Jan 27, 2025
ab454fe
feat: use large pagination for statistics endpoint
nijel Jan 27, 2025
f4b8ef2
fix(translate): remove spurious Singular input
nijel Jan 27, 2025
7ed19be
fix: use "contributor license agreement" instead of "contributor agre…
nijel Jan 21, 2025
f29b212
chore(deps): update dependency stylelint to v16.14.1
renovate[bot] Jan 27, 2025
846dd4f
feat(search): separate timestamp from contributor search
nijel Jan 27, 2025
0b8be2a
chore(change): factor out users counting
nijel Jan 27, 2025
50cabd8
feat(metrics): collect total number of contributors
nijel Jan 27, 2025
916e9db
Translated using Weblate (French)
ldmpub Jan 27, 2025
a1f4060
Translated using Weblate (Spanish)
MiguelPL4 Jan 27, 2025
2182c6b
chore(deps): update github/codeql-action action to v3.28.6 (#13676)
renovate[bot] Jan 28, 2025
642d07d
chore(deps): update dependency boto3-stubs to v1.36.7 (#13675)
renovate[bot] Jan 28, 2025
68bcaa5
docs(linkcheck): update list of excluded URLs
nijel Jan 28, 2025
524eee9
Translated using Weblate (Russian)
Blueberryy Jan 28, 2025
9b7ee05
Translated using Weblate (Dutch)
DiGro Jan 28, 2025
e16187c
Translated using Weblate (Dutch)
DiGro Jan 28, 2025
72685f6
Translated using Weblate (Portuguese (Brazil))
rffontenelle Jan 28, 2025
2b81945
Translated using Weblate (Russian)
Blueberryy Jan 28, 2025
5a689ff
chore(ci): do not use deprecated methods for postgresql apt repo
nijel Jan 28, 2025
01f43e8
chore(lang): adjust is_base to expect set
nijel Jan 28, 2025
0de9067
feat: Updated language aliases handling (#13534)
gersona Jan 28, 2025
d8d8182
chore: log removal events
nijel Jan 28, 2025
f1106be
chore(lang): move CJK detection to the language model
nijel Jan 28, 2025
63c102e
fix: match displayed percent with progress bar
nijel Jan 28, 2025
482f7e4
docs: add missing stop
nijel Jan 28, 2025
82355cd
chore: update localized doc links
nijel Jan 28, 2025
e845446
fix(docs): update tamil sphinx link
nijel Jan 28, 2025
dd135b9
fix: do not show translation as completed when there are failing checks
nijel Jan 28, 2025
d395942
Fix signup human verification text color
meel-hd Jan 28, 2025
765b9ec
chore(deps): update dependency pylint to v3.3.4 (#13687)
renovate[bot] Jan 28, 2025
c36bb4b
chore(deps): update dependency @sentry/browser to v8.52.0 (#13688)
renovate[bot] Jan 28, 2025
b86c8e6
chore(deps): update pre-commit hook codespell-project/codespell to v2…
renovate[bot] Jan 28, 2025
94dfab0
chore(deps): update dependency weblate-language-data to v2025 (#13690)
renovate[bot] Jan 28, 2025
d1f57b7
Translated using Weblate (Irish)
nijel Jan 29, 2025
c4e0926
chore: type annotate dashboard
nijel Jan 28, 2025
d788011
docs(ga): fix references
nijel Jan 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# SPDX-License-Identifier: GPL-3.0-or-later

test_patterns = [
"tests/**",
"**/test_*.py",
"tests.py"
"tests.py",
"tests/**"
]
version = 1

Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: CC0-1.0

*.rst @orangesunny @comradekingu
*.rst @orangesunny @comradekingu @AliceVisek
/client/ @meel-hd
*.js @meel-hd
*.css @meel-hd
1 change: 0 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
github: WeblateOrg
open_collective: weblate
liberapay: Weblate
polar: WeblateOrg
custom: https://weblate.org/donate/
33 changes: 9 additions & 24 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,14 @@
## Proposed changes

<!--
Describe the big picture of your changes here to communicate to the maintainers
why we should accept this pull request. If it fixes a bug or resolves a feature
request, be sure to link to that issue.
-->
♥ Thank you for submitting a pull request. ♥

## Checklist
We will review it in a timely manner, but please follow the CI checks to see
any problems it might discover.

<!--
Put an `x` in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.
-->
Want to make a perfect pull request?

- [ ] Lint and unit tests pass locally with my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [ ] I have added documentation to describe my feature.
- [ ] I have squashed my commits into logic units.
- [ ] I have described the changes in the commit messages.

## Other information

<!--
Any other information that is important to this PR such as screenshots of how
the component looks before and after the change.
• Keep the pull request reasonably sized. Creating more pull request is sometimes better.
• Describe what the pull request does and what issues it does address.
• Ensure that lint and unit tests pass.
• Add tests that prove that the fix is effective or that the new feature works.
• Describe any new features or changed behavior in the documentation.
-->
32 changes: 27 additions & 5 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,28 @@
"^requirements-.*\\.txt$"
]
},
"pep723": {
"fileMatch": [
"^scripts/.*\\.py$"
]
},
"packageRules": [
{
"matchDatasources": [
"git-refs"
],
"automerge": false,
"schedule": "on the last day of the month"
"schedule": "on the first day of the month"
},
{
"matchDatasources": [
"helm"
],
"automerge": false,
"schedule": "on the last day of the month"
"schedule": "on the first day of the month"
},
{
"matchPaths": [
"matchFileNames": [
"**/package.json"
],
"automerge": false
Expand Down Expand Up @@ -68,8 +73,9 @@
}
}
],
"regexManagers": [
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"\\.pre-commit-config\\.yaml"
],
Expand All @@ -80,6 +86,7 @@
"versioningTemplate": "pep440"
},
{
"customType": "regex",
"fileMatch": [
"\\.pre-commit-config\\.yaml"
],
Expand All @@ -90,8 +97,9 @@
"versioningTemplate": "npm"
},
{
"customType": "regex",
"fileMatch": [
"^Dockerfile$"
"^.*Dockerfile$"
],
"matchStrings": [
"ENV WEBLATE_VERSION=(?<currentValue>.*?)\\n"
Expand All @@ -101,6 +109,19 @@
"versioningTemplate": "pep440"
},
{
"customType": "regex",
"fileMatch": [
"^.*Dockerfile$"
],
"matchStrings": [
"ENV UV_VERSION=(?<currentValue>.*?)\\n"
],
"depNameTemplate": "uv",
"datasourceTemplate": "pypi",
"versioningTemplate": "pep440"
},
{
"customType": "regex",
"fileMatch": [
"(^|/)Chart\\.yaml$"
],
Expand All @@ -109,6 +130,7 @@
]
},
{
"customType": "regex",
"fileMatch": [
"^\\.github/workflows/[^/]+\\.ya?ml$"
],
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,32 @@ jobs:
PYTHONUNBUFFERED: 1
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: ''
cache-suffix: '3.12'
cache-suffix: '3.13'
- name: Start services
run: ./ci/services-up $CI_DATABASE
- name: Install apt dependencies
run: sudo ./ci/apt-install $CI_DATABASE
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: '3.13'
- name: Used versions
run: ./ci/print-versions
- name: Install Python dependencies
run: ./ci/pip-install latest
- name: Prepare database
run: ./ci/prepare-database
- name: Migrate database
run: coverage run ./manage.py migrate --noinput --traceback
run: uv run --no-sources ./manage.py migrate --noinput --traceback
- name: Generate OpenAPI
run: |
echo "::add-matcher::.github/matchers/spectacular.json"
./manage.py spectacular --urlconf="weblate.api.urls" > weblate-openapi.yaml
# TODO: add --fail-on-warn once OpenAPI is without warnings
uv run --no-sources ./manage.py spectacular --skip-checks --validate --urlconf="weblate.api.urls" > weblate-openapi.yaml
echo "::remove-matcher owner=spectacular::"
- name: openapi-lint
run: npx @redocly/cli lint --format github-actions weblate-openapi.yaml
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
uses: actions/checkout@v4
- name: Install apt dependencies
run: sudo ./ci/apt-install
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: ''
cache-suffix: '3.12'
cache-suffix: '3.13'
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Used versions
run: ./ci/print-versions
- name: Install Python dependencies
Expand Down
44 changes: 38 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,61 @@ permissions:
contents: read

jobs:
build:
list-languages:
runs-on: ubuntu-24.04
outputs:
languages: ${{ steps.list.outputs.languages }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: uv run --no-project scripts/list-documentation-languages.py >>"$GITHUB_OUTPUT"
id: list

translations:
runs-on: ubuntu-24.04
needs:
- list-languages
name: Sphinx
strategy:
fail-fast: false
matrix:
language: ${{ fromJson(needs.list-languages.outputs.languages) }}
env:
READTHEDOCS_LANGUAGE: ${{ matrix.language }}

steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install apt dependencies
run: |
sudo apt update
sudo apt install -y graphviz
- name: Install Python dependencies
run: uv pip install --system -r docs/requirements.txt
run: uv sync --no-sources --only-group docs --frozen
- name: Sphinx build
run: |
. .venv/bin/activate
echo "::add-matcher::.github/matchers/sphinx.json"
./ci/run-docs
echo "::remove-matcher owner=sphinx::"
- uses: actions/upload-artifact@v4.4.3
- uses: actions/upload-artifact@v4.6.0
with:
name: Documentation
name: Documentation ${{ matrix.language }}
path: docs/_build/html

build:
runs-on: ubuntu-24.04
name: Sphinx
needs:
- translations
steps:
# This is dependency only job to collect all test results
- run: echo
6 changes: 3 additions & 3 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ permissions:

jobs:
fossa-scan:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.repository == 'WeblateOrg/weblate' }}
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Run FOSSA Scan
uses: fossas/fossa-action@v1.4.0
uses: fossas/fossa-action@v1.5.0
with:
api-key: ${{secrets.fossaApiKey}}

- name: Run FOSSA Test
uses: fossas/fossa-action@v1.4.0
uses: fossas/fossa-action@v1.5.0
with:
api-key: ${{secrets.fossaApiKey}}
run-tests: true
15 changes: 7 additions & 8 deletions .github/workflows/licenses-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,27 @@ on:
- scripts/generate-license-data
- scripts/spdx-license-list

permissions:
contents: read

jobs:
licenses-update:
runs-on: ubuntu-24.04
permissions:
contents: write
pull-requests: write

steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.WEBLATE_CI_TOKEN }}
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: astral-sh/setup-uv@v3
- name: Install dependencies
run: uv pip install --system $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml)
python-version: '3.13'
- uses: astral-sh/setup-uv@v5
- run: ./scripts/generate-license-data
- name: Update renovate branch
if: github.ref != 'refs/heads/main'
Expand All @@ -50,6 +49,6 @@ jobs:
branch: create-pull-request/licenses-update
title: 'utils: Update SPDX license data'
commit-message: 'utils: Update SPDX license data'
token: ${{ secrets.WEBLATE_CI_TOKEN }}
labels: |
dependencies
automerge
12 changes: 5 additions & 7 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ on:
push:
paths:
- docs/**.rst
- docs/requirements.txt
- .github/workflows/linkcheck.yml
pull_request:
paths:
- docs/**.rst
- docs/requirements.txt
- .github/workflows/linkcheck.yml
schedule:
- cron: 30 5 * * *
Expand All @@ -31,17 +29,17 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: astral-sh/setup-uv@v3
python-version: '3.13'
- uses: astral-sh/setup-uv@v5
- name: Install apt dependencies
run: |
sudo apt update
sudo apt install -y graphviz
- name: Install Python dependencies
run: |
uv pip install --system -r docs/requirements.txt
run: uv sync --no-sources --only-group docs --frozen
- name: Sphinx linkcheck
run: |
. .venv/bin/activate
./ci/run-docs linkcheck
- name: Sphinx linkcheck collect
if: always()
Expand All @@ -51,7 +49,7 @@ jobs:
sed 's@^@docs/@' docs/_build/linkcheck/output.txt
echo "::remove-matcher owner=sphinx::"
echo "::remove-matcher owner=sphinx-warn::"
- uses: actions/upload-artifact@v4.4.3
- uses: actions/upload-artifact@v4.6.0
if: always()
with:
name: Linkcheck report
Expand Down
Loading