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
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 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
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 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
8 years ago
Unknwon
e3d3d424b2
Minor fix for go vet
8 years ago
Unknwon
c083d76567
#2937 able to prohibit user login
8 years ago
Unknwon
a752f09055
#2709 validate username attribute fetched from LDAP
8 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
8 years ago
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
8 years ago
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
8 years ago
Paul Tötterman
fb970b9d87
Add ServerName to tls.Config in LDAP auth ( #3104 )
...
From https://godoc.org/crypto/tls#Config
ServerName is used to verify the hostname on the returned
certificates unless InsecureSkipVerify is given. It is also included
in the client's handshake to support virtual hosting unless it is
an IP address.
This is needed for certificate validation without InsecureSkipVerify.
8 years ago
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
8 years ago
Unknwon
ac78bae7b5
Replace uuid module with original package
9 years ago
Unknwon
926e75d721
#2334 strip whitespace for migrate URL
...
Also fix a possible race condition while install
9 years ago
Adam Strzelecki
5649556a33
LDAP: Make a bit more detailed log traces
...
This is useful especially to check whether we fetch right attributes, using
right LDAP search base and in right order.
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
Adam Strzelecki
e2f95c2845
LDAP: Use single connection in BindDN mode auth
...
According to RFC 4511 4.2.1. Processing of the Bind Request "Clients may send
multiple Bind requests to change the authentication and/or security
associations or to complete a multi-stage Bind process. Authentication from
earlier binds is subsequently ignored."
Therefore we should not use 2 connections, but single one just sending two bind
requests.
9 years ago
Josh Frye
8ab5399e83
Make log path required
9 years ago
Josh Frye
a3e8c32a30
Add install option for log path
9 years ago
Adam Strzelecki
3808638df1
Fix #2221 LDAP username attribute must be fetched
...
This is fix-up for 573305f
. Forgot to fetch AttributeUsername value from the
LDAP server, so the setting was effectively not working as intended.
9 years ago
Florian Kaiser
abc5abce30
Allow modification of a release if Content is empty ( fix #2516 )
9 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
9 years ago
zhuharev
0d5dc8a064
typo 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
2a0bb1fa90
#1575 Limit repo creation
9 years ago
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Alex Myasoedov
ae54d878c0
Fix misspelled words
9 years ago
Unknwon
978dc00305
APIs: admin users
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
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
dcb391d341
Merge branch 'feature/wiki' into develop
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
aaa3f1b2b9
Use better LDAP lib and should fix #1139
9 years ago
Unknwon
f04d773f4f
UI: long organization name in create repository owner list
9 years ago
Unknwon
18de67380c
fix #1958
9 years ago
Unknwon
f255b1e86d
#1896 fatal when no needed update task
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
无闻
91c9069c4d
Merge pull request #1862 from nathan7/fix-private
...
Fix the JSON field names for MigrateRepoForm
9 years ago
Nathan Zadoks
f1aa4c0524
Fix the JSON field names for MigrateRepoForm
...
For some reason, the field names for Private and Mirror got swapped.
9 years ago
Unknwon
073da3c49d
#470 fix max length of email
9 years ago
Unknwon
7d72c8333e
work on #470 and fix miror JS issue when choose targets on compare and pull
9 years ago
Sergio Benitez
630ebbe6c2
Sanitizing input to LDAP authentication module.
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
21e13cb51e
#1525 Triggere mailer for admin created accounts
9 years ago
Unknwon
6a1907d994
revert simple LDAP userDN and update example
9 years ago
Unknwon
e4ecbcdf4a
new sign in page
9 years ago
Unknwon
f5c7f22cc8
#1637 able to skip verify for LDAP
9 years ago
Unknwon
2bc3e83e1c
fix simple LDAP userDN
9 years ago
Unknwon
5f1183cecf
#697 add install option
9 years ago
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
9 years ago
Unknwon
e5ed5904c6
#1606 GUI bug while adding ldap user
9 years ago
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
9 years ago
Unknwon
cd37fccdfb
#1625 remove auto_register and makes it default
9 years ago
Unknwon
362d64df04
#1620 add allowed domains for SMTP auth
9 years ago
Unknwon
121a81a2c5
finish new edit auth UI
9 years ago
Unknwon
0617448282
finish new add auth UI
9 years ago
Unknwon
cbd6276200
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
9 years ago
Unknwon
52ec80fa18
finish all new user settings UI
9 years ago
Sergio Benitez
964d0262ff
Merged conflicts.
9 years ago
Unknwon
cc83043edc
minor fix on template
9 years ago
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon
edc99bc8a4
new org options UI
9 years ago
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
9 years ago
Sergio Benitez
079a2d68db
Minor fixes to the LDAP module readme
9 years ago
Sergio Benitez
0f07a5cb84
Updated the LDAP auth module README.
9 years ago
Sergio Benitez
aa9c36514f
Merged conflicts.
9 years ago
Sergio Benitez
2d1db4bf05
Added LDAP simple auth support.
9 years ago
Unknwon
07fe846c9f
#1579 change e-mail max length to 254
9 years ago
Unknwon
38eb000d13
work on #1570
9 years ago
Unknwon
7ec991326d
fix migrate api
9 years ago
Unknwon
e5b105e513
fix migrate API
9 years ago
Unknwon
65e73c4ac6
support URL param to token, but still restrict to APIs
9 years ago
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
9 years ago
Unknwon
f1adbca0f1
#1554 check adminFilter length before LDAP search
9 years ago
Unknwon
c6b039c6f9
new repo options UI
9 years ago
Unknwon
302938e646
#1333 Disable Gravatar option when install
9 years ago
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
9 years ago
Unknwon
55ddf225bb
webhook APIs
9 years ago
Unknwon
f509c59ac1
new create webhook event
9 years ago
Unknwon
bb3b90fcd6
#1487 Readme Template
9 years ago
Unknwon
46bee50e45
complate list of gitignores and licenses
9 years ago
Unknwon
c08600c59b
new edit webhook UI
9 years ago
Unknwon
4217c2333c
new create webhook UI
9 years ago
Unknwon
bd1d7d1509
Able to set SSH port when install, update Docker docs
9 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.
9 years ago
Unknwon
03b85b73af
token recent activity
9 years ago
Unknwon
4c7b6414eb
new access token UI
9 years ago
Unknwon
6235bd1fe9
work on #986 and fix a LDAP crash
9 years ago
Unknwon
71fd10dd37
change minimum password length to 1
9 years ago
Unknwon
407385db7e
work on #1493
9 years ago
Sergio Benitez
bb8e763ede
Small style fixes to the LDAP module README
9 years ago
Unknwon
55ccb00a47
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
9 years ago
Unknwon
1fb53067f4
finish close/reopen issue
9 years ago
Unknwon
133b19d0c5
finish view comments on issue page
9 years ago
Sergio Benitez
f8a4ab25fd
Updated the LDAP module readme.
9 years ago
Sergio Benitez
7d84d4a8f0
Significantly enhanced LDAP support in Gogs.
9 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
9 years ago
Unknwon
922f3f3062
finish create issue with labels
9 years ago
Unknwon
590c464c56
UI: create issue with title and content
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
9 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
9 years ago
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
9 years ago
Unknwon
3e4cdccf6b
milestone: create page
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Unknwon
487fc8ca39
fix #1439
9 years ago
Unknwon
54b58e988d
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
9 years ago
Unknwon
70d44e9565
Merge branch 'master' of github.com:gogits/gogs into develop
9 years ago
无闻
d86c4841fa
Merge pull request #1309 from stettberger/master
...
settings/password: no minimal required characters for OldPassword
9 years ago
无闻
91ab2538c3
Merge pull request #1244 from jamesa/develop
...
Add full name field to admin's user edit page (fixes #1130 )
9 years ago
Unknwon
dc4aab9925
UI: CURD labels
...
- fix update lable break connection with repository
9 years ago
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
9 years ago
Unknwon
548b95f7b5
fix install form def
9 years ago
Unknwon
ff051e2106
#1128 : API calls are not hidden behind sign in
9 years ago
Unknwon
81adbe17ca
use pam and update TRANSLATORS
9 years ago
Unknwon
a2a9e151f8
install - add mail from setting
9 years ago
Unknwon
b9dc2147b4
UI: install - done
9 years ago
Unknwon
5cf3732339
UI: install - new version
9 years ago
Christian Dietrich
b36134194c
settings/password: no minimal required characters for OldPassword
...
If users are added to gogs due a reverse proxy automatically, their password is
set to their initial username. If their username is shorter than 6 characters,
they can never set a password. But since this password is required for some
operations (e.g. repository deletion), they could not use all features of gogs
until now.
9 years ago
James
f3aab5dbe3
Add full name field to admin's user edit page ( fixes #1130 )
9 years ago
Paolo Borelli
182003aa41
Add PAM authentication
9 years ago
Unknwon
211596f407
#1124 LDAP add and edit form are misleading
10 years ago
Unknwon
33894591a6
#851 : Edit Account does not take into consideration password rules
10 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
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
无闻
cd8b43d984
Merge pull request #915 from Lafriks/dev
...
Get username, name, surname and e-mail from LDAP server
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
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
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
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
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
Unknwon
9803c421f5
fix binding api broken
10 years ago
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon
bc8721fb6c
Finish new UI for release page
10 years ago
Joseph Crail
39c068400e
Fix spelling errors in comments.
10 years ago
Unknwon
0b785ad967
work on #672
10 years ago
Unknwon
069486d169
fix #165
10 years ago
Unknwon
ef275ebf62
more on change avatar
10 years ago
Unknwon
55dfe2c978
custom avatar upload
10 years ago