summaryrefslogtreecommitdiff
path: root/app/models/application_setting.rb
Commit message (Collapse)AuthorAgeFilesLines
* Annotate modelsStan Hu2016-01-061-2/+13
|
* reCAPTCHA is configurable through Admin Settings, no reload needed.Gabriel Mazetto2015-12-281-10/+18
|
* WIP require two factor authenticationGabriel Mazetto2015-12-241-26/+33
|
* Use method that creates runners registration tokenGrzegorz Bizon2015-12-231-0/+4
| | | | `runners_registration_token` now creates a new token if it is blank.
* Fixed Rubocop offensesGabriel Mazetto2015-12-151-6/+6
|
* Ensure that app settings contains runners registration tokenGrzegorz Bizon2015-12-111-0/+2
|
* Refactor `TokenAuthenticatable` to improve reusabilityGrzegorz Bizon2015-12-111-0/+3
| | | | | | | 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.
* Add `runners_registration_token` to ApplicationSettingsGrzegorz Bizon2015-12-111-1/+1
|
* Add custom UrlValidatorRobert Speicher2015-12-071-2/+2
|
* Fix application settings cache not expiring after changesStan Hu2015-12-041-7/+5
| | | | | | | 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
* Expire application settings from cache at startupStan Hu2015-11-251-2/+10
| | | | | | | | 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
* Expose artifacts pathci-artifacts-pathKamil Trzcinski2015-11-231-1/+1
|
* Annotate modelsDmitriy Zaporozhets2015-11-131-0/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #9825 from huacnlee/cache-application-settingDmitriy Zaporozhets2015-11-131-1/+7
|\ | | | | Add caching for ApplicationSetting, Ci::ApplicationSetting.
| * Add caching for ApplicationSetting, Ci::ApplicationSetting.Jason Lee2015-11-121-1/+7
| | | | | | | | | | | | | | | | | | | | 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 ```
* | Implement Build ArtifactsKamil Trzcinski2015-11-101-0/+1
|/ | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* Enable shared runners for all new projectsKamil Trzcinski2015-11-051-1/+2
|
* Validate admin notification email.Douwe Maan2015-10-181-0/+4
|
* Remove the option to disable CIrs-remove-ci-disableRobert Speicher2015-10-051-2/+1
| | | | | | This option only existed to ease the CI-to-CE/EE migration process. This commit partially reverts 8b05abe816b0c681ac218096b294311dd04fde8b
* Allow to disable GitLab CIKamil Trzcinski2015-09-181-1/+2
|
* FogBugz project importJared Szechy2015-09-081-1/+1
|
* Import sources: settings in the admin interfaceArtem Sidorenko2015-08-201-1/+14
|
* Re-annotate modelsAtsushi Ishida2015-08-031-2/+3
|
* Ensure `session_expire_delay` field exists before accessing itrs-issue-1798Robert Speicher2015-06-131-4/+4
| | | | Closes #1798
* session_expire_seconds => session_expire_delaythemaze752015-06-101-2/+6
| | | | | delay is in seconds more legible code in session_store Added `GitLab restart required` help block to session_expire_delay
* Add session expiration delay configuration through UI applicationEric Maziade2015-06-051-0/+2
| | | settings
* Allow to configure a URL to show after sign outAlex Lossent2015-05-291-0/+5
|
* Add option to disallow users from registering any application to use GitLab ↵user-oauth-applicationsDouwe Maan2015-05-291-0/+1
| | | | as an OAuth provider
* Re-annotate modelsStan Hu2015-05-031-4/+3
|
* Add application setting to restrict user signups to e-mail domainsStan Hu2015-05-021-2/+22
| | | | | | | | | | | This feature was requested long ago: http://feedback.gitlab.com/forums/176466-general/suggestions/4118466-ability-to-register-only-from-ceratain-domains This MR is based off !253 but changed to use application settings and use wildcard strings to give more flexibility in pattern matching. Regexps seemed overkill and easy to get wrong. Only restrict e-mail addresses upon creation
* Add new admin settingsVinnie Okada2015-04-261-1/+5
| | | | | Add new global application settings for default project and snippet visibility levels.
* Don't use URI.regexp to validate since it doens't have start/end anchors.Douwe Maan2015-04-111-1/+1
|
* Support configurable attachment size via Application SettingsStan Hu2015-04-021-1/+3
| | | | | | Fix bug where error messages from Dropzone would not be displayed on the issues page Closes #1258
* Fix restricted visibility bugsVinnie Okada2015-03-161-3/+5
| | | | | | Check for nil values in the restricted_visibility_level validation method, and set the restricted visibility request parameter to `[]` when it's missing from the request.
* Move restricted visibility settings to the UIVinnie Okada2015-03-071-11/+25
| | | | | Add checkboxes to the application settings page for restricted visibility levels, and remove those settings from gitlab.yml.
* Re-annotate modelsDmitriy Zaporozhets2015-03-041-11/+11
|
* Add link to share via twitter to "created project" event.Douwe Maan2015-02-131-0/+2
|
* Merge branch 'master' into mwessel/gitlab-ce-configure-protectionDmitriy Zaporozhets2015-02-031-1/+2
|\
| * Rubocop: Style/AlignHash enabledDmitriy Zaporozhets2015-02-021-1/+2
| |
* | Allow configuring protection of the default branch upon first pushMarco Wessel2015-01-251-0/+2
|/
* Annotate modelsDmitriy Zaporozhets2015-01-221-0/+15
|
* Validate application settings only if column existsDmitriy Zaporozhets2015-01-161-1/+6
|
* Allow to specify home page for non logged-in usersDmitriy Zaporozhets2015-01-161-0/+3
|
* Create ApplicationSettings if does not exist in runtimeDmitriy Zaporozhets2015-01-081-0/+10
|
* Init ApplicationSettings resource with defaults from config fileDmitriy Zaporozhets2015-01-081-0/+5