HubPress / hubpress.io

A web application to build your blog on GitHub
MIT License
2.81k stars 2.63k forks source link

New Post does not publish #486

Open thomaszahr opened 7 years ago

thomaszahr commented 7 years ago

Updated today ... like the streamlined looks.

Unfortunately I can't get hubpress to publish ... both Chrome and Firefox seem to hang.

jaredmorgs commented 7 years ago

Hi @thomaszahr

So is this on a new blog post, or an existing blog post that you are updating?

At one point when I was doing some testing I did notice some issues with updating an existing post. Particularly if I deleted the contents and then pasted in new AsciiDoc content from a text editor like Atom.io

thomaszahr commented 7 years ago

Hi @jaredmorgs

It's a new post (written in Sublime 3). Uploaded to _Posts via Github. When I hit the upload button it seems to hang. Same behaviour in Firefox and Chrome.

thomaszahr commented 7 years ago

Deleted the post and pasted it into the editor window. Posting then worked.

A bit of a bummer, that. Eventually I'd like to write on and post from my iPad, without having to use a PC or tunnel to my Mac.

Talking about iPads, Safari on the iPad "hangs" while Initializing the log in screen, Chrome shows the Log in, but the authentication fails.

jaredmorgs commented 7 years ago

https://hubpress.gitbooks.io/hubpress-knowledgebase/content/write/create_posts_in_repo.html unfortunately confirms the lack of CLI for HubPress.

I can confirm that I can use an android tablet to author and publish HubPress blog posts. It was actually the core reason why I began using HubPress and subsequently became a project team member. I didn't have a PC and didn't want to be bothered with Jekyll or other SSGs.

It sounds like you're wanting to author posts in Sublime, git push your post to your HubPress repo from your PC, but are running into issues when you try and view the post in HubPress on your iPad.

Did you try the following:

  1. Push a post into the /_posts directory using GitHub.
  2. Log onto HubPress.
  3. Use the Resync button to sync the status of posts in the /_posts directory.

Unfortunately Safari is not supported because it doesn't allow support for the local database HubPress uses.

Chrome for iPad should work just fine, but it sounds like you're having some issues there with the latest changes. I'm predicting it may have something to do with the new libraries @anthonny is using in the product.

If you wouldn't mind, it might be better to open up a new issue to capture the problem with Chrome for iOS so @anthonny can track it as a discrete issue (and so other users discover it as well when searching the bug backlog).

thomaszahr commented 7 years ago

Re: logging in on iPad, will open new issue

Thanks

thomaszahr commented 7 years ago

Re: not posting

I actually uploaded the post directly to guthub using the webinterface, our corporate firewall does not like the git installer ;-)

Anyway, will give your suggestions a try.