Felipe Artur
ecce94d3aa
fix default send confirmation value
2016-05-16 16:53:11 -03:00
Douwe Maan
7fc51d1908
Merge branch 'health-check-route'
...
# Conflicts:
# db/schema.rb
2016-05-12 16:39:03 -05:00
Andrei Gliga
8313476f5e
no schema info for ApplicationSetting
2016-05-12 13:44:46 +03:00
Andrei Gliga
81d0a4a473
typo
2016-05-12 13:44:46 +03:00
Andrei Gliga
47ee5125e8
validate disabled_oauth_sign_in_sources in ApplicationSe
2016-05-12 13:44:46 +03:00
Andrei Gliga
d8085d8e12
default value for disabled_oauth_sign_in_sources in create_from_defaults @ ApplicationSetting
2016-05-12 13:44:46 +03:00
Andrei Gliga
ca28858725
serialize the disabled_oauth_sign_in_sources
2016-05-12 13:44:46 +03:00
DJ Mountney
160ef66d1b
Add health_check access token, and enforce on the health_check endpoint
...
Also added a health check page to the admin section for resetting the token.
2016-05-10 08:46:02 -07:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
...
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.
Fixes : #17382
2016-05-09 18:00:28 +02:00
Zeger-Jan van de Weg
47da013cf8
Annotate the models
2016-05-06 08:27:46 +02:00
Jacob Vosmaer
b37d3b9423
Add repository_checks_enabled setting
2016-04-12 16:21:23 +02:00
connorshea
85cc172959
Remove "Congratulations!" tweet button on newly-created project.
...
I’ve removed everything related to the feature based on this commit:
ce08f919f34fd8849834365
Resolves #10857 .
2016-03-31 17:09:36 -06:00
Felipe Artur
c3e70280df
Prevent projects to have higher visibility than groups
...
Prevent Groups to have smaller visibility than projects
Add default_group_visibility_level to configuration
Code improvements
2016-03-10 10:38:36 -03:00
Rémy Coutable
b3635ee46a
Re-add EmailValidator to avoid the repetition of format: { with: Devise.email_regexp }
2016-02-09 18:15:35 +01:00
Rémy Coutable
b34963bc12
Validate email addresses using Devise.email_regexp
...
Also:
- Get rid of legacy :strict_mode
- Get rid of custom :email validator
- Add some shared examples to spec emails validation
2016-02-09 18:15:35 +01:00
Douwe Maan
f86ff1b833
Merge branch 'fix/max-attachment-size-setting-validation'
2016-02-09 16:52:20 +01:00
Jason Lee and Rémy Coutable
9474e36f46
Add option to include the sender name in body of Notify email. fix #7824
2016-02-09 12:58:13 +01:00
Grzegorz Bizon
1cbc75b53c
Validate maximum attachment size in application settings
...
`max_attachment_size` in `ApplicationSetting` should be present,
only integers greater than zero are valid.
Closes #13188
2016-02-09 12:11:16 +01:00
Stan Hu and Douglas Barbosa Alexandre
d20e75a8d8
Support Akismet spam checking for creation of issues via API
...
Currently any spam detected by Akismet by non-members via API will be logged
in a separate table in the admin page.
Closes #5612
2016-02-02 11:25:44 -02:00
Robert Speicher
ca05054ea2
Partially revert "Add IP check against DNSBLs at account sign-up"
...
This partially reverts 6a5cd3ca - we keep the migration and add a new
migration that reverts it in order to keep migration history intact.
2016-01-28 16:28:19 -05:00
Robert Speicher
1553c560e0
Merge branch 'feature/check-against-rbl-only' into 'master'
...
Split from !2455
References #9092
See merge request !2515
2016-01-20 14:24:20 -05:00
Tomasz Maczukin
8536e083f7
Add IP blocking against DNSBL at sign-up
2016-01-20 15:28:19 +01:00
Jeroen Nijhof
85e0fce9ee
Add sentry integration
2016-01-18 17:15:10 +01:00
Stan Hu
79c0e7212a
Annotate models
2016-01-06 13:09:55 +00:00
Gabriel Mazetto
a3469d914a
reCAPTCHA is configurable through Admin Settings, no reload needed.
2015-12-28 18:50:29 -02:00
Gabriel Mazetto
33964469b3
WIP require two factor authentication
2015-12-24 19:00:18 -02:00
Grzegorz Bizon
3e6950481a
Use method that creates runners registration token
...
`runners_registration_token` now creates a new token if it is blank.
2015-12-23 11:45:17 +01:00
Gabriel Mazetto
b5291f9599
Fixed Rubocop offenses
2015-12-15 00:53:52 -02:00
Grzegorz Bizon
5a7b94f6d1
Ensure that app settings contains runners registration token
2015-12-11 10:39:39 +01:00
Grzegorz Bizon
9948e5bcdd
Refactor TokenAuthenticatable to improve reusability
...
This adds a ability to use multiple different authentication token
fields in other models. From now on it is necessary to add
authentication token field manually in each class that implements this
mixin.
2015-12-11 10:39:39 +01:00
Grzegorz Bizon
4a32b07d9e
Add runners_registration_token to ApplicationSettings
2015-12-11 10:39:39 +01:00
Robert Speicher
d5ea93469b
Add custom UrlValidator
2015-12-07 16:57:26 -05:00
Stan Hu
32b45493b8
Fix application settings cache not expiring after changes
...
cache_key is an instance method that relies on updated_at. When changes
were made, the time-dependent key was being used instead of X.application_setting.last.
Closes #3609
2015-12-04 07:11:25 -08:00
Stan Hu
e55473ad68
Expire application settings from cache at startup
...
If a DB migration occurs, there's a chance that the application settings are
loaded from the cache and provide stale values, causing Error 500s.
This ensures that at startup the settings are always refreshed.
Closes #3643
2015-11-25 11:30:33 -08:00
Kamil Trzcinski
11728b50f9
Expose artifacts path
2015-11-23 13:05:22 +01:00
Dmitriy Zaporozhets
a237999f00
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-13 19:22:46 +01:00
Dmitriy Zaporozhets
37465f44b4
Merge pull request #9825 from huacnlee/cache-application-setting
...
Add caching for ApplicationSetting, Ci::ApplicationSetting.
2015-11-13 10:15:52 +01:00
Jason Lee
2e4a673cbc
Add caching for ApplicationSetting, Ci::ApplicationSetting.
...
ApplicationSetting.current was called in every pages, cache it and expires it after it updated.
This changes will avoid a SQL query in every pages (~0.3 - 0.5ms).
```SQL
SELECT "application_settings".* FROM "application_settings" ORDER BY "application_settings"."id" DESC LIMIT 1
```
2015-11-12 17:19:03 +08:00
Kamil Trzcinski
d0e3e823a2
Implement Build Artifacts
...
- Offloads uploading to GitLab Workhorse
- Use /authorize request for fast uploading
- Added backup recipes for artifacts
- Support download acceleration using X-Sendfile
2015-11-10 12:51:50 +01:00
Kamil Trzcinski
b18671a1b2
Enable shared runners for all new projects
2015-11-05 17:02:02 +01:00
Douwe Maan
551512b147
Validate admin notification email.
2015-10-18 11:58:59 +02:00
Robert Speicher
fc59c45d58
Remove the option to disable CI
...
This option only existed to ease the CI-to-CE/EE migration process.
This commit partially reverts 8b05abe816
2015-10-05 12:23:38 -04:00
Kamil Trzcinski
e41a29b0c3
Allow to disable GitLab CI
2015-09-18 12:46:47 +02:00
Jared Szechy
e156f42079
FogBugz project import
2015-09-08 20:23:01 -04:00
Artem Sidorenko
55dca86b98
Import sources: settings in the admin interface
2015-08-20 11:28:27 +02:00
Atsushi Ishida
f33898ecfb
Re-annotate models
2015-08-03 01:52:54 +09:00
Robert Speicher
567a25b630
Ensure session_expire_delay field exists before accessing it
...
Closes #1798
2015-06-13 00:31:08 -04:00
themaze75 and Eric Maziade
1d080f5745
session_expire_seconds => session_expire_delay
...
delay is in seconds
more legible code in session_store
Added `GitLab restart required` help block to session_expire_delay
2015-06-10 22:10:00 -04:00
Eric Maziade
84a414fe53
Add session expiration delay configuration through UI application
...
settings
2015-06-05 11:50:37 -04:00
Alex Lossent
60225a067d
Allow to configure a URL to show after sign out
2015-05-29 18:20:15 +02:00