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

Commit

Permalink
v5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsengelen committed Apr 2, 2021
1 parent 5a5cce1 commit 7d7a2fd
Show file tree
Hide file tree
Showing 26 changed files with 6,647 additions and 2,285 deletions.
13 changes: 9 additions & 4 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ 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]
Expand All @@ -26,6 +22,15 @@ RewriteRule ^sharepoint/([^/]+)/([^/]+)/([^/]+)/?$ sharepoint.php?oid=$1&sid=$2&
RewriteRule ^sharepoint/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ sharepoint.php?oid=$1&sid=$2&cid=$3&type=$4 [L,QSA]
RewriteRule ^sharepoint/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ sharepoint.php?oid=$1&sid=$2&cid=$3&type=$4&fid=$5 [L,QSA]

# Teams
RewriteRule ^teams/?$ teams.php [NC,L]
RewriteRule ^teams/([^/]+)/?$ teams.php?oid=$1 [L,QSA]
RewriteRule ^teams/([^/]+)/([^/]+)/?$ teams.php?oid=$1&tid=$2 [L,QSA]

#RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

# Disable directory browsing, multiviews and enable follow symlinks
Options -Indexes -MultiViews +FollowSymLinks
</IfModule>
Expand Down
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM php:7.4-apache

ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Copenhagen

RUN apt-get update && apt-get install -yq zip unzip zlib1g-dev libzip-dev && rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install zip
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

ADD . /var/www/html/

WORKDIR /var/www/html

RUN composer install

RUN a2enmod rewrite

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 VeeamHub
Copyright (c) 2021 VeeamHUB

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 12 additions & 0 deletions Web.Config
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@
<match url="^sharepoint/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$" />
<action type="Rewrite" url="/sharepoint.php?oid={R:1}&amp;sid={R:2}&amp;cid={R:3}&amp;type={R:4}" appendQueryString="true" />
</rule>
<rule name="rule 13U" stopProcessing="true">
<match url="^teams/?$" ignoreCase="true" />
<action type="Rewrite" url="/teams.php" />
</rule>
<rule name="rule 14U" stopProcessing="true">
<match url="^teams/([^/]+)/?$" />
<action type="Rewrite" url="/teams.php?oid={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 15U" stopProcessing="true">
<match url="^teams/([^/]+)/([^/]+)/?$" />
<action type="Rewrite" url="/teams.php?oid={R:1}&amp;tid={R:2}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
Expand Down
3 changes: 2 additions & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
$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'; /* Custom title for the portal to be displayed in the browser title */
$version = 'v4'; /* RESTful API version (default: v4) */
$version = 'v5'; /* RESTful API version (default: v5) */
$administrator = 'yes'; /* Allow Windows administrator accounts to be used as a login (yes or no) */
$limit = '250'; /* Amount of items to load for exploring restore points (default: 250) - a higher number may impact loading performance */
?>
6 changes: 6 additions & 0 deletions css/exchange.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
.exchange-container table {
width: 100%;
}
.exchange-controls-padding {
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
}

#table-exchange-folders th {
height: 40px;
Expand Down
13 changes: 6 additions & 7 deletions css/onedrive.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
#sidebar .menu-segment ul,
#sidebar .menu-segment li {
margin: 0;
padding: 0;
text-align: left;
}

.onedrive-container {
display: table;
float: left;
Expand All @@ -17,6 +10,12 @@
.onedrive-container table {
width: 100%;
}
.onedrive-controls-padding {
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
}

#table-onedrive-folders th {
height: 40px;
Expand Down
13 changes: 6 additions & 7 deletions css/sharepoint.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
#sidebar .menu-segment ul,
#sidebar .menu-segment li {
margin: 0;
padding: 0;
text-align: left;
}

.sharepoint-container {
display: table;
float: left;
Expand All @@ -17,6 +10,12 @@
.sharepoint-container table {
width: 100%;
}
.sharepoint-controls-padding {
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
}

#table-sharepoint-folders th {
height: 40px;
Expand Down
101 changes: 56 additions & 45 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ h1, h2, h3, h4, h5 {
height: 100%;
left: 210px;
overflow: auto;
padding-bottom: 30px;
padding-left: 30px;
padding-right: 30px;
padding-top: 30px;
right: 0;
position: fixed;
top: 50px;
Expand Down Expand Up @@ -64,33 +62,39 @@ h1, h2, h3, h4, h5 {
padding: 10px;
text-indent: 1px;
}
#sidebar .menu {
color: #ABB4BE;
}
#sidebar .menu-segment {
padding-left: 5px;
text-align: center;
word-wrap: break-word;
}
#sidebar .menu-segment ul,
#sidebar .menu-segment li {
color: #abb4be;
cursor: pointer;
list-style: none;
margin: 10px;
padding: 3px;
margin: 0;
padding: 0;
text-align: left;
}

#sidebar .menu-segment li:hover {
background: #A0A5AC;
color: #ffffff;
}
#sidebar .menu-segment li a {
display: block;
margin: 0;
padding: 10px 10px 10px 10px;
text-decoration: none;
}
#sidebar .menu-segment li.active a,
#sidebar .menu-segment li.active a:hover {
background: #282d36;
background: #707070;
color: #ffffff;
}
#sidebar .menu-segment li a:hover {
background: #21262d;
background: #A0A5AC;
color: #ffffff;
}
#sidebar .separator {
background: #2D3138;
Expand Down Expand Up @@ -141,33 +145,10 @@ textarea.noresize {
padding-left: 35px;
}

.caret {
position: relative;
}
.dropdown.open .caret:before,
.dropdown.open .caret:after {
border-color: transparent;
border-style: solid;
border-width: 7px 8px;
display: block;
content: '';
height: 0;
position: absolute;
width: 0;
z-index: 1001;
}
.dropdown.open .caret:before {
border-bottom-color: #ccc;
bottom: -17px;
right: -8px;
}
.dropdown.open .caret:after {
border-bottom-color: #fff;
bottom: -18px;
right: -8px;
}

/* Panels */
.panel {
max-width: 350px;
}
.panel-primary a:hover {
color: #000000;
}
Expand Down Expand Up @@ -227,6 +208,20 @@ textarea.noresize {
.panel-orange a:hover {
color: #000000;
}
.panel-red {
border-color: #c76861;
}
.panel-red .panel-heading {
background-color: #c76861;
border-color: #c76861;
color: #FFFFFF;
}
.panel-red a {
color: #c76861;
}
.panel-red a:hover {
color: #000000;
}
.panel-yellow {
border-color: #F0AD4E;
}
Expand All @@ -241,7 +236,9 @@ textarea.noresize {
.panel-yellow a:hover {
color: #000000;
}

.panel-row {
max-width: 1000px;
}
.bottom-padding {
height: 100px;
}
Expand All @@ -251,13 +248,6 @@ textarea.noresize {
.btn-margin-restore {
margin-left: 10px;
}
.div-browser {
min-width: 200px;
}
.div-browser-items: {
min-width: 800px;
width: auto !important;
}
.div-margin {
margin-left: 10px;
}
Expand Down Expand Up @@ -318,6 +308,11 @@ table.table-padding {
margin-bottom: 20px;
padding: 0 !important;
}
.dropdown-menu::before,
.dropdown-menu::after {
border: none;
content: none;
}
.zeroPadding {
padding: 0 !important;
background: #FFFFFF;
Expand All @@ -332,16 +327,32 @@ table.table-padding {
color: #fff;
text-decoration: underline;
}
.btn-link {
.btn-link-login {
background: #95a5a6;
color: #fff;
margin-top: 15px;
}
.btn-link:hover {
.btn-link-login:hover {
background: #95a5a6;
color: #fff;
margin-top: 15px;
}
.btn-link-restore {
background-color: transparent;
border: none;
clear: both;
color: #333;
display: block;
padding: 3px 20px;
text-align: left;
white-space: nowrap;
width: 100%;
}
.btn-link-restore:hover {
background-color: #f5f5f5;
color: blue;
text-decoration: underline;
}
.btn-next {
background: #54b948;
color: #fff;
Expand Down
28 changes: 28 additions & 0 deletions css/teams.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.teams-container {
display: table;
float: left;
margin-bottom: 100px;
margin-left: 5px;
overflow: auto;
padding-top: 10px;
width: 100%;
}
.teams-container table {
width: 100%;
}
.teams-menu-channels {
color: #ffffff;
}
.teams-controls-padding {
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
}

#table-teams-folders th {
height: 40px;
}
#table-teams-items th {
height: 40px;
}
Loading

0 comments on commit 7d7a2fd

Please sign in to comment.