Sandro Santilli
1d40f9d48b
Fix service description in Debian init file ( #1538 )
8 years ago
Ethan Koenig
b94a7b190c
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
6a001eb3b3
fix bug on status API ( #1533 )
8 years ago
Antoine GIRARD
9298677f8e
Check if missing/modified/unused deps in vendor and fix errors ( #1468 )
* Check if missing deps in vendor
This will catch import from other repos. (maybe by auto-import)
* Remove github.com/smartystreets unused deps
* Remove github.com/boltdb/bolt unused dep
* Fetch github.com/go-xorm/core + sync gopkg.in/ldap.v2/ldap.go
* Auto-install govendor + reinstall github.com/boltdb/bolt needed by vendor/github.com/blevesearch/bleve/index/store/boltdb
* Update go-xorm/xorm to a5cb21 in vendor.json
* Use a custom repo for implementing change to bolt dep.
* Switching bolt to github.com/go-gitea/bolt
* Switching bolt to github.com/go-gitea/bolt (fork version)
* change the drone sign
8 years ago
Morlinest
940306d6de
Fix markdown rendering ( #1530 )
8 years ago
Morlinest
ba14772e61
Do not show empty collaborators segment ( #1531 )
8 years ago
Kim "BKC" Carlbäcker
32bc8415f5
Status-API ( #1332 )
8 years ago
Lunny Xiao
419548e9b4
Add markup package to prepare for org markup format ( #1493 )
8 years ago
Lunny Xiao
6752a4b13c
fix go get sub package and add domain on installation to let go get work defaultly ( #1518 )
* fix go get sub package and add domain on installation to let go get work defaultly
* fix import sequence
* fix .git problem
8 years ago
Lunny Xiao
12a8d68c46
support health check via / and fix #969 ( #1520 )
8 years ago
Lauris BH
9320b1b81c
Fix empty file download ( #1506 )
8 years ago
Bo-Yi Wu
86ef7a64db
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
a1f342c583
fix #1501 ssh hangs caused by #1461 ( #1513 )
8 years ago
Jonas
034e19f4e4
Add repo mirror sync API endpoint ( #1508 )
* API: Add repo mirror sync
* Correct error message
* Change http status to 200
8 years ago
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
Lauris BH
d1c82a5357
Better URL validation ( #1507 )
* Add correct git branch name validation
* Change git refname validation error constant name
* Implement URL validation based on GoLang url.Parse method
* Backward compatibility with older Go compiler
* Add git reference name validation unit tests
* Remove unused variable in unit test
* Implement URL validation based on GoLang url.Parse method
* Backward compatibility with older Go compiler
* Add url validation unit tests
8 years ago
Antoine GIRARD
02787c5e1e
Use MAINTAINERS file in repository in CONTRIBUTING ( #1489 )
* Use MAINTAINERS file in repository because teams are not publicly available
* Use relative link
8 years ago
Antoine GIRARD
6f6af4e415
Adding @sapk to MAINTAINERS ( #1497 )
8 years ago
Antoine GIRARD
8e63c1ab44
Migrate WatchInfo struct to api ( #1492 )
* Remove WatchInfo and link to api struct
* Add vendor temporary update
* Return to gitea vendor source
8 years ago
silverwind
a1a5b1ac62
Orgs: fix org page title when full name is not defined ( #1495 )
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
Michael de Wit
c8674ba042
Optimize and fix autolink function ( #1442 ) ( #1444 )
* Optimize and fix autolink function (#1442 )
* Fix bug in autolink recursive fallback function
8 years ago
Bo-Yi Wu
61cf12ca8c
refactor: show command help message. ( #1486 )
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
Mura Li
79a6780578
Fix race when running commands with timeout ( #1465 )
Update vendored module code.gitea.io/git
8 years ago
Lunny Xiao
5b03d5933a
refactor update ssh key use time ( #1466 )
8 years ago
Antoine GIRARD
c8c2d947c8
Fix #1418 ( #1456 )
8 years ago
Jonas
f7cfb2ed49
Autofocus on 2fa passcode fields ( #1460 )
* Autofocus on 2fa passcode field
* Autofocus on 2fa scratch code field
8 years ago
Lunny Xiao
e00109313a
fix migrate failed and org dashboard failed on MSSQL database ( #1448 )
8 years ago
Lunny Xiao
8988e2d6b5
fix gpg API panic when no verification ( #1451 )
* fix gpg API panic when no verification
* fix if condition
8 years ago
Morlinest
9865922172
Fix and simplify repo branches UI ( #1435 )
8 years ago
Sandro Santilli
77cbe716a8
Set VERSION from git once, in a variable ( #1447 )
8 years ago
Damien Gaignon
940d8b7196
Correct broken unaligned load/store in armv5 ( #1355 )
Update vendor github.com/boltdb/bolt to take care of the issue #1354 .
8 years ago
Patrick G
c7e9a963de
Commit search appearence fixes ( #1254 )
* Fix button text to be consisstent with rest of UI
* Make all commits checkbox look nicer
8 years ago
Bo-Yi Wu
c9599a8dbc
fix: remove `str2html` from org full name ( #1360 )
* fix: remove str2html for security issue.
* fix: update
8 years ago
Jonas
f8be6bd86d
Corrected Mirror.NextUpdate not set ( #1388 )
8 years ago
Mura Li
62167c4e8b
Add GOFLAGS and EXTRA_GOFLAGS ( #1438 )
8 years ago
Mura Li
e5f1afcf75
Remove unused mutex field ( #1440 )
8 years ago
Mura Li
93cc4c9600
Fix races in the log module by using syncmap ( #1421 )
8 years ago
Kuba Tyszko
71eb5e0f73
fixes pull request hanging indefinitely when it contains normal and LFS file pointers ( #1425 )
8 years ago
Morlinest
77d677c212
Fix disabled fields in repo settings UI ( #1431 )
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
Jonas
a0a2686bf6
Support for custom html meta ( #1423 )
* Support for custom html meta
* Changed html meta description default
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
22d6e0827c
Merge pull request #1390 from Morlinest/commit-graph-UI
Use whole button (commit graph) as link
8 years ago
Andrey Nering
e166948734
Add unit tests for issue_watch
8 years ago