GithubHelp home page GithubHelp logo

pmmp / crasharchive Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 7.0 1.81 MB

Web-based searchable archive for PocketMine-MP crash reports

Home Page: https://crash.pmmp.io

Makefile 0.44% Go 66.09% HTML 31.57% CSS 1.54% Dockerfile 0.36%

crasharchive's People

Contributors

dktapps avatar intyre avatar ogfris avatar sof3 avatar twistedasylummc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crasharchive's Issues

Change the crash types shown in the list of crashes.

The list of crashes (as seen here) should not include crashes that were caused solely by a plugin; if someone were to go looking through the list so that they can make a pull request to fix the issue, it would make no sense to include the crashes caused by plugins on the list. The user should have an option to view the following at a time.

  1. Plugin Crashes Only
  2. Software Crashes Only to to
  3. Plugin and Software Crashes

I plan on making a pull request implementing this change if it is accepted. What are your thoughts on this change?

Allow submissions from builds with detected modifications / invalid git hashes

A lot of server owners modify their servers for one reason or another. In a lot of cases, such users will encounter the same problems that a user with an unmodified build will have.

Instead of rejecting invalid builds, we should accept them but flag them in a nice visible colour as "modified build", and allow them to be filtered from /list.

Move crashdump decoding out of submit main handler

Currently a deferred recovery is used to prevent bad crashdumps from crashing the server. However, this also allows undesired recovery from things that are actually bugs, such as a slice index out of bounds.

This should be solved by encapsulating crashdump decoding inside a dedicated function which can have a deferred recovery of its own.

Keep a table of all known versions

Instead of the awkward "build number" comparison we have now, it would be better to be able to multi select versions that we want to see crashes from. This can be done by keeping a table of all the known versions, and then using that table to display a list of options on /search.

Installing fails

I get those errors
root@v1754 ~/ca-pmmp/src/github.com/pmmp/CrashArchive # make build/linux GOOS=linux go build -o ./bin/ca-pmmp-linux main.go:10:2: cannot find package "github.com/pmmp/CrashArchive/app" in any of: /usr/lib/go-1.7/src/github.com/pmmp/CrashArchive/app (from $GOROOT) ($GOPATH not set) main.go:11:2: cannot find package "github.com/pmmp/CrashArchive/app/crashreport" in any of: /usr/lib/go-1.7/src/github.com/pmmp/CrashArchive/app/crashreport (from $GOROOT) ($GOPATH not set) main.go:12:2: cannot find package "github.com/pmmp/CrashArchive/app/database" in any of: /usr/lib/go-1.7/src/github.com/pmmp/CrashArchive/app/database (from $GOROOT) ($GOPATH not set) main.go:13:2: cannot find package "github.com/pmmp/CrashArchive/app/router" in any of: /usr/lib/go-1.7/src/github.com/pmmp/CrashArchive/app/router (from $GOROOT) ($GOPATH not set) main.go:14:2: cannot find package "github.com/pmmp/CrashArchive/app/template" in any of: /usr/lib/go-1.7/src/github.com/pmmp/CrashArchive/app/template (from $GOROOT) ($GOPATH not set) main.go:15:2: cannot find package "github.com/pmmp/CrashArchive/app/webhook" in any of: /usr/lib/go-1.7/src/github.com/pmmp/CrashArchive/app/webhook (from $GOROOT) ($GOPATH not set) Makefile:10: recipe for target 'build/linux' failed make: *** [build/linux] Error 1

Missing fields in ReportData

  • lastError
  • parameters
  • extensions
  • phpinfo

These fields are sent by PocketMine-MP but not read by the crash archive.

Ability to search (or sort) crashes by plugin with exact version

It would be great to find crash by plugin with its version, or at least somehow show plugin versions on the crash list. For example, when I am looking for crashes in my plugins, most of those are already patched in newer versions. Adding this feature would solve the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.