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

Methods to support file status icons #398

Merged

Conversation

Copy link
Member

@Cheddam Cheddam left a comment

Choose a reason for hiding this comment

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

Looking pretty solid! A couple of tweaks to make, and a query about queries.

@emteknetnz emteknetnz force-pushed the pulls/1/file-manager-icons branch 4 times, most recently from a7b6aaf to c558a2b Compare May 21, 2020 02:00
@robbieaverill
Copy link
Contributor

Nice work, it’s pretty clear. I’ve left some questions and suggestions. Can you please also provide some unit tests for this, and write a short description of the API you’re adding for your commit message?

@emteknetnz
Copy link
Member Author

@robbieaverill

Nice work

Chur

I’ve left some questions and suggestions.

I'm not seeing these, could you point me in the right direction?

@robbieaverill
Copy link
Contributor

Ha, whoops

@emteknetnz emteknetnz force-pushed the pulls/1/file-manager-icons branch 2 times, most recently from b3a2816 to 4927de6 Compare May 21, 2020 07:04
- hasRestrictedAccess() -- member-less permission check on file
- isTrackedFormUpload() -- file was uploaded via a form and tracked in db
@emteknetnz emteknetnz force-pushed the pulls/1/file-manager-icons branch from 4927de6 to 239c559 Compare May 21, 2020 22:55
Copy link
Member

@Cheddam Cheddam left a comment

Choose a reason for hiding this comment

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

I think this is good to go 👍

@robbieaverill Happy to proceed with merge?

Copy link
Contributor

@robbieaverill robbieaverill left a comment

Choose a reason for hiding this comment

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

Nice!

@robbieaverill robbieaverill merged commit 7c18d8d into silverstripe:1 May 25, 2020
@Cheddam Cheddam deleted the pulls/1/file-manager-icons branch May 25, 2020 00:15
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.

5 participants