Skip to content

Add Archive of our own Provider#173

Open
PrecociouslyDigital wants to merge 20 commits intoLagradOst:masterfrom
PrecociouslyDigital:users/syd/ao3-plugin
Open

Add Archive of our own Provider#173
PrecociouslyDigital wants to merge 20 commits intoLagradOst:masterfrom
PrecociouslyDigital:users/syd/ao3-plugin

Conversation

@PrecociouslyDigital
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Owner

@LagradOst LagradOst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bit unsure if unfinished as not everything is used here, it seams to work at least

@PrecociouslyDigital
Copy link
Copy Markdown
Author

It's done and ready for merge on my end!

@LagradOst
Copy link
Copy Markdown
Owner

LagradOst commented Jun 19, 2023

dont do too much UI as all UI is currently being refacored

@PrecociouslyDigital
Copy link
Copy Markdown
Author

dont do too much UI as all UI is currently being refacored

What part of the UI are you referring to? the login system?

@LagradOst
Copy link
Copy Markdown
Owner

dont do too much UI as all UI is currently being refacored

What part of the UI are you referring to? the login system?

yup

@PrecociouslyDigital
Copy link
Copy Markdown
Author

Unfortunately it needs some UI so the user can enter their username and password to access protected works on AO3; The total extent of this is just a setting in the settings menu.

@LagradOst
Copy link
Copy Markdown
Owner

Unfortunately it needs some UI so the user can enter their username and password to access protected works on AO3; The total extent of this is just a setting in the settings menu.

yes, just dont add anything extra

@PrecociouslyDigital
Copy link
Copy Markdown
Author

It's ready for review/merge now

@LagradOst LagradOst requested a review from Blatzar June 24, 2023 22:00
@LagradOst
Copy link
Copy Markdown
Owner

An app wide cookie jar makes everything harder to debug and handle. Easier for us to be explicit with cookies for deterministic behavior.

If you want sessions with cookies I think https://github.com/Blatzar/NiceHttp/blob/master/library/src/main/java/com/lagradost/nicehttp/Session.kt would work good enough for limited time cookies.

At the very least please create your own cookie requests instance instead of an app wide change.

@LagradOst
Copy link
Copy Markdown
Owner

do note that I removed the cookejar from mainactivity

@PrecociouslyDigital
Copy link
Copy Markdown
Author

ready for review!

@ghost
Copy link
Copy Markdown

ghost commented Jul 4, 2023

@PrecociouslyDigital I tried the ao3 provider and tried to log in using the new provider settings, and it just crashed. also the search timed out.

@LagradOst
Copy link
Copy Markdown
Owner

  1. DONT USE A FRAGMENT. use an alert
  2. Your current code is crashing
  3. Archive of our own Provider is reporting ratings higher than possible in qn you are confusing the variables, read or just do peopleVoted = peopleVoted views = views ect
  4. You use MainActivity.mainActivity everywhere, use context instead as it is a global weak reference or even activity if activity is needed

@PrecociouslyDigital
Copy link
Copy Markdown
Author

@LagradOst I'd like to clarify; I shouldn't make provider settings a menu of its own?

@LagradOst
Copy link
Copy Markdown
Owner

@LagradOst I'd like to clarify; I shouldn't make provider settings a menu of its own?

shit forgor to reply, but I want to show an Alert for settings, it is a sort of popup so you dont take up the entire page. Here is an example in cs3. This also makes it possible to show anywhere
image

@PrecociouslyDigital
Copy link
Copy Markdown
Author

Gotit; I unfortunately will be busy until August so if you or anyone else wants to make these changes I'd be delighted. If not I'll try to get this in by Aug 15th

@LagradOst
Copy link
Copy Markdown
Owner

Understandable, have a great day

@ghost
Copy link
Copy Markdown

ghost commented Dec 7, 2023

@PrecociouslyDigital this still in progresss, if not I'll try my best to finish it. I was going to add it ages ago since I wanted to add this for my crush

@PrecociouslyDigital
Copy link
Copy Markdown
Author

PrecociouslyDigital commented Dec 7, 2023 via email

@cheesy3097
Copy link
Copy Markdown

cheesy3097 commented Apr 27, 2024

please add local source @LagradOst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants