Giter Site home page Giter Site logo

filemanager's People

Contributors

1810653613 avatar jo-chris avatar manuel-seisl avatar

Watchers

 avatar  avatar  avatar  avatar

filemanager's Issues

Views mit Bootstrap erstellen

  • Login-View erstellen
  • Register-View erstellen
  • Übersichts-View erstellen
  • 404-View erstellen
  • Modal für "Neuer Ordner"
  • Modal für "Upload"

Für Dienstag kleiner Bugfix

Hallo liebes Projektteam,

ich korrigiere bereits die Projektarbeiten. Mir ist ein kleiner Bug aufgefallen von dem ich denke, dass es für die Präsentation nicht verkehrt wäre, wenn Sie das noch bis Dienstag beheben könnten:

Erweitern Sie bitte folgende Zeile von assets/js/classes/core.js Zeile 157 um

newRow.setAttribute("data-path", data.path);
newRow.setAttribute("data-filename", data.name); //newly added

Außerdem in der gleichen Datei an folgender Stelle - Zeile 220
eine kleine Anpassung

ersetzen Sie

                //get name and path
                file.name = e.target.parentNode.parentNode.parentNode.children[0].lastChild.textContent;
                //current path is always displayed at top
                file.path = e.target.parentNode.parentNode.parentNode.getAttribute('data-path');

durch

                //get name and path
                //file.name = e.target.parentNode.parentNode.parentNode.children[0].lastChild.textContent; //do not rely on such things! This gives different results in different browsers!
                file.name = e.target.parentNode.parentNode.getAttribute('data-filename');
                //current path is always displayed at top
                file.path = e.target.parentNode.parentNode.getAttribute('data-path');

Darüber hinaus ist mir in der gleichen Datei an folgender Stelle - Zeile 473 eine Kleinigkeit aufgefallen von der ich nicht sicher bin ob das ein Bug ist oder ein Feature:

    return `
            <td class="table-light align-middle"><input type="checkbox" class=" ${bool ? "invisible" : "visible" } name="filedata" ></input><button class="btn mr-2 ml-2"><i class="${utils.determineFileIcon(data.name, data.type)} fa-2x text-primary"></i></button>${data.name}</td>
            <td class="table-light align-middle">${utils.calcRealSize(data.size)}</td>
            <td class="table-light align-middle">${utils.formatDate(data.date_modified)}</td>
            <td class="table-light text-center align-middle"> 
            <button class="btn btn-outline-danger ml-2 float-right deleteItem">Löschen</button>
            <button class="btn btn-outline-primary float-right downloadItem ${bool ? "invisible" : "visible" }">Herunterladen</button></td>
            </tr>
            `;

In der ersten Zeile fehlt ein schließendes Anführungszeichen oben " bei class=" ${bool ? "invisible" : "visible" } name="filedata" >

und ein schließender input Tag ist ein bisschen oldschool (XHTML mäßig).

Wahrscheinlich wäre es so wie gewollt:

return `
            <td class="table-light align-middle"><input type="checkbox" class="${bool ? "invisible" : "visible" }" name="filedata" ><button class="btn mr-2 ml-2"><i class="${utils.determineFileIcon(data.name, data.type)} fa-2x text-primary"></i></button>${data.name}</td>
            <td class="table-light align-middle">${utils.calcRealSize(data.size)}</td>
            <td class="table-light align-middle">${utils.formatDate(data.date_modified)}</td>
            <td class="table-light text-center align-middle"> 
            <button class="btn btn-outline-danger ml-2 float-right deleteItem">Löschen</button>
            <button class="btn btn-outline-primary float-right downloadItem ${bool ? "invisible" : "visible" }">Herunterladen</button></td>
            </tr>
            `;

Ansonsten sieht ihre Projektarbeit mal sehr gut aus! Ich hab zwar am Dienstag noch eine Rückfrage bezüglich Arbeitsaufteilung - da erscheint es mir so, dass einer ihrer Teammitglieder nicht genug Arbeit bekommen hat / erledigen konnte - aber das werde ich am Dienstag von Ihnen drei persönlich erfragen.

Herzliche Grüße
Daniel Hoover

TreeView: Ordnerstruktur/DropDown erstellen

  • Navigation durch das Baumverzeichnis erstellen (Achtung, Referenzen (klassen, ids) auf UI-Elemente sind aktuell noch statisch!!) bitte absprechen, wenn am DOM was verändert wird

Rest API's

  • Auslesen aller Dateien und Ordner (anhand Parameter "directory", Parameter "type" (file or directory)
  • Schnittstelle für Upload /api/upload/
  • Schnittstelle für Suche von Dateien / Ordner
  • Anpassung Schnittstelle merhfaches Löschen
  • Download mehrere Dateien (ZIP)

Icon bug

Icons werden per Funktion geladen:
grafik

Auszug aus Funktion:
grafik

Wirre Ausgabe, mehrfache Klassenbenennung:
grafik

known bugs

buglist is currently exploding, so we should put them all in here...

  • if you try to download folders --> 404`
  • bottom Button Actions (Herunterladen, Löschen, Transferieren) do appear and hide whenever they want to (absolute shit)
  • extracting a .zip folder fails
  • if filtering for files (non-global) date and time is NaN and Invalid
  • fetching an empty order.. well u know what happens
  • improve sort algo for within-folder-search (non-global)
  • a click on a folder should open it & be at the very top of the table, highlighted
  • show a picture instead of the empty table if nothing is selected (at the very beginning)
  • please exclude folder by download, hide checkbox

enhancements

  • place folders on top
  • change folders icon to folder icon
  • mark them?

SearchBar NaN size

if user searches for files/folders, size and date are being displayed as NaN and Invalid Date.

finals

  • implement New and Upload button @1810653613
  • single download and multiple download still has some issues
  • remove single item / multiple items not implemented yet
  • table and treeview not responsive (Manu)
  • delete row in upload db (Manu)
  • show directories on start in right direction (Chris)
  • file upload js (Manu)
  • new directory js (Manu)
  • file download, delete not working on icon (Chris)
  • set cookie login (Manu)
  • filemanager click back to main ()
  • ordner click in unterordner doesnt work ()
  • transferieren button ()
  • final check (Max)

Globale Path Variable

  • Fn erstellen die die globale Path Variable von überall setzen kann, damit eine innere Navigation über diese variable möglich ist

ToDo

  • Bei der Registrierung die Fehlermeldung von der Schnittstelle abfangen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.