aboutsummaryrefslogtreecommitdiff
path: root/cmd/web.go
Commit message (Collapse)AuthorAge
* router: fix 404 when repository name contains dotUnknwon2017-02-20
| | | | E.g. atomi.github.io
* vendor: update github.com/go-macaron/toolbox (#2857)Unknwon2017-02-20
| | | | Support HEAD requests of '/healthcheck' for service monitoring.
* repo: several minor improvementsUnknwon2017-02-19
| | | | | | 1. Fix sample content didn't show up when hook doesn't exist. 2. Fix CSS 'word-break' to use 'break-word' not 'break-all'. 3. Fix single quote in 'locale_en-US.ini' file.
* commits: able to specify pageSize dynamically (#3965)Unknwon2017-02-18
| | | | | | | Usage: <url>?page={page}&pageSize={pageSize} Also avoid/removed getting total commits count for pagination, users are only allowed navigation by 'newer' and 'older'.
* webhook: add native Discord supportUnknwon2017-02-18
|
* repo/release: add pagination (#2164)Unknwon2017-02-17
|
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* refactoring: SSH and HTTP push procees is now unifiedUnknwon2017-02-16
| | | | | | | | | | | | | | We used to handle SSH and HTTP push separately which produces duplicated code, but now with post-receive hook, the process is unified to one single place and much cleaner. Thus, UpdateTask struct is removed. Narrow down the range of Git HTTP routes to reduce condufsing HTTP Basic Authentication window popup on browser. By detecting <old-commit, new-commit, ref-name> inside post-receive hook, Git HTTP doesn't need to read the whole content body anymore, which completely solve the RAM problem reported in #636.
* wiki: fix crash with blob name contains tab (#3916)Unknwon2017-02-16
|
* vendor: update git-module (#4128)Unknwon2017-02-15
|
* git: delegate all server-side Git hooks (#1623)Unknwon2017-02-14
|
* Use very strong ciphers (#4116)Aaron Wood2017-02-12
| | | | | | * Use very strong ciphers * Remove TLS_RSA_WITH_AES_256_GCM_SHA384 to be compatible with Go 1.5
* diff: fix can't show compare page for fork repository (#4110)Unknwon2017-02-12
|
* Able to disable non-admin to create new organization (#1556)Unknwon2017-02-10
| | | | | Add new config option '[admin] DISABLE_REGULAR_ORG_CREATION', by default it's 'false'.
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* routers/repo/branch: fix can't delete branch with slashes after merge (#4089)Unknwon2017-02-09
|
* routers/repo/pull: fix 404 on PR compare (#4074)Unknwon2017-02-08
| | | | | | | | | | | | Due to recent code refactor, ctx.PullRequest is not initialized for route repo.CompareAndPullRequest, which leads the UI thinks the compare is not happening inside the same repository. The current fix is to allow compare URL to include redundant head user name so everything works fine again, but code logic isn't as clean as before. Made comments about possible future fix.
* Do a fast-fail testing on repository URL before mirroringUnknwon2017-01-31
| | | | | To ensure the URL is accessible under good condition to prevent long blocking on URL resolution without syncing anything.
* Move models/mail.go to modules/mail.goUnknwon2017-01-30
| | | | To use interface to replace *models.User in avoiding cycle import.
* Able to set custom Access-Control-Allow-Origin header (#3987)Unknwon2017-01-28
| | | | Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'.
* Add 'Organizations' page to user settings (#3587)Unknwon2017-01-27
| | | | User is now able to view full list of organizations belongs to.
* Setting orgs (#3587)Rémy Boulanouar2017-01-27
| | | | | | | | | | | | * Implement organizations listing in setting and allow user to create new organization. * Implement organizations listing in setting and allow user to create new organization. * Add space remove by mistake * Remove unused part of the template * Update display and behavior according to @Unknown remarks
* Update XORM required version and 'go fmt'Unknwon2017-01-26
|
* Fetch before Checkout when create pull request (#3699)Unknwon2016-12-23
|
* Fix regex on route file (#3851)Thibault Meyer2016-12-21
|
* Merge branch 'develop' of https://github.com/tanapoln/gogs into developUnknwon2016-12-21
|\
| * provide button to delete merged pull requestTanapol Nearunchorn2016-09-02
| |
* | Update git-module version to support back Git 1.7.1Unknwon2016-12-08
| |
* | #3590 fix 404 for release draft editionUnknwon2016-09-03
|/ | | | Closes #3591
* Add the ability to explore organizations (#3573)Daniel Oaks2016-09-01
| | | | | | * Add ability to explore organizations * Use right icon for org explore links
* Minor code fix [CI SKIP]Unknwon2016-08-31
|
* #3548 disable issue cannot edit label and milestonefor pull requestsUnknwon2016-08-30
|
* Web editor: support upload filesUnknwon2016-08-30
|
* codegangsta/cli => urfave/cli (#3546)Kim "BKC" Carlbäcker2016-08-30
|
* Bump git-module required versionUnknwon2016-08-29
|
* Load a set of predefined labels (#3459)Thibault Meyer2016-08-29
| | | | | | | | | | | | | | | | | | | | | | * Can use a predefined set of labels * Change UI * Fix HTML file indentation * Avoid reading file from other directory (security issue) * Apply a better fix * Remove not used variable * Merge upstream/develop * Do modifications * Raname * remove binding + rename variable
* Web editor: disallow edit mirror repositoryUnknwon2016-08-28
|
* Web editor: improve delete file processUnknwon2016-08-28
|
* #3505 use user’s info for committer and authorUnknwon2016-08-27
|
* #3383 code cleanupUnknwon2016-08-24
|
* #2246 add HTMLURL to webhook typeUnknwon2016-08-16
| | | | - Fill Milestone and Assignee field when available in webhook payload
* models/issue: improve quality and performance of NewIssue functionUnknwon2016-08-15
|
* markdown: fix treating pure number as SHA1Unknwon2016-08-15
| | | | - Detect non-exist commit and return 404 not 500
* Web editor: temporarily disable upload and quick fix for edit and newUnknwon2016-08-15
| | | | Try to merge into develop branch ASAP, then continue minor fixes afterwards.
* Web editor: improve delete fileUnknwon2016-08-14
|
* Code clean up for new config optionsUnknwon2016-08-14
|
* Squashed commit of the following:Richard Mahn2016-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0afcb843d7ffd596991c4885cab768273a6eb42c Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 17:13:29 2016 -0600 Removed Upload stats as the upload table is just a temporary table commit 7ecd73ff5535612d79d471409173ee7f1fcfa157 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:42:41 2016 -0600 Fix for CodeMirror mode commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:03:33 2016 -0600 Made tabbing in editor use spaces commit 23af384c53206a8a40e11e45bf49d7a149c4adcd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:56:46 2016 -0600 Fix for data-url commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9 Merge: 7fc8a89 991ce42 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:42:53 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit 7fc8a89cb495478225b02d613e647f99a1489634 Merge: fd3d86c c03d040 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:40:00 2016 -0600 Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:39:44 2016 -0600 Code cleanup commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 29 15:38:23 2016 -0600 Code cleanup commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:36:01 2016 -0600 Code cleanup and fixes commit c2895dc742f25f8412879c9fa15e18f27f42f194 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:24:04 2016 -0600 Fixes per Unknwon's requests commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef Merge: 889e9fa ad7ea88 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 17:13:43 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go modules/setting/setting.go commit 889e9faf1bd8559a4979c8f46005d488c1a234d4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:09:18 2016 -0600 Fix in gogs.js commit 47603edf223f147b114be65f3bd27bc1e88827a5 Merge: bb57912 cf85e9e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:07:36 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit bb5791255867a71c11a77b639db050ad09c597a4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:02:18 2016 -0600 Update for using CodeMirror mode addon commit d10d128c51039be19e2af9c66c63db66a9f2ec6d Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 16:12:57 2016 -0600 Update for Edit commit 34a34982025144e3225e389f7849eb6273c1d576 Merge: fa1b752 1c7dcdd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 11:52:02 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go commit fa1b752be29cd455c5184ddac2ffe80b3489763e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 15 18:35:42 2016 -0600 Feature for editing, creating, uploading and deleting files
* Replace convert.To with APIFormat callsUnknwon2016-08-14
|
* Add Content-Disposition header for downloads (#3439)Andrey Nering2016-08-11
|
* Fix #3321: commit tag shortener (#3418)Thibault Meyer2016-08-11
| | | | | | | | | | | | * Fix #3321: commit tag shortener * Check short commit * remove debug * Edit unit tests * Show 10-char short SHA