Commit Graph
30 Commits
Author SHA1 Message Date
Andrey Nering 9ac46fb983 Support Editorconfig on web editor 2016-08-30 20:30:47 -03:00
Andrey Neringand无闻 9f44c26789 Update .editorconfig (#3534)
[CI SKIP]
2016-08-29 18:05:44 -07:00
Andrey Neringand无闻 dbed39ba05 On showing diff/file, use the tab_width specified on .editorconfig, if any (#3241)
Closes #3182
2016-08-11 17:07:09 -07:00
Andrey Neringand无闻 fa12c282f6 Add Content-Disposition header for downloads (#3439) 2016-08-11 16:53:40 -07:00
Andrey Neringand无闻 25b23c4bc9 Do not show non-image attachment in a <img> tag. Fixes #3215 (#3311) 2016-08-11 16:16:36 -07:00
Andrey Neringand无闻 2772791fda Improve diff highlight (#3390)
- Try to reduce memory allocations
- Add possibility to disable diff highlight (can improve performance for large diffs)
- Tweaking with cost for prettier (cleaner) diffs
- Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
2016-08-07 09:49:47 -07:00
Andrey Neringand无闻 743d22669a Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174) 2016-06-29 23:11:00 +08:00
Andrey Neringand无闻 6efb1e5626 Localize collaboration settings. (#3100)
Closes #2764
2016-06-28 00:22:30 +08:00
Andrey NeringandUnknwon 12d30255a7 Add comment note (#3093) 2016-05-23 13:24:40 -07:00
Andrey NeringandUnknwon d8612f7704 Fix remove folder issues, including initialization failling. (#2969)
- Prevent panic on creating notice if database is not available
- Prevent incorrect folder on Windows ("/" instead of "\")
2016-05-06 15:48:18 -04:00
Andrey Nering 13e71acadf Render emojis in more places. 2016-03-02 21:54:05 -03:00
Andrey Nering d160c7e565 Little refactoring of diff highlight.
Moving cache variable to template instead of in the struct.
2016-02-21 18:45:24 -03:00
Andrey Nering 658bfc2704 Implement issue and pull request templates.
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates

Priority:
- root
- .gogs
- .github
2016-02-18 21:21:30 -02:00
Andrey Nering b97780ba51 Add GitHub's issue and pull request templates. 2016-02-17 21:15:11 -02:00
Andrey Nering e40d94bb4f Implementing the "theme-color" meta tag.
Used by Android >= 5.0 to make the top bar colored.

Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
2016-02-08 17:03:18 -02:00
Andrey Nering d37cf09ccd Workaroud delete folder on Windows. Fix #1738 2016-02-07 13:39:32 -02:00
Andrey Nering 2bfb8bb5fd Enable sintax highlighting on diff view. Close #733 2016-02-04 18:21:47 -02:00
Andrey Nering 137a49e834 go fmt models/git_diff_test.go 2016-02-04 17:55:17 -02:00
Andrey Nering 0e0cd9100b Add portuguese-BR to home template. 2016-01-31 17:58:51 -02:00
Andrey Nering 5deb726f3f Refactoring of inline diff computing to prevent empty diff box. Fix #2489 2016-01-27 18:54:08 -02:00
Andrey Nering ee5d6fb025 Compute inline diff for pull request view, too. Fix #2462 2016-01-25 20:56:27 -02:00
Andrey Nering b8d0367a6c Add command to run the test suite in Makefile. 2016-01-16 16:13:54 -02:00
Andrey Nering 9620f48ed0 Fix test case after 86bce4a2ae. 2016-01-09 17:05:21 -02:00
Andrey Nering 697b0e2aba Fix: now highlights in diff view are getting the correct lines. 2016-01-08 16:33:27 -02:00
Andrey Nering bf11ad19ea Semantic fixes. 2016-01-07 11:27:35 -02:00
Andrey Nering 81ed5c4bee Declaring specific types for enums constants.
This makes the code more strict since you can't assign or compare
values of different types without proper cast.
2016-01-06 18:00:40 -02:00
Andrey Nering 73474c043b Highlighting differences of lines in the diff view. 2016-01-06 17:46:56 -02:00
Andrey Nering cb8134da52 Making scroll always visible. 2016-01-04 16:38:10 -02:00
Andrey Nering 880849a283 Fixing Dropzone should accept all files when config is "*/*". 2015-11-23 13:46:58 -02:00
Andrey Nering 0252629956 Adding simple script to install Gogs as a Windows service. 2015-10-29 08:05:50 -02:00