Commit Graph
4770 Commits
Author SHA1 Message Date
pkuphyandLunny Xiao b7eae783b5 fix typo (#644)
fix typo: 「與」-> 「於」
2017-01-12 12:46:51 +08:00
pkuphyandLunny Xiao 327b1b7985 fix typo (#642)
「与」修改为「于」
2017-01-12 12:46:20 +08: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
Bo-Yi WuandLunny Xiao cbf2a967c5 refactor: Add new deleteOrg func. (#633) 2017-01-11 21:10:43 +08:00
Bo-Yi WuandThomas Boerger 0af9a24087 docs: update translation on homepage for zh-tw (#634) 2017-01-11 09:23:42 +01:00
Kazuki SawadaandLunny Xiao e5620f07a4 Fix: Issues cannot be created with labels (#622)
Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
2017-01-10 21:57:03 +08:00
Matthias LoiblandGitHub 742f2c0301 Merge pull request #631 from rasa/patch-1
Typos and make CONTRIBUTING a little nicer
2017-01-10 10:57:56 +01:00
Matthias LoiblandGitHub ecfa284662 Merge pull request #625 from appleboy/improve
refactor: check the error returned by os.MkdirAll()
2017-01-10 10:46:08 +01:00
Lunny XiaoandKim "BKC" Carlbäcker 7209917fd7 bug fix release 2017-01-09 21:54:03 +01:00
Ethan KoenigandKim "BKC" Carlbäcker b316b2e740 Unit tests for models/admin 2017-01-09 21:49:51 +01:00
Bo-Yi Wu f91b8c5f53 refactor: check the error returned by os.MkdirAll() 2017-01-09 22:36:23 +08:00
Matthias LoiblandGitHub 97170916a3 Merge pull request #610 from appleboy/pid
feat: support pid file.
2017-01-09 14:51:26 +01:00
Bo-Yi Wu 9f575986d8 feat: support pid file. 2017-01-09 19:54:57 +08:00
vzandLunny Xiao 19570f2d43 Fix install.tmpl input default value (#611)
* Fix install.tmpl input default value

* Update db_user to gitea

* Add when INSTALL_LOCK = false
2017-01-09 17:16:10 +08:00
Ethan KoenigandLunny Xiao 973282dae2 Better coverage in pull_test (#615) 2017-01-09 11:15:07 +08:00
Ethan KoenigandLunny Xiao 862948ab88 Better coverage and TODOs for update_test (#616) 2017-01-09 11:14:57 +08:00
Ethan KoenigandLunny Xiao 4b23e6a694 Unit tests for models/action (#619) 2017-01-09 11:08:36 +08:00
Bo-Yi WuandLunny Xiao f4feeecc3a docs: update zh-tw and zh-hk translations. (#604) 2017-01-08 17:15:55 +08:00
Ethan KoenigandLunny Xiao 8fa88e584a Add myself to MAINTAINERS (#609) 2017-01-08 11:25:22 +08:00
Manuel KuhlmannandLunny Xiao 56614b2cbe Add default SSH_LISTEN_PORT config value (#603) (#607) 2017-01-08 11:14:45 +08:00
derSuessmannandLunny Xiao 51d578ff33 Add Keep email private (see issue #571). (#571)
- Add site-wide option DEFAULT_KEEP_EMAIL_PRIVATE.
- Add the new option to the install and admin/config pages.
- Add the new option to app.ini in the service section.
- Add the new option to the settings struct.
- Add English text strings to i18n.
- Add field KeepEmailPrivate to user struct.
- Add field KeepEmailPrivate to user form.
- Add option to UI.
- Add using noreply email address if user has "Keep Email Private".
An email address <LowerName>@<NO_REPLY_ADDRESS> is now used in commit
messages (and hopefully all other git log relevant places). The
change relies on the fact that git commands should use
user.NetGitSig().
- Add hiding of email address in UI, if user has set "Keep Email Private".
- Add condition to show email address only on explore/users and user
pages, if user has not set "Keep Email Private".
- Add noreply email in API if set "Keep Email Private".
- Add a new service setting NO_REPLY_ADDRESS. The value of this
setting is used as the domain part for the user's email address in
git log, iff he decides to keep his email address private.
If the user decides to keep his email address private and this
option is not set 'noreply.example.org' is used, which no MTA
should send email to.

Add NO_REPLY_ADDRESS to conf/app.ini.
2017-01-08 11:12:03 +08:00
Ethan KoenigandLunny Xiao 6072b03291 Unit tests for models/access.go (#606) 2017-01-08 11:10:53 +08:00
Ethan KoenigandLunny Xiao 8422ab542c API endpoint for subscribers (#598) 2017-01-07 11:13:02 +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
Ross Smith IIandGitHub f2931468ec Typos and make CONTRIBUTING a little nicer 2017-01-06 07:55:53 -08:00
Andrey NeringandLunny Xiao 84b7d29d34 Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
Ethan Koenig 72bfabfada Unit tests for models/pull.go 2017-01-06 10:08:23 -05:00
Ethan KoenigandLunny Xiao 1a7fc53c98 API endpoint for stargazers (#597) 2017-01-06 15:05:09 +08:00
Lunny XiaoandGitHub 61306fa737 Make releases faster than before and resolved #490 (#588)
* make releases faster than before and resolved #490

* fix comment
2017-01-06 09:51:15 +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
Thomas BoergerandLunny Xiao 9d1bc9aac8 Added 1.0.1 to changelog (#594) 2017-01-05 21:17:40 +08:00
Thomas BoergerandLunny Xiao 2d17d6bc16 Clone tags within drone for proper version generation (#591) 2017-01-05 18:13:02 +08:00
Lunny XiaoandThomas Boerger 6efa80a471 Add the note forked from gogs (#590)
* add the note forked from gogs

* make the sentence simple
2017-01-05 10:49:07 +01:00
Manuel KuhlmannandLunny Xiao eb9ce39bb7 Fix unified diff view styling (#585)
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
2017-01-05 10:04:41 +08:00
Manuel KuhlmannandLunny Xiao a5e07da8be Fix diff split view coloring (#553) (#584)
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
2017-01-05 09:07:43 +08:00
Ethan KoenigandLunny Xiao c5f0d4b1a0 Fix SQL bug in models/access (#583)
Previously got a 'relation repo_access does not exist' error in User_GetRepositoryAccesses
2017-01-05 08:57:54 +08:00
Berk DemirkırandLunny Xiao bdad3b259a Check primary email address fields on CreateUser (#556)
* Check primary email address fields on CreateUser

As this check wasn't available, uid=1 (and possibly guests too, if registration is open) is able to register new users with existing email addresses. This leads to numerous 500 errors.

* Update user.go

* Lower the email first. Then check
2017-01-05 08:52:20 +08:00
Ethan KoenigandLunny Xiao 1207bda94b Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
Manuel KuhlmannandLunny Xiao dc3ff9f2ab Rename .gogs to .gitea and comply with github template guidelines (#568) (#582)
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
2017-01-05 08:48:23 +08:00
Bo-Yi WuandLunny Xiao 467202d0a6 fix: Remove call to set GOMAXPROCS (#577) 2017-01-04 21:16:03 +08:00
Andrey Nering b354cf362e Add pagination for notifications 2017-01-03 17:09:36 -02:00
Lunny XiaoandGitHub 09dabe2ff2 fix bug #564 (#567) 2017-01-03 16:27:11 +08:00
Lunny XiaoandGitHub 980dd0bf51 Update xorm and dependencies vendor for feature to dump to other database (#565)
* update xorm and dependencies vendor for feature to dump to other database

* fix golint
2017-01-03 16:20:28 +08:00
Lunny XiaoandGitHub 70900bd167 bug fixed for fork repos (#560) 2017-01-03 12:41:10 +08:00
Lunny XiaoandGitHub 51021585a7 build failed by deleting release by API (#562) 2017-01-03 11:45:56 +08:00
Kjell KvingeandLunny Xiao 4b0974ec10 Fix benchmarktests (#557) 2017-01-03 10:52:09 +08:00
Bo-Yi WuandKim "BKC" Carlbäcker 7be02d9020 Update maintainer list for LGTM 2017-01-03 02:35:30 +01:00
Lunny XiaoandKim "BKC" Carlbäcker 3c7116382f change the default action when deleting a release to not delete tag 2017-01-03 02:27:38 +01: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