]> source.dussan.org Git - gitea.git/log
gitea.git
7 years agotest: Add user mail testing. (#833)
Bo-Yi Wu [Sat, 4 Feb 2017 01:20:56 +0000 (09:20 +0800)]
test: Add user mail testing. (#833)

7 years agoTrack assignee for issue (#808)
Lunny Xiao [Fri, 3 Feb 2017 15:09:10 +0000 (23:09 +0800)]
Track assignee for issue (#808)

* track assignee for issue

* fix lint

* use getUserByID instead Get

7 years agoDrop redundant columns from issue_user table (#638)
Ethan Koenig [Fri, 3 Feb 2017 07:22:39 +0000 (02:22 -0500)]
Drop redundant columns from issue_user table (#638)

7 years agoCache ctxUser in retrieveFeeds(..) (#826)
Ethan Koenig [Fri, 3 Feb 2017 05:27:10 +0000 (00:27 -0500)]
Cache ctxUser in retrieveFeeds(..) (#826)

7 years agoCleanup log messaging
Gabriel Jackson [Sun, 29 Jan 2017 20:13:57 +0000 (12:13 -0800)]
Cleanup log messaging

This change corrects a few logging issues:

 * Standardized formatting errors with '%v'.
 * Standardized failure warning word usage.
 * Corrected an instance of using the standard log library when
   the gitea log library should be used instead.

7 years agoRemove unneeded database loads (#814)
Ethan Koenig [Thu, 2 Feb 2017 12:33:56 +0000 (07:33 -0500)]
Remove unneeded database loads (#814)

Remove unnecessary calls to repo.GetOwner() in context handlers

7 years agofix: ignore email notifications if user is not active. (#820)
Bo-Yi Wu [Thu, 2 Feb 2017 12:33:36 +0000 (20:33 +0800)]
fix: ignore email notifications if user is not active. (#820)

7 years agofix: User can see the private activity on public activity history. (#818)
Bo-Yi Wu [Thu, 2 Feb 2017 12:32:40 +0000 (20:32 +0800)]
fix: User can see the private activity on public activity history. (#818)

7 years agoFix master builds on mips* again (#815)
Thomas Boerger [Thu, 2 Feb 2017 03:56:08 +0000 (04:56 +0100)]
Fix master builds on mips* again (#815)

* Use local folder for xgo

* Always do crosscompile and testing to fail early

* Added mips* values for boltdb

In order to get master building again I have applied these 2 additional
files to boltdb. This should get dropped when
https://github.com/boltdb/bolt/issues/656 gets solved.

7 years agoAdd X-GitHub-* headers for webhook to get clubhouse.io integration working (#809)
Anton Skorokhod [Thu, 2 Feb 2017 03:51:19 +0000 (04:51 +0100)]
Add X-GitHub-* headers for webhook to get clubhouse.io integration working (#809)

7 years agoadd milestone changed traker on issue view (#804)
Lunny Xiao [Wed, 1 Feb 2017 02:36:08 +0000 (10:36 +0800)]
add milestone changed traker on issue view (#804)

7 years agoBug fixes and unit tests for models/issue_label (#802)
Ethan Koenig [Wed, 1 Feb 2017 01:31:35 +0000 (20:31 -0500)]
Bug fixes and unit tests for models/issue_label (#802)

7 years agoWindows compatibility for unit tests (#800)
Ethan Koenig [Mon, 30 Jan 2017 14:22:04 +0000 (09:22 -0500)]
Windows compatibility for unit tests (#800)

7 years agoUnit tests and remove unused functions in models/notification (#796)
Ethan Koenig [Mon, 30 Jan 2017 14:21:49 +0000 (09:21 -0500)]
Unit tests and remove unused functions in models/notification (#796)

* Unit tests and remove unused functions in models/notification

* Read -> Unread

7 years agofix bug caused by #788 (#799)
Lunny Xiao [Mon, 30 Jan 2017 14:21:17 +0000 (22:21 +0800)]
fix bug caused by #788 (#799)

7 years agoTrack labels changed on issue view & resolved #542 (#788)
Lunny Xiao [Mon, 30 Jan 2017 12:46:45 +0000 (20:46 +0800)]
Track labels changed on issue view & resolved #542 (#788)

* track labels changed on issue view & resolved #542

* add missing head comment & sort & fix refresh

7 years agofeat: add search repository on dashboard. (#773)
Bo-Yi Wu [Mon, 30 Jan 2017 05:57:47 +0000 (13:57 +0800)]
feat: add search repository on dashboard. (#773)

7 years agoBetter settings for unit tests (#795)
Ethan Koenig [Mon, 30 Jan 2017 05:17:43 +0000 (00:17 -0500)]
Better settings for unit tests (#795)

7 years agoAllow custom public files (#782)
Thomas Boerger [Sat, 28 Jan 2017 22:14:56 +0000 (23:14 +0100)]
Allow custom public files (#782)

* Allow custom public files

* Gofmt code, lots of places not related to this pr

7 years agoMerge pull request #781 from andreynering/notifications-step-5
Andrey Nering [Sat, 28 Jan 2017 19:54:37 +0000 (17:54 -0200)]
Merge pull request #781 from andreynering/notifications-step-5

Notifications step 5

7 years agoSmall UI fixes 781/head
Andrey Nering [Sat, 28 Jan 2017 16:11:49 +0000 (14:11 -0200)]
Small UI fixes

7 years agoFix color: closed PR was showing as purple instead of red
Andrey Nering [Sat, 28 Jan 2017 16:01:07 +0000 (14:01 -0200)]
Fix color: closed PR was showing as purple instead of red

7 years agoNotifying on open PR, and Close/Reopen/Merge issue or PR
Andrey Nering [Sat, 28 Jan 2017 15:59:58 +0000 (13:59 -0200)]
Notifying on open PR, and Close/Reopen/Merge issue or PR

7 years agoMerge pull request #777 from ethantkoenig/tests/wiki
Andrey Nering [Sat, 28 Jan 2017 13:27:45 +0000 (11:27 -0200)]
Merge pull request #777 from ethantkoenig/tests/wiki

Unit tests for models/wiki

7 years agoMerge pull request #776 from ethantkoenig/tests/org
Andrey Nering [Sat, 28 Jan 2017 13:27:38 +0000 (11:27 -0200)]
Merge pull request #776 from ethantkoenig/tests/org

Unit tests and bug fix for models/org

7 years agoUnit tests for models/wiki 777/head
Ethan Koenig [Fri, 27 Jan 2017 18:04:53 +0000 (13:04 -0500)]
Unit tests for models/wiki

7 years agoUnit tests and bug fix for models/org 776/head
Ethan Koenig [Tue, 24 Jan 2017 16:16:36 +0000 (11:16 -0500)]
Unit tests and bug fix for models/org

7 years agofix xorm NewSession uncorrected usages (#774)
Lunny Xiao [Fri, 27 Jan 2017 16:11:41 +0000 (00:11 +0800)]
fix xorm NewSession uncorrected usages (#774)

7 years agorefactor: Remove unnecessary type conversions (#772)
Bo-Yi Wu [Fri, 27 Jan 2017 15:03:32 +0000 (23:03 +0800)]
refactor: Remove unnecessary type conversions (#772)

7 years agoAdded webkit-font-smoothing (#763)
Bwko [Fri, 27 Jan 2017 06:10:21 +0000 (07:10 +0100)]
Added webkit-font-smoothing (#763)

7 years agoAdd ability to fork your own repos (#761)
Bwko [Thu, 26 Jan 2017 14:44:37 +0000 (15:44 +0100)]
Add ability to fork your own repos (#761)

7 years agoUse handlers for API authorization (#723)
Ethan Koenig [Thu, 26 Jan 2017 11:54:04 +0000 (06:54 -0500)]
Use handlers for API authorization (#723)

7 years agoFix to reflect selected branch for fork (#762)
Bwko [Thu, 26 Jan 2017 05:32:08 +0000 (06:32 +0100)]
Fix to reflect selected branch for fork (#762)

PullRequestCtx.HeadInfo did not contain the current selected branch
causing issue #304

7 years agoUpdate ru-RU translation (#657)
Michael Svobodin [Thu, 26 Jan 2017 05:20:33 +0000 (12:20 +0700)]
Update ru-RU translation (#657)

* Update ru-RU translation

* Fixed translation for ru-RU. Incorrect quotation marks.

* Update ru-RU translation. Changed 'issue' translation. Updated 'notifications' translation.

* Changed translation of “issue” from “trouble” to “task”. This translation is being used in most tracking systems.

* Improved translation of the sentence to sound better in Russian.

7 years agoMerge pull request #736 from andreynering/fix-windows-ssh
Andrey Nering [Wed, 25 Jan 2017 16:19:55 +0000 (14:19 -0200)]
Merge pull request #736 from andreynering/fix-windows-ssh

Fix SSH server on Windows when running as service

7 years agoFix FIXME and remove superfluous queries in models/org (#749)
Ethan Koenig [Wed, 25 Jan 2017 15:41:38 +0000 (10:41 -0500)]
Fix FIXME and remove superfluous queries in models/org (#749)

7 years agofix: delete attachment after remove comment.
Bo-Yi Wu [Wed, 25 Jan 2017 14:54:52 +0000 (22:54 +0800)]
fix: delete attachment after remove comment.

7 years agorefactor: move js to bottom and move css to top. (#689)
Bo-Yi Wu [Wed, 25 Jan 2017 15:15:25 +0000 (23:15 +0800)]
refactor: move js to bottom and move css to top. (#689)

7 years agoBug fixes and unit tests for models/webhook (#751)
Ethan Koenig [Wed, 25 Jan 2017 10:37:35 +0000 (05:37 -0500)]
Bug fixes and unit tests for models/webhook (#751)

7 years agoUnit tests for models/star (#752)
Ethan Koenig [Wed, 25 Jan 2017 10:37:10 +0000 (05:37 -0500)]
Unit tests for models/star (#752)

7 years agobug fixed issues 500 resolved #754 (#756)
Lunny Xiao [Wed, 25 Jan 2017 08:28:03 +0000 (16:28 +0800)]
bug fixed issues 500 resolved #754 (#756)

7 years agobug fixed caused by #530 (#755)
Lunny Xiao [Wed, 25 Jan 2017 08:19:14 +0000 (16:19 +0800)]
bug fixed caused by #530 (#755)

7 years agoUpdate Website binding MaxSize to 255 (#722)
Bwko [Wed, 25 Jan 2017 07:23:20 +0000 (08:23 +0100)]
Update Website binding MaxSize to 255 (#722)

7 years agoAdd ETag header to avatars (#721)
Bwko [Wed, 25 Jan 2017 04:26:31 +0000 (05:26 +0100)]
Add ETag header to avatars (#721)

7 years agoLess boilerplate in models/ unit tests (#725)
Ethan Koenig [Wed, 25 Jan 2017 02:49:51 +0000 (21:49 -0500)]
Less boilerplate in models/ unit tests (#725)

7 years agoAdded gogs migration script (#532)
Bwko [Wed, 25 Jan 2017 02:45:29 +0000 (03:45 +0100)]
Added gogs migration script (#532)

7 years agoSearch bar for issues/pulls (#530)
Ethan Koenig [Wed, 25 Jan 2017 02:43:02 +0000 (21:43 -0500)]
Search bar for issues/pulls (#530)

7 years agopublic/img: reduce the size of PNG images (#734)
unclejack [Tue, 24 Jan 2017 14:37:11 +0000 (06:37 -0800)]
public/img: reduce the size of PNG images (#734)

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
7 years agoFix link of some repos on stars page (#737)
Andrey Nering [Tue, 24 Jan 2017 02:39:58 +0000 (00:39 -0200)]
Fix link of some repos on stars page (#737)

Link was wrong the repo was of another owner

7 years agoUpdate the contribution guidelines (#726)
Bwko [Tue, 24 Jan 2017 01:16:19 +0000 (02:16 +0100)]
Update the contribution guidelines (#726)

7 years agoRemove original minwinsvc from vendor 736/head
Andrey Nering [Mon, 23 Jan 2017 22:57:34 +0000 (20:57 -0200)]
Remove original minwinsvc from vendor

7 years agoFix lint
Andrey Nering [Mon, 23 Jan 2017 22:56:25 +0000 (20:56 -0200)]
Fix lint

7 years agoFix SSH server on Windows when running as service
Andrey Nering [Mon, 23 Jan 2017 22:44:23 +0000 (20:44 -0200)]
Fix SSH server on Windows when running as service

Closes #680

7 years agoMerge commit 'af636848622c8ad27cace63be5f9dd9aaa565502' as 'modules/minwinsvc'
Andrey Nering [Mon, 23 Jan 2017 22:40:11 +0000 (20:40 -0200)]
Merge commit 'af636848622c8ad27cace63be5f9dd9aaa565502' as 'modules/minwinsvc'

7 years agoSquashed 'modules/minwinsvc/' content from commit cad6b2b
Andrey Nering [Mon, 23 Jan 2017 22:40:11 +0000 (20:40 -0200)]
Squashed 'modules/minwinsvc/' content from commit cad6b2b

git-subtree-dir: modules/minwinsvc
git-subtree-split: cad6b2b879b0970e4245a20ebf1a81a756e2bb70

7 years agofix logfile name (#731)
DWE [Mon, 23 Jan 2017 11:19:12 +0000 (12:19 +0100)]
fix logfile name (#731)

7 years agoupdate xorm for bugs fix (#728)
Lunny Xiao [Mon, 23 Jan 2017 11:11:57 +0000 (19:11 +0800)]
update xorm for bugs fix (#728)

7 years agoUpdate xorm and fix dump command (#692)
Lunny Xiao [Mon, 23 Jan 2017 09:11:18 +0000 (17:11 +0800)]
Update xorm and fix dump command (#692)

* update xorm and fix dump

* catch database init error

* still use dumpTables

* fix dump bool type

* update vendor.json

7 years agoAdd option to app.ini to enable local import paths (#724)
Bwko [Mon, 23 Jan 2017 01:19:50 +0000 (02:19 +0100)]
Add option to app.ini to enable local import paths (#724)

7 years agoAdd a reserved path check to the wiki (#720)
Bwko [Sun, 22 Jan 2017 15:08:54 +0000 (16:08 +0100)]
Add a reserved path check to the wiki (#720)

7 years agoadd scroolbars to wide graphs. (#608)
Kjell Kvinge [Sun, 22 Jan 2017 12:10:01 +0000 (13:10 +0100)]
add scroolbars to wide graphs. (#608)

* Add scrollbars to graph and revlist if needed.

* Add border

7 years agofixed bugs on Wiki and resolved #667 (#674)
Lunny Xiao [Sat, 21 Jan 2017 12:50:51 +0000 (20:50 +0800)]
fixed bugs on Wiki and resolved #667 (#674)

7 years agoSet the ldflags to static value within makefile (#709)
Thomas Boerger [Fri, 20 Jan 2017 17:34:20 +0000 (18:34 +0100)]
Set the ldflags to static value within makefile (#709)

7 years agoFix crash caused by #647 (#708)
Bwko [Fri, 20 Jan 2017 13:47:09 +0000 (14:47 +0100)]
Fix crash caused by #647 (#708)

7 years agoSpun attachments into seperate go file (#701)
Philip Couling [Fri, 20 Jan 2017 06:58:46 +0000 (06:58 +0000)]
Spun attachments into seperate go file (#701)

Moved attachments into seperate go file

7 years agoFix permission bugs in team API (#647)
Ethan Koenig [Fri, 20 Jan 2017 05:16:10 +0000 (22:16 -0700)]
Fix permission bugs in team API (#647)

7 years agoAPI Endpoints for organization members (#645)
Ethan Koenig [Fri, 20 Jan 2017 02:31:46 +0000 (19:31 -0700)]
API Endpoints for organization members (#645)

7 years agoFix: Pagenation on dashboard->issues does not work well (#698)
Kazuki Sawada [Thu, 19 Jan 2017 09:20:40 +0000 (18:20 +0900)]
Fix: Pagenation on dashboard->issues does not work well (#698)

7 years agoNotifications: trying to get a better layout (#660)
Andrey Nering [Wed, 18 Jan 2017 01:18:55 +0000 (23:18 -0200)]
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

7 years agoEnforce custom LDFLAGS within makefile (#684)
Thomas Boerger [Tue, 17 Jan 2017 06:02:44 +0000 (07:02 +0100)]
Enforce custom LDFLAGS within makefile (#684)

7 years agoRemove the default console logger when it is not set in the configuration (#602)
willemvd [Tue, 17 Jan 2017 06:02:35 +0000 (07:02 +0100)]
Remove the default console logger when it is not set in the configuration (#602)

* Remove the default console logger when it is not set in the configuration

* Added comment to new function (lint failure)

* update based on PR comments (code style)

* code style fix (thanks bkcsoft)

* check if logger exists based on the l.outputs (like in l.DelLogger) instead of adapter, otherwise panic when reinstalling gitea (since the output adapter still exist, without outputs)

7 years agoRefactor process package and introduce ProcessManager{} with tests (#75)
Matthias Loibl [Tue, 17 Jan 2017 05:58:58 +0000 (06:58 +0100)]
Refactor process package and introduce ProcessManager{} with tests (#75)

* Add a process.Manager singleton with process.GetManager()

* Use process.GetManager everywhere

* Fix godoc comments for process module

* Increment process counter id after locking the mutex

7 years agoTwo factor authentication support (#630)
Andrew [Mon, 16 Jan 2017 02:14:29 +0000 (21:14 -0500)]
Two factor authentication support (#630)

* Initial commit for 2FA support

Signed-off-by: Andrew <write@imaginarycode.com>
* Add vendored files

* Add missing depends

* A few clean ups

* Added improvements, proper encryption

* Better encryption key

* Simplify "key" generation

* Make 2FA enrollment page more robust

* Fix typo

* Rename twofa/2FA to TwoFactor

* UNIQUE INDEX -> UNIQUE

7 years agoAttach to release (#673)
Philip Couling [Sun, 15 Jan 2017 14:57:00 +0000 (14:57 +0000)]
Attach to release (#673)

* Moved attachaments POST url from /issues/attachments to /attachments

* Implemented attachment upload on release page

* Implemented downloading attachments on the release page

* Added zip and gzip files to default allowed attachments

* Implemented uploading attachments on edit release

* Renamed UploadIssueAttachment to UploadAttachment

7 years agoChanged README to refer to https images only (#675)
Philip Couling [Sun, 15 Jan 2017 13:31:34 +0000 (13:31 +0000)]
Changed README to refer to https images only (#675)

7 years agoRemoves reliance on server specific SQL (#393)
btrepp [Sat, 14 Jan 2017 14:32:36 +0000 (22:32 +0800)]
Removes reliance on server specific SQL (#393)

Breaks the retrieval of repositories into two queries
This fetches the paged ids in one go, then the
actual repository information in a second query

Some databases do not support SELECT with *
when group by is used.

7 years agoFix #646 (#669)
Shyim [Sat, 14 Jan 2017 13:07:43 +0000 (14:07 +0100)]
Fix #646 (#669)

7 years agodocs: fix translation for zh-tw and zh-hk (#668)
Bo-Yi Wu [Sat, 14 Jan 2017 13:05:12 +0000 (21:05 +0800)]
docs: fix translation for zh-tw and zh-hk (#668)

7 years agoMerge pull request #643 from pkuphy/patch-2
Andrey Nering [Sat, 14 Jan 2017 12:44:58 +0000 (10:44 -0200)]
Merge pull request #643 from pkuphy/patch-2

fix typo

7 years agoFix ambiguity bug in getCommentsByRepoIDSince (#665)
Ethan Koenig [Sat, 14 Jan 2017 02:21:30 +0000 (21:21 -0500)]
Fix ambiguity bug in getCommentsByRepoIDSince (#665)

7 years agoDon't create a default pid file (#637)
Bwko [Sat, 14 Jan 2017 02:15:43 +0000 (03:15 +0100)]
Don't create a default pid file (#637)

7 years agoBug fixes for webhook API (#650)
Ethan Koenig [Sat, 14 Jan 2017 02:14:48 +0000 (21:14 -0500)]
Bug fixes for webhook API (#650)

7 years agobug fixed for update repository (#664)
Lunny Xiao [Sat, 14 Jan 2017 02:07:04 +0000 (10:07 +0800)]
bug fixed for update repository (#664)

7 years agodocs: update translation on notification page for zh-CN (#649)
xgitea [Fri, 13 Jan 2017 09:31:48 +0000 (17:31 +0800)]
docs: update translation on notification page for zh-CN (#649)

* docs: update translation on notification page for zh-CN

* use international resources

7 years agodocs: update zh-tw translation (#651)
Bo-Yi Wu [Fri, 13 Jan 2017 07:18:49 +0000 (15:18 +0800)]
docs: update zh-tw translation (#651)

7 years agoAdd data directory excluding sessions to dump (#587)
Manuel Kuhlmann [Thu, 12 Jan 2017 04:47:20 +0000 (05:47 +0100)]
Add data directory excluding sessions to dump (#587)

7 years agofix typo (#644)
pkuphy [Thu, 12 Jan 2017 04:46:51 +0000 (12:46 +0800)]
fix typo (#644)

fix typo: 「與」-> 「於」

7 years agofix typo (#642)
pkuphy [Thu, 12 Jan 2017 04:46:20 +0000 (12:46 +0800)]
fix typo (#642)

「与」修改为「于」

7 years agoNotifications: mark as read/unread and pin (#629)
Andrey Nering [Thu, 12 Jan 2017 04:27:09 +0000 (02:27 -0200)]
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

7 years agorefactor: Add new deleteOrg func. (#633)
Bo-Yi Wu [Wed, 11 Jan 2017 13:10:43 +0000 (21:10 +0800)]
refactor: Add new deleteOrg func. (#633)

7 years agodocs: update translation on homepage for zh-tw (#634)
Bo-Yi Wu [Wed, 11 Jan 2017 08:23:42 +0000 (16:23 +0800)]
docs: update translation on homepage for zh-tw (#634)

7 years agofix typo 643/head
pkuphy [Wed, 11 Jan 2017 04:13:47 +0000 (12:13 +0800)]
fix typo

7 years agoFix: Issues cannot be created with labels (#622)
Kazuki Sawada [Tue, 10 Jan 2017 13:57:03 +0000 (22:57 +0900)]
Fix: Issues cannot be created with labels (#622)

Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
7 years agoMerge pull request #631 from rasa/patch-1
Matthias Loibl [Tue, 10 Jan 2017 09:57:56 +0000 (10:57 +0100)]
Merge pull request #631 from rasa/patch-1

Typos and make CONTRIBUTING a little nicer

7 years agoMerge pull request #625 from appleboy/improve
Matthias Loibl [Tue, 10 Jan 2017 09:46:08 +0000 (10:46 +0100)]
Merge pull request #625 from appleboy/improve

refactor: check the error returned by os.MkdirAll()

7 years agobug fix release
Lunny Xiao [Mon, 9 Jan 2017 15:51:21 +0000 (23:51 +0800)]
bug fix release

7 years agoUnit tests for models/admin
Ethan Koenig [Mon, 9 Jan 2017 18:26:05 +0000 (13:26 -0500)]
Unit tests for models/admin

7 years agorefactor: check the error returned by os.MkdirAll() 625/head
Bo-Yi Wu [Mon, 9 Jan 2017 14:36:23 +0000 (22:36 +0800)]
refactor: check the error returned by os.MkdirAll()

7 years agoMerge pull request #610 from appleboy/pid
Matthias Loibl [Mon, 9 Jan 2017 13:51:26 +0000 (14:51 +0100)]
Merge pull request #610 from appleboy/pid

feat: support pid file.

7 years agofeat: support pid file. 610/head
Bo-Yi Wu [Mon, 9 Jan 2017 11:54:57 +0000 (19:54 +0800)]
feat: support pid file.