Ethan Koenig
d80a4ce160
Fix inconsistencies in test fixtures
8 years ago
Lunny Xiao
9effd446fd
Add units concept for modulable functions of a repository ( #742 )
* 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
8 years ago
Ethan Koenig
4eefdf8765
Move IssueUser code to separate file ( #836 )
Also add unit tests
8 years ago
Andrey Nering
2c5609b7cb
Merge pull request #830 from appleboy/patch-2001
refactor: set default order by recently star on start tab
8 years ago
Bo-Yi Wu
23df659f10
feat: Add search bar on user profile page. ( #787 )
8 years ago
Bo-Yi Wu
4b43d9fa14
test: Add user mail testing. ( #833 )
8 years ago
Lunny Xiao
0abfbb2040
Track assignee for issue ( #808 )
* track assignee for issue
* fix lint
* use getUserByID instead Get
8 years ago
Ethan Koenig
c956352005
Drop redundant columns from issue_user table ( #638 )
8 years ago
Bo-Yi Wu
1fd71a44ab
refactor: set default order by recently star.
8 years ago
Gabriel Jackson
3e7f8ec9d3
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
a6c02f9d1e
fix: ignore email notifications if user is not active. ( #820 )
8 years ago
Anton Skorokhod
8bcdef9ed6
Add X-GitHub-* headers for webhook to get clubhouse.io integration working ( #809 )
8 years ago
Lunny Xiao
c8ee0b9df0
add milestone changed traker on issue view ( #804 )
8 years ago
Ethan Koenig
e979cc5524
Bug fixes and unit tests for models/issue_label ( #802 )
8 years ago
Ethan Koenig
7c54f283ef
Windows compatibility for unit tests ( #800 )
8 years ago
Ethan Koenig
835d3eeda3
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
63db268036
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
42c9fa05be
Better settings for unit tests ( #795 )
8 years ago
Thomas Boerger
9f98dea69b
Allow custom public files ( #782 )
* Allow custom public files
* Gofmt code, lots of places not related to this pr
8 years ago
Andrey Nering
50f8b1e580
Merge pull request #781 from andreynering/notifications-step-5
Notifications step 5
8 years ago
Andrey Nering
773b983b99
Fix color: closed PR was showing as purple instead of red
8 years ago
Andrey Nering
be06d3b22f
Merge pull request #777 from ethantkoenig/tests/wiki
Unit tests for models/wiki
8 years ago
Ethan Koenig
01220b7cb4
Unit tests for models/wiki
8 years ago
Ethan Koenig
8dbcd9a8c4
Unit tests and bug fix for models/org
8 years ago
Lunny Xiao
1e4337d0a2
fix xorm NewSession uncorrected usages ( #774 )
8 years ago
Bo-Yi Wu
b17e1bffac
refactor: Remove unnecessary type conversions ( #772 )
8 years ago
Ethan Koenig
6c8f6ede64
Fix FIXME and remove superfluous queries in models/org ( #749 )
8 years ago
Bo-Yi Wu
c9313d4205
fix: delete attachment after remove comment.
8 years ago
Ethan Koenig
55c5cb3c87
Bug fixes and unit tests for models/webhook ( #751 )
8 years ago
Ethan Koenig
b9a5caa36a
Unit tests for models/star ( #752 )
8 years ago
Lunny Xiao
4683c3bebd
bug fixed issues 500 resolved #754 ( #756 )
8 years ago
Ethan Koenig
d59b499b6b
Less boilerplate in models/ unit tests ( #725 )
8 years ago
Ethan Koenig
061fa12949
Search bar for issues/pulls ( #530 )
8 years ago
Andrey Nering
2975f4cd24
Fix link of some repos on stars page ( #737 )
Link was wrong the repo was of another owner
8 years ago
Bwko
5334103edf
Add option to app.ini to enable local import paths ( #724 )
8 years ago
Bwko
6d8be9f80f
Add a reserved path check to the wiki ( #720 )
8 years ago
Lunny Xiao
e8dcc23d91
fixed bugs on Wiki and resolved #667 ( #674 )
8 years ago
Philip Couling
fc1e953a6a
Spun attachments into seperate go file ( #701 )
Moved attachments into seperate go file
8 years ago
Ethan Koenig
dc4990be0d
Fix permission bugs in team API ( #647 )
8 years ago
Ethan Koenig
1533d6f66f
API Endpoints for organization members ( #645 )
8 years ago
Matthias Loibl
799bb6e441
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
b739de4220
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
7f6c2c538f
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
552c1f4793
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
04b9dca661
Fix ambiguity bug in getCommentsByRepoIDSince ( #665 )
8 years ago
Ethan Koenig
af64dbf429
Bug fixes for webhook API ( #650 )
8 years ago
Lunny Xiao
f83c80cd7c
bug fixed for update repository ( #664 )
8 years ago
Andrey Nering
9b3a69e3ac
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
9d8c8d095a
refactor: Add new deleteOrg func. ( #633 )
8 years ago
Ethan Koenig
27199827f1
Unit tests for models/admin
8 years ago