├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Capfile ├── Gemfile ├── Gemfile.lock ├── Guardfile ├── LICENSE.md ├── README.md ├── Rakefile ├── Vagrantfile ├── app ├── assets │ ├── images │ │ ├── .keep │ │ └── rails.png │ ├── javascripts │ │ ├── application.js.coffee │ │ ├── campo.js.coffee │ │ ├── locales │ │ │ ├── en.js.coffee │ │ │ └── zh-CN.js.coffee │ │ └── plugins │ │ │ ├── comments.js.coffee │ │ │ ├── likes.js.coffee │ │ │ ├── markdown_area.js.coffee │ │ │ ├── pagination_popover.js.coffee │ │ │ ├── turboform.js.coffee │ │ │ ├── validator.js.coffee │ │ │ └── visible_to.js.coffee │ └── stylesheets │ │ ├── application.css.scss │ │ ├── bootstrap_customize.css.scss │ │ ├── comments.css.scss │ │ ├── highlight.css.scss │ │ ├── markdown.css.scss │ │ ├── notifications.css.scss │ │ ├── subscriptions.css.scss │ │ ├── topics.css.scss │ │ └── users.css.scss ├── controllers │ ├── admin │ │ ├── application_controller.rb │ │ ├── attachments_controller.rb │ │ ├── categories_controller.rb │ │ ├── comments_controller.rb │ │ ├── dashboard_controller.rb │ │ ├── friend_sites_controller.rb │ │ ├── topics_controller.rb │ │ └── users_controller.rb │ ├── application_controller.rb │ ├── attachments_controller.rb │ ├── comments_controller.rb │ ├── concerns │ │ └── .keep │ ├── likes_controller.rb │ ├── markdown_controller.rb │ ├── notifications_controller.rb │ ├── qunit_controller.rb │ ├── sessions_controller.rb │ ├── settings │ │ ├── accounts_controller.rb │ │ ├── application_controller.rb │ │ ├── notifications_controller.rb │ │ ├── passwords_controller.rb │ │ └── profiles_controller.rb │ ├── subscriptions_controller.rb │ ├── topics_controller.rb │ ├── users │ │ ├── application_controller.rb │ │ ├── comments_controller.rb │ │ ├── confirmations_controller.rb │ │ ├── passwords_controller.rb │ │ └── topics_controller.rb │ └── users_controller.rb ├── helpers │ ├── admin │ │ ├── comments_helper.rb │ │ └── topics_helper.rb │ ├── application_helper.rb │ ├── comments_helper.rb │ ├── markdown_helper.rb │ ├── notifications_helper.rb │ ├── timeago_helper.rb │ ├── topics_helper.rb │ └── useres_helper.rb ├── jobs │ └── comment_notification_job.rb ├── mailers │ ├── .keep │ ├── notification_mailer.rb │ └── user_mailer.rb ├── models │ ├── .keep │ ├── attachment.rb │ ├── category.rb │ ├── comment.rb │ ├── concerns │ │ ├── .keep │ │ ├── likeable.rb │ │ ├── subscribable.rb │ │ └── trashable.rb │ ├── friend_site.rb │ ├── like.rb │ ├── notification.rb │ ├── subscription.rb │ ├── topic.rb │ └── user.rb ├── uploaders │ ├── avatar_uploader.rb │ └── file_uploader.rb └── views │ ├── admin │ ├── attachments │ │ ├── destroy.js.erb │ │ └── index.html.slim │ ├── categories │ │ ├── _form.html.slim │ │ ├── index.html.slim │ │ ├── new.html.slim │ │ └── show.html.slim │ ├── comments │ │ ├── index.html.slim │ │ └── show.html.slim │ ├── dashboard │ │ └── show.html.slim │ ├── friend_sites │ │ ├── _form.html.slim │ │ ├── edit.html.slim │ │ └── index.html.slim │ ├── topics │ │ ├── index.html.slim │ │ └── show.html.slim │ └── users │ │ ├── index.html.slim │ │ └── show.html.slim │ ├── comments │ ├── _comment.html.slim │ ├── _form.html.slim │ ├── cancel.js.erb │ ├── create.js.erb │ ├── edit.js.erb │ ├── trash.js.erb │ └── update.js.erb │ ├── kaminari │ └── campo │ │ ├── _gap.html.slim │ │ ├── _next_page.html.slim │ │ ├── _page.html.slim │ │ ├── _paginator.html.slim │ │ └── _prev_page.html.slim │ ├── layouts │ ├── admin.html.slim │ └── application.html.slim │ ├── likes │ ├── create.js.erb │ └── destroy.js.erb │ ├── markdown │ ├── _area.html.slim │ └── preview.html.slim │ ├── notification_mailer │ ├── comment.html.slim │ ├── comment.text.erb │ ├── mention.html.slim │ └── mention.text.erb │ ├── notifications │ ├── clear.js.erb │ ├── destroy.js.erb │ ├── index.html.slim │ ├── mark.js.erb │ └── notification │ │ ├── _comment.html.slim │ │ └── _mention.html.slim │ ├── qunit │ └── index.html.slim │ ├── sessions │ ├── access_limiter.html.slim │ └── new.html.slim │ ├── settings │ ├── _sidebar.html.slim │ ├── accounts │ │ └── show.html.slim │ ├── notifications │ │ └── show.html.slim │ ├── passwords │ │ └── show.html.slim │ └── profiles │ │ └── show.html.slim │ ├── share │ ├── _flash_messages.html.slim │ ├── _form_error_messages.html.slim │ └── _user_confirm_required.html.slim │ ├── subscriptions │ ├── _subscription.html.slim │ └── update.js.erb │ ├── topics │ ├── _form.html.slim │ ├── _search_form.html.slim │ ├── _topic.html.slim │ ├── create.js.erb │ ├── edit.html.slim │ ├── feed.builder │ ├── index.html.slim │ ├── new.html.slim │ ├── search.html.slim │ ├── show.html.slim │ └── update.js.erb │ ├── user_mailer │ ├── confirmation.html.slim │ ├── confirmation.text.erb │ ├── password_reset.html.slim │ └── password_reset.text.erb │ └── users │ ├── _profile.html.slim │ ├── _sidebar.html.slim │ ├── comments │ ├── _comment.html.slim │ └── index.html.slim │ ├── confirmations │ ├── create.js.erb │ ├── limiter.js.erb │ ├── new.html.slim │ └── show.html.slim │ ├── index.html.slim │ ├── new.html.slim │ ├── passwords │ ├── edit.html.slim │ ├── new.html.slim │ └── show.html.slim │ └── topics │ └── index.html.slim ├── bin ├── bundle ├── rails ├── rake └── spring ├── config.ru ├── config ├── application.rb ├── boot.rb ├── config.example.yml ├── database.example.yml ├── deploy.rb ├── deploy │ ├── production.rb │ └── vagrant.rb ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── i18n-tasks.yml ├── initializers │ ├── 00_config.rb │ ├── backtrace_silencers.rb │ ├── elasticsearch.rb │ ├── filter_parameter_logging.rb │ ├── impression.rb │ ├── inflections.rb │ ├── kaminari_config.rb │ ├── mailer.rb │ ├── mime_types.rb │ ├── resque.rb │ ├── session_store.rb │ ├── social_share_button.rb │ └── wrap_parameters.rb ├── locales │ ├── en.yml │ ├── social_share_button.en.yml │ ├── social_share_button.zh-CN.yml │ ├── social_share_button.zh-TW.yml │ └── zh-CN.yml ├── nginx.conf ├── nginx.example.conf ├── resque.example.sh ├── routes.rb └── secrets.example.yml ├── db ├── migrate │ ├── 20140103111354_create_users.rb │ ├── 20140104125105_create_topics.rb │ ├── 20140121065043_create_notifications.rb │ ├── 20140130122905_create_comments.rb │ ├── 20140204053314_create_likes.rb │ ├── 20140204164212_create_subscriptions.rb │ ├── 20140208060708_create_categories.rb │ ├── 20140218070616_create_attachments.rb │ ├── 20140310070632_remove_lower_column.rb │ ├── 20140405074043_remove_password_reset_token_in_users.rb │ ├── 20140412065000_add_confirmed_to_users.rb │ ├── 20140412113810_add_comment_notification_settings_to_users.rb │ ├── 20140612075008_create_friend_sites.rb │ ├── 20140620090118_add_counts_to_users.rb │ ├── 20140623033657_create_impressions_table.rb │ └── 20140623065349_add_impressions_count_to_topics.rb ├── seeds.rb └── structure.sql ├── lib ├── assets │ └── .keep └── tasks │ ├── .keep │ ├── elasticseach.rake │ ├── resque.rake │ └── test.rake ├── log └── .keep ├── public ├── 404.html ├── 422.html ├── 500.html ├── favicon.ico ├── robots.txt ├── swiftguide-cn.png └── upyun_logo.png ├── script └── setup.sh ├── test ├── controllers │ ├── .keep │ ├── admin │ │ ├── application_controller_test.rb │ │ ├── attachments_controller_test.rb │ │ ├── categories_controller_test.rb │ │ ├── comments_controller_test.rb │ │ ├── dashboard_controller_test.rb │ │ ├── friend_sites_controller_test.rb │ │ ├── topics_controller_test.rb │ │ └── users_controller_test.rb │ ├── attachments_controller_test.rb │ ├── comments_controller_test.rb │ ├── likes_controller_test.rb │ ├── markdown_controller_test.rb │ ├── notifications_controller_test.rb │ ├── sessions_controller_test.rb │ ├── settings │ │ ├── accounts_controller_test.rb │ │ ├── application_controller_test.rb │ │ ├── notifications_controller_test.rb │ │ ├── passwords_controller_test.rb │ │ └── profiles_controller_test.rb │ ├── subscriptions_controller_test.rb │ ├── topics_controller_test.rb │ ├── users │ │ ├── application_controller_test.rb │ │ ├── comments_controller_test.rb │ │ ├── confirmations_controller_test.rb │ │ ├── passwords_controller_test.rb │ │ └── topics_controller_test.rb │ └── users_controller_test.rb ├── factories │ ├── attachments.rb │ ├── categories.rb │ ├── comments.rb │ ├── friend_sites.rb │ ├── likes.rb │ ├── notifications.rb │ ├── subscriptions.rb │ ├── topics.rb │ └── users.rb ├── fixtures │ └── .keep ├── helpers │ ├── .keep │ ├── admin │ │ ├── comments_helper_test.rb │ │ └── topics_helper_test.rb │ ├── application_helper_test.rb │ ├── comments_helper_test.rb │ ├── markdown_helper_test.rb │ ├── notifications_helper_test.rb │ ├── timeago_helper_test.rb │ ├── topics_helper_test.rb │ └── useres_helper_test.rb ├── integration │ └── .keep ├── javascripts │ ├── likes_test.js.coffee │ ├── test_helper.js.coffee │ └── visible_to_test.js.coffee ├── jobs │ └── comment_notification_job_test.rb ├── mailers │ ├── .keep │ ├── notification_mailer_test.rb │ ├── previews │ │ ├── notification_mailer_preview.rb │ │ └── user_mailer_preview.rb │ └── user_mailer_test.rb ├── models │ ├── .keep │ ├── attachment_test.rb │ ├── category_test.rb │ ├── comment_test.rb │ ├── friend_site_test.rb │ ├── like_test.rb │ ├── notification_test.rb │ ├── subscription_test.rb │ ├── topic_test.rb │ └── user_test.rb └── test_helper.rb └── vendor └── assets ├── javascripts ├── .keep ├── jquery.autosize.js ├── jquery.timeago.js ├── jquery.validate.js ├── locales │ └── jquery.timeago.zh-CN.js ├── nprogress.js └── qunit.js └── stylesheets ├── .keep ├── nprogress.css └── qunit.css /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Capfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/Capfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/Rakefile -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/Vagrantfile -------------------------------------------------------------------------------- /app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/images/rails.png -------------------------------------------------------------------------------- /app/assets/javascripts/application.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/javascripts/application.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/campo.js.coffee: -------------------------------------------------------------------------------- 1 | @campo = {} 2 | -------------------------------------------------------------------------------- /app/assets/javascripts/locales/en.js.coffee: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/javascripts/locales/zh-CN.js.coffee: -------------------------------------------------------------------------------- 1 | #= require locales/jquery.timeago.zh-CN 2 | -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/comments.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/javascripts/plugins/comments.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/likes.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/javascripts/plugins/likes.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/markdown_area.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/javascripts/plugins/markdown_area.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/pagination_popover.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/javascripts/plugins/pagination_popover.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/turboform.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/javascripts/plugins/turboform.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/validator.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/javascripts/plugins/validator.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/visible_to.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/javascripts/plugins/visible_to.js.coffee -------------------------------------------------------------------------------- /app/assets/stylesheets/application.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/application.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/bootstrap_customize.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/bootstrap_customize.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/comments.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/comments.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/highlight.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/highlight.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/markdown.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/markdown.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/notifications.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/notifications.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/subscriptions.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/subscriptions.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/topics.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/topics.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/users.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/assets/stylesheets/users.css.scss -------------------------------------------------------------------------------- /app/controllers/admin/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/admin/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/admin/attachments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/admin/attachments_controller.rb -------------------------------------------------------------------------------- /app/controllers/admin/categories_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/admin/categories_controller.rb -------------------------------------------------------------------------------- /app/controllers/admin/comments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/admin/comments_controller.rb -------------------------------------------------------------------------------- /app/controllers/admin/dashboard_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/admin/dashboard_controller.rb -------------------------------------------------------------------------------- /app/controllers/admin/friend_sites_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/admin/friend_sites_controller.rb -------------------------------------------------------------------------------- /app/controllers/admin/topics_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/admin/topics_controller.rb -------------------------------------------------------------------------------- /app/controllers/admin/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/admin/users_controller.rb -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/attachments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/attachments_controller.rb -------------------------------------------------------------------------------- /app/controllers/comments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/comments_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/likes_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/likes_controller.rb -------------------------------------------------------------------------------- /app/controllers/markdown_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/markdown_controller.rb -------------------------------------------------------------------------------- /app/controllers/notifications_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/notifications_controller.rb -------------------------------------------------------------------------------- /app/controllers/qunit_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/qunit_controller.rb -------------------------------------------------------------------------------- /app/controllers/sessions_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/sessions_controller.rb -------------------------------------------------------------------------------- /app/controllers/settings/accounts_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/settings/accounts_controller.rb -------------------------------------------------------------------------------- /app/controllers/settings/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/settings/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/settings/notifications_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/settings/notifications_controller.rb -------------------------------------------------------------------------------- /app/controllers/settings/passwords_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/settings/passwords_controller.rb -------------------------------------------------------------------------------- /app/controllers/settings/profiles_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/settings/profiles_controller.rb -------------------------------------------------------------------------------- /app/controllers/subscriptions_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/subscriptions_controller.rb -------------------------------------------------------------------------------- /app/controllers/topics_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/topics_controller.rb -------------------------------------------------------------------------------- /app/controllers/users/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/users/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/users/comments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/users/comments_controller.rb -------------------------------------------------------------------------------- /app/controllers/users/confirmations_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/users/confirmations_controller.rb -------------------------------------------------------------------------------- /app/controllers/users/passwords_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/users/passwords_controller.rb -------------------------------------------------------------------------------- /app/controllers/users/topics_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/users/topics_controller.rb -------------------------------------------------------------------------------- /app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /app/helpers/admin/comments_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/admin/comments_helper.rb -------------------------------------------------------------------------------- /app/helpers/admin/topics_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/admin/topics_helper.rb -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/application_helper.rb -------------------------------------------------------------------------------- /app/helpers/comments_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/comments_helper.rb -------------------------------------------------------------------------------- /app/helpers/markdown_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/markdown_helper.rb -------------------------------------------------------------------------------- /app/helpers/notifications_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/notifications_helper.rb -------------------------------------------------------------------------------- /app/helpers/timeago_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/timeago_helper.rb -------------------------------------------------------------------------------- /app/helpers/topics_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/topics_helper.rb -------------------------------------------------------------------------------- /app/helpers/useres_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/helpers/useres_helper.rb -------------------------------------------------------------------------------- /app/jobs/comment_notification_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/jobs/comment_notification_job.rb -------------------------------------------------------------------------------- /app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/mailers/notification_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/mailers/notification_mailer.rb -------------------------------------------------------------------------------- /app/mailers/user_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/mailers/user_mailer.rb -------------------------------------------------------------------------------- /app/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/attachment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/attachment.rb -------------------------------------------------------------------------------- /app/models/category.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/category.rb -------------------------------------------------------------------------------- /app/models/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/comment.rb -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/concerns/likeable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/concerns/likeable.rb -------------------------------------------------------------------------------- /app/models/concerns/subscribable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/concerns/subscribable.rb -------------------------------------------------------------------------------- /app/models/concerns/trashable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/concerns/trashable.rb -------------------------------------------------------------------------------- /app/models/friend_site.rb: -------------------------------------------------------------------------------- 1 | class FriendSite < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /app/models/like.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/like.rb -------------------------------------------------------------------------------- /app/models/notification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/notification.rb -------------------------------------------------------------------------------- /app/models/subscription.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/subscription.rb -------------------------------------------------------------------------------- /app/models/topic.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/topic.rb -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/models/user.rb -------------------------------------------------------------------------------- /app/uploaders/avatar_uploader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/uploaders/avatar_uploader.rb -------------------------------------------------------------------------------- /app/uploaders/file_uploader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/uploaders/file_uploader.rb -------------------------------------------------------------------------------- /app/views/admin/attachments/destroy.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/attachments/destroy.js.erb -------------------------------------------------------------------------------- /app/views/admin/attachments/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/attachments/index.html.slim -------------------------------------------------------------------------------- /app/views/admin/categories/_form.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/categories/_form.html.slim -------------------------------------------------------------------------------- /app/views/admin/categories/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/categories/index.html.slim -------------------------------------------------------------------------------- /app/views/admin/categories/new.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/categories/new.html.slim -------------------------------------------------------------------------------- /app/views/admin/categories/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/categories/show.html.slim -------------------------------------------------------------------------------- /app/views/admin/comments/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/comments/index.html.slim -------------------------------------------------------------------------------- /app/views/admin/comments/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/comments/show.html.slim -------------------------------------------------------------------------------- /app/views/admin/dashboard/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/dashboard/show.html.slim -------------------------------------------------------------------------------- /app/views/admin/friend_sites/_form.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/friend_sites/_form.html.slim -------------------------------------------------------------------------------- /app/views/admin/friend_sites/edit.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/friend_sites/edit.html.slim -------------------------------------------------------------------------------- /app/views/admin/friend_sites/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/friend_sites/index.html.slim -------------------------------------------------------------------------------- /app/views/admin/topics/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/topics/index.html.slim -------------------------------------------------------------------------------- /app/views/admin/topics/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/topics/show.html.slim -------------------------------------------------------------------------------- /app/views/admin/users/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/users/index.html.slim -------------------------------------------------------------------------------- /app/views/admin/users/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/admin/users/show.html.slim -------------------------------------------------------------------------------- /app/views/comments/_comment.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/comments/_comment.html.slim -------------------------------------------------------------------------------- /app/views/comments/_form.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/comments/_form.html.slim -------------------------------------------------------------------------------- /app/views/comments/cancel.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/comments/cancel.js.erb -------------------------------------------------------------------------------- /app/views/comments/create.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/comments/create.js.erb -------------------------------------------------------------------------------- /app/views/comments/edit.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/comments/edit.js.erb -------------------------------------------------------------------------------- /app/views/comments/trash.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/comments/trash.js.erb -------------------------------------------------------------------------------- /app/views/comments/update.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/comments/update.js.erb -------------------------------------------------------------------------------- /app/views/kaminari/campo/_gap.html.slim: -------------------------------------------------------------------------------- 1 | li.page.gap 2 | a.btn.disabled ... 3 | -------------------------------------------------------------------------------- /app/views/kaminari/campo/_next_page.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/kaminari/campo/_next_page.html.slim -------------------------------------------------------------------------------- /app/views/kaminari/campo/_page.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/kaminari/campo/_page.html.slim -------------------------------------------------------------------------------- /app/views/kaminari/campo/_paginator.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/kaminari/campo/_paginator.html.slim -------------------------------------------------------------------------------- /app/views/kaminari/campo/_prev_page.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/kaminari/campo/_prev_page.html.slim -------------------------------------------------------------------------------- /app/views/layouts/admin.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/layouts/admin.html.slim -------------------------------------------------------------------------------- /app/views/layouts/application.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/layouts/application.html.slim -------------------------------------------------------------------------------- /app/views/likes/create.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/likes/create.js.erb -------------------------------------------------------------------------------- /app/views/likes/destroy.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/likes/destroy.js.erb -------------------------------------------------------------------------------- /app/views/markdown/_area.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/markdown/_area.html.slim -------------------------------------------------------------------------------- /app/views/markdown/preview.html.slim: -------------------------------------------------------------------------------- 1 | = markdown_format params[:body] 2 | -------------------------------------------------------------------------------- /app/views/notification_mailer/comment.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/notification_mailer/comment.html.slim -------------------------------------------------------------------------------- /app/views/notification_mailer/comment.text.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/notification_mailer/comment.text.erb -------------------------------------------------------------------------------- /app/views/notification_mailer/mention.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/notification_mailer/mention.html.slim -------------------------------------------------------------------------------- /app/views/notification_mailer/mention.text.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/notification_mailer/mention.text.erb -------------------------------------------------------------------------------- /app/views/notifications/clear.js.erb: -------------------------------------------------------------------------------- 1 | Turbolinks.visit('<%= notifications_path %>'); 2 | -------------------------------------------------------------------------------- /app/views/notifications/destroy.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/notifications/destroy.js.erb -------------------------------------------------------------------------------- /app/views/notifications/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/notifications/index.html.slim -------------------------------------------------------------------------------- /app/views/notifications/mark.js.erb: -------------------------------------------------------------------------------- 1 | Turbolinks.visit('<%= notifications_path %>'); 2 | -------------------------------------------------------------------------------- /app/views/notifications/notification/_comment.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/notifications/notification/_comment.html.slim -------------------------------------------------------------------------------- /app/views/notifications/notification/_mention.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/notifications/notification/_mention.html.slim -------------------------------------------------------------------------------- /app/views/qunit/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/qunit/index.html.slim -------------------------------------------------------------------------------- /app/views/sessions/access_limiter.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/sessions/access_limiter.html.slim -------------------------------------------------------------------------------- /app/views/sessions/new.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/sessions/new.html.slim -------------------------------------------------------------------------------- /app/views/settings/_sidebar.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/settings/_sidebar.html.slim -------------------------------------------------------------------------------- /app/views/settings/accounts/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/settings/accounts/show.html.slim -------------------------------------------------------------------------------- /app/views/settings/notifications/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/settings/notifications/show.html.slim -------------------------------------------------------------------------------- /app/views/settings/passwords/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/settings/passwords/show.html.slim -------------------------------------------------------------------------------- /app/views/settings/profiles/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/settings/profiles/show.html.slim -------------------------------------------------------------------------------- /app/views/share/_flash_messages.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/share/_flash_messages.html.slim -------------------------------------------------------------------------------- /app/views/share/_form_error_messages.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/share/_form_error_messages.html.slim -------------------------------------------------------------------------------- /app/views/share/_user_confirm_required.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/share/_user_confirm_required.html.slim -------------------------------------------------------------------------------- /app/views/subscriptions/_subscription.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/subscriptions/_subscription.html.slim -------------------------------------------------------------------------------- /app/views/subscriptions/update.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/subscriptions/update.js.erb -------------------------------------------------------------------------------- /app/views/topics/_form.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/_form.html.slim -------------------------------------------------------------------------------- /app/views/topics/_search_form.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/_search_form.html.slim -------------------------------------------------------------------------------- /app/views/topics/_topic.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/_topic.html.slim -------------------------------------------------------------------------------- /app/views/topics/create.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/create.js.erb -------------------------------------------------------------------------------- /app/views/topics/edit.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/edit.html.slim -------------------------------------------------------------------------------- /app/views/topics/feed.builder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/feed.builder -------------------------------------------------------------------------------- /app/views/topics/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/index.html.slim -------------------------------------------------------------------------------- /app/views/topics/new.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/new.html.slim -------------------------------------------------------------------------------- /app/views/topics/search.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/search.html.slim -------------------------------------------------------------------------------- /app/views/topics/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/show.html.slim -------------------------------------------------------------------------------- /app/views/topics/update.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/topics/update.js.erb -------------------------------------------------------------------------------- /app/views/user_mailer/confirmation.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/user_mailer/confirmation.html.slim -------------------------------------------------------------------------------- /app/views/user_mailer/confirmation.text.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/user_mailer/confirmation.text.erb -------------------------------------------------------------------------------- /app/views/user_mailer/password_reset.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/user_mailer/password_reset.html.slim -------------------------------------------------------------------------------- /app/views/user_mailer/password_reset.text.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/user_mailer/password_reset.text.erb -------------------------------------------------------------------------------- /app/views/users/_profile.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/_profile.html.slim -------------------------------------------------------------------------------- /app/views/users/_sidebar.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/_sidebar.html.slim -------------------------------------------------------------------------------- /app/views/users/comments/_comment.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/comments/_comment.html.slim -------------------------------------------------------------------------------- /app/views/users/comments/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/comments/index.html.slim -------------------------------------------------------------------------------- /app/views/users/confirmations/create.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/confirmations/create.js.erb -------------------------------------------------------------------------------- /app/views/users/confirmations/limiter.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/confirmations/limiter.js.erb -------------------------------------------------------------------------------- /app/views/users/confirmations/new.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/confirmations/new.html.slim -------------------------------------------------------------------------------- /app/views/users/confirmations/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/confirmations/show.html.slim -------------------------------------------------------------------------------- /app/views/users/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/index.html.slim -------------------------------------------------------------------------------- /app/views/users/new.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/new.html.slim -------------------------------------------------------------------------------- /app/views/users/passwords/edit.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/passwords/edit.html.slim -------------------------------------------------------------------------------- /app/views/users/passwords/new.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/passwords/new.html.slim -------------------------------------------------------------------------------- /app/views/users/passwords/show.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/passwords/show.html.slim -------------------------------------------------------------------------------- /app/views/users/topics/index.html.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/app/views/users/topics/index.html.slim -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/spring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/bin/spring -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/config.example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/config.example.yml -------------------------------------------------------------------------------- /config/database.example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/database.example.yml -------------------------------------------------------------------------------- /config/deploy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/deploy.rb -------------------------------------------------------------------------------- /config/deploy/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/deploy/production.rb -------------------------------------------------------------------------------- /config/deploy/vagrant.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/deploy/vagrant.rb -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/i18n-tasks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/i18n-tasks.yml -------------------------------------------------------------------------------- /config/initializers/00_config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/00_config.rb -------------------------------------------------------------------------------- /config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /config/initializers/elasticsearch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/elasticsearch.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/impression.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/impression.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/kaminari_config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/kaminari_config.rb -------------------------------------------------------------------------------- /config/initializers/mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/mailer.rb -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /config/initializers/resque.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/resque.rb -------------------------------------------------------------------------------- /config/initializers/session_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/session_store.rb -------------------------------------------------------------------------------- /config/initializers/social_share_button.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/social_share_button.rb -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/locales/social_share_button.en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/locales/social_share_button.en.yml -------------------------------------------------------------------------------- /config/locales/social_share_button.zh-CN.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/locales/social_share_button.zh-CN.yml -------------------------------------------------------------------------------- /config/locales/social_share_button.zh-TW.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/locales/social_share_button.zh-TW.yml -------------------------------------------------------------------------------- /config/locales/zh-CN.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/locales/zh-CN.yml -------------------------------------------------------------------------------- /config/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/nginx.conf -------------------------------------------------------------------------------- /config/nginx.example.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/nginx.example.conf -------------------------------------------------------------------------------- /config/resque.example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/resque.example.sh -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/secrets.example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/config/secrets.example.yml -------------------------------------------------------------------------------- /db/migrate/20140103111354_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140103111354_create_users.rb -------------------------------------------------------------------------------- /db/migrate/20140104125105_create_topics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140104125105_create_topics.rb -------------------------------------------------------------------------------- /db/migrate/20140121065043_create_notifications.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140121065043_create_notifications.rb -------------------------------------------------------------------------------- /db/migrate/20140130122905_create_comments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140130122905_create_comments.rb -------------------------------------------------------------------------------- /db/migrate/20140204053314_create_likes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140204053314_create_likes.rb -------------------------------------------------------------------------------- /db/migrate/20140204164212_create_subscriptions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140204164212_create_subscriptions.rb -------------------------------------------------------------------------------- /db/migrate/20140208060708_create_categories.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140208060708_create_categories.rb -------------------------------------------------------------------------------- /db/migrate/20140218070616_create_attachments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140218070616_create_attachments.rb -------------------------------------------------------------------------------- /db/migrate/20140310070632_remove_lower_column.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140310070632_remove_lower_column.rb -------------------------------------------------------------------------------- /db/migrate/20140405074043_remove_password_reset_token_in_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140405074043_remove_password_reset_token_in_users.rb -------------------------------------------------------------------------------- /db/migrate/20140412065000_add_confirmed_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140412065000_add_confirmed_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20140412113810_add_comment_notification_settings_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140412113810_add_comment_notification_settings_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20140612075008_create_friend_sites.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140612075008_create_friend_sites.rb -------------------------------------------------------------------------------- /db/migrate/20140620090118_add_counts_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140620090118_add_counts_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20140623033657_create_impressions_table.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140623033657_create_impressions_table.rb -------------------------------------------------------------------------------- /db/migrate/20140623065349_add_impressions_count_to_topics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/migrate/20140623065349_add_impressions_count_to_topics.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /db/structure.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/db/structure.sql -------------------------------------------------------------------------------- /lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/elasticseach.rake: -------------------------------------------------------------------------------- 1 | require 'elasticsearch/rails/tasks/import' 2 | -------------------------------------------------------------------------------- /lib/tasks/resque.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/lib/tasks/resque.rake -------------------------------------------------------------------------------- /lib/tasks/test.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/lib/tasks/test.rake -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/public/500.html -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/public/robots.txt -------------------------------------------------------------------------------- /public/swiftguide-cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/public/swiftguide-cn.png -------------------------------------------------------------------------------- /public/upyun_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/public/upyun_logo.png -------------------------------------------------------------------------------- /script/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/script/setup.sh -------------------------------------------------------------------------------- /test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/controllers/admin/application_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/admin/application_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/admin/attachments_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/admin/attachments_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/admin/categories_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/admin/categories_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/admin/comments_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/admin/comments_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/admin/dashboard_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/admin/dashboard_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/admin/friend_sites_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/admin/friend_sites_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/admin/topics_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/admin/topics_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/admin/users_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/admin/users_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/attachments_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/attachments_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/comments_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/comments_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/likes_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/likes_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/markdown_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/markdown_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/notifications_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/notifications_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/sessions_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/sessions_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/settings/accounts_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/settings/accounts_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/settings/application_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/settings/application_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/settings/notifications_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/settings/notifications_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/settings/passwords_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/settings/passwords_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/settings/profiles_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/settings/profiles_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/subscriptions_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/subscriptions_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/topics_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/topics_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/users/application_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/users/application_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/users/comments_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/users/comments_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/users/confirmations_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/users/confirmations_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/users/passwords_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/users/passwords_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/users/topics_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/users/topics_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/users_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/controllers/users_controller_test.rb -------------------------------------------------------------------------------- /test/factories/attachments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/attachments.rb -------------------------------------------------------------------------------- /test/factories/categories.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/categories.rb -------------------------------------------------------------------------------- /test/factories/comments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/comments.rb -------------------------------------------------------------------------------- /test/factories/friend_sites.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/friend_sites.rb -------------------------------------------------------------------------------- /test/factories/likes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/likes.rb -------------------------------------------------------------------------------- /test/factories/notifications.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/notifications.rb -------------------------------------------------------------------------------- /test/factories/subscriptions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/subscriptions.rb -------------------------------------------------------------------------------- /test/factories/topics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/topics.rb -------------------------------------------------------------------------------- /test/factories/users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/factories/users.rb -------------------------------------------------------------------------------- /test/fixtures/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/helpers/admin/comments_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/admin/comments_helper_test.rb -------------------------------------------------------------------------------- /test/helpers/admin/topics_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/admin/topics_helper_test.rb -------------------------------------------------------------------------------- /test/helpers/application_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/application_helper_test.rb -------------------------------------------------------------------------------- /test/helpers/comments_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/comments_helper_test.rb -------------------------------------------------------------------------------- /test/helpers/markdown_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/markdown_helper_test.rb -------------------------------------------------------------------------------- /test/helpers/notifications_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/notifications_helper_test.rb -------------------------------------------------------------------------------- /test/helpers/timeago_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/timeago_helper_test.rb -------------------------------------------------------------------------------- /test/helpers/topics_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/topics_helper_test.rb -------------------------------------------------------------------------------- /test/helpers/useres_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/helpers/useres_helper_test.rb -------------------------------------------------------------------------------- /test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/javascripts/likes_test.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/javascripts/likes_test.js.coffee -------------------------------------------------------------------------------- /test/javascripts/test_helper.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/javascripts/test_helper.js.coffee -------------------------------------------------------------------------------- /test/javascripts/visible_to_test.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/javascripts/visible_to_test.js.coffee -------------------------------------------------------------------------------- /test/jobs/comment_notification_job_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/jobs/comment_notification_job_test.rb -------------------------------------------------------------------------------- /test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/mailers/notification_mailer_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/mailers/notification_mailer_test.rb -------------------------------------------------------------------------------- /test/mailers/previews/notification_mailer_preview.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/mailers/previews/notification_mailer_preview.rb -------------------------------------------------------------------------------- /test/mailers/previews/user_mailer_preview.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/mailers/previews/user_mailer_preview.rb -------------------------------------------------------------------------------- /test/mailers/user_mailer_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/mailers/user_mailer_test.rb -------------------------------------------------------------------------------- /test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/attachment_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/attachment_test.rb -------------------------------------------------------------------------------- /test/models/category_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/category_test.rb -------------------------------------------------------------------------------- /test/models/comment_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/comment_test.rb -------------------------------------------------------------------------------- /test/models/friend_site_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/friend_site_test.rb -------------------------------------------------------------------------------- /test/models/like_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/like_test.rb -------------------------------------------------------------------------------- /test/models/notification_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/notification_test.rb -------------------------------------------------------------------------------- /test/models/subscription_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/subscription_test.rb -------------------------------------------------------------------------------- /test/models/topic_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/topic_test.rb -------------------------------------------------------------------------------- /test/models/user_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/models/user_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/assets/javascripts/jquery.autosize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/vendor/assets/javascripts/jquery.autosize.js -------------------------------------------------------------------------------- /vendor/assets/javascripts/jquery.timeago.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/vendor/assets/javascripts/jquery.timeago.js -------------------------------------------------------------------------------- /vendor/assets/javascripts/jquery.validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/vendor/assets/javascripts/jquery.validate.js -------------------------------------------------------------------------------- /vendor/assets/javascripts/locales/jquery.timeago.zh-CN.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/vendor/assets/javascripts/locales/jquery.timeago.zh-CN.js -------------------------------------------------------------------------------- /vendor/assets/javascripts/nprogress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/vendor/assets/javascripts/nprogress.js -------------------------------------------------------------------------------- /vendor/assets/javascripts/qunit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/vendor/assets/javascripts/qunit.js -------------------------------------------------------------------------------- /vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/assets/stylesheets/nprogress.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/vendor/assets/stylesheets/nprogress.css -------------------------------------------------------------------------------- /vendor/assets/stylesheets/qunit.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tengcong/campo/HEAD/vendor/assets/stylesheets/qunit.css --------------------------------------------------------------------------------