Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
VBO v3 release
Browse files Browse the repository at this point in the history
VBO v3 release
  • Loading branch information
nielsengelen committed Jun 3, 2019
0 parents commit 69813a1
Show file tree
Hide file tree
Showing 52 changed files with 10,039 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<IfModule mod_rewrite.c>
SetEnv HTTP_MOD_REWRITE On

RewriteEngine On

# Rewrite rules
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^index/?$ index.php [NC,L]

# Exchange
RewriteRule ^exchange/?$ exchange.php [NC,L]
RewriteRule ^exchange/([^/]+)/?$ exchange.php?oid=$1 [L,QSA]
RewriteRule ^exchange/([^/]+)/([^/]+)/?$ exchange.php?oid=$1&uid=$2 [L,QSA]

# OneDrive
RewriteRule ^onedrive/?$ onedrive.php [NC,L]
RewriteRule ^onedrive/([^/]+)/?$ onedrive.php?oid=$1 [L,QSA]
RewriteRule ^onedrive/([^/]+)/([^/]+)/?$ onedrive.php?oid=$1&uid=$2 [L,QSA]

# SharePoint
RewriteRule ^sharepoint/?$ sharepoint.php [NC,L]
RewriteRule ^sharepoint/([^/]+)/?$ sharepoint.php?oid=$1 [L,QSA]
RewriteRule ^sharepoint/([^/]+)/([^/]+)/?$ sharepoint.php?oid=$1&sid=$2 [L,QSA]
RewriteRule ^sharepoint/([^/]+)/([^/]+)/([^/]+)/?$ sharepoint.php?oid=$1&sid=$2&cid=$3 [L,QSA]
RewriteRule ^sharepoint/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ sharepoint.php?oid=$1&sid=$2&cid=$3&type=$4 [L,QSA]

# Disable directory browsing
Options -Indexes

Options +FollowSymLinks
</IfModule>

<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>

<Files readme.md>
Order allow,deny
Deny from all
</Files>

<Files LICENSE>
Order allow,deny
Deny from all
</Files>
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 nielsengelen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
17 changes: 17 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "veeam/vbo365-self-service-web-portal",
"description": "Veeam Backup for Microsoft Office 365 Self-Service Web Portal",
"authors": [
{
"name": "Niels Engelen",
"email": "[email protected]"
}
],
"require": {
"guzzlehttp/guzzle": "~6.0",
"guzzlehttp/psr7": "~1.0",
"components/jquery": "3.2",
"twbs/bootstrap": "3.3.7",
"psr/log": "^1.0"
}
}
7 changes: 7 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
$host = '127.0.0.1'; /* Veeam Backup for Microsoft Office 365 server (hostname or IP) */
$port = '4443'; /* RESTful API service port (default: 4443) */
$title = 'Veeam Backup for Microsoft Office 365 v3'; /* Custom title for the portal to be displayed in the browser title */
$version = 'v3'; /* RESTful API version (default: v3) */
$administrator = 'Yes'; /* Allow Windows administrator accounts to be used as a login (yes or no) */
?>
41 changes: 41 additions & 0 deletions css/exchange.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#sidebar .menu-segment ul,
#sidebar .menu-segment li {
margin: 0;
padding: 0;
text-align: left;
}

.exchange-container {
display: table;
float: left;
margin-bottom: 100px;
margin-left: 5px;
overflow: auto;
padding-top: 10px;
width: 100%;
}
.exchange-container table {
width: 100%;
}

div.inbox-header {
border-bottom: 1px solid #ccc;
float: none;
height: 25px;
margin-top: 10px;
text-align: center;
vertical-align: middle;
}
ul.nav-pills {
margin: 0;
padding: 5px 10px;
}
ul.inbox-nav {
display: inline-block;
margin: 0;
padding: 0;
width: 100%;
}
ul.inbox-divider {
border-bottom: 1px solid #d5d8df;
}
13 changes: 13 additions & 0 deletions css/flatpickr.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions css/fontawesome.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 69813a1

Please sign in to comment.