Commit Graph
100 Commits
Author SHA1 Message Date
Andrey NeringandGitHub 43c5469f81 Merge pull request #1258 from ethantkoenig/fix/access
Fix nil-dereference bug
2017-03-15 21:21:57 -03:00
Andrey NeringandLunny Xiao d2b2881306 Fix Git hooks not being executed on Windows when running as a service (#1149)
Closes #1139
2017-03-09 09:27:43 +08:00
Andrey NeringandGitHub ddb0287bf6 Merge pull request #970 from andreynering/api-repo-mirror
Add "mirror" field to repo API
2017-02-25 11:35:03 -03:00
Andrey NeringandGitHub c4a3d5148d Merge pull request #1053 from andreynering/do-not-test-libravatar
Remove test that touch network
2017-02-25 11:27:45 -03:00
Andrey Nering f552b0a207 Remove test that touch network 2017-02-25 10:32:15 -03:00
Andrey Nering d7af8f96d7 Update vendor of code.gitea.io/sdk/gitea 2017-02-25 10:04:22 -03:00
Andrey Nering 946f3078d3 Add "mirror" field to repo API 2017-02-25 10:04:22 -03:00
Andrey NeringandGitHub d4a7040c7f Merge pull request #1043 from andrew-boyarshin/autolink
Fix span wrapping all the things
2017-02-25 09:31:28 -03:00
Andrey NeringandGitHub d181113b82 Merge pull request #1017 from ethantkoenig/fix_lint
Fix lint errors
2017-02-22 21:14:54 -03:00
Andrey NeringandLunny Xiao 05157808de Fix HighlightJS not working on compare diff page (#914) 2017-02-13 10:11:08 +08:00
Andrey NeringandLunny Xiao e4031b822a Makefile: install on build (#874)
This install Go package on building for caching and faster builds
2017-02-09 11:11:04 +08:00
Andrey NeringandGitHub 7ab4ddad1c Merge pull request #850 from ethantkoenig/fix/fixtures
Fix inconsistencies in unit test fixtures
2017-02-06 07:14:53 -02:00
Andrey NeringandGitHub e921dcf503 Merge pull request #727 from mrm2m/german-translation
Added some missing German translations
2017-02-04 15:15:59 -02:00
Andrey NeringandGitHub 7c3dc51655 Merge pull request #839 from ethantkoenig/fix/remove_org_repo
Fix bug in removeOrgRepo
2017-02-04 14:55:02 -02:00
Andrey NeringandGitHub 5fd19a45b7 Merge pull request #838 from ethantkoenig/fix/fixtures
Fix inconsistencies in test fixtures
2017-02-04 14:53:38 -02:00
Andrey NeringandGitHub d4035d1cb1 Merge pull request #830 from appleboy/patch-2001
refactor: set default order by recently star on start tab
2017-02-04 10:32:55 -02:00
Andrey NeringandGitHub cc31a21192 Merge pull request #781 from andreynering/notifications-step-5
Notifications step 5
2017-01-28 17:54:37 -02:00
Andrey Nering aa591317e7 Small UI fixes 2017-01-28 14:11:49 -02:00
Andrey Nering 5348e8b71a Fix color: closed PR was showing as purple instead of red 2017-01-28 14:01:07 -02:00
Andrey Nering 27d30f1a61 Notifying on open PR, and Close/Reopen/Merge issue or PR 2017-01-28 13:59:58 -02:00
Andrey NeringandGitHub 31c717f579 Merge pull request #777 from ethantkoenig/tests/wiki
Unit tests for models/wiki
2017-01-28 11:27:45 -02:00
Andrey NeringandGitHub abf3fbf0b1 Merge pull request #776 from ethantkoenig/tests/org
Unit tests and bug fix for models/org
2017-01-28 11:27:38 -02:00
Andrey NeringandGitHub e7c3be5f2f Merge pull request #736 from andreynering/fix-windows-ssh
Fix SSH server on Windows when running as service
2017-01-25 14:19:55 -02:00
Andrey NeringandLunny Xiao 521d429b58 Fix link of some repos on stars page (#737)
Link was wrong the repo was of another owner
2017-01-24 10:39:58 +08:00
Andrey Nering 2009f4cbda Remove original minwinsvc from vendor 2017-01-23 20:57:34 -02:00
Andrey Nering bcee9b76dd Fix lint 2017-01-23 20:56:25 -02:00
Andrey Nering fda4476061 Fix SSH server on Windows when running as service
Closes #680
2017-01-23 20:44:23 -02:00
Andrey Nering 44d4863ecf Merge commit 'af636848622c8ad27cace63be5f9dd9aaa565502' as 'modules/minwinsvc' 2017-01-23 20:40:11 -02:00
Andrey Nering af63684862 Squashed 'modules/minwinsvc/' content from commit cad6b2b
git-subtree-dir: modules/minwinsvc
git-subtree-split: cad6b2b879b0970e4245a20ebf1a81a756e2bb70
2017-01-23 20:40:11 -02:00
Andrey NeringandLunny Xiao d2bb8ef503 Notifications: trying to get a better layout (#660)
* i18n button titles

* Improvements on notification page layout

* Notification count badge fixes

* Make table <tr> clickable

* Fix octicon aligment

* Fix use of AppSubUrl
2017-01-18 09:18:55 +08:00
Andrey NeringandGitHub 240d0e84f0 Merge pull request #643 from pkuphy/patch-2
fix typo
2017-01-14 10:44:58 -02:00
Andrey NeringandLunny Xiao 769e0a3ea6 Notifications: mark as read/unread and pin (#629)
* Use relative URLs

* Notifications - Mark as read/unread

* Feature of pinning a notification

* On view issue, do not mark as read a pinned notification
2017-01-12 12:27:09 +08:00
Andrey NeringandGitHub 03b45284e1 Merge pull request #555 from ethantkoenig/tests/pull
Unit tests for models/pull.go
2017-01-06 19:19:18 -02:00
Andrey NeringandLunny Xiao 84b7d29d34 Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
Andrey NeringandGitHub 79d527195d Merge pull request #539 from andreynering/notifications-step-2
Notifications - Step 2
2017-01-05 11:53:01 -02:00
Andrey Nering b354cf362e Add pagination for notifications 2017-01-03 17:09:36 -02:00
Andrey Nering 545ba2e2e6 Showing index in front of issue title 2017-01-02 16:43:23 -02:00
Andrey Nering f59672a18d More fine graned colors 2017-01-02 16:40:50 -02:00
Andrey Nering 341a3b571b Do not get count on /api routers 2017-01-02 16:31:50 -02:00
Andrey NeringandLunny Xiao b7e1bccc50 Makefile: on Windows, executable should have ".exe" (#550) 2017-01-01 22:18:35 +08:00
Andrey NeringandGitHub aea1b2b02e Merge pull request #543 from lunny/lunny/fallback_graceful_windows
Fix windows build broken by #416
2017-01-01 10:45:51 -02:00
Andrey NeringandGitHub 1f07792881 Merge pull request #545 from lunny/lunny/fix_ui_data_row_missing
Partially fix #484: fix admin ui data row missing
2016-12-31 10:40:14 -02:00
Andrey Nering 6069abe5fd Notifications - Step 2 2016-12-30 16:51:24 -02:00
Andrey NeringandGitHub d0490c187c Merge pull request #538 from 0xbaadf00d/feature/fix-contrib-link
Fix URL link on CONTRIBUTING
2016-12-30 16:38:14 -02:00
Andrey NeringandLunny Xiao 42904cb98a Notification - Step 1 (#523)
* Notification - Step 1

* Add copyright headers

* Cache issue and repository on notification model
2016-12-31 00:44:54 +08:00
Andrey NeringandLunny Xiao b992858883 Tab on user profile to show starred repos (#519)
* Tab on user profile to show starred repos

* Make golint happy and use transactions on StarRepo function

* x -> sess

* Use sess.Close() instead of sess.Rollback()

* Add copyright

* Fix lint
2016-12-29 22:58:24 +08:00
Andrey NeringandGitHub edfa76d3f5 Merge pull request #508 from joubertredrat/fix-cookie-name
Fix default cookie name
2016-12-27 13:14:20 -02:00
Andrey NeringandGitHub ba85f68ea8 Merge pull request #487 from Bwko/NL
Added Dutch translations to the landingpage
2016-12-27 11:13:48 -02:00
Andrey NeringandGitHub 59f736d54c Merge pull request #492 from Bwko/password
At the locales replaced 6 with MIN_PASSWORD_LENGTH
2016-12-26 22:10:29 -02:00
Andrey NeringandLunny Xiao 111c95ecaf Change default Android theme color meta tag (#389) 2016-12-20 21:54:22 +08:00
Andrey NeringandGitHub 235eb4c3d2 Merge pull request #412 from strk/libravatar-source
Add support for using "libravatar" as the GravatarSource
2016-12-20 10:32:45 -02:00
Andrey NeringandGitHub 952587dbae Merge pull request #422 from mjwwit/master
Change test mail subject and body to 'Gitea Test Mail!'
2016-12-20 10:15:03 -02:00
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