Commit graph

10 commits

Author SHA1 Message Date
gfyoung
73322a0e55 Enable frozen string in app/controllers/**/*.rb
Enables frozen string for the following:

* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb

Partially addresses #47424.
2018-09-18 21:22:45 -07:00
Douwe Maan
b7d8df503c Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
Ben Bodenmiller
d3afb75238 exclude rpc_pipefs from system disc info 2017-02-18 09:39:49 +00:00
Sean McGivern
085e1f89f3 Handle unavailable system info
For Linux with the grsecurity patches applied, paths in `/proc` may not
be readable, so handle those cases and show a message rather than
blowing up.
2016-08-25 08:28:35 +01:00
Josh Frye
7dbc3d97d1 Catch permission denied errors and ignore the disk 2016-06-30 13:53:35 -04:00
Josh Frye
98238a27c7 Loop all disks when displaying system info 2016-06-29 16:02:12 -04:00
Josh Frye
0aa0ace9bc Change load average to cpu/cores on system info. 2016-06-28 21:35:42 -04:00
Josh Frye
13ba3bd4fd Use number_to_human_size for system info and remove dependency on Filesize gem. 2016-06-28 21:35:42 -04:00
Josh Frye
242aa5bd66 Round figures for system info 2016-06-28 21:35:42 -04:00
Josh Frye
82edef9414 Show basic system info on admin panel. Closes #18886 2016-06-28 21:35:42 -04:00