summaryrefslogtreecommitdiffstats
path: root/routers
Commit message (Collapse)AuthorAgeFilesLines
* Search bar for issues/pulls (#530)Ethan Koenig2017-01-255-11/+38
|
* fixed bugs on Wiki and resolved #667 (#674)Lunny Xiao2017-01-211-10/+14
|
* Fix crash caused by #647 (#708)Bwko2017-01-201-1/+1
|
* Spun attachments into seperate go file (#701)Philip Couling2017-01-202-57/+73
| | | Moved attachments into seperate go file
* Fix permission bugs in team API (#647)Ethan Koenig2017-01-203-120/+136
|
* API Endpoints for organization members (#645)Ethan Koenig2017-01-202-0/+151
|
* Notifications: trying to get a better layout (#660)Andrey Nering2017-01-181-2/+2
| | | | | | | | | | | | | | * i18n button titles * Improvements on notification page layout * Notification count badge fixes * Make table <tr> clickable * Fix octicon aligment * Fix use of AppSubUrl
* Refactor process package and introduce ProcessManager{} with tests (#75)Matthias Loibl2017-01-171-1/+1
| | | | | | | | | | * 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-162-8/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-153-6/+25
| | | | | | | | | | | | | | * 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
* Bug fixes for webhook API (#650)Ethan Koenig2017-01-143-6/+51
|
* docs: update translation on notification page for zh-CN (#649)xgitea2017-01-131-1/+1
| | | | | | * docs: update translation on notification page for zh-CN * use international resources
* Notifications: mark as read/unread and pin (#629)Andrey Nering2017-01-121-1/+34
| | | | | | | | | | * Use relative URLs * Notifications - Mark as read/unread * Feature of pinning a notification * On view issue, do not mark as read a pinned notification
* bug fix releaseLunny Xiao2017-01-091-0/+5
|
* Add Keep email private (see issue #571). (#571)derSuessmann2017-01-082-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* API endpoint for subscribers (#598)Ethan Koenig2017-01-072-0/+26
|
* API endpoint for stargazers (#597)Ethan Koenig2017-01-062-0/+26
|
* Make releases faster than before and resolved #490 (#588)Lunny Xiao2017-01-061-56/+46
| | | | | | * make releases faster than before and resolved #490 * fix comment
* Merge pull request #539 from andreynering/notifications-step-2Andrey Nering2017-01-052-1/+81
|\ | | | | Notifications - Step 2
| * Add pagination for notificationsAndrey Nering2017-01-031-3/+25
| |
| * Do not get count on /api routersAndrey Nering2017-01-021-0/+5
| |
| * Notifications - Step 2Andrey Nering2016-12-302-1/+54
| |
* | Rename .gogs to .gitea and comply with github template guidelines (#568) (#582)Manuel Kuhlmann2017-01-052-4/+10
| | | | | | Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
* | bug fixed for fork repos (#560)Lunny Xiao2017-01-031-1/+1
| |
* | build failed by deleting release by API (#562)Lunny Xiao2017-01-031-1/+1
| |
* | change the default action when deleting a release to not delete tagLunny Xiao2017-01-031-1/+2
| |
* | Release API endpointsEthan Koenig2017-01-022-0/+193
| |
* | UI config to toggle whether user email shows up in Explore Users (#336)Thiago Avelino2017-01-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * UI config to toggle whether user email shows up in Explore Users * Recommendation made by @tboerger https://github.com/go-gitea/gitea/pull/336/commits/66a1c59fe730eff019ce100673c6800cce7d102d#r94122732 * fixed typo, rename ShowUserEmailInExplore to ShowUserEmail * Fixed typo merged conflict * Hide email in the user profile page if you are active ShowUserEmail ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725 * Please replace MustBool() with MustBool(true)
* | Restrict creating organisations by user (#193)Schwobaland2016-12-312-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | API endpoints for forks (#509)Ethan Koenig2016-12-312-0/+63
| |
* | fix gofmt errorBo-Yi Wu2016-12-302-5/+5
|/ | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Notification - Step 1 (#523)Andrey Nering2016-12-311-0/+5
| | | | | | | | * Notification - Step 1 * Add copyright headers * Cache issue and repository on notification model
* push + pull now works with reverse proxy + basic auth on apache 2.4Gogs2016-12-291-62/+75
|
* Tab on user profile to show starred repos (#519)Andrey Nering2016-12-291-5/+8
| | | | | | | | | | | | | | * Tab on user profile to show starred repos * Make golint happy and use transactions on StarRepo function * x -> sess * Use sess.Close() instead of sess.Rollback() * Add copyright * Fix lint
* Cache users on list releases (#527)Lunny Xiao2016-12-291-14/+22
|
* Repo permission bug fixes (#513)Ethan Koenig2016-12-292-5/+7
|
* commithgraph / timeline (#428)Kjell Kvinge2016-12-291-0/+27
| | | | | | | | | | * Add model and tests for graph * Add route and router for graph * Add assets for graph * Add template for graph
* Permissions bug fix for webhooksEthan Koenig2016-12-281-1/+1
|
* API endpoints for organization teams (#370)Ethan Koenig2016-12-283-0/+70
|
* Remove redundant query in collaborator API (#516)Ethan Koenig2016-12-281-24/+4
|
* fix installation page ssh domain unavilableLunny Xiao2016-12-271-2/+2
|
* Improve the way how branches are deletedBwko2016-12-262-11/+51
| | | | | | Delete branch from HeadRepo instead of BaseRepo Prevent the deletion of a master branch Show a yes/no overlay when you press the delete branch button
* API Endpoints for collaborators (#375)Ethan Koenig2016-12-262-1/+99
|
* Git LFS support v2 (#122)Fabian Zaremba2016-12-262-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Import github.com/git-lfs/lfs-test-server as lfs module base Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198 Removed: Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go .dockerignore .gitignore README.md * Remove config, add JWT support from github.com/mgit-at/lfs-test-server Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83 * Add LFS settings * Add LFS meta object model * Add LFS routes and initialization * Import github.com/dgrijalva/jwt-go into vendor/ * Adapt LFS module: handlers, routing, meta store * Move LFS routes to /user/repo/info/lfs/* * Add request header checks to LFS BatchHandler / PostHandler * Implement LFS basic authentication * Rework JWT secret generation / load * Implement LFS SSH token authentication with JWT Specification: https://github.com/github/git-lfs/tree/master/docs/api * Integrate LFS settings into install process * Remove LFS objects when repository is deleted Only removes objects from content store when deleted repo is the only referencing repository * Make LFS module stateless Fixes bug where LFS would not work after installation without restarting Gitea * Change 500 'Internal Server Error' to 400 'Bad Request' * Change sql query to xorm call * Remove unneeded type from LFS module * Change internal imports to code.gitea.io/gitea/ * Add Gitea authors copyright * Change basic auth realm to "gitea-lfs" * Add unique indexes to LFS model * Use xorm count function in LFS check on repository delete * Return io.ReadCloser from content store and close after usage * Add LFS info to runWeb() * Export LFS content store base path * LFS file download from UI * Work around git-lfs client issue with unauthenticated requests Returning a dummy Authorization header for unauthenticated requests lets git-lfs client skip asking for auth credentials See: https://github.com/github/git-lfs/issues/1088 * Fix unauthenticated UI downloads from public repositories * Authentication check order, Finish LFS file view logic * Ignore LFS hooks if installed for current OS user Fixes Gitea UI actions for repositories tracking LFS files. Checks for minimum needed git version by parsing the semantic version string. * Hide LFS metafile diff from commit view, marking as binary * Show LFS notice if file in commit view is tracked * Add notbefore/nbf JWT claim * Correct lint suggestions - comments for structs and functions - Add comments to LFS model - Function comment for GetRandomBytesAsBase64 - LFS server function comments and lint variable suggestion * Move secret generation code out of conditional Ensures no LFS code may run with an empty secret * Do not hand out JWT tokens if LFS server support is disabled
* Provide button to delete merged pull request (#441)Lunny Xiao2016-12-252-0/+28
| | | | | | * provide button to delete merged pull request * golint fix
* Organization webhook API endpointsEthan Koenig2016-12-254-134/+316
|
* Added sorting to organizations, repos & users page (#222)Bwko2016-12-244-20/+58
|
* Added sorting to the labels & milestones page (#199)Bwko2016-12-242-7/+10
|
* Added minimum password length to app.ini (#223)Bwko2016-12-241-3/+8
|
* Bug fixes for Issues filters (#413)Ethan Koenig2016-12-242-38/+47
| | | Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters