forgejo/models
puni9869 ab388deb0e
Allow editing push mirrors after creation ()
Allow users to edit the sync interval for existing push mirrors.
Currently, there is no way to modify the interval once the mirror is
created.
<details>
  <summary>Screenshots</summary>
  
## Before
<img width="936" alt="Screenshot 2023-07-26 at 9 31 21 AM"
src="https://github.com/go-gitea/gitea/assets/80308335/35b8a40c-4320-474c-a866-1dea0f1fa0de">


## After
<img width="945" alt="Screenshot 2023-07-26 at 9 44 40 AM"
src="https://github.com/go-gitea/gitea/assets/80308335/ee12e12f-0f68-4feb-90eb-33366f5997d3">

### On hover

<img width="247" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2f32de45-bd50-4150-9623-3be2ef3ea7f8">
<img width="237" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/49f4ab4d-ccff-4489-80ce-a9788a73c3bb">
<img width="245" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/165fc888-9d48-438a-b730-d4beb12122af">

### Edit modal
<img width="905" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2a7ca24b-4f36-4e0e-9799-39f2ecc46413">

### Only valid times are allowed
<img width="728" alt="Screenshot 2023-07-26 at 9 50 01 AM"
src="https://github.com/go-gitea/gitea/assets/80308335/ced6d330-c235-4e29-8f17-28daddcf1444">
<img width="853" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/8636f62a-70d1-4684-a3e8-b205adc03580">

</details>
Fixes 

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-08-01 16:00:59 +00:00
..
actions Fix wrong workflow status when rerun a job in an already finished workflow () 2023-07-25 09:13:36 +00:00
activities Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
admin Replace interface{} with any () 2023-07-04 18:36:08 +00:00
asymkey Update tool dependencies, lock govulncheck and actionlint () 2023-07-09 11:58:06 +00:00
auth Remove "misc" scope check from public API endpoints () 2023-07-26 02:53:31 +00:00
avatars Avoid warning for system setting when start up () 2023-02-24 18:23:13 +08:00
db Refactor and enhance issue indexer to support both searching, filtering and paging () 2023-07-31 06:28:53 +00:00
dbfs Fix content holes in Actions task logs file () 2023-06-28 19:07:29 +02:00
fixtures Fix access check for org-level project () 2023-07-29 14:13:24 +00:00
git Some fixes of the prompt of new branches () 2023-08-01 07:25:11 +00:00
issues Refactor and enhance issue indexer to support both searching, filtering and paging () 2023-07-31 06:28:53 +00:00
migrations Fix typo in metadata () 2023-07-30 23:54:22 +00:00
organization Remove unused code () 2023-07-06 21:52:41 +00:00
packages Test if container blob is accessible before mounting () 2023-07-09 11:24:43 +00:00
perm some less naked returns () 2023-07-04 15:52:33 +00:00
project Update xorm version () 2023-07-25 20:27:44 +00:00
pull refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
repo Allow editing push mirrors after creation () 2023-08-01 16:00:59 +00:00
secret Support configuration variables on Gitea Actions () 2023-06-20 22:54:15 +00:00
shared/types Display owner of a runner as a tooltip instead of static text () 2023-05-12 08:43:27 +00:00
system Replace interface{} with any () 2023-07-04 18:36:08 +00:00
unit Rewrite logger system () 2023-05-21 22:35:11 +00:00
unittest Replace interface{} with any () 2023-07-04 18:36:08 +00:00
user Fix API leaking Usermail if not logged in () 2023-07-31 01:18:38 +00:00
webhook Replace interface{} with any () 2023-07-04 18:36:08 +00:00
error.go Sync branches into databases () 2023-06-29 10:03:20 +00:00
fixture_generation.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
fixture_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
main_test.go Merge setting.InitXXX into one function with options () 2023-05-04 11:55:35 +08:00
migrate.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
migrate_test.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
org.go refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
org_team.go Remove org users who belong to no teams () 2023-04-24 15:52:38 -04:00
org_team_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
org_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo.go Update tool dependencies, lock govulncheck and actionlint () 2023-07-09 11:58:06 +00:00
repo_collaboration.go refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
repo_collaboration_test.go Rename repo.GetOwner to repo.LoadOwner () 2023-02-18 20:11:03 +08:00
repo_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo_transfer.go Fix unclear IsRepositoryExist logic () 2023-04-28 14:14:26 -04:00
repo_transfer_test.go Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00