Recommend this page to a friend! |
Download |
Info | Documentation | Files | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 38 | All time: 516 This week: 3 |
Version | License | JavaScript version | Categories | |||
webdav-js 1.0.16 | GNU General Publi... | 6 | Web services, Files and Folders |
Description | Author | |
This package can access files of a Webdav server. Innovation Award
|
A simple way to administer a WebDAV filesystem from your browser.
The original aim for this project was to provide a bookmarklet for use when you want to administer a WebDAV server, without the need for using a third party application.
The application has since been rewritten to not rely on jQuery and use more modern methods and provide a single runtime file. Now that there's more separation between the interface code and the library code, I'd like to investigate using other frontend approaches to see which I prefer (and also to weigh up the differences between the currently available frameworks). There's still work to do around code separation and hopefully this will be something I can continue to work on (as time allows) I feel it's at least as stable as the previous version.
Currently, the library contains text translated to English, German and Portuguese. If you use this and would like it to be localised to your language please submit a PR including the translation (using en.json as a template) and adding the language in UI.js.
Available here, wait for the Docker build to complete, and you will be able to interact with the Apache demo, make changes and contribute!
javascript:["https://cdn.jsdelivr.net/gh/dom111/webdav-js/assets/css/style-min.css","https://cdn.jsdelivr.net/gh/dom111/webdav-js/src/webdav-min.js"].forEach((function(e,s){/css$/.test(e)?((s=document.createElement("link")).href=e,s.rel="stylesheet"):(s=document.createElement("script")).src=e,document.head.appendChild(s)}));
There is also an example for how you could set up Apache in the examples/
directory (one using a locally hosted
version of the library, and one using a CDN).
Think you have another example implementation that would be good to showcase? Fork this repository and make a PR!
Included in the package is a docker-compose.yml
file that can spawn an Alpine Linux Apache WebDAV server that uses the
example Apache configuration so you can see the library in action if you don't have a WebDAV server at your disposal.
To start it, run:
docker-compose up
and navigate to http://localhost:8080/
.
If you feel this can be improved (I'm certain it can!), please feel free to fork it and submit a PR.
Localisation would be a great start if you'd like to help!
To start making changes, ensure you install all the dependencies and build the application:
make build
After making changes, ensure you rebuild the application:
make build
Once your changes have compiled you can test using the Docker container.
To run the unit and functional tests:
make build
docker-compose up -d
make test
Files (157) |
File | Role | Description | ||
---|---|---|---|---|
.github (1 directory) | ||||
assets (2 directories) | ||||
build (4 files) | ||||
docker (3 directories) | ||||
examples (4 directories) | ||||
src (4 files, 2 directories) | ||||
tests (3 files, 3 directories) | ||||
translations (3 files) | ||||
.editorconfig | Data | Auxiliary data | ||
.prettierignore | Data | Auxiliary data | ||
.prettierrc | Data | Auxiliary data | ||
docker-compose.nginx.yml | Data | Auxiliary data | ||
docker-compose.yml | Data | Auxiliary data | ||
esbuild.js | Aux. | Auxiliary script | ||
index.html | Doc. | Documentation | ||
jest-puppeteer.config.js | Class | Class source | ||
jest.config.functional.chrome.ts | Data | Auxiliary data | ||
jest.config.functional.firefox.ts | Data | Auxiliary data | ||
jest.config.unit.ts | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
Makefile | Data | Auxiliary data | ||
package-lock.json | Data | Auxiliary data | ||
package.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
TODO.md | Data | Auxiliary data | ||
tsconfig.json | Data | Auxiliary data |
Files (157) | / | assets | / | css |
File | Role | Description |
---|---|---|
style-min.css | Data | Auxiliary data |
style.css | Data | Auxiliary data |
webdav.css.map | Data | Auxiliary data |
Files (157) | / | assets | / | img |
Files (157) | / | build |
File | Role | Description |
---|---|---|
example.generator.js | Aux. | Auxiliary script |
examples-branch.sh | Data | Auxiliary data |
examples-tag.sh | Data | Auxiliary data |
examples.sh | Data | Auxiliary data |
Files (157) | / | docker | / | test |
File | Role | Description |
---|---|---|
chrome.json | Data | Auxiliary data |
Dockerfile | Data | Auxiliary data |
entrypoint.sh | Data | Auxiliary data |
Files (157) | / | examples |
File | Role | Description | ||
---|---|---|---|---|
apache-directory-list-local (3 files) | ||||
apache-directory-list (3 files) | ||||
bookmarklet (2 files) | ||||
nginx (5 files) |
Files (157) | / | examples | / | apache-directory-list-local |
File | Role | Description |
---|---|---|
header.html | Doc. | Documentation |
README.md | Doc. | Documentation |
webdav.conf | Data | Auxiliary data |
Files (157) | / | examples | / | apache-directory-list |
File | Role | Description |
---|---|---|
header.html | Aux. | Auxiliary script |
README.md | Doc. | Documentation |
webdav.conf | Data | Auxiliary data |
Files (157) | / | examples | / | bookmarklet |
File | Role | Description |
---|---|---|
README.md | Doc. | Documentation |
source-min.js | Aux. | Auxiliary script |
Files (157) | / | examples | / | nginx |
File | Role | Description |
---|---|---|
davindex-footer.html | Doc. | Documentation |
davindex-header.html | Doc. | Documentation |
nginx.conf | Data | Auxiliary data |
README.md | Doc. | Documentation |
webdav.conf | Data | Auxiliary data |
Files (157) | / | src |
File | Role | Description | ||
---|---|---|---|---|
components (11 files, 1 directory) | ||||
lib (12 files, 1 directory) | ||||
style.scss | Data | Auxiliary data | ||
webdav-min.js | Class | Class source | ||
webdav.js.map | Class | Class source | ||
webdav.ts | Example | Example script |
Files (157) | / | src | / | components |
File | Role | Description | ||
---|---|---|---|---|
Tree (7 files) | ||||
Container.ts | Data | Auxiliary data | ||
Footer.ts | Class | Class source | ||
Header.ts | Class | Class source | ||
Item.scss | Data | Auxiliary data | ||
Item.ts | Class | Class source | ||
List.ts | Class | Class source | ||
Modal.scss | Data | Auxiliary data | ||
Modal.ts | Class | Class source | ||
TreeViewModal.scss | Data | Auxiliary data | ||
TreeViewModal.ts | Class | Class source | ||
UI.ts | Class | Class source |
Files (157) | / | src | / | components | / | Tree |
File | Role | Description |
---|---|---|
DataProvider.ts | Data | Auxiliary data |
Leaf.ts | Class | Class source |
Node.ts | Class | Class source |
PlainObject.ts | Class | Class source |
Tree.scss | Data | Auxiliary data |
Tree.ts | Class | Class source |
WebDAV.ts | Class | Class source |
Files (157) | / | src | / | lib |
File | Role | Description | ||
---|---|---|---|---|
HTTP (1 file) | ||||
AbstractUI.ts | Class | Class source | ||
Collection.ts | Class | Class source | ||
DAV.ts | Class | Class source | ||
Entry.ts | Class | Class source | ||
handleFileUpload.ts | Example | Example script | ||
HTTP.ts | Example | Example script | ||
joinPath.ts | Data | Auxiliary data | ||
previewItems.ts | Data | Auxiliary data | ||
Response.ts | Class | Class source | ||
State.ts | Class | Class source | ||
supportsEvent.ts | Data | Auxiliary data | ||
supportsFocusWithin.ts | Data | Auxiliary data |
Files (157) | / | tests |
File | Role | Description | ||
---|---|---|---|---|
functional (1 file) | ||||
lib (3 files) | ||||
unit (1 file, 1 directory) | ||||
jest.ts-puppeteer.preset.chrome.ts | Class | Class source | ||
jest.ts-puppeteer.preset.firefox.ts | Class | Class source | ||
jest.ts-puppeteer.preset.ts | Class | Class source |
Files (157) | / | tests | / | lib |
File | Role | Description |
---|---|---|
getProperties.ts | Data | Auxiliary data |
grantClipboardPermissions.ts | Class | Class source |
isReady.ts | Data | Auxiliary data |
Files (157) | / | tests | / | unit | / | DAV |
File | Role | Description |
---|---|---|
Collection.test.ts | Example | Example script |
Entry.test.ts | Example | Example script |
Response.test.ts | Example | Example script |
Files (157) | / | translations |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.