SYMBOL INDEX (272 symbols across 85 files) FILE: platform/api/controllers/AuthController.js method discord (line 5) | discord(req, res) { method discord_cb (line 24) | async discord_cb(req, res) { FILE: platform/api/controllers/ChallengesController.js method home (line 5) | async home(req, res) { method choose_language (line 43) | async choose_language(req, res) { method challenge (line 73) | async challenge(req, res) { method execute (line 326) | async execute(req, res) { method view_other (line 401) | async view_other(req, res) { FILE: platform/api/controllers/CommunityController.js method home (line 2) | home(req, res) { method about (line 6) | about(req, res) { method power (line 10) | power(req, res) { FILE: platform/api/controllers/ContestsController.js method home (line 4) | async home(req, res) { method contest (line 86) | async contest(req, res) { method submit (line 193) | async submit(req, res) { method disallowed_languages (line 364) | async disallowed_languages(req, res) { FILE: platform/api/controllers/HomeController.js method home (line 2) | async home(req, res) { method privacy (line 13) | privacy(req, res) { method login (line 17) | login() { method logout_as (line 21) | async logout_as(req, res) { method logout (line 33) | logout(req, res) { method fourohfour (line 38) | fourohfour(req, res) { FILE: platform/api/controllers/MerchController.js method stickers (line 4) | stickers(req, res) { method order_stickers (line 15) | async order_stickers(req, res) { method check_code (line 43) | check_code(req, res) { FILE: platform/api/controllers/ProfilesController.js method view (line 2) | async view(req, res) { FILE: platform/api/controllers/ScriptsController.js method home (line 2) | async home(req, res) { method view (line 14) | async view(req, res) { method exec (line 28) | async exec(req, res) { FILE: platform/api/controllers/SnippetsController.js method view (line 2) | async view(req, res) { method mine (line 38) | async mine(req, res) { method create (line 51) | async create(req, res) { method delete (line 86) | async delete(req, res) { method edit (line 105) | async edit(req, res) { FILE: platform/api/controllers/TagsController.js method search (line 2) | async search(req, res) { FILE: platform/api/controllers/admin/ChallengesController.js method view_all (line 35) | async view_all(req, res) { method create (line 45) | async create(req, res) { method update (line 96) | async update(req, res) { FILE: platform/api/controllers/admin/ContestsController.js method view_all (line 4) | async view_all(req, res) { method create (line 14) | async create(req, res) { method update (line 65) | async update(req, res) { method delete_submission (line 108) | async delete_submission(req, res) { method validate_submissions (line 126) | async validate_submissions(req, res) { FILE: platform/api/controllers/admin/DashboardController.js method dashboard (line 2) | async dashboard(req, res) { FILE: platform/api/controllers/admin/PistonController.js method view_all (line 2) | async view_all(req, res) { method packages (line 8) | async packages(req, res) { method install (line 14) | async install(req, res) { method uninstall (line 28) | async uninstall(req, res) { FILE: platform/api/controllers/admin/UsersController.js method view_all (line 2) | async view_all(req, res) { method login_as (line 18) | async login_as(req, res) { FILE: platform/api/controllers/api/internal/ChatsController.js method last (line 5) | async last(req, res) { method create (line 22) | async create(req, res) { FILE: platform/api/controllers/api/internal/PistonController.js method log (line 2) | async log(req, res) { FILE: platform/api/controllers/api/v1/PistonController.js method versions (line 5) | async versions(req, res) { method execute (line 26) | async execute(req, res) { FILE: platform/api/controllers/api/v1/UsersController.js method read_all (line 2) | async read_all(req, res) { method read (line 25) | async read(req, res) { FILE: platform/api/controllers/api/v1/stats/DiscordController.js method messages (line 4) | async messages(req, res) { method channels (line 78) | async channels(req, res) { FILE: platform/api/controllers/api/v1/stats/PistonController.js method usage (line 4) | async usage(req, res) { FILE: platform/api/controllers/api/v2/PistonController.js method runtimes (line 5) | async runtimes(req, res) { method execute (line 18) | async execute(req, res) { FILE: platform/api/services/api.js method handle_err (line 2) | handle_err(res, err) { FILE: platform/api/services/constant.js method set_dynamic (line 92) | set_dynamic() { FILE: platform/api/services/contests.js method get_cases (line 2) | get_cases(contest, redact = false) { method validate_submission (line 54) | async validate_submission(test_cases, solution, language, version) { FILE: platform/api/services/discord.js method api (line 4) | async api(method, url, body = null) { FILE: platform/api/services/dispenserd.js method schedule (line 13) | schedule(job, options) { FILE: platform/api/services/error.js method log (line 4) | log(err, msg) { FILE: platform/api/services/mailer.js method send (line 9) | send(to, subject, content, template, variables) { FILE: platform/api/services/piston.js class PistonError (line 9) | class PistonError extends Error { method constructor (line 10) | constructor(message, status_code) { method runtimes (line 32) | async runtimes() { method packages (line 38) | async packages() { method install (line 44) | async install(language, version) { method uninstall (line 52) | async uninstall(language, version) { method execute (line 60) | async execute( FILE: platform/api/services/test_cases.js method get_inputs_and_outputs (line 2) | get_inputs_and_outputs(test_object) { method are_valid (line 10) | are_valid(test_object) { FILE: platform/api/services/twig.js method starts_with (line 14) | starts_with(string, path) { FILE: platform/api/services/util.js method now (line 5) | now() { method slugify (line 9) | slugify(string) { method time_diff (line 19) | time_diff(start_date, end_date) { method time_ago (line 81) | time_ago(the_time) { method bury_upload (line 88) | bury_upload(file) { FILE: platform/api/services/views.js method render (line 4) | async render(template, data) { FILE: platform/config/http.js method test_json (line 20) | test_json(err, req, res, next) { method bodyParser (line 31) | bodyParser() { FILE: platform/console/cron.js method calculate_score (line 10) | async calculate_score() { method process_awards (line 114) | async process_awards() { method update_staff (line 222) | async update_staff() { method repair_roles (line 274) | async repair_roles() { method contest_status (line 328) | async contest_status() { FILE: platform/console/util.js method ingest_chats (line 8) | ingest_chats() { FILE: platform/migrations/migrations/20180320123747-initial.sql type users (line 2) | create table users ( type questions (line 20) | create table questions ( type snippets (line 35) | create table snippets ( type comments (line 47) | create table comments ( type question_votes (line 67) | create table question_votes ( type comment_votes (line 78) | create table comment_votes ( type tags (line 89) | create table tags ( FILE: platform/migrations/migrations/20180903013450-question-tags.sql type question_tags (line 2) | create table question_tags ( FILE: platform/migrations/migrations/20180905220531-notification-table.sql type notifications (line 2) | create table notifications ( FILE: platform/migrations/migrations/20180915035412-code-rooms.sql type code_rooms (line 2) | create table code_rooms ( FILE: platform/migrations/migrations/20180930153901-video-requests.sql type video_requests (line 2) | create table video_requests ( type video_request_votes (line 11) | create table video_request_votes ( FILE: platform/migrations/migrations/20181005005500-challenges-tables.sql type challenges (line 2) | create table challenges ( type user_challenges (line 16) | create table user_challenges ( FILE: platform/migrations/migrations/20181021204739-chats-table.sql type discord_chat_messages (line 2) | create table discord_chat_messages ( FILE: platform/migrations/migrations/20190624224428-script-town.sql type cli_scripts (line 2) | create table cli_scripts ( FILE: platform/migrations/migrations/20191023224428-stickers.sql type sticker_orders (line 2) | create table sticker_orders ( FILE: platform/migrations/migrations/20200711133430-piston-stats.sql type piston_runs (line 2) | create table piston_runs ( FILE: platform/migrations/migrations/20200830224428-contests-tables.sql type contests (line 2) | create table contests ( type contest_submissions (line 19) | create table contest_submissions ( FILE: platform/migrations/migrations/20200918012206-cleanup-old-tables.sql type `code_rooms` (line 13) | CREATE TABLE `code_rooms` ( type `comment_votes` (line 25) | CREATE TABLE `comment_votes` ( type `comments` (line 36) | CREATE TABLE `comments` ( type `notifications` (line 56) | CREATE TABLE `notifications` ( type `question_tags` (line 71) | CREATE TABLE `question_tags` ( type `question_votes` (line 80) | CREATE TABLE `question_votes` ( type `questions` (line 91) | CREATE TABLE `questions` ( type `video_request_votes` (line 107) | CREATE TABLE `video_request_votes` ( type `video_requests` (line 116) | CREATE TABLE `video_requests` ( FILE: platform/migrations/migrations/20200918012216-award-table.sql type awards (line 2) | create table awards ( FILE: platform/migrations/migrations/20210117161957-create-tests-table.sql type challenge_tests (line 2) | create table challenge_tests ( FILE: platform/models/awards.js class awards (line 4) | class awards extends Sequelize.Model {} method get (line 23) | get() { method beforeCreate (line 46) | beforeCreate(instance) { FILE: platform/models/challenge_tests.js class challenge_tests (line 4) | class challenge_tests extends Sequelize.Model {} FILE: platform/models/challenges.js class challenges (line 4) | class challenges extends Sequelize.Model {} method get (line 23) | get() { method get (line 35) | get() { FILE: platform/models/cli_scripts.js class cli_scripts (line 4) | class cli_scripts extends Sequelize.Model {} method get (line 23) | get() { method get (line 34) | get() { method beforeCreate (line 44) | beforeCreate(instance) { FILE: platform/models/contest_submissions.js class contest_submissions (line 4) | class contest_submissions extends Sequelize.Model {} method beforeCreate (line 31) | beforeCreate(instance) { FILE: platform/models/contests.js class contests (line 5) | class contests extends Sequelize.Model {} method get (line 26) | get() { method get (line 35) | get() { method get (line 46) | get() { method get (line 52) | get() { method beforeCreate (line 126) | beforeCreate(instance) { FILE: platform/models/discord_chat_messages.js class discord_chat_messages (line 4) | class discord_chat_messages extends Sequelize.Model {} method beforeCreate (line 25) | beforeCreate(instance) { FILE: platform/models/piston_runs.js class piston_runs (line 4) | class piston_runs extends Sequelize.Model {} method beforeCreate (line 26) | beforeCreate(instance) { FILE: platform/models/snippets.js class snippets (line 5) | class snippets extends Sequelize.Model {} method get (line 23) | get() { method get (line 29) | get() { method beforeCreate (line 39) | async beforeCreate(instance) { FILE: platform/models/sticker_orders.js class sticker_orders (line 4) | class sticker_orders extends Sequelize.Model {} method beforeCreate (line 28) | beforeCreate(instance) { FILE: platform/models/tags.js class tags (line 4) | class tags extends Sequelize.Model {} FILE: platform/models/user_challenges.js class user_challenges (line 4) | class user_challenges extends Sequelize.Model {} method beforeCreate (line 24) | beforeCreate(instance) { FILE: platform/models/users.js class users (line 5) | class users extends Sequelize.Model {} method beforeCreate (line 30) | beforeCreate(instance) { method beforeUpdate (line 40) | beforeUpdate(instance) { FILE: platform/public/lib/bootbox/bootbox.js function d (line 6) | function d(a){var b=q[o.locale];return b?b[a]:q.en[a]} function e (line 6) | function e(a,c,d){a.stopPropagation(),a.preventDefault();var e=b.isFunct... function f (line 6) | function f(a){var b,c=0;for(b in a)c++;return c} function g (line 6) | function g(a,c){var d=0;b.each(a,function(a,b){c(a,b,d++)})} function h (line 6) | function h(a){var c,d;if("object"!=typeof a)throw new Error("Please supp... function i (line 6) | function i(a,b){var c=a.length,d={};if(1>c||c>2)throw new Error("Invalid... function j (line 6) | function j(a,c,d){return b.extend(!0,{},a,i(c,d))} function k (line 6) | function k(a,b,c,d){var e={className:"bootbox-"+a,buttons:l.apply(null,b... function l (line 6) | function l(){for(var a={},b=0,c=arguments.length;c>b;b++){var e=argument... function m (line 6) | function m(a,b){var d={};return g(b,function(a,b){d[b]=!0}),g(a.buttons,... FILE: platform/public/lib/highlightjs/highlight-ln.js function t (line 1) | function t(){var n=e.createElement("style");n.type="text/css",n.innerHTM... function r (line 1) | function r(t){"complete"===e.readyState?l(t):n.addEventListener("DOMCont... function l (line 1) | function l(t){try{var r=e.querySelectorAll("code.hljs");for(var l in r)r... function i (line 1) | function i(n,e){if("object"==typeof n){e=e||{singleLine:!1};var t=e.sing... function o (line 1) | function o(n,e){var t=c(n);if(""===t[t.length-1].trim()&&t.pop(),t.lengt... function s (line 1) | function s(n){var e=n.childNodes;for(var t in e)if(e.hasOwnProperty(t)){... function a (line 1) | function a(n){var e=n.className;if(/hljs-/.test(e)){for(var t=c(n.innerH... function c (line 1) | function c(n){return 0===n.length?[]:n.split(L)} function d (line 1) | function d(n){return(n.trim().match(L)||[]).length} function u (line 1) | function u(e){n.setTimeout(e,0)} function h (line 1) | function h(n,e){return n.replace(/\{(\d+)\}/g,function(n,t){return e[t]?... FILE: platform/public/lib/highlightjs/highlight.pack.js function n (line 2) | function n(e){return e.replace(/&/g,"&").replace(/t;t++... function g (line 2) | function g(e,t){t=t||I.languages||x(y);var r={r:0,value:n(e)},a=r;return... function p (line 2) | function p(e){return I.tabReplace||I.useBR?e.replace(M,function(e,n){ret... function h (line 2) | function h(e,n,t){var r=n?L[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)... function d (line 2) | function d(e){var n,t,r,o,l,s=i(e);a(s)||(I.useBR?(n=document.createElem... function b (line 2) | function b(e){I=o(I,e)} function v (line 2) | function v(){if(!v.called){v.called=!0;var e=document.querySelectorAll("... function m (line 2) | function m(){addEventListener("DOMContentLoaded",v,!1),addEventListener(... function N (line 2) | function N(n,t){var r=y[n]=t(e);r.aliases&&r.aliases.forEach(function(e)... function R (line 2) | function R(){return x(y)} function w (line 2) | function w(e){return e=(e||"").toLowerCase(),y[e]||y[L[e]]} FILE: platform/resources/challenges/templates/template.c function main (line 5) | int main(int argc, char **argv) { FILE: platform/resources/challenges/templates/template.cs class MainClass (line 3) | class MainClass { method Main (line 4) | static void Main(string[] args) { FILE: platform/resources/challenges/templates/template.go function main (line 9) | func main() { FILE: platform/resources/challenges/templates/template.java class Main (line 1) | public class Main { method main (line 2) | public static void main(String[] args) { FILE: platform/resources/challenges/templates/template.rs function main (line 5) | fn main() { FILE: platform/resources/js/util.js class Util (line 4) | class Util { method unpack_props (line 5) | static unpack_props(props) { method try_render (line 13) | static try_render(id, comp) { method are_test_cases_valid (line 32) | static are_test_cases_valid(test_object) { FILE: platform/resources/jsx/challenges/challenge.jsx method constructor (line 7) | constructor(props) { method componentDidMount (line 33) | componentDidMount() { method componentWillUnmount (line 46) | componentWillUnmount() { method execute (line 51) | async execute() { method editor_change (line 100) | editor_change(_) { method before_unload (line 110) | before_unload(e) { FILE: platform/resources/jsx/challenges/manage_challenge.jsx method constructor (line 8) | constructor(props) { method componentDidMount (line 27) | componentDidMount() { method handle_change (line 69) | handle_change(e) { method save (line 91) | async save() { method manage_test (line 118) | manage_test(editing_test) { method delete_test (line 122) | async delete_test(index_to_delete) { method save_test (line 128) | async save_test() { FILE: platform/resources/jsx/cli_script.jsx class CliScript (line 5) | class CliScript extends React.Component { method componentDidMount (line 6) | componentDidMount() { method render (line 28) | render() { FILE: platform/resources/jsx/contests/contest.jsx method constructor (line 10) | constructor(props) { method highlight_blocks (line 56) | highlight_blocks() { method componentDidMount (line 62) | async componentDidMount() { method delete (line 231) | async delete(contest_submission_id) { FILE: platform/resources/jsx/contests/description.jsx class Description (line 4) | class Description extends React.PureComponent { method ops_to_html (line 5) | ops_to_html(ops) { method render (line 16) | render() { FILE: platform/resources/jsx/contests/manage.jsx class Manage (line 7) | class Manage extends React.Component { method constructor (line 8) | constructor(props) { method componentDidMount (line 17) | async componentDidMount() { method render (line 156) | render() { FILE: platform/resources/jsx/login.jsx class Login (line 5) | class Login extends React.Component { method constructor (line 6) | constructor(props) { method open (line 17) | open(redirect) { method close (line 24) | close() { method render (line 30) | render() { FILE: platform/resources/jsx/manage_snippet.jsx class ManageSnippet (line 6) | class ManageSnippet extends React.Component { method constructor (line 7) | constructor(props) { method componentDidMount (line 146) | componentDidMount() { method check_runnable_language (line 167) | check_runnable_language() { method execute (line 175) | async execute() { method handle_change (line 207) | handle_change(e) { method change_language (line 213) | change_language(event) { method toggle_word_wrap (line 227) | toggle_word_wrap() { method save (line 237) | async save() { method render (line 254) | render() { FILE: platform/resources/jsx/mobile_nav.jsx class MobileNav (line 5) | class MobileNav extends React.Component { method constructor (line 6) | constructor(props) { method open (line 17) | open(redirect) { method close (line 23) | close() { method render (line 29) | render() { FILE: platform/resources/jsx/ppman.jsx class PistonPackageManager (line 6) | class PistonPackageManager extends React.Component { method constructor (line 7) | constructor(props) { method componentDidMount (line 16) | async componentDidMount() { method render (line 24) | render() { FILE: platform/resources/jsx/stickers.jsx class Stickers (line 7) | class Stickers extends React.Component { method constructor (line 8) | constructor(props) { method componentDidMount (line 30) | componentDidMount() { method handle_update (line 93) | handle_update(e) { method check_coupon (line 115) | check_coupon() { method submit (line 134) | submit(e) { method render (line 163) | render() { FILE: platform/resources/jsx/users.jsx class Users (line 7) | class Users extends React.Component { method constructor (line 8) | constructor(props) { method render (line 28) | render() {