├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── pull_request_template.md ├── .gitignore ├── .gitmodules ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── README.md ├── TODO.txt ├── cabal.project ├── cabal.project.freeze ├── hie.yaml ├── play-haskell-server ├── .gitignore ├── LICENSE ├── Makefile ├── example-snippets.txt ├── haskell-play-logo.svg ├── migrate_db_1_2.sh ├── migrate_db_2_3.sh ├── migrate_db_3_4.sh ├── migrate_db_4_5.sh ├── migrate_db_5_6.sh ├── play-haskell-server.cabal ├── play.mustache ├── src │ ├── DB.hs │ ├── Data │ │ ├── Queue.hs │ │ └── Queue │ │ │ └── Priority.hs │ ├── LinuxStats.hs │ ├── Main.hs │ ├── Pages.hs │ ├── Play.hs │ ├── Play │ │ ├── Examples.hs │ │ ├── WorkerPool.hs │ │ └── WorkerPool │ │ │ └── WorkerReqs.hs │ └── ServerModule.hs ├── static │ ├── Makefile │ ├── admin_dashboard.html │ ├── haskell-logo-tw.svg │ ├── haskell-play-logo.png │ ├── package.json │ ├── play-index.ts │ └── robots.txt └── test │ ├── Main.hs │ └── Text │ └── JSON │ └── Shim.hs ├── play-haskell-types ├── GenSecretKey.hs ├── LICENSE ├── play-haskell-types.cabal ├── src │ ├── PlayHaskellTypes.hs │ └── PlayHaskellTypes │ │ ├── Constants.hs │ │ ├── Sign.hs │ │ ├── Statistics.hs │ │ └── Statistics │ │ ├── RunningHist.hs │ │ ├── Stats.hs │ │ └── Types.hs └── test │ └── Main.hs ├── play-haskell-worker ├── .gitignore ├── LICENSE ├── Makefile ├── bwrap-files │ ├── .gitignore │ ├── chroot-initialise.sh │ ├── dwindle-dependencies.py │ ├── mkallbuildscripts.sh │ ├── mkbuildscript.sh │ ├── stage-1.sh │ ├── stage-2.sh │ ├── stage-3.sh │ ├── systemd-kill-shim.c │ ├── systemd-run-shim.c │ └── systemd-shim-inc.h ├── play-haskell-worker.cabal ├── src │ ├── Data │ │ └── Queue.hs │ ├── GHCPool.hs │ └── Main.hs └── test │ └── Main.hs ├── snap-server-utils ├── LICENSE ├── snap-server-utils.cabal └── src │ └── Snap │ └── Server │ ├── Utils.hs │ └── Utils │ ├── BasicAuth.hs │ ├── Challenge.hs │ ├── ExitEarly.hs │ ├── Hex.hs │ ├── Options.hs │ ├── Shim.hs │ └── SpamDetect.hs ├── systemd-run-shim-user.patch ├── testcase-cpuquota.txt ├── testcase-memlimit.txt └── usage_graph.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/.gitmodules -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/README.md -------------------------------------------------------------------------------- /TODO.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/TODO.txt -------------------------------------------------------------------------------- /cabal.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/cabal.project -------------------------------------------------------------------------------- /cabal.project.freeze: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/cabal.project.freeze -------------------------------------------------------------------------------- /hie.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/hie.yaml -------------------------------------------------------------------------------- /play-haskell-server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/.gitignore -------------------------------------------------------------------------------- /play-haskell-server/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/LICENSE -------------------------------------------------------------------------------- /play-haskell-server/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/Makefile -------------------------------------------------------------------------------- /play-haskell-server/example-snippets.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/example-snippets.txt -------------------------------------------------------------------------------- /play-haskell-server/haskell-play-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/haskell-play-logo.svg -------------------------------------------------------------------------------- /play-haskell-server/migrate_db_1_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/migrate_db_1_2.sh -------------------------------------------------------------------------------- /play-haskell-server/migrate_db_2_3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/migrate_db_2_3.sh -------------------------------------------------------------------------------- /play-haskell-server/migrate_db_3_4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/migrate_db_3_4.sh -------------------------------------------------------------------------------- /play-haskell-server/migrate_db_4_5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/migrate_db_4_5.sh -------------------------------------------------------------------------------- /play-haskell-server/migrate_db_5_6.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/migrate_db_5_6.sh -------------------------------------------------------------------------------- /play-haskell-server/play-haskell-server.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/play-haskell-server.cabal -------------------------------------------------------------------------------- /play-haskell-server/play.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/play.mustache -------------------------------------------------------------------------------- /play-haskell-server/src/DB.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/DB.hs -------------------------------------------------------------------------------- /play-haskell-server/src/Data/Queue.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/Data/Queue.hs -------------------------------------------------------------------------------- /play-haskell-server/src/Data/Queue/Priority.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/Data/Queue/Priority.hs -------------------------------------------------------------------------------- /play-haskell-server/src/LinuxStats.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/LinuxStats.hs -------------------------------------------------------------------------------- /play-haskell-server/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/Main.hs -------------------------------------------------------------------------------- /play-haskell-server/src/Pages.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/Pages.hs -------------------------------------------------------------------------------- /play-haskell-server/src/Play.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/Play.hs -------------------------------------------------------------------------------- /play-haskell-server/src/Play/Examples.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/Play/Examples.hs -------------------------------------------------------------------------------- /play-haskell-server/src/Play/WorkerPool.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/Play/WorkerPool.hs -------------------------------------------------------------------------------- /play-haskell-server/src/Play/WorkerPool/WorkerReqs.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/Play/WorkerPool/WorkerReqs.hs -------------------------------------------------------------------------------- /play-haskell-server/src/ServerModule.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/src/ServerModule.hs -------------------------------------------------------------------------------- /play-haskell-server/static/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/static/Makefile -------------------------------------------------------------------------------- /play-haskell-server/static/admin_dashboard.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/static/admin_dashboard.html -------------------------------------------------------------------------------- /play-haskell-server/static/haskell-logo-tw.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/static/haskell-logo-tw.svg -------------------------------------------------------------------------------- /play-haskell-server/static/haskell-play-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/static/haskell-play-logo.png -------------------------------------------------------------------------------- /play-haskell-server/static/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/static/package.json -------------------------------------------------------------------------------- /play-haskell-server/static/play-index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/static/play-index.ts -------------------------------------------------------------------------------- /play-haskell-server/static/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / 3 | -------------------------------------------------------------------------------- /play-haskell-server/test/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/test/Main.hs -------------------------------------------------------------------------------- /play-haskell-server/test/Text/JSON/Shim.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-server/test/Text/JSON/Shim.hs -------------------------------------------------------------------------------- /play-haskell-types/GenSecretKey.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/GenSecretKey.hs -------------------------------------------------------------------------------- /play-haskell-types/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/LICENSE -------------------------------------------------------------------------------- /play-haskell-types/play-haskell-types.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/play-haskell-types.cabal -------------------------------------------------------------------------------- /play-haskell-types/src/PlayHaskellTypes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/src/PlayHaskellTypes.hs -------------------------------------------------------------------------------- /play-haskell-types/src/PlayHaskellTypes/Constants.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/src/PlayHaskellTypes/Constants.hs -------------------------------------------------------------------------------- /play-haskell-types/src/PlayHaskellTypes/Sign.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/src/PlayHaskellTypes/Sign.hs -------------------------------------------------------------------------------- /play-haskell-types/src/PlayHaskellTypes/Statistics.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/src/PlayHaskellTypes/Statistics.hs -------------------------------------------------------------------------------- /play-haskell-types/src/PlayHaskellTypes/Statistics/RunningHist.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/src/PlayHaskellTypes/Statistics/RunningHist.hs -------------------------------------------------------------------------------- /play-haskell-types/src/PlayHaskellTypes/Statistics/Stats.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/src/PlayHaskellTypes/Statistics/Stats.hs -------------------------------------------------------------------------------- /play-haskell-types/src/PlayHaskellTypes/Statistics/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/src/PlayHaskellTypes/Statistics/Types.hs -------------------------------------------------------------------------------- /play-haskell-types/test/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-types/test/Main.hs -------------------------------------------------------------------------------- /play-haskell-worker/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/.gitignore -------------------------------------------------------------------------------- /play-haskell-worker/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/LICENSE -------------------------------------------------------------------------------- /play-haskell-worker/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/Makefile -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/.gitignore -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/chroot-initialise.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/chroot-initialise.sh -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/dwindle-dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/dwindle-dependencies.py -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/mkallbuildscripts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/mkallbuildscripts.sh -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/mkbuildscript.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/mkbuildscript.sh -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/stage-1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/stage-1.sh -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/stage-2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/stage-2.sh -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/stage-3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/stage-3.sh -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/systemd-kill-shim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/systemd-kill-shim.c -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/systemd-run-shim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/systemd-run-shim.c -------------------------------------------------------------------------------- /play-haskell-worker/bwrap-files/systemd-shim-inc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/bwrap-files/systemd-shim-inc.h -------------------------------------------------------------------------------- /play-haskell-worker/play-haskell-worker.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/play-haskell-worker.cabal -------------------------------------------------------------------------------- /play-haskell-worker/src/Data/Queue.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/src/Data/Queue.hs -------------------------------------------------------------------------------- /play-haskell-worker/src/GHCPool.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/src/GHCPool.hs -------------------------------------------------------------------------------- /play-haskell-worker/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/src/Main.hs -------------------------------------------------------------------------------- /play-haskell-worker/test/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/play-haskell-worker/test/Main.hs -------------------------------------------------------------------------------- /snap-server-utils/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/LICENSE -------------------------------------------------------------------------------- /snap-server-utils/snap-server-utils.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/snap-server-utils.cabal -------------------------------------------------------------------------------- /snap-server-utils/src/Snap/Server/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/src/Snap/Server/Utils.hs -------------------------------------------------------------------------------- /snap-server-utils/src/Snap/Server/Utils/BasicAuth.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/src/Snap/Server/Utils/BasicAuth.hs -------------------------------------------------------------------------------- /snap-server-utils/src/Snap/Server/Utils/Challenge.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/src/Snap/Server/Utils/Challenge.hs -------------------------------------------------------------------------------- /snap-server-utils/src/Snap/Server/Utils/ExitEarly.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/src/Snap/Server/Utils/ExitEarly.hs -------------------------------------------------------------------------------- /snap-server-utils/src/Snap/Server/Utils/Hex.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/src/Snap/Server/Utils/Hex.hs -------------------------------------------------------------------------------- /snap-server-utils/src/Snap/Server/Utils/Options.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/src/Snap/Server/Utils/Options.hs -------------------------------------------------------------------------------- /snap-server-utils/src/Snap/Server/Utils/Shim.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/src/Snap/Server/Utils/Shim.hs -------------------------------------------------------------------------------- /snap-server-utils/src/Snap/Server/Utils/SpamDetect.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/snap-server-utils/src/Snap/Server/Utils/SpamDetect.hs -------------------------------------------------------------------------------- /systemd-run-shim-user.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/systemd-run-shim-user.patch -------------------------------------------------------------------------------- /testcase-cpuquota.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/testcase-cpuquota.txt -------------------------------------------------------------------------------- /testcase-memlimit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/testcase-memlimit.txt -------------------------------------------------------------------------------- /usage_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/play-haskell/HEAD/usage_graph.py --------------------------------------------------------------------------------