aboutsummaryrefslogtreecommitdiffstats
path: root/modules/convert/issue.go
Commit message (Collapse)AuthorAgeFilesLines
* [refactor] Unify the export of user data via API (#15144)65432021-03-271-3/+3
| | | | | * [refactor] unify how user data is exported via API * test time via unix timestamp
* Display current stopwatch in navbar (#14122)Norwin2021-01-211-0/+2
| | | | | | | | | | | | | | | | | * add notification about running stopwatch to header * serialize seconds, duration in stopwatches api * ajax update stopwatch i should get my testenv working locally... * new variant: hover dialog * noscript compatibility * js: live-update stopwatch time * js live update robustness
* [API] Add Ref to Issue (#13946)zeripath2020-12-131-0/+1
| | | | | | | | | | * Add Ref to api.Issue This PR adds Ref to api.Issue and adds the backend parts to the migrator. Fix #13918 Signed-off-by: Andrew Thornton <art27@cantab.net>
* [Refactor] Move APIFormat functions into convert package (#12856)65432020-10-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * USER APIFormat -> ToUser * Migrate more and mark APIFormat deprecated * models.Comment APIFormat() -> convert.ToComment * models.Release APIFormat() -> convert.ToRelease * models.Attachments APIFormat() -> convert.ToReleaseAttachments * models.CommitStatus APIFormat() -> convert.ToCommitStatus * finish migration to convert.ToUser * Move Test * Imprufe Test * fix test Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Refactor: move Commit To APIFormat Code & Lot of StopWatch related things ↵65432020-09-181-0/+40
| | | | | | | | | | | | | (#12729) * move GitCommit to APIFormat convertion into convert package * rename Commit convert functions * move stopwatch to api convertion into convert package & rm unused code & extend test * fix compare time * Gitea not Gogs ;)
* Add Created & Updated to Milestone (#12662)65432020-09-051-0/+2
| | | | | | | | | * Add Created and Updated to Milestone table and expose via API * Expose to UI - To Overloaded ?!? * fix unit test Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Issue/Pull expose IsLocked Property on API (#11708)65432020-06-011-0/+1
| | | | Expose IsLocked Property
* Refactor Milestone related (#11225)65432020-05-121-1/+20
|
* [Refactor] move APIFormat() of Issue and Label to convert package (#10423)65432020-02-281-1/+106
| | | | | | | | | | | | | | | | | | | * Label: delete .APIFormat() and use convert.ToLabel() * move issue APIFormat too * add missing one * move TEST too * handle error -> return empty APIIssue * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Move tracked time api convert to convert package (#9665)Lunny Xiao2020-01-101-0/+38