Unknwon
aff4208244
*: rename "gogits" to "gogs"
2018-05-27 08:53:48 +08:00
Unknwon
ce6e8ed8fe
models: remove redundant tags for primary keys
2017-05-21 04:36:41 -04:00
Unknwon
8d0417497b
modes/mirror: make Updated unchanged if no new commits fetched ( #4341 )
...
After sync mirror, get latest commit date and compare to current
repository updated time, only update it if the commit date is newer.
2017-04-06 20:58:57 -04:00
Unknwon
c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
2017-04-04 20:42:18 -04:00
Unknwon
5a488b6517
models/mirror: unescape credentials at read ( #4014 )
...
If we save credentials already escaped, 'url.QueryEscape' still
escapes it and makes the credentials become incorrect.
2017-04-04 20:21:35 -04:00
Unknwon
ae1d50d19a
models/mirror: escape credentials before write mirror address ( #4014 )
...
Special characters such as '@', ';', '#' and ':' could occur in
password portion of credentials, which breaks the interpretation
and saves 'config' file in with extra characters that are not
recognized by Git (due to INI library).
2017-04-04 19:40:46 -04:00
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
2017-04-04 19:29:59 -04:00
Jonas
f40eb9774e
modes/mirror: corrected NextUpdate not set ( #4345 )
2017-03-26 23:24:48 -04:00
Unknwon
7a99e56893
repo: update size after fork, migrate and mirror sync ( #4336 )
2017-03-24 14:22:19 -04:00
Unknwon
05dbd3f7d7
refactoring: experimental with models/errors package
2017-03-12 00:47:34 -05:00
Unknwon
295d251232
mirror: update repository updated_unix after sync ( #2807 )
2017-03-08 17:47:44 -05:00
Unknwon
6b6f54b79b
Some file refactoring
2017-02-10 16:51:09 -05:00