gitea/modules/repository
zeripath 30f7ddb833
Ensure memcache TTL cannot be over 30 days ()
Memcached TTL cannot be > 30 days and if it is attempted the TTL is interpreted as
a unix timestamp.

This PR ensures that the TTL is switched to a unix timestamp in those cases.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
adopt.go Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
branch.go [API] Add pagination to ListBranches ()
cache.go Ensure memcache TTL cannot be over 30 days ()
check.go Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
commits.go Fix frontpage avatars ()
commits_test.go Fix frontpage avatars ()
create.go Check if label template exist first ()
create_test.go Various fixes in login sources ()
fork.go Adopt repositories ()
fork_test.go Move create/fork repository from models to modules/repository ()
generate.go Ensure that HEAD is updated to match default branch in template generation ()
hooks.go Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
init.go [API] Add pagination to ListBranches ()
main_test.go Move push commits from models to modules/repository ()
push.go Fix a bug on refactoring ()
repo.go Add MirrorInterval to the API ()
update.go Move PushUpdateAddDeleteTags to repository module from models ()