History log of /ontohub/lib/state_updater.rb
Revision Date Author Comments Expand
5b31f58b001bc9270dcca2fbff3873893f7a5112 10-Aug-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use ProofEvaluationStateUpdater.

baf2926b01493f9009e55ca752e592bb6289e877 19-Jun-2015 Tim Reddehase <robustus@rightsrestricted.com>

ensure that state_updater only changes state.

0ecda7b6d4c088c8a91303bb1c833df2bd26832d 16-Jun-2014 Tim Reddehase <robustus@rightsrestricted.com>

add TimeoutWorker Tests should be green. Also StateUpdater methods are not protected anymore (we should be able to manipulate the state from outside of the model).

ee5342a8882c2fc7631fcffb5497e6597747887c 10-May-2014 Tim Reddehase <robustus@rightsrestricted.com>

fix whitespace issues Includes fixes for the following whitespace-related issues: - Trailing whitespace at end of line - Tabs in file - No newline at end of file This commit fixes these issues for .rb, .coffee, and .sass files.

/ontohub/app/assets/javascripts/bulkupload.js.coffee /ontohub/app/assets/javascripts/flash.js.coffee /ontohub/app/assets/javascripts/highlight_anchor.js.coffee /ontohub/app/assets/javascripts/oops.js.coffee /ontohub/app/assets/javascripts/plugins/relationList.js.coffee /ontohub/app/assets/javascripts/plugins/remoteCollection.js.coffee /ontohub/app/assets/javascripts/statusUpdates.js.coffee /ontohub/app/assets/javascripts/tooltips.js.coffee /ontohub/app/assets/stylesheets/actions.css.sass /ontohub/app/assets/stylesheets/aside.css.sass /ontohub/app/assets/stylesheets/axioms.css.sass /ontohub/app/assets/stylesheets/bulkupload.css.sass /ontohub/app/assets/stylesheets/comments.css.sass /ontohub/app/assets/stylesheets/data_type.css.sass /ontohub/app/assets/stylesheets/entities.css.sass /ontohub/app/assets/stylesheets/formats.sass /ontohub/app/assets/stylesheets/latest.css.sass /ontohub/app/assets/stylesheets/oops-responses.css.sass /ontohub/app/assets/stylesheets/pagination.sass /ontohub/app/assets/stylesheets/quicksearch.css.sass /ontohub/app/assets/stylesheets/relationList.css.sass /ontohub/app/assets/stylesheets/repository.css.sass /ontohub/app/assets/stylesheets/search_result.css.sass /ontohub/app/assets/stylesheets/section.css.sass /ontohub/app/assets/stylesheets/sentences.css.sass /ontohub/app/controllers/adjoints_controller.rb /ontohub/app/controllers/admin/teams_controller.rb /ontohub/app/controllers/admin/users_controller.rb /ontohub/app/controllers/api/v1/base.rb /ontohub/app/controllers/api/v1/categories_controller.rb /ontohub/app/controllers/api/v1/ontologies_controller.rb /ontohub/app/controllers/api/v1/repositories_controller.rb /ontohub/app/controllers/application_controller.rb /ontohub/app/controllers/autocomplete_controller.rb /ontohub/app/controllers/children_controller.rb /ontohub/app/controllers/commit_references_controller.rb /ontohub/app/controllers/entities_search_controller.rb /ontohub/app/controllers/errors_controller.rb /ontohub/app/controllers/home_controller.rb /ontohub/app/controllers/keys_controller.rb /ontohub/app/controllers/language_adjoints_controller.rb /ontohub/app/controllers/language_mappings_controller.rb /ontohub/app/controllers/languages_controller.rb /ontohub/app/controllers/links_controller.rb /ontohub/app/controllers/logic_adjoints_controller.rb /ontohub/app/controllers/logic_mappings_controller.rb /ontohub/app/controllers/logics_controller.rb /ontohub/app/controllers/mappings_controller.rb /ontohub/app/controllers/metadata_controller.rb /ontohub/app/controllers/ontologies_controller.rb /ontohub/app/controllers/ontology_search_controller.rb /ontohub/app/controllers/ontology_version_member.rb /ontohub/app/controllers/ontology_versions_controller.rb /ontohub/app/controllers/oops_requests_controller.rb /ontohub/app/controllers/path_helpers.rb /ontohub/app/controllers/permissions_controller.rb /ontohub/app/controllers/polymorphic_resource/base.rb /ontohub/app/controllers/privilege_list/base.rb /ontohub/app/controllers/repository_settings_controller.rb /ontohub/app/controllers/sentences_controller.rb /ontohub/app/controllers/supports_controller.rb /ontohub/app/controllers/team_users_controller.rb /ontohub/app/controllers/teams/permissions_controller.rb /ontohub/app/controllers/teams_controller.rb /ontohub/app/controllers/users/confirmations_controller.rb /ontohub/app/controllers/users/registrations_controller.rb /ontohub/app/controllers/users_controller.rb /ontohub/app/helpers/application_helper.rb /ontohub/app/helpers/comments_helper.rb /ontohub/app/helpers/entity_helper.rb /ontohub/app/helpers/flash_helper.rb /ontohub/app/helpers/link_helper.rb /ontohub/app/helpers/navigation_helper.rb /ontohub/app/helpers/ontology_helper.rb /ontohub/app/helpers/oops_helper.rb /ontohub/app/helpers/pagination_helper.rb /ontohub/app/helpers/permission_helper.rb /ontohub/app/helpers/search_helper.rb /ontohub/app/helpers/tag_helper.rb /ontohub/app/helpers/timestamp_helper.rb /ontohub/app/helpers/title_helper.rb /ontohub/app/models/ability.rb /ontohub/app/models/comment.rb /ontohub/app/models/e_edge.rb /ontohub/app/models/entity.rb /ontohub/app/models/entity/readability.rb /ontohub/app/models/entity/searching.rb /ontohub/app/models/entity_group.rb /ontohub/app/models/key.rb /ontohub/app/models/key/fingerprint.rb /ontohub/app/models/language.rb /ontohub/app/models/language_mapping.rb /ontohub/app/models/link.rb /ontohub/app/models/link_version.rb /ontohub/app/models/logic.rb /ontohub/app/models/logic_mapping.rb /ontohub/app/models/metadatum.rb /ontohub/app/models/ontology/categories.rb /ontohub/app/models/ontology/entities.rb /ontohub/app/models/ontology/import.rb /ontohub/app/models/ontology/links.rb /ontohub/app/models/ontology/oops.rb /ontohub/app/models/ontology/versions.rb /ontohub/app/models/ontology_version.rb /ontohub/app/models/ontology_version/files.rb /ontohub/app/models/ontology_version/numbers.rb /ontohub/app/models/ontology_version/oops_requests.rb /ontohub/app/models/ontology_version/parsing.rb /ontohub/app/models/ontology_version/states.rb /ontohub/app/models/oops_request.rb /ontohub/app/models/oops_request/responses.rb /ontohub/app/models/oops_request/states.rb /ontohub/app/models/oops_response.rb /ontohub/app/models/permission.rb /ontohub/app/models/repository/access.rb /ontohub/app/models/repository/file_not_found_error.rb /ontohub/app/models/repository/files_list.rb /ontohub/app/models/repository/import_error.rb /ontohub/app/models/repository/importing.rb /ontohub/app/models/repository/symlink.rb /ontohub/app/models/repository/validations.rb /ontohub/app/models/resource.rb /ontohub/app/models/sentence/readability.rb /ontohub/app/models/serialization.rb /ontohub/app/models/simple_ontology.rb /ontohub/app/models/support.rb /ontohub/app/models/team.rb /ontohub/app/models/team_user.rb /ontohub/app/models/user.rb /ontohub/app/models/user/authentication.rb /ontohub/config/god/app.rb /ontohub/config/god/sidekiq_workers.rb /ontohub/config/initializers/active_record_base.rb /ontohub/config/initializers/async_helper.rb /ontohub/config/initializers/rabl_init.rb /ontohub/config/routes.rb /ontohub/db/migrate/20120307143552_create_ontologies.rb /ontohub/db/migrate/20120307163615_create_links.rb /ontohub/db/migrate/20120308144854_create_teams.rb /ontohub/db/migrate/20120308144855_create_team_users.rb /ontohub/db/migrate/20120308144859_create_permissions.rb /ontohub/db/migrate/20120313131338_create_comments.rb /ontohub/db/migrate/20120416190216_create_serializations.rb /ontohub/db/migrate/20120416191514_create_link_versions.rb /ontohub/db/migrate/20120424155606_create_logic_mappings.rb /ontohub/db/migrate/20120424155621_create_language_mappings.rb /ontohub/db/migrate/20120424162211_create_language_adjoints.rb /ontohub/db/migrate/20120424162227_create_logic_adjoints.rb /ontohub/db/migrate/20120511162259_create_basic_proofs.rb /ontohub/db/migrate/20120511162609_create_structured_proof_parts.rb /ontohub/db/migrate/20120511162723_create_used_sentences.rb /ontohub/db/migrate/20130422184444_create_c_vertices_table.rb /ontohub/db/migrate/20130516165857_add_ontolgies_count_to_logics.rb /ontohub/db/migrate/20130730100410_remove_link_version_from_entity_mapping.rb /ontohub/db/migrate/20130826115853_create_ontology_type.rb /ontohub/db/migrate/20130924161345_add_license_models_to_ontologies.rb /ontohub/db/migrate/20130924224533_add_formality_levels_to_ontologies.rb /ontohub/db/migrate/20131108101521_rename_c_vertices_to_categories.rb /ontohub/db/migrate/20131108103128_rename_c_vertices_ontology_table_to_categories_ontology_table.rb /ontohub/db/migrate/20131206114523_rename_license_model_ontology_table_to_license_models_ontologies_table.rb /ontohub/db/migrate/20140329102152_create_entity_groups.rb /ontohub/db/migrate/20140329162713_remove_cycle_checker_from_e_edges.rb /ontohub/db/migrate/20140409093111_add_constratints_and_indices_to_entity_groups.rb /ontohub/db/migrate/20140508073115_remove_all_eedges_and_generate_tarjan_trees.rb /ontohub/db/seeds/010-users_and_teams.rb autocomplete.rb git_repository.rb git_repository/cloning.rb git_repository/commit.rb git_repository/config.rb git_repository/get_info_list.rb git_repository/url_not_found_error.rb hets.rb language_population.rb logic_mapping_population.rb logic_population.rb logicgraph_parser.rb ontology_search.rb oops.rb oops/client.rb oops/response.rb pagination.rb permissionable.rb relation_list.rb scope_builder.rb sidetiq_worker.rb state_updater.rb tarjan_tree.rb worker.rb /ontohub/spec/controllers/api/v1/ontologies_controller_spec.rb /ontohub/spec/controllers/api/v1/repositories_controller_spec.rb /ontohub/spec/controllers/comments_controller_spec.rb /ontohub/spec/controllers/keys_controller_spec.rb /ontohub/spec/controllers/repository_settings_controller_spec.rb /ontohub/spec/lib/repository/import/git_spec.rb /ontohub/spec/lib/repository/import/svn_spec.rb /ontohub/spec/lib/tarjan_spec.rb /ontohub/spec/models/ability_spec.rb /ontohub/spec/models/entity_group_spec.rb /ontohub/spec/models/key_spec.rb /ontohub/spec/models/project.rb /ontohub/spec/models/url_map_spec.rb /ontohub/spec/routing/files_routing_spec.rb /ontohub/spec/support/config/sunspot.rb /ontohub/test/factories/adjoint.rb /ontohub/test/factories/c_edge.rb /ontohub/test/factories/entity.rb /ontohub/test/factories/entity_group.rb /ontohub/test/factories/logic.rb /ontohub/test/factories/mapping.rb /ontohub/test/factories/ontology_version.rb /ontohub/test/factories/oops.rb /ontohub/test/factories/sentence.rb /ontohub/test/factories/serialization.rb /ontohub/test/factories/user.rb /ontohub/test/functional/admin/teams_controller_test.rb /ontohub/test/functional/admin/users_controller_test.rb /ontohub/test/functional/autocomplete_controller_test.rb /ontohub/test/functional/entities_controller_test.rb /ontohub/test/functional/entities_search_controller_test.rb /ontohub/test/functional/home_controller_test.rb /ontohub/test/functional/language_adjoint_controller_test.rb /ontohub/test/functional/language_controller_test.rb /ontohub/test/functional/language_mapping_controller_test.rb /ontohub/test/functional/logic_adjoint_controller_test.rb /ontohub/test/functional/logic_controller_test.rb /ontohub/test/functional/logic_mapping_controller_test.rb /ontohub/test/functional/ontologies_controller_test.rb /ontohub/test/functional/ontology_versions_controller_test.rb /ontohub/test/functional/oops_request_controller_test.rb /ontohub/test/functional/permissions_controller_test.rb /ontohub/test/functional/repositories_controller_test.rb /ontohub/test/functional/sentences_controller_test.rb /ontohub/test/functional/serializations_controller_test.rb /ontohub/test/functional/team_users_controller_test.rb /ontohub/test/functional/teams/permissions_controller_test.rb /ontohub/test/functional/teams_controller_test.rb /ontohub/test/functional/users_controller_test.rb /ontohub/test/integration/comments_test.rb /ontohub/test/integration/entity_display_test.rb /ontohub/test/integration/ontology_state.rb /ontohub/test/integration/permissions_test.rb /ontohub/test/integration/session_test.rb /ontohub/test/integration/visit_ontology_test.rb /ontohub/test/integration_test_helper.rb /ontohub/test/shared_helper.rb /ontohub/test/test_helper.rb /ontohub/test/unit/autocomplete_test.rb /ontohub/test/unit/category_test.rb /ontohub/test/unit/distributed_ontology_test.rb /ontohub/test/unit/entity_test.rb /ontohub/test/unit/formality_level_test.rb /ontohub/test/unit/language_population_test.rb /ontohub/test/unit/license_model_test.rb /ontohub/test/unit/logic_population_test.rb /ontohub/test/unit/logic_test.rb /ontohub/test/unit/logicgraph_parser/stub_test.rb /ontohub/test/unit/logicgraph_parser_test.rb /ontohub/test/unit/ontology_import_xml_test.rb /ontohub/test/unit/ontology_parser/distributed_test.rb /ontohub/test/unit/ontology_parser/single_test.rb /ontohub/test/unit/ontology_parser_test.rb /ontohub/test/unit/ontology_search_test.rb /ontohub/test/unit/ontology_test.rb /ontohub/test/unit/ontology_type_test.rb /ontohub/test/unit/ontology_version_test.rb /ontohub/test/unit/oops_request/responses_test.rb /ontohub/test/unit/oops_request/states_test.rb /ontohub/test/unit/oops_request_test.rb /ontohub/test/unit/oops_test.rb /ontohub/test/unit/permission_test.rb /ontohub/test/unit/repository_test.rb /ontohub/test/unit/sentence_test.rb /ontohub/test/unit/task_test.rb /ontohub/test/unit/team_test.rb /ontohub/test/unit/team_user_test.rb /ontohub/test/unit/tool_test.rb /ontohub/test/unit/triple_store_test.rb /ontohub/test/unit/user_test.rb
a33b486e057b0415280985f5c74f715400ee4a0f 07-Mar-2014 Julian Kornberger <juliank@tzi.de>

