Jason Song
04d72d3500
refactor: rename tables to bot_*
2022-11-29 12:34:23 +08:00
Jason Song
66b558017f
Merge branch 'main' into feature/bots
2022-11-28 17:23:53 +08:00
flynnnnnnnnnn
e81ccc406b
Implement FSFE REUSE for golang files ( #21840 )
...
Change all license headers to comply with REUSE specification.
Fix #16132
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2022-11-27 18:20:29 +00:00
Jason Song
ef4b3673dd
chore: golang lint
2022-11-26 22:12:52 +08:00
Jason Song
dc48bf21c6
chore: add copyright
2022-11-26 21:33:05 +08:00
Jason Song
0bd9553219
chore: golang lint
2022-11-26 20:14:03 +08:00
zeripath
d7f12af805
Prevent NPE if trying to restore an already restored deleted branch ( #21940 )
...
If a deleted-branch has already been restored, a request to restore it
again will cause a NPE. This PR adds detection for this case, but also
disables buttons when they're clicked in order to help prevent
accidental repeat requests.
Fix #21930
Signed-off-by: Andrew Thornton <art27@cantab.net >
2022-11-25 20:58:20 +00:00
Jason Song
378e1f8d01
chore: fix problems caused by rebase
2022-11-25 17:58:34 +08:00
Jason Song
295a7f68c8
feat: update job info
2022-11-25 17:48:48 +08:00
Jason Song
1886156329
chore: remove outdated todos
2022-11-25 17:48:48 +08:00
Lunny Xiao
324d6711da
permission check
2022-11-25 17:48:48 +08:00
Jason Song
ea1bc1b662
chore: replace with code.gitea.io/bots-proto-go
2022-11-25 17:48:48 +08:00
Lunny Xiao
2ecb59c092
rename builds -> bots
2022-11-25 17:48:48 +08:00
Jason Song
736275f0b1
feat: support cancel button
2022-11-25 17:48:48 +08:00
Lunny Xiao
9a45572ce2
Support bot site
2022-11-25 17:48:47 +08:00
Jason Song
a1ddfb8200
feat: use new FullSteps
2022-11-25 17:48:47 +08:00
Lunny Xiao
f55253e81d
Support clone private repository in runner
2022-11-25 17:48:47 +08:00
fuxiaohei
e218b6f1d2
feat(runner-view): add pagination for jobs in runner details page
2022-11-25 17:48:47 +08:00
fuxiaohei
0c3f283a84
fix(runner-view): missing runner delete modal and routing
2022-11-25 17:48:47 +08:00
Jason Song
0b62e1da74
feat: rerun jobs
2022-11-25 17:48:47 +08:00
fuxiaohei
8c3ed11ed9
feat(runner-view): add task list in runnder details page, in admin
2022-11-25 17:48:47 +08:00
Jason Song
64eb15b73c
fix: show block icon
2022-11-25 17:48:47 +08:00
Jason Song
b1da53286d
feat: show step duration
2022-11-25 17:48:46 +08:00
Jason Song
30df383ca0
feat: fix Ln number
2022-11-25 17:48:46 +08:00
fuxiaohei
6a0614f4a5
feat(runner): add repo runners ui pages
2022-11-25 17:48:46 +08:00
fuxiaohei
888b4c8313
feat(runner): finish org runners ui
2022-11-25 17:48:46 +08:00
Lunny Xiao
e5b835cf52
current page
2022-11-25 17:48:46 +08:00
wxiaoguang
ea5e769428
fix build view ui
2022-11-25 17:48:46 +08:00
Lunny Xiao
b5520f098f
Some improvements
2022-11-25 17:48:46 +08:00
Lunny Xiao
8ec691f3ce
Almost finished
2022-11-25 17:48:46 +08:00
Lunny Xiao
5b55fd0d36
org secrets
2022-11-25 17:48:46 +08:00
Lunny Xiao
fa5b8e9eba
org secrets
2022-11-25 17:48:46 +08:00
Lunny Xiao
da981db596
finish adding and deleting secret for repository settting
2022-11-25 17:48:46 +08:00
Lunny Xiao
ab4f539453
add models and services
2022-11-25 17:48:46 +08:00
Jason Song
6531738b2e
fix: builds UI
2022-11-25 17:48:46 +08:00
Jason Song
dee4f2470b
feat: inner build view UI
2022-11-25 17:48:46 +08:00
Jason Song
3d4d44dadf
fix: use index of run
2022-11-25 17:48:46 +08:00
fuxiaohei
25fe4f6d9e
feat(runner): make admin runner template as common template, use for org runners setting
2022-11-25 17:48:46 +08:00
Jason Song
feab4b1601
feat: update task status
2022-11-25 17:48:45 +08:00
Lunny Xiao
b65e263f92
Fix filter count
2022-11-25 17:48:45 +08:00
fuxiaohei
38b36edc5c
feat(runner): add runner page in repo and org settings
2022-11-25 17:48:45 +08:00
Lunny Xiao
3518c098b9
Improve ui for builds
2022-11-25 17:48:45 +08:00
Lunny Xiao
d69423a3b0
UI improvement
2022-11-25 17:48:45 +08:00
Jason Song
8dbe30dff9
feat: tranfer log to storage
2022-11-25 17:48:45 +08:00
Jason Song
d2f8d5ded1
fix: use file name for log
2022-11-25 17:48:45 +08:00
Jason Song
dd5b2c5dfd
feat: optimize log indexes
2022-11-25 17:48:45 +08:00
Jason Song
d7b99e0028
feat: use dbfs to store log
2022-11-25 17:48:45 +08:00
fuxiaohei
f633ec9704
feat(runner): create new token for creating new runner
2022-11-25 17:48:45 +08:00
Lunny Xiao
243c1e5134
Add workflow
2022-11-25 17:48:45 +08:00
Lunny Xiao
f75a4abc5d
build UI
2022-11-25 17:48:45 +08:00