aboutsummaryrefslogtreecommitdiff
path: root/cmd/web.go
Commit message (Collapse)AuthorAge
* Refactoring: rename ctx -> cUnknwon2017-06-03
|
* Allow configurable HTTPS SSL/TLS version(#4451)spacetourist2017-05-20
|
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* 2fa: initial support (#945)Unknwon2017-04-06
|
* user/setting: reorder navbarUnknwon2017-04-05
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* cmd/web: fix routes requires sign in (#4359)Unknwon2017-03-30
| | | | | Redirect user to sign in page when visit private repository with public issues if user want to post comment or create new issue.
* cmd/web: remove dependency version checkerUnknwon2017-03-25
|
* repo: cleanup some codeUnknwon2017-03-24
|
* repo: allow private repository to have public wiki or issuesUnknwon2017-03-24
| | | | Relates to #649 and #2157
* user/settings: complete repositories panel (#4312)Unknwon2017-03-23
|
* user/settings: add repositories panel (#4312)Rob Richards2017-03-23
| | | | | | | * Add Repositories panel to user settings issue #4277 * modified personal repo settings format
* repo: rename PageIsViewCode -> PageIsViewFilesUnknwon2017-03-22
| | | | Also highlight 'Files' tab when use editor.
* repo/webhook: able to retrigger delivery history (#2187)Unknwon2017-03-19
|
* repo: allow issues and wiki for bare repository (#4104)Unknwon2017-03-16
|
* release: improve attachment handleUnknwon2017-03-13
|
* release: able to add attchments to release (#1614)Unknwon2017-03-13
| | | | Added new config section '[release.attachment]’.
* repo: commits, branches and releases should highlight files tabUnknwon2017-03-11
|
* repo/branches: overview and all (#2310)Unknwon2017-03-11
|
* repo/pull: handle head repository of merged pull requests deletedUnknwon2017-03-10
|
* repo/release: 404 when edit draft (4262)Unknwon2017-03-10
|
* routers/repo/http: only prompt HTTP Basic Authentication when intendedUnknwon2017-03-04
| | | | | | | | | Sometimes user could simply request wrong URL, but if that wrong URL has nothing related Git HTTP operations, HTTP Basic Authentication should not prompted. Instead, clean 404 page should be presented. The patch also supports Git HTTP operations without '.git' suffix to the repository name, which addresses #4226 and #4189.
* cmd: able to backup and restoreUnknwon2017-02-27
| | | | | | Not very robust, must execute under correct workdir. Addresses #2072, #3708, #648
* cmd: refactoring command nameUnknwon2017-02-27
|
* refactoring: modules/auth/*_form.go -> modules/formUnknwon2017-02-27
|
* release: fix unable to edit release of a fork repositoryUnknwon2017-02-23
|
* 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
|