]>
source.dussan.org Git - gitea.git/log
Andrey Nering [Sat, 18 Feb 2017 16:11:15 +0000 (14:11 -0200)]
Add "mirror" field to repo API
Andrey Nering [Sat, 25 Feb 2017 12:31:28 +0000 (09:31 -0300)]
Merge pull request #1043 from andrew-boyarshin/autolink
Fix span wrapping all the things
Jonas [Sat, 25 Feb 2017 03:12:46 +0000 (04:12 +0100)]
Fix for #1037: Corrected process ID placeholder to PID from Pid (#1048)
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
Sandro Santilli [Sat, 25 Feb 2017 03:12:17 +0000 (04:12 +0100)]
Reword the reinit_missing_repos message to be clear about what it does (#1047)
I was confused by current wording, which seemed to imply that
*records* would be initialized, while instead the function initializes
the *git repositories* instead, where missing but referenced.
Bo-Yi Wu [Sat, 25 Feb 2017 01:27:39 +0000 (09:27 +0800)]
refactor: repo counts for SearchRepositoryByName func (#1045)
Lunny Xiao [Fri, 24 Feb 2017 15:19:13 +0000 (23:19 +0800)]
fix delete repo will hang on postgres (#1044)
Andrew Boyarshin [Fri, 24 Feb 2017 14:59:56 +0000 (21:59 +0700)]
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>
Andrew Boyarshin [Fri, 24 Feb 2017 11:49:04 +0000 (18:49 +0700)]
Fix span wrapping all the things
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
Lunny Xiao [Fri, 24 Feb 2017 08:21:45 +0000 (16:21 +0800)]
Removed footer copyright year (#829)
* change footer copyright year from 2016 to 2017
* add 2016 copyright back
* remove the copyright year
Ethan Koenig [Fri, 24 Feb 2017 06:25:09 +0000 (01:25 -0500)]
Remove unnecessary loads in org_team (#1035)
Ethan Koenig [Fri, 24 Feb 2017 01:37:38 +0000 (20:37 -0500)]
Unit tests for models/repo_collaboration (#1032)
puffybsd [Fri, 24 Feb 2017 01:37:13 +0000 (20:37 -0500)]
Fixes 1019, install page SMTP user is required to (#1020)
to be an email address.
Signed-off-by: P.B. <puffybsd@yahoo.com>
Dan Morrill [Fri, 24 Feb 2017 01:33:09 +0000 (17:33 -0800)]
Tweak docker target to work by default. (#1033)
Fix for #1013: adds "bindata" to tags by default, as without this the
resulting docker image won't start, as it doesn't contain locale files.
Verified to work even if you specify TAGS="bindata" such that it appears
twice.
bit [Fri, 24 Feb 2017 01:24:58 +0000 (02:24 +0100)]
s/fields/terms (#1031)
use terms instead of fields as variable name to avoid confusion: NewPhraseQuery(terms []string, field string)
Lunny Xiao [Thu, 23 Feb 2017 07:05:37 +0000 (15:05 +0800)]
added missing new struct sync (#1021)
Lunny Xiao [Thu, 23 Feb 2017 03:40:44 +0000 (11:40 +0800)]
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
Ethan Koenig [Thu, 23 Feb 2017 01:36:15 +0000 (20:36 -0500)]
Bug fixes and unit tests for org_team (#1016)
Andrey Nering [Thu, 23 Feb 2017 00:14:54 +0000 (21:14 -0300)]
Merge pull request #1017 from ethantkoenig/fix_lint
Fix lint errors
Ethan Koenig [Wed, 22 Feb 2017 22:10:45 +0000 (17:10 -0500)]
Fix lint errors
Lunny Xiao [Wed, 22 Feb 2017 14:03:59 +0000 (22:03 +0800)]
Refactor for issues loadattributes of a repository (#971)
* refactor for issues loadattributes of a repository
* refactors
Bo-Yi Wu [Wed, 22 Feb 2017 13:21:25 +0000 (21:21 +0800)]
Fix some links. (#1005)
Bo-Yi Wu [Wed, 22 Feb 2017 13:15:14 +0000 (21:15 +0800)]
fix: Wrong repo list on Explore page if user already loggin. (#1009)
* fix: Wrong repo list on Explore page if user already loggin.
* fix: code readable.
* fix: declare variable
Lunny Xiao [Wed, 22 Feb 2017 11:44:51 +0000 (19:44 +0800)]
fix panic when push but the only log mode console is disabled by serv and update commands (#1007)
Willem van Dreumel [Wed, 22 Feb 2017 07:14:37 +0000 (08:14 +0100)]
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)
Denis Denisov [Tue, 21 Feb 2017 15:02:10 +0000 (17:02 +0200)]
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
Thomas Boerger [Tue, 21 Feb 2017 14:38:38 +0000 (15:38 +0100)]
Added 1.0.2 to changelog (#998)
Lunny Xiao [Tue, 21 Feb 2017 13:34:05 +0000 (21:34 +0800)]
disable console output xorm log on ssh (#993)
Christoph König [Tue, 21 Feb 2017 01:14:37 +0000 (02:14 +0100)]
Fix typo (#990)
Willem van Dreumel [Tue, 21 Feb 2017 00:46:14 +0000 (01:46 +0100)]
add missing copyright header (#992)
Lunny Xiao [Mon, 20 Feb 2017 11:33:10 +0000 (19:33 +0800)]
update xorm for fixing bug on processor BeforeSet and AfterSet when Find a map (#987)
Lunny Xiao [Mon, 20 Feb 2017 08:11:13 +0000 (16:11 +0800)]
Make Xorm log configurable (#174)
* make xorm log configable
* bug fixed for other sub commands except web
* rebase and fix xorm log
* bug fix for TrimSpace
Andrew Boyarshin [Mon, 20 Feb 2017 03:13:20 +0000 (10:13 +0700)]
Fix table headers (#980)
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
Lunny Xiao [Sun, 19 Feb 2017 15:23:37 +0000 (23:23 +0800)]
add release cycle to contributing (#949)
Lunny Xiao [Sun, 19 Feb 2017 11:18:06 +0000 (19:18 +0800)]
Security: fix XSS attack on alert (#973)
Lunny Xiao [Sun, 19 Feb 2017 11:09:59 +0000 (19:09 +0800)]
Security: fix XSS attack on milestone (#976)
Reported by Miguel Ángel Jimeno.
Lunny Xiao [Sat, 18 Feb 2017 14:19:51 +0000 (22:19 +0800)]
fix docker link on install page (#964)
Bo-Yi Wu [Sat, 18 Feb 2017 10:23:37 +0000 (18:23 +0800)]
refactor: update debian script. (#965)
Ethan Koenig [Fri, 17 Feb 2017 08:02:11 +0000 (03:02 -0500)]
Unit tests for repo watching (#963)
Lunny Xiao [Fri, 17 Feb 2017 00:58:19 +0000 (08:58 +0800)]
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
Kim "BKC" Carlbäcker [Fri, 17 Feb 2017 00:58:01 +0000 (01:58 +0100)]
Add Screenshot-secion to IssueTemplate.md (#939)
For `UI`-bugs we usually require a Screenshot to debug it :wink:
Ethan Koenig [Fri, 17 Feb 2017 00:55:33 +0000 (19:55 -0500)]
Unit tests for repo redirects (#961)
Bo-Yi Wu [Thu, 16 Feb 2017 04:16:42 +0000 (12:16 +0800)]
fix: fill in ssh key title on setting of repo (#950)
* fix: fill in ssh key title on setting of repo
* fix: Don't overwrite ssh key title if exist.
Lunny Xiao [Thu, 16 Feb 2017 04:07:58 +0000 (12:07 +0800)]
optimization for team get repos (#953)
Lunny Xiao [Thu, 16 Feb 2017 04:07:00 +0000 (12:07 +0800)]
refactor notificationsForUser since xorm In support slice of customerize type (#956)
Lunny Xiao [Thu, 16 Feb 2017 04:06:23 +0000 (12:06 +0800)]
Small opitimization for getUserTeams (#954)
* Small opitimization for getUserTeams
* more compact
Unknwon [Wed, 15 Feb 2017 23:05:02 +0000 (18:05 -0500)]
Security: prevent XSS attach on wiki page
Reported by Miguel Ángel Jimeno.
Bo-Yi Wu [Wed, 15 Feb 2017 15:24:23 +0000 (23:24 +0800)]
test: Add testing for GetUserFork function (#944)
Bo-Yi Wu [Wed, 15 Feb 2017 14:28:11 +0000 (22:28 +0800)]
fix: 500 error on /explore/repos page. (#946)
Bo-Yi Wu [Wed, 15 Feb 2017 06:01:50 +0000 (14:01 +0800)]
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.
Lunny Xiao [Wed, 15 Feb 2017 01:32:03 +0000 (09:32 +0800)]
fix some older Gogs upgrade to Gitea (#929)
Lunny Xiao [Wed, 15 Feb 2017 01:25:21 +0000 (09:25 +0800)]
catch error on call setup on serv command (#932)
Lunny Xiao [Tue, 14 Feb 2017 16:02:03 +0000 (00:02 +0800)]
bug fixed on issues and pulls
Lunny Xiao [Tue, 14 Feb 2017 16:07:37 +0000 (00:07 +0800)]
fix ssh domain default value to domain (#930)
Lunny Xiao [Tue, 14 Feb 2017 15:37:44 +0000 (23:37 +0800)]
bug fixed for my repository (#933)
Lunny Xiao [Tue, 14 Feb 2017 14:15:18 +0000 (22:15 +0800)]
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
Lunny Xiao [Tue, 14 Feb 2017 14:14:29 +0000 (22:14 +0800)]
fix bug of multiple forks (#928)
Bo-Yi Wu [Tue, 14 Feb 2017 12:16:00 +0000 (20:16 +0800)]
feat: Able to disable non-admin to create new organization (#927)
Bo-Yi Wu [Tue, 14 Feb 2017 07:28:22 +0000 (15:28 +0800)]
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>
Lunny Xiao [Tue, 14 Feb 2017 06:12:52 +0000 (14:12 +0800)]
Use fingerprint to check instead content for public key (#911)
* use fingerprint to check instead content for public key
* add fingerprint field for ErrKeyAlreadyExist
Lunny Xiao [Tue, 14 Feb 2017 03:46:46 +0000 (11:46 +0800)]
Small optimization for getTeamIDs (#919)
* small optimization for getTeamIDs
* rename getOrgTeamIDs to getUserTeamIDs and remove orderby
Bo-Yi Wu [Tue, 14 Feb 2017 02:12:03 +0000 (10:12 +0800)]
fix: gofmt error. (#918)
Andrew Boyarshin [Tue, 14 Feb 2017 01:13:59 +0000 (08:13 +0700)]
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>
Bo-Yi Wu [Mon, 13 Feb 2017 11:49:42 +0000 (19:49 +0800)]
feat: add git version on admin panel. (#921)
Kim "BKC" Carlbäcker [Mon, 13 Feb 2017 02:35:57 +0000 (03:35 +0100)]
Add import-styleguide to Contributing.md (#912)
* Add import-styleguide to Contributing.md
Question: should we group all `code.gitea.io`-packages together as local imports? (including `code.gitea.io/sdk` and `code.gitea.io/git` etc)
* reorg
* be specific FFS
Andrey Nering [Mon, 13 Feb 2017 02:11:08 +0000 (00:11 -0200)]
Fix HighlightJS not working on compare diff page (#914)
Sandro Santilli [Thu, 5 Jan 2017 08:31:07 +0000 (09:31 +0100)]
Handle SetModel error, fixes one errcheck report (#257)
Ethan Koenig [Sat, 11 Feb 2017 17:11:07 +0000 (12:11 -0500)]
Fix logging bug
Error logged everytime an assignee was removed
Lunny Xiao [Sat, 11 Feb 2017 12:01:33 +0000 (20:01 +0800)]
small optimization for get issue labels
Andrew [Sat, 11 Feb 2017 12:57:33 +0000 (07:57 -0500)]
Implement basic Open Graph support. (#901)
Lunny Xiao [Sat, 11 Feb 2017 12:56:57 +0000 (20:56 +0800)]
Bug fixed for deleted label in issue comment (#904)
* bug fixed for deleted label in issue comment
* fix indent
Morgan Bazalgette [Sat, 11 Feb 2017 10:57:57 +0000 (11:57 +0100)]
Fix public activity showing private repos (#892)
* Fix public activity showing private repos (#811)
Signed-off-by: Morgan Bazalgette <the@howl.moe>
* error check after setting is_private to true
* Add test for UpdateRepository w/ visibility change
Andrew [Sat, 11 Feb 2017 09:53:47 +0000 (04:53 -0500)]
Add missing copyright header to status table test (#902)
Andrew [Sat, 11 Feb 2017 04:00:46 +0000 (23:00 -0500)]
Implement archive cleanup (#885)
* Implement archive cleanup
Fixes #769
Signed-off-by: Andrew <write@imaginarycode.com>
* Make sure to close the directory file
* Resolve issues noted by @strk
* edit cheatsheet app.ini [ci skip]
* oops [ci skip]
Lunny Xiao [Sat, 11 Feb 2017 04:00:29 +0000 (12:00 +0800)]
Add delete branch track on pull request comments (#888)
* add delete branch track on pull request comments
* don't change vendor
Bo-Yi Wu [Sat, 11 Feb 2017 04:00:01 +0000 (12:00 +0800)]
fix: trim the whitespaces for the search keyword (#893)
Lunny Xiao [Sat, 11 Feb 2017 03:55:22 +0000 (11:55 +0800)]
add vendoring back (#890)
Lunny Xiao [Fri, 10 Feb 2017 15:02:26 +0000 (23:02 +0800)]
update xorm vendor and also fix #740 (#886)
Ethan Koenig [Fri, 10 Feb 2017 01:30:26 +0000 (20:30 -0500)]
Fix bug in repos search (#884)
Lunny Xiao [Thu, 9 Feb 2017 09:59:57 +0000 (17:59 +0800)]
bug fixed for issue count (#881)
Bo-Yi Wu [Thu, 9 Feb 2017 09:58:05 +0000 (17:58 +0800)]
feat: fill in ssh key title automatically. (#863)
Ethan Koenig [Thu, 9 Feb 2017 06:39:26 +0000 (01:39 -0500)]
Unit tests for issue_milestone (#878)
Andrew [Thu, 9 Feb 2017 06:39:06 +0000 (01:39 -0500)]
Improve status table implementation (#879)
* Remove superfluous defer calls
* Improve status table implementation as well
This would probably only help with large, high-traffic installs
Ethan Koenig [Thu, 9 Feb 2017 05:44:18 +0000 (00:44 -0500)]
Gogs -> Gitea (#877)
Ethan Koenig [Thu, 9 Feb 2017 03:47:24 +0000 (22:47 -0500)]
Fix bug in Issue.GetIsRead (#876)
Andrey Nering [Thu, 9 Feb 2017 03:11:05 +0000 (01:11 -0200)]
Makefile: install on build (#874)
This install Go package on building for caching and faster builds
Lunny Xiao [Wed, 8 Feb 2017 14:13:48 +0000 (22:13 +0800)]
fix watchers templates breaks (#870)
Bo-Yi Wu [Wed, 8 Feb 2017 09:35:59 +0000 (17:35 +0800)]
fix: Admin can also search private user repository. (#869)
Ethan Koenig [Wed, 8 Feb 2017 06:29:21 +0000 (01:29 -0500)]
Fix consistency check (#866)
Ethan Koenig [Wed, 8 Feb 2017 06:29:07 +0000 (01:29 -0500)]
Use assert in legacy unit tests (#867)
Sandro Santilli [Wed, 8 Feb 2017 01:37:23 +0000 (02:37 +0100)]
Allow rendering alerts in dashboard (#856)
NOTE: useful when logging in via OpenID and connecting to user
Lunny Xiao [Tue, 7 Feb 2017 15:38:24 +0000 (23:38 +0800)]
fix releases count and resolved #764 (#857)
Lunny Xiao [Tue, 7 Feb 2017 15:33:18 +0000 (23:33 +0800)]
show tags on dashboard issues (#860)
Sandro Santilli [Tue, 7 Feb 2017 15:30:20 +0000 (16:30 +0100)]
social_register_hepler_msg -> social_register_helper_msg (#855)
* social_register_hepler_msg -> social_register_helper_msg
* register_hepler_msg -> register_helper_msg
Ethan Koenig [Tue, 7 Feb 2017 14:49:37 +0000 (09:49 -0500)]
Fix broken test fixture (#859)
José Olivio M. Pedrosa [Tue, 7 Feb 2017 14:32:34 +0000 (12:32 -0200)]
Update pt-BR translations (#840)
* Update pt-BR translations
* Minor updates to translations
* Change "Pull Request" to "pull request".
* Change "Problemas" to "Issues" to keep consistency.
* Change "Propriedade" to "propriedade".
* Change "Wiki" to "wiki".
* Rename "questão" to "issue".
* Update almost all the strings from "[action]" section.
* Added new pt-BR translations
Bo-Yi Wu [Tue, 7 Feb 2017 11:54:16 +0000 (19:54 +0800)]
feat: support paginater on star tab of user profile. (#845)
Ethan Koenig [Tue, 7 Feb 2017 11:47:55 +0000 (06:47 -0500)]
Consistency checks for unit tests (#853)
Stephen Brown [Mon, 6 Feb 2017 15:24:59 +0000 (16:24 +0100)]
Fixes #794 by moving emoji tag to the correct span (#848)
Signed-off-by: Stephen Brown <steve@evolvedlight.co.uk>
Bo-Yi Wu [Mon, 6 Feb 2017 15:18:36 +0000 (23:18 +0800)]
fix: wrong pages number which includes private repository count. (#844)
Andrew [Mon, 6 Feb 2017 15:17:18 +0000 (10:17 -0500)]
Minor English language file tweaks (#852)
* Minor language file tweaks (largely fixing awkward grammar).
Signed-off-by: Tux <write@imaginarycode.com>
* Modify federated_avatar_lookup_popup message