Commit Graph
55 Commits
Author SHA1 Message Date
Andrey NeringandThomas Boerger 578a8e258e Revert "Disable coverage report for now" (#400) 2016-12-16 12:49:54 +01:00
Andrey NeringandGitHub dc14d0c046 Merge pull request #345 from Bwko/fix_for_320
Fix for #320
2016-12-03 20:06:05 -02:00
Andrey NeringandGitHub 0a6d9295df Merge pull request #326 from tboerger/maintainers
Added real name of Bwko to maintainers file
2016-12-01 13:03:32 -02:00
Andrey NeringandGitHub bf0edcbdea Merge pull request #318 from stroucki/20161128locale
Suggested de locale fix
2016-11-30 19:40:29 -02:00
Andrey NeringandGitHub fd53028139 Merge pull request #294 from Bwko/Lint/user.go
Lint models/user.go
2016-11-28 20:30:02 -02:00
Andrey NeringandGitHub b9b22b4a0b Merge pull request #295 from Bwko/Lint/repo_
Lint models/repo
2016-11-28 20:29:15 -02:00
Andrey NeringandGitHub 3ac72255fa Merge pull request #272 from andreynering/gitea/location-cherrypick-a3ea4b8
Update locales and add Swedish
2016-11-27 08:49:26 -02:00
Andrey NeringandGitHub c664ffd1db Merge pull request #270 from andreynering/gitea/http-headers-download
Fix HTTP headers for issue attachment download
2016-11-27 08:48:26 -02:00
Andrey Nering d647d02c2f Fix Chrome not liking commas 2016-11-26 11:26:03 -02:00
Andrey Nering 638dd24cec Fix HTTP headers for issue attachment download
- Download filename was wrong for files other than images. Example: It was `download` instead of `file.pdf`
- PDF was downloading instead of showing on browser
2016-11-26 10:13:25 -02:00
Andrey NeringandLunny Xiao 6a28909f40 CONTRIBUTING.md: link to "Faster reviews" document (#229)
* CONTRIBUTING.md: link to "Faster reviews" document

* CONTRIBUTING.md: small fixes
2016-11-25 09:25:34 +08:00
Andrey NeringandGitHub bd13c81684 Merge pull request #196 from Bwko/fix/commit-view-panic
Fix panic when no user is signed in
2016-11-19 14:30:37 -02:00
Andrey NeringandGitHub 91953ae9b4 Merge pull request #187 from strk/vendor
Add vendoring section
2016-11-17 17:35:48 -02:00
Andrey NeringandGitHub d884312223 Merge pull request #100 from ethantkoenig/develop
API endpoints for stars
2016-11-17 07:15:15 -02:00
Andrey NeringandGitHub 6cf66117e7 Merge pull request #170 from strk/wiki-lint
Fix lint errors in models/wiki (just add methods docs)
2016-11-14 17:34:16 -02:00
Andrey Nering a285c07d5e .editorconfig: do not specify line ending
That is annoying on Windows, since the editor will change the file if
you just open it. Git will checking as LF anyway.
2016-11-14 15:48:44 -02:00
Andrey NeringandGitHub 81f227eace Merge pull request #168 from appleboy/gofmt
fix gofmt error.
2016-11-14 15:00:02 -02:00
Andrey NeringandLunny Xiao 739f07c98e Remember diff view style (#163) 2016-11-13 10:54:04 +08:00
Andrey NeringandLunny Xiao 96c9fef35f Update home page to Gitea (#138) 2016-11-11 08:50:31 +08:00
Andrey NeringandGitHub 52cc3fd36a Merge pull request #136 from 0xbaadf00d/feature/rewrite-xorm-queries
Rewrite raw queries
2016-11-10 21:18:34 -02:00
Andrey NeringandGitHub 1c0a4e166f Merge pull request #134 from metalmatze/fix/admin-templates
Fix bug that tries to load mistyped templates
2016-11-10 13:06:54 -02:00
Andrey Nering ef5fc3c959 CSS: Stronger colors for diffs 2016-11-06 17:57:45 -02:00
Andrey Nering bd898a10f8 Refactor editorconfig middleware 2016-11-05 15:44:14 -02:00
Andrey Nering 984fa8d83b Fix 500 when repo has invalid .editorconfig
Creating a notice instead
2016-11-05 13:33:41 -02:00
Andrey Nering 87b593f93e Show issue/PR number on title 2016-11-03 20:28:05 -02:00
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