path # lines of code api/comment_threads.rb 82 api/commentables.rb 48 api/comments.rb 62 api/flags.rb 12 api/notifications.rb 3 api/notifications_and_subscriptions.rb 23 api/pins.rb 6 api/search.rb 84 api/users.rb 81 api/votes.rb 12 app.rb 137 config.ru 8 config/application.rb 9 config/application.yml 8 config/mongoid.yml 52 config/newrelic.yml 46 config/unicorn.heroku.rb 15 config/unicorn.rb 10 config/unicorn_tcp.rb 12 edx_specs/discussion.rb 41 edx_specs/helpers.rb 13 edx_specs/spec_helper.rb 13 lib/helpers.rb 302 lib/task_helpers.rb 26 lib/tasks/benchmark.rake 73 lib/tasks/db.rake 85 lib/tasks/deep_search.rake 50 lib/tasks/flags.rake 26 lib/tasks/i18n.rake 19 lib/tasks/jobs.rake 10 lib/tasks/kpis.rake 102 lib/tasks/search.rake 123 lib/utils.rb 5 locale/en-US.yml 12 locale/x-test.yml 12 models/activity.rb 10 models/comment.rb 136 models/comment_thread.rb 132 models/commentable.rb 21 models/constants.rb 32 models/content.rb 78 models/notification.rb 17 models/observers/at_user_observer.rb 73 models/observers/post_reply_observer.rb 32 models/observers/post_topic_observer.rb 30 models/subscription.rb 23 models/user.rb 151 openedx.yaml 5 presenters/thread.rb 105 presenters/thread_list.rb 17 presenters/thread_utils.rb 42 scripts/db/migrate-001-sk-author_username.js 46 scripts/db/migrate-002-update-indexes.js 5 scripts/db/migrate-003-update-indexes.js 3 scripts/db/migrate-004-update-indexes.js 2 scripts/db/migrate-005-update-indexes.js 1 scripts/db/migrate-006-remove-email.js 1 scripts/db/migrate-007-thread-type.js 7 scripts/db/migrate-008-context.js 8 scripts/db/migrate-009-comment_thread-author-created_at-indexes.js 1 scripts/db/revert-migrate-001-sk-author_username.js 5 scripts/db/revert-migrate-002-update-indexes.js 5 scripts/db/revert-migrate-003-update-indexes.js 3 scripts/db/revert-migrate-004-update-indexes.js 2 scripts/db/revert-migrate-005-update-indexes.js 1 scripts/db/revert-migrate-006-remove-email.js 1 scripts/db/revert-migrate-007-thread-type.js 7 scripts/db/revert-migrate-008-context.js 10 spec/api/abuse_spec.rb 55 spec/api/comment_spec.rb 198 spec/api/comment_thread_spec.rb 665 spec/api/commentable_spec.rb 162 spec/api/i18n_spec.rb 9 spec/api/notifications_and_subscriptions_spec.rb 129 spec/api/notifications_spec.rb 123 spec/api/query_spec.rb 31 spec/api/search_spec.rb 273 spec/api/user_spec.rb 370 spec/api/vote_spec.rb 135 spec/app_spec.rb 145 spec/factories.rb 35 spec/models/at_user_observer_spec.rb 1 spec/models/comment_spec.rb 105 spec/models/comment_thread_spec.rb 90 spec/models/user_spec.rb 18 spec/presenters/thread_list_spec.rb 35 spec/presenters/thread_spec.rb 177 spec/spec_helper.rb 340 spec/support/database_cleaner.rb 11 spec/support/elasticsearch.rb 24 spec/support/factory_girl.rb 10 spec/unicode_shared_examples.rb 23