Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big bunch o' patches... #137

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open

Big bunch o' patches... #137

wants to merge 50 commits into from

Conversation

averell23
Copy link
Contributor

Big dump to re-synchronize with averell23 version.

Since we made a number of modifications, I don't see any way to break this down into neat little pull requests, at least not within my available time.

Changelog includes:

  • secrets.yml/BackendSettings configuration replaced with betterplace's configuration gem. Reasons in e55d894 commit message
  • New plugins for jenkins/pingdom as status tables
  • Update to ruby 2.1.5, updated gems
  • Some bug fixes

It would be great if you could review and merge this, so that we can continue to work on the same code base.

averell23 and others added 30 commits August 2, 2012 19:18
Merge branch 'master' of git://github.com/fdietz/team_dashboard

Conflicts:
	Gemfile.lock
	app/assets/javascripts/views/widget_editors/boolean.js
	app/assets/javascripts/views/widget_editors/counter.js
	app/assets/javascripts/views/widget_editors/graph.js
	app/assets/javascripts/views/widget_editors/number.js
Conflicts:
	.gitignore
	.rvmrc
	Gemfile
	Gemfile.lock
	app/assets/javascripts/views/widget_editors/boolean.js
	app/assets/javascripts/views/widget_editors/number.js
Conflicts:
	.rvmrc
	Gemfile
	Gemfile.lock
	app/assets/javascripts/helpers.js
	app/models/sources/boolean/pingdom.rb
	app/models/sources/number/new_relic.rb
…ingdom plugin to use the same connection class. Both are configurable through the interface now.
Conflicts:
	app/models/sources/number/jenkins_game.rb
Conflicts:
	app/models/sources/boolean/pingdom.rb
	app/models/sources/number/pingdom_response.rb
Conflicts:
	app/models/simple_pingdom_interface.rb
Conflicts:
	app/assets/javascripts/directives/gridster.js
	app/models/sources/boolean/pingdom.rb
averell23 and others added 20 commits December 16, 2013 12:36
Conflicts:
	app/models/simple_pingdom_interface.rb
	config/application.rb
	config/environments/production.rb
This makes the simple pingdom interface a bit
nicer, fixes the specs and adapts my changes
to the secrets.yml branch.
* byebug instead of debugger
* Lock ruby race to version that works w/ yosemite
* Don't force ruby version in the gemfile
It is now possible to specify the New Relic 
application name in case you have multiple 
applications deployed with new relic.

This commit also removes the "internal"
connection class that remained in the code for
some reason.
I added our complex_config gem to remove all the
custom code for the backend settings.

This would also allow to spread out configuration
over multiple files, it gives a clean mechanism
to access the configuration (with urls already
parsed) and it is possible to use ERB
interpolations (e.g. for grabbing config from
environment variables).

Also, the settings were removed from secrets.yml
again. Reasoning behind this:

* secrets.yml is thought for secrets not general
  config
* It makes sense for normal config settings and
  api keys to live together
* For this app, it makes sense to have a
  mechanism explicitly for configuring plugins
* With complex_config, there is no real advantage
  of using the secrets.yml file in the first place

* specs mocks changed to rspec, to enable new
  syntax
* Documentation updated
* BackendSettings removed
* complex_config added
* plugins.yml (example file) added
* secrets example removed
Conflicts:
	.gitignore
	Gemfile
	Gemfile.lock
	app/models/simple_pingdom_interface.rb
	app/models/sources/number/google_page_speed_score.rb
	app/models/sources/status_table/pingdom.rb
	config/initializers/backend_settings.rb
	spec/models/simple_pingdom_interface_spec.rb
* Automatically crate plugins.yml during test runs
* Fix rspec 2 deprecations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants