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. |
7cebbca4a9b47c808a410ea86b5e8ba3926a8179 |
|
03-Sep-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
fix style considerations. |
4b8357d9eb7f8dda17322add358a476bde2135d5 |
|
21-Aug-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
fix erroring spec regarding permissions
In ontology_spec the IRI-Processing-Try-Again example failed with a
double-create of the same permission. This now only creates new
permission if there does not yet exist an applicable one. |
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. |
cd95118c2f49896d18b3c85236742fef7b655960 |
|
23-Jan-2014 |
Tim Reddehase <robustus@rightsrestricted.com> |
add methods to retrieve highest permission
- and use it for ssh-push access determination
- makes tests green. |
431a54a039187e66ead399a3c4db5fa66e67866f |
|
22-Dec-2013 |
henning mueller <henning@orgizm.net> |
Fixed permission? method for :reader role. |
930c3dc1d778b713c3c77550f1c82d8ef8d7fa8e |
|
19-Jun-2013 |
Julian Kornberger <juliank@tzi.de> |
Cleaned up duplicate code. |
34e099cc5492a3d9342cd06d9eff2dbc13f98f19 |
|
19-Jun-2013 |
Julian Kornberger <juliank@tzi.de> |
Cleaned up duplicate code. |
7370e7c0b5ad73069c8c42f5b399d0285b5e4f48 |
|
15-Aug-2012 |
Julian Kornberger <juliank@tzi.de> |
Permission check fixed - had been broken by STI |
cbb18f95cb8354f0c3fb44ba5134dadc7ad6b2ec |
|
14-Mar-2012 |
Julian Kornberger <juliank@tzi.de> |
[#26399041] Counter caches for comments and metadata |
7b025f9d9726413eb3f50ca2b39826e7eed816fb |
|
12-Mar-2012 |
Julian Kornberger <juliank@tzi.de> |
CanCan integrated |
d62eba79f306957dd89ea9d3313600e98e2a8beb |
|
12-Mar-2012 |
Julian Kornberger <juliank@tzi.de> |
Heavy refacoring of Permissions-Widget |
8c1be7aa00ddeb367fac5d3e8574429a301dbeb7 |
|
09-Mar-2012 |
Julian Kornberger <juliank@tzi.de> |
object renamed into item |