Commit graph

143 commits

Author SHA1 Message Date
qwerty287 f88c70b55e
Rename to pipeline in DB and JSONs (#1296)
Closes #1282 

Follow-up to #1224, addresses #745

- changes JSON fields
- adds migration to rename columns
- fixes some comments
2022-10-22 15:54:43 +02:00
Linerly 1114595078 Added translation using Weblate (Indonesian) 2022-10-22 08:42:39 +00:00
Lukas a441281bf9
Make submit buttons green and add forms (#1302)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-22 08:56:23 +02:00
Lukas 5bcb939bce
Make pipeline steps collapsible (#1304)
Closes #948
2022-10-21 22:09:36 +02:00
Lukas 44a63b928d
Add title to docs links (#1298) 2022-10-21 18:57:58 +02:00
Divya Jain dcedddb2f2
Fix pipeline manual trigger on web (#1307)
Fixed broken `Run pipeline` button on repo

Co-authored-by: Divya Jain <dvjn.dev+git@gmail.com>
2022-10-21 17:39:19 +02:00
Lauris BH 76ecb9cd92 Translated using Weblate (Latvian)
Currently translated at 100.0% (210 of 210 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-21 02:11:20 +00:00
6543 e8f993bde6 Translated using Weblate (German)
Currently translated at 100.0% (210 of 210 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-21 02:11:20 +00:00
qwerty287 f1d6607db2 Translated using Weblate (German)
Currently translated at 100.0% (209 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-19 12:10:50 +00:00
admin e76b542cd7 Translated using Weblate (Chinese (Simplified))
Currently translated at 86.1% (180 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-10-19 12:10:50 +00:00
admin 016f85abeb Translated using Weblate (French)
Currently translated at 85.6% (179 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-10-19 12:10:50 +00:00
admin 456500a2ef Translated using Weblate (Italian)
Currently translated at 21.0% (44 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-10-19 12:10:50 +00:00
Divya Jain ed7ecb060e
Navbar Icons Improvements (#1246)
Some improvements to the navbar icons.

Changes Implemented:
- Increase touch target size for navbar icons.
- Make icon colors and hover effect consistent with navbar links 
- Added title for all navbar icons
- New key (user.settings) in locales
- Updated Dark and Light Mode values in locales
- Minor tweaks in active builds indicator
- New component NavbarIcon (because trying to match IconButton size and
colors felt hacky at best)

Co-authored-by: Divya Jain <dvjn.dev+git@gmail.com>
2022-10-19 14:10:40 +02:00
admin aba8b9bd1e Translated using Weblate (German)
Currently translated at 100.0% (209 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-19 07:26:57 +00:00
Lauris BH 143425f2b4 Translated using Weblate (Latvian)
Currently translated at 100.0% (209 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-18 13:39:41 +00:00
admin 6fec0c08c4 Translated using Weblate (Latvian)
Currently translated at 100.0% (209 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-18 13:39:41 +00:00
qwerty287 849e05bb8b
Rename build to pipeline in code (#1224)
Ref:  #745

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2022-10-18 03:24:12 +02:00
qwerty287 cda18edeef Translated using Weblate (German)
Currently translated at 100.0% (209 of 209 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-16 14:14:48 +00:00
6543 51450f3085 Translated using Weblate (German)
Currently translated at 100.0% (206 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-14 17:50:07 +00:00
Lauris BH 8d6573a5f1
Refactor badge generation page, add HTML option (#1251)
* Adds HTML badge generation
* Allows to generate badge for specific branch
* Remembers last used option for badge syntax for current browser
* Fixes base URL when custom port is used

Screenshot:

![attels](https://user-images.githubusercontent.com/165205/195311734-6db0e85e-f659-486f-824f-4cabb659b81a.png)

Co-authored-by: 6543 <6543@obermui.de>
2022-10-14 19:50:01 +02:00
Anonymous fe6706adb2 Translated using Weblate (Chinese (Simplified))
Currently translated at 85.9% (177 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-10-14 16:55:09 +00:00
Anonymous 3e320d4cfb Translated using Weblate (Italian)
Currently translated at 21.3% (44 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-10-14 16:55:09 +00:00
Anonymous bc40f26b2d Translated using Weblate (French)
Currently translated at 87.8% (181 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-10-14 16:55:06 +00:00
Anonymous 6bbe5b9d76 Translated using Weblate (Spanish)
Currently translated at 0.0% (0 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
2022-10-14 16:55:05 +00:00
Anonymous 015c56b085 Translated using Weblate (Latvian)
Currently translated at 91.2% (188 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-14 16:55:03 +00:00
Anonymous 37332b8712 Translated using Weblate (German)
Currently translated at 91.2% (188 of 206 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-14 16:55:02 +00:00
Lukas 9871b3cc8c
Add titles for IconButtons (#1245) 2022-10-08 19:06:53 +02:00
Divya Jain 57ed64e1ea
Imporve Navbar UI (#1235)
- Improved padding
- Grouped links together on the left and icons on the right
- Updated navbar link hover effect
- Moved account icon to the rightmost place (as in almost every other
application)
- Rounded account icon to make it consistent with rest of the icon
buttons

Co-authored-by: Divya Jain <dvjn.dev+git@gmail.com>
2022-10-08 15:51:12 +02:00
Lukas 6397965406
Remove unused eslint-disable directives (#1243) 2022-10-08 14:26:24 +02:00
Lukas 687611b682
Use html buttons to allow keyboard navigation (#1242) 2022-10-08 12:51:21 +02:00
[X] b4d89a1cce
Add ability to trigger manual builds (#1156)
closes #83 
closes #240 

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-27 11:05:00 +02:00
Michael 1f3b6f717b Translated using Weblate (French)
Currently translated at 96.2% (181 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-23 14:11:00 +00:00
Anbraten 54fd85a980 Merge remote-tracking branch 'weblate/master' 2022-09-20 20:05:19 +02:00
qwerty287 00a475f605
Don't show "changed files" if event can't have them (#1191)
Closes #1190
2022-09-16 17:04:44 +02:00
胡昂 927d1cdddc Translated using Weblate (Chinese (Simplified))
Currently translated at 94.1% (177 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-15 12:11:00 +00:00
Daniele Tricoli 66f666ab35 Translated using Weblate (Italian)
Currently translated at 23.4% (44 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-09-15 12:11:00 +00:00
Michael 8fa3b48c51 Translated using Weblate (French)
Currently translated at 88.2% (166 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-15 12:11:00 +00:00
IamIpanda 4cbee0fde2 Translated using Weblate (Chinese (Simplified))
Currently translated at 93.6% (176 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-11 02:42:28 +00:00
sbchild c52939e464 Translated using Weblate (Chinese (Simplified))
Currently translated at 43.0% (81 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-09 05:42:27 +00:00
qwerty287 b3ac79d499 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-09 05:42:26 +00:00
Michael 6d51ba426a Translated using Weblate (French)
Currently translated at 51.0% (96 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-09 05:42:26 +00:00
sbchild 876cbce0f5 Added translation using Weblate (Chinese (Simplified)) 2022-09-07 13:55:30 +00:00
Daniele Tricoli 05d660f27a Translated using Weblate (Italian)
Currently translated at 18.6% (35 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-09-05 21:42:30 +00:00
Dylan 80cb032606 Translated using Weblate (French)
Currently translated at 26.0% (49 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-05 21:42:30 +00:00
Lauris BH dbfa966943 Translated using Weblate (Latvian)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-09-05 21:42:29 +00:00
admin 9379fdc066 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-05 21:42:25 +00:00
qwerty287 fc9a9d1fc5 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-05 21:42:25 +00:00
qwerty287 52d3652f2e
Fetch repositories with remote ID if possible (#1078)
Use IDs of the forge to fetch repositories instead of their names and owner names. This improves handling of renamed and transferred repos.

TODO

- [ ] try to support as many forges as possible
    - [x] Gogs (no API)
    - [ ] Bitbucket Server
    - [x] Coding (no API?)
- [x] update repo every time it is fetched or received from the forge
- [x] if repo remote IDs are not available, use owner / name to get it
- [x] handle redirections (redirect a renamed repo to its new path)
- [x] ~~pull all repos once during migration to update ID (?)~~ issue fixed by on-demand loading of remote IDs
- [x] handle redirections in web UI
- [ ] improve handling of hooks after a repo was renamed (currently it checks for a redirection to the repo)
- [x] tests
- [x] `UNIQUE` constraint for remote IDs after migration shouldn't work (all repos have an empty string as remote ID)

close #854
close #648 partial
close https://codeberg.org/Codeberg-CI/feedback/issues/46

Possible follow-up PRs
- apply the same scheme on everything fetched from the remote (currently only users)

Co-authored-by: 6543 <6543@obermui.de>
2022-09-05 17:08:51 +02:00
6543 7778f7dc64 Translated using Weblate (German)
Currently translated at 99.4% (187 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-04 18:03:34 +00:00
admin 05dc58e667 Added translation using Weblate (Italian) 2022-09-03 21:23:43 +00:00