summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* fix avatar update bug (#1729)Lunny Xiao2017-05-161-0/+1
|
* 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
* gofmt (#1710)Ethan Koenig2017-05-121-1/+1
|
* Added Parent property to the repo API (#1687)guyzmo2017-05-121-0/+16
| | | Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
* Don't recreate database in integration tests (#1697)Ethan Koenig2017-05-111-0/+1
|
* LDAP user synchronization (#1478)Lauris BH2017-05-104-18/+187
|
* Improve dashboard repo search (#1652)Andrey Nering2017-05-091-3/+0
| | | | | | | | | | * Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
* Add configuration option for default permission to create Organizations (#1686)Lauris BH2017-05-081-1/+1
|
* fix potential sqlite lock #1680Kim "BKC" Carlbäcker2017-05-081-9/+7
|\
| * fix potential sqlite lockLunny Xiao2017-05-051-9/+7
| |
* | Show commit status icon in commits table (#1688)Lauris BH2017-05-071-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Exposes in API the Repo entity's Size and IsBare property (#1668)guyzmo2017-05-051-0/+2
|/ | | | | | | | | | * Exposes in API the Repo entity's IsBare property as IsEmpty Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net> * Exposes in API the Repo entity's Size property Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
* fix potential lock when sqlite (#1647)Lunny Xiao2017-05-051-21/+27
|
* gofmt (#1662)Ethan Koenig2017-05-043-9/+9
|
* Drop db operations from hook commands (#1514)Lunny Xiao2017-05-041-21/+21
| | | | | | | | | | * 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-021-9/+20
| | | | | | | - 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
* Add primary key and index to external login user table (#1656)Lauris BH2017-05-023-3/+43
|
* Do not allow commiting to protected branch from online editor (#1502)Lauris BH2017-05-022-2/+20
| | | | | | * 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-013-85/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* MySQL, Postgres integration tests in drone (#1638)Ethan Koenig2017-04-303-12/+12
| | | | | | | | | | * MySQL, Postgres integration tests in drone * Fix .drone.yml * sign drone * resign drone
* Fix broken migration v27 (#1504)Jonas Östanbäck2017-04-301-12/+30
| | | | Mirror.interval column type needed to be changed to bigint. Correct interval where the interval set is < MinInterval.
* fix bug on issue view when not login (#1624)Lunny Xiao2017-04-291-0/+15
| | | | | | | | | | * fix bug on issue view when not login * hide issue watch when not login * update the tests * fix test on issue
* Add create_at and updated_at in PR json (#1616)Jonas Östanbäck2017-04-271-0/+2
| | | | * Move new fields to object creation (use reference) * Vendor: Update SDK
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-262-12/+51
| | | | | | | | | | | | | | | | | | | | | | | * 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-252-6/+25
| | | | | | | | | | * Integration test framework * udpate drone sign * Formatting fixes and move router.go to routers/ * update sign for drone
* fix bug on status API (#1533)Lunny Xiao2017-04-241-16/+5
|
* Status-API (#1332)Kim "BKC" Carlbäcker2017-04-216-0/+395
|
* feat: add download count field and unit testing for attachment. (#1512)Bo-Yi Wu2017-04-203-9/+153
| | | | | | | | | | | | | | * 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>
* Add internal routes for ssh hook comands (#1471)Lunny Xiao2017-04-191-2/+4
| | | | | | | | | | | | | | | | * 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
* Sanitation fix from Gogs (#1461)Kim "BKC" Carlbäcker2017-04-132-5/+5
| | | | | | | | | | | | | | | | * Santiation fix from Gogs * Linting * Fix build-errors * still not working * Fix all the things! * gofmt * Add code-injection checks
* Repo size in admin panel (#1482)Jonas2017-04-115-0/+113
| | | | | | | | | | | | | | | * 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
* Mirror sync interval specified as duration string (#1407)Jonas2017-04-084-4/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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()
* refactor update ssh key use time (#1466)Lunny Xiao2017-04-071-0/+14
|
* fix migrate failed and org dashboard failed on MSSQL database (#1448)Lunny Xiao2017-04-061-4/+21
|
* Corrected Mirror.NextUpdate not set (#1388)Jonas2017-04-051-1/+1
|
* fixes pull request hanging indefinitely when it contains normal and LFS file ↵Kuba Tyszko2017-04-031-1/+0
| | | | pointers (#1425)
* Merge pull request #1410 from andreynering/notification/issue-watchAndrey Nering2017-04-015-8/+195
|\ | | | | [Notifications Step 6] Per issue/PR watch/unwatch
| * Improve tests a littleAndrey Nering2017-04-011-0/+9
| |
| * Code style fixesAndrey Nering2017-04-011-2/+3
| |
| * Add unit tests for issue_watchAndrey Nering2017-03-302-0/+57
| |
| * Use variables for timesAndrey Nering2017-03-301-6/+14
| |
| * Add copyright headersAndrey Nering2017-03-301-0/+4
| |
| * Fix lintAndrey Nering2017-03-291-0/+2
| |
| * Add updated_unix column on issue_watchAndrey Nering2017-03-291-1/+12
| |
| * Consider issue_watchers while sending notificationsAndrey Nering2017-03-292-8/+42
| |
| * Add watch button on issueAndrey Nering2017-03-291-0/+40
| |
| * Create issue_watch tableAndrey Nering2017-03-292-0/+21
| |
* | Fix "Error: No issue number specified" when pushing (#1393)agrn2017-03-311-2/+2
| | | | | | | | | | | | * Fix "Error: No issue number specified" when pushing * update pr
* | Add length check for the return string (#1420)Mura Li2017-03-311-1/+3
|/ | | | | | | | * Add length check for the return string * Differentiate error paths and logging messages * Rectify error message