summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
Commit message (Collapse)AuthorAgeFilesLines
* #3383 code cleanupUnknwon2016-08-241-1/+1
|
* #2246 add HTMLURL to webhook typeUnknwon2016-08-161-2/+2
| | | | - Fill Milestone and Assignee field when available in webhook payload
* models/issue: improve quality and performance of NewIssue functionUnknwon2016-08-151-2/+1
|
* markdown: fix treating pure number as SHA1Unknwon2016-08-151-1/+1
| | | | - Detect non-exist commit and return 404 not 500
* Web editor: temporarily disable upload and quick fix for edit and newUnknwon2016-08-151-2/+2
| | | | Try to merge into develop branch ASAP, then continue minor fixes afterwards.
* Web editor: improve delete fileUnknwon2016-08-141-3/+8
|
* Code clean up for new config optionsUnknwon2016-08-141-1/+1
|
* Squashed commit of the following:Richard Mahn2016-08-141-0/+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-141-1/+1
|
* Add Content-Disposition header for downloads (#3439)Andrey Nering2016-08-111-0/+1
|
* Fix #3321: commit tag shortener (#3418)Thibault Meyer2016-08-111-3/+3
| | | | | | | | | | | | * Fix #3321: commit tag shortener * Check short commit * remove debug * Edit unit tests * Show 10-char short SHA
* #2852 code cleanupUnknwon2016-08-111-11/+15
|
* Add initial support for unix sockets (#2852)Odin Ugedal2016-08-111-0/+18
|
* Fix #3314: Cannot edit release with tag name contains slash (#3434)Thibault Meyer2016-08-111-2/+2
|
* #2780 code clean upUnknwon2016-08-111-1/+1
|
* #3233 code cleanup and minor issue fixUnknwon2016-08-111-1/+1
|
* Fix only user has repo write access can commentUnknwon2016-08-111-1/+1
|
* Fix typo CacheInternal -> CacheInterval (#3432)Thibault Meyer2016-08-111-1/+1
|
* #2907 Add commit timestamp to webhookUnknwon2016-08-091-1/+1
|
* #3007 update git-module require versionUnknwon2016-08-091-1/+1
|
* #3406 fix regression of MustEnableIssues checkUnknwon2016-08-091-5/+5
|
* Fix 404 when comment on pulls and not using interal issue trackerUnknwon2016-08-081-1/+3
|
* Add support for federated avatars (#3320)Sandro Santilli2016-08-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for federated avatars Fixes #3105 Removes avatar fetching duplication code Adds an "Enable Federated Avatar" checkbox in user settings (defaults to unchecked) Moves avatar settings all in the same form, making local and remote avatars mutually exclusive Renames UploadAvatarForm to AvatarForm as it's not anymore only for uploading * Run gofmt on all modified files * Move Avatar form in its own page * Add go-libravatar dependency to vendor/ dir Hopefully helps with accepting the contribution. See also #3214 * Revert "Add go-libravatar dependency to vendor/ dir" This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82. * Make federated avatar setting a global configuration Removes the per-user setting * Move avatar handling back to base tool, disable federated avatar in offline mode * Format, handle error * Properly set fallback host * Use unsupported github.com mirror for importing go-libravatar * Remove comment showing life exists outside of github.com ... pity, but contribution would not be accepted otherwise * Use Combo for Get and Post methods over /avatar * FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR * Fix persistance of federated avatar lookup checkbox at install time * Federated Avatars -> Enable Federated Avatars * Use len(string) == 0 instead of string == "" * Move import line where it belong See https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md Pity the import url is still the unofficial one, but oh well... * Save a line (and waste much more expensive time) * Remove redundant parens * Remove an empty line * Remove empty lines * Reorder lines to make diff smaller * Remove another newline Unknwon review got me start a fight against newlines * Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE On re-reading the diff I figured what Unknwon meant here: https://github.com/gogits/gogs/pull/3320/files#r73741106 * Remove newlines that weren't there before my intervention
* #2593 allow render raw contentUnknwon2016-08-051-1/+1
| | | | Use URL query parameter render=1 to render content in raw mode.
* #2162 completely disable builtin issue tracker when enable external trackerUnknwon2016-08-041-4/+4
|
* #3290 better code structure and batch minor improvementsUnknwon2016-08-031-1/+1
|
* #1601 support delete issue commentUnknwon2016-07-261-1/+4
|
* Bump versionUnknwon2016-07-221-1/+1
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-161-3/+7
|
* #2709 validate username attribute fetched from LDAPUnknwon2016-07-121-1/+1
|
* #2586 bump git-module requirementUnknwon2016-07-121-1/+1
|
* Update glide.lockUnknwon2016-07-111-2/+5
|
* #518 update git-module require versionUnknwon2016-06-301-1/+1
|
* Update glide.yamlUnknwon2016-06-271-1/+1
|
* #2958 Update dep versionUnknwon2016-06-121-1/+1
|
* #3045 fix DEPRECATED Action signature erorrUnknwon2016-05-121-1/+3
|
* Add route for #2846Unknwon2016-03-211-1/+2
|
* #1692 add CRUD issue APIsUnknwon2016-03-131-1/+1
| | | | | - Fix go-gogs-client#10 - Related to #809
* Convert all API handers to use *context.APIContextUnknwon2016-03-131-6/+4
|
* #1891 attempt to fix invalid csrf tokenUnknwon2016-03-121-2/+3
|
* #1286 #2098 Alpha support for custom templatesUnknwon2016-03-121-4/+5
| | | | No guarantee for compatibility with future changes
* fix #2804Unknwon2016-03-111-0/+3
|
* #13 finish user and repository searchUnknwon2016-03-111-1/+4
| | | | Both are possible on explore and admin panel
* Rename module: middleware -> contextUnknwon2016-03-111-32/+32
|
* Some minor changesUnknwon2016-03-061-2/+1
|
* Minor fix for #2772Unknwon2016-03-061-1/+1
|
* Added: Ability to delete org avatar.Tamás Molnár2016-03-061-0/+1
|
* #1146 finish new access rights for collaboratorsUnknwon2016-03-051-7/+7
|
* #1146 finsih UI work for access mode of collaboratorsUnknwon2016-03-051-1/+7
| | | | | Collaborators have write access as default, and can be changed via repository collaboration settings page to change between read, write and admin.
* #1157 some avatar setting changesUnknwon2016-03-051-0/+1
| | | | - Allow to delete current avatar