summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* Fix FIXME and remove superfluous queries in models/org (#749)Ethan Koenig2017-01-252-69/+74
|
* fix: delete attachment after remove comment.Bo-Yi Wu2017-01-251-1/+3
|
* Bug fixes and unit tests for models/webhook (#751)Ethan Koenig2017-01-255-20/+312
|
* Unit tests for models/star (#752)Ethan Koenig2017-01-252-0/+89
|
* bug fixed issues 500 resolved #754 (#756)Lunny Xiao2017-01-251-4/+4
|
* Less boilerplate in models/ unit tests (#725)Ethan Koenig2017-01-256-113/+47
|
* Search bar for issues/pulls (#530)Ethan Koenig2017-01-254-27/+252
|
* Fix link of some repos on stars page (#737)Andrey Nering2017-01-241-2/+10
| | | Link was wrong the repo was of another owner
* Add option to app.ini to enable local import paths (#724)Bwko2017-01-231-0/+3
|
* Add a reserved path check to the wiki (#720)Bwko2017-01-221-1/+18
|
* fixed bugs on Wiki and resolved #667 (#674)Lunny Xiao2017-01-211-15/+15
|
* Spun attachments into seperate go file (#701)Philip Couling2017-01-202-160/+176
| | | Moved attachments into seperate go file
* Fix permission bugs in team API (#647)Ethan Koenig2017-01-201-1/+1
|
* API Endpoints for organization members (#645)Ethan Koenig2017-01-201-2/+4
|
* Refactor process package and introduce ProcessManager{} with tests (#75)Matthias Loibl2017-01-177-40/+40
| | | | | | | | | | * 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
* Two factor authentication support (#630)Andrew2017-01-163-0/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Attach to release (#673)Philip Couling2017-01-151-2/+100
| | | | | | | | | | | | | | * 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
* Removes reliance on server specific SQL (#393)btrepp2017-01-141-2/+16
| | | | | | | | 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.
* Fix ambiguity bug in getCommentsByRepoIDSince (#665)Ethan Koenig2017-01-141-2/+4
|
* Bug fixes for webhook API (#650)Ethan Koenig2017-01-141-1/+3
|
* bug fixed for update repository (#664)Lunny Xiao2017-01-141-1/+1
|
* Notifications: mark as read/unread and pin (#629)Andrey Nering2017-01-122-6/+53
| | | | | | | | | | * Use relative URLs * Notifications - Mark as read/unread * Feature of pinning a notification * On view issue, do not mark as read a pinned notification
* refactor: Add new deleteOrg func. (#633)Bo-Yi Wu2017-01-111-9/+50
|
* Unit tests for models/adminEthan Koenig2017-01-093-1/+126
|
* Better coverage in pull_test (#615)Ethan Koenig2017-01-091-0/+8
|
* Better coverage and TODOs for update_test (#616)Ethan Koenig2017-01-091-0/+6
|
* Unit tests for models/action (#619)Ethan Koenig2017-01-095-19/+397
|
* Add Keep email private (see issue #571). (#571)derSuessmann2017-01-081-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* Unit tests for models/access.go (#606)Ethan Koenig2017-01-0810-0/+258
|
* API endpoint for subscribers (#598)Ethan Koenig2017-01-071-7/+4
|
* Merge pull request #555 from ethantkoenig/tests/pullAndrey Nering2017-01-068-21/+421
|\ | | | | Unit tests for models/pull.go
| * Unit tests for models/pull.goEthan Koenig2017-01-068-21/+421
| |
* | Create missing database indexes (#596)Andrey Nering2017-01-0613-64/+64
|/
* API endpoint for stargazers (#597)Ethan Koenig2017-01-061-6/+6
|
* Make releases faster than before and resolved #490 (#588)Lunny Xiao2017-01-061-4/+13
| | | | | | * make releases faster than before and resolved #490 * fix comment
* Merge pull request #539 from andreynering/notifications-step-2Andrey Nering2017-01-051-5/+11
|\ | | | | Notifications - Step 2
| * Add pagination for notificationsAndrey Nering2017-01-031-5/+11
| |
* | Fix SQL bug in models/access (#583)Ethan Koenig2017-01-051-11/+14
| | | | | | Previously got a 'relation repo_access does not exist' error in User_GetRepositoryAccesses
* | Check primary email address fields on CreateUser (#556)Berk Demirkır2017-01-051-0/+9
| | | | | | | | | | | | | | | | | | | | * 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
* | Fix typos in models/ (#576)Ethan Koenig2017-01-0515-44/+44
| |
* | fix bug #564 (#567)Lunny Xiao2017-01-031-1/+1
| |
* | Update xorm and dependencies vendor for feature to dump to other database (#565)Lunny Xiao2017-01-031-3/+10
| | | | | | | | | | | | * update xorm and dependencies vendor for feature to dump to other database * fix golint
* | Fix benchmarktests (#557)Kjell Kvinge2017-01-031-13/+17
| |
* | change the default action when deleting a release to not delete tagLunny Xiao2017-01-031-6/+8
| |
* | Release API endpointsEthan Koenig2017-01-021-0/+60
| |
* | resolved #485: when migrate empty wiki repo, then ignore (#541)Lunny Xiao2016-12-311-2/+5
| |
* | Unit tests for token and update modelsEthan Koenig2016-12-315-0/+321
| |
* | Restrict creating organisations by user (#193)Schwobaland2016-12-315-6/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * restrict creating organizations based on right on user * revert bindata.go * reverse vendor lib * revert goimports change * set AllowCreateOrganization default value to true * revert locale * added default value for AllowCreateOrganization * fix typo in migration-comment * fix comment * add coments in migration
* | fix gofmt errorBo-Yi Wu2016-12-303-19/+19
|/ | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Notification - Step 1 (#523)Andrey Nering2016-12-313-11/+294
| | | | | | | | * Notification - Step 1 * Add copyright headers * Cache issue and repository on notification model