githaven-fork/routers/api/v1
Paul Barton 7576e37a65
Add MirrorInterval to the API (#14163)
* Added MirrorInterval to the API

* Remove MirrorInterval from CreateRepository

* Removed Duplicate UpdateMirror Function

* Updated Error Logging

* Update Log Message for is not Mirror

Co-authored-by: 6543 <6543@obermui.de>

* Delete Debug Statement that snuck in

Co-authored-by: zeripath <art27@cantab.net>

* Add Check for If Interval is too small

* Output to API Call

* Add Error Object when time is Less than Min Interval

* Frequency Error Message

Co-authored-by: zeripath <art27@cantab.net>

* Allow Zero Mirror Interval

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
2021-01-02 18:47:47 -05:00
..
admin Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
misc Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
notify move notification APIFormat (#13783) 2020-12-02 09:24:35 +00:00
org HotFix: Hide private partisipation in Orgs (#13994) 2020-12-17 00:39:12 +01:00
repo Add MirrorInterval to the API (#14163) 2021-01-02 18:47:47 -05:00
settings Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
swagger [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
user Disable SSH key deletion of externally managed Keys (#13985) 2020-12-25 23:24:47 -05:00
utils migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
api.go [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00