Valery Sizov and Dmitriy Zaporozhets
98423148c5
allow to use http in redirect url
2015-01-22 19:01:05 -08:00
Valery Sizov and Dmitriy Zaporozhets
20d10b6391
Application admin scaffold
2015-01-17 22:23:26 -08:00
Dmitriy Zaporozhets
589930bdce
Fix signup settings
2015-01-16 19:22:46 -08:00
Jacob Vosmaer
3c5c1a7802
Enable signup by default
2015-01-14 17:42:44 +01:00
Dmitriy Zaporozhets
be9f5589ed
Merge branch 'oauth_api_doc' into 'master'
...
OAuth2 API documentation
https://dev.gitlab.org/gitlab/gitlabhq/issues/1713
See merge request !1388
2015-01-13 19:56:43 +00:00
Valery Sizov
f07b165ab7
OAuth API documentation update
2015-01-12 19:29:06 -08:00
Jacob Vosmaer
dec168932e
Merge remote-tracking branch 'dev_gitlab_org/master' into git-http-blacklist
...
Conflicts:
CHANGELOG
2015-01-08 10:57:08 +01:00
Jacob Vosmaer
af56c1dd32
White-list requests from 127.0.0.1
...
On some misconfigured GitLab servers, if you look in production.log it looks
like all requests come from 127.0.0.1. To avoid unwanted banning we
white-list 127.0.0.1 with this commit.
2015-01-06 16:56:56 +01:00
Dmitriy Zaporozhets
f9ece12e87
Merge branch 'master' into oauth2_provider
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/views/layouts/nav/_profile.html.haml
2014-12-25 18:48:15 +02:00
Dmitriy Zaporozhets
63be16008e
Hide rack profiler by default
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-24 15:43:45 +02:00
Valery Sizov
e41dadcb33
Doorkeeper integration
2014-12-24 15:38:07 +02:00
Dmitriy Zaporozhets
bcc04adb13
Css/views cleanup after layout restyle
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-21 01:11:08 +02:00
Jacob Vosmaer
c8b2def2be
Add more comments explaining how we block IPs
2014-12-18 11:08:11 +01:00
Jacob Vosmaer
4a389e7616
Another comment fix
2014-12-16 12:46:55 +01:00
Jacob Vosmaer
49f4fe8c6e
Fix copy-paste error in comment
2014-12-16 12:43:38 +01:00
Jacob Vosmaer
764eaedf81
Improve Redis::Store monkey-patch robustness
2014-12-16 12:38:44 +01:00
Jacob Vosmaer
62ea02740d
Block Git HTTP Basic Auth after 10 failed attempts
2014-12-15 18:57:42 +01:00
Jacob Vosmaer
b8dfd63eac
Use the new SIDEKIQ_MEMORY_KILLER_MAX_RSS variable
2014-12-08 13:39:25 +01:00
Jacob Vosmaer
6491974554
Disable Sidekiq arguments logging by default
2014-12-01 18:58:37 +01:00
Jacob Vosmaer
64ab6c9ed5
Add 'MemoryKiller' Sidekiq middleware
...
When enabled, this middleware allows Sidekiq to detect that its RSS has
exceeded a maximum value, triggering a graceful shutdown. This
middleware should be combined with external process supervision that
will restart Sidekiq after the graceful shutdown, such as Runit.
2014-11-28 15:01:41 +01:00
Dmitriy Zaporozhets
f7bf892cca
Revert "gitlab shell works if multiple rubies installed"
...
This reverts commit 533f4cdf30 .
2014-11-18 17:14:36 +02:00
Ciro Santilli
533f4cdf30
gitlab shell works if multiple rubies installed
...
Before this it would fail because git hooks automatically prepend
things to the path, which can lead the wrong Ruby version to be called
in which dependencies are not installed.
To make sure that this is correct, the forked_merge_requests commented
out test that depends on this change was uncommented.
For that test to pass, it is also necessary to setup the mock server
on port 3001 under test_env.rb.
2014-11-18 11:38:23 +01:00
Marin Jankovski
d78e80fa74
Add email interceptor to prevent mail sending if email sending is disabled.
2014-10-27 13:05:50 +01:00
Marin Jankovski
d504ca8a0c
Add settings to disable email sending from GitLab.
2014-10-27 13:02:12 +01:00
Sullivan SENECHAL
593a287c8d
Add timezone configuration to gitlab.yml
2014-10-21 11:27:16 +02:00
Dmitriy Zaporozhets
ab2db486b8
Merge branch 'security-api-internal-publicity' into 'master'
...
Gitlab-shell identification
Part of gitlab/gitlabhq#1528
See merge request !1185
2014-10-20 10:47:43 +00:00
Jan-Willem van der Meer
61d9d4e2eb
Default the LDAP server label to LDAP
2014-10-17 18:08:26 +02:00
Jan-Willem van der Meer
d1c3864778
Prevent redeclaration of LDAP strategy
2014-10-17 18:03:34 +02:00
Valery Sizov
b5763e91cd
add gitlab-shell identification
2014-10-15 20:03:25 +03:00
Jan-Willem van der Meer
dcf6c26075
Only enable LDAP providers if LDAP is enabled
2014-10-15 09:53:16 +02:00
Jan-Willem van der Meer
6ce65a3e95
Use Hash syntax for LDAP server declaration
2014-10-14 13:13:59 +02:00
Jan-Willem van der Meer
fc5bfd1dc1
Move dynamic omniauth declarations to initializer
2014-10-14 09:31:06 +02:00
Jan-Willem van der Meer
e1cf9c15eb
Apply configuration changes for Multiple LDAP servers
2014-10-13 14:04:10 +02:00
Marin Jankovski
f7aba277e7
Add option to gitlab config to specify if LDAP server is active directory.
2014-09-30 12:07:31 +02:00
Jacob Vosmaer
e1f6fa6f18
Add backup upload support to the rake task
2014-09-29 15:03:08 +02:00
Wes Gurney
81a70bf515
Adding ability to configure webhook timeout via gitlab.yml
2014-09-12 11:38:14 -04:00
Jacob Vosmaer
185e7681d2
Move cache setup to config/application.rb
...
Before this change we were trying to configure Rails.cache in an
initializer. It seems that by the time the initializers are loaded,
Rails.cache is already instantiated, so changing the settings does not
achieve anything anymore. This was causing Rails to default to a file
storage cache instead of the Redis cache, which in turn broke `rake
cache:clear`.
2014-08-29 11:38:21 +02:00
Dmitriy Zaporozhets
c1d2640b2e
Merge branch 'redis_settings'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
2014-08-28 15:03:22 +03:00
Jacob Vosmaer
0a52b70b92
Hide configuration shenanigans in a block
...
I'm feeling paranoid about the scope variables like redis_config_file
get defined in. Hiding it in a block to limit the scope.
2014-08-27 16:36:38 +02:00
Jacob Vosmaer
6d785abaa9
Rename resque_url to redis_url_string
2014-08-27 16:32:59 +02:00
Jacob Vosmaer
c0b146899b
Store sessions in a Redis namespace
...
This makes less of a mess of the Redis root.
2014-08-26 13:44:39 +02:00
Jacob Vosmaer
9122823afc
Configure Redis cache for all environments
...
Also add support for connecting to Redis with Unix sockets.
2014-08-26 13:44:39 +02:00
Jacob Vosmaer
99b81be887
Expire Rack sessions after 1 week
2014-08-26 10:58:16 +02:00
Jacob Vosmaer
b70606287b
Create one big regular expresion for Rack::Attack
2014-08-22 09:56:39 +02:00
Marin Jankovski and Jacob Vosmaer
52e903e99f
Change rack attack example.
2014-08-22 09:56:39 +02:00
Jacob Vosmaer
ec381a9308
Use new git max_size in the settings initializer
2014-08-15 11:38:32 +02:00
Jacob Vosmaer
03ae6b89bd
Log Sidekiq arguments
2014-07-28 16:46:36 +02:00
Ayrton Araújo
07537faca7
Add support to set satellites timeout
2014-07-21 11:50:29 -04:00
Marin Jankovski
4024aa8e81
Try to keep token authenticable compatibility
2014-07-09 14:42:25 +02:00
Dmitriy Zaporozhets
76dca50abe
Fix password change. Fix test settings
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 23:40:08 +03:00