1111 Commits (db3905c0a39423057ad720dd84764f5a64de5312)

Author SHA1 Message Date
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.
8 years ago
Unknwon 341da3cea7 Fix inappropriate markdown post process end tag check
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
8 years ago
Unknwon 2408df3f35 Merge pull request #2663 from Download-Fritz/MirrorForks
#2505 Allow to fork and disallow to create PRs for mirrors.
8 years ago
Download-Fritz a467184e13 #2505 Allow to fork and disallow to create PRs for mirrors. 8 years ago
Unknwon 736a46dff9 Merge pull request #2659 from joshfng/fix-issue-email-format
Fix issue email formatting. Addresses #2331
8 years ago
Josh Frye 0f1b26ed1e Fix issue email formatting. Addresses #2331 8 years ago
Unknwon 338af89d56 #2650 fix possbility that use email as pusher user name
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.

Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
8 years ago
Gibheer 12403bdfb0 allow native and ssh-keygen public key check
This commit adds the possibibility to use either the native golang
libraries or ssh-keygen to check public keys. The check is adjusted
depending on the settings, so that only supported keys are let through.

This commit also brings back the blacklist feature, which was removed in
7ef9a05588. This allows to blacklist
algorythms or keys based on the key length. This works with the native
and the ssh-keygen way.

Because of #2179 it also includes a way to adjust the path to
ssh-keygen and the working directory for ssh-keygen. With this,
sysadmins should be able to adjust the settings in a way, that SELinux
is okay with it. In the worst case, they can switch to the native
implementation and only loose support for ed25519 keys at the moment.
There are some other places which need adjustment to utilize the
parameters and the native implementation, but this sets the ground work.
8 years ago
Unknwon 9cf4fe043b Add env var check for update 9 years ago
Unknwon 632c27802c Minor fix for #2624 9 years ago
Unknwon 58e004f7da Remove cache avatar support and add its tests 9 years ago
Unknwon aa5e837c65 fix #2454 9 years ago
Unknwon de3be370f7 Remove unused tests
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
9 years ago
Josh Frye 8ab5399e83 Make log path required 9 years ago
Josh Frye 1feecd6beb Add helper text for log path. 9 years ago
Josh Frye a3e8c32a30 Add install option for log path 9 years ago
Unknwon 5258ee3740 Update locales and update sponsor 9 years ago
Unknwon 297e772c20 #2485 fix payloads mixed up for webhook
When repository contains a Slack type hook,
it changes original payload content.

This patch fixes it by using a local object to store
newly created Slack payload instead of assigning
back to the same variable.
9 years ago
Andrey Nering e40d94bb4f Implementing the "theme-color" meta tag.
Used by Android >= 5.0 to make the top bar colored.

Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
9 years ago
Unknwon 08ff1b7d4b Merge pull request #2579 from nanoant/patch/fix-ldap-username
Fix #2221 LDAP username attribute must be fetched
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
Unknwon ee53204e02 Improve db path prompt when install 9 years ago
Unknwon f15a2f9b25 Merge pull request #2528 from andreynering/diff-sintax-highlight-733
Enable syntax highlighting on diff view
9 years ago
Unknwon acfc942ad7 Generate CSS for #2561 9 years ago
Unknwon 4e96a4a62b Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
Feature/markdown custom url scheme
9 years ago
Unknwon 8e40f86d2c #2556 handle space in image URL 9 years ago
Andrey Nering 2bfb8bb5fd Enable sintax highlighting on diff view. Close #733 9 years ago
Unknwon ddf9fa06c7 Minor fix for #2530 9 years ago
Unknwon 739d5aa1d3 Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
Hide other teams & repos from organization page
9 years ago
Unknwon 04be8c0de5 #2554 reinitialize all repos from the db
- Update locales
9 years ago
Unknwon 1c74612b3c Minor fix for #2444 9 years ago
Unknwon 3abad75a1b Fix one user may block entire listen loop for builtin SSH 9 years ago
Unknwon 4848620594 #2229 adjust URL verbose depth for reverse proxy sub-path 9 years ago
Florian Kaiser 9cf95e4e37 Organization owners see all repositories & teams 9 years ago
Florian Kaiser 8c4588c4c9 Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin 9 years ago
Florian Kaiser e35791b2b2 Only show teams the user has access to 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
Unknwon a4a23c0268 Merge pull request #2508 from MilesPong/develop
Fixed gravatar url
9 years ago
miles@Oscar beefc53e59 Using https for gravatar 9 years ago
miles@Oscar 1becf01cfa Fixed gravatar url 9 years ago
Unknwon b900150b1d Update locales 9 years ago
Kim "BKC" Carlbäcker 1ab8a60d73 Not working, but slightly better... 9 years ago
Kim "BKC" Carlbäcker 3a9fd81f59 Custom URL-Schemas for Markdown 9 years ago
Unknwon e33ddac9bf Minor fix for #2396 9 years ago
Unknwon 71b9537393 Merge pull request #2396 from bkcsoft/feature/markdown-checklist
[Feature] Markdown Checklist-rendering
9 years ago
Unknwon b33abc6280 Merge pull request #2432 from nd/develop
Fix #2431 - handle requests waiting for reply
9 years ago
Unknwon 38efa72146 Update locales 9 years ago
Pourya Daneshvar 863ff19e1f Fixed forgotten err variable assignment 9 years ago
Dmitry Neverov fb99d50fa1 Fix #2431 - handle requests waiting for reply
According to the docs [1], the Reply method must be called for all
requests where WantReply is true. This fixes a hanging java ssh
implementation (jsch) which sets WantReply flag and waits for reply from
the server.

