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

Cleanup old logging code #2

Open
carl-alberto opened this issue Nov 8, 2019 · 0 comments
Open

Cleanup old logging code #2

carl-alberto opened this issue Nov 8, 2019 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@carl-alberto
Copy link
Member

Remove commented code

write_log( $middle );
write_log( $filename );
write_log( $abs_path );
write_log( $url );

// TODO:
// 1) convert to class
// cleanup code for metabox
// cleanup code tika meta
// load option file
// transfer tika meta from attachment to doc so it can be indexed
// eliminate notice
// restrict file uploads
// test solar if metas are now indexed
// Create a solr shortcode
// create solr block
// Extension must have at least one checked
// when uploading, media selection cannot choose other accepted file extension
// eliminate unneecessary functions
// on upload existing file, attach data.
// make the upload file required
// default to upload and restric from selcting uploaded file or the recent file should be indexed.
// Settings should file checks if correct or existing..
// Deploy phpcs runners
// use php unit testing
// minimize ignore

Code in restricting the upload in Document CPT Media uploader

// library: {
// order: 'DESC',
// // [ 'name', 'author', 'date', 'title', 'modified', 'uploadedTo', 'id', 'post__in', 'menuOrder' ]
// orderby: 'modified',
// // mime type. e.g. 'application/pdf', update this later for additinoal restricitons when uploading.
// type: [ 'application/pdf' ],
// search: null,
// },

@carl-alberto carl-alberto added this to the 1.0.5 milestone Nov 8, 2019
@carl-alberto carl-alberto added the good first issue Good for newcomers label Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant