Unit 4 Lab Dropbox

0 views
Skip to first unread message

Sanna Pospicil

unread,
Aug 3, 2024, 2:32:56 PM8/3/24
to fetzpenguili

You should be swapping out the Dropbox parts for mocks, which return ideal responses - you shouldnt ever test more code than absolutely necessary in a unit test, and that includes third party libraries or integrations.

If the Dropbox part fails, thats an entirely different ball game, but you should be assuming the response your unit tests requires, which means successes and failures as you test those parts of your code.

Now I'd like to have it run at boot, so in the same web page I found instructions to create /etc/init.d/dropbox and set USER to my user.I run update-rc.d and tried to reboot.After reboot the daemon is not running.

Installed desktop ver. 197.4.7571 on my Windows 10 desktop machine today, and made a mistake to set my online Documents folder to BACKUP. Now the files that are in that folder are on my Windows 10 desktop machine as they were before, but can not be accessed from my Win 10 laptop. I need them to be real time sync, so how do I recover those files in Backup back so that they are real time syncing on both my Desktop and Laptop machines?

Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
Interested in Community Groups? Click here to join!

I had this same issue once I opted into the Backup. Now I messed up all my main Macbook folders that synced immediately in Dropbox. Is there a way to revert this or reset this even if it means deleting dropbox and restarting it all?

OK. I deleted the BACKUP, but now how do I go about getting the files in my Documents folder to re-sync in real time? I set Preferences>Sync to "Available offline", and Selective Sync to PC>Documents, save, but files in my Documents folder do not appear in Dropbox.

So for many years I've been using Dropbox with my Macbook and it synced my what I call "Main" folders like Desktop, Documents, Downloads, Music, etc... If I downloaded a document from the internet, I save it in my Downloads folder, and Dropbox would sync to the Downloads folder and I could access that file from the Dropbox desktop app, iPhone app, i.e. that downloaded file would be available across dropbox almost immediately.

In terms of folder structure, I had my Dropbox folder on my MacBook, which within Dropbox folder included a folder called "Mac" and within that was all my "Main" folders (again like the Documents, Downloads, etc). This was automatically setup when I first downloaded Dropbox. I'm assuming this was done at the root folder, and what I mean by root folder is that on Macbooks it goes like: "Macintosh HD/Users/ravi" and within ravi would be all my "Main" folders. Again everything synced perfectly and was accessible on Dropbox with multiple devices.

Now here is the downfall of all this- Dropbox kept sending me messages about turning on Dropbox Backup. So I rushed into activating Dropbox Backup. I didn't think much of it until, I was using Dropbox on my iPhone and my files disappeared. The "Dropbox/Mac" folder where all my "Main" folders were syncing had nothing in it. However when I opened my Macbook there were files in the "Main" folders. I reached out to Dropbox support and they reverted those files back so that it all matches, now the Dropbox/Mac has my "Main" folders in it, but one thing seemed off, those folders no longer had a icon on them:

Folders synced immediately to dropbox. Now what happens is that due to my Dropbox Backup, every 15 minutes, it backs up those folders and files. If I place a new file called "Test File" into my Macbook Downloads folder which is located at "Macintosh HD/Users/ravi". Dropbox Backup takes that folder every 15 minutes (Thats the fastest Dropbox Backup does it), and updates online as in the cloud, to my backup at You would image that if I open up Dropbox on my iPhone, go to "Mac" where my main folders have been, go to Downloads you would expect to see the "Test File" and nope that's not where it updates. So now If I go to my backup at and there I see my Downloads folder, and check inside that's where my "Test File" will be.

This is absolutely silly now, its one additional step now to access files and folders that I had readily access and updated versions to.

If I got to my Macbook and go to my Dropbox/Mac now there are old files and nothing syncs into those when originally those synced with the "Main" files I was working with on my Macbook.

