Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Password Complexity Checks (#6230) | Maxim Tkachenko | 2019-10-14 | 1 | -1/+13 |
| | | | | | | | | | Add password complexity checks. The default settings require a lowercase, uppercase, number and a special character within passwords. Co-Authored-By: T-M-A <maxim.tkachenko@gmail.com> Co-Authored-By: Lanre Adelowo <adelowomailbox@gmail.com> Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-Authored-By: Lauris BH <lauris@nix.lv> | ||||
* | Move all mail related codes from models to services/mailer (#7200) | Lunny Xiao | 2019-09-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move all mail related codes from models to modules/mailer * fix lint * use DBContext instead Engine * use WithContext not WithEngine * Use DBContext instead of Engine * don't use defer when sess.Close() * move DBContext to context.go and add some methods * move mailer from modules/ to services * fix lint * fix tests * fix fmt * add gitea copyright * fix tests * don't expose db functions * make code clear * add DefaultDBContext * fix build * fix bug | ||||
* | Use gitea forked macaron (#7933) | Tamal Saha | 2019-08-23 | 2 | -4/+2 |
| | | | Signed-off-by: Tamal Saha <tamal@appscode.com> | ||||
* | add pagination for admin api get orgs and fix only list public orgs bug (#7742) | Lunny Xiao | 2019-08-04 | 1 | -1/+12 |
| | |||||
* | fix wrong email when use gitea as OAuth2 provider (#7640) | renothing | 2019-07-27 | 1 | -4/+3 |
| | | | | | | | when you use gitea as OAuth2 provider, the /api/v1/user should return user primary email as identifier, which is unique in OAuth2 clients. this patch use convert.ToUser replace all u.APIFormat in api requests, return primary email when caller is yourself or admin. | ||||
* | Fixes #7023 - API Org Visibility (#7028) | Richard Mahn | 2019-05-30 | 1 | -0/+7 |
| | |||||
* | Move sdk structs to modules/structs (#6905) | Lunny Xiao | 2019-05-11 | 3 | -3/+3 |
| | | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor | ||||
* | Fixes #6881 - API users search fix (#6882) | Richard Mahn | 2019-05-08 | 1 | -1/+1 |
| | |||||
* | Return a UserList from /api/v1/admin/users (#6629) | zeripath | 2019-04-15 | 1 | -2/+9 |
| | |||||
* | Updates to API 404 responses (#6077) | John Olheiser | 2019-03-18 | 1 | -1/+1 |
| | |||||
* | Adds MustChangePassword to user create/edit API, defaults to true (#6193) | John Olheiser | 2019-02-27 | 1 | -6/+14 |
| | | | Signed-off-by: jolheiser <john.olheiser@gmail.com> | ||||
* | New API routes added (#5594) | Shashvat Kedia | 2019-01-23 | 2 | -0/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New API routes added * Comments added * Build fix * swagger_v1_json.tmpl without new line character * Typo fix * Code review changes * Code review changes * Add copyright * Add copyright * Add copyright * Update per @lafriks feedback * Update org.go * Update user.go * Update user.go * make fmt | ||||
* | Fix Swagger JSON autogeneration issues. (#4845) | zeripath | 2018-10-20 | 3 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | * Fix Swagger JSON. Remove unnecessary schema references for the forbidden and empty responses Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix swagger API for CreateAccessToken * Fix admin create org swagger * Fix swagger for adminCreateRepo * More swagger fixes Set int64 format for those which are int64 Some more form fixes * Fix swagger description of GET /repos/{owner}/{repo}/pulls | ||||
* | API /admin/users/{username} missing parameter (#4775) | EnricoFerro | 2018-08-23 | 1 | -0/+6 |
| | |||||
* | Cleanup models.User.HashPassword (#3334) | Kim "BKC" Carlbäcker | 2018-01-12 | 1 | -2/+1 |
| | |||||
* | Change EncodePasswd to HashPassword (#3329) | Morgan Bazalgette | 2018-01-08 | 1 | -1/+1 |
| | | | | | | * Change EncodePasswd to HashPassword * Create test+benchmark for HashPassword | ||||
* | Delete a user's public key via admin api (closes #3014) (#3059) | Vlad Temian | 2017-12-06 | 1 | -0/+45 |
| | | | | | | | | | | | | | | | | * Delete a user's public key via admin api * Test admin ssh endpoint for creating a new ssh key * Adapt public ssh key test to also test the delete operation * Test that deleting a missing key will result in a 404 * Test that a normal user can't delete another user's ssh key * Make DeletePublicKey return err * Update swagger doc | ||||
* | Update swagger documentation (#2899) | Ethan Koenig | 2017-11-13 | 3 | -84/+123 |
| | | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments | ||||
* | Improve swagger doc (#2274) | Antoine GIRARD | 2017-08-21 | 3 | -6/+81 |
| | | | | | | | | | | | | | | | | | | | | * Add swagger comment for adminCreateOrg * Add swagger comment for admin route * add hook swagger doc * Add tags * Add auth * Fix name of responses * Edit name method * Update vendor * make generate-swagger | ||||
* | Use handlers for API authorization (#723) | Ethan Koenig | 2017-01-26 | 1 | -52/+0 |
| | |||||
* | Fix permission bugs in team API (#647) | Ethan Koenig | 2017-01-20 | 1 | -88/+0 |
| | |||||
* | API endpoints for organization teams (#370) | Ethan Koenig | 2016-12-28 | 1 | -0/+25 |
| | |||||
* | Fix random string generator (#384) | Denis Denisov | 2016-12-20 | 1 | -1/+5 |
| | | | | | | | | | | | * Remove unused custom-alphabet feature of random string generator Fix random string generator Random string generator should return error if it fails to read random data via crypto/rand * Fixes variable (un)initialization mixed assign Update test GetRandomString | ||||
* | golint fixed for routers (#208) | Lunny Xiao | 2016-11-24 | 5 | -5/+17 |
| | |||||
* | Fix import path of go-sdk (#141) | Sandro Santilli | 2016-11-11 | 4 | -4/+4 |
| | | | | From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea | ||||
* | Update import paths from github.com/go-gitea to code.gitea.io (#135) | Sandro Santilli | 2016-11-10 | 5 | -22/+22 |
| | | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path | ||||
* | And others | Sandro Santilli | 2016-11-07 | 1 | -1/+1 |
| | |||||
* | More... | Sandro Santilli | 2016-11-07 | 1 | -1/+1 |
| | |||||
* | Replaced go-gogs-client with go-sdk imports | Thomas Boerger | 2016-11-07 | 4 | -4/+4 |
| | |||||
* | Change import reference to match gitea instead of gogs (#37) | Rémy Boulanouar | 2016-11-03 | 5 | -18/+18 |
| | |||||
* | #3515 use alert instead 500 for duplicated login source name | Unknwon | 2016-08-31 | 1 | -1/+1 |
| | |||||
* | Replace convert.To with APIFormat calls | Unknwon | 2016-08-14 | 1 | -3/+2 |
| | |||||
* | Add MaxRepoCreation to EditUser API (#2781) | Robin Lambertz | 2016-08-11 | 1 | -0/+3 |
| | |||||
* | Added Full Name to CreateUser api call (#3333) | Richard Mahn | 2016-07-27 | 1 | -0/+1 |
| | |||||
* | Refactor User.Id to User.ID | Unknwon | 2016-07-24 | 2 | -4/+4 |
| | |||||
* | #2854 fix no mail notification when issue is closed/reopened | Unknwon | 2016-07-16 | 1 | -3/+2 |
| | |||||
* | api/admin: add/remove organization team repository | Unknwon | 2016-04-04 | 1 | -0/+49 |
| | |||||
* | #1692 add admin APIs to add/remove a user from teams | Unknwon | 2016-03-25 | 1 | -6/+28 |
| | |||||
* | Fix status code | Unknwon | 2016-03-21 | 1 | -1/+1 |
| | |||||
* | Change list teams API to non-admin specific | Unknwon | 2016-03-21 | 2 | -20/+2 |
| | |||||
* | #1692 api: admin list and create team under organization | Unknwon | 2016-03-21 | 4 | -0/+56 |
| | |||||
* | #1692 add CRUD issue APIs | Unknwon | 2016-03-13 | 2 | -3/+3 |
| | | | | | - Fix go-gogs-client#10 - Related to #809 | ||||
* | Convert all API handers to use *context.APIContext | Unknwon | 2016-03-13 | 3 | -18/+18 |
| | |||||
* | #13 finish user and repository search | Unknwon | 2016-03-11 | 1 | -1/+1 |
| | | | | Both are possible on explore and admin panel | ||||
* | Rename module: middleware -> context | Unknwon | 2016-03-11 | 3 | -10/+10 |
| | |||||
* | #1692 API: admin create repo | Unknwon | 2015-12-17 | 1 | -0/+23 |
| | |||||
* | #1692 add organization APIs | Unknwon | 2015-12-17 | 2 | -3/+47 |
| | |||||
* | #1938 #1374 disable password change for non-local users | Unknwon | 2015-12-10 | 1 | -1/+1 |
| | |||||
* | #2063 Ability to delete repo from admin panel | Unknwon | 2015-12-05 | 1 | -0/+4 |
| | |||||
* | APIs: admin users | Unknwon | 2015-12-05 | 1 | -0/+148 |