From marius at ieval.ro Sun Jun 29 21:52:48 2014 From: marius at ieval.ro (Marius Gavrilescu) Date: Mon, 30 Jun 2014 00:52:48 +0300 Subject: [MetaCPAN] explorer.metacpan.org: ReferenceError: hljs is not defined Message-ID: <874mz3tmbz.fsf@ieval.ro> This is Iceweasel 32.0a2 running on Debian sid. When I point it to http://explorer.metacpan.org I get a perfectly blank page (except for the ), with an error in the console saying "ReferenceError: hljs is not defined" at app.js:103. Please tell me what other information I should provide. -- Marius Gavrilescu -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.scsys.co.uk/pipermail/metacpan/attachments/20140630/0b752074/attachment.pgp> From marius at ieval.ro Sun Jun 29 22:02:35 2014 From: marius at ieval.ro (Marius Gavrilescu) Date: Mon, 30 Jun 2014 01:02:35 +0300 Subject: [MetaCPAN] Uploading author meta data Message-ID: <87y4wfs7b8.fsf@ieval.ro> Some time ago metacpan had an option to create an account and then use it to alter your author meta data. Right now the website only lets you log in with Facebook/GitHub/Twitter/Google. I have found [0], which looks promising. However, the link at the bottom of the page ([1]) points to a very old commit, and I could not find an equivalent directory in master. Does this author-version.json method still work? If yes, can I download my current meta data in this format somehow? If not, how can I update my meta data without having to create an account at Facebook/Github/Twitter/Google/any other non-free service? [0]: https://github.com/CPAN-API/cpan-api/wiki/How-to-upload-author-meta-data [1]: https://github.com/CPAN-API/cpan-api/tree/3ad5ad8506c18e4bc3caa6c1489db694e600dcb5/conf/authors/id -- Marius Gavrilescu -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.scsys.co.uk/pipermail/metacpan/attachments/20140630/ffdeb3e6/attachment.pgp> From rwstauner at cpan.org Sun Jun 29 22:03:15 2014 From: rwstauner at cpan.org (Randy Stauner) Date: Sun, 29 Jun 2014 15:03:15 -0700 Subject: [MetaCPAN] explorer.metacpan.org: ReferenceError: hljs is not defined In-Reply-To: <874mz3tmbz.fsf@ieval.ro> References: <874mz3tmbz.fsf@ieval.ro> Message-ID: <CAAbMhopf8bQiJ3YgnYrMb4rFbT+gC1mS+fVzCTcpG1XK0_9aFg@mail.gmail.com> It might be an issue that hljs is being loaded from another site. Are you running NoScript (or something else that blocks scripts from third parties)? Can you tell if that script is being loaded? We've discussed before that perhaps we should merge those dependencies in and jam them into one script file. I made an issue on Github: https://github.com/CPAN-API/metacpan-explorer/issues/8 If you have an account, feel free to continue this conversation there. Thanks for reporting. On Sun, Jun 29, 2014 at 2:52 PM, Marius Gavrilescu <marius at ieval.ro> wrote: > > This is Iceweasel 32.0a2 running on Debian sid. > > When I point it to http://explorer.metacpan.org I get a perfectly blank > page (except for the <title>), with an error in the console saying > "ReferenceError: hljs is not defined" at app.js:103. > > Please tell me what other information I should provide. > -- > Marius Gavrilescu > > _______________________________________________ > MetaCPAN mailing list > MetaCPAN at lists.scsys.co.uk > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/metacpan > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.scsys.co.uk/pipermail/metacpan/attachments/20140629/336356f1/attachment.htm> From marius at ieval.ro Sun Jun 29 22:12:08 2014 From: marius at ieval.ro (Marius Gavrilescu) Date: Mon, 30 Jun 2014 01:12:08 +0300 Subject: [MetaCPAN] explorer.metacpan.org: ReferenceError: hljs is not defined In-Reply-To: <CAAbMhopf8bQiJ3YgnYrMb4rFbT+gC1mS+fVzCTcpG1XK0_9aFg@mail.gmail.com> (Randy Stauner's message of "Sun, 29 Jun 2014 15:03:15 -0700") References: <874mz3tmbz.fsf@ieval.ro> <CAAbMhopf8bQiJ3YgnYrMb4rFbT+gC1mS+fVzCTcpG1XK0_9aFg@mail.gmail.com> Message-ID: <87simns6vb.fsf@ieval.ro> Randy Stauner <rwstauner at cpan.org> writes: > Are you running NoScript (or something else that blocks scripts from > third parties)? I am using NoScript, and the only domain that is blocked is yandex.st (which is where hljs comes from). I have unblocked it, but the result is the same. > Can you tell if that script is being loaded? It probably isn't. The network panel shows that the highlight.min.js script is downloaded successfully, but it does not show up in the Debugger panel. Oh, I've found the problem. The Disconnect addon was blocking the request, thinking it is an 'Advertising' request. > We've discussed before that perhaps we should merge those dependencies > in and jam them into one script file. This sounds like a good plan, because it would prevent problems such as mine. > If you have an account, feel free to continue this conversation there. I don't. > Thanks for reporting. Thanks for the reply. :-) -- Marius Gavrilescu -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.scsys.co.uk/pipermail/metacpan/attachments/20140630/919a9a93/attachment.pgp> From rwstauner at cpan.org Sun Jun 29 22:13:57 2014 From: rwstauner at cpan.org (Randy Stauner) Date: Sun, 29 Jun 2014 15:13:57 -0700 Subject: [MetaCPAN] Uploading author meta data In-Reply-To: <87y4wfs7b8.fsf@ieval.ro> References: <87y4wfs7b8.fsf@ieval.ro> Message-ID: <CAAbMhor4vwck+epBcm19riywzzz+-aopSPHbWa0z7nc_93_3ow@mail.gmail.com> We currently have someone working on an OpenID option, so maybe that will work for you in the future. We don't have the author.json files in the repo anymore, but I think we still process them if upload one to your PAUSE directory. I updated the wiki page to try to be a little more clear. You can download your current author json from http://api.metacpan.org/author/$PAUSEID On Sun, Jun 29, 2014 at 3:02 PM, Marius Gavrilescu <marius at ieval.ro> wrote: > > Some time ago metacpan had an option to create an account and then use > it to alter your author meta data. Right now the website only lets you > log in with Facebook/GitHub/Twitter/Google. > > I have found [0], which looks promising. However, the link at the bottom > of the page ([1]) points to a very old commit, and I could not find an > equivalent directory in master. > > Does this author-version.json method still work? > If yes, can I download my current meta data in this format somehow? > If not, how can I update my meta data without having to create an > account at Facebook/Github/Twitter/Google/any other non-free service? > > [0]: > https://github.com/CPAN-API/cpan-api/wiki/How-to-upload-author-meta-data > [1]: > https://github.com/CPAN-API/cpan-api/tree/3ad5ad8506c18e4bc3caa6c1489db694e600dcb5/conf/authors/id > -- > Marius Gavrilescu > > _______________________________________________ > MetaCPAN mailing list > MetaCPAN at lists.scsys.co.uk > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/metacpan > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.scsys.co.uk/pipermail/metacpan/attachments/20140629/d48ada82/attachment.htm> From marius at ieval.ro Sun Jun 29 22:21:18 2014 From: marius at ieval.ro (Marius Gavrilescu) Date: Mon, 30 Jun 2014 01:21:18 +0300 Subject: [MetaCPAN] Uploading author meta data In-Reply-To: <CAAbMhor4vwck+epBcm19riywzzz+-aopSPHbWa0z7nc_93_3ow@mail.gmail.com> (Randy Stauner's message of "Sun, 29 Jun 2014 15:13:57 -0700") References: <87y4wfs7b8.fsf@ieval.ro> <CAAbMhor4vwck+epBcm19riywzzz+-aopSPHbWa0z7nc_93_3ow@mail.gmail.com> Message-ID: <87ha33s6g1.fsf@ieval.ro> Randy Stauner <rwstauner at cpan.org> writes: > We currently have someone working on an OpenID option, > so maybe that will work for you in the future. > > We don't have the author.json files in the repo anymore, but I think > we still process them if upload one to your PAUSE directory. I prefer uploading author.json to using OpenID, so if that still works I'll use it. > I updated > the wiki page to try to be a little more clear. > > You can download your current author json from > http://api.metacpan.org/author/$PAUSEID Thanks a lot! -- Marius Gavrilescu -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.scsys.co.uk/pipermail/metacpan/attachments/20140630/0885aba6/attachment-0001.pgp>