gerben
/
nextcloud-raw
Static file hosting on Nextcloud.
Code Issues 0 Pull Requests 0 Releases 1 Activity
Tree: 0e37e3acdb
14 Commits
master
v0.1.0
Branches Tags
${ item.name }
Create branch ${ searchTerm }
from '0e37e3acdb'
${ noResults }
Run: $ git clone url
HTTPS
ZIP TAR.GZ

routes.php 341 B
Raw Normal View History

Skeleton app Generated using bogus data with https://apps.nextcloud.com/developer/apps/generate
6 years ago
Implement getting files by token or path. Also renamed static to raw.
6 years ago
Skeleton app Generated using bogus data with https://apps.nextcloud.com/developer/apps/generate
6 years ago
Implement getting files by token or path. Also renamed static to raw.
6 years ago
Refactor, clean, catch not-found exception.
6 years ago
​
Support serving a file within a shared directory
6 years ago
Change private URLs to /u/{userId}/... To stay true to the "Universal" in URL. Still only allow access to one's own files for now.
6 years ago
Implement getting files by token or path. Also renamed static to raw.
6 years ago
​
Skeleton app Generated using bogus data with https://apps.nextcloud.com/developer/apps/generate
6 years ago
1234567891011
  1. <?php
  2. return [
  3. 'routes' => [
  4. ['name' => 'pubPage#getByToken', 'url' => '/s/{token}'],
  5. ['name' => 'pubPage#getByTokenAndPath', 'url' => '/s/{token}/{path}',
  6. 'requirements' => array('path' => '.+')],
  7. ['name' => 'privatePage#getByPath', 'url' => '/u/{userId}/{path}',
  8. 'requirements' => array('path' => '.+')],
  9. ]
  10. ];