Commit graph

16 commits

Author SHA1 Message Date
GitLab Bot
4ab54c2233 Add latest changes from gitlab-org/gitlab@master 2019-09-17 14:16:34 +00:00
GitLab Bot
b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Robert Speicher
04a3e48c2a
Use class methods for VersionCheck
All of these methods are stateless, there was no point to have them as
instance methods.

Mostly this allows us to remove an `allow_any_instance_of` usage.
2018-12-14 13:56:03 -06:00
Bob Van Landuyt
b09e40624b Show the commit-sha for pre-release versions
The pre-release tags are set at the beginning of a release, so it
would be impossible to figure out which version was running if we're
running nightlies.

In that case it's better to still link to the SHA. These versions
don't get deployed to .com.
2018-10-02 16:11:32 +02:00
Rémy Coutable
a5517ada11 Merge branch 'frozen-string-enable-app-helpers' into 'master'
Enable frozen string for app/helpers/**/*.rb

See merge request gitlab-org/gitlab-ce!21320
2018-09-10 09:43:02 +00:00
Jan Provaznik
a415a904b8 Ask user explicitly about usage stats agreement 2018-09-07 14:32:28 +00:00
gfyoung
1993a4449a Enable frozen string for app/helpers/**/*.rb
Partially addresses #47424.
2018-09-06 17:33:46 -07:00
Mario de la Ossa
eaada9d706 use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
Phil Hughes
554afea059
Fix race condition with dispatcher.js
The dispatcher was trying to create a new instance of a class that is loaded in a file after main.js which would cause the filtered search to not work on issues. This would only happen on the first load when the JS is not cached. If the JS is cached, then everything will be fine.
2017-08-15 16:09:36 +01:00
Tim Zallmann
52b8a0db68 Resolve "Lazy load images on the Frontend" 2017-07-24 17:36:52 +00:00
Ken Ding
d5f34b3771 hide the version check image if internet connection is broken 2017-01-25 03:36:03 +10:30
Robert Speicher
be142e6bd6 Move the version_check_enabled check from view to helper 2015-09-23 16:28:51 -04:00
Dmitriy Zaporozhets
0928c3ae04
Enable version check only for production environment
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-11 18:23:40 +03:00
Dmitriy Zaporozhets
f38ce01bc3
Remove encryption
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-08 15:14:56 +03:00
Dmitriy Zaporozhets
deb384a73b Prevent crash if file does not exists 2015-03-09 20:58:29 -07:00
Dmitriy Zaporozhets
345fd545bf Add version check badge to admin area 2015-03-09 20:58:28 -07:00