Lauris BH
4a8ee0b5cc
Check that repositories can only be migrated to own user or organizations ( #4366 )
...
* Repositories can only migrated to own user or organizations
* Add check for organization that user does not belong to
* Allow admin to migrate repositories for other users
7 years ago
tarelda
5676f60cba
Keep preseeded database password ( #4284 )
7 years ago
Clar Charr
c71ee33057
Increase default TOTP secret size to 320 bits ( #4287 )
7 years ago
Jonas Franz
801843b011
Fix open redirect vulnerability on login screen ( #4312 )
...
* Fix open redirect vulnerability on login screen
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Reorder imports
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Replace www. from Domain too
Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
David Schneiderbauer
0b3ea42847
hide issues from org private repos w/o team assignment ( #4034 )
7 years ago
Alexey Terentyev
46d19c4676
Fix topics addition (Another solution) ( #4031 ) ( #4258 )
...
* Added topics validation, fixed repo topics duplication (#4031 )
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Added tests
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Fixed fmt
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Added comments to exported functions
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Deleted RemoveDuplicateTopics function
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Fixed messages
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Added migration
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* fmt migration file
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* fixed lint
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Added Copyright
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Added query solution for duplicates
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Fixed migration query
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Changed RegExp. Fixed migration
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* fmt migration file
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Fixed test for changed regexp
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Removed validation log messages
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Renamed migration file
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Renamed validate function
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
7 years ago
Russell Aunger
9ae7664df7
Fix webhook type conflation. ( #4285 )
...
- Fix typo that caused Gogs hooks to be created as Gitea hooks.
- Fix typo that caused Gogs hooks to be duplicated upon edit (though this bug was masked by the previous one).
Signed-off-by: Russell Aunger <rba@live.com>
7 years ago
Jonas Franz
467ff4d343
Fix milestone appliance and permission checks ( #4271 )
...
* Fix milestone appliance
Fix missing permission check
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix comment
* Add Gitea copyright line
7 years ago
David Schneiderbauer
69bfd81b1c
fix missing data on redirects ( #3975 )
7 years ago
stevegt
a7aaacb633
fix CreateIssueCommentOption reference ( #4239 )
...
* fixes a warning remaining from #4010 and #4220
7 years ago
David Schneiderbauer
adba2ad609
fix not respecting landing page setting ( #4209 )
...
* fix not respecting landing page setting
* fmt
* add landing page test
7 years ago
Antoine GIRARD
6efdcaed86
Fix swagger security parts ( #4236 )
7 years ago
Antoine GIRARD
908e8942cc
Fix swagger errors ( #4220 )
...
Fix all the resting errors to have a valid swagger file.
They are still some warnings but nothing blocking.
Doing so I found that some request still misses son parameters for some POST/PUT/PATCH request. This means the a client generated from the swagger file will not work completely.
Fix #4088 by activating validation in drone
Should fix #4010 .
7 years ago
nickolas360
2bb73fe12c
HTML-escape text READMEs ( #4192 )
7 years ago
stevegt
a5f63fc4d1
swagger: add 'required: true' for params in URL ( #4097 )
...
* Partial fix for #4010
Swagger validation needs 'required: true' for parameters that are in
the URL path.
Signed-off-by: Steve Traugott <stevegt@t7a.org>
7 years ago
stevegt
39f2aa7c12
add simple descriptions for file API responses ( #4089 )
...
* Partial fix for #4010
Swagger needs a description field in each swagger:operation response. Adding
minimal text for now on the way to getting swagger validate to pass. Many
standard swagger client libraries will not work with gitea until validate
passes, so prioritizing that over better descriptions for now.
Signed-off-by: Steve Traugott <stevegt@t7a.org>
7 years ago
stevegt
7707ad7a0a
add simple descriptions for swagger validate ( #4087 )
...
* Partial fix for #4010
Swagger needs a comment line above each swagger:response comment -- it
uses these to populate the description: fields. Adding minimal text
for now on the way to getting swagger validate to pass. Many standard
swagger client libraries will not work at all with gitea until validate
passes, so prioritizing that over better descriptions for now.
Signed-off-by: Steve Traugott <stevegt@t7a.org>
7 years ago
Alexey Terentyev
f86f56e19c
Added deletion of an empty line at the end of the file ( #4050 ) ( #4054 )
...
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
7 years ago
Michael Kuhn
fd274ffcd9
Fix wiki redirects ( #3919 )
...
When creating or editing a wiki page, the redirect to the wiki page does
not work because the file name is used instead of the page name.
7 years ago
Fluf
2a9799493a
Make home.tmpl visible with Signin-View enabled ( #4040 )
...
Fix #3846
7 years ago
Magnus Lindvall
cdb9478774
LDAP Public SSH Keys synchronization ( #1844 )
...
* Add LDAP Key Synchronization feature
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Add migration: add login source id column for public_key table
* Only update keys if needed
* Add function to only list pubkey synchronized from ldap
* Only list pub ssh keys synchronized from ldap. Do not sort strings as ExistsInSlice does it.
* Only get keys belonging to current login source id
* Set default login source id to 0
* Some minor cleanup. Add integration tests (updete dep testify)
7 years ago
Alexey Terentyev
b908ac9fab
Added repository search ordered by stars or forks. Forks column in admin repo list. ( #3969 )
...
* Added repository search order by stars or forks.
Added Forks column to admin repository list.
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Renamed search repo template
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
7 years ago
Lunny Xiao
60d95a0b85
fix bugs caused by #3929 ( #3999 )
7 years ago
Aleksandr Bulyshchenko
ee878e3951
Support secure cookie for csrf-token ( #3839 )
...
* dep: Update github.com/go-macaron/csrf
Update github.com/go-macaron/csrf with dep to revision 503617c6b372
to fix issue of csrf-token security.
This update includes following commits:
- Add support for the Cookie HttpOnly flag
- Support secure mode for csrf cookie
Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com>
* routers: set csrf-token security depending on COOKIE_SECURE
Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com>
7 years ago
David Schneiderbauer
31067c0a89
remove collaborative repositories from search on user profiles ( #3996 )
...
* remove collaborative repositories from search on user profiles
* rename 'My Repositories' to 'Repositories'
7 years ago
Lunny Xiao
6bdc556b7f
Fix some webhooks bugs ( #3981 )
...
* fix some webhooks bugs
* update vendor
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix test
* fix clearlabels
* fix pullrequest webhook bug fix #3492
* update release webhook description
* remove unused code
* fix push webhook in pull request
* small changes
7 years ago
Jonas Franz
951309f76a
Add support for FIDO U2F ( #3971 )
...
* Add support for U2F
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add vendor library
Add missing translations
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Minor improvements
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library
Add U2F error handling
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add U2F login page to OAuth
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Move U2F user settings to a separate file
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add unit tests for u2f model
Renamed u2f table name
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix problems caused by refactoring
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add U2F documentation
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Remove not needed console.log-s
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add default values to app.ini.sample
Add FIDO U2F to comparison
Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
David Schneiderbauer
44754774f1
Re-enable random avatar feature ( #3988 )
...
* reenable random avatar feature
* replace Size check by Filename check
7 years ago
David Schneiderbauer
2aabfc1afa
Splitted the user settings code into several files to be more maintainable ( #3968 )
...
* refactor setting router code
splitted up one huge router settings file into the smaller files
representing the actual page structure
* move code to subfolder
* rename functions
* renamed files
* add copyright information
7 years ago
Lunny Xiao
24941a1046
Add more webhooks support and refactor webhook templates directory ( #3929 )
...
* add more webhook support
* move hooks templates to standalone dir and add more webhooks ui
* fix tests
* update vendor checksum
* add more webhook support
* move hooks templates to standalone dir and add more webhooks ui
* fix tests
* update vendor checksum
* update vendor
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* load attributes when created release
* update comparsion doc
7 years ago
David Schneiderbauer
099372d76c
Refactor User Settings ( #3900 )
...
* moved avatar to profile page
* combined password change, email and account deletion into account settings page
* combined totp, access tokens, linked accounts and openid into security settings page
* move access tokens to applications settings page
* small change to restart drone build
* fix change avatar url on profile page
* redirect old settings urls to new ones
* enforce only one autofocus attribute on settings pages
* set correct redirect status code
* fmt fix
7 years ago
FabioFortini
1546458f7d
issue-2768: added new option allow_only_external_registration ( #3910 )
7 years ago
Lunny Xiao
c14870c5ac
fix blank topic ( #3948 )
7 years ago
kolaente
95f2e2b57b
Multiple assignees ( #3705 )
7 years ago
David Schneiderbauer
ea01decb6b
fix wrong issue endpoints in swagger doc ( #3914 )
7 years ago
Lauris BH
501fb228e6
Add option to use paged LDAP search when synchronizing users ( #3895 )
7 years ago
kolaente
1fdf560678
Added user language setting ( #3875 )
...
* Added user language setting
* Added translation string for setting
* Fixed import order + typo
* improved checking if the user has a language saved in the db
* The current saved language is now set a default inside the dropdown
* fmt
* When a user signs in and doesn't have a language saved, the current browser language is saved
* updated gitea-sdk
* Merge branch 'master' of https://github.com/go-gitea/gitea into save-user-language
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v62.go
* Made tests work again
* trigger CI
* trigger CI
* fmt
* re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO
* re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO
* When loggin in, only the language col gets updated instead of everything
7 years ago
Lauris BH
1e1ece8f3d
Do not allow to reuse TOTP passcode ( #3878 )
7 years ago
kolaente
1a97030017
Issue due date ( #3794 )
...
* Started adding deadline to ui
* Implemented basic issue due date managing
* Improved UI for due date managing
* Added at least write access to the repo in order to modify issue due dates
* Ui improvements
* Added issue comments creation when adding/modifying/removing a due date
* Show due date in issue list
* Added api support for issue due dates
* Fixed lint suggestions
* Added deadline to sdk
* Updated css
* Added support for adding/modifiying deadlines for pull requests via api
* Fixed comments not created when updating or removing a deadline
* update sdk (will do properly once go-gitea/go-sdk#103 is merged)
* enhanced updateIssueDeadline
* Removed unnessecary Issue.DeadlineString
* UI improvements
* Small improvments to comment creation
+ ui & validation improvements
* Check if an issue is overdue is now a seperate function
* Updated go-sdk with govendor as it was merged
* Simplified isOverdue method
* removed unessecary deadline to 0 set
* Update swagger definitions
* Added missing return
* Added an explanary comment
* Improved updateIssueDeadline method so it'll only update `deadline_unix`
* Small changes and improvements
* no need to explicitly load the issue when updating a deadline, just use whats already there
* small optimisations
* Added check if a deadline was modified before updating it
* Moved comment creating logic into its own function
* Code cleanup for creating deadline comment
* locale improvement
* When modifying a deadline, the old deadline is saved with the comment
* small improvments to xorm session handling when updating an issue deadline
+ style nitpicks
* style nitpicks
* Moved checking for if the user has write acces to middleware
7 years ago
Lauris BH
181b3a8f09
Fix path cleanup in multiple places ( #3871 )
7 years ago
Ethan Koenig
7ea4bfc561
API endpoint for testing webhook ( #3550 )
...
* API endpoint for testing webhook
* Empty commit to rerun CI
7 years ago
Lauris BH
5a62eb30df
Store OAuth2 session data in database ( #3660 )
...
* Store OAuth2 session data in database
* Rename table to `oauth2_session` and do not skip xormstorage initialization error
7 years ago
Jonas Franz
8d5f58d834
Shows total tracked time in issue and milestone list ( #3341 )
...
* Show total tracked time in issue and milestone list
Show total tracked time at issue page
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Optimizing TotalTimes by using SumInt
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fixing wrong total times for milestones caused by a missing JOIN
Adding unit tests for total times
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Logging error instead of ignoring it
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Correcting spelling mistakes
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Change error message to a short version
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add error handling to TotalTimes
Add variable for totalTimes
Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Introduce TotalTrackedTimes as variable of issue
Load TotalTrackedTimes by loading attributes of IssueList
Load TotalTrackedTimes by loading attributes of single issue
Add Sec2Time as helper to use it in templates
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fixed test + gofmt
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Load TotalTrackedTimes via MilestoneList instead of single requests
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add documentation for MilestoneList
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add documentation for MilestoneList
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix test
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Change comment from SQL query to description
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix unit test by using int64 instead of int
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix unit test by using int64 instead of int
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Check if timetracker is enabled
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix test by enabling timetracking
Signed-off-by: Jonas Franz <info@jonasfranz.de>
7 years ago
Morgan Bazalgette
e3028d124f
don't reset team/repo count when updating team via API ( #3831 )
...
fixes #3600
7 years ago
Lunny Xiao
bec69f702b
Add topic support ( #3711 )
...
* add topic models and unit tests
* fix comments
* fix comment
* add the UI to show or add topics for a repo
* show topics on repositories list
* fix test
* don't show manage topics link when no permission
* use green basic as topic label
* fix topic label color
* remove trace content
* remove debug function
7 years ago
Lunny Xiao
45d1fc03cb
fix go vet error ( #3740 )
7 years ago
Bo-Yi Wu
1c5cbc390b
refactor: import order. ( #3736 )
7 years ago
Lauris BH
ab5cc6f3a9
Correctly check http git access rights for reverse proxy authorized users ( #3721 )
7 years ago
Allen Wild
15c6bb500b
Add repository setting to enable/disable health checks ( #3607 )
...
New Feature:
* Repository struct field for IsFsckEnabled (default true of course)
* Admin Settings section on repo options page, accessible only by
admin users
Possible Enhancements:
* There's no way to force running health checks on all repos
regardless of their IsFsckEnabled setting. This would be useful if
there were an admin API or dashboard button to run fsck immediately.
Issue: https://github.com/go-gitea/gitea/issues/1712
Signed-off-by: Allen Wild <allenwild93@gmail.com>
7 years ago
Chri-s
9350ba7947
Add protected branch whitelists for merging ( #3689 )
...
* Add database migrations for merge whitelist
* Add merge whitelist settings for protected branches
* Add checks for merge whitelists
7 years ago
Chri-s
e64aa18dc9
Change protected branch settings title to existing locale entry ( #3694 )
7 years ago
Alex Ward
4ebdcbc5df
Fix style of "In your repositories" when selected ( #3699 )
...
Signed-off-by: Alex Ward <alxwrd@googlemail.com>
7 years ago
Lunny Xiao
9e5d0a09eb
Global code search support ( #3664 )
...
* add global code search on explore
* fix bug when no anyone public repos
* change the icon
* fix typo and add UnitTypeCode check for login non-admin user
* fix ui description when no match
7 years ago
Lauris BH
7b2b900e13
Refactor and simplify redirect to url ( #3674 )
7 years ago
Chri-s
a2a49c93c7
Added checks for protected branches in pull requests ( #3544 )
...
* Added checks for protected branches in pull requests
Signed-off-by: Christian Wulff <NChris@posteo.net>
* Moved check for protected branch into new function CheckUserAllowedToMerge
Signed-off-by: Christian Wulff <NChris@posteo.net>
* Removed merge conflict lines from last commit
Signed-off-by: Christian Wulff <NChris@posteo.net>
* Explicit check for error type in ViewIssue
Signed-off-by: Christian Wulff <NChris@posteo.net>
7 years ago
Lauris BH
c0d41b1b77
Add label descriptions ( #3662 )
...
* Add label descriptions
* Add default descriptions to label template
7 years ago
kolaente
1a83581121
Added issue search via api ( #3612 )
...
* Started implementing issue api search
* Implemented issue search via api
* Added search to swagger.json
* Removed todo
* fmt
* Added comment to generate swagger json via "generate-swagger"
* Simplified search
* fmt
* Removed unessecary comment
* Removed unessecary declaration of the issues-variable
* Removed unessecary comment
* Removed unessecary comment
* Added explanation keyword
* Simplified check for empty keyword
* corrected check if keyword is empty
7 years ago
Jonas Franz
9a5e628a7e
Add Attachment API ( #3478 )
...
* Add Attachment API
* repos/:owner/:repo/releases (add attachments)
* repos/:owner/:repo/releases/:id (add attachments)
* repos/:owner/:repo/releases/:id/attachments
* repos/:owner/:repo/releases/:id/attachments/:attachment_id
Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Add unit tests for new attachment functions
Fix comments
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* fix lint
* Update vendor.json
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* remove version of sdk
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix unit tests
Add missing license header
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add CreateReleaseAttachment
Add EditReleaseAttachment
Add DeleteReleaseAttachment
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add filename query parameter for choosing another name for an attachment
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix order of imports
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Restricting updatable attachment columns
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* gofmt
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Update go-sdk
Replace Attachments with Assets
Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Update go-sdk
Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Updating go-sdk and regenerating swagger
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add missing file of go-sdk
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Change origin of code.gitea.io/sdk to code.gitea.io/sdk
Update code.gitea.io/sdk
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Update swagger
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Update updateAttachment
7 years ago
Mahmoud Al-Qudsi
171914e9a7
Log attachment blocked events ( #3615 )
...
Include both a log entry and the blocked mime type in the gitea log when
an attachment upload is blocked.
Chosen log level is info; this may need to be dialed down to trace.
7 years ago
Allen Wild
8606d9f5bc
Add admin dashboard option to run health checks ( #3606 )
...
There's one for git gc, why not git fsck too?
Also add a couple more trace logs to GitFsck to see progress
7 years ago
Morgan Bazalgette
535445c32e
Rework special link parsing in the post-processing of markup ( #3354 )
...
* Get rid of autolink
* autolink in markdown
* Replace email addresses with mailto links
* better handling of links
* Remove autolink.js from footer
* Refactor entire html.go
* fix some bugs
* Make tests green, move what we can to html_internal_test, various other changes to processor logic
* Make markdown tests work again
This is just a description to allow me to force push in order to restart
the drone build.
* Fix failing markdown tests in routers/api/v1/misc
* Add license headers, log errors, future-proof <body>
* fix formatting
7 years ago
bugreport0
521945a2d2
Fix missing translations when updating username. ( #3564 )
...
* Fix missing translations when updating username.
* Fix reserved username translated string test.
* Fix 'username reserved' string test a bit more.
7 years ago
Bo-Yi Wu
04b3e8cbdc
refactor: reduce sql query in retrieveFeeds ( #3547 )
7 years ago
Ethan Koenig
7b104f0cd0
Populate URL field of API commits ( #3546 )
...
* Populate URL field of API commits
* fix orgmode_test
7 years ago
Codruț Constantin Gușoi
96c268c0fc
Implements generator cli for secrets ( #3531 )
...
Signed-off-by: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
7 years ago
Piotr Orzechowski
b104ab3ca1
Add option to enable or disable swagger endpoints ( #3502 )
7 years ago
Ethan Koenig
4c9d9c221a
Improve wiki test ( #3493 )
7 years ago
Lauris BH
283e87d814
Fix rendering of wiki page list if wiki repo contains other files ( #3454 )
...
* Fix rendering of wiki page list if wiki repo contains other files
* Improve wiki filename tests
7 years ago
Morgan Bazalgette
17655cdf1b
Enable caching on assets and avatars ( #3376 )
...
* Enable caching on assets and avatars
Fixes #3323
* Only set avatar in user BeforeUpdate when there is no avatar set
* add error checking after stat
* gofmt
* Change cache time for avatars to an hour
7 years ago
Lauris BH
ca4f5c37e6
Fix branch deletion for squash or rebase merged pull requests ( #3425 )
7 years ago
Lauris BH
ca306985d3
Change how merged PR commit info are prepared ( #3368 )
...
* Change how merged PR commits and diff are made
* Update code.gitea.io/git dependency
* Fix typo
* Remove unneeded local variable
7 years ago
Marc Brückner
695b10bedd
Fix API-Endpoint release ( #3012 )
...
* Fixes API-Endpoint release (#3005 )
* Using context.ReferencesGitRepo(); doing the same in the PATCH route.
* Add release create, get and update test
7 years ago
Morgan Bazalgette
eb0f166f50
Address issues pointed out by @lunny in #3339 ( #3352 )
7 years ago
Kim "BKC" Carlbäcker
e5b8b4b5ec
Cleanup models.User.HashPassword ( #3334 )
7 years ago
Morgan Bazalgette
65861900cd
Handle refactor ( #3339 )
...
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Antoine GIRARD
84feb016f5
Remove useless fmt.Errorf("%v", err) ( #3337 )
7 years ago
Morgan Bazalgette
674cfb7cac
Change EncodePasswd to HashPassword ( #3329 )
...
* Change EncodePasswd to HashPassword
* Create test+benchmark for HashPassword
7 years ago
Deyong Zhu
d663cef2a5
Fix branch name escaping in compare url ( #3311 )
...
* Fixes #3303
7 years ago
Sandro Santilli
44053532bb
Serve .patch for pull requests ( #3305 )
...
* Serve .patch for pull requests
Closes #3259
Updates "git" module, for GetFormatPatch
* Handle io.Copy error
7 years ago
Vlad Temian
e78786ef39
Writable deploy keys ( closes #671 ) ( #3225 )
...
* Add is_writable checkbox to deploy keys interface
* Add writable key option to deploy key form
* Add support for writable ssh keys in the interface
* Rename IsWritable to ReadOnly
* Test: create read-only and read-write deploy keys via api
* Add DeployKey access mode migration
* Update gitea sdk via govendor
* Fix deploykey migration
* Add unittests for writable deploy keys
* Move template text to locale
* Remove implicit column update
* Remove duplicate locales
* Replace ReadOnly field with IsReadOnly method
* Fix deploy_keys related integration test
* Rename v54 migration with v55
* Fix migration hell
7 years ago
Lauris BH
8ac1501ad7
Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge ( #3188 )
...
* Pull request options migration and UI in settings
* Add ignore whitespace functionality
* Fix settings if pull requests are disabled
* Fix migration transaction
* Merge with Rebase functionality
* UI changes and related functionality for pull request merging button
* Implement squash functionality
* Fix rebase merging
* Fix pull request merge tests
* Add squash and rebase tests
* Fix API method to reuse default message functions
* Some refactoring and small fixes
* Remove more hardcoded values from tests
* Remove unneeded check from API method
* Fix variable name and comment typo
* Fix reset commit count after PR merge
7 years ago
Sandro Santilli
a192f3052e
Serve pull request .diff files ( #3293 )
...
* Serve pull request .diff files
Closes #3259
* Add test for pull request redirection and .diff access
* Typo
* There's no need to test for pr.BaseRepo being nil after calling GetBaseRepo
7 years ago
Ethan Koenig
ce7ae17b81
Fix swagger docs ( #3300 )
7 years ago
Elouan Martinet
5057c6b43f
Fix guide link for webhooks in repository settings ( #3291 ) ( #3292 )
...
Signed-off-by: Elouan Martinet <exa@elou.world>
7 years ago
Ethan Koenig
4c9341f689
Fix bugs in issue dashboard stats ( #3073 )
7 years ago
Ethan Koenig
515cdaa85d
Fix ignored errors when checking if organization, team member ( #3177 )
7 years ago
Lunny Xiao
529482135c
Support default private when creating or migrating repository ( #3239 )
...
* support default private when creating or migrating repository
* fix fmt
* use string constants on repository default private in app.ini
* fix fmt
7 years ago
Ethan Koenig
0e384c6376
Check ignored errors for issue and milestone count ( #3213 )
7 years ago
Ethan Koenig
befa7445d2
Unit tests for routers/repo/issue_label ( #3198 )
7 years ago
Lunny Xiao
f94c1b3943
Improvements for supporting UI Location ( #3146 )
...
* improvements for supporting UI Location
* improved the comment
7 years ago
Lauris BH
d3c5911ffc
Fix wiki page list not rendering after updatedunix changes ( #3175 )
7 years ago
harry
03ec35ed79
Mention completion for issue editor. ( #3136 )
...
* new issue mention
* Mention completion on new issue and view issue page.
* Code format.
* Require tribute in pull request page.
7 years ago
Lunny Xiao
f2e20c81b6
Refactor struct's time to remove unnecessary memory usage ( #3142 )
...
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
7 years ago
Antoine GIRARD
ef78309b65
Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. ( #3092 )
...
* Add failing test
* Fix urls
* Improve url in tests
* improve testing
* Remove debug code
* Add deps
* LFS corner-case : Search on lower but store with case
* Temporary comment of blocking action
* fix hooks
* Use temporary repo for git client test
* Use userPassword in place of hard-coded password
7 years ago
Ethan Koenig
596308f213
Fix missing branch in release bug ( #3108 )
7 years ago
Ethan Koenig
68179dc676
Remove unnecessary function call ( #3109 )
7 years ago
Sasha Varlamov
311c83ad17
Allow adding collaborators with (fullname) ( #3103 )
...
* Allow adding collaborators with (fullname)
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Refactor username suffix to utils pkg
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
7 years ago
Sasha Varlamov
7ec6cddd27
Add 'mark all read' option to notifications ( #3097 )
...
* Add 'mark all read' option to notifications
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Fix exported comment
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Format method comments
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Fix exported comment
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
Format method comments
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
Tests for reactions (#3083 )
* Unit tests for reactions
* Fix import order
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
Fix reaction possition when there is attachments (#3099 )
Refactor notifications swap function
* Accept change to drop beforeupdate call
* Update purge notifications error message for consistency
* Drop unnecessary check for mark all as read button
* Remove debugging comment
7 years ago
Vlad Temian
469ab99e9a
Delete a user's public key via admin api ( closes #3014 ) ( #3059 )
...
* 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
7 years ago
Ethan Koenig
c0a7899416
Sort repos in issues dashboard sidebar ( #3072 )
...
* Sort repos in issues dashboard sidebar
* Sort repos by name
7 years ago
Ethan Koenig
3c1b1ca78e
Fix error message sanitiziation ( #3082 )
7 years ago
Lauris BH
5dc37b187c
Add reactions to issues/PR and comments ( #2856 )
7 years ago
Lunny Xiao
b3d5ba6f90
Fix missing password length check when change password ( #3039 )
...
* fix missing password length check when change password
* add tests for change password
7 years ago
Lunny Xiao
35cc5b0402
Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName ( #3043 )
...
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName
* fix tests
* fix tests bug
* some improvements
7 years ago
Piotr Orzechowski
57edc3155f
Default log level to Info without hardcoding it in installer ( #3041 )
7 years ago
Lunny Xiao
13e59c8b7a
remove unused variable ( #3038 )
7 years ago
Ethan Koenig
91f3d77ceb
Unit tests for wiki routers ( #3022 )
7 years ago
Sandro Santilli
67b0d2175d
Set OpenID support on by default when installing new instance ( #3010 )
7 years ago
Duncan Ogilvie
551f3cbe42
Memory usage improvements ( #3013 )
...
* govendor update code.gitea.io/git
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Greatly improve memory usage
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
7 years ago
Antoine GIRARD
4035ab05fa
Fix git lfs path ( #3016 )
...
* add suffix .git
* Remove Content-Type on GET methods
* Add migrations to force creation before any further potential migration
7 years ago
Antoine GIRARD
d99f4ab003
Git LFS lock api ( #2938 )
...
* Implement routes
* move to api/sdk and create model
* Implement add + list
* List return 200 empty list no 404
* Add verify lfs lock api
* Add delete and start implementing auth control
* Revert to code.gitea.io/sdk/gitea vendor
* Apply needed check for all lfs locks route
* Add simple tests
* fix lint
* Improve tests
* Add delete test + fix
* Add lfs ascii header
* Various fixes from review + remove useless code + add more corner case testing
* Remove repo link since only id is needed.
Save a little of memory and cpu time.
* Improve tests
* Use TEXT column format for path + test
* fix mispell
* Use NewRequestWithJSON for POST tests
* Clean path
* Improve DB format
* Revert uniquess repoid+path
* (Re)-setup uniqueness + max path length
* Fixed TEXT in place of VARCHAR
* Settle back to maximum VARCHAR(3072)
* Let place for repoid in key
* Let place for repoid in key
* Let place for repoid in key
* Revert back
7 years ago
Vlad Temian
6ad4990a65
Add fingerprint to ssh key endpoints. ( #3009 )
...
* Add fingerprint to ssh key endpoints.
* Update gitea sdk vendor
7 years ago
Ethan Koenig
b7ebaf6d20
Various wiki bug fixes ( #2996 )
...
* Update macaron
* Various wiki bug fixes
7 years ago
Lauris BH
0d4c63fd70
Fix go-get, src and raw urls to new scheme ( #2978 )
7 years ago
Ethan Koenig
716ac1214f
Enable admin to search by email ( #2888 )
7 years ago
Lunny Xiao
061c501d54
Fix error when add user has full name to team ( #2973 )
...
* fix error when add user has full name to team
* add comment for extra uname check
7 years ago
Ethan Koenig
40c545ddbc
Fix files/commits of merged PRs ( #2937 )
7 years ago
Timur Makarchuk
dbb7715b0b
Remove render issue link ( #2954 )
...
* Remove function that does nothing
* Remove unused import
7 years ago
Lunny Xiao
10b54df2b2
Add dingtalk webhook ( #2777 )
...
* add dingtalk webhook type
* add vendor
* some fixes
* fix name check
* fix name check & improvment
7 years ago
Michael Kuhn
420fc8efc2
Disable add key button if SSH is disabled ( #2873 )
7 years ago
schaffman5
7e6c198f21
Apply LANDING_PAGE config options for logged in users ( #2894 )
...
* Extended LANDINGPAGE config variable to logged in users and added switch for 'organizations' in addition to 'home' and 'explore'.
* Updated comments.
Signed-off-by: Mike Schaffer <mschaff@gmail.com>
* Extended LANDINGPAGE config variable to trigger when user logs in and added switch for 'organizations' in addition to 'home' and 'explore'.
Signed-off-by: Mike Schaffer <mschaff@gmail.com>
* Extended LANDINGPAGE config variable to logged in users and added switch for 'organizations' in addition to 'home' and 'explore'.
* Updated comments.
Signed-off-by: Mike Schaffer <mschaff@gmail.com>
* Extended LANDINGPAGE config variable to trigger when user logs in and added switch for 'organizations' in addition to 'home' and 'explore'.
Signed-off-by: Mike Schaffer <mschaff@gmail.com>
* Removed superfluous conditional and correct whitespace.
Signed-off-by: Mike Schaffer <mschaff@gmail.com>
* Update app.ini
Reverted new line.
* Formatting.
Signed-off-by: Mike Schaffer <mschaff@gmail.com>
7 years ago
Ethan Koenig
c3b6383b3a
Fix comment API paths ( #2813 )
7 years ago
Ethan Koenig
876bafb7ef
Fix API status code for hook creation ( #2814 )
...
* Fix API status code for hook creation
* Named constants for response statuses
7 years ago
Ethan Koenig
d22a8dc022
Page parameter for repo search API ( #2915 )
7 years ago
Ethan Koenig
f26f4a7e01
Update swagger documentation ( #2899 )
...
* Update swagger documentation
Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation
* Restore delete comments
7 years ago
Lauris BH
ba2e0240c6
Add LFS object verification step after upload ( #2868 )
...
* Add LFS object verification step after upload
* Fix file verification condition and small refactor
* Fix URLs
* Remove newline and return status 422 on failed verification
* Better error hadling
7 years ago
Lunny Xiao
cdc4600725
Fix fork repository cycle to self ( #2860 )
...
* fix fork repository cycle to self
* rename testForkRepo to traverseParentRepo
7 years ago
Ethan Koenig
d91fe5254d
Fix ignored errors in API route ( #2850 )
...
* Fix ignored errors in API route
7 years ago
Lauris BH
08b124dd47
Fix API raw requests for commits and tags ( #2841 )
7 years ago
Guillaume Dube
8798cf4e3b
Set session and indexers' data files rel to AppDataPath ( #2192 )
...
* Set session and indexers' data files rel to AppDataPath
The setting AppDataPath is now relative to the working directory.
The session svc's PROVIDER_CONFIG now defaults to AppDataPath/data/sessions.
The issue indexer's IssuePath now defaults to AppDataPath/indexers/issues.bleves.
* fix bug
7 years ago
Cum Gun
eecaba2031
Configurable SSH key exchange algorithm and MAC suite ( #2806 )
7 years ago
Ethan Koenig
e6a97b6675
Use api.TrackedTime in API ( #2807 )
...
* Use api.TrackedTime in API
* APIFormat() method
* Rename function
7 years ago
Ethan Koenig
513375c429
Make URL scheme unambiguous ( #2408 )
...
* Make URL scheme unambiguous
Redirect old routes to new routes
* Fix redirects to new URL scheme, and update template
* Fix branches/_new endpoints, and update integration test
7 years ago
Ethan Koenig
5866eb2321
Code/repo search ( #2582 )
...
Indexed search of repository contents (for default branch only)
7 years ago
Morlinest
ddb7f59ef4
Add search mode option to /api/repo/search ( #2756 )
...
* Add repo type option to /api/repo/search
* Add tests and fix result of collaborative filter in specific condition
* Fix/optimize search & tests
* Improve integration tests
* Fix lint errors
* Fix unit tests
* Change and improve internal implementation of repo search
* Use NonexistentID
* Make search api more general
* Change mirror and fork search behaviour
* Fix tests & typo in comment
7 years ago
Lauris BH
eca05b09aa
Add commit count caching ( #2774 )
...
* Add commit count caching
* Small refactoring
* Add different key prefix for refs and commits
* Add configuratuion option to allow to change caching time or disable it
7 years ago
Bwko
3ab580c8d6
Add branch overiew page ( #2108 )
...
* Add branch overiew page
* fix changed method name on sub menu
* remove unused code
7 years ago
Lunny Xiao
178bd498b9
fix imports
7 years ago
Lunny Xiao
219ca5cadb
some fixes
7 years ago
Lunny Xiao
6eeadb2082
Hide unactive on explore users and some refactors ( #2741 )
...
* hide unactive on explore users and some refactors
* fix test for removed Organizations
* fix test for removed Organizations
* fix imports
* fix logic bug
* refactor the toConds
* Rename TestOrganizations to TestSearchUsers and add tests for users
* fix other tests
* fix other tests
* fix watchers tests
* fix comments and remove unused code
7 years ago
Antoine GIRARD
619b9b5547
Move swagger-ui under /api/v1 ( #2746 )
...
* Move swagger interface under /api/v1
* Update swagger-ui
* Add /api/swagger and prepare for multiple api version
* Update test links
* Fix footer link
7 years ago
spacetourist
7131c7d40d
Configurable SSH cipher suite ( #913 )
...
* Configurable SSH cipher suite
* Update configuration file comment
* Add default in settings loading code
* Fix fmt and log messsage
* Remove default from code as this could probably might not be good idea
7 years ago
Morlinest
ccd3577970
Fix repository search function ( #2689 )
...
* Fix and remove FIXME
* Respect membership visibility
* Fix/rewrite searchRepositoryByName function
* Add unit tests
* Add integration tests
* Remove Searcher completely
* Remove trailing space
7 years ago
Jonas Franz
f4190f8df8
Render plain text README.txt monospaced ( #2721 )
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
Lunny Xiao
9e865cee67
Merge password and 2fa page on user settings ( #2695 )
...
* merge password and 2fa page on user settings
7 years ago
Lauris BH
c1b0c9e7c4
Fix PR, milestone and label functionality if issue unit is disabled ( #2710 )
...
* Fix PR, milestone and label functionality if issue unit is disabled or not assigned to user
* Fix multi-actions in PR page
* Change error message
* Fix comment update and delete functionality in PR
7 years ago
Lunny Xiao
a75d5c72bb
Fix plain readme didn't render correctly on repo home page ( #2705 )
...
* fix plain readme didn't render correctly on repo home page
* fix missing render
* remove unused template variables
7 years ago
Lauris BH
c7f4f07765
Integration test for activity page ( #2704 )
...
* Integration test for activity page
* Small code refactoring for acitvity page
* Move activity stats calculation logic to model
7 years ago
Lauris BH
f3833b7ce4
Create new branch from branch selection dropdown ( #2130 )
...
* Create new branch from branch selection dropdown and rewrite it to VueJS
* Make updateLocalCopyToCommit as not exported
* Move branch name validation to model
* Fix possible race condition
7 years ago
David Schneiderbauer
4ccb0fe338
fix .netrc authentication ( #2700 )
...
* provide both possible authentication solutions
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years ago
Lauris BH
1ec4dc6c1d
Fix so that user can still fork his own repository to owned organizations ( #2699 )
...
* Fix so that user can still fork his own repository to his organizations
* Fix to only use owned organizations
* Add integration test for forking own repository to owned organization
7 years ago
Lauris BH
32ca299650
Remove direct user adding to organization members ( #2641 )
7 years ago
Lauris BH
f42dbdbae5
Add Activity page to repository ( #2674 )
...
* Add Activity page to repository
* Add request data for activity
* Add issue data for activity
* Add user unit right checks
* Add releases to activity
* Log repository unit loading error
7 years ago
Morlinest
dff26e25ca
Remove redudant functions and code ( #2652 )
...
* Remove redudant functions and code
8 years ago
David Schneiderbauer
0cef8ce192
fix panic on gogs webhook creation ( #2675 )
...
* fix panic on gogs webhook creation
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* fix panic in gogs webhook edit
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
8 years ago
Kazuki Sawada
43253202e9
Change default sort order ( #2647 )
...
* sort repositories by `updated_unix` in Explore
* Fix UI problem
* Added missing sort order "newest"
* Change default sort order
* fmt
8 years ago
Kazuki Sawada
e1266a19c8
Change pull description text ( #2075 ) ( #2646 )
...
* Change pull description text
* move duplicated code into helper function
8 years ago
Morlinest
a04718a2a6
Remove repo unit index ( #2621 )
...
* Remove repo unit index
* Fix sqlite
8 years ago
Morlinest
1ad902d529
Fix implementation of repo Home func ( #2601 )
...
* Fix implementation of repo Home func
* Make fixture changes for testing
8 years ago
Morlinest
bae9cbce9c
Remove redudant CheckUnit calls in router ( #2627 )
8 years ago
Morlinest
cc84ca40d7
Remove redudant issue LoadAttributes() calls ( #2614 )
8 years ago
Lunny Xiao
2ef8b8bcbe
fix go get subpackage bug ( #2584 )
...
* fix go get subpackage bug
* merge the duplicated funtions
8 years ago
Morlinest
9a75a5d59b
Use custom type and constants to hold order by options ( #2572 )
8 years ago
Lunny Xiao
1be2b4a262
fix readme view bug ( #2566 )
8 years ago
Lunny Xiao
0d80af649a
Add init support of orgmode document type on file view and readme ( #2525 )
...
* add init support of orgmode document type on file view and readme
* fix imports
* fix imports and readmeExist
* fix imports order
* fix format
* remove unnecessary convert
8 years ago
Lauris BH
7a0297819d
Sync releases table with tags on push and for mirrors ( #2459 )
...
* Sync releases table with tags on push and for mirrors
* Code style fixes
* Fix api to return only releases
* Optimize release creation and update
Minimize posibility of race conditions
* Fix release lower tag name updating
* handle tag reference update by addionally comparing commit id
8 years ago
Lauris BH
23645fe05f
Sort repository tree entries in natural way ( #2506 )
...
* Sort repository tree entries in natural way
* Fix sort for different length strings with first parts equal
* Improve test case
* Refactor return statements
* Update gitea/git dependency
8 years ago
Jonas Franz
566e8ecce0
Fork permission bug fixes ( #2534 )
...
* Hotfix for "Add time manually" (https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125 )
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Checking if Code unit is enabled before creating a fork.
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Adding a discrete function for RepoIDAssignment
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Improved Documentation
8 years ago
Ethan Koenig
b0f7457d9e
Improve issue search ( #2387 )
...
* Improve issue indexer
* Fix new issue sqlite bug
* Different test indexer paths for each db
* Add integration indexer paths to make clean
8 years ago
Lunny Xiao
52e11b24bf
Restructure markup & markdown to prepare for multiple markup language… ( #2411 )
...
* restructure markup & markdown to prepare for multiple markup languages support
* adjust some functions between markdown and markup
* fix tests
* improve the comments
8 years ago
Rémy Boulanouar
e5d80b7090
Implementation of all repositories of a user from user->settings ( #1740 )
...
* Implementation of all repositories of a user from user->settings
* Update message when no repository found
* Update according to comments
* Change UI to have a better look
* improved user repositories UI
8 years ago
Lunny Xiao
1739e84ac0
improve protected branch to add whitelist support ( #2451 )
...
* improve protected branch to add whitelist support
* fix lint
* fix style check
* fix tests
* fix description on UI and import
* fix test
* bug fixed
* fix tests and languages
* move isSliceInt64Eq to util pkg; improve function names & typo
8 years ago
Rémy Boulanouar
be3319b3d5
Display commit status on landing page of repo ( #1784 )
...
* Display commit status on landing page of repo
* improve last status of commits and add link to ci
* fix last commit status since the order of ids are desc
8 years ago
Jonas Franz
633de01cf7
Hotfix for "Add time manually" ( https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125 ) ( #2499 )
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
8 years ago
Jonas Franz
5ccecb44ad
Feature: Timetracking ( #2211 )
...
* Added comment's hashtag to url for mail notifications.
* Added explanation to return statement + documentation.
* Replacing in-line link generation with HTMLURL. (+gofmt)
* Replaced action-based model with nil-based model. (+gofmt)
* Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants.
* Updating comment for mailIssueCommentToParticipants
* Added link to comment in "Dashboard"
* Deleting feed entry if a comment is going to be deleted
* Added migration
* Added improved migration to add a CommentID column to action.
* Added improved links to comments in feed entries.
* Fixes #1956 by filtering for deleted comments that are referenced in actions.
* Introducing "IsDeleted" column to action.
* Adding design draft (not functional)
* Adding database models for stopwatches and trackedtimes
* See go-gitea/gitea#967
* Adding design draft (not functional)
* Adding translations and improving design
* Implementing stopwatch (for timetracking)
* Make UI functional
* Add hints in timeline for time tracking events
* Implementing timetracking feature
* Adding "Add time manual" option
* Improved stopwatch
* Created report of total spent time by user
* Only showing total time spent if theire is something to show.
* Adding license headers.
* Improved error handling for "Add Time Manual"
* Adding @sapks 's changes, refactoring
* Adding API for feature tracking
* Adding unit test
* Adding DISABLE/ENABLE option to Repository settings page
* Improving translations
* Applying @sapk 's changes
* Removing repo_unit and using IssuesSetting for disabling/enabling timetracker
* Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu
* Improving documentation
* Fixing vendor/ folder
* Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks )
* Restricting write access to timetracking based on the repo settings (Proposed by @lafriks )
* Fixed minor permissions bug.
* Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo
* Allow assignees and authors to track there time too.
* Fixed some build-time-errors + logical errors.
* Removing unused Get...ByID functions
* Moving IsTimetrackerEnabled from context.Repository to models.Repository
* Adding a seperate file for issue related repo functions
* Adding license headers
* Fixed GetUserByParams return 404
* Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons
* Adding /repos/:username/times to get all tracked times of the repo
* Updating sdk-dependency
* Updating swagger.v1.json
* Adding warning if user has already a running stopwatch (auto-timetracker)
* Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions)
* Changing code.gitea.io/sdk back to code.gitea.io/sdk
* Correcting spelling mistake
* Updating vendor.json
* Changing GET stopwatch/toggle to POST stopwatch/toggle
* Changing GET stopwatch/cancel to POST stopwatch/cancel
* Added migration for stopwatches/timetracking
* Fixed some access bugs for read-only users
* Added default allow only contributors to track time value to config
* Fixed migration by chaging x.Iterate to x.Find
* Resorted imports
* Moved Add Time Manually form to repo_form.go
* Removed "Seconds" field from Add Time Manually
* Resorted imports
* Improved permission checking
* Fixed some bugs
* Added integration test
* gofmt
* Adding integration test by @lafriks
* Added created_unix to comment fixtures
* Using last event instead of a fixed event
* Adding another integration test by @lafriks
* Fixing bug Timetracker enabled causing error 500 at sidebar.tpl
* Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning.
* Returning TrackedTime instead of AddTimeOption at AddTime.
* Updating SDK from go-gitea/go-sdk#69
* Resetting Go-SDK back to default repository
* Fixing test-vendor by changing ini back to original repository
* Adding "tags" to swagger spec
* govendor sync
* Removed duplicate
* Formatting templates
* Adding IsTimetrackingEnabled checks to API
* Improving translations / english texts
* Improving documentation
* Updating swagger spec
* Fixing integration test caused be translation-changes
* Removed encoding issues in local_en-US.ini.
* "Added" copyright line
* Moved unit.IssuesConfig().EnableTimetracker into a != nil check
* Removed some other encoding issues in local_en-US.ini
* Improved javascript by checking if data-context exists
* Replaced manual comment creation with CreateComment
* Removed unnecessary code
* Improved error checking
* Small cosmetic changes
* Replaced int>string>duration parsing with int>duration parsing
* Fixed encoding issues
* Removed unused imports
Signed-off-by: Jonas Franz <info@jonasfranz.software>
8 years ago
Antoine GIRARD
7c417bbb0d
Only check at least one email gpg key ( #2266 )
...
* Only require one email (possibly not yet validated)
* Update message error and check validation of commit
* Add integrations tests
* Complete integration for import
* Add pre-check/optimization
* Add some test (not finished)
* Finish
* Fix fixtures
* Fix typo
* Don't guess key ID
8 years ago
Ethan Koenig
b689bb6180
Webhooks for repo creation/deletion ( #1663 )
...
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
8 years ago
Lunny Xiao
04ec79579c
fix orgnization webhooks ( #2422 )
...
* fix org webhooks
* remove trace code
8 years ago
Lunny Xiao
3e6fed368b
fix webhook test ( #2415 )
...
* fix webhook test
* fix error message
* fix typo
8 years ago
Ethan Koenig
491f0ebc58
Fix route handler order ( #2409 )
...
* Fix route handler order
* Fix more routes
8 years ago
Lunny Xiao
15d3872281
fix missing orgnization discord webhook ( #2414 )
8 years ago
Lunny Xiao
ced50e0ec1
Implementation of discord webhook ( #2402 )
...
* implementation of discord webhook
* fix webhooks
* fix typo and unnecessary color values
* fix typo
* fix imports and revert changes to webhook_slack.go
8 years ago
Lunny Xiao
e41da3845d
fix duplicated feed ( #2370 )
8 years ago
Lunny Xiao
f61a1d210c
Fix missing collabrative repos ( #2367 )
...
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
8 years ago
Zsombor
da230a2872
Add possibility to record branch or tag information in an issue ( #780 )
8 years ago
David Schneiderbauer
174255e74e
Log failed authentication attempts with remote address for fail2ban ( #2334 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
8 years ago
Bwko
1a5fe4326f
Add collaborative repositories to the dashboard ( #2205 )
...
* Add collaborative repositories to the dashboard
Remove some unused code from the Dashboard func
* fix some bug and some refactor
* fix tests
8 years ago
Antoine GIRARD
fd8e8a421a
Improve swagger doc ( #2274 )
...
* 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
8 years ago
Sandro Santilli
2c3a229a3c
Add OpenID configuration in install page ( #2276 )
8 years ago
David Schneiderbauer
5707ad3bb7
Add AppURL without trailing slash to TOTP issuer parameter to prevent conflicting accounts on multiple gitea installations ( #2335 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
8 years ago
Morlinest
e08d1fcc15
Fix variable name typo ( #2327 )
8 years ago
Michael Kuhn
934dd41fa6
Make SHOW_USER_EMAIL also apply to profiles ( #2258 )
...
The e-mail address is currently only hidden from the explore page.
8 years ago
Ethan Koenig
7907786040
Trigger sync webhooks on UI commit ( #2302 )
...
* Trigger sync webhooks on UI commit
* Also fix UI upload/delete
8 years ago
Morlinest
951fb572a7
Fix and improve dashboard repo UI ( #2285 )
...
* Fix and improve dashboard repo UI
* Change order of scripts loading
* Remove "mirror" tab
* Remove single tab panel for "org user"
* Add localization strings
* Create vue component and change event for search
* Add "mirrors" filter
8 years ago
Ethan Koenig
29f3a6e492
Fix rendering of external links ( #2292 )
8 years ago
Lunny Xiao
f960e19c59
Only update needed columns when update user ( #2296 )
...
* only update needed columns when update user
* fix missing update_unix column
8 years ago
Ethan Koenig
7e0654bd9e
Fix counts on issues dashboard ( #2215 )
...
* Fix counts on issues dashboard
* setupSess -> setupSession
* Unit test
* Load repo owners for issues
8 years ago
Ethan Koenig
f29458bd3a
EnableUnit() -> UnitEnabled() ( #2242 )
8 years ago
Bwko
1193627014
Fix Commits nil pointer dereference ( #2203 )
8 years ago
Florian / sinnlosername
27c2dcf60e
Fixed robots.txt 404 error ( #2226 )
...
* Update routes.go
* Update routes.go
8 years ago
Ethan Koenig
49df677c47
Check for access in /repositories/:id ( #2227 )
...
* Check for access in /repositories/:id
* Integration test
8 years ago
Lunny Xiao
04c4028aea
fix some bug
8 years ago
Ethan Koenig
fd45a032a7
Fix bare-repo bugs ( #2199 )
...
* Fix bare-repo bugs
* Integration tests
* Unused import
8 years ago
Moritz Heiber
7e12aac61c
Only allow token authentication with 2FA enabled ( #2184 )
...
* Don't allow for plain username/password authentication when 2FA is enabled
* Removed debugging statement
* Don't assume a token belongs to a given user, handle two-factor errors properly
* Simplified user/token matching, refactored error handling for two-factor authentication
* Change authentication response to avoid bruteforcing
* Add TODO item as a comment for changing the response for security purposes
8 years ago
Bwko
8f171210b9
Revert "Add ability to fork your own repos ( #761 )" ( #2193 )
8 years ago
Lauris BH
f33e6ae09e
Remove unit types commits and settings ( #2161 )
...
* Remove unit types commits and settings
* Can not limit units in administrator teams
* Limit changing units only to teams with read and write access mode
* Small code optimization
8 years ago
Christian Weiske
c4ccf16c43
Fix OpenID registration route ( #2160 )
...
Fixes #2101
8 years ago
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
Lauris BH
f189ccd2d6
Fix git hooks update to receive required arguments. Fixes #2090 ( #2095 )
...
* Changed migration calling so that migrations can use models package
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
iszla
3f9016430f
Pagination on releases page ( #2035 )
...
* Added count to GetReleasesByRepoID so pagination will work
* Separated it out to a new function, can then also leave the API part unaffected
* Remove extra whitespace added in untouched function
* Added comment and corrected name in error handler
* Account for if the user is owner or not in the count
* Also check if repo is draft
* revert back to the correct count in the ReleasesToDisplay loop
* Fixed lint error regarding else with return statement
* Use Cond struct instead of string, corrected name in error handler
* Removed unused return variable names
8 years ago
Shuanglei Tao
d389ed25a5
Fix: `http: multiple response.WriteHeader calls` ( #2038 )
...
We can't change the http status code here, because the response has been written.
8 years ago
Lauris BH
32fc44aa83
Make time diff translatable ( #2057 )
8 years ago
Jonas Franz
441986a473
Fix "Dashboard shows deleted comments" ( #1995 )
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
Kim "BKC" Carlbäcker
cc6b3f60c6
Fix displaying commits and files of PR created from now deleted fork ( #2023 )
...
Fix displaying commits and files of PR created from now deleted fork
8 years ago
Lunny Xiao
228247511a
repo/editor: fix breadcrumb path cuts parent dirs ( #3859 ) ( #2032 )
8 years ago
Lunny Xiao
75b5be236a
Display config file path on admin panel ( #2030 )
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
Lauris BH
0a5dc640a1
Make branch deletion URL more like GitHub's, fixes #1397 ( #1994 )
...
* Make branch deletion URL more like GitHub's, fixes #1397
* Add PR branch deletion integration test
* Do not allow deleting protected branch
* Change http error code to 403 if user has no write rights to repository
* Add check to not panic if forked repository has alrady been deleted
8 years ago
Lauris Bukšis-Haberkorns
63504bf132
Fix displaying commits and files of PR created from now deleted forked repository
8 years ago
Ethan Koenig
4df1a24096
Let not-logged-in users view releases ( #1999 )
8 years ago
Bo-Yi Wu
b7812be33a
fix misspell ( #1996 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Ethan Koenig
8fc64741d9
Fix deleted milestone bug ( #1942 )
...
* Fix deleted milestone bug
* Use locale for ghost milestone name
* Fix pointer bug
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
Ethan Koenig
8fcda0442e
Fix search by issue type ( #1914 )
...
* Fix search by issue type
8 years ago
Ethan Koenig
5e92b82ac6
Fix uppercase default branch bug ( #1965 )
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
silverwind
f2fcd9dcd8
Support CRLF when splitting code lines for display ( #1862 )
...
* Support CRLF when splitting code lines for display
* refactor, fix mixed match
* fmt
* split on both LF and CRLF, use raw literals in regexes
* simplify
8 years ago
Ethan Koenig
afe1f1c4af
Fix 500 in public activity page ( #1901 )
8 years ago
Ethan Koenig
9ddc35e343
Cache ctx.User in retrieveFeeds ( #1902 )
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
Ethan Koenig
023cad4461
gofmt ( #1868 )
8 years ago
Ethan Koenig
817a405118
Fix paginater length ( #1866 )
8 years ago
Ethan Koenig
2ec5dc1661
Fix 404 for external tracking issues ( #1852 )
...
* Fix 404 for external tracking issues
* Fix 404 for new/upload file
8 years ago
Ethan Koenig
b900c04316
Display draft releases ( #1854 )
...
* Display draft releases
* Include ctx.User in user cache
* Integration test
8 years ago
Rémy Boulanouar
62f600cf1c
Display all organization from user settings ( #1739 )
...
* Display all organization from user settings
* fix Tab selection
* Update locale_en-US.ini
* Add a condition for display Create organization button
* Remove french translation
* Remove unnecessary admin flag
8 years ago
Antoine GIRARD
976c2a05fa
Fix change introduce by update of go-swagger. ( #1727 )
8 years ago
Ethan Koenig
4e5ee2b67a
Fix user profile activity feed ( #1848 )
...
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
8 years ago
Jonas Östanbäck
b93568cce4
xxx_active_code_live setting in printed in hours and minutes instead … ( #1814 )
...
* xxx_active_code_live setting in printed in hours and minutes instead of just hours
* Update app.ini description of xxx_code_lives settings
8 years ago
Rémy Boulanouar
e0c6ab2d44
Add Gitea Webhook ( #1755 )
...
* Replace Gogs by Gitea
* Fix missing changes
* Create Gitea webhook and put Gogs webhook apart.
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
Lunny Xiao
3611a3e552
fix bug to deny to add orgnization as a member of an orgnization or team ( #1815 )
8 years ago
Ethan Koenig
0c332f0480
Fix activity feed ( #1779 )
...
* Fix activity feed
Preserve actions after user/repo name change
* Add missing comment
* Fix migration, and remove fields completely
* Tests
8 years ago
Ethan Koenig
ff2464c87d
Fix renaming bug ( #1786 )
8 years ago
Jonas Östanbäck
7b907ed348
Rename RepoCreationNum -> MaxCreationLimit ( #1766 )
8 years ago
Jonas Östanbäck
85a7396525
Add error direclty when user tries to create new repo and limit already hit ( #1767 )
8 years ago
Lunny Xiao
6362462da8
fix admin lost permission caused by #947
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
Lunny Xiao
fd6034aaf2
Add units to team ( #947 )
...
* add units to team
* fix lint
* finish team setting backend
* finished permission controll on routes
* fix import blank line
* add unit check on ssh/http pull and push and fix test failed
* fix fixtures data
* remove unused code
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
Jonas Östanbäck
e214728725
Add new text for reset password flash ( #1718 )
...
* Forgot password should use ResetPwdCodeLives, not ActiveCodeLives
* Improve documentation for different send mail functions related to password reset
* Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
8 years ago
Lauris BH
524885dd65
LDAP user synchronization ( #1478 )
8 years ago
Lauris BH
51d0becb42
Add configuration option for default permission to create Organizations ( #1686 )
8 years ago
Lunny Xiao
2bb8b3a562
fix bug when push a branch name with / & fix an integration test bug ( #1689 )
8 years ago
Lauris BH
79494047b0
Show commit status icon in commits table ( #1688 )
...
* Show commit status icon in commits table
* Add comments
* Fix icons
* Few more places where commit table is displayed
* Change integration test to use goquery for parsing html
* Add integration tests for commit table and status icons
* Fix status to return lates status correctly on all databases
* Rewrote lates commit status selects
8 years ago
Lunny Xiao
930d1759ae
Remove env user salt since no need to use ( #1515 )
...
* remove env user salt since no need to use
* remove unused variable from update.go
8 years ago
Lauris BH
2e17dda8bb
Remove sha1 hash display in repository table and add latest commit GPG check ( #1678 )
8 years ago
silverwind
935caa7f95
Download files to their original filename ( #1676 )
8 years ago
Bo-Yi Wu
75f1afd1fd
fix: tag contain character ) will http 500 on release page ( #1670 )
8 years ago
Ethan Koenig
a5f28a4544
gofmt ( #1662 )
8 years ago
Lunny Xiao
1773e88643
Drop db operations from hook commands ( #1514 )
...
* move all database operations from hook command to web command and instead of internal routes
* bug fixed
* adjust the import path sequences
* remove unused return value on hookSetup
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
0d1e001b9c
fix multiple readme file rendering and fix #1657 ( #1658 )
...
* fix multiple readme file rendering and fix #1657
* remove unnecessary loop
8 years ago
Jorrit Klein Bramel
87efc8c6d4
Sort on repo size in admin panel ( #1654 )
...
* fix #1653 sort on repo size
* fix minor mistake in en-us locale
8 years ago
Lauris BH
0144817971
Do not allow commiting to protected branch from online editor ( #1502 )
...
* Do not allow commiting to protected branch from online editor
* Add editor integration tests for adding new file and not allowing to add new file to protected branch
8 years ago
Willem van Dreumel
950f2e2074
Additional OAuth2 providers ( #1010 )
...
* add google+
* sort signin oauth2 providers based on the name so order is always the same
* update auth tip for google+
* add gitlab provider
* add bitbucket provider (and some go fmt)
* add twitter provider
* add facebook provider
* add dropbox provider
* add openid connect provider incl. new format of tips section in "Add New Source"
* lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow)
* imports according to goimport and code style
* make it possible to set custom urls to gitlab and github provider (only these could have a different host)
* split up oauth2 into multiple files
* small typo in comment
* fix indention
* fix indentation
* fix new line before external import
* fix layout of signin part
* update "broken" dependency
8 years ago
Lunny Xiao
0308d44a16
fix #1643 and improve integration test ( #1645 )
8 years ago
Lunny Xiao
e31c02d4bf
fix bug on issue view when not login ( #1624 )
...
* fix bug on issue view when not login
* hide issue watch when not login
* update the tests
* fix test on issue
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
Antoine GIRARD
8371f94d06
Rework SSH key management UI to add GPG ( #1293 )
...
* Rework SSH key management UI to add GPG
* Add more detail to gpg key display
* Update CHANGELOG.md
* Implement deletion UI
* Implement adding gpg UI
* Various fixes
- Fix duplicate entry in locale
- Re-generate hash before verification since they are consumed
* Add missing translation
* Split template
* Catch not found/verified email error
8 years ago
Ethan Koenig
c58708d3ee
Integration test framework ( #1290 )
...
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
8 years ago
Kim "BKC" Carlbäcker
4bea219128
Status-API ( #1332 )
8 years ago
Lunny Xiao
52627032bc
Add markup package to prepare for org markup format ( #1493 )
8 years ago
Lunny Xiao
f0db3da713
fix go get sub package and add domain on installation to let go get work defaultly ( #1518 )
...
* fix go get sub package and add domain on installation to let go get work defaultly
* fix import sequence
* fix .git problem
8 years ago
Lauris BH
bb14c97d40
Fix empty file download ( #1506 )
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
Lunny Xiao
2eeae84cbd
Add internal routes for ssh hook comands ( #1471 )
...
* add internal routes for ssh hook comands
* fix lint
* add comment on why package named private not internal but the route name is internal
* add comment above package private why package named private not internal but the route name is internal
* remove exp time on internal access
* move routes from /internal to /api/internal
* add comment and defer on UpdatePublicKeyUpdated
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
silverwind
237270ef50
Orgs: fix org page title when full name is not defined ( #1495 )
8 years ago
Kim "BKC" Carlbäcker
d409d3ab57
Sanitation fix from Gogs ( #1461 )
...
* Santiation fix from Gogs
* Linting
* Fix build-errors
* still not working
* Fix all the things!
* gofmt
* Add code-injection checks
8 years ago
Jonas
54f0293f0a
Mirror sync interval specified as duration string ( #1407 )
...
* Sync interval specifed as duration string
* Changed mirror interval text
* make fmt
* Add MinInterval for mirror sync
* Use duration internally
* Changed min default to 10m
* make fmt
* Incorrect default
* Removed defaults in MustDuration()
* Add Mirror interval migration
* Default values corrected
* Use transaction during migration
* Change http 500 to page with error message
* Cleanup session.commit()
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
Andrey Nering
18952c40f8
Add copyright headers
8 years ago
Andrey Nering
b674460748
Add watch button on issue
8 years ago
Sandro Santilli
129b0d6a4b
Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION ( #1369 )
...
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION
Omit the configuration variable (the default) to be dependent.
Fixes #1363
* Move OpenID settings under Service object
* Show OpenID SignUp and SignIn status in admin panel / configuration
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
Kim "BKC" Carlbäcker
c05bd1789c
Reduce conditionals in signin/signup inner forms ( #1138 )
8 years ago
Sandro Santilli
f73e734411
Run "make fmt" with go-1.6 ( #1333 )
8 years ago
Lunny Xiao
bd8fe49076
fix wiki bugs ( #1294 )
8 years ago
Sandro Santilli
15f5d8e794
Reduce conditionals in signin/signup inner forms
...
by always using SignInLink and SignUpLink in the form action
8 years ago
Sandro Santilli
9182a35f18
Show user OpenID URIs in their profile ( #1314 )
8 years ago
Sandro Santilli
97ee88975a
Add captcha support to OpenID based signup
8 years ago
Bo-Yi Wu
1c3bd436cc
feat: Only use issue and wiki on repo. ( #1297 )
8 years ago
Sandro Santilli
71d16f69ff
Login via OpenID-2.0 ( #618 )
8 years ago
Fabian Zaremba
f1d2f16b54
Add notice that LFS mirroring is not supported ( #1251 )
...
* Add notice that LFS mirroring is not supported
* Drop German translation
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
09fe4a2ae9
Batch updates for issues ( #926 )
8 years ago
Ethan Koenig
ec0ae5d50c
Refactor and fix incorrect comment ( #1247 )
8 years ago
Sandro Santilli
7d8f9d1c46
Rename /forget_password url to /forgot_password
...
Also renames `forgot_password` translation key to
`forgot_password_title` and `forget_password` to
`forgot_password`
Includes entry in CHANGELOG about the breaking change
(and some markdown fixes in there)
8 years ago
Lunny Xiao
be5738243c
fix repo settings external tracker failed and check external urls ( #1215 )
8 years ago
Sandro Santilli
8a98a25d8e
Show a link to password reset from password change and delete account ( #862 )
...
It's helpful when you forgot your password thus cannot change it
(can happen if you log in via OAuth2 or OpenID)
Also make sure that both the delete-account and password-change
links to forgot-password will have the primary email pre-filled
8 years ago
Lunny Xiao
b40496533b
fix leave team 404 ( #1154 )
8 years ago
Lunny Xiao
af9998b8a7
fix UI display problem when wiki name is non-ascii charset ( #1142 )
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
Lunny Xiao
d2165a5890
fix compare button failed when there is no fork repos ( #1104 )
8 years ago
Lunny Xiao
c2eef171ff
fix some typos ( #1082 )
8 years ago
Willem van Dreumel
8947b711aa
Link OAuth2 account to 2FA enabled account ( fix #1050 ) ( #1052 )
...
* fixes #1050 where linking an account to a 2fa enabled account failed because we forgot to really link the account when 2fa is completed
* handle errors
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
Bo-Yi Wu
95574a3640
fix: Admin can see all private repositories on Explore page. ( #1026 )
...
* fix: Admin can see all private repositories on Explore page.
* refactor: fix session
8 years ago
Ethan Koenig
831ff41754
Fix go vet faults ( #1060 )
8 years ago
Lunny Xiao
19b3c45ca7
fix 500 when use a duplicat email instead of giving an error tip ( #1040 )
8 years ago
Lunny Xiao
cd1821a7e2
Move push update to post-receive and protected branch check to pre-receive ( #1030 )
...
* move all push update to git hook post-receive and protected branch check to git hook pre-receive
* add SSH_ORIGINAL_COMMAND check back
* remove all unused codes
* fix the import
8 years ago
Lunny Xiao
e8e56da9ac
fix #13 ( #1042 )
8 years ago
Lunny Xiao
8894f856de
fix 500 when change user setting email to an exist email ( #1039 )
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
puffybsd
8de8e11487
Fixes 1019, install page SMTP user is required to ( #1020 )
...
to be an email address.
Signed-off-by: P.B. <puffybsd@yahoo.com>
8 years ago
Lunny Xiao
0e6b9ea786
Take back control of hooks ( #1006 )
...
* git: delegate all server-side Git hooks (#1623 )
* create hooks directories
* take control hooks back
* fix lint
* bug fixed and minor changes
* fix imports style
* fix migration scripts
8 years ago
Willem van Dreumel
01d957677f
Oauth2 consumer ( #679 )
...
* initial stuff for oauth2 login, fails on:
* login button on the signIn page to start the OAuth2 flow and a callback for each provider
Only GitHub is implemented for now
* show login button only when the OAuth2 consumer is configured (and activated)
* create macaron group for oauth2 urls
* prevent net/http in modules (other then oauth2)
* use a new data sessions oauth2 folder for storing the oauth2 session data
* add missing 2FA when this is enabled on the user
* add password option for OAuth2 user , for use with git over http and login to the GUI
* add tip for registering a GitHub OAuth application
* at startup of Gitea register all configured providers and also on adding/deleting of new providers
* custom handling of errors in oauth2 request init + show better tip
* add ExternalLoginUser model and migration script to add it to database
* link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed
* remove the linked external account from the user his settings
* if user is unknown we allow him to register a new account or link it to some existing account
* sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers)
* from gorilla/sessions docs:
"Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!"
(we're using gorilla/sessions for storing oauth2 sessions)
* use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
8 years ago
Denis Denisov
fd941db246
Protected branches system ( #339 )
...
* Protected branches system
* Moved default branch to branches section (`:org/:reponame/settings/branches`).
* Initial support Protected Branch.
- Admin does not restrict
- Owner not to limit
- To write permission restrictions
* reformat tmpl
* finished the UI and add/delete protected branch response
* remove unused comment
* indent all the template files and remove ru translations since we use crowdin
* fix the push bug
8 years ago
Lunny Xiao
847527fd6d
Fix all the bugs in issues and pulls on dashboard ( #943 )
...
* fix all the bugs in issues and pulls on dashboard
* small fix and refactor
* add method getRepoIDs for IssueList
8 years ago
Bo-Yi Wu
a31f64d639
fix: 500 error on /explore/repos page. ( #946 )
8 years ago
Bo-Yi Wu
9d2b830275
refactor: small optimize for sql query ( #940 )
...
* refactor: small optimize for sql query
* fix: get owner name if Searcher is not nil or user star page.
8 years ago
Lunny Xiao
9c645b54dc
bug fixed on issues and pulls
8 years ago
Lunny Xiao
7a9a5c8a69
Fix assigned issues dashboard ( #920 )
...
* Fix assigned/created issues in dashboard. (#3560 )
* Fix assigned/created issues in dashboard.
* Use GetUserIssueStats for getting all Dashboard stats.
* Use gofmt to format the file properly.
* Replace &Issue{} with new(Issue).
* Check if user has access to given repository.
* Remove unnecessary filtering of issues.
* Return 404 error if invalid repository is given.
* Use correct number of issues in paginater.
* fix issues on dashboard
8 years ago
Bo-Yi Wu
d67b278a0d
feat: Able to disable non-admin to create new organization ( #927 )
8 years ago
Bo-Yi Wu
23aba523b5
feat: support search bar on star tab of user profile. ( #917 )
...
* feat: support search bar on star tab of user profile.
* fix: update testing.
* fix: Using loadAttributes
* fix: remove empty line.
* remove LOWER
Signed-off-by: Bo-Yi Wu <appleboy.tw@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
5cc275b1de
feat: add git version on admin panel. ( #921 )
8 years ago
Andrey Nering
05157808de
Fix HighlightJS not working on compare diff page ( #914 )
8 years ago
Lunny Xiao
cf0f451c37
Add delete branch track on pull request comments ( #888 )
...
* add delete branch track on pull request comments
* don't change vendor
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
Bo-Yi Wu
a195c3fabe
fix: Admin can also search private user repository. ( #869 )
8 years ago
Lunny Xiao
45a324b437
fix releases count and resolved #764 ( #857 )
8 years ago
Bo-Yi Wu
b13232f524
feat: support paginater on star tab of user profile. ( #845 )
8 years ago
Bo-Yi Wu
71d35dae8c
fix: wrong pages number which includes private repository count. ( #844 )
8 years ago
Zsombor
e388db311b
Add checkbox to search for all the branches by commit message ( #813 )
...
and updating the vendor directory
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
Lunny Xiao
3e0525b47d
Track assignee for issue ( #808 )
...
* track assignee for issue
* fix lint
* use getUserByID instead Get
8 years ago
Ethan Koenig
68bdaf0a6b
Drop redundant columns from issue_user table ( #638 )
8 years ago
Ethan Koenig
400b6fd61c
Cache ctxUser in retrieveFeeds(..) ( #826 )
8 years ago
Gabriel Jackson
bf6f61cc69
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
Ethan Koenig
73d05a51e3
Remove unneeded database loads ( #814 )
...
Remove unnecessary calls to repo.GetOwner() in context handlers
8 years ago
Bo-Yi Wu
2db0ffe69e
fix: User can see the private activity on public activity history. ( #818 )
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
Ethan Koenig
2eb15f4a61
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
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
Thomas Boerger
78535fb08e
Allow custom public files ( #782 )
...
* Allow custom public files
* Gofmt code, lots of places not related to this pr
8 years ago
Andrey Nering
27d30f1a61
Notifying on open PR, and Close/Reopen/Merge issue or PR
8 years ago
Bwko
e08421017c
Add ability to fork your own repos ( #761 )
8 years ago
Ethan Koenig
d1b5498cc0
Use handlers for API authorization ( #723 )
8 years ago
Ethan Koenig
da1b6164fe
Fix FIXME and remove superfluous queries in models/org ( #749 )
8 years ago
Lunny Xiao
2a80e5a81e
bug fixed caused by #530 ( #755 )
8 years ago
Ethan Koenig
833f8b94c2
Search bar for issues/pulls ( #530 )
8 years ago
Lunny Xiao
f8c2903484
fixed bugs on Wiki and resolved #667 ( #674 )
8 years ago
Bwko
7e401b9e39
Fix crash caused by #647 ( #708 )
8 years ago
Philip Couling
1610b9f547
Spun attachments into seperate go file ( #701 )
...
Moved attachments into seperate go file
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
Andrey Nering
d2bb8ef503
Notifications: trying to get a better layout ( #660 )
...
* i18n button titles
* Improvements on notification page layout
* Notification count badge fixes
* Make table <tr> clickable
* Fix octicon aligment
* Fix use of AppSubUrl
8 years ago
Matthias Loibl
d1006150fb
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
6dd096b7f0
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
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
xgitea
64b167138f
docs: update translation on notification page for zh-CN ( #649 )
...
* docs: update translation on notification page for zh-CN
* use international resources
8 years ago
Andrey Nering
769e0a3ea6
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
Lunny Xiao
7209917fd7
bug fix release
8 years ago
derSuessmann
51d578ff33
Add Keep email private (see issue #571 ). ( #571 )
...
- 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.
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
61306fa737
Make releases faster than before and resolved #490 ( #588 )
...
* make releases faster than before and resolved #490
* fix comment
8 years ago
Andrey Nering
79d527195d
Merge pull request #539 from andreynering/notifications-step-2
...
Notifications - Step 2
8 years ago
Manuel Kuhlmann
dc3ff9f2ab
Rename .gogs to .gitea and comply with github template guidelines ( #568 ) ( #582 )
...
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
8 years ago
Andrey Nering
b354cf362e
Add pagination for notifications
8 years ago
Lunny Xiao
70900bd167
bug fixed for fork repos ( #560 )
8 years ago
Lunny Xiao
51021585a7
build failed by deleting release by API ( #562 )
8 years ago
Lunny Xiao
3c7116382f
change the default action when deleting a release to not delete tag
8 years ago
Andrey Nering
341a3b571b
Do not get count on /api routers
8 years ago
Ethan Koenig
0c301f7b5c
Release API endpoints
8 years ago
Thiago Avelino
787fda53ef
UI config to toggle whether user email shows up in Explore Users ( #336 )
...
* UI config to toggle whether user email shows up in Explore Users
* Recommendation made by @tboerger
66a1c59fe7 (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)
8 years ago
Schwobaland
c0904f1942
Restrict creating organisations by user ( #193 )
...
* 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
8 years ago
Ethan Koenig
b75450ad36
API endpoints for forks ( #509 )
8 years ago
Bo-Yi Wu
6510e57758
fix gofmt error
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Andrey Nering
6069abe5fd
Notifications - Step 2
8 years ago
Andrey Nering
42904cb98a
Notification - Step 1 ( #523 )
...
* Notification - Step 1
* Add copyright headers
* Cache issue and repository on notification model
8 years ago
Gogs
37eec6c9b7
push + pull now works with reverse proxy + basic auth on apache 2.4
8 years ago
Andrey Nering
b992858883
Tab on user profile to show starred repos ( #519 )
...
* 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
8 years ago
Lunny Xiao
2d1a1fce93
Cache users on list releases ( #527 )
8 years ago
Ethan Koenig
6f4ba6884c
Repo permission bug fixes ( #513 )
8 years ago
Kjell Kvinge
22e1bd31c6
commithgraph / timeline ( #428 )
...
* Add model and tests for graph
* Add route and router for graph
* Add assets for graph
* Add template for graph
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
Lunny Xiao
7802699f52
fix installation page ssh domain unavilable
8 years ago
Bwko
71dee6b7c0
Improve the way how branches are deleted
...
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
8 years ago
Ethan Koenig
2342df183b
API Endpoints for collaborators ( #375 )
8 years ago
Fabian Zaremba
2e7ccecfe6
Git LFS support v2 ( #122 )
...
* 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
8 years ago
Lunny Xiao
4b7594d9fa
Provide button to delete merged pull request ( #441 )
...
* provide button to delete merged pull request
* golint fix
8 years ago
Ethan Koenig
9847b38518
Organization webhook API endpoints
8 years ago
Bwko
fa3abc22c0
Added sorting to organizations, repos & users page ( #222 )
8 years ago
Bwko
a345a03d99
Added sorting to the labels & milestones page ( #199 )
8 years ago
Bwko
f27d87d93b
Added minimum password length to app.ini ( #223 )
8 years ago
Ethan Koenig
d0932ef147
Bug fixes for Issues filters ( #413 )
...
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
8 years ago
Ethan Koenig
8a4161c723
API Endpoint for watching ( #191 )
8 years ago
btrepp
25b5ffb6af
Enables mssql support ( #383 )
...
* Enables mssql support
Port of dlobs work in gogs.
Enables options in index.js
Enables MSSQL as a database option in go.
Sets ID to 0 on initial migration. Required for
MSSQL insert statements.
Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* Vendors in denisenkom/go-mssqldb
Includes golang.org/x/crypto/md4
as this is required by go-msssqldb
Signed-off-by: Beau Trepp <beautrepp@gmail.com>
8 years ago
Lunny Xiao
a12da66dfb
resolved #394 ( #396 )
8 years ago
Lunny Xiao
0e1392501d
Check if file is a symlink with web editor ( #3687 ) ( #445 )
...
* Check if file is a symlink with web editor (#3687 )
* editor checks for symlinks
* translate file_is_a_symlink message
* credit translation author
* fix error constant
8 years ago
Lunny Xiao
65b1875d2b
New settings option for a custom SSH host ( #3763 ) ( #446 )
...
* New settings option for a custom SSH host (#3763 )
* let default ssh listen addr empty
8 years ago
Lunny Xiao
47a7529d96
update code.gitea.io/git ( #450 )
8 years ago
Ethan Koenig
4c89a9c33c
Bug fixes and tests for modules/base ( #442 )
...
Also address other TODOs
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
Alexander Lunegov
d5d21b67d2
Fix string format verbs ( #3637 )
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
Nico Mandery
6ade13e86e
serve video files using the HTML5 video tag ( #418 )
...
* serve video files using the HTML5 video tag
* lint fix: add comment to IsVideoFile
8 years ago
Lunny Xiao
15c3d14d55
fixed vulnerabilities on deleting release ( #399 )
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
Thomas Boerger
83ed234472
Integrate templates into bindata optionally ( #314 )
...
Integrated optional bindata for the templates
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
Bwko
5ab85372da
Added rel="noopener" to target="_blank" hrefs ( #327 )
...
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
8 years ago
Lunny Xiao
590a79ff8a
Resolved #296 ( #324 )
...
* resolved #296
* Indentation fixed
8 years ago
Lunny Xiao
2343feadd4
resolved #310 : hide fork to self ( #323 )
8 years ago
Thomas Boerger
2932042a6d
Get rid of bin folder within makefile, enabled TiDB ( #319 )
...
* Get rid of the bin folder within the build process
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped latest make task, it is unused
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Added tidb tag to drone config
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped the cert build tag
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped useless minwinsvc build tag
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped the useless build tags from drone config
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
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
Bwko
a4ece1f223
Fixes typos
8 years ago
Andrey Nering
c664ffd1db
Merge pull request #270 from andreynering/gitea/http-headers-download
...
Fix HTTP headers for issue attachment download
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
Andrey Nering
d647d02c2f
Fix Chrome not liking commas
8 years ago
Andrey Nering
638dd24cec
Fix HTTP headers for issue attachment download
...
- Download filename was wrong for files other than images. Example: It was `download` instead of `file.pdf`
- PDF was downloading instead of showing on browser
8 years ago
Thomas Boerger
32f8a38f6c
Merge pull request #254 from lunny/lunny/golint_modules_context
...
Golint fixed for modules/context
8 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
8 years ago
Lunny Xiao
229ec927b9
Golint fixed for modules/template
8 years ago
Thomas Boerger
b6b616b336
Merge pull request #228 from Bwko/feature/short-hash-download
...
Added short-hash support to downloads
8 years ago
Bwko
ff0d1bd602
Added short-hash support to downloads
8 years ago
Lunny Xiao
6ed7f269f1
Move init functions from routers/install to routers/init ( #230 )
...
* move init functions from routers/install to routers/init
* copyright typo
8 years ago
Lunny Xiao
3917ed45de
golint fixed for routers ( #208 )
8 years ago
Lunny Xiao
cb1602840c
golint fixed for routers/repo/branch.go ( #206 )
8 years ago
Lunny Xiao
b2cce12980
golint fixed for routers/repo/wiki.go ( #203 )
8 years ago
Lunny Xiao
f0df8e8dfa
golint fixed for routers/repo/middlewares.go ( #204 )
8 years ago
Lunny Xiao
18dc4f1023
golint fixed for routers/repo/view.go ( #205 )
8 years ago
Lunny Xiao
659bc2814c
go lint fixed for routers/admin
8 years ago
Bwko
7b75d93f3d
Fix for anonymous users to switch views
8 years ago
Bwko
fc3ed8a1de
Fix panic when no user is signed in
...
See #188
8 years ago
Lunny Xiao
cf045b029c
golint fixed for parts of routers root, dev, user and org dirs ( #167 )
...
* golint fixed for parts of routers root, dev and org dirs
* add user/auth.go golint fixed
* rename unnecessary exported to unexported and user dir golint fixed
8 years ago
Ethan Koenig
0834e492c0
API endpoints for stars
8 years ago
Sandro Santilli
cd339263d9
Allow updating draft releases while keeping them as draft
...
Closes #162
8 years ago
Andrey Nering
739f07c98e
Remember diff view style ( #163 )
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
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
Matthias Loibl
31da225309
Check unhandled errors ( #128 )
8 years ago
Lunny Xiao
1b238fe4d5
Merge pull request #121 from joubertredrat/feature-last-login
...
Last Login for admin manage your users
8 years ago
Thibault Meyer
3a10a0c1ca
Ordering organizations and users by name
8 years ago
Joubert RedRat
f91cbf0fed
Support to last login feature
8 years ago
Matthias Loibl
45c4539c61
Merge pull request #17 from LefsFlarey/issue/3666
...
Fixed 404 caused by unexpected question mark
8 years ago
Flare
01c5233b53
Fixed 404 caused by unexpected question mark
...
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
8 years ago
Lunny Xiao
5667d4daae
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
...
Add Pagination to Releases-page (and de-duplicate pagination templates)
8 years ago
Sandro Santilli
864d1b1f9f
Fix type in unused constant name ( #111 )
...
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase
* Fix type in unused constant name
* Other MixCased fixes
* Complete MixerCasing of template constants
* Re uppercase LTS and LDAPS suffixes
* Uppercase JSON suffix in constant names
* Proper case LoginNoType
* Prefix unexported template path constants with "tpl"
8 years ago
Sandro Santilli
b7bf9dfd28
more
8 years ago
Sandro Santilli
aadd7dcdc3
And others
8 years ago
Sandro Santilli
05fd9d3f09
Security protocols
8 years ago
Sandro Santilli
7612b5ec40
More mixage
8 years ago
Sandro Santilli
64196d4036
More overlooks
8 years ago
Sandro Santilli
60c82a8780
More...
8 years ago
Sandro Santilli
f6a11e0de1
More MixedCase consts
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
0b62aeb495
More MixedCase consts
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
5d430c9e68
Merge pull request #108 from go-gitea/go-sdk
...
Replaced gogits go-gogs-client with go-sdk
8 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
Thomas Boerger
77f9c7e571
Fixed links to sdk docs
8 years ago
Sandro Santilli
b7263f31a5
Replace GOGS with GITEA in variable names
...
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.
Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...
Closes #87
8 years ago
Kim "BKC" Carlbäcker
86fb1a0cb1
Add Pagination to Releases-page
8 years ago
Rachid Zarouali
be5607e510
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
8 years ago
Odin Ugedal
5a6f7edde9
Use the rev-parsed sha1 commit id ( #98 )
...
Use the rev-parsed sha1 commit id in urls to repo files,
instead of the abbreviated version.
8 years ago
Odin Ugedal
530f6c1da4
Fix rendering of non-markdown readme files
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
Sandro Santilli
f36544f98d
Merge branch 'master' into feature/goimports
8 years ago
Andrey Nering
bd898a10f8
Refactor editorconfig middleware
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Andrey Nering
984fa8d83b
Fix 500 when repo has invalid .editorconfig
...
Creating a notice instead
8 years ago
Thomas Boerger
e05a5ca36c
Executed go fmt for all files
8 years ago
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
8 years ago
Andrey Nering
87b593f93e
Show issue/PR number on title
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
LefsFlare
2cb5ec5983
Prevented user enumeration of valid users through HTTP status codes of login ( #3639 ) ( #3654 )
9 years ago
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
9 years ago
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
9 years ago
Unknwon
6da55159a2
#3589 LoadRepoConfig after ORM is initialized
9 years ago
Daniel Oaks
b3d9ca4ccd
Add the ability to explore organizations ( #3573 )
...
* Add ability to explore organizations
* Use right icon for org explore links
9 years ago
Unknwon
dadd35b636
#3559 fix template error
9 years ago
Unknwon
152e715999
models/login_source: code improvement
9 years ago
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
9 years ago
无闻
cd9b926af7
Support Editorconfig on web editor ( #3512 )
9 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
9 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
9 years ago
Unknwon
643142acab
Web editor: support upload files
9 years ago
Unknwon
780cc2d110
router/repo: code refactoring
9 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
9 years ago
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
9 years ago
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
9 years ago
Unknwon
429c92c0ce
#3516 enforce line ending to be \n from web editor
9 years ago
Unknwon
ba27d71abe
Web editor: improve edit file
9 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
9 years ago
Unknwon
6e171c5225
Web editor: improve edit file tooltip
9 years ago
Unknwon
f0b5c3b90a
#3448 redirect if any after sign in
9 years ago
Unknwon
13a8823bd3
#3495 only start builtin SSH server after user finish installation
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
a00c932bbc
General code quality improvement
9 years ago
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
9 years ago
Unknwon
6cda35a75f
#3464 reproduce diff signs
9 years ago
Unknwon
2625193a48
models/repo_editor: improve code quality
9 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
9 years ago
Unknwon
4a46613916
markdown: fix treating pure number as SHA1
...
- Detect non-exist commit and return 404 not 500
9 years ago
Unknwon
61e27dedf7
#3466 fix response of pull request form validation error
9 years ago
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
9 years ago
Unknwon
8637e67e6f
Fix outdated edit can’t overwrite changes
9 years ago
Unknwon
4a19fd6441
Web editor: temporarily disable upload and quick fix for edit and new
...
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
9 years ago
Unknwon
54e0ada9d5
Web editor: improve delete file
9 years ago
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
9 years ago
Unknwon
15845cb287
Code clean up for new config options
9 years ago
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb495478225b02d613e647f99a1489634
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
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
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
9 years ago
Unknwon
2cb04db526
Fix #3391
9 years ago
Unknwon
a47aef5460
#2852 code cleanup
9 years ago
Unknwon
70fbcd2f27
models: rename EnableTidb to EnableTiDB
9 years ago
Thibault Meyer
53c573ed02
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
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
Andrew
0885784f13
Wiki mirroring implementation ( #3233 )
...
* Implement wiki mirroring, add Update mirrors operation to admin dashboard
* bindata.go update after merge
* Implement checking Git repo endpoint existence, support for BB included
* Remove admin dashboard operation
Fix bindata.go
* Apply gofmt to repo model file
* Try to remove bindata from PR
* Revert accepted wiki names change in favor of better system
* Remove unused imports
9 years ago
Unknwon
d625e41c6c
#3408 minor code fix
9 years ago
Thibault Meyer
6a81632e36
Fix typo CacheInternal -> CacheInterval ( #3432 )
9 years ago
Unknwon
b85927e488
#3091 show Git configs on admin panel
9 years ago
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
9 years ago
Unknwon
edd786446c
#3158 skip RUN_USER check on Windows
9 years ago
Unknwon
f70343660d
Little code refactoring
9 years ago
Rory McNamara
c8b45ecc27
Render the Code view on the server (minus syntax highlighting) ( #2942 )
...
* render code view server side
* remove debug print
* fix multiline selection bug
* change string concatenation to bytes.Buffer for efficiency
* Fix newlines added by previous for hljs
* fix selection highlighting
* make css changes in .less
9 years ago
lstahlman
2c82fc3edb
Fix for #3410 overall issues for organisations is limited to num_repos from the user ( #3412 )
9 years ago
Sandro Santilli
90dd0657b5
Add support for federated avatars ( #3320 )
...
* Add support for federated avatars
Fixes #3105
Removes avatar fetching duplication code
Adds an "Enable Federated Avatar" checkbox in user settings
(defaults to unchecked)
Moves avatar settings all in the same form, making
local and remote avatars mutually exclusive
Renames UploadAvatarForm to AvatarForm
as it's not anymore only for uploading
* Run gofmt on all modified files
* Move Avatar form in its own page
* Add go-libravatar dependency to vendor/ dir
Hopefully helps with accepting the contribution.
See also #3214
* Revert "Add go-libravatar dependency to vendor/ dir"
This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82.
* Make federated avatar setting a global configuration
Removes the per-user setting
* Move avatar handling back to base tool, disable federated avatar in offline mode
* Format, handle error
* Properly set fallback host
* Use unsupported github.com mirror for importing go-libravatar
* Remove comment showing life exists outside of github.com
... pity, but contribution would not be accepted otherwise
* Use Combo for Get and Post methods over /avatar
* FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR
* Fix persistance of federated avatar lookup checkbox at install time
* Federated Avatars -> Enable Federated Avatars
* Use len(string) == 0 instead of string == ""
* Move import line where it belong
See
https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md
Pity the import url is still the unofficial one, but oh well...
* Save a line (and waste much more expensive time)
* Remove redundant parens
* Remove an empty line
* Remove empty lines
* Reorder lines to make diff smaller
* Remove another newline
Unknwon review got me start a fight against newlines
* Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE
On re-reading the diff I figured what Unknwon meant here:
https://github.com/gogits/gogs/pull/3320/files#r73741106
* Remove newlines that weren't there before my intervention
9 years ago
Thibault Meyer
30fda0f1ae
Fix #3315 : Release dont use tag creation date ( #3374 )
...
* Fix #3315 : Release dont use tag creation date
* Simplify code and apply gofmt
* remove useless block (ctx.Repo.GitRepo.GetTag) on EditReleasePost
* apply gofmt on modified files
9 years ago
Unknwon
ab9c5fb5e7
#2593 allow render raw content
...
Use URL query parameter render=1 to render content in raw mode.
9 years ago
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
9 years ago
Unknwon
cf6d321991
Ignore repository with issue disabled or use external tracker in dashboard issues
9 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
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
Unknwon
10dc330640
#3345 dump content directly to HTTP ResponseWriter
9 years ago
Dennis Chen
dfab54d5a2
Diff patch ( #3345 )
...
* Add support for .diff and .patch
Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641
* models: git_diff: various fixes
* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
9 years ago
마누엘
fe60ca408b
routers/repo/release: Use correct branch reference ( #3330 )
...
When calculating the current behind commit count the calculation should
use the current release target to get the total commit count. Should the
release target not exist anymore the calculation will return zero for
the newest release on that target. Older releases on that target will then
use that calculated commit count as reference.
The only use case that is now somehow invalid is when the release target
was merged / deleted after a tag on that release target:
master 1 - - - - - - - 6
\ /
branch 2 - 3 - 4 - 5
When `4` is the last tag on branch `branch` and the branch `branch` is not
yet deleted the calculated numbers would be:
1 commits to branch since this release
Now if the branch `branch` gets deleted the calculation function will not
find the branch and use the commit count of the newest release (`4`) as
reference resulting in:
0 commit to branch since this release
This fixes #3326
9 years ago
Richard Mahn
0402c803c6
Added Full Name to CreateUser api call ( #3333 )
9 years ago
Unknwon
29ccf047d8
routers/repo/issue: remove redundant format string
9 years ago
Unknwon
899e799459
#1601 support delete issue comment
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
256cd6374a
#2790 fix not detect diff style in pull request file changes
9 years ago
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
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
c912494609
#3076 detect invalid tag name git error
9 years ago
lstahlman
25b3836418
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
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
c083d76567
#2937 able to prohibit user login
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
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
9 years ago
lstahlman
846bf2ca9f
Add timestamps to repository api response ( #3255 )
...
Additional properties: created_at, updated_at
9 years ago
Kim Carlbäcker
f4ab50501e
[Fix] Don't display way too large files #1513 ( #3253 )
...
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
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
Pablo Saavedra
98b152030d
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
...
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
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
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
9 years ago
Unknwon
e84ac64964
Do not show filename not have suffifx .md
9 years ago
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
9 years ago
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
9 years ago
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
9 years ago
Sandro Santilli
2ce60ff314
Include repository owner name and description in html title ( #3194 )
...
Closes #3192
9 years ago
Unknwon
c041273dd3
repo/http: clean code
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
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
9 years ago
Thomas Boerger
dfad51fe9e
Made the issue stats query more secure with parameterized placeholders ( #2895 )
9 years ago
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago
Tamás Molnár
39356f4238
Set utf-8 charset for text files when serving raw content ( #2898 )
9 years ago
Unknwon
d27ca649c7
api/admin: add/remove organization team repository
9 years ago
Unknwon
762ab056a2
Fix XORM IN condition table name parse
9 years ago
Unknwon
dd36c431ec
#2842 add quotes to attachment file name
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
60ae8ac3d2
Add route for #2846
9 years ago
Unknwon
149d62a648
#13 fix admin can't search private repos
...
- update glide info
9 years ago
Unknwon
8966f5635d
Merge pull request #2823 from zacheryph/feature/local-only-password-reset
...
Prevent `Forgot Password` for non local users
9 years ago
Zachery Hostens
63e21c146a
ensure we don’t try changing LDAP passswords
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
b4f47a7623
#1891 attempt to fix invalid csrf token
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
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Alec S
792c13cf0a
readd 'dashboard' to title
9 years ago
Alec S
af847ef94e
Merge branch 'develop' of github.com:gogits/gogs into develop
9 years ago
Alec S
bfed3ea7d3
fix indentation
9 years ago
Alec S
affa3c2dbf
Remove dashboard keyword from title
9 years ago
Alec S
6775ac7334
change page titles for user and org dashes
9 years ago
Jan Christophersen
72a8fa3bc8
Allowing site admins to view private repositories in org/home
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
9cf7f3e46f
Remove duplicated of code
9 years ago
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
9 years ago
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
9 years ago
Unknwon
4cb8bf1b75
#1597 fix premission logic check of pull request
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Unknwon
9df6ce48c5
Minor fixes for #2746
9 years ago
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
9 years ago
Unknwon
260723e2cc
Minor fixes for #2745
9 years ago
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
9 years ago
Unknwon
f946040fa9
#1891 attempt to fix expected invalid CSRF token
...
- Remove unused config settings `[picture] service`
9 years ago
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
7a91d7e776
Merge pull request #2694 from mhartkorn/pullrefs
...
Improved Pull Request refs
9 years ago
Unknwon
129638117f
#2697 fix panic when close issue via commit message
9 years ago
Unknwon
4438b7793b
Add new config option for builtin SSH server
...
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
9 years ago
Unknwon
baaf6046a1
Minor fix for #2660
9 years ago
Josh Frye
c27038e392
Test mailer button. Addresses #1531
9 years ago
Martin Hartkorn
51f15880d1
Call PushToBaseRepo() also on Pull Request creation and not only on git push
9 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
Unknwon
d8a994ef24
Move cron module to independent package
...
Make it easier to keep track of upstream changes and bug fixes
9 years ago
Unknwon
7140dbac95
Fix #857
9 years ago
Unknwon
7e0baf4136
Merge pull request #2634 from nanoant/patch/ldap-attributes-in-bind
...
LDAP: Fetch attributes in Bind DN context
9 years ago
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
9 years ago
Adam Strzelecki
834d92a47b
LDAP: Fetch attributes in Bind DN context option
...
This is feature is workaround for #2628 (JumpCloud) and some other services
that allow LDAP search only under BindDN user account, but not allow any LDAP
search query in logged user DN context.
Such approach is an alternative to minimal permissions security pattern for
BindDN user.
9 years ago
Unknwon
aa12135b97
Fix panic when view profile without signin
...
Also fix that no matter who, still able to see organizations with private membership.
9 years ago
Unknwon
2408df3f35
Merge pull request #2663 from Download-Fritz/MirrorForks
...
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Download-Fritz
a1b28fc33c
Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
9 years ago
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Andrey Nering
658bfc2704
Implement issue and pull request templates.
...
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
9 years ago
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
9 years ago
Unknwon
d5ca913b2f
#2639 add branch prefix for test webhook
9 years ago
Unknwon
2765b5c7cf
#2630 fix wrong user avatar link in webhook
...
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
9 years ago
Unknwon
632c27802c
Minor fix for #2624
9 years ago
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
9 years ago
Martin Hartkorn
bb595666ac
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
9 years ago
Unknwon
d8631b616e
Merge pull request #2578 from exmex/develop
...
Admins and user itself sees private org relations on profile
9 years ago
Unknwon
a1d97e8f5c
Minor fix for #2567
9 years ago
Unknwon
daa43cfb6e
Merge pull request #2567 from fnkr/hide-other-teams-activity-from-dashboard
...
Only show activities and repositories on the dashboard, that the user has access to
9 years ago
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
9 years ago
Martin Hartkorn
15394f613f
Add missing safety check
9 years ago
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
9 years ago
Josh Frye
d3ca5accfd
Remove redundant nil check.
9 years ago
Josh Frye
ec478b4b06
Set default log path if empty during install
9 years ago
Josh Frye
a3e8c32a30
Add install option for log path
9 years ago
Unknwon
0ad5f51059
Merge pull request #2599 from mhartkorn/fix-release-error-deleted-user
...
Fix for server error on release page when a user deleted their account
9 years ago
Martin Hartkorn
6b3e47b103
Removed HTTP 500 error on the release page when a user deleted their account
9 years ago
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
9 years ago
ExMex
2cfe6f8c60
Admins and user itself sees private org relations on profile
9 years ago
Florian Kaiser
45db167f7a
Only show activities for repositories on dashboard, that the user has access to
9 years ago
Tobias Kunicke
bc0eee48d5
parse milestone.deadline as local time
9 years ago
Unknwon
4e96a4a62b
Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
...
Feature/markdown custom url scheme
9 years ago
Florian Kaiser
90e9e3c89d
Only show repositories on organization dashboard, that the user has access to
9 years ago
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
9 years ago
Unknwon
739d5aa1d3
Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
...
Hide other teams & repos from organization page
9 years ago
Unknwon
04be8c0de5
#2554 reinitialize all repos from the db
...
- Update locales
9 years ago
Florian Kaiser
c3ff476ed6
Remove unnecessary else-block
9 years ago
Unknwon
995487e822
Minor fix for #2506
9 years ago
Unknwon
5e97693e0e
Merge pull request #2506 from sapk/add-branche-api-support
...
Implement API for branches listing
9 years ago
Florian Kaiser
0e4ae27caa
Use pretty 404 pages in repo.HTTPBackend
9 years ago
Unknwon
1c74612b3c
Minor fix for #2444
9 years ago
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
9 years ago
Florian Kaiser
3e0a27157c
Make highlighted markdown code blocks work on issue pages
9 years ago
Florian Kaiser
bead46363b
Evaulate org/team permissions when using the issue/PR view
9 years ago
Florian Kaiser
fdad234445
Remove unnecessary comments
9 years ago
Florian Kaiser
bba1847a8e
Everyone can see public repos
9 years ago
Unknwon
a9d68a6884
fix #2529
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Florian Kaiser
5eafe2b17e
Only show repositories the user has access to, on the organization home
9 years ago
Florian Kaiser
295de51b99
Show all orgs on user profile, except the private one's
9 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
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
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
9 years ago
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
9 years ago
Kim "BKC" Carlbäcker
85335c5f56
Go-ism :D
9 years ago
Kim "BKC" Carlbäcker
b31c7fe074
Fixed Poster/Commenter-bug and clean-up
9 years ago
Kim "BKC" Carlbäcker
2665728ee7
Fix OP not 'participating' until commented
9 years ago
Kim Carlbäcker
f65dedc3be
Optimize participant-fetching
9 years ago
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
9 years ago
Andrey Nering
ee5d6fb025
Compute inline diff for pull request view, too. Fix #2462
9 years ago
Kim "BKC" Carlbäcker
a3eab8185d
Admins are allowed to create repos for arbitrary Orgs
9 years ago
Unknwon
f75b5f4287
Merge pull request #2383 from exmex/develop
...
Added organization display on profile
9 years ago
Unknwon
a72f57374d
Merge pull request #2403 from ddelpero/master
...
Update repo.go
9 years ago
ExMex
f610bfa8a2
Added organization display on profile
...
Fixed "Follower" Icon too big
9 years ago
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
9 years ago
Unknwon
4331d1d2a0
require token for list my orgs
9 years ago
Unknwon
62edc5c59a
fix cannot show user public ssh keys
9 years ago
Unknwon
03427fb005
fix #2360
9 years ago
ddelpero
7655337a1f
Update repo.go
...
Release download file name doesn't include tag number #2339
Download: Changed to use refName instead of commit.ID for downloaded file name
9 years ago
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
9 years ago
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
9 years ago
zhuharev
0d5dc8a064
typo fix
9 years ago
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
9 years ago
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
9 years ago
Unknwon
a62290de52
#2311 improve HTTP auth error message
9 years ago
Unknwon
8d58e06ad8
more fix on #2268
9 years ago
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
9 years ago
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
9 years ago
novaeye
227dcc3cb9
fix #2268
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
9 years ago
Unknwon
5ff6eedf5e
#2251 fix button name
9 years ago
Unknwon
037a01c4e4
fix #2189
9 years ago
Unknwon
1c9dd11ba7
#1692 API: admin create repo
9 years ago
Unknwon
1e7e092992
#2103 Ability to map extensions for syntax highlighting in config
9 years ago
Unknwon
33a99d587a
fix #2223
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
9 years ago
Unknwon
b117befc2b
#1692 add user email APIs
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
3362b3a44f
fix possible disclosure
9 years ago
Unknwon
7509fa2c33
improve get commits performance
9 years ago
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
9 years ago
Unknwon
0cce4439ce
#2154 minor fix
9 years ago
Unknwon
59c965a5ec
#2156 admin able to edit organization max repo creation
9 years ago
Unknwon
477b4d3b50
#2154 fix form submit error
9 years ago
Unknwon
d0b0d24f22
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
9 years ago
Unknwon
40f3142264
#2114 External URL for wiki
9 years ago
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local users
9 years ago
Unknwon
2a0bb1fa90
#1575 Limit repo creation
9 years ago
Unknwon
c6083c335e
#1612 Ability to send mail when a new pull request is submitted
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
9 years ago
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
2528c482e9
#1627 auto login after install if admin is configured
9 years ago
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
9 years ago
Unknwon
89244b74c6
remember page number when delete repo
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
404867f206
fix #2105 and fix #1857
9 years ago
Unknwon
f41360d864
#2052 advanced select ops for system notices
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
4d9499c2d3
fix broken link
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Unknwon
ec2423ad7c
more UI minor fixes
9 years ago
Unknwon
0be8b1b1a1
#2052 Ability to batch delete system notices
9 years ago
Adam Strzelecki
573305f3d3
LDAP: Optional user name attribute specification
...
Consider following LDAP search query example:
(&(objectClass=Person)(|(uid=%s)(mail=%s)))
Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.
Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
9 years ago
Unknwon
117afe7620
Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
...
Admin should be able to see all organizations
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
Adam Strzelecki
e57b2dffa4
Admin should be able to see all organizations
...
This is follow-up for 56c66ee486
allowing admin
to see private repositories, even when not being member of them.
9 years ago
Unknwon
5d1f5f32d0
wiki: finish pages
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
392f3ee210
wiki: finish new
9 years ago
Unknwon
c50a3503e6
introduce git-shell
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
968edb3e44
more link fix
9 years ago
Unknwon
3ca544912f
#1944 Drop /org/ URL path prefix in organization home page
9 years ago
Unknwon
7f9598141b
fix #2020
9 years ago
Unknwon
0128036514
#1681 some fixes for builtin SSH server on Windows
9 years ago
Unknwon
b2fb7e3fd2
more HTTP clone word fix
9 years ago
Unknwon
52c8f69163
fix #650
9 years ago
Unknwon
b80e848d02
upgrade libs
9 years ago
Unknwon
987dcc5372
fix #1383
9 years ago
Unknwon
3d14e73fd8
fix #1119 and data race in timming tasks
9 years ago
Unknwon
6a66e5fc98
better error message
9 years ago
Unknwon
c0b0ce7b1a
#1971 more general rule to detect error
9 years ago
Unknwon
dc0c0dc06b
fix typo for #1996
9 years ago
Unknwon
9330c943cd
work on #1891
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
2c653141a8
#1742 Update default branch in git repository while change in web view
9 years ago
Unknwon
efea642d6c
add admin op: delete missing repos
9 years ago
Unknwon
81d7359fdd
fix #1981
9 years ago
Unknwon
9a0902523b
fix #1987
9 years ago
Unknwon
ff5f14431e
fix #1448
9 years ago
Unknwon
ab9411be2a
clean up code
9 years ago
Unknwon
9ab96172fc
new watchers, stars and forks UI
9 years ago
Unknwon
917d334ebd
only show user's activities in profile
9 years ago
Unknwon
d370effca5
minor fix for #1961
9 years ago
Unknwon
29ed7872f8
repo sidebar active class
9 years ago
Unknwon
134d8e7681
work on #1961
9 years ago
Unknwon
18de67380c
fix #1958
9 years ago
Unknwon
84a43b38cf
remove unused code
9 years ago
Unknwon
7c80eba77f
minor UI fix and fix ssh race
9 years ago
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
9 years ago
Unknwon
f8ae161c74
fix #1302
9 years ago
Unknwon
1d57f0d64f
Show custom avatars in commits
9 years ago
Unknwon
1559bd58e7
save custom avatar as PNG
9 years ago
Unknwon
10427b2178
fix #1930
9 years ago
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
9 years ago
Unknwon
0d4498429c
work on #1904
9 years ago
Unknwon
18c841050b
fix 1540 and experimental SSH server support
9 years ago
Unknwon
b55499d039
go vet and fix #1890
9 years ago
Unknwon
e7aabf70dc
#1905 Triming the issue title
9 years ago
Unknwon
603c7389b8
#1459 Dashboard issues lacks sorting
9 years ago
Unknwon
00eb2b221f
fix #1876
9 years ago
Unknwon
3a81fdf092
rename fields
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
Unknwon
fad31ca302
work on #1748
9 years ago
Unknwon
102b675f96
remove test code 😵
9 years ago
Unknwon
7d72c8333e
work on #470 and fix miror JS issue when choose targets on compare and pull
9 years ago
Unknwon
706b0f72e2
fix issue comment mention and autofix count when start
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
10 years ago
Unknwon
c3ba5590c9
Reopen PR need retest patch
10 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
10 years ago
Unknwon
e0aab4a7f6
#1830 new comment with status change overwrites issue content
10 years ago
Unknwon
c6ce6bd4c2
work on #1830
10 years ago
Unknwon
35a65736fa
add get repo API
10 years ago
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
10 years ago
Unknwon
4dc6285715
add new status: checking
10 years ago
Unknwon
932dbccb67
fix import path, fix #1782
10 years ago
Unknwon
aff49b1c9e
unified API error response
10 years ago
无闻
b1941f1da1
Merge pull request #1736 from soudy/develop
...
Added repository remove option to API
10 years ago
Unknwon
215920772a
save PR info as patch and minor fix on PR
10 years ago
Steven Oud
6fe868a4d5
added repository remove option to api
10 years ago
kendaru
5c39d3fa7d
changed integrated page number to GET
10 years ago
Steven
c8aa9c6cb1
implemented #1721 : see users who forked/starred/watched a repository
10 years ago
Unknwon
21e13cb51e
#1525 Triggere mailer for admin created accounts
10 years ago
Unknwon
986447335d
#1693 minor fix
10 years ago
无闻
84c727ae66
Merge pull request #1693 from sapk/fix-admin-repo-new-ui
...
Fix admin repos new ui
10 years ago
无闻
ee1256cf74
Merge pull request #1691 from sapk/fix-admin-organization-new-ui
...
Fix admin organization new ui
10 years ago
Antoine GIRARD
dfc16d0879
Fix admin repos new ui
10 years ago
Antoine GIRARD
a8fd615adc
Fix indent in notice router
10 years ago
Antoine GIRARD
c98dad1cf3
New admin organization UI
10 years ago
Unknwon
0d5e57e4ae
#1689 minor fixes and update locale
10 years ago
Antoine GIRARD
3544dafb64
Fix indent
10 years ago
Antoine GIRARD
14a1101139
New admin notice UI based on user list example
10 years ago
Unknwon
d9c5b3bcee
#1659 fix change label title resets color
10 years ago
Unknwon
acf428863c
fix #981
10 years ago
Unknwon
3fb1b6a608
drop oauth2 feature support
10 years ago
Unknwon
562e47f31c
finish all new template for current ones
10 years ago
Unknwon
9d36fc6986
finish new auth e-mails
10 years ago
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
10 years ago
Unknwon
e75fd2f783
simplify names
10 years ago
Unknwon
2729eb998c
#1646 and other minor fixes
10 years ago
Unknwon
f5c7f22cc8
#1637 able to skip verify for LDAP
10 years ago
Unknwon
2d1bb0cf49
#1633 admin delete user
10 years ago
Unknwon
5f1183cecf
#697 add install option
10 years ago
Unknwon
b0bf4cc1cb
fix #1632 and #1606
10 years ago
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
10 years ago
Unknwon
e5ed5904c6
#1606 GUI bug while adding ldap user
10 years ago
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
10 years ago
Unknwon
cd37fccdfb
#1625 remove auto_register and makes it default
10 years ago
Unknwon
aff773f1b9
add tidb support
10 years ago
Unknwon
10de16beb0
typo and README
10 years ago
Unknwon
ed5a61153f
fix #1629
10 years ago
Unknwon
47df562ced
#1626 default db_type
10 years ago
Unknwon
be89802bd8
new admin user list UI
10 years ago
Unknwon
362d64df04
#1620 add allowed domains for SMTP auth
10 years ago
Unknwon
121a81a2c5
finish new edit auth UI
10 years ago
Unknwon
0617448282
finish new add auth UI
10 years ago
Unknwon
fa728d8dff
more minor fix on 1581
10 years ago
Unknwon
cbd6276200
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
10 years ago
Unknwon
52ec80fa18
finish all new user settings UI
10 years ago
Sergio Benitez
964d0262ff
Merged conflicts.
10 years ago
Unknwon
6f6f38e7c3
#1603 suburl for comment attachments
10 years ago
Unknwon
49e120a67c
#1602 change status after comment issue
10 years ago
Unknwon
cc83043edc
minor fix on template
10 years ago
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
10 years ago
Unknwon
c38754d432
#1191 allow upload avatar for org
...
Signed-off-by: Unknwon <u@gogs.io>
10 years ago
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
10 years ago
Unknwon
00767a0522
finish new org settings page
10 years ago
Unknwon
edc99bc8a4
new org options UI
10 years ago
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
10 years ago
Unknwon
aa67de910a
fix #1558
10 years ago
Unknwon
119dec51f2
Mirror repository should not allow fork
10 years ago
Sergio Benitez
aa9c36514f
Merged conflicts.
10 years ago
Sergio Benitez
2d1db4bf05
Added LDAP simple auth support.
10 years ago
Unknwon
d023e81a8f
#1577 explore paginator problem
10 years ago
Unknwon
7ec991326d
fix migrate api
10 years ago
Unknwon
e5b105e513
fix migrate API
10 years ago
Unknwon
2a2a8cd619
ui and pulls index fix
10 years ago
Unknwon
83dc2468f5
finish initial version of pull request
10 years ago
Unknwon
5da306c0e5
tmp: fix issue open count
10 years ago
Unknwon
d951824ff9
able to download archive by API
10 years ago
Unknwon
953bb06857
basic PR feature
10 years ago
Unknwon
1abfe4e05f
PR: nothing to commit and has pull request check
10 years ago
Unknwon
37e0cee877
finish PR UI
10 years ago
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
10 years ago
Unknwon
ebf1bd4f51
add view pull desc
10 years ago
Unknwon
8c046073a8
work on PR conversation
10 years ago
Unknwon
670ade9a61
#1206 does not allow fork bare repo
10 years ago
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
10 years ago
Unknwon
8af094967f
#1377 add rename repo action
10 years ago
Unknwon
7714e792a4
minor fixes on #1551
10 years ago
Unknwon
1ca257ad9f
rename fields
10 years ago
Unknwon
cb381078ff
finish new repo options page
10 years ago
Unknwon
d01f688257
fix repository count of user is messed up
10 years ago
Unknwon
302938e646
#1333 Disable Gravatar option when install
10 years ago
Unknwon
8d73832bdf
fix sql
10 years ago
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
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
a00194e665
work on #1548
10 years ago
Unknwon
f2de4d5c04
new create repo options
10 years ago
Unknwon
c75cd33f2f
#965 Remember visibility preference
10 years ago
Unknwon
bb3b90fcd6
#1487 Readme Template
10 years ago
Unknwon
46bee50e45
complate list of gitignores and licenses
10 years ago
Unknwon
ff35a37769
#1458 : Authorities were messed up when using mysql database
10 years ago
Unknwon
70e0153b93
add highlight js
10 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
10 years ago
Unknwon
c08600c59b
new edit webhook UI
10 years ago
Unknwon
4217c2333c
new create webhook UI
10 years ago
Unknwon
2881456421
new webhooks list UI
10 years ago
Unknwon
1cb03135b7
new repo git hooks UI
10 years ago
Unknwon
a329bbc215
new org dashboard issues
10 years ago
Unknwon
f808df5a7b
new user dahsboard issues
10 years ago
Unknwon
4275b3720a
finsih diff and compare
10 years ago
Unknwon
aa65761d81
new commits table
10 years ago
Unknwon
062adbed8a
add confirmation to delete ssh key
10 years ago
Unknwon
371572cf5f
allow edit issue and comment
10 years ago
Unknwon
87f5ca8e1f
able edit issue title
10 years ago
Unknwon
bd1d7d1509
Able to set SSH port when install, update Docker docs
10 years ago
Unknwon
1453e91f41
minor fix on API response
10 years ago
无闻
2b393f5b03
Merge pull request #1507 from cloudron-io/develop
...
Set IsAdmin using LDAP
10 years ago
无闻
a5e1ada474
Merge pull request #1414 from nice-software/wip/currentUser
...
Factor out function to get the current user
10 years ago
Girish Ramakrishnan
24d7a86a8d
Set IsAdmin using LDAP
...
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.
In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
10 years ago
Unknwon
03b85b73af
token recent activity
10 years ago
Unknwon
54b52de6ee
minor fix on API response
10 years ago
Unknwon
47ac579f09
only assign auto-admin when sign up by web
10 years ago
Unknwon
4c7b6414eb
new access token UI
10 years ago
Unknwon
2493454587
new delete account UI and password confirmation
10 years ago
Unknwon
b1696665bd
make cron task configurable
10 years ago
Unknwon
d17f102339
try to fix HTTP ops not GC
10 years ago
Unknwon
407385db7e
work on #1493
10 years ago
Unknwon
55ccb00a47
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
10 years ago
Unknwon
c8bb475abb
fix autocomplete on migration
10 years ago
Paolo Borelli
0d38794c7f
Factor out function to get the current user
...
The same logic was duplicated in three places. Factor it
out so that we can add further fallbacks in a single place.
10 years ago
Unknwon
e633425f27
#1180 and #1250 : migration
10 years ago
Unknwon
a52324a5f9
able sort issues
10 years ago
Unknwon
4ce003dc15
Filter issues by assignee
10 years ago
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
10 years ago
Unknwon
13a74c3a0c
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
10 years ago
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
10 years ago
无闻
8be0bb177b
Merge pull request #1485 from donbowman/mime-type
...
43bfee0d48
reverted my change
10 years ago
Don Bowman
4137426c88
43bfee0d48
reverted my change
...
423b1c69be
, which in turn
causes all content to be served as text/plain. Let go decide
what the mime type is (e.g. text/html instead of text/plain).
10 years ago
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
10 years ago
Unknwon
1fb53067f4
finish close/reopen issue
10 years ago
Unknwon
133b19d0c5
finish view comments on issue page
10 years ago
Sergio Benitez
7d84d4a8f0
Significantly enhanced LDAP support in Gogs.
10 years ago
Unknwon
ab2d0b3b44
add comment form UI
10 years ago
Unknwon
b4c0b7b98b
finish view issue without comments and ops
10 years ago
Unknwon
e67659bf8e
fix serve attachment content type
10 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
10 years ago
Unknwon
89c2bd4a0d
finish create issue attachment UI
10 years ago
Unknwon
17f3e840ec
fix cannot parse JSON for attachments
10 years ago
Unknwon
cbc7b7132f
finish new issue action and mentions
10 years ago
Unknwon
884bc4ffd8
rename functions
10 years ago
Unknwon
75aff60c90
finish create issue with milestone and assignee
10 years ago
Unknwon
09a1b2a1f5
finish create issue with milestone
10 years ago
Unknwon
922f3f3062
finish create issue with labels
10 years ago
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
10 years ago
Unknwon
590c464c56
UI: create issue with title and content
10 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Unknwon
e3bdfd51ff
better fork permission check
10 years ago
Unknwon
9db4acc62e
improve fork process
10 years ago
Unknwon
3d0583df0f
fix private repo cannot trigger hook by SSH
10 years ago
Unknwon
9d414d4dd9
remove Index field of milestone
10 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
10 years ago
Unknwon
34795770c3
fix issue stats with milestone filter
10 years ago
Unknwon
77dcef0cab
fix milestone format parse
10 years ago
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
10 years ago
Unknwon
0705f55ce0
finish new milestone page
10 years ago
Unknwon
74bd6b939c
milestone: edit
10 years ago
Unknwon
3e4cdccf6b
milestone: create page
10 years ago
Unknwon
ce4dcf1e83
fix naming
10 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
10 years ago
Unknwon
9311a9858a
milestone: pagination
10 years ago
Unknwon
04458d49a0
milestone: list view
10 years ago
Unknwon
cbb78b6a63
better wording
10 years ago
Unknwon
009d692c7d
fix install default db option
10 years ago
Unknwon
eea9302d8f
fix #1204
10 years ago
无闻
eedac73229
Merge pull request #1404 from wqweto/develop
...
Allow space and/or percent in file and directory names
10 years ago
Unknwon
869113704b
fix #1407
10 years ago
Vladimir Vissoultchev
2cc050e21e
Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
10 years ago
Vladimir Vissoultchev
43bfee0d48
Raw text file view returns correct charset in content-type header if not utf-8
10 years ago
Unknwon
589618c8a5
better paging
10 years ago
Unknwon
fa298a2c30
#835 : Realtime webhooks
10 years ago
Unknwon
68cacf9c63
fix issue paging
10 years ago
Unknwon
1ba837a055
new issue and label page
10 years ago
Unknwon
54b58e988d
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
10 years ago
Unknwon
70d44e9565
Merge branch 'master' of github.com:gogits/gogs into develop
10 years ago
无闻
333ab1b2b4
Merge pull request #1317 from smcquay/keys
...
fix .keys route
10 years ago
无闻
3dcc0a4b5f
Merge pull request #1249 from donbowman/master
...
in routers/repo/download.go, don't set mime type, let go figure it out.
10 years ago
无闻
91ab2538c3
Merge pull request #1244 from jamesa/develop
...
Add full name field to admin's user edit page (fixes #1130 )
10 years ago
Unknwon
dc4aab9925
UI: CURD labels
...
- fix update lable break connection with repository
10 years ago
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
10 years ago
Unknwon
86dbda0b42
UI: basci issue list without filters
...
- fix isRead check
- fix paging
10 years ago
Unknwon
4447a20f87
UI: issues - finish basic frame
10 years ago
Unknwon
42a72b62fc
fix about #1289
10 years ago
Unknwon
bebbd08920
Disable log color in prod mode
10 years ago
Unknwon
4cbbaefd82
#1127 : hide user e-mail when API caller isn't signed in
10 years ago
Unknwon
ced212f8fa
fix hidden bug on tpl rendering
10 years ago
Unknwon
35be8741c4
fix #1112
10 years ago
Unknwon
a2a9e151f8
install - add mail from setting
10 years ago
Unknwon
b9dc2147b4
UI: install - done
10 years ago
Unknwon
5cf3732339
UI: install - new version
10 years ago
stephen mcquay
73698d292a
fix .keys route
...
This change fixes the output from /{{ username }}.keys so that it can work in
a ~/.ssh/authorized_keys file
10 years ago
James
f3aab5dbe3
Add full name field to admin's user edit page ( fixes #1130 )
10 years ago
Lunny Xiao
f92bdf875b
Merge pull request #1226 from nice-software/wip/pam
...
Add PAM authentication
10 years ago
Paolo Borelli
182003aa41
Add PAM authentication
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
Don Bowman
423b1c69be
don't set mime type to text/plain. This will break serving e.g. raw images,
...
html, etc
According to http://golang.org/pkg/net/http/#DetectContentType
"If the Header does not contain a Content-Type line, Write adds
a Content-Type set to the result of passing the initial 512 bytes
of written data to DetectContentType."
10 years ago
Linquize
f26f8d5afa
Set Content-Type to text/plain for http status 401
...
This is because git command line shows the failure reason only if Content-Type is text/plain.
10 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
5169a0e025
mirror fix of #1105
10 years ago
无闻
f7219b0cf0
Merge pull request #1105 from linquize/migrate-git
...
Allow to migrate through git:// protocol
10 years ago
Unknwon
5f594d8774
#1140 MySQL root password exposure
10 years ago
Unknwon
211596f407
#1124 LDAP add and edit form are misleading
10 years ago
Linquize
3a977fc0ae
Allow to migrate through git:// protocol
10 years ago
无闻
e312634286
Merge pull request #1091 from sapk/fix-ng-issue-pages
...
Apply ng to issue dashboard
10 years ago
Unknwon
1cb57b1a44
#1094 : fix locale
10 years ago
Antoine GIRARD
96a71aaed8
Apply ng to issue dashboard
10 years ago
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
10 years ago
Unknwon
33894591a6
#851 : Edit Account does not take into consideration password rules
10 years ago
Unknwon
fc6db829b2
fix read access team visibility of private repo
10 years ago
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
10 years ago
Unknwon
4aafeace23
fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls`
10 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
10 years ago
Filippo Valsorda
5d5d774e03
Handle submodules without a .gitmodules entry - fix #1023
10 years ago
Unknwon
18c0697329
routers/repo/setting.go: fix LDAP cannot validate password #1006
10 years ago
Unknwon
b0b11fd7b1
Merge branch 'access' of github.com:gogits/gogs into dev
10 years ago
无闻
3a6ba39a61
Merge pull request #992 from theangryangel/fix/ldap-auth
...
Attempt 3 to fix LDAP login issues when git pushing after password change
10 years ago
Gogs
fab038b175
Attempt #3 of ldap fixes
10 years ago
Unknwon
e3dece1371
modules/setting: simple behave change in startup
10 years ago
Unknwon
8896c82d34
models: fix issue with transfer repository
...
README: fix typo
10 years ago
Raphael Randschau
1f61340fa3
Properly calculate the number of open issues per label
10 years ago
无闻
f92bfabf86
Merge pull request #960 from phsmit/access_action
...
Fix that owners also see actions on their repositories
10 years ago
无闻
cd8b43d984
Merge pull request #915 from Lafriks/dev
...
Get username, name, surname and e-mail from LDAP server
10 years ago
Unknwon
ee68a826a5
v4 migration, merge 'dev', clean code and mirror fix
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
04164eada3
models: able to rename user with diff letter cases #981
...
- templates/org: mirror fix on name output
- routers: add missing error check
10 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
10 years ago
Unknwon
1654e9ecab
templates/user/settings/emial.tmpl: little fix on UI
...
- routers/user: little code format
- conf/locale: update French locale
10 years ago
无闻
fc4dff1b17
Merge pull request #959 from phsmit/access_update
...
Updating context and fixing permission issues
10 years ago
Peter Smit
0fa209d07b
Update/simplify fix that owners also see actions on their repositories
10 years ago
Peter Smit
e6fc58a744
Remove GoGet option from repository and handle it with ?go-get=1 instead
...
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
10 years ago
Peter Smit
455fad0fbd
Fix that owners also see actions on their repositories
...
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.
It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
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
f9454cc32c
Make sure that a mirror can't be written to by http or ssh
10 years ago
Unknwon
a38e4a0b02
routers/install.go: able to keep previous custom settings for 2nd time install
...
- .gopmfile: update all commits
10 years ago
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
10 years ago
Peter Smit
6c1ee384f1
Merge remote-tracking branch 'mine/access_refactor' into access_refactor
...
Conflicts:
cmd/serve.go
models/access.go
models/migrations/migrations.go
models/org.go
models/repo.go
models/user.go
modules/middleware/org.go
modules/middleware/repo.go
routers/api/v1/repo.go
routers/org/teams.go
routers/repo/http.go
routers/user/home.go
10 years ago
Peter Smit
0a4cda0dd4
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
Unknwon
c5c467a9cd
Merge branch 'dev' of github.com:gogits/gogs into access
10 years ago
无闻
e805fdb29c
Merge pull request #925 from phsmit/newcollaboration
...
Collaboration
10 years ago
Unknwon
485ea6f14f
models: make code change for session issue with SQLite3 #739
10 years ago
Unknwon
6a23252edc
able to allow insecure certification of webhook for #891
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago
无闻
6ed96b7a20
Merge pull request #911 from TonyTsangHK/dev
...
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
10 years ago
Unknwon
f15fa9167a
cmd: code fix for #905
...
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
10 years ago
无闻
cd0ee35b3f
Merge pull request #905 from phsmit/conf_on_cli
...
Add option to provide configuration file on command line
10 years ago
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
10 years ago
Unknwon
ba77a3b0b4
routers/repo/http.go: allow HTTP push/pull by token for #845
10 years ago
无闻
19525abfc4
Merge pull request #845 from compressed/token_http
...
allow http push by token - #842
10 years ago
Unknwon
216683004e
code fix for #908 , and work for #884
10 years ago
无闻
87b90372a7
Merge pull request #908 from nicolai86/feature/hide-signup-button-884
...
Make Signup button display configurable - #884
10 years ago
Unknwon
5a99e9a37b
models/action.go: add action reopen for #462
...
- models/issue.go: format comment type names
10 years ago
Unknwon
afccd0a3ee
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
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
Tony Tsang
fc6d80d619
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
10 years ago
Raphael Randschau
3c65265871
Hide the registration button depending on the setting
10 years ago
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
10 years ago
Peter Smit
03af37554e
Merge branch 'dev' into newcollaboration
10 years ago
无闻
cd6376f093
Merge pull request #818 from fzerorubigd/master
...
add a function to rewrite all public keys on admin request
10 years ago
Unknwon
89ea3e1acc
routers: save partial config when install
10 years ago
Unknwon
b293b6eaa6
cmd: CMD option for port number of `gogs web` to prevent first time run conflict
...
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
10 years ago
Unknwon
32152d2363
routers/repo: set raw page content type to 'text/plain' #828
10 years ago
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
10 years ago
Peter Smit
76f8904718
Introducing Collaboration Struct
10 years ago
无闻
161774d4fb
Merge pull request #825 from phsmit/ssh2_keys
...
Implement #798 Flexible ssh-key input
10 years ago
无闻
edbfbfa66e
Merge pull request #822 from phsmit/fix_807
...
Fix #807 parse the userinfo with the golang tools
10 years ago
Christopher Brickley
d0827e5d5e
allow http push by token - #842
10 years ago
Peter Smit
6251626de4
Implement #798 Flexible ssh-key input
...
It is now possible to input ssh keys in a number of formats: openssh, SSH2 or just the base64 encoded key.
10 years ago
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago
Peter Smit
d016eaaa09
Fix #807 parse the userinfo with the golang tools
...
Note, this is now only fixed with Go version >= 1.4.2, see this bug in Go: 07d86b1f2d
10 years ago
Unknwon
677b1ec627
fix #808
10 years ago
fzerorubigd
6643647687
add afunction to rewrite all public keys on admin request
...
refs #763
10 years ago
Unknwon
bd555551ce
fix #801
10 years ago
Thomas Laroche
e948c7c262
Fix #795
10 years ago
Unknwon
81a44e4cd0
fix API changes
10 years ago
Unknwon
79537467da
mirror fix and update
10 years ago
无闻
a18decf4cc
Merge pull request #755 from phsmit/multiple_emails
...
Multiple emails
10 years ago
Peter
20b5c23a19
Small fixes to multiple_emails feature
10 years ago
Unknwon
0a697517ac
work on #754
10 years ago
Unknwon
c4820f119d
work on #754
10 years ago
Unknwon
57b3be4016
work on #756
10 years ago
Peter
b033f2f535
Finish method for having multiple emails/user.
...
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
10 years ago
Peter
ec71d538fc
Method for activating email addresses through verification email
10 years ago
Unknwon
d01f2f3c22
fix #751
10 years ago
Unknwon
1a5aa5e0c0
fix #741
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
2f3a7e53cb
fix #735
10 years ago
codeskyblue
db6c0ebf76
fix git clone error when repo has upper case name
10 years ago
Unknwon
bc8721fb6c
Finish new UI for release page
10 years ago
Unknwon
9a1fe801e5
fix #711
10 years ago
Joseph Crail
39c068400e
Fix spelling errors in comments.
10 years ago
dennis-smurf
528c075ad6
Added issue link rendering in commit messages
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
5338808600
fix #676
10 years ago
Unknwon
d75013a0e8
fix #580
10 years ago
Unknwon
b6437b5a4c
safe check
10 years ago
Unknwon
db4951bc61
mirror fix on oauth2
10 years ago
Unknwon
d6132aaa88
fix oauth2
10 years ago
Unknwon
a43164877c
fix #664
10 years ago
Unknwon
0cce61de3a
Merge branch 'dev' of github.com:gogits/gogs into dev
10 years ago
Unknwon
5b96e3fcc7
fix #660
10 years ago
fuxiaohei
79dae254cf
add milestone page design
10 years ago
Unknwon
1b66600bd0
Fix #652
10 years ago
Unknwon
dc53270da9
Fix 653
10 years ago
Unknwon
ef275ebf62
more on change avatar
10 years ago
Unknwon
22ab4fa1b0
fix #139
10 years ago
Unknwon
55dfe2c978
custom avatar upload
10 years ago
Unknwon
2d8c414f8c
Fix #635
10 years ago
Unknwon
37d8d3afe9
more APIs on #12
10 years ago
Unknwon
32dcaefafa
fox #620
10 years ago
fuxiaohei
d1a60e3643
add pull-request and labels page design
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
9e22840483
fix #622
10 years ago
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
10 years ago
Unknwon
8c9338a537
add personal access token panel #12
10 years ago
Unknwon
21b9d5fa1f
Fix #618
10 years ago
Unknwon
e0de6cb5ad
work on #616 and update locales
10 years ago
Unknwon
abc57b6e43
work on #609
10 years ago
Unknwon
23eec25274
Fix #605 , fix #255 , fix #101
10 years ago
Unknwon
4e7eb5be9d
Work on #5 fork and fix #608
10 years ago
isotas38
2c28ed8c05
Fix #595
10 years ago
semlanik
377530ec21
Fix Issue 589
11 years ago
Unknwon
83283bca4c
Safe work
11 years ago
Christopher Brickley
3794111460
update slack hook to use new format
11 years ago
Tony Tsang
d87a9cb362
Avoid setting missing label/milestone/assignee ids
...
Label, milestone, assignee ids are not includes in post request, possible
js or form building bug.
11 years ago
Tony Tsang
93b9a2acc0
Fix misuse of issue index for issue id.
...
- UpdateAssignee
- UpdateIssueMilestone
11 years ago
Unknwon
a342d58d7e
Able to fork repo to individuals
11 years ago
无闻
d7d167ac63
Merge pull request #560 from evolvedlight/master
...
First cut of fork repo
11 years ago
Unknwon
146c8efee3
Fix API broken
11 years ago
Unknwon
3abc41ccca
Fix API broken
11 years ago
Unknwon
1aa12c7452
Fix #572
11 years ago
Eryx
fb8beaf19a
Fix pagination() to get the right total number of pages
11 years ago
evolvedlight
8d2a6fc484
Merge remote-tracking branch 'upstream/dev'
...
Conflicts:
models/repo.go
11 years ago
Unknwon
452ccff81c
Mirror fix on add ssh key
11 years ago
Unknwon
963354c5d7
Add raw, history file button, and other mirror fixes
11 years ago
Unknwon
b2632dec09
Page: Compare 2 commits
11 years ago
Unknwon
41dbb4c148
Hide org member in collar page
11 years ago
Unknwon
85c9f7c5f3
Issue: Show error prompt when add repository to team and it does not exist #533
11 years ago
Unknwon
d78abd3561
Mirror fix on admin/orgs paging
11 years ago
evolvedlight
211dc74816
Got the fork count working
11 years ago
Unknwon
1aa76bd279
Fix #532 , add system notice
11 years ago
Unknwon
1e1f9e7166
Update with macaron
11 years ago
Unknwon
64c68220d2
Fix #264
11 years ago
evolvedlight
c9e5e38fcf
Initial cut of git fork
11 years ago
Unknwon
2a031c1365
Fix #515
11 years ago
Unknwon
a046a31d2b
UI: Confirmation box
11 years ago
fuxiaohei
7d48f811f1
add issue router for new issue page ui preview
11 years ago
Unknwon
b8368f98ff
Add directory level commit message
11 years ago
lunnyxiao
d1911658e1
remove debug info
11 years ago
Unknwon
ad52b2d791
Mirror fix on transfer repo
11 years ago
Unknwon
977779cdcf
Mirror template bug fix
11 years ago
Unknwon
25268577a5
Fix download archive issue
11 years ago
Unknwon
5bbeeb0f1b
Page: Commits and fix #249
11 years ago
Unknwon
3f707b3f32
Add basic submodule support
11 years ago
lunnyxiao
7df60af60e
submodule support and closed #478
11 years ago
lunnyxiao
79ec08141a
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
lunnyxiao
150eef93b2
add submodule basic support & buf fixed #478
11 years ago
Martin van Beurden
976f1486e0
Set cookiepath to AppSubUrl
11 years ago
Unknwon
7ba9257a7f
Add suburl support
11 years ago
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
11 years ago
Unknwon
a596388ebf
Add success message after transfer repository #481
11 years ago
lunnyxiao
061a879cea
Merge branch 'dev' of github.com:gogits/gogs into dev
...
Conflicts:
conf/app.ini
11 years ago
lunnyxiao
ed84adb679
toutf8 improved & add max git diff lines
11 years ago
tobyzxj
ad041167f7
fix user's actions on domain/org/name-of-organization/dashboard
11 years ago
Unknwon
632b1b694d
Fix #465
11 years ago
Unknwon
efb68a0a96
Fix UI issue
11 years ago
Mathieu Gagnon
3549fb0ea8
Remove APP_LOGO setting
11 years ago
Unknwon
a2cac952a4
Prepare 0.5 release
11 years ago
Unknwon
cfed11f092
Bug: Transfer repository doesn't update the count
11 years ago
Unknwon
25d6ae69d1
Remove hg dep
11 years ago
无闻
e79e4b1580
Merge pull request #442 from compressed/org_hook
...
Organization-level Webhooks
11 years ago
无闻
40bc130b19
Merge pull request #447 from m0sth8/fix-milestone-render-markdown
...
Render milestone content as markdown
11 years ago
Unknwon
0ddb1eb769
Finish new install page, almost ready for 0.5 release
11 years ago
Unknwon
ab7206d6b7
Fix #348
11 years ago
Christopher Brickley
f7be61c819
getOrgRepoCtx returns values directly & err
11 years ago
Christopher Brickley
85c35a6b8b
add organization-level webhooks
11 years ago
Christopher Brickley
7269b06fd5
HookType is case-sensitive
...
Update webhook wasn’t showing up because of the wrong case
11 years ago
Vyacheslav Bakhmutov
6498fce04b
Render milestone content as markdown
11 years ago
Vyacheslav Bakhmutov
2a7a03e5b3
take params for milestone and assignee from query instead of path args
11 years ago
Christopher Brickley
00a864e693
add commit compare functionality
11 years ago
Christopher Brickley
2bce24068d
add Slack API webhook support
11 years ago
Unknwon
9bc63bda7d
Finish all new admin pages.
11 years ago
Unknwon
d2aff9a46a
Continue working on new admin pages
11 years ago
Unknwon
904bf1a50b
Add migrate repo API
11 years ago
Unknwon
8829174574
Finish new admin users pages
11 years ago
lunnyxiao
a6ec6def8d
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
lunnyxiao
c40e815763
add migrate api
11 years ago
Unknwon
1aec1a2dda
Finish new admin dashboard
11 years ago
Unknwon
81287ba022
Mirror issue fix
11 years ago
Unknwon
9baf2b38d0
Bug fix on organization
11 years ago
Unknwon
50de06056b
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknwon
74b31566cf
Finsih add/remove repo in organization
11 years ago
Marios Andreopoulos
510d5a5d74
import strings
11 years ago
Marios Andreopoulos
cd0ddcfa01
fix typo
11 years ago
Marios Andreopoulos
3d79f59671
fix wrong variable name
11 years ago
Marios Andreopoulos
b40922f4d4
remove extra comma
11 years ago
Marios Andreopoulos
12639c577f
Remove newline characters from ssh key before processing it.
...
Fixes issue #370 : https://github.com/gogits/gogs/issues/370
11 years ago
Unknwon
21a1b8e5a3
Finish new edit team page, add member to team
11 years ago
Unknwon
b765229a6d
Fix code style
11 years ago
Unknwon
e0a2d23baf
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknwon
fa60502a70
Working on organization pages
11 years ago
lunnyxiao
97fb62f51e
auto detect text file encode and convert to utf8
11 years ago
Unknwon
a60edbe88c
Add/remove member need add/remove access to repositories as well
11 years ago
Unknwon
bba707de36
Finish team list, create new team, join/leave team page
11 years ago
Unknwon
36b4c57ff1
Finish new organization members and invitation page
11 years ago
Unknwon
5acc948562
Page: `/org/:orgname/settings`
11 years ago
Unknwon
5fbf8531e6
Finish new home page of organization
11 years ago
Unknwon
7af7584d25
Finish new reset password, etc.
11 years ago
Unknwon
5605af973b
Feature: Social sign in
11 years ago
Unknwon
78defd238c
Page: Manage social accounts
11 years ago
Unknwon
9a1d5d2489
Finish new web hook pages
11 years ago
Unknwon
9820b8e134
Finish new hooks list page
11 years ago
Unknwon
e8c9bb2c66
Finish new collaboration page
11 years ago
Unknwon
a8e05fdf1b
Use toolbox
11 years ago
Unknwon
6fc2107529
Add missing less files
11 years ago
Unknwon
755eec745f
Finish new repo settings page
11 years ago
Unknwon
dabf5b057c
Finish new migrate page
11 years ago
Unknwon
7bbf644dd5
Convert captcha, cache, csrf as middlewares
11 years ago
Unknwon
9813161411
Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
11 years ago
Unknwon
5e81383413
Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
11 years ago
Justin Nuß
7de3dd01de
Use :index instead of :issue in UpdateIssueMilestone
11 years ago
Unknwon
5c4bc3c848
Huge updates!!!!! Be careful to merge!!!!
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Justin Nuß
12fb42de5a
Fix IE bug and show errors.
11 years ago
Justin Nuß
4e2477a1a5
Fix #318 . Switch to JS(ON) implementation for issue/comment creation.
11 years ago
Justin Nuß
dedb156d4a
Fix #321 . Allow empty comments as long as there are attachments.
11 years ago
Justin
ad7beb78d0
Fix #312 . Quote file names of attachments.
11 years ago
Justin Nuß
620c0ef297
Merge branch 'dev' of https://github.com/gogits/Gogs into trello/244
11 years ago
Justin Nuß
cbcd08aa17
Mention organisation users when organisation gets mentioned
11 years ago
Justin Nuß
4d702eb345
Allow disabling uploads
11 years ago
Justin Nuß
bfe5b86004
Add file upload for attachments
11 years ago
Justin Nuß
43e5de7f83
Show attachments in issues/comments and add preview for images
11 years ago
Justin Nuß
ef1cbcd761
Allow admins to delete attachments.
11 years ago
Justin Nuß
967856f36e
Merge branch 'dev' into feature/attachments
...
Conflicts:
models/issue.go
routers/repo/issue.go
11 years ago
Justin Nuß
d43c5895bc
Update template and style, only close commit if commit is in same repository
11 years ago
Justin Nuß
3c025b3950
Add delete route for attachments, remove upload buttons from issues/comments
11 years ago
Justin Nuß
34304e6a0c
WIP: Allow attachments for issues, not only comments
11 years ago
Justin Nuß
4617bef895
WIP: Allow attachments for comments
11 years ago
Justin Nuß
469cbc8813
Update progress of milestones when closing/reopening issues and allow closing of issues in commit messages
11 years ago
Justin Nuß
812f71e21b
Update milestone issue stats when reopening/closing issue
11 years ago
无闻
536f65b8ad
Merge pull request #293 from wmark/master
...
Enable users to upload other key types than RSA (+ ED25519, ECDSA, NTRU, McE)
11 years ago
W-Mark Kubacki
887ad1ec8b
Utilize ssh-keygen for checking of keys.
...
Removes the limitation to RSA and enables us to use all key types
SSH recognizes.
11 years ago
gima
5a97cc69ed
Make possible for administrators to change user's password (fix proposal for #290 )
11 years ago
Unknown
3969d704a0
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
0f907301b7
Fix #285
11 years ago
fuxiaohei
c127d84777
add organization team-single page
11 years ago
Unknown
63cc14062a
Paging function for users and repositories
11 years ago
Unknown
7ffdabb28f
Move debug router location
11 years ago
Justin
10f932b952
Fix wrong method for profiling routes.
11 years ago
Unknown
be8ac7fb75
fix #273
11 years ago
Unknown
7f3015b32b
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
13b032f829
update name
11 years ago
Justin Nuß
a481672c5c
Add 'pprof' tag for enabling debugging
11 years ago
Unknown
465dc962b5
Finish create organization team
11 years ago
Unknown
e4ea5cf598
Finish Teams page
11 years ago
Unknown
99713e1180
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
5dbfe3c26c
Finish organization homepage
11 years ago
Lunny Xiao
4ce2fa520a
Merge branch 'master' into dev
11 years ago
Lunny Xiao
86e2627175
Merge branch 'master' of github.com:gogits/gogs
...
Conflicts:
models/update.go
routers/repo/http.go
11 years ago
Lunny Xiao
e5ae41e21f
bug fixed #261
11 years ago
Unknown
6e448b0714
Finish delete organization
11 years ago
Unknown
ee9b7f322f
Clean code
11 years ago
Unknown
57ac15aa20
Merge branch 'master' of github.com:gogits/gogs into dev
11 years ago
Lunny Xiao
7dbeee94e3
bug fixed #236
11 years ago
fuxiaohei
1d55ecd29c
add organization team-create page
11 years ago
fuxiaohei
b5ba2bd268
add organization team-create page
11 years ago
Unknown
19e9104289
Organization settings page
11 years ago
Unknown
32b09681b2
Migrate repository by organization
11 years ago
Unknown
43b33440b5
Work on create organization repo and #257
11 years ago
Unknown
4cf7a1fca5
Mirror update on create repo page
11 years ago
Unknown
e0f9c628c5
Add create organization
11 years ago
Unknown
b2801a2e98
Fix #165
11 years ago
Unknown
98f614a58e
Work on #249 issue1
11 years ago
Unknown
47d29a1ee0
Mirror fix on #248
11 years ago
fuxiaohei
fb53cc4fa8
add organization setting page
11 years ago
fuxiaohei
f393dc6520
add organization dashboard page
11 years ago
fuxiaohei
ea507e20d4
add organization create page
11 years ago
Unknown
314193029a
Use constants to name template file
11 years ago
Unknown
9c82073091
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
9924e65ca1
In progress of name template name constant
11 years ago
fuxiaohei
adda10f4a4
add organization teams page
11 years ago
fuxiaohei
514d7e1922
add organization memebers page
11 years ago
fuxiaohei
bf703ef617
add dashboard context switch button
11 years ago
Unknown
ad5ec45dd6
Fix #165
11 years ago
Unknown
8bfa7ae745
Remove qiniu/log
11 years ago
Unknown
f147ad619a
Basic process manager
11 years ago
Unknown
d952b4200c
Add corn rask monitor panel
11 years ago
Unknown
e07674bff1
Support edit release and save as draft
11 years ago
Unknown
fb0972afad
Fix #199
11 years ago
Unknown
9961f9a53c
Fix #197
11 years ago
Unknown
f160b4f33c
Add tar.gz download button and other mirror updates
11 years ago
Unknown
a80d8d96fa
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
302c863cda
Fix #242
11 years ago
FuXiaoHei
4fcbf553aa
organisation main page ui
11 years ago
Unknown
4f2f3c2857
Code convention
11 years ago
Unknown
9c3aa6936a
Fix #223
11 years ago
Jan Oliver Oelerich
6fe43eb8d4
Fixed directory permissions for the zip download router
...
If the archives/ directory is created with 0655, it results in a permission error.
11 years ago
Unknown
2657f88d9a
Fix #222
11 years ago
Unknown
ddb7f55035
Prepare for v0.4.0 release
11 years ago
Unknown
fbf274b751
Fix #220
11 years ago
Unknown
422043f422
Fix #219
11 years ago
Unknown
617bbe3fee
Fix #218
11 years ago
Unknown
9085dfa426
Working on #211
11 years ago
slene
e323604d78
display large file
11 years ago
slene
4ee6bc4fca
fix for new git api
11 years ago
Unknown
ab13a29cb5
Fix #209
11 years ago
Unknown
ff690fd976
Fix #200 , add VERSION to template files
11 years ago
Unknown
bf5fcfb49c
Add * to selected label
11 years ago
Unknown
ff48aeddef
Little bug fix
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago
Unknown
87854c95a9
Fixed #200
11 years ago
Unknown
80055bde86
Code convention
11 years ago
Unknown
dce17c86ac
Almost done issue label #200
11 years ago
Unknown
b1bdbd7f94
Almost done issue label #200
11 years ago
FuXiaoHei
1331134316
finish issue edit content preview
11 years ago
Sebastian Jackel
02fb088b80
Remove password from log message on failed login
11 years ago
Unknown
93f8f92523
Finish create new label
11 years ago
Unknown
04890904f9
fix #195
11 years ago
Unknown
956f011dd3
Fix #186
11 years ago
Unknown
4744996f9a
Make gmail auth work
11 years ago
Unknown
db6b71ad03
Update issue-user when change milestone
11 years ago
Lunny Xiao
f4486f3eec
bug fixed #193
11 years ago
Lunny Xiao
7869cfccb9
Merge pull request #192 from DerDackel/ldapssl
...
Add LDAP over SSL support
11 years ago
Sebastian Jackel
eb264a112b
Add LDAP over SSL support
11 years ago
Unknown
b70db61854
Fix #185
11 years ago
Unknown
16bddd593a
Finish change issue’s milestone
11 years ago
Unknown
46fc36c3a6
Finish change issue’s milestone
11 years ago
Unknown
9100786beb
Fix #185
11 years ago
Unknown
5ed5aa5228
Finish milestone
11 years ago
Unknown
33ec0632ff
Fix #183
11 years ago
Michael Litvak
cca2a53d6f
Fix issue link in issues page
...
The link assumes that the issue belongs to the signed in
user, which is not necessarily the case
I changed it to use repository owner name instead
11 years ago
Unknown
2eee1e9bc2
Finish edit a milestone
11 years ago
Unknown
c117f9e73f
Fix #166
11 years ago
Unknown
a913aff1d0
Show collaborative repositories in dashboard
11 years ago
Unknown
54e95fa367
Finish add new milestone
11 years ago
Unknown
f1130ce5e9
Fix edit auth page bug
11 years ago
FuXiaoHei
1769bb2f26
add milestone edit ui
11 years ago
Unknown
0970d6cc38
Log to different adapter according to level
11 years ago
Unknown
68fb62347f
Finish issue assignee
11 years ago
Unknown
2c73ced0db
Fix #173
11 years ago
Lunny Xiao
f68e279150
spell bug fixed
11 years ago
Unknown
c5dbc24ca4
UI fix
11 years ago
Lunny Xiao
bf58679390
add support for smtp authentication
11 years ago
Lunny Xiao
55019bfbc5
merge all login methods
11 years ago
slene
7d84cc96e8
update with git api
11 years ago
FuXiaoHei
2eabeba6b7
finish milestone add page
11 years ago
Unknown
4ef9494637
Fix panic when view issue without login
11 years ago
Unknown
25713ab209
Fix #167
11 years ago
Unknown
914ffa496f
Show private repository activities in dashboard if has access
11 years ago
Unknown
a742ee543e
Add change assignee back end
11 years ago
Unknown
e867283406
Assignee back end
11 years ago
Unknown
495d939ca5
Waiting for UI
11 years ago
Unknown
33d32585b1
Add mention, read/unread support of issue tracker
11 years ago
Unknown
6fb7229bea
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
7407f9caf3
Finish issue design
11 years ago
FuXiaoHei
d76772adb9
add milestone list page
11 years ago
Unknown
8ca14e2109
Improve delete SSH key
11 years ago
Unknown
7cb5a15c9b
Batch of mirror fixes
11 years ago
Unknown
e573855a4f
Fix #98 , support web hook
11 years ago
Unknown
94bccbb148
Finish edit and remove web hook
11 years ago
Unknown
24f614f6db
Finish add web hook
11 years ago
Unknown
6e3dba2cc5
Clean repo code
11 years ago
Unknown
bbdfe25769
User code clean and ui improve
11 years ago
Unknown
c1eb4d894a
Clean api code
11 years ago
FuXiaoHei
d34c3bb751
finish webhook ui,
...
some ui fix
11 years ago
Unknown
3b7465f817
fix code
11 years ago
Lunny Xiao
d8136c9c3c
Merge branch 'dev-ldap' into dev
11 years ago
Lunny Xiao
1652dd5068
basic authentications
11 years ago
Unknown
02687cbdf3
Add mail notify for new collaborator
11 years ago
Unknown
7b60756f2c
Fix Collaborators cannot commit
11 years ago
Lunny Xiao
79ea34e70e
ldap support
11 years ago
Unknown
e10096ee2e
Mirror fix on UI
11 years ago
Unknown
a9e6d49dc6
Fix #159
11 years ago
FuXiaoHei
3e856928a2
add webhooks page ui
11 years ago
Unknown
e7d8fadb08
Add disable gravatar option
11 years ago
Unknown
100cd181bc
Add router log config option
11 years ago
Unknown
f6c4fbeb37
Collaborator
11 years ago
FuXiaoHei
cc1eb5643e
Merge branch 'dev' of https://github.com/gogits/gogs into dev
11 years ago
Unknown
89c99167b2
Fix #149
11 years ago
Unknown
46af92c57e
Clean files
11 years ago
FuXiaoHei
52fbb9788a
add collaboration page ui
11 years ago
Unknown
49dc57e336
Add /api/v1/users/search
11 years ago
Unknown
2401e68d7e
Prepare for v0.3.1 hotfix
11 years ago
无闻
31805e2bbe
Merge pull request #135 from clee/show-parents
...
Show parents in commit diff page
11 years ago
Chris Lee
6700257558
Show parents in commit diff page
11 years ago
Unknown
41b0a7b97c
Mirror fix on public key
11 years ago
Unknown
62240b6bc1
Add login by email
11 years ago
Unknown
ce05a8d7b6
Merge branch 'dev' of github.com:gogits/gogs into dev
...
Conflicts:
templates/repo/single_list.tmpl
11 years ago
Unknown
62d23e9154
HTTP no follow and offline mode
11 years ago
无闻
9fdf4bc277
Merge pull request #134 from clee/master
...
Use commit summaries instead of full messages
11 years ago
Chris Lee
8a8f84d245
Use commit summaries instead of full messages
11 years ago
Unknown
59d0e73c35
Batch mirror fix
11 years ago
无闻
37cbfc032a
Merge pull request #112 from juju2013/master
...
basic support for LDAP/Microsoft Active Directory authentication
11 years ago
James Anderson
e5af34a078
fixed some broken forms that were introduced in james-anderson@521c5f0e10
11 years ago
juju2013
efc05ea1de
initial support for LDAP authentication/MSAD
11 years ago
Unknown
8bc502a1ea
New err check style
11 years ago
Unknown
5435b259cc
Merge branch 'master' of github.com:gogits/gogs into dev
11 years ago
Unknown
2a9da4b8e5
Fix #92
11 years ago
Bryan Johnson
34d18a19a3
Minor grammatical fix for Disable Registration feature
11 years ago
Unknown
8bed017557
Add build tag enable prompt
11 years ago
Unknown
eda3f8b3b3
Mirror updates
11 years ago
Unknown
b32e223db5
Mirror fix
11 years ago
Unknown
8719c1b8c5
Mirror bug fix
11 years ago
Unknown
49c01c0b57
Fix import path
11 years ago
Unknown
1bfe4ee665
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Unknown
2dc0329c5f
Fix auth issue on #80
11 years ago
Unknown
6277f8497c
Auth problem related #80
11 years ago
Christopher Brickley
4c5a6e4d87
swap \n for \000, update len check, when reading receive-pack input
11 years ago
Unknown
c3a52f7dd0
Mirror bug fix on downloading zip
11 years ago
slene
4fafc76052
zip archive download
11 years ago
Lunny Xiao
4210f56dbc
bug fixed for http clone
11 years ago
Unknown
c36e7d322e
Mirror updates
11 years ago
Unknown
f644cefa86
Finish release
11 years ago
Unknown
d2b53dd43b
Add weibo oauth
11 years ago
Unknown
4b9b8024ba
Clean oauth code
11 years ago
Unknown
4c1452574a
go get
11 years ago
Unknown
ea74be2f2e
go get
11 years ago
Unknown
5c2da610a2
Move binding as subrepo
11 years ago
Unknown
c9a1eb4789
Able to change mirror interval now
11 years ago
slene
52b4ab2aa5
update with new git
11 years ago
Unknown
9ffa8a4083
finish mirror fix #63
11 years ago
Unknown
90f6aa8cd1
Add repo mirror and import
11 years ago
skyblue
75d2affcbf
add oauth2 qq support
11 years ago
skyblue
f92851e347
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
skyblue
2ce0c3befe
add google oauth2 support
11 years ago
Unknown
31d613c01d
Mirror fix
11 years ago
Unknown
d305448fa8
Mirror bug fix
11 years ago
zhsso
2e6d50addc
combine getCommit ById and ByBranch in routers/repo/commit.go
11 years ago
Unknown
4fc5dcc764
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
33aa4f7438
Support private repo
11 years ago
skyblue
f8e97b75fb
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
skyblue
5c1312f38e
clean oauth2 code
11 years ago
Unknown
d6dac160df
Pages in commits list page
11 years ago
Unknown
47aa53bd36
Add search commits
11 years ago
skyblue
4c6e0e9499
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
skyblue
dd815ae7b5
finish github oauth2 support
11 years ago
Unknown
11f54b1426
Mirror bug fix
11 years ago
Lunny Xiao
ee2d8d2469
remove trace
11 years ago
Lunny Xiao
8cfa2be433
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Lunny Xiao
db39e58a13
add actions for http push
11 years ago
Unknown
306aa5bffe
Add support default branch
11 years ago
Unknown
8980675a9f
Fix #69
11 years ago
Unknown
45462662e9
Add flash
11 years ago
Unknown
29e255422e
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
af552596cf
Work on form resubmit
11 years ago
zhsso
a4cbe79567
fix
11 years ago
zhsso
f3ed11d177
mistakes
11 years ago
Lunny Xiao
a24c0b92e4
bug fixed
11 years ago
Lunny Xiao
88d873c67f
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Lunny Xiao
94c7278194
Merge branch 'master' of github.com:gogits/gogs into dev
...
Conflicts:
web.go
11 years ago
Lunny Xiao
16b6e5d50b
bug fixed
11 years ago
Unknown
5d4025cb5a
Add go get meta support
11 years ago
Unknown
9f7bd5007b
Work on mirror repo
11 years ago
skyblue
8683d2f857
remove martini oauth2 depend
11 years ago
FuXiaoHei
c72e1b5c2a
repo-import page ui
11 years ago
Unknown
a991ebf5d0
Fix #54
11 years ago
Unknown
b506429803
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknown
115a349131
Fix #67
11 years ago
skyblue
24d0ca4aa0
clean tail
11 years ago
skyblue
d4565483e6
add id for oauth2
11 years ago
Unknown
9ea9818d32
Fix issue with log in with GitHub but need more error handle after
11 years ago
skyblue
05fb34eacd
first works oauth2(github). need to login with /user/login/github
11 years ago
Unknown
8c9a0494ec
Add @ # commit link detect on all markdown render
11 years ago
Unknown
e7c8a3cb8d
Add salt for every single user
11 years ago
Unknown
2846ff7d31
Fix bug related to log
11 years ago
FuXiaoHei
98f918ed28
Merge branch 'dev' of https://github.com/gogits/gogs into dev
11 years ago
FuXiaoHei
3ede496383
add release-new route
11 years ago
Unknown
b7c3b0cc73
Add reset password, fix #58
11 years ago
Unknown
3ebc9b991a
Use gogits/session for oauth2
11 years ago
Lunny Xiao
9791e70da6
bug fixed
11 years ago
Lunny Xiao
a92826a8fe
Merge branch 'dev' of github.com:gogits/gogs into dev
...
Conflicts:
routers/repo/repo.go
11 years ago
Lunny Xiao
493b0c5ac2
add ssl support for web
11 years ago
Unknown
eb803ec5eb
Add transfer repository
11 years ago
Unknown
4a4997a3c7
Merge branch 'master' of github.com:gogits/gogs into dev
11 years ago
Lunny Xiao
6b9f7fd758
basiclly http push
11 years ago
Unknown
e9c4156c87
Add: rename user
11 years ago
Unknown
79a610592e
Add: rename repository
11 years ago
Unknown
db66b8da72
Add release tmpl
11 years ago
Unknown
97b133bbee
Merge branch 'dev' of github.com:gogits/gogs into dev
...
Conflicts:
routers/user/user.go
11 years ago
Unknown
d9005ee970
Improve issue mail content
11 years ago
skyblue
adf42a5b54
change oauth2 to modules
11 years ago
skyblue
93f6e98047
change oauth2 path
11 years ago
skyblue
5180506678
split into social.go
11 years ago
Unknown
13824af291
Merge branch 'master' of github.com:gogits/gogs into dev
11 years ago
skyblue
272c27c8f2
add github social login, first step
11 years ago
Unknown
91e6db1bae
Fix log bug
11 years ago
Unknown
e938863ae6
Mirror fix on UI
11 years ago
Unknown
2a0066420a
Fix bug work with sqlite3
11 years ago
Unknown
d0e6a4c25a
Change new martini impot path
11 years ago
Unknown
3698431fc1
Fix install bugs
11 years ago
Unknown
9f91dee53f
Bug fix #45
11 years ago
Unknown
a6e12aaef6
Fixing bug
11 years ago
Unknown
03cc39ea12
Mirror fix on #45
11 years ago
slene
d6c9e3413a
fix display bare repo
11 years ago
slene
578d981d7e
display bare repo page
11 years ago
slene
b27c34f39a
update git api. fix link... and so on
11 years ago
slene
41ca0ed302
remove ctx.Repo.IsValid
11 years ago
Unknown
107a1eadac
Finish close and reopen issue, install page, ready going to test stage of v0.2.0
11 years ago
Unknown
cad2ced394
Bug fix
11 years ago
Unknown
ffa59739b6
Add edit issue
11 years ago
Unknown
2c073afbec
Mirror fix and update
11 years ago
FuXiaoHei
ecce694d77
issue content ajax preview
11 years ago
Unknown
8282828820
Fix action email bug
11 years ago
Lunny Xiao
879ef8d81f
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Lunny Xiao
a726c125b5
Add PushCommit
11 years ago
Unknown
beb1761d7c
Mirror fix
11 years ago
Unknown
6e376bb85c
Working on install page
11 years ago
Unknown
a55941ff83
Add auto-detect home directory
11 years ago
Unknown
63dae435f9
Bug fix
11 years ago
Unknown
76b8642348
Bug fix
11 years ago
Unknown
cb05b8325c
Update config option
11 years ago
Unknown
0fd754bbe0
Working on install page
11 years ago
Unknown
5344a03003
Bug fix
11 years ago
slene
8b700e825b
fix panic, add repo check, signed check
11 years ago
Unknown
eb6021f73f
Fix issue pages URL params
11 years ago
Unknown
34f4af9ebf
Working on issue and install page
11 years ago
slene
6b43067e1b
image display in diff page
11 years ago
slene
06d3c87b23
Merge branch 'master' of github.com:gogits/gogs
11 years ago
slene
10b412d237
commit raw file
11 years ago
Unknown
3144fac03c
IP: RC Code Review
11 years ago
slene
417d861be6
fix download
11 years ago
slene
bce8586bc6
Merge branch 'master' of github.com:gogits/gogs
11 years ago
slene
346db02d89
fix image display
11 years ago
slene
16cb1e974c
print err
11 years ago
slene
677643b812
fix read commit source
11 years ago
Unknown
f470c241d6
IP: RC Code Review
11 years ago
Unknown
dd6246877d
Almost done diff page
11 years ago
Unknown
4b9eef50c9
Add comment of issue
11 years ago
FuXiaoHei
08405a4fea
add issue view ui
11 years ago
FuXiaoHei
0b22d90b7c
Merge branch 'master' of https://github.com/gogits/gogs
11 years ago
FuXiaoHei
f5c9149dd5
add issue toolbar flag
11 years ago
Unknown
409e4cde7a
auth fix
11 years ago
Unknown
3cc860a46f
auth fix
11 years ago
Unknown
87de66561c
Start working on diff page
11 years ago
Unknown
c1a3d4fefb
Add mail notify for creating issue
11 years ago
Unknown
d3b8e9daa1
Add notify watcher action
11 years ago
Unknown
2fa8d0c8dd
Added create issue
11 years ago
FuXiaoHei
23d103c721
issue list in user
11 years ago
FuXiaoHei
124c4d72bf
issue list in repo
11 years ago
FuXiaoHei
6e33e54e71
add issue-create template file
11 years ago
FuXiaoHei
7f6126dd04
install sample page
11 years ago
Unknown
6ef3e8b3c9
Merge branch 'master' of github.com:gogits/gogs
...
Conflicts:
templates/repo/single_file.tmpl
11 years ago
Unknown
743fee6015
Fix
11 years ago
slene
123c7b44e8
fix
11 years ago
slene
ff36248419
raw download
11 years ago
FuXiaoHei
98ec6a4eaa
Merge branch 'master' of https://github.com/gogits/gogs
11 years ago
FuXiaoHei
5e22f1437a
diff page ui
11 years ago
Unknown
59bbddb318
Mirror fix
11 years ago
FuXiaoHei
137538e54b
refactor repo.go
11 years ago
Unknown
b9b82cfe47
Mirror updates
11 years ago
Unknown
f8cfb81fb0
Mirror updates
11 years ago
Unknown
6bc7ae971a
Mirror fix
11 years ago
Unknown
97debac185
SSL enable config option
11 years ago
Unknown
1eb078d0a8
Fix action
11 years ago
FuXiaoHei
bdd32f152d
add m.NotFound handler
11 years ago
FuXiaoHei
47493a0191
use ctx.Handle to handle 404 page
11 years ago
Unknown
7356153ba3
Batch updates
11 years ago
Unknown
cb52f6d07d
Add auto-login
11 years ago
Unknown
59ffdbf6f8
Add create, list, view issue
11 years ago
Unknown
b3cfd9fe0c
Fix SSH key bug in windows
11 years ago
Unknown
61e2922601
Working on issues
11 years ago
Unknown
e3f55ca0fb
Need a field to specify if repository is bare
11 years ago
Unknown
fd1831052c
Update session
11 years ago
slene
f9c07c4186
update session
11 years ago
Unknown
0d1872ebe3
Add admin memStatus panel
11 years ago
Unknown
7a1ff8636c
Add config option: Picture cache path
11 years ago
Unknown
76cd448e79
Add admin delete user
11 years ago
Lunny Xiao
17da2fd2e3
merged
11 years ago
Lunny Xiao
efdaf6ee15
add http protocol clone support
11 years ago
Unknown
f219ddcf4e
Add log config panel in admin
11 years ago
Unknown
d40499e7fa
Finsih mail resend limit
11 years ago
FuXiaoHei
ecc61ced41
update admin nav ui
11 years ago
Unknown
30618b271a
Add admin edit user
11 years ago
Unknown
e67653cf13
Bug fix
11 years ago
Unknown
c1576b4c40
Add admin add user
11 years ago
Unknown
f6596f11c4
All configuration reload-able
11 years ago
Unknown
369ddf76a8
Batch fix
11 years ago
Unknown
06631ab91f
Basic admin data table, models changes
11 years ago
Unknown
3b387336bf
Add Repository/user name filter
11 years ago
slene
b4a55434a4
wrong link should 404
11 years ago
slene
47234f1031
fix ext
11 years ago
slene
de956c4776
linenums
11 years ago
slene
c6bd723ce1
Merge branch 'master' of github.com:gogits/gogs
...
Conflicts:
public/js/app.js
11 years ago
FuXiaoHei
cb80111e89
guide page for bare repo
...
some ui fix
11 years ago
Unknown
4cf6cc63b0
Work on admin
11 years ago
Unknown
9f9cd6bfc6
Work on admin
11 years ago
slene
8ef71343df
fix link
11 years ago
Unknown
5cb2d3d2e2
Bug fix
11 years ago
slene
24678d73f5
read single file
11 years ago
Unknown
a922c3ff6a
Watch backend
11 years ago
slene
8b0f421eb5
Merge branch 'master' of github.com:gogits/gogs
11 years ago
slene
0e7a2d9d3c
directory redirect
11 years ago
Unknown
6f68620860
Pools limit concurrent nums
11 years ago
Unknown
601c10309d
Bug fix
11 years ago
Unknown
757f360949
Render data in commit list page
11 years ago
Unknown
35d473f04a
Finish verify email
11 years ago
slene
67f92c9d47
add parent folder link in file list
11 years ago
Gogs
c6e12d2568
add up url in file list
11 years ago
Unknown
a22c4ba71d
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Unknown
ddbd2ce152
Add register mail tpl
11 years ago
FuXiaoHei
a63b5982b5
top nav arrow update
11 years ago
FuXiaoHei
9bc06dc716
Merge remote-tracking branch 'origin/master'
...
Conflicts:
routers/user/user.go
11 years ago
FuXiaoHei
f0993ae3c8
repo commit list ui
11 years ago
slene
199fdd0336
fork render
11 years ago
FuXiaoHei
c7660a81c6
Merge remote-tracking branch 'origin/master'
...
Conflicts:
routers/user/user.go
11 years ago
FuXiaoHei
a0e73e2b54
top nav arrow update
11 years ago
slene
483cc31369
Revert "fork render"
...
This reverts commit 56af7e99a8
.
11 years ago
Gogs
56af7e99a8
fork render
11 years ago
Unknown
a2fbb24615
Add active page
11 years ago
Unknown
de087c7b4a
Add send register confirm mail
11 years ago
Unknown
fbbae2b721
Working on register mail confirmation
11 years ago
Unknown
bd9d90d8c4
Add some log
11 years ago
Unknown
fbd252c1cf
Mirror fix
11 years ago
shengxiang[skyblue]
ccd43b09b2
add some comment
11 years ago
Unknown
d886f4df97
Merge branch 'master' of github.com:gogits/gogs
...
Conflicts:
models/repo.go
routers/repo/single.go
templates/repo/single.tmpl
11 years ago
Unknown
e44d9ffd89
Delete commit and update getlastcommit
11 years ago
Lunny Xiao
3ceb008e1f
add commit view
11 years ago
Unknown
e656609b0d
Bug fix
11 years ago
Unknown
9eabbe68a6
Bug fix
11 years ago
Unknown
b3dc159c45
Finding bug
11 years ago
Unknown
b51a9d109f
Mirror change
11 years ago
Unknown
9d3b003add
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Unknown
757e4f658c
Completely rule out the cgo
11 years ago
slene
d6f3333e48
small fix
11 years ago
slene
4249cec68c
resolve relative path in markdown file
11 years ago
Lunny Xiao
45a6444b1e
add commits
11 years ago
slene
f90e37ade0
fixed
11 years ago
Unknown
ee93186f72
Mirror change
11 years ago
slene
5bc2a1a6f9
show readme.md
11 years ago
FuXiaoHei
df1985e1e8
Merge remote-tracking branch 'origin/master'
11 years ago
FuXiaoHei
3a3ac1f0f3
repo branch page ui
11 years ago
Unknown
5c3054c3b7
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Unknown
cf9fa06eae
Mirror change
11 years ago
slene
3a2eee0827
fix repo setting and delete repo
11 years ago
Unknown
1043ab506e
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Unknown
95cb7cb2ad
Nothing
11 years ago
FuXiaoHei
d64a8e8d3a
Merge remote-tracking branch 'origin/master'
11 years ago
FuXiaoHei
c101471bdf
ui update, repo-assignment panic bug fix
11 years ago
Unknown
0f68930892
Add latest commit in repo viewer
11 years ago
Unknown
685631627e
Show branches in repo viewer
11 years ago
Unknown
ec65be79f0
Fix commit feed ui
11 years ago
Unknown
425a58afd6
Bug fix
11 years ago
slene
f6e32b1b08
finish delete ssh key and delete account. all with confirm.
11 years ago
Unknown
0754dd2f95
Add delete all feeds when delete account
11 years ago
Unknown
fb960db6af
Add check if public key name has been used
11 years ago
Unknown
ab747f2790
Fix delete SSH key in file
11 years ago
Unknown
8de9517862
Mirror fix
11 years ago
Unknown
f026ae8652
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Unknown
dfcae2a97a
Add repo list data, need front-end fix
11 years ago
slene
7ca8306775
modify RepoAssignment
11 years ago
Unknown
b43cfc5b39
Clean code
11 years ago
slene
b9e57e41ce
clean code
11 years ago
slene
27a9e18e48
clean repo.go
11 years ago
Unknown
f174633b36
Clean code
11 years ago
slene
a33d03f008
Merge branch 'master' of github.com:gogits/gogs
...
Conflicts:
routers/user/user.go
web.go
11 years ago
slene
81fedd8198
fix
11 years ago
slene
fa5ad1e465
move templateFuncs to one file, add middleware context.
11 years ago
Unknown
4b8e888437
Finish feeds
11 years ago
slene
06deed820d
Add HomeLink and AvatarLink to User model. Please use .SignedUser in template.
11 years ago
Unknown
e251b9bbca
Bug fix
11 years ago
Unknown
adb17791bd
Add basic render of public act
11 years ago
Lunny Xiao
b27e8e87f8
add tree view
11 years ago
FuXiaoHei
d18237850c
add draft page for empty link
11 years ago
Unknown
1ce17cce76
Add log.handle
11 years ago
Unknown
15f8bc417e
Add log.handle
11 years ago
Unknown
56cf05be77
Add errHandler mid ware
11 years ago
Unknown
47edf7f4f9
Finish update password and profile
11 years ago
FuXiaoHei
9c0672e0dd
user update-password page ui
11 years ago
Unknown
c01f593daa
Add updatePasswd
11 years ago
Unknown
76dae5bf68
Bug fix
11 years ago
Unknown
57bc2d1ca0
Add update user profile back end, add new gitignore and license, add template data to public profile page
11 years ago
Lunny Xiao
1902500b0d
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Lunny Xiao
3a1fa012f7
update repo page
11 years ago
Unknown
27104ac89a
Add delete repo
11 years ago
Unknown
18ba149137
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Unknown
ea765d25e2
Update action struct
11 years ago
FuXiaoHei
a8d8e72562
single repository setting page ui
11 years ago
FuXiaoHei
37fae304d3
single repository page ui, add spec handler to get repo
11 years ago
FuXiaoHei
f65d8f9144
single repository page ui, add spec handler to get repo
11 years ago
FuXiaoHei
b1fe498eb9
single repository page ui
11 years ago
FuXiaoHei
555c8f1d91
Merge remote-tracking branch 'origin/master'
11 years ago
FuXiaoHei
4fff38856e
single repository page ui preview
11 years ago
Lunny Xiao
08feaf3ded
add repo router
11 years ago
Unknown
12f81de349
Finish delete user
11 years ago
Lunny Xiao
b5cc4078a9
add repo list of dashboard
11 years ago
Unknown
fdc4151ff3
Finish create repo
11 years ago
Unknown
b4727c7601
Update create repo
11 years ago
Lunny Xiao
5b5d54621e
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Lunny Xiao
f9907bbfa4
add README support for creating repository
11 years ago
FuXiaoHei
7f92579905
finish user delete page ui
11 years ago
Unknown
52837e3d36
Clean code
11 years ago
Unknown
897329a644
Add add and delete SSH key
11 years ago
FuXiaoHei
efa039a0f7
finish ssh key pages ui
11 years ago
Lunny Xiao
3ca7a33907
add del publickey
11 years ago
FuXiaoHei
46687f391c
ssh keys operation page ui
11 years ago
Unknown
0d9b2f3860
Update CreateRepository
11 years ago
Unknown
76ce6f9848
Update repo.Create
11 years ago
Unknown
5a05d6633d
Merge utils to modules
11 years ago
Unknown
a2a59f8ad1
Change /user/profile URL to /user/:username
11 years ago
Unknown
ba5c7ea771
Add SignInRequire and SignOutRequire middleware
11 years ago
Lunny Xiao
8e821c75d7
add publickey list
11 years ago
Lunny Xiao
e246f2188e
add list for repo basic
11 years ago
Unknown
90223dcfc4
Bug fix
11 years ago
Unknown
56a7ab4da5
Finish log in user
11 years ago
Unknown
d8b92b4bc9
Merge branch 'master' of github.com:gogits/gogs
...
Conflicts:
templates/user/signup.tmpl
11 years ago
Unknown
1249392c83
Finish register user
11 years ago
FuXiaoHei
4c1858c07b
navbar active status
11 years ago
FuXiaoHei
9cd14f97c2
register js validation
11 years ago
FuXiaoHei
4b912b9ae6
signed-in dashboard and navbar changes
11 years ago
Lunny Xiao
e878bfb80f
add SignedInId & SignedInUser funcs
11 years ago
Lunny Xiao
245e806679
Merge branch 'master' of github.com:gogits/gogs
11 years ago
Lunny Xiao
35bff9e661
add IsSignedIn & SignedInName funcs
11 years ago
Unknown
5959e344a9
Optimize validate
11 years ago
Unknown
c6f2c23b05
Add binding form for register user
11 years ago
Unknown
e59f90b8fe
Update
11 years ago
Lunny Xiao
fea660f1d7
merged
11 years ago
Lunny Xiao
b73cf0ee77
merge
11 years ago
FuXiaoHei
d8a24aff8c
display login error message when login post error
11 years ago
Lunny Xiao
0632198a40
add create repository button
11 years ago
Lunny Xiao
c5132b87a6
finished signin and login
11 years ago
FuXiaoHei
ffe0ba562c
ui for user/profile page, only skeleton
11 years ago
FuXiaoHei
ffcfd428b8
ui design for sign-in and sign-up page
...
add /login and /sign-up link for user signing
fix typo error
11 years ago
Lunny Xiao
52984f85d5
add publickey
11 years ago
Lunny Xiao
bbf5345004
ssh push support
11 years ago
Lunny Xiao
f7826d4ed7
create repository from web
11 years ago
Unknown
594ec0b659
Add code of add public key
11 years ago
Unknown
8962b39648
Add routers for create and delete repo
11 years ago
Unknown
d87ea87aee
Add code of delete user
11 years ago
Unknown
b455478df8
Finish register user
11 years ago
Unknown
3eb1ab9e8b
Add UI for register user
11 years ago
Unknown
b1c5adc2f2
Setup templates structure
11 years ago
Unknown
96b317d3ff
Init commit
11 years ago
Unknown
4836fea876
Init commit
11 years ago