summaryrefslogtreecommitdiffstats
path: root/routers
Commit message (Collapse)AuthorAgeFilesLines
* Rename RepoCreationNum -> MaxCreationLimit (#1766)Jonas Östanbäck2017-05-241-1/+1
|
* Add error direclty when user tries to create new repo and limit already hit ↵Jonas Östanbäck2017-05-201-0/+4
| | | | (#1767)
* fix admin lost permission caused by #947Lunny Xiao2017-05-191-1/+1
|
* Add swagger comment for MirrorSync (#1747)Jonas Östanbäck2017-05-191-0/+9
| | | | | | * Add swagger comment for MirrorSync * Generate swagger.v1.json
* Add units to team (#947)Lunny Xiao2017-05-184-36/+73
| | | | | | | | | | | | | | | | | | * add units to team * fix lint * finish team setting backend * finished permission controll on routes * fix import blank line * add unit check on ssh/http pull and push and fix test failed * fix fixtures data * remove unused code
* Add new text for reset password flash (#1718)Jonas Östanbäck2017-05-141-2/+2
| | | | | * Forgot password should use ResetPwdCodeLives, not ActiveCodeLives * Improve documentation for different send mail functions related to password reset * Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
* LDAP user synchronization (#1478)Lauris BH2017-05-102-4/+11
|
* Add configuration option for default permission to create Organizations (#1686)Lauris BH2017-05-081-0/+2
|
* fix bug when push a branch name with / & fix an integration test bug (#1689)Lunny Xiao2017-05-082-2/+2
|
* Show commit status icon in commits table (#1688)Lauris BH2017-05-072-0/+8
| | | | | | | | | | | | | | | | | | * Show commit status icon in commits table * Add comments * Fix icons * Few more places where commit table is displayed * Change integration test to use goquery for parsing html * Add integration tests for commit table and status icons * Fix status to return lates status correctly on all databases * Rewrote lates commit status selects
* Remove env user salt since no need to use (#1515)Lunny Xiao2017-05-061-1/+0
| | | | | | * remove env user salt since no need to use * remove unused variable from update.go
* Remove sha1 hash display in repository table and add latest commit GPG check ↵Lauris BH2017-05-051-0/+1
| | | | (#1678)
* Download files to their original filename (#1676)silverwind2017-05-051-0/+2
|
* fix: tag contain character ) will http 500 on release page (#1670)Bo-Yi Wu2017-05-041-0/+1
|
* gofmt (#1662)Ethan Koenig2017-05-041-1/+1
|
* Drop db operations from hook commands (#1514)Lunny Xiao2017-05-043-0/+93
| | | | | | | | | | * move all database operations from hook command to web command and instead of internal routes * bug fixed * adjust the import path sequences * remove unused return value on hookSetup
* Generate swagger json (#1402)Antoine GIRARD2017-05-0215-38/+489
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* fix multiple readme file rendering and fix #1657 (#1658)Lunny Xiao2017-05-021-3/+9
| | | | | | * fix multiple readme file rendering and fix #1657 * remove unnecessary loop
* Sort on repo size in admin panel (#1654)Jorrit Klein Bramel2017-05-021-0/+4
| | | | | | * fix #1653 sort on repo size * fix minor mistake in en-us locale
* Do not allow commiting to protected branch from online editor (#1502)Lauris BH2017-05-021-6/+53
| | | | | | * Do not allow commiting to protected branch from online editor * Add editor integration tests for adding new file and not allowing to add new file to protected branch
* Additional OAuth2 providers (#1010)Willem van Dreumel2017-05-012-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add google+ * sort signin oauth2 providers based on the name so order is always the same * update auth tip for google+ * add gitlab provider * add bitbucket provider (and some go fmt) * add twitter provider * add facebook provider * add dropbox provider * add openid connect provider incl. new format of tips section in "Add New Source" * lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow) * imports according to goimport and code style * make it possible to set custom urls to gitlab and github provider (only these could have a different host) * split up oauth2 into multiple files * small typo in comment * fix indention * fix indentation * fix new line before external import * fix layout of signin part * update "broken" dependency
* fix #1643 and improve integration test (#1645)Lunny Xiao2017-04-301-1/+6
|
* fix bug on issue view when not login (#1624)Lunny Xiao2017-04-291-10/+14
| | | | | | | | | | * fix bug on issue view when not login * hide issue watch when not login * update the tests * fix test on issue
* bug fixed for API to get user's repos (#1622)Lunny Xiao2017-04-291-4/+7
| | | | | | | | * bug fixed for API to get user's repos * add tests and fix another place * test user2 since user1 has no repos
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-263-45/+98
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Integration test framework (#1290)Ethan Koenig2017-04-251-0/+645
| | | | | | | | | | * Integration test framework * udpate drone sign * Formatting fixes and move router.go to routers/ * update sign for drone
* Status-API (#1332)Kim "BKC" Carlbäcker2017-04-212-0/+134
|
* Add markup package to prepare for org markup format (#1493)Lunny Xiao2017-04-212-14/+16
|
* fix go get sub package and add domain on installation to let go get work ↵Lunny Xiao2017-04-212-0/+26
| | | | | | | | | | defaultly (#1518) * fix go get sub package and add domain on installation to let go get work defaultly * fix import sequence * fix .git problem
* Fix empty file download (#1506)Lauris BH2017-04-201-1/+1
|
* Add repo mirror sync API endpoint (#1508)Jonas2017-04-192-0/+13
| | | | | | | | * API: Add repo mirror sync * Correct error message * Change http status to 200
* Add internal routes for ssh hook comands (#1471)Lunny Xiao2017-04-191-0/+44
| | | | | | | | | | | | | | | | * 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
* Migrate WatchInfo struct to api (#1492)Antoine GIRARD2017-04-161-14/+2
| | | | | | | | * Remove WatchInfo and link to api struct * Add vendor temporary update * Return to gitea vendor source
* Orgs: fix org page title when full name is not defined (#1495)silverwind2017-04-151-1/+1
|
* Sanitation fix from Gogs (#1461)Kim "BKC" Carlbäcker2017-04-131-1/+1
| | | | | | | | | | | | | | | | * Santiation fix from Gogs * Linting * Fix build-errors * still not working * Fix all the things! * gofmt * Add code-injection checks
* Mirror sync interval specified as duration string (#1407)Jonas2017-04-081-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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()
* fix gpg API panic when no verification (#1451)Lunny Xiao2017-04-061-2/+7
| | | | | | * fix gpg API panic when no verification * fix if condition
* Add copyright headersAndrey Nering2017-03-301-0/+4
|
* Add watch button on issueAndrey Nering2017-03-292-0/+48
|
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369)Sandro Santilli2017-03-291-10/+10
| | | | | | | | | | | * Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION Omit the configuration variable (the default) to be dependent. Fixes #1363 * Move OpenID settings under Service object * Show OpenID SignUp and SignIn status in admin panel / configuration
* GPG commit validation (#1150)Antoine GIRARD2017-03-222-0/+12
| | | | | | | | | | | | * GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
* Reduce conditionals in signin/signup inner forms (#1138)Kim "BKC" Carlbäcker2017-03-221-4/+9
|\
| * Reduce conditionals in signin/signup inner formsSandro Santilli2017-03-201-4/+9
| | | | | | | | by always using SignInLink and SignUpLink in the form action
* | Run "make fmt" with go-1.6 (#1333)Sandro Santilli2017-03-212-33/+33
| |
* | fix wiki bugs (#1294)Lunny Xiao2017-03-201-4/+16
|/
* Show user OpenID URIs in their profile (#1314)Sandro Santilli2017-03-202-0/+24
|
* Add captcha support to OpenID based signupSandro Santilli2017-03-201-4/+5
|
* feat: Only use issue and wiki on repo. (#1297)Bo-Yi Wu2017-03-181-1/+8
|
* Login via OpenID-2.0 (#618)Sandro Santilli2017-03-173-1/+577
|
* Add notice that LFS mirroring is not supported (#1251)Fabian Zaremba2017-03-161-0/+1
| | | | | | * Add notice that LFS mirroring is not supported * Drop German translation