Commit Graph

19 Commits (d775fe793605757e6f51057da9913ad5a11f6336)

Author SHA1 Message Date
Danilo Riecken P. de Morais f47f9ceade mirror: trigger additional push webhook on new branch ()
This commit fixes issue  and makes a new branch behave like a
      push event and trigger the appropriate webhook.
2018-11-14 23:03:03 -05:00
Unknwon 77275a9b31
models: rename Id to ID 2018-08-16 20:26:09 +08:00
Unknwon 7856b1202d
*: fix wrong format type 2018-06-13 22:26:56 +08:00
Unknwon 53c8e4263b
models: skip JSON for fields skipped by XORM
Reduce output JSON size by backup command
2018-06-09 16:06:47 +08:00
Unknwon c08aab90ec
models/mirror: shot push webhook after synced commits () 2018-06-03 20:32:44 +08:00
Unknwon 775919c129
mirror: show sync feeds on dashboard () 2018-05-30 21:26:03 +08:00
Unknwon e33d9e77f4
vendor: rename "gogits" to "gogs" 2018-05-27 09:07:15 +08:00
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 ()
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 ()
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 ()
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 () 2017-03-26 23:24:48 -04:00
Unknwon 7a99e56893
repo: update size after fork, migrate and mirror sync () 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 () 2017-03-08 17:47:44 -05:00
Unknwon 6b6f54b79b
Some file refactoring 2017-02-10 16:51:09 -05:00