OnlineDrives is a module used by Research-Hub social networking platform. It allows external cloud drives (e.g. Sciebo, Google Drive) to be accessed from Hub community and spaces.

mdawal 021aeff3fd Initial version 6 years ago
.travis 021aeff3fd Initial version 6 years ago
actions 021aeff3fd Initial version 6 years ago
assets 021aeff3fd Initial version 6 years ago
controllers 021aeff3fd Initial version 6 years ago
docs 021aeff3fd Initial version 6 years ago
libs 021aeff3fd Initial version 6 years ago
messages 021aeff3fd Initial version 6 years ago
migrations 021aeff3fd Initial version 6 years ago
models 021aeff3fd Initial version 6 years ago
permissions 021aeff3fd Initial version 6 years ago
resources 021aeff3fd Initial version 6 years ago
tests 021aeff3fd Initial version 6 years ago
vendor 021aeff3fd Initial version 6 years ago
views 021aeff3fd Initial version 6 years ago
widgets 021aeff3fd Initial version 6 years ago
.travis.yml 021aeff3fd Initial version 6 years ago
Events.php 021aeff3fd Initial version 6 years ago
Module.php 021aeff3fd Initial version 6 years ago
README.md 021aeff3fd Initial version 6 years ago
config.php 021aeff3fd Initial version 6 years ago
module.json 021aeff3fd Initial version 6 years ago

README.md

Module Drivemanager

Module for managing drives inside spaces and on profiles.

Description:

This module will allow you to manage files in a filesystem like structure.

  • upload, download, move, delete files
  • create, delete, move, edit folders
  • automatically create/extract a folder structure from a ZIP file (optional, configurable)
  • download files as a zip file (optional, configurable)
  • see an overview of all files that were posted to the user/space stream
  • see details of files like creator, editor, creation date, ...

Setup Instructions:

After installation and activiation from the Marketplace you can deactivate the ZIP functionality if you want. In the profile and space views (.../space/manage/module | .../user/account/edit-modules) you can now activate the module for the designated space or user. A new navigation link will show up that leads you to the module view.

Installation (German): Gdriver ist im Verzeichnis „protected/modules“ der HumHub-Installation abzulegen.

Die Dateien client_secret.json und token.json fehlen im Git Repository:

  • Um client_secret.json individuell zu erstellen, sind folgende Schritte nötig:
    • https://console.developers.google.com/apis/credentials aufrufen.
    • Ein neues Projekt zu erstellen.
    • Anmeldedaten für OAuth-Client-ID erstellen
      • Webanwendung auswählen
      • Unter „Autorisierte Weiterleitungs-URIs“ sind folgende 2 URIs einzutragen:
      • Anschließend öffnet sich das Dialogfenster „OAuth-Client“, welches die Client-ID und den Clientschlüssel bereithält. Es darf geschlossen werden.
      • Unter dem Punkt „OAuth 2.0-Client-IDs“ ist nun ein neuer Eintrag vorhanden, an dessen Ende sich ein Download-Symbol befindet, womit sich die benötigte JSON-Datei herunterladen lässt. Diese sollte in client_secret.json umbenannt und im Wurzelverzeichnis von Gdriver abgelegt werden.
  • token.json wird automatisch erstellt, insofern client_secret.json bei Aufruf von Gdriver korrekt vorliegt. Dabei wird der Nutzer durch den Anmeldeprozess zu Google geführt, an dessen Ende token.json erstellt wird.