- Sep 19, 2016
-
-
Ana María Martínez Gómez authored
Improve project_controller#remove_maintained_project test: - Remove unnecessary comment. - Check that the maintained project is truly removed in the successful case.
-
Björn Geuken authored
This broke with 878e479f ======= CodeQualityTest test_code_complexity FAIL (11.83s) Minitest::Assertion: 'RequestController#render_request_collection' => 82.38, test/unit/code_quality_test.rb:143:in `block in <class:CodeQualityTest>' test/test_helper.rb:124:in `block in __run' test/test_helper.rb:124:in `map' test/test_helper.rb:124:in `__run'
-
- Sep 16, 2016
-
-
Adrian Schröter authored
-
Adrian Schröter authored
FATE#320699
-
Adrian Schröter authored
-
Adrian Schröter authored
-
Adrian Schröter authored
-
Björn Geuken authored
Fix bs request counter
-
Björn Geuken authored
[ci] Fix monitor controller spec
-
Björn Geuken authored
Remove unnecessary line in project controller spec
-
Frank Schreiner authored
Fix Makefile to support 'make all' command.
-
Ana María Martínez Gómez authored
Fix monitor controller spec occasionally failing.
-
- Sep 15, 2016
-
-
Ana María Martínez Gómez authored
This line is not necessary as by default the user home project hasn't got maintenance kind.
-
Geunsik Lim authored
We cannot execute "make install" command before executing "make all" comand. Let's replace "all:" with "apidocs:" target from Makefile for an appropriate name. And, append "clean:" target. $ make $ make install $ make clean This PR is tested on Ubuntu 16.04 LTS X64 distribution. Signed-off-by:
Geunsik Lim <geunsik.lim@samsung.com> Reviewed-by:
Frank Schreiner <M0ses@github.com>
-
Michael Schroeder authored
Should have been in commit 2538c032
-
Michael Schroeder authored
So that the logfile contains not just "received truncted answer"...
-
Michael Schroeder authored
-
Adrian Schröter authored
[webui] Fix issue #2125 - webui can't handle .yaml suffixed files
-
Adrian Schröter authored
[webui] Fix has_local_distribution
-
Christian Bruckmayer authored
taking the project name into account. This worked for remote instances but not on build.o.o.
-
Björn Geuken authored
This reverts commit e9bd6d10. This was causing development systems to crash with a ActiveRecord::StatementInvalid: Mysql2::Error: Table 'api_development.configurations' doesn't exist Running the migrations to wasn't possible due to a failing SpacesInTrackerRegexen migration. ===== > vagrant exec rails s => Booting Unicorn => Rails 5.0.0.1 application starting in development on http://localhost:3000 => Run `rails server -h` for more startup options Custom development.vagrant-openSUSE-Leap.rb not found - using defaults Exiting /usr/lib64/ruby/gems/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:107:in `_query': Mysql2::Error: Table 'api_development.configurations' doesn't exist: SELECT `configurations`.* FROM `configurations` ORDER BY `configurations`.`id` ASC LIMIT 1 (ActiveRecord::StatementInvalid) from /usr/lib64/ruby/gems/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:107:in `block in query' from /usr/lib64/ruby/gems/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:106:in `handle_interrupt' from /usr/lib64/ruby/gems/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:106:in `query' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log' from /usr/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb:46:in `execute' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:225:in `execute_and_free' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb:51:in `exec_query' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb:10:in `select_all' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/querying.rb:39:in `find_by_sql' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation.rb:699:in `exec_queries' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation.rb:580:in `load' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation.rb:260:in `records' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation.rb:256:in `to_a' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation/finder_methods.rb:561:in `find_nth_with_limit' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation/finder_methods.rb:590:in `find_nth_with_limit_and_offset' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation/finder_methods.rb:543:in `find_nth' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation/finder_methods.rb:122:in `first' from /usr/lib64/ruby/gems/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/querying.rb:3:in `first' from /vagrant/src/api/config/environments/development.rb:60:in `block (2 levels) in <top (required)>'
-
Björn Geuken authored
Write test for app/controllers/webui/project_controller.rb#remove_maintained_project
-
Ana María Martínez Gómez authored
Write test for app/controllers/webui/project_controller.rb#remove_maintained_project.
-
- Sep 14, 2016
-
-
Björn Geuken authored
Correct typo in CONTRIBUTING.md
-
Ana María Martínez Gómez authored
memer -> member
-
Ana María Martínez Gómez authored
Improve project_controller#remove_maintained_project by rendering an error when the MaintainedProject is not found and by using destroy in the if condition instead of save after doing delete.
-
Björn Geuken authored
Write test for app/controllers/webui/project_controller.rb#unlock.
-
Björn Geuken authored
Pairprogramming with Ana.
-
Björn Geuken authored
This allows to create bs requests with customized bs request actions. Pairprogramming with Ana.
-
Ana María Martínez Gómez authored
Write test for app/controllers/webui/project_controller.rb#unlock
-
Björn Geuken authored
[webui][api] Sync configuration to backend on boot
-
- Sep 13, 2016
-
-
Björn Geuken authored
Rails was routing certain .* extensions (.json, .txt, .yml, ...) as different format, which caused the view file page not to work properly. This probably is a regression of the recent Rails 5 update. Setting the specific route to 'html' format by default fixes the issue.
-
Michael Schroeder authored
-
Frank Schreiner authored
-
Michael Schroeder authored
Also add a startup hook like in BSStdRunner.
-
Björn Geuken authored
Migrate tests to rspec : Trigger rebuild
-
Christian Bruckmayer authored
currently it is the number of the last BsRequest. However, it should be the next available number. This causes ActiveRecord::RecordNotUnique when creating a new BsRequest. - Wrap database actions into transaction - Remove redundant initialisation code - this is done now in 20160824132643_fix_bs_request_counter.rb - Introduce BsRequestCounter model to use ActiveRecord methods - Remove redundant before_create call, assign number will return in the second call immediately As assign_number is called in a before_save filter so it is still possible that save fails and the BsRequestCounter is already increased. Fixes #2068.
-
- Sep 12, 2016
-
-
Adrian Schröter authored
Having only _pubkey is invalid setup and it can cause problems in test cases
-
Björn Geuken authored
Use user.home_project instead of home:tom
-
Björn Geuken authored
[vagrant] fix ownership bug of src/api/tmp
-