thecodingaviator / coasttocow

MIT License
1 stars 1 forks source link

Submit DO metadata? #38

Closed gordoncd closed 1 year ago

gordoncd commented 1 year ago

scripts from drive should import meta so DO meta shouldn't ever be imported from upload.php. Basically, I think that 85% of the file can be deleted and still be ok.

If add another session variable 'is_RD' then we can ignore the metadata submission portion of upload.php and then just upload into google drive.

so in upload.php, add if statement at line 52 which breaks if 'is_RD' is not set or is false. In record_RD set $_SESSION['is_RD'] to true before executing js stuff.

gordoncd commented 1 year ago

mostly adding this so I know what to do when I go to fix it later today/ monday morning, don't worry abt working on it. If DO not working this is why.

gordoncd commented 1 year ago

done, need to implement metadata insertion in cron workflow when we do that.