summaryrefslogtreecommitdiffstats
path: root/integrations/api_repo_lfs_locks_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix "data race" in testlogger (#9159)zeripath2019-11-261-3/+3
| | | | | | * Fix data race in testlogger * Update git_helper_for_declarative_test.go
* Fix lfs locks (#8361)guillep2k2019-10-031-1/+1
| | | | * Extend time window for TestAPILFSLocksLogged
* lfs/lock: round locked_at timestamp to second (#7872)Antoine GIRARD2019-08-151-1/+5
| | | | | | | | * lfs/lock: round locked_at timestamp to second * test returned locked_at values * tests: use time RFC3339
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-111-1/+1
| | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* Fix SSH auth lfs locks (#3152)Antoine GIRARD2018-01-271-4/+4
| | | | | | | | | | * Fix SSH auth LFS locks * Activate SSH/lock test * Remove debug * Follow @lunny recommendation for AfterLoad method
* Make test more robust (#3167)Ethan Koenig2017-12-121-1/+1
|
* Fix git lfs path (#3016)Antoine GIRARD2017-11-291-13/+10
| | | | | | | | * add suffix .git * Remove Content-Type on GET methods * Add migrations to force creation before any further potential migration
* Git LFS lock api (#2938)Antoine GIRARD2017-11-281-0/+176
* Implement routes * move to api/sdk and create model * Implement add + list * List return 200 empty list no 404 * Add verify lfs lock api * Add delete and start implementing auth control * Revert to code.gitea.io/sdk/gitea vendor * Apply needed check for all lfs locks route * Add simple tests * fix lint * Improve tests * Add delete test + fix * Add lfs ascii header * Various fixes from review + remove useless code + add more corner case testing * Remove repo link since only id is needed. Save a little of memory and cpu time. * Improve tests * Use TEXT column format for path + test * fix mispell * Use NewRequestWithJSON for POST tests * Clean path * Improve DB format * Revert uniquess repoid+path * (Re)-setup uniqueness + max path length * Fixed TEXT in place of VARCHAR * Settle back to maximum VARCHAR(3072) * Let place for repoid in key * Let place for repoid in key * Let place for repoid in key * Revert back