Lunny Xiao
39fc33d4c7
Add internal routes for ssh hook comands ( #1471 )
* add internal routes for ssh hook comands
* fix lint
* add comment on why package named private not internal but the route name is internal
* add comment above package private why package named private not internal but the route name is internal
* remove exp time on internal access
* move routes from /internal to /api/internal
* add comment and defer on UpdatePublicKeyUpdated
8 years ago
Kim "BKC" Carlbäcker
134ac92bcb
Sanitation fix from Gogs ( #1461 )
* Santiation fix from Gogs
* Linting
* Fix build-errors
* still not working
* Fix all the things!
* gofmt
* Add code-injection checks
8 years ago
Jonas
6c8faadf3d
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
f53c8e25aa
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
5b03d5933a
refactor update ssh key use time ( #1466 )
8 years ago
Lunny Xiao
e00109313a
fix migrate failed and org dashboard failed on MSSQL database ( #1448 )
8 years ago
Jonas
f8be6bd86d
Corrected Mirror.NextUpdate not set ( #1388 )
8 years ago
Kuba Tyszko
71eb5e0f73
fixes pull request hanging indefinitely when it contains normal and LFS file pointers ( #1425 )
8 years ago
Andrey Nering
2d7c63bc7f
Merge pull request #1410 from andreynering/notification/issue-watch
[Notifications Step 6] Per issue/PR watch/unwatch
8 years ago
Andrey Nering
406a3068c3
Improve tests a little
8 years ago
Andrey Nering
37342f0a61
Code style fixes
8 years ago
agrn
ca68b6b276
Fix "Error: No issue number specified" when pushing ( #1393 )
* Fix "Error: No issue number specified" when pushing
* update pr
8 years ago
Mura Li
3e9ae8b124
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
e166948734
Add unit tests for issue_watch
8 years ago
Andrey Nering
cfa19e64d6
Use variables for times
8 years ago
Andrey Nering
bc1f2178bb
Add copyright headers
8 years ago
Andrey Nering
f2f3d9cb5e
Fix lint
8 years ago
Andrey Nering
43f516b31f
Add updated_unix column on issue_watch
8 years ago
Andrey Nering
7436738eb6
Consider issue_watchers while sending notifications
8 years ago
Andrey Nering
04c020df1e
Add watch button on issue
8 years ago
Andrey Nering
17b2d74bf2
Create issue_watch table
8 years ago
Bo-Yi Wu
2767b67a8e
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
356c83ffe1
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
c8de723057
fix migration failed when authorized_keys is not exist ( #1180 )
8 years ago
Kim "BKC" Carlbäcker
e1984e61ce
Cleaner IMO ( #1361 )
8 years ago
Antoine GIRARD
fe14d3b3fa
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
7ef4727cca
Run "make fmt" with go-1.6 ( #1333 )
8 years ago
Lunny Xiao
16a53e80ac
fix delete user failed on sqlite ( #1321 )
8 years ago
Lunny Xiao
7c64045ea5
fix wiki bugs ( #1294 )
8 years ago
Sandro Santilli
810604d929
Show user OpenID URIs in their profile ( #1314 )
8 years ago
Lunny Xiao
58baf41539
fix gpg wrong column types
8 years ago
Bo-Yi Wu
fdf5227984
feat: Only use issue and wiki on repo. ( #1297 )
8 years ago
Sandro Santilli
f8863080a2
Login via OpenID-2.0 ( #618 )
8 years ago
Lunny Xiao
6e4413b23d
fix wrong log when push to a new branch ( #1220 )
8 years ago
Sandro Santilli
3c004e37b3
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
d110b2d4bd
Implement GPG api ( #710 )
* Implement GPG API
* Better handle error
* Apply review recommendation + simplify database operations
* Remove useless comments
8 years ago
Ethan Koenig
1d8ae87655
Batch updates for issues ( #926 )
8 years ago
Ethan Koenig
9c781e8fd4
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Ethan Koenig
c2ba9ca97b
Refactor and fix incorrect comment ( #1247 )
8 years ago
Sandro Santilli
77c77f40d5
Fix migration comment ( #1241 )
8 years ago
Lunny Xiao
a9d2d3608f
fix forget migration for wiki hooks ( #1227 )
8 years ago
Sandro Santilli
857571ada0
Reserve the "explore" user/org name ( #1222 )
8 years ago
Ethan Koenig
93c40d0526
Simplify RepositoryList.loadAttributes() ( #1211 )
8 years ago
Ethan Koenig
ad7699a9c8
Move user_follow to separate file ( #1210 )
Also add unit tests
8 years ago
Ethan Koenig
7a2a9fce72
Unit tests for issue_list ( #1209 )
8 years ago
Philippe Kueck
2748ff05f0
fix #1189 , commit messages containing a pipe ( #1203 )
8 years ago
Lunny Xiao
24bf557541
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
10a6a72a7d
bug fixed for delete repo failed ( #1193 )
8 years ago
Lunny Xiao
8595a5ae44
fix random avatars ( #1147 )
8 years ago
Lunny Xiao
441ce5541f
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