2013-08-01 21:30:13 -04:00
|
|
|
/**
|
|
|
|
Index redirects to a default logs index.
|
|
|
|
|
|
|
|
@class AdminLogsIndexRoute
|
|
|
|
@extends Discourse.Route
|
|
|
|
@namespace Discourse
|
|
|
|
@module Discourse
|
|
|
|
**/
|
|
|
|
Discourse.AdminLogsIndexRoute = Discourse.Route.extend({
|
|
|
|
redirect: function() {
|
2013-08-07 16:04:12 -04:00
|
|
|
this.transitionTo('adminLogs.staffActionLogs');
|
2013-08-01 21:30:13 -04:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/**
|
|
|
|
The route that lists blocked email addresses.
|
|
|
|
|
2013-08-14 16:40:12 -04:00
|
|
|
@class AdminLogsScreenedEmailsRoute
|
2013-08-01 21:30:13 -04:00
|
|
|
@extends Discourse.Route
|
|
|
|
@namespace Discourse
|
|
|
|
@module Discourse
|
|
|
|
**/
|
2013-08-14 16:40:12 -04:00
|
|
|
Discourse.AdminLogsScreenedEmailsRoute = Discourse.Route.extend({
|
2013-08-01 21:30:13 -04:00
|
|
|
renderTemplate: function() {
|
2013-08-14 16:40:12 -04:00
|
|
|
this.render('admin/templates/logs/screened_emails', {into: 'adminLogs'});
|
2013-08-01 21:30:13 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
setupController: function() {
|
2013-08-14 16:40:12 -04:00
|
|
|
return this.controllerFor('adminLogsScreenedEmails').show();
|
2013-08-01 21:30:13 -04:00
|
|
|
}
|
2013-08-07 16:04:12 -04:00
|
|
|
});
|
|
|
|
|
2013-10-21 14:49:51 -04:00
|
|
|
/**
|
|
|
|
The route that lists screened IP addresses.
|
|
|
|
|
|
|
|
@class AdminLogsScreenedIpAddresses
|
|
|
|
@extends Discourse.Route
|
|
|
|
@namespace Discourse
|
|
|
|
@module Discourse
|
|
|
|
**/
|
|
|
|
Discourse.AdminLogsScreenedIpAddressesRoute = Discourse.Route.extend({
|
|
|
|
renderTemplate: function() {
|
|
|
|
this.render('admin/templates/logs/screened_ip_addresses', {into: 'adminLogs'});
|
|
|
|
},
|
|
|
|
|
|
|
|
setupController: function() {
|
|
|
|
return this.controllerFor('adminLogsScreenedIpAddresses').show();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2013-08-07 16:04:12 -04:00
|
|
|
/**
|
2013-08-15 10:48:30 -04:00
|
|
|
The route that lists screened URLs.
|
2013-08-07 16:04:12 -04:00
|
|
|
|
2013-08-15 10:48:30 -04:00
|
|
|
@class AdminLogsScreenedUrlsRoute
|
2013-08-07 16:04:12 -04:00
|
|
|
@extends Discourse.Route
|
|
|
|
@namespace Discourse
|
|
|
|
@module Discourse
|
|
|
|
**/
|
2013-08-15 10:48:30 -04:00
|
|
|
Discourse.AdminLogsScreenedUrlsRoute = Discourse.Route.extend({
|
2013-08-07 16:04:12 -04:00
|
|
|
renderTemplate: function() {
|
2013-08-15 10:48:30 -04:00
|
|
|
this.render('admin/templates/logs/screened_urls', {into: 'adminLogs'});
|
2013-08-07 16:04:12 -04:00
|
|
|
},
|
|
|
|
|
2013-08-15 10:48:30 -04:00
|
|
|
setupController: function() {
|
|
|
|
return this.controllerFor('adminLogsScreenedUrls').show();
|
2013-08-07 16:04:12 -04:00
|
|
|
}
|
2014-06-10 11:54:38 -04:00
|
|
|
});
|