Drutol / MALClient

Not so small client app for Myanimelist.net - Windows 10 UWP & Android
GNU General Public License v3.0
354 stars 32 forks source link

Posting error and refresh issue #68

Closed rahulrameshnair closed 8 years ago

rahulrameshnair commented 8 years ago

Hi, I encountered an error while making new posts in the forums. When I click "submit" button it takes me to MAL website post page. I was trying to make a post in the "Anime Recommendations" section. Please look into it.

posting error
rahulrameshnair commented 8 years ago

About refresh - when am posting a new post and trying to keep updated with a particular forum say "anime recommendations" or "series discussion". To refresh, I have to go back to the main forum to refresh. Can you please place a refresh button in the sub-forums as well.

refresh button
Drutol commented 8 years ago

This button has been already added :D

As for webpage navigation, I'm not posting on forums so I don't know to what url this thing is navigating so my system interprets it as external navigation. If you are able to give me the url I'll fix this :)

rahulrameshnair commented 8 years ago

The url is the same url of the MAL post page corresponding to the sub-forum in which we are posting.

Example, if I am trying to post in the "anime recommendation" forum. When I click submit it opens the url to make the post on the same sub-forum in the browser.

Try making a post, and u will see. I can give you the url, but the url changes depending upon the sub-forum in which we are trying to post.

Drutol commented 8 years ago

So after creating new post it navigates to this post or the board? I've created only 2 topics back in April and Febrauary so I didn't check the urls back then ^^

rahulrameshnair commented 8 years ago

It navigates to the board. The post does not get created at all. That's the biggest issue. Means it's not possible to create a new post in a sub-forum.

I think it's better u try to make a post to recreate this bug. It will be easier to fix.

I tried making post in the anime recommendation section.

Drutol commented 8 years ago

I wish they had "Test" section... I'll look into it. I'm not sure whether I'll be able to fix this today.

I was making this forum thing with lurking in mind :D

rahulrameshnair commented 8 years ago

Well. Integrating MAL forum is some thing not much people have done before. I don't think anyone has done it before. So it does pose a lot of challenges.

You can try asking for anime recommendations and test it. But u won't have to worry. Things u post from the app does not get posted in the forum. The process gets cut off in the middle and a new website opens. I tried it around 3 times.

Drutol commented 8 years ago

Probably because new request is redirected to website and website doesn't have cookies. So Request is denied.

rahulrameshnair commented 8 years ago

Are u using a Web view inside the app, or pulling each info from the API. It's the former right?

Drutol commented 8 years ago

Index and boards are natively "scrapped". Post and new topic are web view. There's no API.

Drutol commented 8 years ago

Would you like to help me check whether my solution works before I put this thing on the store?

rahulrameshnair commented 8 years ago

Sure, How can I help?

Drutol commented 8 years ago

I'll send you link with version for testing :) Gimme a few minutes :)

rahulrameshnair commented 8 years ago

sure, should I uninstall the one I have or will they run side by side?

Drutol commented 8 years ago

The new one will replace the old one

rahulrameshnair commented 8 years ago

ok, no issue. Send me the link.

Drutol commented 8 years ago

It's uploading now

Drutol commented 8 years ago

https://rink.hockeyapp.net/apps/b79e78858bdf44c4bfc3a1f37c8fd90c/app_versions/68

Drutol commented 8 years ago

Your quest is to create new topic ^^

rahulrameshnair commented 8 years ago

It says "App not found" when I click on the link.

Drutol commented 8 years ago

https://rink.hockeyapp.net/apps/b79e78858bdf44c4bfc3a1f37c8fd90c and this?

image

rahulrameshnair commented 8 years ago
error
rahulrameshnair commented 8 years ago

Upload in onedrive or so and share. Its an executable file right?

Drutol commented 8 years ago

I want to try this method of publishing ^^

I did use onedrive previously

rahulrameshnair commented 8 years ago

-_- Make sure the app you published has proper permissions set. I think its now in private mode.

Drutol commented 8 years ago

Okey, should be working now

Drutol commented 8 years ago

I was searching for the button :D

rahulrameshnair commented 8 years ago

Yes, its working. I am downloading now.

rahulrameshnair commented 8 years ago

Done. Extracted the zip file. Now what?

Drutol commented 8 years ago

run the PS script

rahulrameshnair commented 8 years ago

Ya running. I had to enable developer mode and all. Making a forum post now

rahulrameshnair commented 8 years ago

Nope, error is still there. I tried to make an article in Anim recommendation and this time, the moment i clicked on "create new topic" it got redirected to https://myanimelist.net/forum/?action=post&boardid=16

rahulrameshnair commented 8 years ago

Even clicking the "preview" button takes me to the link mentioned above.

Drutol commented 8 years ago

Okay if there was ?action=post it didn't have the right to work.

Drutol commented 8 years ago

I'll have to remove preview at least for now :( But I got this working I think

rahulrameshnair commented 8 years ago

Ya, preview is not useful anways.

Drutol commented 8 years ago

Hah, if I'm posting somewhere I'm clicking preview like 5 times xd

Drutol commented 8 years ago

Any other issues before I upload next test version?

rahulrameshnair commented 8 years ago

Lol, I never do that. I just read it at the end and post. 😝

rahulrameshnair commented 8 years ago

Well, this is the main one and the other one is the color issue. When we make a new comment, it comes in white background which causes a mismatch with the theme of the app. I posted that pic earlier and you replied you are aware of that.

Drutol commented 8 years ago

Yes but I'm not able to do this now. This requires some pretty hardcore hacks which take time. I'm talking other small issues with the app ^^

rahulrameshnair commented 8 years ago

Umm, let's see. Scaled icons, "when clicking search, the search screen occupies the full area of the screen hiding whatever we were doing in forums". That's all I can find for now.

Drutol commented 8 years ago

Still the issue with icons?

rahulrameshnair commented 8 years ago

Hmm it's fixed. I restarted the laptop. Now it's fine. What about the search box? Is it possible to be included?

Drutol commented 8 years ago

Nope, too much stuff not enough time.

Drutol commented 8 years ago

https://rink.hockeyapp.net/apps/b79e78858bdf44c4bfc3a1f37c8fd90c/app_versions/69

rahulrameshnair commented 8 years ago

Umm, I closed the lap and making bed to sleep now. I thought u were publishing on the store. So.I switched off the lap.and everything. 😭😭

Drutol commented 8 years ago

I wouldn't upload something broken, right... right?

rahulrameshnair commented 8 years ago

Haha true. I assumed you made a post yourself in MAL. 😢

Drutol commented 8 years ago

w/e went to certification xd