Jonas
be6edaddcb
Repo size in admin panel ( #1482 )
...
* Implementation of the feature to view repository size in admin panel
* Move GetRepoSize to git module
* Repository.RepoSize -> Repository.Size
* RepoSize -> Size in template
* Redo a few bits and pieces
* Update size when syncing mirror or forking
* Remove GetRepoSize
* Changed fatal errors to error message
* Copy migration code from Gogs
* make fmt
8 years ago
Jonas
54f0293f0a
Mirror sync interval specified as duration string ( #1407 )
...
* Sync interval specifed as duration string
* Changed mirror interval text
* make fmt
* Add MinInterval for mirror sync
* Use duration internally
* Changed min default to 10m
* make fmt
* Incorrect default
* Removed defaults in MustDuration()
* Add Mirror interval migration
* Default values corrected
* Use transaction during migration
* Change http 500 to page with error message
* Cleanup session.commit()
8 years ago
Lunny Xiao
5c0bee9b20
refactor update ssh key use time ( #1466 )
8 years ago
Lunny Xiao
5acfc7c4bc
fix migrate failed and org dashboard failed on MSSQL database ( #1448 )
8 years ago
Jonas
e7493e953f
Corrected Mirror.NextUpdate not set ( #1388 )
8 years ago
Kuba Tyszko
5d6b71fdbb
fixes pull request hanging indefinitely when it contains normal and LFS file pointers ( #1425 )
8 years ago
Andrey Nering
f6e5ce65b2
Improve tests a little
8 years ago
Andrey Nering
e5c56fe30d
Code style fixes
8 years ago
agrn
88112a5324
Fix "Error: No issue number specified" when pushing ( #1393 )
...
* Fix "Error: No issue number specified" when pushing
* update pr
8 years ago
Mura Li
6a39250579
Add length check for the return string ( #1420 )
...
* Add length check for the return string
* Differentiate error paths and logging messages
* Rectify error message
8 years ago
Andrey Nering
e6781d5488
Add unit tests for issue_watch
8 years ago
Andrey Nering
a90ffffb1a
Use variables for times
8 years ago
Andrey Nering
18952c40f8
Add copyright headers
8 years ago
Andrey Nering
caed86fc6e
Fix lint
8 years ago
Andrey Nering
cb362513f0
Add updated_unix column on issue_watch
8 years ago
Andrey Nering
aa6e949b3d
Consider issue_watchers while sending notifications
8 years ago
Andrey Nering
b674460748
Add watch button on issue
8 years ago
Andrey Nering
a0d0de7233
Create issue_watch table
8 years ago
Bo-Yi Wu
08f7fded3c
refactor: remove workaround after the golang 1.7 release. ( #1349 )
...
* refactor: remove workaround after the golang 1.7 release.
* remove unused import.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* refactor: Add remove function.
* refactor: rename
* refactor: update build flag
8 years ago
Philippe Kueck
fe94032f74
rewrite pre-commit, post-commit and options hooks ( fixes #1250 ) ( #1257 )
...
* issue #1250 , replace {pre,post}-receive and update hooks with a single shell script that does not require custom hooks to be a sh-script
* issue #1250 , make script posix compilant
* v23, add migration script to update {pre,post}-receive and update hooks
* migration: use a more common name and rename v23 to v26 to avoid conflicts
* gofmt'ed and added copyright header
* fix SyncRepositoryHooks to also sync wiki repos
8 years ago
Lunny Xiao
d330a23ce1
fix migration failed when authorized_keys is not exist ( #1180 )
8 years ago
Kim "BKC" Carlbäcker
d349f059af
Cleaner IMO ( #1361 )
8 years ago
Antoine GIRARD
14fe9010ae
GPG commit validation ( #1150 )
...
* GPG commit validation
* Add translation
+ some little fix
* Move hash calc after retrieving of potential key + missing translation
* Add some little test
8 years ago
Sandro Santilli
f73e734411
Run "make fmt" with go-1.6 ( #1333 )
8 years ago
Lunny Xiao
888dee3b5f
fix delete user failed on sqlite ( #1321 )
8 years ago
Lunny Xiao
bd8fe49076
fix wiki bugs ( #1294 )
8 years ago
Sandro Santilli
9182a35f18
Show user OpenID URIs in their profile ( #1314 )
8 years ago
Lunny Xiao
608cd54a68
fix gpg wrong column types
8 years ago
Bo-Yi Wu
1c3bd436cc
feat: Only use issue and wiki on repo. ( #1297 )
8 years ago
Sandro Santilli
71d16f69ff
Login via OpenID-2.0 ( #618 )
8 years ago
Lunny Xiao
3cf0e513e6
fix wrong log when push to a new branch ( #1220 )
8 years ago
Sandro Santilli
447c9b428f
Send notifications to partecipants in issue comments ( #1217 )
...
* Send notifications to partecipants in issue comments
Closes #1216
Includes test (still failing)
* Do not include "labelers" to participants
Fix test to expect what GetParticipants return
8 years ago
Antoine GIRARD
ca1c3f1926
Implement GPG api ( #710 )
...
* Implement GPG API
* Better handle error
* Apply review recommendation + simplify database operations
* Remove useless comments
8 years ago
Ethan Koenig
09fe4a2ae9
Batch updates for issues ( #926 )
8 years ago
Ethan Koenig
021904e4e6
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Ethan Koenig
ec0ae5d50c
Refactor and fix incorrect comment ( #1247 )
8 years ago
Sandro Santilli
8746fb3385
Fix migration comment ( #1241 )
8 years ago
Lunny Xiao
1ccdf19fae
fix forget migration for wiki hooks ( #1227 )
8 years ago
Sandro Santilli
0475e7351f
Reserve the "explore" user/org name ( #1222 )
8 years ago
Ethan Koenig
c99e7e1a62
Simplify RepositoryList.loadAttributes() ( #1211 )
8 years ago
Ethan Koenig
3803f257fb
Move user_follow to separate file ( #1210 )
...
Also add unit tests
8 years ago
Ethan Koenig
1e3548b7e7
Unit tests for issue_list ( #1209 )
8 years ago
Philippe Kueck
e2b2fd6e78
fix #1189 , commit messages containing a pipe ( #1203 )
8 years ago
Lunny Xiao
74cde12677
Fix upgrade failed after ever rollback ( #1194 )
...
* fix upgrade failed after rollback
* fix upgrade failed after rollback
* fix possible upgrade twice fail after rollback
8 years ago
Lunny Xiao
f5476bdbb1
bug fixed for delete repo failed ( #1193 )
8 years ago
Lunny Xiao
5d40db629c
fix random avatars ( #1147 )
8 years ago
Lunny Xiao
2215840363
fix avatar bug #1114 ( #1122 )
...
This PR fix the avatar bug described in #1114 . This will fix random avatar is blank problem and potential delete avatars dir problem.
8 years ago
Lunny Xiao
0376029241
fix del org avatar potential delete all avtars ( #1120 )
8 years ago
Lunny Xiao
7b64b2ddab
fix install submit crash caused by xorm log ( #1119 )
8 years ago
Bo-Yi Wu
d76d67de23
feat: expose url field on issue api. ( #982 )
...
* Add api url func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix: Add unit testing.
* fix: conflicts
* fix: remove trim
* fix: revert test function name.
8 years ago