[1] https://godoc.org/golang.org/x/crypto/ssh#Request.Reply
9 years ago
Unknwon 7ef9a05588 #2179 use Go sub-repo ssh to verify public key content 9 years ago
Kim "BKC" Carlbäcker a1a4f1103c Made Sanitizer-setup cleaner 9 years ago
Kim "BKC" Carlbäcker 8e09e03127 Checklist-rendering implemented 9 years ago
Unknwon f43cc90841 #2287 Truncate repository name if too long 9 years ago
Unknwon a2ef9a2b64 update locale 9 years ago
Unknwon db719abff2 stop compile bindata for TRANSLATORS
- update required version of git-module for #2373
9 years ago
Unknwon cc8c67ff29 fix markdown autolink error 9 years ago
Unknwon ca35ddd078 fix #2350 9 years ago
zhuharev 0d5dc8a064 typo fix 9 years ago
Unknwon 0cb7396840 update locale 9 years ago
Kim "BKC" Carlbäcker 8fe5d887ae Changed name from inline to unified 9 years ago
Kim "BKC" Carlbäcker 4e6d048ba1 i18n-fix for split-view 9 years ago
Unknwon 7392b6a755 fix #2327 9 years ago
Unknwon 4993ab1a76 #2185 fall back to use custom chardet lib 9 years ago
Unknwon 44637f03cc #2282 fast detection of utf-8 9 years ago
Unknwon 93f03707a7 #2283 set text/plain for non-binary files in raw mode 9 years ago
Unknwon 85af36332b #2282 fix utf-8 recognized as windows-1252 9 years ago
Unknwon 13fe733037 #2264 use monospaced font for commit IDs in news feeds 9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon c62a6b7a12 #2014 allow switch branches between two orgs in compose PR 9 years ago
Unknwon 53eb37d529 fix #1436 9 years ago
Unknwon 2d3ecbe5b2 make mailer log more verbose 9 years ago
Unknwon 09c981846b update locales 9 years ago
Unknwon 037a01c4e4 fix #2189 9 years ago
Unknwon 1d95844d55 prepare release 9 years ago
Unknwon 1e7e092992 #2103 Ability to map extensions for syntax highlighting in config 9 years ago
Unknwon 9cd16c5b12 #1692 add organization APIs 9 years ago
Unknwon 6673dcb038 #2103 #2181 improvments of highlight class name 9 years ago
Unknwon b117befc2b #1692 add user email APIs 9 years ago
Unknwon 8ecbf0f16d fix #2204 9 years ago
Unknwon 19423957b1 rename import path 9 years ago
Unknwon ea375c0dcc new template func 9 years ago
Unknwon acdb4d8bdd Drop Go 1.3 support 9 years ago
Unknwon 95f9c85bcc #2185 use Go sub-repo to detect encoding 9 years ago
Bruno 9a27e5ccdc ignore invalid env 9 years ago
Unknwon 7e88420bc6 #2161 fix wrong regexp 9 years ago
Unknwon 5911fc3512 #2161 No issue linking in commits when issue number in brackets 9 years ago
Unknwon e444a67d59 update locales 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 98da7241a0 fix sqlite3 cannot create repo 9 years ago
Unknwon 40f3142264 #2114 External URL for wiki 9 years ago
Unknwon 3d5d61778a #1938 #1374 disable password change for non-local users 9 years ago
Unknwon df5ed64cca #1301 "read-only" users 9 years ago
Unknwon 2a0bb1fa90 #1575 Limit repo creation 9 years ago
Unknwon c6083c335e #1612 Ability to send mail when a new pull request is submitted 9 years ago
Unknwon 9a2e43bff2 move out git module and #1573 send push hook 9 years ago
Unknwon bd5dc626e8 Merge pull request #2139 from angus-g/fixes/pr-messages
Reword messages for PR auto merging (#2117)
9 years ago
Angus Gibson 626dc1f0bd Reword messages for PR auto merging (#2117) 9 years ago