aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/view.go
Commit message (Collapse)AuthorAge
* Refactoring: rename package routers -> routesUnknwon2017-06-11
|
* repo/view: trim Windows line ending when display content (#4546)Unknwon2017-06-09
|
* Refactoring: rename ctx -> cUnknwon2017-06-03
|
* feature/org-mode: fix compile errorUnknwon2017-05-17
|
* modules/markup: initial support for org-mode (#4373)Unknwon2017-05-17
|
* templates/repo: fix README.ipynb not rendered (#4367)Unknwon2017-04-07
|
* Refactoring: remove tool.TplNameUnknwon2017-04-05
|
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-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
* modules/markup: rename Markdown render fucntionsUnknwon2017-03-31
| | | | | The unified function 'Markdown' accepts both string or []byte type input and renders to HTML with []byte type.
* modules: rename markdown -> markupUnknwon2017-03-31
| | | | | | | To further support more markup languages (e.g. Org-mode, AsciiDoc, reStructuredText), the name 'markdown' is inappropriate. This is the first step towards more markup language support.
* repo: rename PageIsViewCode -> PageIsViewFilesUnknwon2017-03-22
| | | | Also highlight 'Files' tab when use editor.
* repo: allow issues and wiki for bare repository (#4104)Unknwon2017-03-16
|
* templates/repo: only show Git stats in repository home page (#3518)Unknwon2017-03-10
| | | | | | | | | Move 'Commits' and 'Releases' tabs down to body. This patch also reduces page load time for pages that do not need to use commits count anywhere. Get commits count can hurt performance badly for huge repositories that has tens of thousands commits like Linux Kernel.
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* Fix compilation errorUnknwon2017-02-15
|
* Commits fetch concurrency (#3837)Thibault Meyer2017-02-15
|
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* IPythonNotebook: CSS adjustment for PR #4070Unknwon2017-02-07
|
* Ipython notebook support (#4070)Herbert2017-02-07
| | | | | | | | | | * added marked and notebookjs javascript libraries * added ipython notebook render support using javascript libraries * recompiled gogs.css to include ipynb-related css * removed superflous javascript library files
* routers/repo: minor code fix for PR #3758Unknwon2017-02-01
|
* Fix 500 when repo has invalid .editorconfig (#3758)Andrey Nering2017-02-01
| | | | | Creating a notice instead Fixes #3643
* Fix template error when rendering non-README markdown (#4063)Unknwon2017-01-27
|
* Fix unexpected rendering of README when it is not in MarkdownUnknwon2017-01-25
| | | | | This patch also handles case when a file name looks like README but is not a text file (e.g. image, PDF).
* serve video files using the HTML5 video tag (#3967)Nico Mandery2016-12-21
|
* #3559 fix template errorUnknwon2016-08-31
|
* Web editor: support upload filesUnknwon2016-08-30
|
* router/repo: code refactoringUnknwon2016-08-30
|
* Web editor: improve delete file processUnknwon2016-08-28
|
* Web editor: improve edit file tooltipUnknwon2016-08-27
|
* Web editor: improve code qualityUnknwon2016-08-24
|
* 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
|
* Web editor: improve edit file and diff previewUnknwon2016-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
* On showing diff/file, use the tab_width specified on .editorconfig, if any ↵Andrey Nering2016-08-11
| | | | | (#3241) Closes #3182
* Little code refactoringUnknwon2016-08-09
|
* Render the Code view on the server (minus syntax highlighting) (#2942)Rory McNamara2016-08-09
| | | | | | | | | | | | | | | | * render code view server side * remove debug print * fix multiline selection bug * change string concatenation to bytes.Buffer for efficiency * Fix newlines added by previous for hljs * fix selection highlighting * make css changes in .less
* Use struct for UI settingsUnknwon2016-07-24
|
* [Fix] Don't display way too large files #1513 (#3253)Kim Carlbäcker2016-07-12
| | | | | | | | | | * Add MaxDisplayFileSize setting * Don't show files that are too large * Localized FileTooLarge * Change IsFileTooBig => IsFileTooLarge
* Minor fix for #3194Unknwon2016-06-27
| | | | - Update locale bindata
* Include repository owner name and description in html title (#3194)Sandro Santilli2016-06-27
| | | Closes #3192
* PDF-Previews in file-lists now working (#3000)Kim Carlbäcker2016-04-26
|
* Rename module: middleware -> contextUnknwon2016-03-11
|
* Make markdown as an independent moduleUnknwon2016-02-20
|
* Enable sintax highlighting on diff view. Close #733Andrey Nering2016-02-04
|
* #1692 APIs: Users FollowersUnknwon2015-12-21
| | | | | - User profile un/follow - List user's followers/following
* #2103 #2181 improvments of highlight class nameUnknwon2015-12-16
|
* rename import pathUnknwon2015-12-15
|