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. |
bb67f9b02f679071ac08d174531a03f325bc5327 |
|
15-Mar-2016 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Change delegates to associations. |
c5d86c43dd3b1fcd5d11eca04d5e44c28375d06c |
|
06-Nov-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Simplify to_s definition. |
aa0d3bd1475dc0b577b113f5582a81a0794eb9f3 |
|
03-Aug-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Remove default scope, add original scope. |
ce80a0a9e18afd22d5594a62a1be499771bce774 |
|
14-Jul-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Make repository available from Sentence. |
f116635691547619f18cfc57441133fca46970b6 |
|
24-Mar-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Remove default scope on type. |
4d49ccecb20edaa8053db84a11a3947bffbff6f1 |
|
11-Mar-2015 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Add and use to_s of Sentence. |
aa6a6b29584351c27210c27d29151fccbba61212 |
|
08-Feb-2015 |
Tim Reddehase <robustus@rightsrestricted.com> |
obey hound. |
653f8d7c88abc38a2c42f12b80b3e3efd882e039 |
|
03-Feb-2015 |
Tim Reddehase <robustus@rightsrestricted.com> |
support sentence loc/id's, redirect to index
As we currently do not have a useable sentences#show we'll use
sentences#index instead to route sentence loc/id's. |
510ca4e36c4fb16f11b816ef88255554874aa51f |
|
03-Feb-2015 |
Tim Reddehase <robustus@rightsrestricted.com> |
add loc/id to sentences
Additionally add mechanism to set the loc/id during
ontology-parsing. |
00c175adc24043fbcd4cd5e3769c9d13e31ff831 |
|
28-Jan-2015 |
Model Renamer <bot-rename@ontohub.org> |
Obey hound. |
335258a6512a35cb1bb18c1d1693fd35016616bd |
|
05-Jan-2015 |
Model Renamer <bot-rename@ontohub.org> |
Namespace model `Symbol` in module `OntologyMember`. |
67ea9fccbdc154cf2418f16ab8883ccfcbc77b51 |
|
05-Jan-2015 |
Model Renamer <bot-rename@ontohub.org> |
Run rename refactor script. |
6266a4c9986703cc97e36d66b7df15bcb125186d |
|
04-Dec-2014 |
Eugen Kuksa <eugenk@informatik.uni-bremen.de> |
Exclude Theorem from Sentence scope. |
fa356bb9f38623c3902c791f1746531edc7a030a |
|
29-Mar-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
delete translation when sentence is deleted. |
9b9d0de2b383747e766f7734b9de2521c6663e43 |
|
19-Mar-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
set default scope of sentences
Set the default scoped to imported: false
to ensure past behavior. In order to get
all sentences, the all_sentences method
was defined. |
912de7c40aba132f91bc71026d035ea6ec89d596 |
|
07-Feb-2014 |
Julian Kornberger <juliank@tzi.de> |
extract_class_names is obsolete
hierarchical_class_names should be used instead. one test still fails.
related to #249 |
9b4d4cd399a19fdc8b4b61e0b59e8104f1bd4530 |
|
03-Jan-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
introduce hierarchical class-extraction method. |
589fb95c2e105a0d11878550fd52a61f07ea81b9 |
|
06-Aug-2013 |
Timo Kohorst <timo-hb@arcor.de> |
sentence_test: extract names |
ee535131d1affd87e4c1733317557eabab69d9f5 |
|
05-Aug-2013 |
Timo Kohorst <timo-hb@arcor.de> |
methods to import meta ontology as categories |
481313bedd6b4845bd732f90585eaa0dfa620a03 |
|
05-Apr-2013 |
Timo Kohorst <timo-hb@arcor.de> |
finished test for display of sentences, began model |
22e260fcd85642794d99c2ffaa333f2ef6ed7828 |
|
13-Aug-2012 |
Daniel Couto Vale <danielvale@uni-bremen.de> |
Remove the versioning (a step)
Revert changes to the ontology
Rapair ontology tests
Bind entities and sentences to the ontology |
7a522a1916e13f0cdbf191f633a4fc2523444038 |
|
13-Aug-2012 |
Daniel Couto Vale <danielvale@uni-bremen.de> |
Versioning is not to be kept in the relational database anymore.
Revert "Trying to get the Ontology(Version) import working again."
This reverts commit 48c232c64e7f7396ddec7182eeb5af76e24676c3. |
48c232c64e7f7396ddec7182eeb5af76e24676c3 |
|
06-Aug-2012 |
henning mueller <henning@orgizm.net> |
Trying to get the Ontology(Version) import working again. |
b2dbef8c73faa240d208f3ff9fb49b21d9a894a5 |
|
22-May-2012 |
Daniel Vale <danielvale@gmail.com> |
Fix test for sentence controller |
00e4f15826d75fbfc079bef3e559b7fa4c62e911 |
|
22-May-2012 |
Daniel Vale <danielvale@gmail.com> |
Rename axiom to sentence
Abstracted module for ontology version members (sentence and entities)
Bind sentences to ontology versions (not to ontologies) |
93601837822998e6b847baa46d986f7cfc21d46f |
|
24-Apr-2012 |
Daniel Couto Vale <danielvale@me.com> |
Match models and the database
Create controllers |