Lunny Xiao
e31c02d4bf
fix bug on issue view when not login ( #1624 )
...
* fix bug on issue view when not login
* hide issue watch when not login
* update the tests
* fix test on issue
8 years ago
Jonas Östanbäck
e4a0a04829
Add create_at and updated_at in PR json ( #1616 )
...
* Move new fields to object creation (use reference)
* Vendor: Update SDK
8 years ago
Antoine GIRARD
8371f94d06
Rework SSH key management UI to add GPG ( #1293 )
...
* Rework SSH key management UI to add GPG
* Add more detail to gpg key display
* Update CHANGELOG.md
* Implement deletion UI
* Implement adding gpg UI
* Various fixes
- Fix duplicate entry in locale
- Re-generate hash before verification since they are consumed
* Add missing translation
* Split template
* Catch not found/verified email error
8 years ago
Ethan Koenig
c58708d3ee
Integration test framework ( #1290 )
...
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
8 years ago
Lunny Xiao
3012971e92
fix bug on status API ( #1533 )
8 years ago
Kim "BKC" Carlbäcker
4bea219128
Status-API ( #1332 )
8 years ago
Bo-Yi Wu
fa2a513c62
feat: add download count field and unit testing for attachment. ( #1512 )
...
* feat: add download count field and unit testing.
* fix: unit testing
* refactor: improve testing.
* fix: update comment
* add default value.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Lunny Xiao
2eeae84cbd
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
d409d3ab57
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
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