Handle exception on updating the ontology state related to #608

d79e030993a7d41dd0becfe941633e23997a6717 20-Dec-2013 Julian Kornberger <juliank@tzi.de>

state_updated_at added

9e2c946969684c4147c67bf5a5d07441335298e9 20-Dec-2013 Julian Kornberger <juliank@tzi.de>

Logging of exceptions thrown in the resque block.

9cfdb6d14a489bd695063b2ca120c5bea17f8bc2 13-Dec-2013 Julian Kornberger <juliank@tzi.de>

StateUpdater fixed and tested should solve #430 and #405

8150db39a9cd15591fd7b3f3f5f78622158313f9 06-Dec-2013 Julian Kornberger <juliank@tzi.de>

Ensure ontology state is updated even on exceptions [2] related to #340

f5a01e37663bdf559d6e251191b5097dd6f28ea5 06-Dec-2013 Julian Kornberger <juliank@tzi.de>

Ensure ontology state is updated even on exceptions related to #340

ce8d74aee8c3e12f14a0fe02c1696b342e393fda 06-Dec-2013 Julian Kornberger <juliank@tzi.de>

ActiveRecord::StatementInvalid in the state_updater

c6be7cb1a54a37b62fd4e68dbd84ce6333699a49 06-Dec-2013 Julian Kornberger <juliank@tzi.de>

Handle PG::Error in the state_updater

635890c01749ce219c1fcfbcef843ec4449ec8cb 29-Nov-2013 Julian Kornberger <juliank@tzi.de>

Handling of Sidekiq::Shutdown Set the state to pending, because sidekiq requeues the current job. Closes #340 and #430

66ae4e01390ec8ddfd3f6fa5361095d5d2f1c2bd 06-Nov-2013 Julian Kornberger <juliank@tzi.de>

Retrying of failed ontologies implemented. closes #340

5cad3e82e8c017bc189c4cecc00541ec19a2a6e2 13-Apr-2013 Julian Kornberger <juliank@tzi.de>

States for OopsRequest implemented.