4787 Commits (8c2c7b802fa0d0da660834bcf2ae60887c0bfd4f)
 

Author SHA1 Message Date
willemvd 8c2c7b802f 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)
8 years ago
Matthias Loibl d1006150fb 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
8 years ago
Andrew 6dd096b7f0 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
8 years ago
Philip Couling 64375d875b 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
8 years ago
Philip Couling dce03c19cb Changed README to refer to https images only (#675) 8 years ago
btrepp 302fa42980 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.
8 years ago
Shyim 88f45ce38c Fix #646 (#669) 8 years ago
Bo-Yi Wu 769f77900a docs: fix translation for zh-tw and zh-hk (#668) 8 years ago
Andrey Nering 240d0e84f0 Merge pull request #643 from pkuphy/patch-2
fix typo
8 years ago
Ethan Koenig a6f5efa0bb Fix ambiguity bug in getCommentsByRepoIDSince (#665) 8 years ago
Bwko 4a1f36c3cc Don't create a default pid file (#637) 8 years ago
Ethan Koenig 27fcf8d30a Bug fixes for webhook API (#650) 8 years ago
Lunny Xiao 87ad4961f6 bug fixed for update repository (#664) 8 years ago
xgitea 64b167138f docs: update translation on notification page for zh-CN (#649)
* docs: update translation on notification page for zh-CN

* use international resources
8 years ago
Bo-Yi Wu 69b86378ce docs: update zh-tw translation (#651) 8 years ago
Manuel Kuhlmann e698654902 Add data directory excluding sessions to dump (#587) 8 years ago
pkuphy b7eae783b5 fix typo (#644)
fix typo: 「與」-> 「於」
8 years ago
pkuphy 327b1b7985 fix typo (#642)
「与」修改为「于」
8 years ago
Andrey Nering 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
8 years ago
Bo-Yi Wu cbf2a967c5 refactor: Add new deleteOrg func. (#633) 8 years ago
Bo-Yi Wu 0af9a24087 docs: update translation on homepage for zh-tw (#634) 8 years ago
pkuphy 63f0bb1761 fix typo 8 years ago
Kazuki Sawada e5620f07a4 Fix: Issues cannot be created with labels (#622)
Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
8 years ago
Matthias Loibl 742f2c0301 Merge pull request #631 from rasa/patch-1
Typos and make CONTRIBUTING a little nicer
8 years ago
Matthias Loibl ecfa284662 Merge pull request #625 from appleboy/improve
refactor: check the error returned by os.MkdirAll()
8 years ago
Lunny Xiao 7209917fd7 bug fix release 8 years ago
Ethan Koenig b316b2e740 Unit tests for models/admin 8 years ago
Bo-Yi Wu f91b8c5f53 refactor: check the error returned by os.MkdirAll() 8 years ago
Matthias Loibl 97170916a3 Merge pull request #610 from appleboy/pid
feat: support pid file.
8 years ago
Bo-Yi Wu 9f575986d8 feat: support pid file. 8 years ago
vz 19570f2d43 Fix install.tmpl input default value (#611)
* Fix install.tmpl input default value

* Update db_user to gitea

* Add when INSTALL_LOCK = false
8 years ago
Ethan Koenig 973282dae2 Better coverage in pull_test (#615) 8 years ago
Ethan Koenig 862948ab88 Better coverage and TODOs for update_test (#616) 8 years ago
Ethan Koenig 4b23e6a694 Unit tests for models/action (#619) 8 years ago
Bo-Yi Wu f4feeecc3a docs: update zh-tw and zh-hk translations. (#604) 8 years ago
Ethan Koenig 8fa88e584a Add myself to MAINTAINERS (#609) 8 years ago
Manuel Kuhlmann 56614b2cbe Add default SSH_LISTEN_PORT config value (#603) (#607) 8 years ago
derSuessmann 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.
8 years ago
Ethan Koenig 6072b03291 Unit tests for models/access.go (#606) 8 years ago
Ethan Koenig 8422ab542c API endpoint for subscribers (#598) 8 years ago
Andrey Nering 03b45284e1 Merge pull request #555 from ethantkoenig/tests/pull
Unit tests for models/pull.go
8 years ago
Ross Smith II f2931468ec Typos and make CONTRIBUTING a little nicer 8 years ago
Andrey Nering 84b7d29d34 Create missing database indexes (#596) 8 years ago
Ethan Koenig 72bfabfada Unit tests for models/pull.go 8 years ago
Ethan Koenig 1a7fc53c98 API endpoint for stargazers (#597) 8 years ago
Lunny Xiao 61306fa737 Make releases faster than before and resolved #490 (#588)
* make releases faster than before and resolved #490

* fix comment
8 years ago
Andrey Nering 79d527195d Merge pull request #539 from andreynering/notifications-step-2
Notifications - Step 2
8 years ago
Thomas Boerger 9d1bc9aac8 Added 1.0.1 to changelog (#594) 8 years ago
Thomas Boerger 2d17d6bc16 Clone tags within drone for proper version generation (#591) 8 years ago
Lunny Xiao 6efa80a471 Add the note forked from gogs (#590)
* add the note forked from gogs

* make the sentence simple
8 years ago