750 Commits (09a1b2a1f5ca4c510be2828635a790b2a775ac94)

Author SHA1 Message Date
Raphael Randschau 4f567edc6e Fix #933
Not sure why, but xorm ignores the num_issues and num_closed_issues
columns when updating, even though the values changed.

Listing them explicitly fixes the issue with the wrong issue counts
9 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 aa68e86206 Rewrite/simplify gogs serve 10 years ago
Peter Smit b6519f78c7 Remove collaborators when removing and transferring repository 10 years ago
Unknwon 685ed1f807 models: fix XORM API break
cmd/web.go: check version after load config
10 years ago
Peter Smit 0009a1d2b1 Fix access for team mode update 10 years ago
Peter Smit ddf7014b9b Rewrite of access migration
The old migration had a few issues:
 - It left old column names around
 - It did not give the right access levels for owners and admins

Also, this includes a migration that fixes the authorization of owner teams, which was previously ORG_ADMIN (instead of ORG_OWNER)
10 years ago
Unknwon 25f5a8d798 some fixes, but not done yet! 10 years ago
Unknwon 6b7d35eade fix mirror issues uncaught #941 10 years ago
Unknwon 6d0f3a07d4 code fix #941 caution: undertest 10 years ago
Unknwon b99c4baab2 models/migrations: finish accessRefactor 10 years ago
无闻 7fda0cdb93 Merge pull request #941 from phsmit/access_refactor
Access refactor
10 years ago
Unknwon 0b3722c359 models/migrations: fix little logic error 10 years ago
Unknwon 67a9416ae5 templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884 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
Peter Smit 2804784df9 Some comments and improvements for migrations 10 years ago
Unknwon 876a856759 models/migartions: make Migration as interface and use session 10 years ago
Unknwon 7e7160eefd first pass work on migration #925 10 years ago
Unknwon c5c467a9cd Merge branch 'dev' of github.com:gogits/gogs into access 10 years ago
Unknwon c7a042ef36 Merge branch 'access' of github.com:gogits/gogs into access 10 years ago
无闻 e805fdb29c Merge pull request #925 from phsmit/newcollaboration
Collaboration
10 years ago
Unknwon d02e45f985 better naming on #891 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
Unknwon bad533a219 models/repo.go: add update hook when migrate for #789 10 years ago
Peter Smit 0d158e569b Change constants to UPPERCASE_WITH_UNDERSCORE style 10 years ago
Peter Smit aa35be975f Fix #922 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 2a2596fe61 able to disable SSH for #883 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
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
无闻 02c5bade0f Merge pull request #892 from EtienneBruines/commit_reference
Referencing issues from commit messages is now possible.
10 years ago
Unknwon f706102890 models: sanitize user full name when update settings 10 years ago
Peter Smit fd1df86c44 Fix dashboard issue after collaboration migration 10 years ago
Peter Smit bef38d9d3f Fix collaboration migration code 10 years ago
Unknwon 4de0b19cec models: mirro code fix for #821 10 years ago
无闻 902f19f70b Merge pull request #821 from phsmit/fix_819
Fix #819 by fetching the repository from db before updating
10 years ago
Etienne Bruines 5c4b85c029 Referencing issues from commit messages is now possible.
Code-wise: the fixing-part of the code now doesn't reference the issue any more, because this is done by the referencing-part of the code, which is called just before.

Fixes #462, #668, #732.
10 years ago
Unknwon 0a2068d7fb models: code fix on #818 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 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 ee6786216a modules/base: clean code with #838 10 years ago
Peter Smit 76f8904718 Introducing Collaboration Struct 10 years ago
Peter Smit 4ef3245413 Migration code: errors are not to be forgotten 10 years ago
Peter Smit 2a70d6b723 Clean up migrations code 10 years ago
Peter Smit bb103e8723 Create db migrations framework 10 years ago
无闻 161774d4fb Merge pull request #825 from phsmit/ssh2_keys
Implement #798 Flexible ssh-key input
10 years ago
Unknwon 452cca35e0 Merge branch 'encoding' of github.com:gogits/gogs into dev
Conflicts:
	.gopmfile
10 years ago
Christopher Brickley d0827e5d5e allow http push by token - #842 10 years ago
Unknwon bb26285a12 fix #827 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 44fa9147b7 Fix #819 by fetching the repository from db before updating 10 years ago
Unknwon 0b56272c13 fix #805 10 years ago
Unknwon 3ea1443885 work on #784 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
无闻 477bea574a Merge pull request #782 from estetsenko/dev
fix for  #747
10 years ago
无闻 afdb0c7f9d Merge pull request #790 from euank/master
Initialize unset git user.email / user.name correctly; fix Dockerfile
10 years ago
Unknwon 63c1f9a23f fix 500: E-mail already used in user settings page 10 years ago
euank 234a7c19a4 Default values for both user.name and user.email
The previous behavior was to set default values only if user.name was
not set, but to always set it for both. This only sets a value if there
wasn't one; this fixes cases where someone has a user.name but no
user.email (see included Dockerfile) or someone has a user.email but no
user.name (before the email would have been over-written).
10 years ago
estetsenko bae1d65564 bugfix: Unable to assign any issue myself 10 years ago
Peter Smit 3af757ed77 Replace mahonia with the standard functions in the Golang Sub-repositories 10 years ago
Peter Smit 66e2016eeb Fix for wrong email query
Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change
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 c4820f119d work on #754 10 years ago
Peter 6919c80f0b Add function to the model for email address management (add/delete/activate) 10 years ago
Peter Smit 99599c099f Add alternative email addresses to the model
A new struct is created named EmailAddress that contains alternative
email addresses for users. Also the email related methods; IsEmailUsed
and GetUserByEmail are updated.

DeleteUser deletes the extra email addresses and DeleteInactivateUsers
also deletes inactive accounts. This could be factored out, but should
do it for now.
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
Unknwon 9a1fe801e5 fix #711 10 years ago
Joseph Crail 39c068400e Fix spelling errors in comments. 10 years ago
Unknwon 0b785ad967 work on #672 10 years ago
Unknwon e577f2fff3 fix #706 and other mirror improve 10 years ago
Andrew Burns 00cf3e4dab Use the avatar.HashEmail function instead of hashing email directly. Fixes #700 10 years ago
Unknwon 5338808600 fix #676 10 years ago
Unknwon d75013a0e8 fix #580 10 years ago
Unknwon 1b66600bd0 Fix #652 10 years ago
Unknwon dc53270da9 Fix 653 10 years ago
Unknwon 8ea7ba3afa fix #644 10 years ago
Unknwon ef275ebf62 more on change avatar 10 years ago
Unknwon 55dfe2c978 custom avatar upload 10 years ago
Unknwon 2d8c414f8c Fix #635 10 years ago
Unknwon ce8d4cc80b #634 10 years ago
Unknwon 1e47e2df85 quick fix 10 years ago
Unknwon 5d9ef2bb12 lock gopmfile 10 years ago
无闻 d21d7171b0 Merge pull request #587 from eryx/dev
Fix #266
10 years ago
Unknwon 32dcaefafa fox #620 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 4e7eb5be9d Work on #5 fork and fix #608 10 years ago
Unknwon 0c5ba4573a fix session API broken and SQL pretection 10 years ago
luto bff1e157d5 force the use of InnoDB as db engine for all tables, fixes #59 10 years ago
Eryx e84e0ab904 Fix #266 10 years ago
Unknwon 83283bca4c Safe work 10 years ago
Unknwon f1d8746264 Fix fork repo and macaron API broken 10 years ago
Christopher Brickley 3794111460 update slack hook to use new format 10 years ago
Unknwon a342d58d7e Able to fork repo to individuals 10 years ago
无闻 d7d167ac63 Merge pull request #560 from evolvedlight/master
First cut of fork repo
10 years ago
Tony Tsang e0f945959e Replace white spaces with tab for format consistency 10 years ago
Tony Tsang 91127d9016 Fixes #562 10 years ago
evolvedlight 8d2a6fc484 Merge remote-tracking branch 'upstream/dev'
Conflicts:
	models/repo.go
10 years ago
evolvedlight 29ac3980ff More changes 10 years ago
Unknwon c04aea8d9d Fix #540 10 years ago
Unknwon 0d7b9065c6 Fix #540 10 years ago
Unknwon 452ccff81c Mirror fix on add ssh key 10 years ago
Unknwon fb839ca0fb More debug info 10 years ago
Unknwon b7b7863364 Work on ssh key issue 10 years ago
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes 10 years ago
lunnyxiao e848b17fab bug fixed for #540 10 years ago
Unknwon b2632dec09 Page: Compare 2 commits 10 years ago
evolvedlight 211dc74816 Got the fork count working 10 years ago
Unknwon 79262173a6 Webhook delivery locking & Hide repo for org members if they don't have access 10 years ago
Unknwon 1aa76bd279 Fix #532, add system notice 10 years ago
Unknwon 263d409326 Basic xss prevention 10 years ago
evolvedlight c9e5e38fcf Initial cut of git fork 10 years ago
Unknwon 405ee14711 Fix SMTP auth logic 10 years ago
Unknwon 86eac0842b Fix feeds display issue 10 years ago
Unknwon 3cfa4a581c Bug: 500 when transfer repository to collaborator 10 years ago
fundon eb1e6f8e3e support dsa key format 10 years ago
无闻 c1d047d16e Merge pull request #508 from chadoe/homelink
Fix user HomeLink when using a suburl
10 years ago
无闻 38f71af363 Merge pull request #509 from chadoe/avatarlink
Fix AvatarLink when using a suburl
10 years ago
evolvedlight b7b0ee7df9 Fix minor typo 10 years ago
Martin van Beurden bb05ef907b Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached 10 years ago
Martin van Beurden 204952439a Fix user HomeLink when using a suburl 10 years ago
Unknwon b8368f98ff Add directory level commit message 10 years ago
Unknwon 10673417dc Mirror fix on transfer repo 10 years ago
Unknwon ad52b2d791 Mirror fix on transfer repo 10 years ago
Unknwon 71e4689d11 Page: User profile 10 years ago
Unknwon f69761563b Fix bug on transfer repo 10 years ago
lunnyxiao 089d934547 add action repousername for transfer 10 years ago
Unknwon bd55b78775 Page: Commits and fix #249 10 years ago
Unknwon 5bbeeb0f1b Page: Commits and fix #249 10 years ago
Christopher Brickley 25c8d01676 increase max commits in payload to 5 10 years ago