History log of /ontohub/app/models/user.rb
Revision Date Author Comments Expand
81da36894af70bbb8d8e24b004026ad4c5c1bc99 19-Jul-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

1592 committer not shown in versions (#1704) * Supply pushing user. * Code style. * Remove already executed data migration task. * Improve Commit model, add associations to User model. * Get rid of ambiguous class/module names. * Replace OntologyVersion#user by #pusher. * Display pusher information in OntologyVersions index. * Fix all the tests. * Add new tests. * Obey Hound. * Fix migration. * Add data migration for missing commits. * Add data migrations. * Shorten up method. * Remove unnecessary comment.

/ontohub/app/controllers/ontologies_controller.rb /ontohub/app/helpers/ontology_version_helper.rb commit.rb ontology/versions.rb ontology_version.rb ontology_version/files.rb ontology_version/parsing.rb repository/git.rb user.rb /ontohub/app/views/home/_versions.html.haml /ontohub/app/views/ontologies/_ontology.html.haml /ontohub/app/views/ontology_versions/_ontology_version.html.haml /ontohub/db/data/20160614065104_create_missing_commits.rb /ontohub/db/data/20160614065106_fill_empty_commits.rb /ontohub/db/migrate/20160614065105_add_association_from_commit_to_user.rb /ontohub/lib/git_repository.rb /ontohub/lib/git_repository/committing.rb /ontohub/lib/git_repository/get_commit.rb /ontohub/lib/hets/dg/node_evaluation_helper.rb /ontohub/lib/hets/dg/node_evaluator.rb /ontohub/lib/migration_with_data.rb /ontohub/lib/ontology_saver.rb /ontohub/lib/ontology_version_options.rb /ontohub/lib/proof_execution.rb /ontohub/lib/repository_update_worker.rb /ontohub/lib/tasks/migrate_data.rake /ontohub/spec/controllers/users_controller_spec.rb /ontohub/spec/factories/commit_factory.rb /ontohub/spec/factories/ontology_factory.rb /ontohub/spec/factories/ontology_version_factory.rb /ontohub/spec/models/commit_spec.rb /ontohub/spec/models/ontology_spec.rb /ontohub/spec/models/ontology_version_spec.rb /ontohub/spec/models/repository/git_spec.rb /ontohub/spec/models/repository/save_and_delete_file_spec.rb /ontohub/spec/models/user_spec.rb
2cec0737c7d85c0f98ec034624f840b3a0a25b74 29-Mar-2015 Tim Reddehase <robustus@rightsrestricted.com>

add creation and 'update' of API keys.

ce4376cf83941a8eed6a14acc1d446eec52b2e83 28-Feb-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Remove default scope again Repositories marked as deleted shall still be browseable by the owner. If there is a default scope, many controllers and other parts of ontohub fail finding such a repo.

245dfcfa9c4ef88578b8ae0a19e0fa5462eb61c9 28-Feb-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Allow owners to see their deleted repositories.

f25585170335aa8c73dc2775edb44979bbfb9116 28-Feb-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Revert "Use active scope for retrieving repositories." This reverts commit d053813dcf22b74cded34daf5734e54388e9bee6. Conflicts: app/controllers/home_controller.rb app/controllers/ontology_search_controller.rb app/helpers/application_helper.rb app/models/repository/destroying.rb

c28fc8aa2cdf7f9c9ae76899354350473d155981 28-Feb-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use active scope for retrieving repositories. I could have introduced a default scope, but this would result in broken migrations: Some migrations change existing repositories. They would fail at selecting repositories because there is no column 'destroying'. Also default scopes cannot be overridden.

7031eb7bc68ee0c85e65f1c39f86ea1be69404a7 03-Sep-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Fix retrieval of a user's repositories. The repositories which a user is member of a team with permissions were not selected.

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 ability.rb comment.rb e_edge.rb entity.rb entity/readability.rb entity/searching.rb entity_group.rb key.rb key/fingerprint.rb language.rb language_mapping.rb link.rb link_version.rb logic.rb logic_mapping.rb metadatum.rb ontology/categories.rb ontology/entities.rb ontology/import.rb ontology/links.rb ontology/oops.rb ontology/versions.rb ontology_version.rb ontology_version/files.rb ontology_version/numbers.rb ontology_version/oops_requests.rb ontology_version/parsing.rb ontology_version/states.rb oops_request.rb oops_request/responses.rb oops_request/states.rb oops_response.rb permission.rb repository/access.rb repository/file_not_found_error.rb repository/files_list.rb repository/import_error.rb repository/importing.rb repository/symlink.rb repository/validations.rb resource.rb sentence/readability.rb serialization.rb simple_ontology.rb support.rb team.rb team_user.rb user.rb 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 /ontohub/lib/autocomplete.rb /ontohub/lib/git_repository.rb /ontohub/lib/git_repository/cloning.rb /ontohub/lib/git_repository/commit.rb /ontohub/lib/git_repository/config.rb /ontohub/lib/git_repository/get_info_list.rb /ontohub/lib/git_repository/url_not_found_error.rb /ontohub/lib/hets.rb /ontohub/lib/language_population.rb /ontohub/lib/logic_mapping_population.rb /ontohub/lib/logic_population.rb /ontohub/lib/logicgraph_parser.rb /ontohub/lib/ontology_search.rb /ontohub/lib/oops.rb /ontohub/lib/oops/client.rb /ontohub/lib/oops/response.rb /ontohub/lib/pagination.rb /ontohub/lib/permissionable.rb /ontohub/lib/relation_list.rb /ontohub/lib/scope_builder.rb /ontohub/lib/sidetiq_worker.rb /ontohub/lib/state_updater.rb /ontohub/lib/tarjan_tree.rb /ontohub/lib/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
e07f9a7b787f69ed5a5732e625bdc2c4323825ac 16-Apr-2014 Tim Reddehase <robustus@rightsrestricted.com>

refactor minimal admin count to a constant.

7701feeca8eb9abf22c8a288e94dd878a18544d6 16-Apr-2014 Tim Reddehase <robustus@rightsrestricted.com>

fix power-vacuum determination and adjust errormsg We should only complain if the user that is to be deleted is actually an admin herself. Also the error message should probably be a bit more informative.

08464a6b0d787688a7a3d60e22c7dc9a62e30b71 07-Feb-2014 Julian Kornberger <juliank@tzi.de>

Return statements removed and some simplifications done.

d1e3abad7d225b8d687683f7ae9c3d3c17dc451f 07-Feb-2014 Julian Kornberger <juliank@tzi.de>

ilike_operator removed We do not use MySQL any more.

44ad7463288c1c5d6c06077f17f21e48b0aaddb1 23-Jan-2014 Tim Reddehase <robustus@rightsrestricted.com>

optimize team_permissions query by using pluck pluck allows us to extract fields directly from a query without the need to instantiate model objects (very expensive).

20718983ee2ea9c0164f0f1f5e18ff87056986f6 29-Oct-2013 Julian Kornberger <juliank@tzi.de>

Common::Scopes refactored Now we have a ScopeBuilder that is available in all models.

f3c1107d89f8c9b81302e5dad8a5d13bcd38c2af 04-Oct-2013 Daniel Couto Vale <danielvale@uni-bremen.de>

Make contextual information available in the right box

5795d1a7f94fadb4ba8308c0c8e62614f0333f9c 01-Oct-2013 Daniel Couto Vale <danielvale@uni-bremen.de>

Use name of user instead of the word "you", "user", and "settings"

560baaad7d614c8aa6b7871e3a99ce33a137d93b 07-Aug-2013 Julian Kornberger <juliank@tzi.de>

Management for SSH Keys

341f09a83aa18635a9b1651a988a81d0d5a55d6f 23-Feb-2013 Julian Kornberger <juliank@tzi.de>

Method written that returns the correct ILIKE operator for the current connection adapter.

dbfbe3dbd857be998d56c5d731ec5199613ebfc3 13-Feb-2013 Christian Clausen <cclausen@tzi.de>

fix bug #2

b2dbef8c73faa240d208f3ff9fb49b21d9a894a5 22-May-2012 Daniel Vale <danielvale@gmail.com>

Fix test for sentence controller

60c9fc413e77110e71b7e8c41ffbc645b4ed90b4 14-Mar-2012 Julian Kornberger <juliank@tzi.de>

[#26433767] List permissions of a team

670bf306e8cf030775bccde8876f46da47ebdc9c 13-Mar-2012 Julian Kornberger <juliank@tzi.de>

Display latest comments on user page

07866c9cf45b931179b14a403946949f7294ac5b 13-Mar-2012 henning mueller <henning@orgizm.net>

New tab for metadata, list and create form.

906d0861198a779fb1b9264d6700d2460bbd48cf 13-Mar-2012 henning mueller <henning@orgizm.net>

[#26237623] Validate length of username (2..32)

da23222685bb26d0804bf04c9b726eef2f574b00 13-Mar-2012 Julian Kornberger <juliank@tzi.de>

home page and user page with latest updates added

0e96fcb3650434da3e94d65e8a6e481253b26cd7 12-Mar-2012 Julian Kornberger <juliank@tzi.de>

Seeds for permissions

48e4022571f5143358d6a8f54e42894ba9b654c0 10-Mar-2012 Julian Kornberger <juliank@tzi.de>

moved limit into autocomplete

b515be3e0a2edc0aa9bf6b0ff078b5c6bce8499c 10-Mar-2012 Julian Kornberger <juliank@tzi.de>

[#26205093] exclude selected items from autocompletion result

279dfe8d07ff651880bd08dba5a7c73a95213e5e 10-Mar-2012 Julian Kornberger <juliank@tzi.de>

strip_attributes added

acf37010abb588969e6843692a367f6be73e30cd 09-Mar-2012 Julian Kornberger <juliank@tzi.de>

Controller, Model and Tests for Autocompletion

3eedfb6dd90308259bcfeddaa2cc883c1219df76 08-Mar-2012 henning mueller <henning@orgizm.net>

Models: Team, TeamUser, Permission

150729e51595775aa4d363ec94cf9e1cf1053116 08-Mar-2012 Julian Kornberger <juliank@tzi.de>

Navigation created and User list improved

fc9c33408dd188fceb02b39b3739d66993df2435 07-Mar-2012 Julian Kornberger <juliank@tzi.de>

User confirmation enabled und User deletion implemented

0be38598001e15ea877bf3d4807e941159753df2 07-Mar-2012 Julian Kornberger <juliank@tzi.de>

Session-Views and User tests created.

1360ea51ce88cdc0c46a7c6fd14516837037f6bf 07-Mar-2012 Julian Kornberger <juliank@tzi.de>

Devise integrated