Aaron Walker
6a3c03762a
API: support '/orgs/:org/repos' ( #2047 )
...
* API: support '/orgs/:org/repos'
8 years ago
Ethan Koenig
93a1de4842
Fix repo API bug ( #2133 )
...
Don't require token when not necessary
8 years ago
Ethan Koenig
8f1d62ad3b
Fix GET /users/:username/repos endpoint ( #2125 )
8 years ago
Antoine GIRARD
30787e48f2
Improve org error handling ( #2117 )
...
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests
* Fix unchanged method name report
8 years ago
Ethan Koenig
f99489d5c5
Fix API for branches with slashes ( #2096 )
8 years ago
Lauris BH
783b1967e2
Fix release display and correct paging ( #2080 )
8 years ago
Ethan Koenig
735676267e
Integration tests for issues API ( #2059 )
8 years ago
Ethan Koenig
2559a34b97
Load label ID in NewLabels ( #2045 )
8 years ago
Ethan Koenig
3ffedeab03
Fix bug in issue labels API ( #2048 )
8 years ago
Lunny Xiao
d71fad2ab7
Fix #2001 and fix issue comments hidden ( #2016 )
...
* revert #2001 and fix issue comments hidden
* fix #2001
* fix import
* improve comment type
* reduce unnecessary join
* fix comment on FindCommentsOptions
8 years ago
Antoine GIRARD
2bcd9471c9
Separate generate swagger + fix sed os specific ( #1791 )
...
* Separate generate-swagger
* Remove go generate rules
* Add missing definition replacement + remove use of -i sed flag
for compatibility with mac os default sed version.
This is a little hacky a better solution could be use.
* Use custom SED_INPLACE
depending of platform detection
* Use SED_INPLACE for swagger-ui also
8 years ago
Jonas Östanbäck
ad70af1248
Add repo fork swagger ( #1941 )
8 years ago
Dennis Keitzel
96b4780727
Gracefully handle bare repositories on API operations. ( #1932 )
...
Signed-off-by: Dennis Keitzel <github@pinshot.net>
8 years ago
Andrey Nering
65cf6cc848
Merge pull request #1905 from ethantkoenig/fix/org_api_auth
...
Require token before checking membership/ownership
8 years ago
Andrey Nering
a70073e768
Merge pull request #1904 from ethantkoenig/fix/org_api
...
Bug fixes for org member API
8 years ago
Ethan Koenig
971e3a35c1
Require token before checking membership/ownership
8 years ago
Ethan Koenig
f38842320e
Bug fixes for org member API
8 years ago
camlafit
952cb8046f
A missing / to provide a correct endpoint
...
solve #1899
8 years ago
Bo-Yi Wu
703d18e50d
feat: add check misspelling ( #1877 )
8 years ago
Antoine GIRARD
976c2a05fa
Fix change introduce by update of go-swagger. ( #1727 )
8 years ago
Andrey Nering
e67ece26f0
Merge pull request #1750 from andreynering/dashboard-search-org-repos
...
More fixes for dashboard search
8 years ago
Ethan Koenig
7e6ff69c00
Fix 500 for GET /teams/:id endpoints ( #1811 )
...
* Fix 500 for GET /teams/:id endpoints
* Integration test for GET /team/:id
* Clean up integration test
8 years ago
Jonas Östanbäck
0161e46b5a
Add swagger comment for MirrorSync ( #1747 )
...
* Add swagger comment for MirrorSync
* Generate swagger.v1.json
8 years ago
Andrey Nering
8906b2891b
Fix test
...
There was a panic when there's no logged in user
8 years ago
Andrey Nering
dc2b28ed76
Show repos acording to user/organization
8 years ago
Andrey Nering
8917f47347
Fix org repos not showing on dashboard search
8 years ago
Ethan Koenig
a5f28a4544
gofmt ( #1662 )
8 years ago
Antoine GIRARD
3edb0c5894
Generate swagger json ( #1402 )
...
- Generate swagger.json into public/
- Add swagger-ui auto-installation
- Add footer link to local swagger-ui
- Add /swagger url for using app url.
- Fix Swagger-UI version via git tag
8 years ago
Lunny Xiao
0308d44a16
fix #1643 and improve integration test ( #1645 )
8 years ago
Lunny Xiao
61b08b5c01
bug fixed for API to get user's repos ( #1622 )
...
* bug fixed for API to get user's repos
* add tests and fix another place
* test user2 since user1 has no repos
8 years ago
Kim "BKC" Carlbäcker
4bea219128
Status-API ( #1332 )
8 years ago
Jonas
f995bcc87a
Add repo mirror sync API endpoint ( #1508 )
...
* API: Add repo mirror sync
* Correct error message
* Change http status to 200
8 years ago
Antoine GIRARD
cf91cfb993
Migrate WatchInfo struct to api ( #1492 )
...
* Remove WatchInfo and link to api struct
* Add vendor temporary update
* Return to gitea vendor source
8 years ago
Lunny Xiao
cf6699fb4f
fix gpg API panic when no verification ( #1451 )
...
* fix gpg API panic when no verification
* fix if condition
8 years ago
Antoine GIRARD
14fe9010ae
GPG commit validation ( #1150 )
...
* GPG commit validation
* Add translation
+ some little fix
* Move hash calc after retrieving of potential key + missing translation
* Add some little test
8 years ago
Antoine GIRARD
ca1c3f1926
Implement GPG api ( #710 )
...
* Implement GPG API
* Better handle error
* Apply review recommendation + simplify database operations
* Remove useless comments
8 years ago
Ethan Koenig
ec0ae5d50c
Refactor and fix incorrect comment ( #1247 )
8 years ago
Mura Li
848293671b
Add basic integration test infrastructure (and new endpoint `/api/v1/version` for testing it) ( #741 )
...
* Implement '/api/v1/version'
* Cleanup and various fixes
* Enhance run.sh
* Add install_test.go
* Add parameter utils.Config for testing handlers
* Re-organize TestVersion.go
* Rename functions
* handling process cleanup properly
* Fix missing function renaming
* Cleanup the 'retry' logic
* Cleanup
* Remove unneeded logging code
* Logging messages tweaking
* Logging message tweaking
* Fix logging messages
* Use 'const' instead of hardwired numbers
* We don't really need retries anymore
* Move constant ServerHttpPort to install_test.go
* Restore mistakenly removed constant
* Add required comments to make the linter happy.
* Fix comments and naming to address linter's complaints
* Detect Gitea executale version automatically
* Remove tests/run.sh, `go test` suffices.
* Make `make build` a prerequisite of `make test`
* Do not sleep before trying
* Speedup the server pinging loop
* Use defined const instead of hardwired numbers
* Remove redundant error handling
* Use a dedicated target for running code.gitea.io/tests
* Do not make 'test' depend on 'build' target
* Rectify the excluded package list
* Remove redundant 'exit 1'
* Change the API to allow passing test.T to test handlers
* Make testing.T an embedded field
* Use assert.Equal to comparing results
* Add copyright info
* Parametrized logging output
* Use tmpdir instead
* Eliminate redundant casting
* Remove unneeded variable
* Fix last commit
* Add missing copyright info
* Replace fmt.Fprintf with fmt.Fprint
* rename the xtest to integration-test
* Use Symlink instead of hard-link for cross-device linking
* Turn debugging logs on
* Follow the existing framework for APIs
* Output logs only if test.v is true
* Re-order import statements
* Enhance the error message
* Fix comment which breaks the linter's rule
* Rename 'integration-test' to 'e2e-test' for saving keystrokes
* Add comment to avoid possible confusion
* Rename tests -> integration-tests
Also change back the Makefile to use `make integration-test`.
* Use tests/integration for now
* tests/integration -> integrations
Slightly flattened directory hierarchy is better.
* Update Makefile accordingly
* Fix a missing change in Makefile
* govendor update code.gitea.io/sdk/gitea
* Fix comment of struct fields
* Fix conditional nonsense
* Fix missing updates regarding version string changes
* Make variable naming more consistent
* Check http status code
* Rectify error messages
8 years ago
Lunny Xiao
c1d5983d3e
fix panic when get user repos from api ( #1110 )
8 years ago
awwalker
c0f99e8229
API: support /users/:username/repos
...
clean up
fix arguments
remove repeated token
give admins listing rights
8 years ago
Lunny Xiao
a5ac4c64fc
refactor api issues load attributes for better performance ( #1066 )
8 years ago
Ethan Koenig
831ff41754
Fix go vet faults ( #1060 )
8 years ago
Andrew Boyarshin
0602a44b27
Fix URL handling in the whole markdown module, improve test coverage ( #1027 )
...
Amended with string to bool change in API SDK.
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
8 years ago
Andrew Boyarshin
dc8248f8a4
Markdown rendering overhaul ( #186 )
...
* Markdown rendering overhaul
Cleaned up and squashed commits into single one.
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Fix markdown API, add markdown module and API tests, improve code coverage
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
8 years ago
Bo-Yi Wu
3576e1ee73
fix: trim the whitespaces for the search keyword ( #893 )
8 years ago
Ethan Koenig
2f13d31ff0
Fix bug in repos search ( #884 )
8 years ago
Ethan Koenig
027591a3a5
Redirects for renamed repos ( #807 )
...
* Redirects for renamed repos
* Remove unused phrase from locales
8 years ago
Lunny Xiao
8a421b1fd7
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
Bo-Yi Wu
a90a215662
feat: Add search bar on user profile page. ( #787 )
8 years ago
Ethan Koenig
73d05a51e3
Remove unneeded database loads ( #814 )
...
Remove unnecessary calls to repo.GetOwner() in context handlers
8 years ago
Lunny Xiao
081485ecfd
add milestone changed traker on issue view ( #804 )
8 years ago
Ethan Koenig
10644d6dd7
Bug fixes and unit tests for models/issue_label ( #802 )
8 years ago
Lunny Xiao
f94869d2d1
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
d1b5498cc0
Use handlers for API authorization ( #723 )
8 years ago
Ethan Koenig
833f8b94c2
Search bar for issues/pulls ( #530 )
8 years ago
Bwko
7e401b9e39
Fix crash caused by #647 ( #708 )
8 years ago
Ethan Koenig
74bbec3bf9
Fix permission bugs in team API ( #647 )
8 years ago
Ethan Koenig
fcf02e4961
API Endpoints for organization members ( #645 )
8 years ago
Philip Couling
64375d875b
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
Ethan Koenig
27fcf8d30a
Bug fixes for webhook API ( #650 )
8 years ago
Ethan Koenig
8422ab542c
API endpoint for subscribers ( #598 )
8 years ago
Ethan Koenig
1a7fc53c98
API endpoint for stargazers ( #597 )
8 years ago
Lunny Xiao
51021585a7
build failed by deleting release by API ( #562 )
8 years ago
Ethan Koenig
0c301f7b5c
Release API endpoints
8 years ago
Ethan Koenig
b75450ad36
API endpoints for forks ( #509 )
8 years ago
Ethan Koenig
6f4ba6884c
Repo permission bug fixes ( #513 )
8 years ago
Ethan Koenig
35d9378e4e
Permissions bug fix for webhooks
8 years ago
Ethan Koenig
f686a32eac
API endpoints for organization teams ( #370 )
8 years ago
Ethan Koenig
9fae9f0dc2
Remove redundant query in collaborator API ( #516 )
8 years ago
Ethan Koenig
2342df183b
API Endpoints for collaborators ( #375 )
8 years ago
Ethan Koenig
9847b38518
Organization webhook API endpoints
8 years ago
Bwko
a345a03d99
Added sorting to the labels & milestones page ( #199 )
8 years ago
Ethan Koenig
8a4161c723
API Endpoint for watching ( #191 )
8 years ago
Kim "BKC" Carlbäcker
df7fa4e995
issue comment api fix ( #449 )
...
* ListAllInRepo & Delete Issue-Comments
* Moar data in issue-comments
8 years ago
Denis Denisov
380e32e129
Fix random string generator ( #384 )
...
* 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
8 years ago
Lunny Xiao
b4c794058a
fixed vulnerabilities ( #392 )
8 years ago
Ethan Koenig
7b5b5178e1
Bug fix for edit-hook API endpoint
8 years ago
Ethan Koenig
04b9a7e7a2
Bug fixes for repo permissions in API
...
Also move duplicated code into repo.APIFormat(..)
8 years ago
Kim "BKC" Carlbäcker
0f05470cb8
[API] Pull Requests ( #248 )
8 years ago
Kim "BKC" Carlbäcker
e8e0539b45
Linting
8 years ago
Kim "BKC" Carlbäcker
e6cfccdd40
GitHub API Compliance (& linting)
8 years ago
Kim "BKC" Carlbäcker
71bb6df75a
Add undocumented endpoint for /repositories/:id
8 years ago
Kim "BKC" Carlbäcker
42ec5ce740
Fix breakage from vendor-update
8 years ago
Lunny Xiao
ec87a75c00
golint fixed for modules/auth
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
8 years ago
Lunny Xiao
3917ed45de
golint fixed for routers ( #208 )
8 years ago
Ethan Koenig
0834e492c0
API endpoints for stars
8 years ago
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- 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
8 years ago
Sandro Santilli
aadd7dcdc3
And others
8 years ago
Sandro Santilli
60c82a8780
More...
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
Sandro Santilli
6e4252dad4
Replace gogits/git-module dependency with go-gitea/git ( #94 )
...
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
9 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
9 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
9 years ago
Unknwon
6b98d58906
#2966 code cleanup
9 years ago
Iwan Budi Kusnanto
8dca9f95fa
issues comment API : list, create, edit ( #2966 )
...
add `since` query string support to list issue comment
9 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
9 years ago
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api ( #3513 )
9 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
9 years ago
lstahlman
84b56c3c53
Additional API support for milestones ( #3383 )
9 years ago
Kim Carlbäcker
7c5710d31f
Issues can be closed via API ( #3170 ) ( #3479 )
...
* Issues can be closed via API
* Error-checking is nice xD
* EditIssueOption.Status => State
* Use const instead of string-literal
9 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
9 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
9 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
9 years ago
Unknwon
2cb04db526
Fix #3391
9 years ago
Robin Lambertz
5a9709fa9d
Add MaxRepoCreation to EditUser API ( #2781 )
9 years ago
Unknwon
7e9b42c87d
#2780 code clean up
9 years ago
Robin Lambertz
b6c14f8b21
Add AddCollaborator API Endpoint ( #2780 )
...
* Add AddCollaborator API Endpoint
* Add optional Permission to AddCollaborator endpoint
* Use APIContext
9 years ago
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
9 years ago
Unknwon
db3d393576
routers/api: rename handlers to be unexported
9 years ago
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
9 years ago
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
9 years ago
lstahlman
2eeb0ec9b0
Additional API support for labels ( #3290 )
...
* Add API support for labels.
* Error handling for adding/replacing multiple issue labels
* Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions
* Additional code cleanup
9 years ago
Richard Mahn
0402c803c6
Added Full Name to CreateUser api call ( #3333 )
9 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
46e96c008c
Use struct for UI settings
9 years ago
Unknwon
e63b2881b1
api: fix panic if anonymous user request admin API
...
Add sign in check before check user account level
9 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
9 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
9 years ago
Dennis Chen
5ff2dfb23e
api: delete repository webhooks ( #3275 )
...
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.
Solves drone/drone issue #1603 .
Signed-off-by: Dennis Chen <barracks510@gmail.com>
9 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
9 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
9 years ago
lstahlman
846bf2ca9f
Add timestamps to repository api response ( #3255 )
...
Additional properties: created_at, updated_at
9 years ago
lstahlman
12cb84b97f
Extend the API to include more repository properties ( #3249 )
...
Adds description, stars_count, forks_count, watchers_count and
open_issues_count.
9 years ago
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
9 years ago
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
9 years ago
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
9 years ago
Unknwon
bf5faf76eb
#809 able to set issue state to closed when create
9 years ago
Unknwon
d27ca649c7
api/admin: add/remove organization team repository
9 years ago
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
5e11341232
Fix status code
9 years ago
Unknwon
90e93b1f3a
Change list teams API to non-admin specific
9 years ago
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
Unknwon
995487e822
Minor fix for #2506
9 years ago
Antoine GIRARD
b7b30cd85e
Corrections following recommendations
9 years ago
Antoine GIRARD
81e5722bcc
Handling error for the API request and add commments
...
[ci skip]
9 years ago
Antoine GIRARD
303d091ea9
Update link for documentation (Temporary https://gist.github.com/sapk/df64347ff218baf4a277 )
...
[ci skip]
9 years ago
Antoine GIRARD
c11c3b6c11
Near ready
9 years ago
Unknwon
4331d1d2a0
require token for list my orgs
9 years ago
Unknwon
03427fb005
fix #2360
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
1c9dd11ba7
#1692 API: admin create repo
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
b117befc2b
#1692 add user email APIs
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local users
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
9 years ago
Unknwon
978dc00305
APIs: admin users
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
942fd6be53
fix panic for #2045
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
Unknwon
2b10fdc4dc
Wiki: UI for page new
9 years ago
Unknwon
144663a3cf
allow admin to migrate for any user/org
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
ff5f14431e
fix #1448
9 years ago
Unknwon
f8ae161c74
fix #1302
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
Unknwon
35a65736fa
add get repo API
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
Steven Oud
6fe868a4d5
added repository remove option to api
9 years ago
Unknwon
7ec991326d
fix migrate api
10 years ago
Unknwon
e5b105e513
fix migrate API
10 years ago
Unknwon
d951824ff9
able to download archive by API
10 years ago
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
10 years ago
Unknwon
65843b803b
add webhook default events
10 years ago
Unknwon
55ddf225bb
webhook APIs
10 years ago
Unknwon
f509c59ac1
new create webhook event
10 years ago
Unknwon
f2de4d5c04
new create repo options
10 years ago
Unknwon
bb3b90fcd6
#1487 Readme Template
10 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
10 years ago
Unknwon
2881456421
new webhooks list UI
10 years ago
Unknwon
1453e91f41
minor fix on API response
10 years ago
Unknwon
54b52de6ee
minor fix on API response
10 years ago
Unknwon
407385db7e
work on #1493
10 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Unknwon
9db4acc62e
improve fork process
10 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
10 years ago
Unknwon
4cbbaefd82
#1127 : hide user e-mail when API caller isn't signed in
10 years ago
Lunny Xiao
673a76d638
Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
...
Hotfix/type fix validate password
10 years ago
Dustin Willis Webber
5a4f314cf7
fix calls that go rename missed
10 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
5169a0e025
mirror fix of #1105
10 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
10 years ago
Unknwon
10e4b5b6c6
Merge branch 'access' of github.com:gogits/gogs into access
10 years ago
Unknwon
7ccab9cd09
Merge branch 'dev' of github.com:gogits/gogs into access
...
Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl
10 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
10 years ago
Peter Smit
ed89b39984
Updating context and fixing permission issues
...
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago
Peter Smit
4e79adf6b5
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Peter Smit
76f8904718
Introducing Collaboration Struct
10 years ago
Unknwon
b553ea45ee
modes/repo: incorrect SSH clone URL for #742
10 years ago
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon
bc8721fb6c
Finish new UI for release page
10 years ago
Deiwin Sarjas
48bb0fadc2
update user api search results to include the full name
...
Is fully backwards compatible
Fixes #677
10 years ago
Unknwon
37d8d3afe9
more APIs on #12
10 years ago
Unknwon
a0f9197b45
GetFile api
10 years ago
Unknwon
340a4595dd
support duoshuo mirror of gravatar
10 years ago
Unknwon
52d66ba6c8
#12 , use go-gogs-client
10 years ago
Unknwon
9dc3c93a6a
#12 , add/edit hook
10 years ago
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
10 years ago
Unknwon
83283bca4c
Safe work
10 years ago
Unknwon
3abc41ccca
Fix API broken
10 years ago
Unknwon
904bf1a50b
Add migrate repo API
11 years ago
lunnyxiao
c40e815763
add migrate api
11 years ago
Unknwon
74b31566cf
Finsih add/remove repo in organization
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Unknown
0f907301b7
Fix #285
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago
Unknown
c1eb4d894a
Clean api code
11 years ago
Unknown
49dc57e336
Add /api/v1/users/search
11 years ago
slene
52b4ab2aa5
update with new git
11 years ago
Unknown
47aa53bd36
Add search commits
11 years ago
Unknown
8c9a0494ec
Add @ # commit link detect on all markdown render
11 years ago
Unknown
2c073afbec
Mirror fix and update
11 years ago