History log of /ontohub/app/models/ontology_member/symbol.rb
Revision Date Author Comments Expand
5a102b3c56d4ac75632c7e9244ee0ce5bdbbf13a 01-Jul-2016 Sascha Graef <sgraef@informatik.uni-bremen.de>

Improve locId (#1618) * introduce new model to ontohub * introduce new locid behavior * adding try to prevent undefined method for nil * generate the locids by object creation * introduce method to simulate an attribute * generate Locids correctly for ontologies * correct creation of child_ontology locids * remove old uniqueness validation for ontology locid * use better names vor locidportion * correct behaviour for locid creation * generate loc_id correctly for ontology * use correct class for inherritanc * remove locids on deletion of objects * rename the base model * introduce data-migration to move the locids * remove double naming in the cat ontology * obey hound * correct behaviour of external repository for locid * change factory behaviour for locid * fix missing comma * begin to fix test * change ontology factory to new locid * change factories for new LocId Model * remove unneeded test * Use proper class retrieval in factories. * Always use to_s on the class call in LocIdBaseModel. * Always use .class.to_s instead of .class when used for the database. * Fix external repository. * Be clean and unstub again. * Fix sentence factory. * Quick fix the destruction of locids. * Fix code style. * Generate locids during create process: Base class. * Generate locids during create process: Mapping. * Generate locids during create process: Sentence. * Generate locids during create process: Symbol. * Generate locids during create process: ProofAttempt. * Generate locids during create process: ProverOutput. * Generate locids during create process: Ontology #1. * Generate locids during create process: Ontology #2. * Generate locids during create process: Ontology #3. * Generate locids during create process: Factories. * Fix seeds errors. * Fix ontology spec on error while parsing The ontology needs to be reloaded because sidekiq does so as well. It always fetches a fresh record from the database. The test failed before because `NodeEvaluationHelper#clean_ontology` called destroy on all the ontology's symbols which existed in the object, but were not really persisted because of an aborted transaction. * Remove redundant space. * Move comment to the correct line. * Fix worker_spec In the production code, the locid is never set before saving the ontology. * Add gems pry-stack_explorer, awesome_print for debugging purposes. * Only start hets if there was a hets error and rollback the changes. * Destroy dependent prover output. * Fix ProofAttempt factory. * Rename assorted_object to specific and fix migration. * Fix migration code style. * Reanalyze ontologies with duplicate locids. * Fix code style. * Remove redundancies. * Remove useless association. * Obey Hound. * Directly query in the LocIdBaseModel. * Add locid routing feature. * Cache LocId query results This should speed up the routing in a great extent. For each matching `specified_get`, the LocIdRouterConstraint fetched the element once from the database. This resulted in 8 times the same SQL query for a ProofAttempt. The implemented cache reduces this to a single query. * Clear the elements cache periodically to prevent memory leaks. * Add missing dependent: :destroy. * Add Recreating repository feature. * Combine if statements. * Change Given to When. * Catch ambiguous locid error. * Fix i18n key usage. * Fix code style. * Comment on error suppression. * Add spec for Syntax Error. * Use single-quoted strings. * Fix error message check: language. * Keep parameter assignment DRY. * Rename RecreatingRepository feature to Repository. * Use local_variable_get instead of eval. * Change locid column type to text. * Implement (implicit) down-migration. * Implement (explicit) down migration. * Add migration to create missing locids. * Fix nil error. * Really fix nil error. * Fix migration. * Fix sentence migration accessing association. * Force old Mappings to have a name. * Add missing locids to symbols.

/ontohub/Gemfile /ontohub/Gemfile.lock /ontohub/app/models/loc_id.rb /ontohub/app/models/loc_id_base_model.rb /ontohub/app/models/mapping.rb /ontohub/app/models/ontology.rb /ontohub/app/models/ontology/associations_and_attributes.rb /ontohub/app/models/ontology/class_methods_and_scopes.rb /ontohub/app/models/ontology/mappings.rb /ontohub/app/models/ontology/sentences.rb /ontohub/app/models/ontology/symbols.rb /ontohub/app/models/ontology/validations.rb symbol.rb /ontohub/app/models/proof_attempt.rb /ontohub/app/models/prover_output.rb /ontohub/app/models/sentence.rb /ontohub/config/locales/en.yml /ontohub/db/data/20160310132620_move_loc_id_to_own_model_data.rb /ontohub/db/migrate/20160110133824_create_loc_ids.rb /ontohub/db/migrate/20160310132618_enter_name_for_mappings.rb /ontohub/db/migrate/20160310132619_create_missing_locids.rb /ontohub/db/migrate/20160310132620_move_loc_id_to_own_model.rb /ontohub/db/seeds/040-git.rb /ontohub/features/LocId.feature /ontohub/features/LocIdRouting.feature /ontohub/features/Repository.feature /ontohub/features/step_definitions/loc_id_routing_steps.rb /ontohub/features/step_definitions/loc_id_steps.rb /ontohub/features/step_definitions/repository_steps.rb /ontohub/features/support/env.rb /ontohub/lib/external_repository.rb /ontohub/lib/hets/dg/node_evaluation_helper.rb /ontohub/lib/hets/dg/node_evaluator.rb /ontohub/lib/hets/errors.rb /ontohub/lib/ontology_saver.rb /ontohub/lib/permissionable.rb /ontohub/lib/router_constraints.rb /ontohub/spec/controllers/api/v1/proof_attempts_controller_spec.rb /ontohub/spec/controllers/api/v1/prover_outputs_controller_spec.rb /ontohub/spec/factories/axiom_factory.rb /ontohub/spec/factories/mapping_factory.rb /ontohub/spec/factories/mapping_version_factory.rb /ontohub/spec/factories/ontology_factory.rb /ontohub/spec/factories/proof_attempt_factory.rb /ontohub/spec/factories/sentence_factory.rb /ontohub/spec/factories/symbol_factory.rb /ontohub/spec/factories/theorem_factory.rb /ontohub/spec/fixtures/ontologies/casl/sentence_and_symbol_with_same_name.casl /ontohub/spec/hets_helper.rb /ontohub/spec/lib/ontology_batch_parse_worker_spec.rb /ontohub/spec/lib/worker_spec.rb /ontohub/spec/models/ontology_spec.rb /ontohub/spec/models/ontology_version/parsing_spec.rb /ontohub/spec/support/common_helper_methods.rb /ontohub/spec/support/fixtures_generation/pipeline_generator.rb
d4731b987a2e52862322beea492df5c4c378e06c 17-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Style fix.

24c99038b338f4b04165e141fdde5ac628b6a77a 17-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add missing dependent: :destroy.

63d811572111990f3a188a45c1e2da123e5f20b6 10-Aug-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Group and comment SineAxiomSelection related associations.

1d6fcb3db419e3b46317625182b87a6de5b54937 10-Aug-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add commonness calculation.

c4fbb8807c02a24da404ebe5f26c8415cce30352 10-Aug-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add association model SineSymbolAxiomTrigger.

aa6a6b29584351c27210c27d29151fccbba61212 08-Feb-2015 Tim Reddehase <robustus@rightsrestricted.com>

obey hound.

d51cee8257d50d1f2d7c0818d968b32096f6b795 03-Feb-2015 Tim Reddehase <robustus@rightsrestricted.com>

support symbol loc/id's, redirect to index As we currently do not have a useable symbols#show we'll use symbols#index instead to route symbol loc/id's.

a49a9b86efac10a7107f1e765ec4035eca28c599 02-Feb-2015 Tim Reddehase <robustus@rightsrestricted.com>

add loc/id to symbols Additionally add mechanism to set the loc/id during ontology-parsing.

00c175adc24043fbcd4cd5e3769c9d13e31ff831 28-Jan-2015 Model Renamer <bot-rename@ontohub.org>

Obey hound.

/ontohub/app/controllers/general_mappings_controller.rb /ontohub/app/controllers/mappings_controller.rb /ontohub/app/controllers/ontologies_controller.rb /ontohub/app/controllers/symbols_controller.rb /ontohub/app/helpers/application_helper.rb /ontohub/app/helpers/navigation_helper.rb /ontohub/app/helpers/symbol_helper.rb /ontohub/app/models/mapping.rb /ontohub/app/models/mapping_version.rb /ontohub/app/models/ontology.rb /ontohub/app/models/ontology/categories.rb /ontohub/app/models/ontology/mappings.rb /ontohub/app/models/ontology/sentences.rb /ontohub/app/models/ontology/symbols.rb symbol.rb symbol/readability.rb symbol/searching.rb /ontohub/app/models/oops_response.rb /ontohub/app/models/sentence.rb /ontohub/app/models/symbol_group.rb /ontohub/app/models/symbol_mapping.rb /ontohub/app/views/mappings/_mapping.html.haml /ontohub/app/views/mappings/index.html.haml /ontohub/config/routes.rb
335258a6512a35cb1bb18c1d1693fd35016616bd 05-Jan-2015 Model Renamer <bot-rename@ontohub.org>

Namespace model `Symbol` in module `OntologyMember`.

9489ff3564e37aa76509baaab3d79ec29af9408d 05-Jan-2015 Model Renamer <bot-rename@ontohub.org>

Adjust class name.