Commit Graph

1528 Commits (f35b20b04212b2085d44d34933c04c4fd30d3a08)

Author SHA1 Message Date
Lunny Xiao f35b20b042 track issue title changes ()
Ethan Koenig 027591a3a5 Redirects for renamed repos ()
* Redirects for renamed repos

* Remove unused phrase from locales
Bwko bf647ce143 Check for manual merging of a pull request ()
When an open pull request got manually merged mark the pull request as
merged
Andrey Nering 7c3dc51655 Merge pull request from ethantkoenig/fix/remove_org_repo
Fix bug in removeOrgRepo
Ethan Koenig f82ea42679 Fix bug in removeOrgRepo
Ethan Koenig 5972aa9af3 Fix inconsistencies in test fixtures
Lunny Xiao 8a421b1fd7 Add units concept for modulable functions of a repository ()
* Add units concept for modulable functions of a repository

* remove unused comment codes & fix lints and tests

* remove unused comment codes

* use struct config instead of map

* fix lint

* rm wrong files

* fix tests
Ethan Koenig d0960b8035 Move IssueUser code to separate file ()
Also add unit tests
Andrey Nering d4035d1cb1 Merge pull request from appleboy/patch-2001
refactor: set default order by recently star on start tab
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. ()
Bo-Yi Wu b6da658553 test: Add user mail testing. ()
Lunny Xiao 3e0525b47d Track assignee for issue ()
* track assignee for issue

* fix lint

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

* Read -> Unread
Lunny Xiao f94869d2d1 Track labels changed on issue view & resolved ()
* track labels changed on issue view & resolved 

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

* Gofmt code, lots of places not related to this pr
Andrey Nering cc31a21192 Merge pull request from andreynering/notifications-step-5
Notifications step 5
Andrey Nering 5348e8b71a Fix color: closed PR was showing as purple instead of red
Andrey Nering 31c717f579 Merge pull request from ethantkoenig/tests/wiki
Unit tests for models/wiki
Ethan Koenig bb76285762 Unit tests for models/wiki
Ethan Koenig a2412492da Unit tests and bug fix for models/org
Lunny Xiao bb5a6b7a07 fix xorm NewSession uncorrected usages ()
Bo-Yi Wu 25663b5816 refactor: Remove unnecessary type conversions ()
Ethan Koenig da1b6164fe Fix FIXME and remove superfluous queries in models/org ()
Bo-Yi Wu 691fbdf1d3 fix: delete attachment after remove comment.
Ethan Koenig 0934d1b1ea Bug fixes and unit tests for models/webhook ()
Ethan Koenig a6832c234d Unit tests for models/star ()
Lunny Xiao 8c2381103a bug fixed issues 500 resolved ()
Ethan Koenig 8093b3372e Less boilerplate in models/ unit tests ()
Ethan Koenig 833f8b94c2 Search bar for issues/pulls ()
Andrey Nering 521d429b58 Fix link of some repos on stars page ()
Link was wrong the repo was of another owner
Bwko 74ed6dc3ad Add option to app.ini to enable local import paths ()
Bwko 1257d43e14 Add a reserved path check to the wiki ()
Lunny Xiao f8c2903484 fixed bugs on Wiki and resolved ()
Philip Couling 1610b9f547 Spun attachments into seperate go file ()
Moved attachments into seperate go file
Ethan Koenig 74bbec3bf9 Fix permission bugs in team API ()
Ethan Koenig fcf02e4961 API Endpoints for organization members ()
Matthias Loibl d1006150fb Refactor process package and introduce ProcessManager{} with tests ()
* 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
Andrew 6dd096b7f0 Two factor authentication support ()
* 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
Philip Couling 64375d875b Attach to release ()
* 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
btrepp 302fa42980 Removes reliance on server specific SQL ()
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.
Ethan Koenig a6f5efa0bb Fix ambiguity bug in getCommentsByRepoIDSince ()