jhthorsen / app-mojopaste Goto Github PK
View Code? Open in Web Editor NEWPastebin
Pastebin
The test suite fails on all of my smokers (and also on other systems) for 1.01, 1.02, and 1.03:
http://matrix.cpantesters.org/?dist=App-mojopaste;maxver=1
Hi!
Edit description for https://hub.docker.com/r/jhthorsen/mojopaste/
I think like this
I test this. Its work
Hi!
Thank you very much for your hard work.
I suggest adding information about this. I think it will be useful for the users of the application. What do you think?
Hi,
Please make a (configurable) way to not require JS for creating a Paste.
Thanks in advance,
Stephan
https://github.com/sklukin/App-mojopaste-Backend-Mongo
I wrote letter to [email protected]
See subject. Beginning of the test log:
# Failed test '302 Found'
# at t/charts.t line 30.
# got: '500'
# expected: '302'
Use of uninitialized value in pattern match (m//) at t/charts.t line 31.
# Failed test '200 OK'
# at t/charts.t line 33.
# got: '500'
# expected: '200'
# Failed test 'exact match for selector "title"'
# at t/charts.t line 33.
# got: 'Server error (development mode)'
# expected: 'Some cool header - Mojopaste graph'
# Failed test 'content is similar'
# at t/charts.t line 33.
# '<!DOCTYPE html>
# <!-- Request ID: ece28a0c -->
...
Statistical analysis suggests that this happens with the newest Mojolicious:
****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 35067594683460248.00
[1='eq_7.70'] 0.0000 0.0000 0.00
[2='eq_7.71'] 0.0000 0.0000 1.03
[3='eq_7.72'] 0.0000 0.0000 0.00
[4='eq_7.74'] 0.0000 0.0000 0.00
[5='eq_7.75'] 0.0000 0.0000 0.00
[6='eq_7.81'] 0.0000 0.0000 0.00
[7='eq_7.82'] 0.0000 0.0000 0.00
[8='eq_7.83'] 0.0000 0.0000 3.37
[9='eq_7.84'] 0.0000 0.0000 3.18
[10='eq_7.85'] 0.0000 0.0000 0.00
[11='eq_8.0'] -1.0000 0.0000 -31365410207850940.00
R^2= 1.000, N= 95, K= 12
****************************************************************
Would be cool if I could embed the paste in Convos and other services. Add coupling with Mojolicious::Plugin::LinkEmbedder afterwards.
The t/unicode.t test fails with the newest Mojolicious:
# Failed test 'exact match for selector "pre"'
# at t/unicode.t line 22.
Wide character in print at /usr/perl5.14.4/lib/site_perl/5.14.4/Test/Builder.pm line 1826.
# got: 'BLACK DOWN-POINTING TRIANGLE :3'
# expected: 'BLACK DOWN-POINTING TRIANGLE Σ'
# Failed test 'exact match for content'
# at t/unicode.t line 23.
Wide character in print at /usr/perl5.14.4/lib/site_perl/5.14.4/Test/Builder.pm line 1826.
# got: 'BLACK DOWN-POINTING TRIANGLE :3'
# expected: 'BLACK DOWN-POINTING TRIANGLE Σ'
# Looks like you failed 2 tests of 6.
t/unicode.t ......
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests
Statistical analysis (negative theta is bad):
****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 116746645577737856.00
[1='eq_5.32'] 0.0000 0.0000 4.58
[2='eq_5.79'] 0.0000 0.0000 1.32
[3='eq_6.08'] 0.0000 0.0000 5.73
[4='eq_6.09'] 0.0000 0.0000 5.61
[5='eq_6.10'] 0.0000 0.0000 6.32
[6='eq_6.11'] 0.0000 0.0000 7.94
[7='eq_6.17'] 0.0000 0.0000 11.22
[8='eq_6.19'] 0.0000 0.0000 4.58
[9='eq_6.27'] 0.0000 0.0000 5.29
[10='eq_6.31'] 0.0000 0.0000 9.17
[11='eq_6.32'] 0.0000 0.0000 9.17
[12='eq_6.33'] 0.0000 0.0000 9.17
[13='eq_6.34'] 0.0000 0.0000 9.17
[14='eq_6.36'] 0.0000 0.0000 9.17
[15='eq_6.37'] -1.0000 0.0000 -101105560876939136.00
R^2= 1.000, N= 44, K= 16
****************************************************************
When running the test suite I see on some systems the warning:
allow_barekey is not supported in JSON::XS. at (eval 86) line 1.
Hi!!!
My be add to README https://github.com/sklukin/dockermojopaste?
The Artistic 2.0 is good license but less known and fragmentation of licenses hurts end users who don't have a time or don't know to learn about them.
So they may just choose another software.
The Perl itself dual licensed by the Artistic and GPLv1
https://github.com/Perl/perl5/blob/blead/Copying
Also the artistic is compatible and is suppressed by the GPL
https://www.gnu.org/licenses/license-list.en.html#ArtisticLicense2
Mojolicious needs a 'secret' to be set, as described at http://mojolicio.us/perldoc/Mojolicious/Guides/FAQ#What-does-Your-secret-passphrase-needs-to-be-changed-mean
As a result of it not being set, I get this in my logs.
[Thu Dec 11 10:24:45 2014] [debug] Your secret passphrase needs to be changed!!!
I am wondering what the 'correct' way to set it in mojopaste is?
I'm considering adding an information page, which gives a bit information about what this app is all about, how to use it and alternative pastebin services.
It would be really cool if it would not only be possible to paste the data from clipboard, but also upload it from a file.
If you don't want to add another button, perhaps support drag-n-drop (or both!).
Thanks for the project by the way!
It would be nice if there was an option to set a topic for the graphs. The reason I want this is typically to explain what each graph is all about, and when it was last updated.
Look at it! https://imgur.com/Uf4cnfK
Firefox has a habit to put borders on buttons whenever it can. Adding 'border: 0px;' to the button class fixes the issue.
The test suite started to fail:
# Failed test 'exact match for content'
# at t/mojopaste.t line 26.
# got: '<!DOCTYPE html>
# <!-- Request ID: Hf2e2kqWLrnX -->
# <html>
# <head>
# <title>Page Not Found (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
...
# </footer>
# </body>
# </html>
# '
# expected: '// somefile.js
# var foo = 123; // cool!
# var toooooooo_long_for_title = 1234567890;
# '
# Looks like you failed 1 test of 37.
t/mojopaste.t ....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/37 subtests
Statistical analysis suggests that it fails with newer Mojolicious versions:
****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 10430435211036800.00
[1='eq_8.09'] 0.0000 0.0000 0.82
[2='eq_8.11'] 0.0000 0.0000 1.64
[3='eq_8.12'] 0.0000 0.0000 1.42
[4='eq_8.15'] 0.0000 0.0000 2.46
[5='eq_8.16'] 0.0000 0.0000 2.07
[6='eq_8.17'] 0.0000 0.0000 2.05
[7='eq_8.18'] 0.0000 0.0000 2.81
[8='eq_8.21'] 0.0000 0.0000 2.36
[9='eq_8.22'] 0.0000 0.0000 4.58
[10='eq_8.23'] -0.0000 0.0000 -3.11
[11='eq_8.36'] 0.0000 0.0000 2.46
[12='eq_8.50'] 0.0000 0.0000 4.09
[13='eq_9.0'] -0.0000 0.0000 -1.64
[14='eq_9.02'] -0.0000 0.0000 -2.46
[15='eq_9.03'] -0.0000 0.0000 -3.28
[16='eq_9.11'] -1.0000 0.0000 -9329264866714258.00
[17='eq_9.12'] -1.0000 0.0000 -8516414687399709.00
[18='eq_9.13'] -1.0000 0.0000 -10271182573518808.00
R^2= 1.000, N= 119, K= 19
****************************************************************
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.