Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues #125, 129, and 140 #169

Merged
merged 6 commits into from
Oct 15, 2024
Merged

Issues #125, 129, and 140 #169

merged 6 commits into from
Oct 15, 2024

Conversation

nataliebrotherton
Copy link
Collaborator

Issue #125 turn on debug log by default

  • Added a flag in the options table to store whether the user has changed the debug log setting
  • If it hasn't been changed, debug log is enabled on activation

Issue #129 Validate correct authorized application

  • Server application has access to 15 endpoints
  • Wild Apricot API will respond with a list of scopes. If there are less than 15, the user is prompted to change the application type to a server application

Issue #140 Remove admin-only fields

  • Admin-only fields are separated into another list stored in the options table and displayed as disabled or grayed out checkboxes

@asirota
Copy link
Member

asirota commented Oct 10, 2024

I'll need to update read me file with changes. Can you also tag this as a 1.1 version please in the code?

@nataliebrotherton
Copy link
Collaborator Author

did you want to wait for the rest of the issues to be resolved? (fixing sync, customizing login page, etc)

@asirota
Copy link
Member

asirota commented Oct 10, 2024

did you want to wait for the rest of the issues to be resolved? (fixing sync, customizing login page, etc)

I think so. You can keep doing to this draft PR. And I can test against it before merging.

@nataliebrotherton
Copy link
Collaborator Author

This branch is named specific to the issues that were fixed so I made a 1.1 branch and set that as the upstream for this one

src/admin-settings.php Outdated Show resolved Hide resolved
} elseif ($wild_apricot_url) {
} elseif ($api_status == WA_Integration::API_STATUS_INCORRECT_SCOPE) {
// incorrect scope selected
echo '<p class="wap-error">Incorrect application scope. Please create a <strong>full-access Server Application</strong> on Wild Apricot.</p>';
Copy link
Member

Choose a reason for hiding this comment

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

WildApricot is the correct spelling

Copy link
Member

@asirota asirota left a comment

Choose a reason for hiding this comment

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

just a few typos on WildApricot spelling

@asirota
Copy link
Member

asirota commented Oct 11, 2024

This branch is named specific to the issues that were fixed so I made a 1.1 branch and set that as the upstream for this one

Ok, this pull is set to go against master so you probably want to change the target to 1.1

reference the 1.1 branch
reference 1.1 branch correctly
@asirota
Copy link
Member

asirota commented Oct 15, 2024

@nataliebrotherton please confirm the changes I requested and make the edits.

@nataliebrotherton nataliebrotherton changed the base branch from master to 1.1 October 15, 2024 14:46
@asirota asirota merged commit 73f2e2a into 1.1 Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants