Commit Graph

888 Commits (db00aa7653937ce62d1ffa37661e50ea4bee80cd)

Author SHA1 Message Date
Unknwon 6c2536b89c fix timezone 10 years ago
Unknwon a5b09b30d0 print time to debug 10 years ago
Unknwon b846f195c1 work #1500 10 years ago
Unknwon 1453e91f41 minor fix on API response 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 47ac579f09 only assign auto-admin when sign up by web 10 years ago
Unknwon 4c7b6414eb new access token UI 10 years ago
Unknwon 6235bd1fe9 work on #986 and fix a LDAP crash 10 years ago
Unknwon b1696665bd make cron task configurable 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
无闻 ce8864c69a Merge pull request #1475 from donbowman/master
Fix race condition on ssh key delete, and revert re-revert of hard line break
10 years ago
Don Bowman 1d52793faf remove empty line as per https://github.com/gogits/gogs/pull/1475 10 years ago
Unknwon a52324a5f9 able sort issues 10 years ago
Unknwon a24141ec9c more on #1319 10 years ago
Unknwon 30b428bf0e #1419: 500 when visit a issue with issue/comments of deleted user 10 years ago
Unknwon e4d6b5d488 Creates hooks directory when init update hook 10 years ago
Unknwon cec38f2a8c able edit issue labels/milestone/assignee 10 years ago
Unknwon 2cc9bc8969 delete attachments when delete repo 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
Don Bowman ab0247b4dc race condition on keydelete 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 cafde1287e delete avatar when del user 10 years ago
Unknwon 34f6cbfc2a finish attachments when create issue 10 years ago
Unknwon 1ce4543a94 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2 10 years ago
Unknwon 64985c7faa fix template error 10 years ago
无闻 9c0c16bb5a Merge pull request #1464 from jamesa/hide-gravatar-tooltip
Hide avatar tooltips unless you're looking at your own profile
10 years ago
James Anderson e5146155a0 Resize avatars to the same size they are displayed 10 years ago
Unknwon cbc7b7132f finish new issue action and mentions 10 years ago
Unknwon 887bc1b594 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
10 years ago
Unknwon 2aea247208 minor fix on #1460 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 a79586cc54 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
#	templates/repo/header.tmpl
10 years ago
Unknwon 7372042441 list view: issue, label, milestone 10 years ago
Unknwon 590c464c56 UI: create issue with title and content 10 years ago
Unknwon 68b9d78386 remove sync.Pool and support go1.2 again 10 years ago
Unknwon 4b43ffc96c Generate random avatar based on e-mail when disable Gravatar 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 45adb9b7a3 fix #1331 10 years ago
Unknwon b1f08d3218 more on #1443 10 years ago
Unknwon d922b7e504 #1443 set first user to be admin
...not just ID=1
10 years ago
Unknwon 02877f1a69 remove useless code 10 years ago
Unknwon 9d414d4dd9 remove Index field of milestone 10 years ago
Unknwon 0acf209e2a fix UNIQUE 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 81d01aa308 fix mysql parsetime arg 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 b9527cd1bf #1299 force downcase e-mail 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 c44e1c7ca9 fix #1208 10 years ago
Unknwon 42a2c5ca54 #1400 use new connstr format for postgres 10 years ago
Vladimir Vissoultchev 4917d29c12 Partial impl of git diff encoding 10 years ago
Vladimir Vissoultchev fac4e27882 Allow spaces in file/dir names on parsing git diff 10 years ago
Unknwon f83519b452 report error when migration auth failed 10 years ago
Unknwon 686dd59916 fix #864 with migration and update locale 10 years ago
Unknwon 6f8e388b55 fix #1169
- prevent create reop on existed path
10 years ago
Unknwon fa298a2c30 #835: Realtime webhooks 10 years ago
Unknwon 2b1442f3df fix sql 10 years ago
Unknwon 2e7b38db9f fix paging links and issue count 10 years ago
Unknwon c0883a51a0 mirror fix on #1111 10 years ago
无闻 b838e94980 Merge pull request #1111 from vitalvas/develop
Add function in cron to autofix counters in repository
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 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 04e596f984 #1369: nil pointer when add repo to team 10 years ago
Unknwon 86dbda0b42 UI: basci issue list without filters
- fix isRead check
- fix paging
10 years ago
Unknwon d6cdd49c16 fixes on #1171 10 years ago
Unknwon 663c28beb6 #1279: Removing user from collaboration removes repositiory 10 years ago
Unknwon c6531c4882 check master as default branch when migrate 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
William Roush 8363c9dd0f Fixes issue with LDAP inserting users with blank names. 10 years ago
Tony Narlock 6a0fec77ea Allow an SSHDomain configuration option. Defaults to Domain, preserves legacy behavior 10 years ago
Dustin Willis Webber e57594dc31 typo fix for comment 10 years ago
Dustin Willis Webber f78046fc3b typo fix 10 years ago
Unknwon 9fb2d49b93 #1073 #1162 issue ID constraint failed 10 years ago
Unknwon 698b9e2acc #1070 Clearer error message for illegal characters 10 years ago
Unknwon 99b774e741 auto fix locale file name change 10 years ago
Unknwon ab730a91f0 #1120 #1132 mirror info not updated when transfer mirro repo 10 years ago
Unknwon aae74c793a #1133 add config option [service] DISABLE_MINIMUM_KEY_SIZE_CHECK 10 years ago
Unknwon 9c67a19332 #1089 change to fake local email account 10 years ago
Unknwon 6f81c05dde #1143 Team member access lost when adding repository collaborator
- fix bug when add a repo to team, all other team members gets access as well
10 years ago
Unknwon 484175f702 #1124 lower_name of LDAP user not assigned 10 years ago
Unknwon 2bb982dada #1080: Remove footer ads/branding from default template 10 years ago
Vitaliy Vasilenko 20a8d651f3 add func to autofix couters in repository 10 years ago
Unknwon 7cf0564587 update gopmfile 10 years ago
Unknwon e6cf83b8c0 Put default config into binary 10 years ago
Unknwon 82f7a01ded #1064: X-Gogs-Event header is empty 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 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 80b23854bc #1050: Bad permissions on authorized_keys after rewrite 10 years ago
Tomcat 2bfe2ddb6d Add mysql unix socket support.
If the host setting looks like a unix socket (leading by char '/'), will use unix(host) as connection string
10 years ago
Unknwon b72e75e522 #1024: OFFLINE_MODE Still Uses Gravatar 10 years ago
Unknwon b668fc7aad #876: Update hooks is missing for forked repository 10 years ago
Unknwon 0720d3988f #988: GetRepoLink already contains AppSubUrl 10 years ago
Unknwon 6b70a0c0d9 #1032: legacy code can have duplicated IDs for same repository 10 years ago
Unknwon 4aafeace23 fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls` 10 years ago
Unknwon 18c0697329 routers/repo/setting.go: fix LDAP cannot validate password #1006 10 years ago
Unknwon 63a73b43b4 models/migrations: fix update error 10 years ago
Unknwon a6a2f59d1d Merge branch 'access' of github.com:gogits/gogs into dev 10 years ago
Unknwon d446be9f5f models: mirror fix on #964 10 years ago
无闻 8d17ff8ce7 Merge pull request #964 from phsmit/access_rewriteserv
Rewrite/simplify gogs serve
10 years ago
Unknwon b0b11fd7b1 Merge branch 'access' of github.com:gogits/gogs into dev 10 years ago
Unknwon f44204e944 REAMDE: update 10 years ago
Unknwon 473e265727 models: done testing on new access system 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
无闻 cd8b43d984 Merge pull request #915 from Lafriks/dev
Get username, name, surname and e-mail from LDAP server
10 years ago
Peter Smit 556881964f Merge branch 'access' into access_rewriteserv 10 years ago
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 10 years ago
Unknwon e90f014e4a Merge branch 'access' of github.com:gogits/gogs into access 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 3fcc39c26b Merge branch 'dev' of github.com:gogits/gogs into dev 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
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
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 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