I have no idea what the solution is to revert back to the original functionality, I tried searching online and on the forums, I've tried to disable Dropbox Backups and do what @jsauser11 did and try to drag and drop my "Macintosh HD/Users/ravi" folders like Downloads into the "Mac" folder on Dropbox to see if it would resync and connect the synchronization that used to be there and that didn't work for me.

I don't know if there is another solution to this, one last thing I have not tried is to delete dropbox completely, and reinstall. But when I talked to Dropbox support they said it would not go back to my original functionality and that I am stuck with this. I think this is a huge oversight on how people have been using Dropbox, especially on Macbooks.

The number of users for this assignment that can submit to the folder, have alreadysubmitted an assignment, and have already received feedback on their submission,respectively. If these properties contain -1, then the number of users enrolledin the corresponding org unit is too large to permit performant calculation of thesevalues (this behaviour can be enabled via D2L support for back-end service), or therequesting user does not have permission to access this information.

If you provide start and end date values, you should also provide valuesfor the corresponding availability type fields(StartDateAvailabilityType and EndDateAvailabilityType) when thefeature is available. If you do not provide type values, the back endservice uses the default availability type configured for the appropriateorg unit. If you provide the type fields and the feature is not availablefor the orgunit, your actions will return a 400 Bad Request badrequest status code.

If null or not present, the property will not be changed. Defaults to nullfor new dropbox folders. If ScoreDenominator is null or not preset, the propertywill not be changed. ScoreDenominator defaults to null for new dropbox folders.

If null or not present, the property will not be changed. Default is based onanonymous config settings for new dropbox folders. If anonymity is forced on, itwill default to true. If default config is on, it will default to true. Otherwise,it will default to false.

If null or not present, the property will not be changed. Defaults to Group fornew dropbox folders if the GroupTypeId property is present and not null; otherwise,the default is Individual. When changing a dropbox from Individual to Group, theGroupTypeId property must be present and not null. If submissions have been receivedthe type will not be allowed to change.

If null or not present, the property will not be changed. Default is false for new dropboxfolders. The calling user requires permission to manage dropboxes, manage delivery, and setspecial access to change this property.

If the parent dropbox folder is associated with a grade object that is a select box grade object type, then this field can be used to set the score. This is doneby using the grade scheme to determine theassigned value associated with the symbol specified. Note if this field isset, it will be used to set the score and not the score field.

A dropbox folder may belong to a folder category. The following JSON blockdescribes the dropbox category information returned from the service orprovided to the service. When you use an action to create or update adropbox category, the Id field is not required.

Each dropbox folder provides a place for org unit entities (users or groups ofusers) to submit work for assessment. Each dropbox folder represents a singleopportunity for assessment (for example, the submission of a single paper forgrading, or quiz for testing, and so on).

Return. This action returns a object list page containing the resulting UserAccess blocks for the segment following your bookmarkparameter (or the first segment if that parameter is empty or missing).

When an entity (user or group) wants to submit work for assessment, thesubmission contains one or more files uploaded. These actions provide ways toprogrammatically retrieve submissions already completed for a dropbox folder,and ways to submit new ones.

Return. This action retrieves a JSON array of EntityDropbox structures that fully enumerates all the submissionscurrently provided to the dropbox folders by all the entities. Any submissionthat already has feedback will come with the feedback as well.

If you provide the ?activeOnly=true query parameter, the returned arraycontains submissions only from actively enrolled users; if you omit theparameter, or provide =false for it, the call retrieves all submissionsfor the dropbox folder.

If you provide the ?activeOnly=true query parameter, the returned arraycontains submissions only from actively enrolled users; if you omit theparameter, or provide false for it, the call retrieves all submissionsfor the dropbox folder.

Input. Provide an empty post body. You should ensure that your requestincludes a Content-Length: 0 HTTP header value (some HTTP client librariesmay neglect to do this with empty post calls).

Input. Note that, if you want the service to re-calculate the overalllevel associated with the feedback for the submission, you should providenull for the OverallLevel property in the data block you provide.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages