1517 Commits (de81f68d4d4a87c044034be682abffaccd399860)

Author SHA1 Message Date
Bo-Yi Wu b6da658553 test: Add user mail testing. (#833) 8 years ago
Lunny Xiao 3e0525b47d Track assignee for issue (#808)
* track assignee for issue

* fix lint

* use getUserByID instead Get
8 years ago
Ethan Koenig 68bdaf0a6b Drop redundant columns from issue_user table (#638) 8 years ago
Gabriel Jackson bf6f61cc69 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.
8 years ago
Bo-Yi Wu d7d094bd8a fix: ignore email notifications if user is not active. (#820) 8 years ago
Anton Skorokhod 79ab69fe30 Add X-GitHub-* headers for webhook to get clubhouse.io integration working (#809) 8 years ago
Lunny Xiao 081485ecfd add milestone changed traker on issue view (#804) 8 years ago
Ethan Koenig 10644d6dd7 Bug fixes and unit tests for models/issue_label (#802) 8 years ago
Ethan Koenig 0a02fb3c4f Windows compatibility for unit tests (#800) 8 years ago
Ethan Koenig 2eb15f4a61 Unit tests and remove unused functions in models/notification (#796)
* Unit tests and remove unused functions in models/notification

* Read -> Unread
8 years ago
Lunny Xiao f94869d2d1 Track labels changed on issue view & resolved #542 (#788)
* track labels changed on issue view & resolved #542

* add missing head comment & sort & fix refresh
8 years ago
Ethan Koenig 7765593018 Better settings for unit tests (#795) 8 years ago
Thomas Boerger 78535fb08e Allow custom public files (#782)
* Allow custom public files

* Gofmt code, lots of places not related to this pr
8 years ago
Andrey Nering cc31a21192 Merge pull request #781 from andreynering/notifications-step-5
Notifications step 5
8 years ago
Andrey Nering 5348e8b71a Fix color: closed PR was showing as purple instead of red 8 years ago
Andrey Nering 31c717f579 Merge pull request #777 from ethantkoenig/tests/wiki
Unit tests for models/wiki
8 years ago
Ethan Koenig bb76285762 Unit tests for models/wiki 8 years ago
Ethan Koenig a2412492da Unit tests and bug fix for models/org 8 years ago
Lunny Xiao bb5a6b7a07 fix xorm NewSession uncorrected usages (#774) 8 years ago
Bo-Yi Wu 25663b5816 refactor: Remove unnecessary type conversions (#772) 8 years ago
Ethan Koenig da1b6164fe Fix FIXME and remove superfluous queries in models/org (#749) 8 years ago
Bo-Yi Wu 691fbdf1d3 fix: delete attachment after remove comment. 8 years ago
Ethan Koenig 0934d1b1ea Bug fixes and unit tests for models/webhook (#751) 8 years ago
Ethan Koenig a6832c234d Unit tests for models/star (#752) 8 years ago
Lunny Xiao 8c2381103a bug fixed issues 500 resolved #754 (#756) 8 years ago
Ethan Koenig 8093b3372e Less boilerplate in models/ unit tests (#725) 8 years ago
Ethan Koenig 833f8b94c2 Search bar for issues/pulls (#530) 8 years ago
Andrey Nering 521d429b58 Fix link of some repos on stars page (#737)
Link was wrong the repo was of another owner
8 years ago
Bwko 74ed6dc3ad Add option to app.ini to enable local import paths (#724) 8 years ago
Bwko 1257d43e14 Add a reserved path check to the wiki (#720) 8 years ago
Lunny Xiao f8c2903484 fixed bugs on Wiki and resolved #667 (#674) 8 years ago
Philip Couling 1610b9f547 Spun attachments into seperate go file (#701)
Moved attachments into seperate go file
8 years ago
Ethan Koenig 74bbec3bf9 Fix permission bugs in team API (#647) 8 years ago
Ethan Koenig fcf02e4961 API Endpoints for organization members (#645) 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
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
Ethan Koenig a6f5efa0bb Fix ambiguity bug in getCommentsByRepoIDSince (#665) 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
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
Ethan Koenig b316b2e740 Unit tests for models/admin 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
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