summaryrefslogtreecommitdiffstats
path: root/modules/auth
Commit message (Collapse)AuthorAgeFilesLines
...
* Squashed commit of the following:Richard Mahn2016-08-141-4/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* #2246 fully support of webhooks for pull requestUnknwon2016-08-141-4/+5
|
* Add support for federated avatars (#3320)Sandro Santilli2016-08-071-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Minor fix for go vetUnknwon2016-07-161-1/+1
|
* #2937 able to prohibit user loginUnknwon2016-07-161-0/+1
|
* #2709 validate username attribute fetched from LDAPUnknwon2016-07-121-7/+7
|
* The pruning for the synchronized mirrors is a option now. Default value: ↵Pablo Saavedra2016-07-091-0/+1
| | | | | | | | | | | | | 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
* Use SecurityProtocol to replace UseSSL in LDAP configUnknwon2016-07-082-25/+49
| | | | Initially proposed by #2376 and fixes #3068 as well.
* Fixes #3110 (#3136)Franz Schmidt2016-06-271-1/+1
|
* Add ServerName to tls.Config in LDAP auth (#3104)Paul Tötterman2016-06-011-0/+1
| | | | | | | | | | 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.
* Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992)Cosmin Stroe2016-04-221-0/+1
|
* Replace uuid module with original packageUnknwon2016-02-201-2/+2
|
* #2334 strip whitespace for migrate URLUnknwon2016-02-201-1/+1
| | | | Also fix a possible race condition while install
* LDAP: Make a bit more detailed log tracesAdam Strzelecki2016-02-201-1/+3
| | | | | This is useful especially to check whether we fetch right attributes, using right LDAP search base and in right order.
* LDAP: Fetch attributes in Bind DN context optionAdam Strzelecki2016-02-202-6/+27
| | | | | | | | | 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.
* LDAP: Use single connection in BindDN mode authAdam Strzelecki2016-02-201-19/+11
| | | | | | | | | | 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.
* Make log path requiredJosh Frye2016-02-121-1/+1
|
* Add install option for log pathJosh Frye2016-02-121-0/+1
|
* Fix #2221 LDAP username attribute must be fetchedAdam Strzelecki2016-02-071-1/+1
| | | | | This is fix-up for 573305f. Forgot to fetch AttributeUsername value from the LDAP server, so the setting was effectively not working as intended.
* Allow modification of a release if Content is empty (fix #2516)Florian Kaiser2016-01-301-1/+1
|
* #2497 incorrect error handle for team nameUnknwon2016-01-291-3/+3
|
* typo fixzhuharev2016-01-061-2/+2
|
* #2156 admin able to edit organization max repo creationUnknwon2015-12-111-5/+6
|
* #2154 fix form submit errorUnknwon2015-12-111-1/+1
|
* #2154 disable change user for non-local usersUnknwon2015-12-111-1/+1
| | | | - #2153 remove require for gravatar
* #2114 External URL for wikiUnknwon2015-12-111-0/+2
|
* #1575 Limit repo creationUnknwon2015-12-101-0/+1
|
* #2037 Add "New Mirror" button on DashboardUnknwon2015-12-091-3/+0
|
* #1984 Better mirror repo managementUnknwon2015-12-081-6/+10
|
* Fix misspelled wordsAlex Myasoedov2015-12-061-1/+1
|
* APIs: admin usersUnknwon2015-12-051-2/+2
|
* fix #1829 and fix #890Unknwon2015-12-041-0/+7
|
* refactor API routes and some work for #976Unknwon2015-12-041-73/+0
|
* LDAP: Optional user name attribute specificationAdam Strzelecki2015-12-022-46/+49
| | | | | | | | | | | | | | | 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.
* Merge branch 'feature/wiki' into developUnknwon2015-11-301-0/+19
|\
| * wiki: finish editUnknwon2015-11-271-3/+4
| |
| * wiki: finish newUnknwon2015-11-271-1/+1
| |
| * introduce git-shellUnknwon2015-11-261-0/+18
| |
* | Use better LDAP lib and should fix #1139Unknwon2015-11-261-1/+2
|/
* UI: long organization name in create repository owner listUnknwon2015-11-181-2/+2
|
* fix #1958Unknwon2015-11-151-5/+5
|
* #1896 fatal when no needed update taskUnknwon2015-11-041-1/+1
|
* #1511 Allow local import only for admin usersUnknwon2015-11-032-10/+45
|
* Merge pull request #1862 from nathan7/fix-private无闻2015-10-311-2/+2
|\ | | | | Fix the JSON field names for MigrateRepoForm
| * Fix the JSON field names for MigrateRepoFormNathan Zadoks2015-10-301-2/+2
| | | | | | | | For some reason, the field names for Private and Mirror got swapped.
* | #470 fix max length of emailUnknwon2015-10-291-2/+2
| |
* | work on #470 and fix miror JS issue when choose targets on compare and pullUnknwon2015-10-292-5/+11
|/
* Sanitizing input to LDAP authentication module.Sergio Benitez2015-10-261-3/+39
|
* fix import path, fix #1782Unknwon2015-10-157-15/+15
|
* #1525 Triggere mailer for admin created accountsUnknwon2015-09-251-5/+6
|