summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* No highlighting for .txt files (#1922)Ethan Koenig2017-06-091-1/+3
|
* Send mails as HTML as default. Setting for send as plain text. (#1648)Jonas Östanbäck2017-06-072-21/+27
| | | | | | | | | | | | | * Send mails as HTML as default. Setting for send as plain text. * Add new option SendAsPlainText. remove EnableHTMLAlternative * Send HTML mails as default * Add html check if html2text should be performed * Send only multipart or plain. Add deprication warning for ENABLE_HTML_ALTERNATIVE * Still use ENABLE_HTML_ALTERNATIVE for backward compatibility * Changed to not ignore html2text errors
* Include formatting check to the `make test` (and thus also `check`) rule (#1366)Sandro Santilli2017-06-061-2/+2
| | | | | | | | | | | | | | | | | | * Include formatting check to the `make check` rule ... and give it its own standalone target too (make fmt-check) Show diff on fmt-check failure Do not allow running "fmt-check" with incompatible go version Also simplify the `fmt` rule * Forbid running "make fmt" with Go version != 1.7 or 1.8 * Ignore bindata.go for spelling and formatting checks also remove duplicated variable assignment for GOFILES * Run `make fmt`
* Make `LocalCopyPath` a setting instead of a hard-coded path (#1881)Phil Hopper2017-06-061-0/+14
|
* Fix status table race condition (#1835)Ethan Koenig2017-05-312-0/+21
|
* Fix PR template error (#1834)Ethan Koenig2017-05-301-7/+5
|
* xxx_active_code_live setting in printed in hours and minutes instead … (#1814)Jonas Östanbäck2017-05-292-0/+21
| | | | | | * xxx_active_code_live setting in printed in hours and minutes instead of just hours * Update app.ini description of xxx_code_lives settings
* Add Gitea Webhook (#1755)Rémy Boulanouar2017-05-292-1/+16
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* fix: #1757 fix set MAX_CREATION_LIMIT as zero. (#1762)Bo-Yi Wu2017-05-211-0/+1
| | | | | | * fix: #1757 fix set MAX_CREATION_LIMIT as zero. * fix: missing default value
* Update HighlightJS and fix YAML files highlighting (#1764)Andrey Nering2017-05-201-34/+36
| | | | | | * Update HighlightJS to 9.11.0 * Fix YAML files highlighting
* fix admin lost permission caused by #947Lunny Xiao2017-05-191-1/+6
|
* Add units to team (#947)Lunny Xiao2017-05-182-0/+34
| | | | | | | | | | | | | | | | | | * 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
* Correct grammar in APIEmpty documentation (#1748)Jonas Östanbäck2017-05-181-1/+1
| | | | | | * Correct grammar in APIEmpty doc * Generate swagger.v1.json
* gofmt (#1710)Ethan Koenig2017-05-122-9/+8
|
* Fix rendering of issue checkboxes (#1709)Ethan Koenig2017-05-121-2/+2
|
* LDAP user synchronization (#1478)Lauris BH2017-05-104-28/+126
|
* markup: microoptimise for many short filenames in directory (#1534)mappu2017-05-092-2/+6
| | | | | | | | * markup: microoptimise for many short filenames in directory Move strings.ToLower() after the early-return length check. This is a safe operation in all cases and should slightly improve directory listing performance when a directory contains many thousands of files with short filenames. * markup: expand test cases for IsReadmeFile()
* Add configuration option for default permission to create Organizations (#1686)Lauris BH2017-05-082-0/+3
|
* Fix commit sha1 URL rendering in markdown (#1677)Lauris BH2017-05-052-5/+6
| | | | | | | | * Fix commit sha1 URL rendering in markdown * Add unit test for commit sha1 markdown rendering when sha1 has space before it * Change to better variable name
* Drop db operations from hook commands (#1514)Lunny Xiao2017-05-043-0/+90
| | | | | | | | | | * 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-3/+31
| | | | | | | - 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-0/+9
| | | | | | * fix multiple readme file rendering and fix #1657 * remove unnecessary loop
* Do not allow commiting to protected branch from online editor (#1502)Lauris BH2017-05-021-0/+10
| | | | | | * 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
* make openid support default false for compitable with v1.1 (#1650)Lunny Xiao2017-05-021-2/+2
|
* Additional OAuth2 providers (#1010)Willem van Dreumel2017-05-012-36/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix markdown rendering (#1530)Morlinest2017-04-241-9/+10
|
* Add markup package to prepare for org markup format (#1493)Lunny Xiao2017-04-214-37/+141
|
* fix go get sub package and add domain on installation to let go get work ↵Lunny Xiao2017-04-211-1/+1
| | | | | | | | | | 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 #1501 ssh hangs caused by #1461 (#1513)Lunny Xiao2017-04-191-10/+2
|
* Add internal routes for ssh hook comands (#1471)Lunny Xiao2017-04-193-9/+105
| | | | | | | | | | | | | | | | * 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
* Better URL validation (#1507)Lauris BH2017-04-199-9/+429
| | | | | | | | | | | | | | | | | | | | * 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
* Sanitation fix from Gogs (#1461)Kim "BKC" Carlbäcker2017-04-134-21/+112
| | | | | | | | | | | | | | | | * 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-111-0/+3
| | | | | | | | | | | | | | | * 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-082-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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()
* Remove unused mutex field (#1440)Mura Li2017-04-041-2/+0
|
* Fix races in the log module by using syncmap (#1421)Mura Li2017-04-031-26/+28
|
* Support for custom html meta (#1423)Jonas2017-03-312-0/+23
| | | | | | * Support for custom html meta * Changed html meta description default
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369)Sandro Santilli2017-03-292-25/+27
| | | | | | | | | | | * 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
* refactor: remove workaround after the golang 1.7 release. (#1349)Bo-Yi Wu2017-03-292-0/+30
| | | | | | | | | | | | | | * 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
* Run "make fmt" with go-1.6 (#1333)Sandro Santilli2017-03-216-13/+9
|
* Delete the useless code (#1335)caiwp2017-03-201-4/+0
|
* remove empty file (#1326)Lunny Xiao2017-03-191-0/+0
|
* feat: Only use issue and wiki on repo. (#1297)Bo-Yi Wu2017-03-181-18/+2
|
* Login via OpenID-2.0 (#618)Sandro Santilli2017-03-177-1/+225
|
* fix wrong log when push to a new branch (#1220)Lunny Xiao2017-03-171-0/+0
|
* Fix nil-dereference bugEthan Koenig2017-03-151-1/+5
|
* Fix typos in models/ and modules/ (#1248)Ethan Koenig2017-03-1518-48/+48
|
* Refactor and fix incorrect comment (#1247)Ethan Koenig2017-03-152-3/+3
|
* Fix Git hooks not being executed on Windows when running as a service (#1149)Andrey Nering2017-03-091-1/+2
| | | Closes #1139