]> cat aescling's git repositories - mastodon.git/commit
Refactoring Grape API methods into normal controllers & other things
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 29 Feb 2016 18:42:08 +0000 (19:42 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 29 Feb 2016 18:42:08 +0000 (19:42 +0100)
commit0e8f59c16fcb21301c736ecbc4424cb4c5388c42
tree344ac1e0b2d165ba4fe3870f786e854710970ce1
parent11ff92c9d7b27c2c9ed86f649aef8d956cc8b989
Refactoring Grape API methods into normal controllers & other things
63 files changed:
Gemfile
Gemfile.lock
app/api/mastodon/api.rb [deleted file]
app/api/mastodon/entities.rb [deleted file]
app/api/mastodon/ostatus.rb [deleted file]
app/api/mastodon/rest.rb [deleted file]
app/assets/javascripts/atom.coffee [deleted file]
app/assets/javascripts/home.coffee [deleted file]
app/assets/javascripts/profile.coffee [deleted file]
app/assets/javascripts/xrd.coffee [deleted file]
app/assets/stylesheets/accounts.scss [new file with mode: 0644]
app/assets/stylesheets/api/salmon.scss [moved from app/assets/stylesheets/atom.scss with 62% similarity]
app/assets/stylesheets/api/subscriptions.scss [moved from app/assets/stylesheets/xrd.scss with 60% similarity]
app/assets/stylesheets/application.scss
app/assets/stylesheets/stream_entries.scss [moved from app/assets/stylesheets/profile.scss with 59% similarity]
app/controllers/accounts_controller.rb [new file with mode: 0644]
app/controllers/api/salmon_controller.rb [new file with mode: 0644]
app/controllers/api/subscriptions_controller.rb [new file with mode: 0644]
app/controllers/atom_controller.rb [deleted file]
app/controllers/profile_controller.rb [deleted file]
app/controllers/stream_entries_controller.rb [new file with mode: 0644]
app/controllers/xrd_controller.rb
app/helpers/accounts_helper.rb [new file with mode: 0644]
app/helpers/api/salmon_helper.rb [new file with mode: 0644]
app/helpers/api/subscriptions_helper.rb [new file with mode: 0644]
app/helpers/application_helper.rb
app/helpers/atom_builder_helper.rb [moved from app/helpers/atom_helper.rb with 84% similarity]
app/helpers/stream_entries_helper.rb [moved from app/helpers/profile_helper.rb with 96% similarity]
app/models/account.rb
app/models/user.rb
app/services/base_service.rb
app/services/follow_remote_account_service.rb
app/services/follow_service.rb
app/services/post_status_service.rb
app/services/process_interaction_service.rb
app/services/reblog_service.rb
app/services/send_interaction_service.rb
app/views/accounts/show.atom.ruby [moved from app/views/atom/user_stream.xml.ruby with 69% similarity]
app/views/accounts/show.html.haml [moved from app/views/profile/show.html.haml with 59% similarity]
app/views/profile/_status_footer.html.haml [deleted file]
app/views/profile/_status_header.html.haml [deleted file]
app/views/profile/entry.html.haml [deleted file]
app/views/stream_entries/_favourite.html.haml [moved from app/views/profile/_favourite.html.haml with 100% similarity]
app/views/stream_entries/_follow.html.haml [moved from app/views/profile/_follow.html.haml with 100% similarity]
app/views/stream_entries/_status.html.haml [moved from app/views/profile/_status.html.haml with 51% similarity]
app/views/stream_entries/show.atom.ruby [moved from app/views/atom/entry.xml.ruby with 100% similarity]
app/views/stream_entries/show.html.haml [new file with mode: 0644]
app/views/xrd/webfinger.xml.ruby
config/routes.rb
spec/controllers/accounts_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/salmon_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/subscriptions_controller_spec.rb [new file with mode: 0644]
spec/controllers/atom_controller_spec.rb [deleted file]
spec/controllers/home_controller_spec.rb
spec/controllers/profile_controller_spec.rb [deleted file]
spec/controllers/stream_entries_controller_spec.rb [new file with mode: 0644]
spec/controllers/xrd_controller_spec.rb
spec/helpers/accounts_helper_spec.rb [new file with mode: 0644]
spec/helpers/api/salmon_helper_spec.rb [new file with mode: 0644]
spec/helpers/api/subscriptions_helper_spec.rb [new file with mode: 0644]
spec/helpers/application_helper_spec.rb
spec/helpers/atom_builder_helper_spec.rb [moved from spec/helpers/atom_helper_spec.rb with 96% similarity]
spec/helpers/stream_entries_helper_spec.rb [moved from spec/helpers/profile_helper_spec.rb with 81% similarity]