";
+}
+
+Html::footer();
diff --git a/gitflavio/COMMIT_EDITMSG b/gitflavio/COMMIT_EDITMSG
new file mode 100644
index 0000000..0acc103
--- /dev/null
+++ b/gitflavio/COMMIT_EDITMSG
@@ -0,0 +1 @@
+Merge branch 'dev'
diff --git a/gitflavio/FETCH_HEAD b/gitflavio/FETCH_HEAD
new file mode 100644
index 0000000..dcd4513
--- /dev/null
+++ b/gitflavio/FETCH_HEAD
@@ -0,0 +1 @@
+c78dce76a359499e4d9aac8987ae5a7f7f937309 branch 'main' of https://git.lavorain.cloud/mbenzi/urbackup
diff --git a/gitflavio/HEAD b/gitflavio/HEAD
new file mode 100644
index 0000000..a334635
--- /dev/null
+++ b/gitflavio/HEAD
@@ -0,0 +1 @@
+ref: refs/heads/dev
diff --git a/gitflavio/ORIG_HEAD b/gitflavio/ORIG_HEAD
new file mode 100644
index 0000000..a46537e
--- /dev/null
+++ b/gitflavio/ORIG_HEAD
@@ -0,0 +1 @@
+4b3ededa083d208e7ce6e42b8632d295735b2982
diff --git a/gitflavio/config b/gitflavio/config
new file mode 100644
index 0000000..1568872
--- /dev/null
+++ b/gitflavio/config
@@ -0,0 +1,16 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = false
+ logallrefupdates = true
+[remote "origin"]
+ url = https://mbenzi:Portalnet68@git.lavorain.cloud/mbenzi/urbackup.git
+ fetch = +refs/heads/*:refs/remotes/origin/*
+[branch "main"]
+ remote = origin
+ merge = refs/heads/main
+ vscode-merge-base = origin/main
+[branch "dev"]
+ remote = origin
+ merge = refs/heads/dev
+ vscode-merge-base = origin/dev
diff --git a/gitflavio/description b/gitflavio/description
new file mode 100644
index 0000000..498b267
--- /dev/null
+++ b/gitflavio/description
@@ -0,0 +1 @@
+Unnamed repository; edit this file 'description' to name the repository.
diff --git a/gitflavio/hooks/applypatch-msg.sample b/gitflavio/hooks/applypatch-msg.sample
new file mode 100755
index 0000000..a5d7b84
--- /dev/null
+++ b/gitflavio/hooks/applypatch-msg.sample
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# An example hook script to check the commit log message taken by
+# applypatch from an e-mail message.
+#
+# The hook should exit with non-zero status after issuing an
+# appropriate message if it wants to stop the commit. The hook is
+# allowed to edit the commit message file.
+#
+# To enable this hook, rename this file to "applypatch-msg".
+
+. git-sh-setup
+commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
+test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
+:
diff --git a/gitflavio/hooks/commit-msg.sample b/gitflavio/hooks/commit-msg.sample
new file mode 100755
index 0000000..b58d118
--- /dev/null
+++ b/gitflavio/hooks/commit-msg.sample
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# An example hook script to check the commit log message.
+# Called by "git commit" with one argument, the name of the file
+# that has the commit message. The hook should exit with non-zero
+# status after issuing an appropriate message if it wants to stop the
+# commit. The hook is allowed to edit the commit message file.
+#
+# To enable this hook, rename this file to "commit-msg".
+
+# Uncomment the below to add a Signed-off-by line to the message.
+# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
+# hook is more suited to it.
+#
+# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
+# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
+
+# This example catches duplicate Signed-off-by lines.
+
+test "" = "$(grep '^Signed-off-by: ' "$1" |
+ sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
+ echo >&2 Duplicate Signed-off-by lines.
+ exit 1
+}
diff --git a/gitflavio/hooks/fsmonitor-watchman.sample b/gitflavio/hooks/fsmonitor-watchman.sample
new file mode 100755
index 0000000..23e856f
--- /dev/null
+++ b/gitflavio/hooks/fsmonitor-watchman.sample
@@ -0,0 +1,174 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use IPC::Open2;
+
+# An example hook script to integrate Watchman
+# (https://facebook.github.io/watchman/) with git to speed up detecting
+# new and modified files.
+#
+# The hook is passed a version (currently 2) and last update token
+# formatted as a string and outputs to stdout a new update token and
+# all files that have been modified since the update token. Paths must
+# be relative to the root of the working tree and separated by a single NUL.
+#
+# To enable this hook, rename this file to "query-watchman" and set
+# 'git config core.fsmonitor .git/hooks/query-watchman'
+#
+my ($version, $last_update_token) = @ARGV;
+
+# Uncomment for debugging
+# print STDERR "$0 $version $last_update_token\n";
+
+# Check the hook interface version
+if ($version ne 2) {
+ die "Unsupported query-fsmonitor hook version '$version'.\n" .
+ "Falling back to scanning...\n";
+}
+
+my $git_work_tree = get_working_dir();
+
+my $retry = 1;
+
+my $json_pkg;
+eval {
+ require JSON::XS;
+ $json_pkg = "JSON::XS";
+ 1;
+} or do {
+ require JSON::PP;
+ $json_pkg = "JSON::PP";
+};
+
+launch_watchman();
+
+sub launch_watchman {
+ my $o = watchman_query();
+ if (is_work_tree_watched($o)) {
+ output_result($o->{clock}, @{$o->{files}});
+ }
+}
+
+sub output_result {
+ my ($clockid, @files) = @_;
+
+ # Uncomment for debugging watchman output
+ # open (my $fh, ">", ".git/watchman-output.out");
+ # binmode $fh, ":utf8";
+ # print $fh "$clockid\n@files\n";
+ # close $fh;
+
+ binmode STDOUT, ":utf8";
+ print $clockid;
+ print "\0";
+ local $, = "\0";
+ print @files;
+}
+
+sub watchman_clock {
+ my $response = qx/watchman clock "$git_work_tree"/;
+ die "Failed to get clock id on '$git_work_tree'.\n" .
+ "Falling back to scanning...\n" if $? != 0;
+
+ return $json_pkg->new->utf8->decode($response);
+}
+
+sub watchman_query {
+ my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty')
+ or die "open2() failed: $!\n" .
+ "Falling back to scanning...\n";
+
+ # In the query expression below we're asking for names of files that
+ # changed since $last_update_token but not from the .git folder.
+ #
+ # To accomplish this, we're using the "since" generator to use the
+ # recency index to select candidate nodes and "fields" to limit the
+ # output to file names only. Then we're using the "expression" term to
+ # further constrain the results.
+ my $last_update_line = "";
+ if (substr($last_update_token, 0, 1) eq "c") {
+ $last_update_token = "\"$last_update_token\"";
+ $last_update_line = qq[\n"since": $last_update_token,];
+ }
+ my $query = <<" END";
+ ["query", "$git_work_tree", {$last_update_line
+ "fields": ["name"],
+ "expression": ["not", ["dirname", ".git"]]
+ }]
+ END
+
+ # Uncomment for debugging the watchman query
+ # open (my $fh, ">", ".git/watchman-query.json");
+ # print $fh $query;
+ # close $fh;
+
+ print CHLD_IN $query;
+ close CHLD_IN;
+ my $response = do {local $/; };
+
+ # Uncomment for debugging the watch response
+ # open ($fh, ">", ".git/watchman-response.json");
+ # print $fh $response;
+ # close $fh;
+
+ die "Watchman: command returned no output.\n" .
+ "Falling back to scanning...\n" if $response eq "";
+ die "Watchman: command returned invalid output: $response\n" .
+ "Falling back to scanning...\n" unless $response =~ /^\{/;
+
+ return $json_pkg->new->utf8->decode($response);
+}
+
+sub is_work_tree_watched {
+ my ($output) = @_;
+ my $error = $output->{error};
+ if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) {
+ $retry--;
+ my $response = qx/watchman watch "$git_work_tree"/;
+ die "Failed to make watchman watch '$git_work_tree'.\n" .
+ "Falling back to scanning...\n" if $? != 0;
+ $output = $json_pkg->new->utf8->decode($response);
+ $error = $output->{error};
+ die "Watchman: $error.\n" .
+ "Falling back to scanning...\n" if $error;
+
+ # Uncomment for debugging watchman output
+ # open (my $fh, ">", ".git/watchman-output.out");
+ # close $fh;
+
+ # Watchman will always return all files on the first query so
+ # return the fast "everything is dirty" flag to git and do the
+ # Watchman query just to get it over with now so we won't pay
+ # the cost in git to look up each individual file.
+ my $o = watchman_clock();
+ $error = $output->{error};
+
+ die "Watchman: $error.\n" .
+ "Falling back to scanning...\n" if $error;
+
+ output_result($o->{clock}, ("/"));
+ $last_update_token = $o->{clock};
+
+ eval { launch_watchman() };
+ return 0;
+ }
+
+ die "Watchman: $error.\n" .
+ "Falling back to scanning...\n" if $error;
+
+ return 1;
+}
+
+sub get_working_dir {
+ my $working_dir;
+ if ($^O =~ 'msys' || $^O =~ 'cygwin') {
+ $working_dir = Win32::GetCwd();
+ $working_dir =~ tr/\\/\//;
+ } else {
+ require Cwd;
+ $working_dir = Cwd::cwd();
+ }
+
+ return $working_dir;
+}
diff --git a/gitflavio/hooks/post-update.sample b/gitflavio/hooks/post-update.sample
new file mode 100755
index 0000000..ec17ec1
--- /dev/null
+++ b/gitflavio/hooks/post-update.sample
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# An example hook script to prepare a packed repository for use over
+# dumb transports.
+#
+# To enable this hook, rename this file to "post-update".
+
+exec git update-server-info
diff --git a/gitflavio/hooks/pre-applypatch.sample b/gitflavio/hooks/pre-applypatch.sample
new file mode 100755
index 0000000..4142082
--- /dev/null
+++ b/gitflavio/hooks/pre-applypatch.sample
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# An example hook script to verify what is about to be committed
+# by applypatch from an e-mail message.
+#
+# The hook should exit with non-zero status after issuing an
+# appropriate message if it wants to stop the commit.
+#
+# To enable this hook, rename this file to "pre-applypatch".
+
+. git-sh-setup
+precommit="$(git rev-parse --git-path hooks/pre-commit)"
+test -x "$precommit" && exec "$precommit" ${1+"$@"}
+:
diff --git a/gitflavio/hooks/pre-commit.sample b/gitflavio/hooks/pre-commit.sample
new file mode 100755
index 0000000..e144712
--- /dev/null
+++ b/gitflavio/hooks/pre-commit.sample
@@ -0,0 +1,49 @@
+#!/bin/sh
+#
+# An example hook script to verify what is about to be committed.
+# Called by "git commit" with no arguments. The hook should
+# exit with non-zero status after issuing an appropriate message if
+# it wants to stop the commit.
+#
+# To enable this hook, rename this file to "pre-commit".
+
+if git rev-parse --verify HEAD >/dev/null 2>&1
+then
+ against=HEAD
+else
+ # Initial commit: diff against an empty tree object
+ against=$(git hash-object -t tree /dev/null)
+fi
+
+# If you want to allow non-ASCII filenames set this variable to true.
+allownonascii=$(git config --type=bool hooks.allownonascii)
+
+# Redirect output to stderr.
+exec 1>&2
+
+# Cross platform projects tend to avoid non-ASCII filenames; prevent
+# them from being added to the repository. We exploit the fact that the
+# printable range starts at the space character and ends with tilde.
+if [ "$allownonascii" != "true" ] &&
+ # Note that the use of brackets around a tr range is ok here, (it's
+ # even required, for portability to Solaris 10's /usr/bin/tr), since
+ # the square bracket bytes happen to fall in the designated range.
+ test $(git diff --cached --name-only --diff-filter=A -z $against |
+ LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
+then
+ cat <<\EOF
+Error: Attempt to add a non-ASCII file name.
+
+This can cause problems if you want to work with people on other platforms.
+
+To be portable it is advisable to rename the file.
+
+If you know what you are doing you can disable this check using:
+
+ git config hooks.allownonascii true
+EOF
+ exit 1
+fi
+
+# If there are whitespace errors, print the offending file names and fail.
+exec git diff-index --check --cached $against --
diff --git a/gitflavio/hooks/pre-merge-commit.sample b/gitflavio/hooks/pre-merge-commit.sample
new file mode 100755
index 0000000..399eab1
--- /dev/null
+++ b/gitflavio/hooks/pre-merge-commit.sample
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# An example hook script to verify what is about to be committed.
+# Called by "git merge" with no arguments. The hook should
+# exit with non-zero status after issuing an appropriate message to
+# stderr if it wants to stop the merge commit.
+#
+# To enable this hook, rename this file to "pre-merge-commit".
+
+. git-sh-setup
+test -x "$GIT_DIR/hooks/pre-commit" &&
+ exec "$GIT_DIR/hooks/pre-commit"
+:
diff --git a/gitflavio/hooks/pre-push.sample b/gitflavio/hooks/pre-push.sample
new file mode 100755
index 0000000..4ce688d
--- /dev/null
+++ b/gitflavio/hooks/pre-push.sample
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# An example hook script to verify what is about to be pushed. Called by "git
+# push" after it has checked the remote status, but before anything has been
+# pushed. If this script exits with a non-zero status nothing will be pushed.
+#
+# This hook is called with the following parameters:
+#
+# $1 -- Name of the remote to which the push is being done
+# $2 -- URL to which the push is being done
+#
+# If pushing without using a named remote those arguments will be equal.
+#
+# Information about the commits which are being pushed is supplied as lines to
+# the standard input in the form:
+#
+#
+#
+# This sample shows how to prevent push of commits where the log message starts
+# with "WIP" (work in progress).
+
+remote="$1"
+url="$2"
+
+zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing"
+ exit 1
+ fi
+ fi
+done
+
+exit 0
diff --git a/gitflavio/hooks/pre-rebase.sample b/gitflavio/hooks/pre-rebase.sample
new file mode 100755
index 0000000..6cbef5c
--- /dev/null
+++ b/gitflavio/hooks/pre-rebase.sample
@@ -0,0 +1,169 @@
+#!/bin/sh
+#
+# Copyright (c) 2006, 2008 Junio C Hamano
+#
+# The "pre-rebase" hook is run just before "git rebase" starts doing
+# its job, and can prevent the command from running by exiting with
+# non-zero status.
+#
+# The hook is called with the following parameters:
+#
+# $1 -- the upstream the series was forked from.
+# $2 -- the branch being rebased (or empty when rebasing the current branch).
+#
+# This sample shows how to prevent topic branches that are already
+# merged to 'next' branch from getting rebased, because allowing it
+# would result in rebasing already published history.
+
+publish=next
+basebranch="$1"
+if test "$#" = 2
+then
+ topic="refs/heads/$2"
+else
+ topic=`git symbolic-ref HEAD` ||
+ exit 0 ;# we do not interrupt rebasing detached HEAD
+fi
+
+case "$topic" in
+refs/heads/??/*)
+ ;;
+*)
+ exit 0 ;# we do not interrupt others.
+ ;;
+esac
+
+# Now we are dealing with a topic branch being rebased
+# on top of master. Is it OK to rebase it?
+
+# Does the topic really exist?
+git show-ref -q "$topic" || {
+ echo >&2 "No such branch $topic"
+ exit 1
+}
+
+# Is topic fully merged to master?
+not_in_master=`git rev-list --pretty=oneline ^master "$topic"`
+if test -z "$not_in_master"
+then
+ echo >&2 "$topic is fully merged to master; better remove it."
+ exit 1 ;# we could allow it, but there is no point.
+fi
+
+# Is topic ever merged to next? If so you should not be rebasing it.
+only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`
+only_next_2=`git rev-list ^master ${publish} | sort`
+if test "$only_next_1" = "$only_next_2"
+then
+ not_in_topic=`git rev-list "^$topic" master`
+ if test -z "$not_in_topic"
+ then
+ echo >&2 "$topic is already up to date with master"
+ exit 1 ;# we could allow it, but there is no point.
+ else
+ exit 0
+ fi
+else
+ not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`
+ /usr/bin/perl -e '
+ my $topic = $ARGV[0];
+ my $msg = "* $topic has commits already merged to public branch:\n";
+ my (%not_in_next) = map {
+ /^([0-9a-f]+) /;
+ ($1 => 1);
+ } split(/\n/, $ARGV[1]);
+ for my $elem (map {
+ /^([0-9a-f]+) (.*)$/;
+ [$1 => $2];
+ } split(/\n/, $ARGV[2])) {
+ if (!exists $not_in_next{$elem->[0]}) {
+ if ($msg) {
+ print STDERR $msg;
+ undef $msg;
+ }
+ print STDERR " $elem->[1]\n";
+ }
+ }
+ ' "$topic" "$not_in_next" "$not_in_master"
+ exit 1
+fi
+
+<<\DOC_END
+
+This sample hook safeguards topic branches that have been
+published from being rewound.
+
+The workflow assumed here is:
+
+ * Once a topic branch forks from "master", "master" is never
+ merged into it again (either directly or indirectly).
+
+ * Once a topic branch is fully cooked and merged into "master",
+ it is deleted. If you need to build on top of it to correct
+ earlier mistakes, a new topic branch is created by forking at
+ the tip of the "master". This is not strictly necessary, but
+ it makes it easier to keep your history simple.
+
+ * Whenever you need to test or publish your changes to topic
+ branches, merge them into "next" branch.
+
+The script, being an example, hardcodes the publish branch name
+to be "next", but it is trivial to make it configurable via
+$GIT_DIR/config mechanism.
+
+With this workflow, you would want to know:
+
+(1) ... if a topic branch has ever been merged to "next". Young
+ topic branches can have stupid mistakes you would rather
+ clean up before publishing, and things that have not been
+ merged into other branches can be easily rebased without
+ affecting other people. But once it is published, you would
+ not want to rewind it.
+
+(2) ... if a topic branch has been fully merged to "master".
+ Then you can delete it. More importantly, you should not
+ build on top of it -- other people may already want to
+ change things related to the topic as patches against your
+ "master", so if you need further changes, it is better to
+ fork the topic (perhaps with the same name) afresh from the
+ tip of "master".
+
+Let's look at this example:
+
+ o---o---o---o---o---o---o---o---o---o "next"
+ / / / /
+ / a---a---b A / /
+ / / / /
+ / / c---c---c---c B /
+ / / / \ /
+ / / / b---b C \ /
+ / / / / \ /
+ ---o---o---o---o---o---o---o---o---o---o---o "master"
+
+
+A, B and C are topic branches.
+
+ * A has one fix since it was merged up to "next".
+
+ * B has finished. It has been fully merged up to "master" and "next",
+ and is ready to be deleted.
+
+ * C has not merged to "next" at all.
+
+We would want to allow C to be rebased, refuse A, and encourage
+B to be deleted.
+
+To compute (1):
+
+ git rev-list ^master ^topic next
+ git rev-list ^master next
+
+ if these match, topic has not merged in next at all.
+
+To compute (2):
+
+ git rev-list master..topic
+
+ if this is empty, it is fully merged to "master".
+
+DOC_END
diff --git a/gitflavio/hooks/pre-receive.sample b/gitflavio/hooks/pre-receive.sample
new file mode 100755
index 0000000..a1fd29e
--- /dev/null
+++ b/gitflavio/hooks/pre-receive.sample
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# An example hook script to make use of push options.
+# The example simply echoes all push options that start with 'echoback='
+# and rejects all pushes when the "reject" push option is used.
+#
+# To enable this hook, rename this file to "pre-receive".
+
+if test -n "$GIT_PUSH_OPTION_COUNT"
+then
+ i=0
+ while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"
+ do
+ eval "value=\$GIT_PUSH_OPTION_$i"
+ case "$value" in
+ echoback=*)
+ echo "echo from the pre-receive-hook: ${value#*=}" >&2
+ ;;
+ reject)
+ exit 1
+ esac
+ i=$((i + 1))
+ done
+fi
diff --git a/gitflavio/hooks/prepare-commit-msg.sample b/gitflavio/hooks/prepare-commit-msg.sample
new file mode 100755
index 0000000..10fa14c
--- /dev/null
+++ b/gitflavio/hooks/prepare-commit-msg.sample
@@ -0,0 +1,42 @@
+#!/bin/sh
+#
+# An example hook script to prepare the commit log message.
+# Called by "git commit" with the name of the file that has the
+# commit message, followed by the description of the commit
+# message's source. The hook's purpose is to edit the commit
+# message file. If the hook fails with a non-zero status,
+# the commit is aborted.
+#
+# To enable this hook, rename this file to "prepare-commit-msg".
+
+# This hook includes three examples. The first one removes the
+# "# Please enter the commit message..." help message.
+#
+# The second includes the output of "git diff --name-status -r"
+# into the message, just before the "git status" output. It is
+# commented because it doesn't cope with --amend or with squashed
+# commits.
+#
+# The third example adds a Signed-off-by line to the message, that can
+# still be edited. This is rarely a good idea.
+
+COMMIT_MSG_FILE=$1
+COMMIT_SOURCE=$2
+SHA1=$3
+
+/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE"
+
+# case "$COMMIT_SOURCE,$SHA1" in
+# ,|template,)
+# /usr/bin/perl -i.bak -pe '
+# print "\n" . `git diff --cached --name-status -r`
+# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;;
+# *) ;;
+# esac
+
+# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
+# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"
+# if test -z "$COMMIT_SOURCE"
+# then
+# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE"
+# fi
diff --git a/gitflavio/hooks/push-to-checkout.sample b/gitflavio/hooks/push-to-checkout.sample
new file mode 100755
index 0000000..af5a0c0
--- /dev/null
+++ b/gitflavio/hooks/push-to-checkout.sample
@@ -0,0 +1,78 @@
+#!/bin/sh
+
+# An example hook script to update a checked-out tree on a git push.
+#
+# This hook is invoked by git-receive-pack(1) when it reacts to git
+# push and updates reference(s) in its repository, and when the push
+# tries to update the branch that is currently checked out and the
+# receive.denyCurrentBranch configuration variable is set to
+# updateInstead.
+#
+# By default, such a push is refused if the working tree and the index
+# of the remote repository has any difference from the currently
+# checked out commit; when both the working tree and the index match
+# the current commit, they are updated to match the newly pushed tip
+# of the branch. This hook is to be used to override the default
+# behaviour; however the code below reimplements the default behaviour
+# as a starting point for convenient modification.
+#
+# The hook receives the commit with which the tip of the current
+# branch is going to be updated:
+commit=$1
+
+# It can exit with a non-zero status to refuse the push (when it does
+# so, it must not modify the index or the working tree).
+die () {
+ echo >&2 "$*"
+ exit 1
+}
+
+# Or it can make any necessary changes to the working tree and to the
+# index to bring them to the desired state when the tip of the current
+# branch is updated to the new commit, and exit with a zero status.
+#
+# For example, the hook can simply run git read-tree -u -m HEAD "$1"
+# in order to emulate git fetch that is run in the reverse direction
+# with git push, as the two-tree form of git read-tree -u -m is
+# essentially the same as git switch or git checkout that switches
+# branches while keeping the local changes in the working tree that do
+# not interfere with the difference between the branches.
+
+# The below is a more-or-less exact translation to shell of the C code
+# for the default behaviour for git's push-to-checkout hook defined in
+# the push_to_deploy() function in builtin/receive-pack.c.
+#
+# Note that the hook will be executed from the repository directory,
+# not from the working tree, so if you want to perform operations on
+# the working tree, you will have to adapt your code accordingly, e.g.
+# by adding "cd .." or using relative paths.
+
+if ! git update-index -q --ignore-submodules --refresh
+then
+ die "Up-to-date check failed"
+fi
+
+if ! git diff-files --quiet --ignore-submodules --
+then
+ die "Working directory has unstaged changes"
+fi
+
+# This is a rough translation of:
+#
+# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX
+if git cat-file -e HEAD 2>/dev/null
+then
+ head=HEAD
+else
+ head=$(git hash-object -t tree --stdin &2
+ exit 1
+}
+
+unset GIT_DIR GIT_WORK_TREE
+cd "$worktree" &&
+
+if grep -q "^diff --git " "$1"
+then
+ validate_patch "$1"
+else
+ validate_cover_letter "$1"
+fi &&
+
+if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL"
+then
+ git config --unset-all sendemail.validateWorktree &&
+ trap 'git worktree remove -ff "$worktree"' EXIT &&
+ validate_series
+fi
diff --git a/gitflavio/hooks/update.sample b/gitflavio/hooks/update.sample
new file mode 100755
index 0000000..c4d426b
--- /dev/null
+++ b/gitflavio/hooks/update.sample
@@ -0,0 +1,128 @@
+#!/bin/sh
+#
+# An example hook script to block unannotated tags from entering.
+# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
+#
+# To enable this hook, rename this file to "update".
+#
+# Config
+# ------
+# hooks.allowunannotated
+# This boolean sets whether unannotated tags will be allowed into the
+# repository. By default they won't be.
+# hooks.allowdeletetag
+# This boolean sets whether deleting tags will be allowed in the
+# repository. By default they won't be.
+# hooks.allowmodifytag
+# This boolean sets whether a tag may be modified after creation. By default
+# it won't be.
+# hooks.allowdeletebranch
+# This boolean sets whether deleting branches will be allowed in the
+# repository. By default they won't be.
+# hooks.denycreatebranch
+# This boolean sets whether remotely creating branches will be denied
+# in the repository. By default this is allowed.
+#
+
+# --- Command line
+refname="$1"
+oldrev="$2"
+newrev="$3"
+
+# --- Safety check
+if [ -z "$GIT_DIR" ]; then
+ echo "Don't run this script from the command line." >&2
+ echo " (if you want, you could supply GIT_DIR then run" >&2
+ echo " $0 )" >&2
+ exit 1
+fi
+
+if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
+ echo "usage: $0 " >&2
+ exit 1
+fi
+
+# --- Config
+allowunannotated=$(git config --type=bool hooks.allowunannotated)
+allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch)
+denycreatebranch=$(git config --type=bool hooks.denycreatebranch)
+allowdeletetag=$(git config --type=bool hooks.allowdeletetag)
+allowmodifytag=$(git config --type=bool hooks.allowmodifytag)
+
+# check for no description
+projectdesc=$(sed -e '1q' "$GIT_DIR/description")
+case "$projectdesc" in
+"Unnamed repository"* | "")
+ echo "*** Project description file hasn't been set" >&2
+ exit 1
+ ;;
+esac
+
+# --- Check types
+# if $newrev is 0000...0000, it's a commit to delete a ref.
+zero=$(git hash-object --stdin &2
+ echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
+ exit 1
+ fi
+ ;;
+ refs/tags/*,delete)
+ # delete tag
+ if [ "$allowdeletetag" != "true" ]; then
+ echo "*** Deleting a tag is not allowed in this repository" >&2
+ exit 1
+ fi
+ ;;
+ refs/tags/*,tag)
+ # annotated tag
+ if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
+ then
+ echo "*** Tag '$refname' already exists." >&2
+ echo "*** Modifying a tag is not allowed in this repository." >&2
+ exit 1
+ fi
+ ;;
+ refs/heads/*,commit)
+ # branch
+ if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
+ echo "*** Creating a branch is not allowed in this repository" >&2
+ exit 1
+ fi
+ ;;
+ refs/heads/*,delete)
+ # delete branch
+ if [ "$allowdeletebranch" != "true" ]; then
+ echo "*** Deleting a branch is not allowed in this repository" >&2
+ exit 1
+ fi
+ ;;
+ refs/remotes/*,commit)
+ # tracking branch
+ ;;
+ refs/remotes/*,delete)
+ # delete tracking branch
+ if [ "$allowdeletebranch" != "true" ]; then
+ echo "*** Deleting a tracking branch is not allowed in this repository" >&2
+ exit 1
+ fi
+ ;;
+ *)
+ # Anything else (is there anything else?)
+ echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
+ exit 1
+ ;;
+esac
+
+# --- Finished
+exit 0
diff --git a/gitflavio/index b/gitflavio/index
new file mode 100644
index 0000000..da9d4ec
Binary files /dev/null and b/gitflavio/index differ
diff --git a/gitflavio/info/exclude b/gitflavio/info/exclude
new file mode 100644
index 0000000..a5196d1
--- /dev/null
+++ b/gitflavio/info/exclude
@@ -0,0 +1,6 @@
+# git ls-files --others --exclude-from=.git/info/exclude
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+# *.[oa]
+# *~
diff --git a/gitflavio/logs/HEAD b/gitflavio/logs/HEAD
new file mode 100644
index 0000000..664eddf
--- /dev/null
+++ b/gitflavio/logs/HEAD
@@ -0,0 +1,12 @@
+0000000000000000000000000000000000000000 c78dce76a359499e4d9aac8987ae5a7f7f937309 mariano 1777454275 +0200 clone: from https://git.lavorain.cloud/mbenzi/urbackup.git
+c78dce76a359499e4d9aac8987ae5a7f7f937309 6493631fb88f9a570c95cfab46b89a144a9e9503 test 1777455335 +0200 commit: start opencode
+6493631fb88f9a570c95cfab46b89a144a9e9503 9bed80d88c7128c3587329fee6dc3cf2f0efc9fd test 1777455383 +0200 checkout: moving from main to dev
+9bed80d88c7128c3587329fee6dc3cf2f0efc9fd 98dc9fafeb52a5c6d0130be29d5716133e086821 test 1777456724 +0200 commit: modifiche da opencode
+98dc9fafeb52a5c6d0130be29d5716133e086821 9a73f51de5135da21bbc52ca183bf1e9a48cd0f2 test 1777456887 +0200 commit: opencode dopo commit 1
+9a73f51de5135da21bbc52ca183bf1e9a48cd0f2 311accf4bc2817584dd35d611c7483bfd1f9d70d mariano 1777462043 +0200 commit: modifica x instalalzione - opencode
+311accf4bc2817584dd35d611c7483bfd1f9d70d b7bffdd64ff74d4165aa49ecf2fa49006d0f9334 mariano 1778580538 +0200 commit: sisetmazione instalalzione nuovo model
+b7bffdd64ff74d4165aa49ecf2fa49006d0f9334 bcc2b35da1d4bbc24fd1f1d15c3899ef9a469bd5 mariano 1779256743 +0200 commit: finito parte computer
+bcc2b35da1d4bbc24fd1f1d15c3899ef9a469bd5 27aac99d1555a75d373756d8727afeefd6b69376 mariano 1779260579 +0200 commit: commit - stable -
+27aac99d1555a75d373756d8727afeefd6b69376 6493631fb88f9a570c95cfab46b89a144a9e9503 mariano 1779260625 +0200 checkout: moving from dev to main
+6493631fb88f9a570c95cfab46b89a144a9e9503 4b3ededa083d208e7ce6e42b8632d295735b2982 mariano 1779260803 +0200 commit (merge): Merge branch 'dev'
+4b3ededa083d208e7ce6e42b8632d295735b2982 27aac99d1555a75d373756d8727afeefd6b69376 mariano 1779260816 +0200 checkout: moving from main to dev
diff --git a/gitflavio/logs/refs/heads/dev b/gitflavio/logs/refs/heads/dev
new file mode 100644
index 0000000..c515f3e
--- /dev/null
+++ b/gitflavio/logs/refs/heads/dev
@@ -0,0 +1,7 @@
+0000000000000000000000000000000000000000 9bed80d88c7128c3587329fee6dc3cf2f0efc9fd test 1777455383 +0200 branch: Created from refs/remotes/origin/dev
+9bed80d88c7128c3587329fee6dc3cf2f0efc9fd 98dc9fafeb52a5c6d0130be29d5716133e086821 test 1777456724 +0200 commit: modifiche da opencode
+98dc9fafeb52a5c6d0130be29d5716133e086821 9a73f51de5135da21bbc52ca183bf1e9a48cd0f2 test 1777456887 +0200 commit: opencode dopo commit 1
+9a73f51de5135da21bbc52ca183bf1e9a48cd0f2 311accf4bc2817584dd35d611c7483bfd1f9d70d mariano 1777462043 +0200 commit: modifica x instalalzione - opencode
+311accf4bc2817584dd35d611c7483bfd1f9d70d b7bffdd64ff74d4165aa49ecf2fa49006d0f9334 mariano 1778580538 +0200 commit: sisetmazione instalalzione nuovo model
+b7bffdd64ff74d4165aa49ecf2fa49006d0f9334 bcc2b35da1d4bbc24fd1f1d15c3899ef9a469bd5 mariano 1779256743 +0200 commit: finito parte computer
+bcc2b35da1d4bbc24fd1f1d15c3899ef9a469bd5 27aac99d1555a75d373756d8727afeefd6b69376 mariano 1779260579 +0200 commit: commit - stable -
diff --git a/gitflavio/logs/refs/heads/main b/gitflavio/logs/refs/heads/main
new file mode 100644
index 0000000..d00b060
--- /dev/null
+++ b/gitflavio/logs/refs/heads/main
@@ -0,0 +1,3 @@
+0000000000000000000000000000000000000000 c78dce76a359499e4d9aac8987ae5a7f7f937309 mariano 1777454275 +0200 clone: from https://git.lavorain.cloud/mbenzi/urbackup.git
+c78dce76a359499e4d9aac8987ae5a7f7f937309 6493631fb88f9a570c95cfab46b89a144a9e9503 test 1777455335 +0200 commit: start opencode
+6493631fb88f9a570c95cfab46b89a144a9e9503 4b3ededa083d208e7ce6e42b8632d295735b2982 mariano 1779260803 +0200 commit (merge): Merge branch 'dev'
diff --git a/gitflavio/logs/refs/remotes/origin/HEAD b/gitflavio/logs/refs/remotes/origin/HEAD
new file mode 100644
index 0000000..85da1a9
--- /dev/null
+++ b/gitflavio/logs/refs/remotes/origin/HEAD
@@ -0,0 +1 @@
+0000000000000000000000000000000000000000 c78dce76a359499e4d9aac8987ae5a7f7f937309 mariano 1777454275 +0200 clone: from https://git.lavorain.cloud/mbenzi/urbackup.git
diff --git a/gitflavio/logs/refs/remotes/origin/dev b/gitflavio/logs/refs/remotes/origin/dev
new file mode 100644
index 0000000..60e996b
--- /dev/null
+++ b/gitflavio/logs/refs/remotes/origin/dev
@@ -0,0 +1,5 @@
+9bed80d88c7128c3587329fee6dc3cf2f0efc9fd 9a73f51de5135da21bbc52ca183bf1e9a48cd0f2 test 1777456894 +0200 update by push
+9a73f51de5135da21bbc52ca183bf1e9a48cd0f2 311accf4bc2817584dd35d611c7483bfd1f9d70d mariano 1777462051 +0200 update by push
+311accf4bc2817584dd35d611c7483bfd1f9d70d b7bffdd64ff74d4165aa49ecf2fa49006d0f9334 mariano 1778580554 +0200 update by push
+b7bffdd64ff74d4165aa49ecf2fa49006d0f9334 bcc2b35da1d4bbc24fd1f1d15c3899ef9a469bd5 mariano 1779256765 +0200 update by push
+bcc2b35da1d4bbc24fd1f1d15c3899ef9a469bd5 27aac99d1555a75d373756d8727afeefd6b69376 mariano 1779260580 +0200 update by push
diff --git a/gitflavio/logs/refs/remotes/origin/main b/gitflavio/logs/refs/remotes/origin/main
new file mode 100644
index 0000000..3a42731
--- /dev/null
+++ b/gitflavio/logs/refs/remotes/origin/main
@@ -0,0 +1 @@
+c78dce76a359499e4d9aac8987ae5a7f7f937309 4b3ededa083d208e7ce6e42b8632d295735b2982 mariano 1779260811 +0200 update by push
diff --git a/gitflavio/objects/00/bfe6f899a6d08df50fe1151032f7d2432a23fc b/gitflavio/objects/00/bfe6f899a6d08df50fe1151032f7d2432a23fc
new file mode 100644
index 0000000..75c6083
Binary files /dev/null and b/gitflavio/objects/00/bfe6f899a6d08df50fe1151032f7d2432a23fc differ
diff --git a/gitflavio/objects/00/d1fcaaa9d1d9244a8df60ddc4f46845d1a8456 b/gitflavio/objects/00/d1fcaaa9d1d9244a8df60ddc4f46845d1a8456
new file mode 100644
index 0000000..9753090
Binary files /dev/null and b/gitflavio/objects/00/d1fcaaa9d1d9244a8df60ddc4f46845d1a8456 differ
diff --git a/gitflavio/objects/00/d937889015edc16672a1aec414ccc184c743d7 b/gitflavio/objects/00/d937889015edc16672a1aec414ccc184c743d7
new file mode 100644
index 0000000..91fb392
Binary files /dev/null and b/gitflavio/objects/00/d937889015edc16672a1aec414ccc184c743d7 differ
diff --git a/gitflavio/objects/01/c931072d5746de24e6323d3f9316655d814740 b/gitflavio/objects/01/c931072d5746de24e6323d3f9316655d814740
new file mode 100644
index 0000000..fc2256c
Binary files /dev/null and b/gitflavio/objects/01/c931072d5746de24e6323d3f9316655d814740 differ
diff --git a/gitflavio/objects/05/aeab86ec3c5d3cdeac2e7cb0cdbce7af92a5bf b/gitflavio/objects/05/aeab86ec3c5d3cdeac2e7cb0cdbce7af92a5bf
new file mode 100644
index 0000000..3f58d2e
Binary files /dev/null and b/gitflavio/objects/05/aeab86ec3c5d3cdeac2e7cb0cdbce7af92a5bf differ
diff --git a/gitflavio/objects/0d/8b64bd85c5cf7509028a7cf1cb1646ae9d20e3 b/gitflavio/objects/0d/8b64bd85c5cf7509028a7cf1cb1646ae9d20e3
new file mode 100644
index 0000000..5498fee
Binary files /dev/null and b/gitflavio/objects/0d/8b64bd85c5cf7509028a7cf1cb1646ae9d20e3 differ
diff --git a/gitflavio/objects/0f/57c04a93e542f698d9ee8d5662296a10dd79f6 b/gitflavio/objects/0f/57c04a93e542f698d9ee8d5662296a10dd79f6
new file mode 100644
index 0000000..d15ae60
Binary files /dev/null and b/gitflavio/objects/0f/57c04a93e542f698d9ee8d5662296a10dd79f6 differ
diff --git a/gitflavio/objects/11/2ac1a3d31de40ed19e31ebe2a09969a91ca785 b/gitflavio/objects/11/2ac1a3d31de40ed19e31ebe2a09969a91ca785
new file mode 100644
index 0000000..e2ddf50
Binary files /dev/null and b/gitflavio/objects/11/2ac1a3d31de40ed19e31ebe2a09969a91ca785 differ
diff --git a/gitflavio/objects/11/6523d7a24f610648183920620579d30b8e007f b/gitflavio/objects/11/6523d7a24f610648183920620579d30b8e007f
new file mode 100644
index 0000000..f74315f
Binary files /dev/null and b/gitflavio/objects/11/6523d7a24f610648183920620579d30b8e007f differ
diff --git a/gitflavio/objects/13/a1fd4350238bfc24cfb8541036f0bee8e4ca05 b/gitflavio/objects/13/a1fd4350238bfc24cfb8541036f0bee8e4ca05
new file mode 100644
index 0000000..4d6ac81
Binary files /dev/null and b/gitflavio/objects/13/a1fd4350238bfc24cfb8541036f0bee8e4ca05 differ
diff --git a/gitflavio/objects/14/e1027489784b717661588cb43caa419eec86bd b/gitflavio/objects/14/e1027489784b717661588cb43caa419eec86bd
new file mode 100644
index 0000000..ee6dc53
Binary files /dev/null and b/gitflavio/objects/14/e1027489784b717661588cb43caa419eec86bd differ
diff --git a/gitflavio/objects/17/18114462eb2d4b292baba4edc3c6f79f7c3ea3 b/gitflavio/objects/17/18114462eb2d4b292baba4edc3c6f79f7c3ea3
new file mode 100644
index 0000000..f2dd20d
Binary files /dev/null and b/gitflavio/objects/17/18114462eb2d4b292baba4edc3c6f79f7c3ea3 differ
diff --git a/gitflavio/objects/18/5b273ec42b62b8ae4f74e59eae70395cc88752 b/gitflavio/objects/18/5b273ec42b62b8ae4f74e59eae70395cc88752
new file mode 100644
index 0000000..4f75d83
Binary files /dev/null and b/gitflavio/objects/18/5b273ec42b62b8ae4f74e59eae70395cc88752 differ
diff --git a/gitflavio/objects/18/a77d83519ba3e8fd6a17a1b44acb63bc7a50cf b/gitflavio/objects/18/a77d83519ba3e8fd6a17a1b44acb63bc7a50cf
new file mode 100644
index 0000000..26ced89
Binary files /dev/null and b/gitflavio/objects/18/a77d83519ba3e8fd6a17a1b44acb63bc7a50cf differ
diff --git a/gitflavio/objects/1b/210e4c7201ee826cb4f0e479e5486307e9bf7c b/gitflavio/objects/1b/210e4c7201ee826cb4f0e479e5486307e9bf7c
new file mode 100644
index 0000000..d916583
Binary files /dev/null and b/gitflavio/objects/1b/210e4c7201ee826cb4f0e479e5486307e9bf7c differ
diff --git a/gitflavio/objects/1c/8552781a34629a6176355ba50be371ec5166a9 b/gitflavio/objects/1c/8552781a34629a6176355ba50be371ec5166a9
new file mode 100644
index 0000000..12f30af
--- /dev/null
+++ b/gitflavio/objects/1c/8552781a34629a6176355ba50be371ec5166a9
@@ -0,0 +1,7 @@
+xVmo6g+f@rfM/SkEjI6Ym"T2ߑ^dwUWw,ݦ04TKK쟶;Nā~O .1K!
e?ow !2
BqJ&AL3%xfu)OX5q"yJ1%L]l7XTx+%Utx')gx|3Ef~W%\Q*☀%fD6;jlr&m65"%F/""dRBhUau:_.xn/^fICt;-v2RnBԖG҇{=w98V1
aP:OOzm8]N{~ϔ<{6TJi&tU#!PQz[{[oIᕫڨ!5y5zZElhwYBvsZNGϣߌ+wqhQB{X4dY3ߔh>}_n3XhnVyUkΕ-/O|hSN; JPM#p/G)ׇ5x)hu[
+}`*Qѝ0vA%dt~iQј8ۨ=G5G\aKT
+ULoZ0ſH8Αݭniz\x'#F$DҌRR6
+*I;(Hgpn"3Lf%92CTiu#
16˥~Dp6x"P3AqеVw`VW^nC5:XmnX:t}.Ri8S1Jbyŕ1Ő&&^w2 q1Z/ݤO}Yc9(5MwWN
\ No newline at end of file
diff --git a/gitflavio/objects/1e/bb463168f36028ae98c61581e6c8ff953617d0 b/gitflavio/objects/1e/bb463168f36028ae98c61581e6c8ff953617d0
new file mode 100644
index 0000000..45bb7ad
Binary files /dev/null and b/gitflavio/objects/1e/bb463168f36028ae98c61581e6c8ff953617d0 differ
diff --git a/gitflavio/objects/1f/9710002aa168ed7592b58b9f2d9e1f3431d30c b/gitflavio/objects/1f/9710002aa168ed7592b58b9f2d9e1f3431d30c
new file mode 100644
index 0000000..1b296a0
Binary files /dev/null and b/gitflavio/objects/1f/9710002aa168ed7592b58b9f2d9e1f3431d30c differ
diff --git a/gitflavio/objects/20/4ea8b1044799df5f383c9b7489ba8a876a7c03 b/gitflavio/objects/20/4ea8b1044799df5f383c9b7489ba8a876a7c03
new file mode 100644
index 0000000..564da27
Binary files /dev/null and b/gitflavio/objects/20/4ea8b1044799df5f383c9b7489ba8a876a7c03 differ
diff --git a/gitflavio/objects/21/5277ac86967035797e47da0b5010a87ce0b98f b/gitflavio/objects/21/5277ac86967035797e47da0b5010a87ce0b98f
new file mode 100644
index 0000000..9510d6c
Binary files /dev/null and b/gitflavio/objects/21/5277ac86967035797e47da0b5010a87ce0b98f differ
diff --git a/gitflavio/objects/24/d8f24f885f3be2c2de581e768885b5caf90c1e b/gitflavio/objects/24/d8f24f885f3be2c2de581e768885b5caf90c1e
new file mode 100644
index 0000000..517116f
Binary files /dev/null and b/gitflavio/objects/24/d8f24f885f3be2c2de581e768885b5caf90c1e differ
diff --git a/gitflavio/objects/25/9e2ef94ae4f4aa5f93125a6551690a28af573b b/gitflavio/objects/25/9e2ef94ae4f4aa5f93125a6551690a28af573b
new file mode 100644
index 0000000..59b7108
Binary files /dev/null and b/gitflavio/objects/25/9e2ef94ae4f4aa5f93125a6551690a28af573b differ
diff --git a/gitflavio/objects/27/7ad43ceff67cfe1f3867301b6c3552917bcd8e b/gitflavio/objects/27/7ad43ceff67cfe1f3867301b6c3552917bcd8e
new file mode 100644
index 0000000..60a1c28
Binary files /dev/null and b/gitflavio/objects/27/7ad43ceff67cfe1f3867301b6c3552917bcd8e differ
diff --git a/gitflavio/objects/27/aac99d1555a75d373756d8727afeefd6b69376 b/gitflavio/objects/27/aac99d1555a75d373756d8727afeefd6b69376
new file mode 100644
index 0000000..f42075a
--- /dev/null
+++ b/gitflavio/objects/27/aac99d1555a75d373756d8727afeefd6b69376
@@ -0,0 +1,3 @@
+xM
+0F/'*LWt}Ai}-gH0._,΅`rBbdjP[2I61&e
+"Yڤb.Had;зOJmR-SHYpJ!{KlNq0?J
\ No newline at end of file
diff --git a/gitflavio/objects/31/1accf4bc2817584dd35d611c7483bfd1f9d70d b/gitflavio/objects/31/1accf4bc2817584dd35d611c7483bfd1f9d70d
new file mode 100644
index 0000000..086d57d
Binary files /dev/null and b/gitflavio/objects/31/1accf4bc2817584dd35d611c7483bfd1f9d70d differ
diff --git a/gitflavio/objects/31/a95026c46ca2c322f0f6770300750573cc58d9 b/gitflavio/objects/31/a95026c46ca2c322f0f6770300750573cc58d9
new file mode 100644
index 0000000..a5103ed
Binary files /dev/null and b/gitflavio/objects/31/a95026c46ca2c322f0f6770300750573cc58d9 differ
diff --git a/gitflavio/objects/35/62526c1df22fc0f8d6b6e9463a3adff126413b b/gitflavio/objects/35/62526c1df22fc0f8d6b6e9463a3adff126413b
new file mode 100644
index 0000000..4cc94a1
Binary files /dev/null and b/gitflavio/objects/35/62526c1df22fc0f8d6b6e9463a3adff126413b differ
diff --git a/gitflavio/objects/3a/38bc98a9b989f99c685dacc9a620429c8af5a7 b/gitflavio/objects/3a/38bc98a9b989f99c685dacc9a620429c8af5a7
new file mode 100644
index 0000000..548ab89
Binary files /dev/null and b/gitflavio/objects/3a/38bc98a9b989f99c685dacc9a620429c8af5a7 differ
diff --git a/gitflavio/objects/3a/3c4d169ec5ca603e940c6ee57305c4200867df b/gitflavio/objects/3a/3c4d169ec5ca603e940c6ee57305c4200867df
new file mode 100644
index 0000000..5c98ff5
Binary files /dev/null and b/gitflavio/objects/3a/3c4d169ec5ca603e940c6ee57305c4200867df differ
diff --git a/gitflavio/objects/3a/ec748a00e2437143afbcce9789e9e1c440e86d b/gitflavio/objects/3a/ec748a00e2437143afbcce9789e9e1c440e86d
new file mode 100644
index 0000000..0feb74d
Binary files /dev/null and b/gitflavio/objects/3a/ec748a00e2437143afbcce9789e9e1c440e86d differ
diff --git a/gitflavio/objects/3b/25f0d2e7ba99cc57fd06590ccad42117d56e1a b/gitflavio/objects/3b/25f0d2e7ba99cc57fd06590ccad42117d56e1a
new file mode 100644
index 0000000..8a6736a
Binary files /dev/null and b/gitflavio/objects/3b/25f0d2e7ba99cc57fd06590ccad42117d56e1a differ
diff --git a/gitflavio/objects/3d/47b597ecf2e93c4020cdeb910a06b99f02ee39 b/gitflavio/objects/3d/47b597ecf2e93c4020cdeb910a06b99f02ee39
new file mode 100644
index 0000000..70f8311
--- /dev/null
+++ b/gitflavio/objects/3d/47b597ecf2e93c4020cdeb910a06b99f02ee39
@@ -0,0 +1 @@
+x+)JMU01f040031Q(N-*K-/I-.+(`4zĸ(u19/
\ No newline at end of file
diff --git a/gitflavio/objects/3d/5eba338b0383acac7cbc8bf39ef882ebb52945 b/gitflavio/objects/3d/5eba338b0383acac7cbc8bf39ef882ebb52945
new file mode 100644
index 0000000..c2cd0a6
Binary files /dev/null and b/gitflavio/objects/3d/5eba338b0383acac7cbc8bf39ef882ebb52945 differ
diff --git a/gitflavio/objects/41/83ad2c64664c3b69fe68ed12374393ad025e2f b/gitflavio/objects/41/83ad2c64664c3b69fe68ed12374393ad025e2f
new file mode 100644
index 0000000..206babc
--- /dev/null
+++ b/gitflavio/objects/41/83ad2c64664c3b69fe68ed12374393ad025e2f
@@ -0,0 +1,5 @@
+xTn@bYZHUA."$4EV Z-1Eٵ왝3g4ɦpћ<ν
+Fy&SLA{XXmD AO`.H?ƠJ`(B!_>c#N5T<ҙVkyޜU
+dQDG96Ay"Cad6,mAќGWр-I6wZfa[ߎ*9X<:'BMEx_lZ
~z@q4"n.*389H4[Hs6vAj!:6!8.ӓ4-oy~ŔL
-|ffMlE"!%]g"%I4_P
cv.;ٲI#աcB
+x&\ۻyi<2s"*l0z+Ւb9>Imtg/8wܚUOI.NwnOhT8ߚʺkSV4Z$?csL"R/Xᬲ
+uUh1S&-떋<Izd桵؈tosc%+T6KEChK[\'/E&}/|hʦf2rW5ȿGŔJN=k#YKƯ
\ No newline at end of file
diff --git a/gitflavio/objects/42/dfeff5d2b6452efa18cff9bc55ef86c254e997 b/gitflavio/objects/42/dfeff5d2b6452efa18cff9bc55ef86c254e997
new file mode 100644
index 0000000..6cb370f
Binary files /dev/null and b/gitflavio/objects/42/dfeff5d2b6452efa18cff9bc55ef86c254e997 differ
diff --git a/gitflavio/objects/43/018fccb86a1aa4b66a54a0489bc8fe5e664916 b/gitflavio/objects/43/018fccb86a1aa4b66a54a0489bc8fe5e664916
new file mode 100644
index 0000000..fdbdc63
Binary files /dev/null and b/gitflavio/objects/43/018fccb86a1aa4b66a54a0489bc8fe5e664916 differ
diff --git a/gitflavio/objects/45/4285ea080576f5db99ff0cd83dd6a7717241a9 b/gitflavio/objects/45/4285ea080576f5db99ff0cd83dd6a7717241a9
new file mode 100644
index 0000000..c0ff72b
--- /dev/null
+++ b/gitflavio/objects/45/4285ea080576f5db99ff0cd83dd6a7717241a9
@@ -0,0 +1,6 @@
+xT]k0ݳ&!#ݺ-k amz0(Ŗm1E2F{%+dcS{;yeQt4
+`>,0%C&$,7Zr1cPJj0M8
,YI7X|)2y)('ivCRJNHywa
8uAm6}'IaσvVqײt~Da'ih*x=dj4PMZ4WaOi:^nQ]|5ޠoWۻu㋔Í
+IP*⋅g6-[uʚ}yU3M+$FNgpkMki:\n1B
+X[cX}w. V"Nyc=
+wPZ23\.jkMc*
+kmJזDwq`jm5
\ No newline at end of file
diff --git a/gitflavio/objects/46/15c1d7cc58efbcfff10d8325a03934f540c569 b/gitflavio/objects/46/15c1d7cc58efbcfff10d8325a03934f540c569
new file mode 100644
index 0000000..7c73d76
Binary files /dev/null and b/gitflavio/objects/46/15c1d7cc58efbcfff10d8325a03934f540c569 differ
diff --git a/gitflavio/objects/46/cd427d457cecc5889a92440131ce63d7a92532 b/gitflavio/objects/46/cd427d457cecc5889a92440131ce63d7a92532
new file mode 100644
index 0000000..7ea3ffb
Binary files /dev/null and b/gitflavio/objects/46/cd427d457cecc5889a92440131ce63d7a92532 differ
diff --git a/gitflavio/objects/47/f6b90efbf694365d7831eb615591c109ab77b5 b/gitflavio/objects/47/f6b90efbf694365d7831eb615591c109ab77b5
new file mode 100644
index 0000000..067d235
Binary files /dev/null and b/gitflavio/objects/47/f6b90efbf694365d7831eb615591c109ab77b5 differ
diff --git a/gitflavio/objects/4b/3ededa083d208e7ce6e42b8632d295735b2982 b/gitflavio/objects/4b/3ededa083d208e7ce6e42b8632d295735b2982
new file mode 100644
index 0000000..2249814
Binary files /dev/null and b/gitflavio/objects/4b/3ededa083d208e7ce6e42b8632d295735b2982 differ
diff --git a/gitflavio/objects/4f/21aa1aca615a1fea2786d0c759a4626aba551d b/gitflavio/objects/4f/21aa1aca615a1fea2786d0c759a4626aba551d
new file mode 100644
index 0000000..68b6a1b
Binary files /dev/null and b/gitflavio/objects/4f/21aa1aca615a1fea2786d0c759a4626aba551d differ
diff --git a/gitflavio/objects/50/5476e9934cac4c29eb6a086daf07671e01517f b/gitflavio/objects/50/5476e9934cac4c29eb6a086daf07671e01517f
new file mode 100644
index 0000000..4d8b9ee
Binary files /dev/null and b/gitflavio/objects/50/5476e9934cac4c29eb6a086daf07671e01517f differ
diff --git a/gitflavio/objects/52/024d4228f1a54de35513bd1a14dfaeff1ddeb9 b/gitflavio/objects/52/024d4228f1a54de35513bd1a14dfaeff1ddeb9
new file mode 100644
index 0000000..1a8e8bd
Binary files /dev/null and b/gitflavio/objects/52/024d4228f1a54de35513bd1a14dfaeff1ddeb9 differ
diff --git a/gitflavio/objects/52/4523b4454b2c3bc0e88a948fd4789af7bbdae8 b/gitflavio/objects/52/4523b4454b2c3bc0e88a948fd4789af7bbdae8
new file mode 100644
index 0000000..86c43aa
Binary files /dev/null and b/gitflavio/objects/52/4523b4454b2c3bc0e88a948fd4789af7bbdae8 differ
diff --git a/gitflavio/objects/56/eb4d8b0f5bf018d99412161cf1346e29540fe8 b/gitflavio/objects/56/eb4d8b0f5bf018d99412161cf1346e29540fe8
new file mode 100644
index 0000000..ce4aafe
Binary files /dev/null and b/gitflavio/objects/56/eb4d8b0f5bf018d99412161cf1346e29540fe8 differ
diff --git a/gitflavio/objects/57/41929666cdf91205979ab26c6b6ccdf8a6979a b/gitflavio/objects/57/41929666cdf91205979ab26c6b6ccdf8a6979a
new file mode 100644
index 0000000..f773f10
Binary files /dev/null and b/gitflavio/objects/57/41929666cdf91205979ab26c6b6ccdf8a6979a differ
diff --git a/gitflavio/objects/61/b7171b1db577c2de9d43dadd5cc1fecce774dc b/gitflavio/objects/61/b7171b1db577c2de9d43dadd5cc1fecce774dc
new file mode 100644
index 0000000..be422ce
Binary files /dev/null and b/gitflavio/objects/61/b7171b1db577c2de9d43dadd5cc1fecce774dc differ
diff --git a/gitflavio/objects/61/ccf6d74902ab1b4ed510d8dad7df2fb80ff875 b/gitflavio/objects/61/ccf6d74902ab1b4ed510d8dad7df2fb80ff875
new file mode 100644
index 0000000..b4de5d7
Binary files /dev/null and b/gitflavio/objects/61/ccf6d74902ab1b4ed510d8dad7df2fb80ff875 differ
diff --git a/gitflavio/objects/61/dd7aa53d6ebb43ca028ef9d2706efa7bd9ee68 b/gitflavio/objects/61/dd7aa53d6ebb43ca028ef9d2706efa7bd9ee68
new file mode 100644
index 0000000..242c164
Binary files /dev/null and b/gitflavio/objects/61/dd7aa53d6ebb43ca028ef9d2706efa7bd9ee68 differ
diff --git a/gitflavio/objects/63/ea5c4d83858585a4d32a54f12e00a4c19891cf b/gitflavio/objects/63/ea5c4d83858585a4d32a54f12e00a4c19891cf
new file mode 100644
index 0000000..5e6031c
Binary files /dev/null and b/gitflavio/objects/63/ea5c4d83858585a4d32a54f12e00a4c19891cf differ
diff --git a/gitflavio/objects/64/93631fb88f9a570c95cfab46b89a144a9e9503 b/gitflavio/objects/64/93631fb88f9a570c95cfab46b89a144a9e9503
new file mode 100644
index 0000000..76b4ba9
--- /dev/null
+++ b/gitflavio/objects/64/93631fb88f9a570c95cfab46b89a144a9e9503
@@ -0,0 +1,3 @@
+xK
+0@]o2 eL6/
+m6^T#W+9KZ+. ) yH·lj3DHb'V Kbp*e4^D)yLΩSP;vb{E
\ No newline at end of file
diff --git a/gitflavio/objects/65/790e7d770de478c167d9435a4b7858346f7072 b/gitflavio/objects/65/790e7d770de478c167d9435a4b7858346f7072
new file mode 100644
index 0000000..ffc3c86
Binary files /dev/null and b/gitflavio/objects/65/790e7d770de478c167d9435a4b7858346f7072 differ
diff --git a/gitflavio/objects/67/9b0dafccecfb1a9fa9a341853f524b4b52abbf b/gitflavio/objects/67/9b0dafccecfb1a9fa9a341853f524b4b52abbf
new file mode 100644
index 0000000..89b907d
Binary files /dev/null and b/gitflavio/objects/67/9b0dafccecfb1a9fa9a341853f524b4b52abbf differ
diff --git a/gitflavio/objects/68/22b2bcae642863ca6e0115924af954e14ccff8 b/gitflavio/objects/68/22b2bcae642863ca6e0115924af954e14ccff8
new file mode 100644
index 0000000..6995682
Binary files /dev/null and b/gitflavio/objects/68/22b2bcae642863ca6e0115924af954e14ccff8 differ
diff --git a/gitflavio/objects/70/dff38c872847e1c23ef1c77594086839a2f985 b/gitflavio/objects/70/dff38c872847e1c23ef1c77594086839a2f985
new file mode 100644
index 0000000..4df6e40
Binary files /dev/null and b/gitflavio/objects/70/dff38c872847e1c23ef1c77594086839a2f985 differ
diff --git a/gitflavio/objects/79/2e374a39495bd4ce54bdb1efab74ef749b90b8 b/gitflavio/objects/79/2e374a39495bd4ce54bdb1efab74ef749b90b8
new file mode 100644
index 0000000..6006558
Binary files /dev/null and b/gitflavio/objects/79/2e374a39495bd4ce54bdb1efab74ef749b90b8 differ
diff --git a/gitflavio/objects/79/32e201a26405962f2f20e3d55c57236c152f91 b/gitflavio/objects/79/32e201a26405962f2f20e3d55c57236c152f91
new file mode 100644
index 0000000..b7306d1
Binary files /dev/null and b/gitflavio/objects/79/32e201a26405962f2f20e3d55c57236c152f91 differ
diff --git a/gitflavio/objects/7c/48ca70eca8ed15e3a8ea9f9d54c1a465501a40 b/gitflavio/objects/7c/48ca70eca8ed15e3a8ea9f9d54c1a465501a40
new file mode 100644
index 0000000..cb3d973
--- /dev/null
+++ b/gitflavio/objects/7c/48ca70eca8ed15e3a8ea9f9d54c1a465501a40
@@ -0,0 +1,2 @@
+xMQKk@Yb&PBJWu[@;ZMIWHi|i]h/YB:T$Ў=!qN"%AW# %UX#
+guU㱴d&'{afÜ-]wk7_S_JmsC^2uّrX,:+@UBJę?XF6oB+T}q`4_ۧqù MG,2Kb+"zϧ W%M;Z] %]H#o:l)hÎNRItu<Z](rbXʂ^|3cMx";5R䜐GA?cԚ
\ No newline at end of file
diff --git a/gitflavio/objects/7d/28b1fb6885c2730f3eb871bc63936c1dc5ebb2 b/gitflavio/objects/7d/28b1fb6885c2730f3eb871bc63936c1dc5ebb2
new file mode 100644
index 0000000..e3f8dd5
Binary files /dev/null and b/gitflavio/objects/7d/28b1fb6885c2730f3eb871bc63936c1dc5ebb2 differ
diff --git a/gitflavio/objects/7f/c40925047551dbc6f31069af430848dc862bb2 b/gitflavio/objects/7f/c40925047551dbc6f31069af430848dc862bb2
new file mode 100644
index 0000000..25a4031
Binary files /dev/null and b/gitflavio/objects/7f/c40925047551dbc6f31069af430848dc862bb2 differ
diff --git a/gitflavio/objects/88/1b6ebdd497616c0eaf0688fdb79edc758a396b b/gitflavio/objects/88/1b6ebdd497616c0eaf0688fdb79edc758a396b
new file mode 100644
index 0000000..75560ee
Binary files /dev/null and b/gitflavio/objects/88/1b6ebdd497616c0eaf0688fdb79edc758a396b differ
diff --git a/gitflavio/objects/90/a894f2dbef8d9efdeb61db05f659cd7078e4da b/gitflavio/objects/90/a894f2dbef8d9efdeb61db05f659cd7078e4da
new file mode 100644
index 0000000..d52dce3
Binary files /dev/null and b/gitflavio/objects/90/a894f2dbef8d9efdeb61db05f659cd7078e4da differ
diff --git a/gitflavio/objects/98/dc9fafeb52a5c6d0130be29d5716133e086821 b/gitflavio/objects/98/dc9fafeb52a5c6d0130be29d5716133e086821
new file mode 100644
index 0000000..a4bce53
Binary files /dev/null and b/gitflavio/objects/98/dc9fafeb52a5c6d0130be29d5716133e086821 differ
diff --git a/gitflavio/objects/9a/73f51de5135da21bbc52ca183bf1e9a48cd0f2 b/gitflavio/objects/9a/73f51de5135da21bbc52ca183bf1e9a48cd0f2
new file mode 100644
index 0000000..43328fc
--- /dev/null
+++ b/gitflavio/objects/9a/73f51de5135da21bbc52ca183bf1e9a48cd0f2
@@ -0,0 +1,2 @@
+xA
+0E]d&m2)wIf&ThRE{|iz}<"ԨylP$Ex&?\KJ۩Q'Vt}}2>bE Jm|ca|'-{Ck6IuVlrx"|8h*xcu~'*TQVRd7E)+x?Rq__i7
+,+aU/5kaЏR ESqqLqzgƮ؞b5[ǀcAbhm¶MYvIJ*)WwtO 4nKz>;Ak(d$T .EċKnа9Pwytħ;$1z?^2+3Q/V
+z
jm7Τmtю.$m`
\ No newline at end of file
diff --git a/gitflavio/objects/de/e63d0b4ae892fcc836df19d655ef78fba0df91 b/gitflavio/objects/de/e63d0b4ae892fcc836df19d655ef78fba0df91
new file mode 100644
index 0000000..0905a83
Binary files /dev/null and b/gitflavio/objects/de/e63d0b4ae892fcc836df19d655ef78fba0df91 differ
diff --git a/gitflavio/objects/e0/83fa81a6c387fc8ac548e8bc399b8335d781ef b/gitflavio/objects/e0/83fa81a6c387fc8ac548e8bc399b8335d781ef
new file mode 100644
index 0000000..0109fb6
Binary files /dev/null and b/gitflavio/objects/e0/83fa81a6c387fc8ac548e8bc399b8335d781ef differ
diff --git a/gitflavio/objects/e3/a5f4a180ecfd4e6b68f783989b3b9789b26fb6 b/gitflavio/objects/e3/a5f4a180ecfd4e6b68f783989b3b9789b26fb6
new file mode 100644
index 0000000..42002e2
Binary files /dev/null and b/gitflavio/objects/e3/a5f4a180ecfd4e6b68f783989b3b9789b26fb6 differ
diff --git a/gitflavio/objects/e4/e4b5179c616789e7dbdd52cb86a5becd0a9c14 b/gitflavio/objects/e4/e4b5179c616789e7dbdd52cb86a5becd0a9c14
new file mode 100644
index 0000000..1335ddf
Binary files /dev/null and b/gitflavio/objects/e4/e4b5179c616789e7dbdd52cb86a5becd0a9c14 differ
diff --git a/gitflavio/objects/e5/0adaeacd7429ac492c7f1a7213055c90458eb7 b/gitflavio/objects/e5/0adaeacd7429ac492c7f1a7213055c90458eb7
new file mode 100644
index 0000000..935a808
--- /dev/null
+++ b/gitflavio/objects/e5/0adaeacd7429ac492c7f1a7213055c90458eb7
@@ -0,0 +1,4 @@
+xmPAN0WВTT[\gK,%vv =nO
+竗*(CUHBt|;dot Yo!ǾD5^6as%϶#Pٲ5\QPߎEP]
\ No newline at end of file
diff --git a/gitflavio/objects/e6/bb5deaba73fdea1c97b9c09bc810a9c92fa72d b/gitflavio/objects/e6/bb5deaba73fdea1c97b9c09bc810a9c92fa72d
new file mode 100644
index 0000000..1c971a0
Binary files /dev/null and b/gitflavio/objects/e6/bb5deaba73fdea1c97b9c09bc810a9c92fa72d differ
diff --git a/gitflavio/objects/e7/b85297d4141c5e4190b68433d8e1cd5664c6a3 b/gitflavio/objects/e7/b85297d4141c5e4190b68433d8e1cd5664c6a3
new file mode 100644
index 0000000..110a081
Binary files /dev/null and b/gitflavio/objects/e7/b85297d4141c5e4190b68433d8e1cd5664c6a3 differ
diff --git a/gitflavio/objects/f0/0e847952b9239ced8dccdc0af19b68ebfb7d3d b/gitflavio/objects/f0/0e847952b9239ced8dccdc0af19b68ebfb7d3d
new file mode 100644
index 0000000..88bb750
Binary files /dev/null and b/gitflavio/objects/f0/0e847952b9239ced8dccdc0af19b68ebfb7d3d differ
diff --git a/gitflavio/objects/f1/f8001c76b95c16e22b018bb0e02fca8dece54f b/gitflavio/objects/f1/f8001c76b95c16e22b018bb0e02fca8dece54f
new file mode 100644
index 0000000..fbb5d89
Binary files /dev/null and b/gitflavio/objects/f1/f8001c76b95c16e22b018bb0e02fca8dece54f differ
diff --git a/gitflavio/objects/f6/727eda1e7bfd0a868ff93615a04b44b928c76d b/gitflavio/objects/f6/727eda1e7bfd0a868ff93615a04b44b928c76d
new file mode 100644
index 0000000..0f31732
Binary files /dev/null and b/gitflavio/objects/f6/727eda1e7bfd0a868ff93615a04b44b928c76d differ
diff --git a/gitflavio/objects/f8/5893a04200dc8c30e75955bb12d4905110d2ff b/gitflavio/objects/f8/5893a04200dc8c30e75955bb12d4905110d2ff
new file mode 100644
index 0000000..2fc7b2d
Binary files /dev/null and b/gitflavio/objects/f8/5893a04200dc8c30e75955bb12d4905110d2ff differ
diff --git a/gitflavio/objects/fc/e0dd97ed72cbc3b85c8310bfee8247bcf6d1b5 b/gitflavio/objects/fc/e0dd97ed72cbc3b85c8310bfee8247bcf6d1b5
new file mode 100644
index 0000000..375850a
Binary files /dev/null and b/gitflavio/objects/fc/e0dd97ed72cbc3b85c8310bfee8247bcf6d1b5 differ
diff --git a/gitflavio/objects/ff/d908df1af4d233249c5bf9a88dff36419a192c b/gitflavio/objects/ff/d908df1af4d233249c5bf9a88dff36419a192c
new file mode 100644
index 0000000..32c573d
Binary files /dev/null and b/gitflavio/objects/ff/d908df1af4d233249c5bf9a88dff36419a192c differ
diff --git a/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.idx b/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.idx
new file mode 100644
index 0000000..7237dbc
Binary files /dev/null and b/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.idx differ
diff --git a/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.pack b/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.pack
new file mode 100644
index 0000000..f06fcde
Binary files /dev/null and b/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.pack differ
diff --git a/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.rev b/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.rev
new file mode 100644
index 0000000..7f9f82a
Binary files /dev/null and b/gitflavio/objects/pack/pack-16f64c98dc9785f95395d0429bffba92412a8d22.rev differ
diff --git a/gitflavio/opencode b/gitflavio/opencode
new file mode 100644
index 0000000..0238af7
--- /dev/null
+++ b/gitflavio/opencode
@@ -0,0 +1 @@
+c78dce76a359499e4d9aac8987ae5a7f7f937309
\ No newline at end of file
diff --git a/gitflavio/packed-refs b/gitflavio/packed-refs
new file mode 100644
index 0000000..35be949
--- /dev/null
+++ b/gitflavio/packed-refs
@@ -0,0 +1,3 @@
+# pack-refs with: peeled fully-peeled sorted
+9bed80d88c7128c3587329fee6dc3cf2f0efc9fd refs/remotes/origin/dev
+c78dce76a359499e4d9aac8987ae5a7f7f937309 refs/remotes/origin/main
diff --git a/gitflavio/refs/heads/dev b/gitflavio/refs/heads/dev
new file mode 100644
index 0000000..f1e5bc4
--- /dev/null
+++ b/gitflavio/refs/heads/dev
@@ -0,0 +1 @@
+27aac99d1555a75d373756d8727afeefd6b69376
diff --git a/gitflavio/refs/heads/main b/gitflavio/refs/heads/main
new file mode 100644
index 0000000..a46537e
--- /dev/null
+++ b/gitflavio/refs/heads/main
@@ -0,0 +1 @@
+4b3ededa083d208e7ce6e42b8632d295735b2982
diff --git a/gitflavio/refs/remotes/origin/HEAD b/gitflavio/refs/remotes/origin/HEAD
new file mode 100644
index 0000000..4b0a875
--- /dev/null
+++ b/gitflavio/refs/remotes/origin/HEAD
@@ -0,0 +1 @@
+ref: refs/remotes/origin/main
diff --git a/gitflavio/refs/remotes/origin/dev b/gitflavio/refs/remotes/origin/dev
new file mode 100644
index 0000000..f1e5bc4
--- /dev/null
+++ b/gitflavio/refs/remotes/origin/dev
@@ -0,0 +1 @@
+27aac99d1555a75d373756d8727afeefd6b69376
diff --git a/gitflavio/refs/remotes/origin/main b/gitflavio/refs/remotes/origin/main
new file mode 100644
index 0000000..a46537e
--- /dev/null
+++ b/gitflavio/refs/remotes/origin/main
@@ -0,0 +1 @@
+4b3ededa083d208e7ce6e42b8632d295735b2982
diff --git a/hook.php b/hook.php
new file mode 100644
index 0000000..61b7171
--- /dev/null
+++ b/hook.php
@@ -0,0 +1,71 @@
+
+ */
+function plugin_urbackup_get_classes(): array
+{
+ return [
+ Config::class,
+ Profile::class,
+ Server::class,
+ ServerAsset::class,
+ PluginUrbackupMassiveAction::class,
+ ];
+}
+
+/**
+ * Declare plugin massive actions.
+ *
+ * In GLPI this hook receives the current itemtype as string,
+ * for example Computer, Printer, Peripheral.
+ *
+ * It does not receive a MassiveAction object.
+ *
+ * @param mixed $type Current itemtype
+ *
+ * @return array
+ */
+function plugin_urbackup_MassiveActions($type): array
+{
+ $actions = [];
+
+ if (!is_string($type) || $type === '') {
+ return $actions;
+ }
+
+ if (!Config::isItemtypeEnabled($type)) {
+ return $actions;
+ }
+
+ if (Profile::canCurrentUser(UPDATE) || Profile::canCurrentUser(CREATE)) {
+ $actions[
+ PluginUrbackupMassiveAction::class
+ . \MassiveAction::CLASS_ACTION_SEPARATOR
+ . PluginUrbackupMassiveAction::ACTION_CONNECT_SERVER
+ ] = __('UrBackup - connect to server', 'urbackup');
+ }
+
+ if (Profile::canCurrentUser(UPDATE)) {
+ $actions[
+ PluginUrbackupMassiveAction::class
+ . \MassiveAction::CLASS_ACTION_SEPARATOR
+ . PluginUrbackupMassiveAction::ACTION_DISCONNECT_SERVER
+ ] = __('UrBackup - disconnect from server', 'urbackup');
+ }
+
+ return $actions;
+}
\ No newline at end of file
diff --git a/install/install.php b/install/install.php
new file mode 100644
index 0000000..259e2ef
--- /dev/null
+++ b/install/install.php
@@ -0,0 +1,348 @@
+runFile()
+ * - schema evolution using Migration addField(), addKey(), executeMigration()
+ *
+ * -------------------------------------------------------------------------
+ */
+
+use GlpiPlugin\Urbackup\Config;
+use GlpiPlugin\Urbackup\Profile;
+
+if (!defined('GLPI_ROOT')) {
+ die('Sorry. You cannot access this file directly.');
+}
+
+/**
+ * Install or update plugin database schema and default data.
+ *
+ * @return bool
+ */
+function plugin_urbackup_install_process(): bool
+{
+ $migration = new Migration(PLUGIN_URBACKUP_VERSION);
+
+ $migration->displayMessage(__('UrBackup plugin installation', 'urbackup'));
+
+ plugin_urbackup_install_create_initial_schema($migration);
+
+ plugin_urbackup_install_update_configs_table($migration);
+ plugin_urbackup_install_update_assettypes_table($migration);
+ plugin_urbackup_install_update_servers_table($migration);
+ plugin_urbackup_install_update_serverassets_table($migration);
+ plugin_urbackup_install_update_profiles_table($migration);
+
+ $migration->executeMigration();
+
+ Config::ensureDefaultConfiguration();
+ Profile::installRights();
+
+ return true;
+}
+
+/**
+ * Create initial database schema from SQL file.
+ *
+ * @param Migration $migration Migration instance
+ *
+ * @return void
+ */
+function plugin_urbackup_install_create_initial_schema(Migration $migration): void
+{
+ global $DB;
+
+ $required_tables = [
+ 'glpi_plugin_urbackup_configs',
+ 'glpi_plugin_urbackup_assettypes',
+ 'glpi_plugin_urbackup_servers',
+ 'glpi_plugin_urbackup_serverassets',
+ 'glpi_plugin_urbackup_profiles',
+ ];
+
+ $missing_table_found = false;
+
+ foreach ($required_tables as $table) {
+ if (!$DB->tableExists($table)) {
+ $missing_table_found = true;
+ break;
+ }
+ }
+
+ if (!$missing_table_found) {
+ return;
+ }
+
+ $migration->displayMessage(__('Creating UrBackup plugin database schema', 'urbackup'));
+
+ $db_file = PLUGIN_URBACKUP_DIR . '/install/mysql/plugin_urbackup-empty.sql';
+
+ if (!file_exists($db_file)) {
+ $migration->displayMessage(
+ sprintf(
+ __('Database schema file not found: %s', 'urbackup'),
+ $db_file
+ )
+ );
+
+ return;
+ }
+
+ if (!$DB->runFile($db_file)) {
+ $migration->displayMessage(__('Error while creating UrBackup plugin database schema', 'urbackup'));
+ }
+}
+
+/**
+ * Update configs table.
+ *
+ * @param Migration $migration Migration instance
+ *
+ * @return void
+ */
+function plugin_urbackup_install_update_configs_table(Migration $migration): void
+{
+ global $DB;
+
+ $table = 'glpi_plugin_urbackup_configs';
+
+ if (!$DB->tableExists($table)) {
+ return;
+ }
+
+ $migration->addField($table, 'name', 'string', [
+ 'value' => '',
+ 'after' => 'id',
+ ]);
+
+ $migration->addField($table, 'value', 'text', [
+ 'after' => 'name',
+ ]);
+
+ $migration->addField($table, 'date_creation', 'timestamp');
+ $migration->addField($table, 'date_mod', 'timestamp');
+
+ $migration->addKey($table, 'name');
+}
+
+/**
+ * Update assettypes table.
+ *
+ * @param Migration $migration Migration instance
+ *
+ * @return void
+ */
+function plugin_urbackup_install_update_assettypes_table(Migration $migration): void
+{
+ global $DB;
+
+ $table = 'glpi_plugin_urbackup_assettypes';
+
+ if (!$DB->tableExists($table)) {
+ return;
+ }
+
+ $migration->addField($table, 'itemtype', 'string', [
+ 'value' => '',
+ 'after' => 'id',
+ ]);
+
+ $migration->addField($table, 'is_active', 'bool', [
+ 'value' => 0,
+ 'after' => 'itemtype',
+ ]);
+
+ $migration->addField($table, 'is_default', 'bool', [
+ 'value' => 0,
+ 'after' => 'is_active',
+ ]);
+
+ $migration->addField($table, 'date_creation', 'timestamp');
+ $migration->addField($table, 'date_mod', 'timestamp');
+
+ $migration->addKey($table, 'itemtype');
+ $migration->addKey($table, 'is_active');
+}
+
+/**
+ * Update servers table.
+ *
+ * @param Migration $migration Migration instance
+ *
+ * @return void
+ */
+function plugin_urbackup_install_update_servers_table(Migration $migration): void
+{
+ global $DB;
+
+ $table = 'glpi_plugin_urbackup_servers';
+
+ if (!$DB->tableExists($table)) {
+ return;
+ }
+
+ $migration->addField($table, 'entities_id', 'integer', [
+ 'value' => 0,
+ 'after' => 'id',
+ ]);
+
+ $migration->addField($table, 'is_recursive', 'bool', [
+ 'value' => 0,
+ 'after' => 'entities_id',
+ ]);
+
+ $migration->addField($table, 'name', 'string', [
+ 'value' => '',
+ 'after' => 'is_recursive',
+ ]);
+
+ $migration->addField($table, 'locations_id', 'integer', [
+ 'value' => 0,
+ 'after' => 'name',
+ ]);
+
+ $migration->addField($table, 'ip_address', 'string', [
+ 'value' => '',
+ 'after' => 'locations_id',
+ ]);
+
+ $migration->addField($table, 'port', 'integer', [
+ 'value' => 55414,
+ 'after' => 'ip_address',
+ ]);
+
+ $migration->addField($table, 'protocol', 'string', [
+ 'value' => 'http',
+ 'after' => 'port',
+ ]);
+
+ $migration->addField($table, 'server_version', 'string', [
+ 'after' => 'protocol',
+ ]);
+
+ $migration->addField($table, 'api_username', 'string', [
+ 'after' => 'server_version',
+ ]);
+
+ $migration->addField($table, 'api_password', 'text', [
+ 'after' => 'api_username',
+ ]);
+
+ $migration->addField($table, 'ignore_ssl', 'bool', [
+ 'value' => 0,
+ 'after' => 'api_password',
+ ]);
+
+ $migration->addField($table, 'is_active', 'bool', [
+ 'value' => 1,
+ 'after' => 'ignore_ssl',
+ ]);
+
+ $migration->addField($table, 'last_api_status', 'bool', [
+ 'value' => 0,
+ 'after' => 'is_active',
+ ]);
+
+ $migration->addField($table, 'last_api_message', 'text', [
+ 'after' => 'last_api_status',
+ ]);
+
+ $migration->addField($table, 'last_api_check', 'timestamp', [
+ 'after' => 'last_api_message',
+ ]);
+
+ $migration->addField($table, 'comment', 'text', [
+ 'after' => 'last_api_check',
+ ]);
+
+ $migration->addField($table, 'date_creation', 'timestamp');
+ $migration->addField($table, 'date_mod', 'timestamp');
+
+ $migration->addKey($table, 'name');
+ $migration->addKey($table, 'entities_id');
+ $migration->addKey($table, 'locations_id');
+ $migration->addKey($table, 'is_active');
+}
+
+/**
+ * Update serverassets table.
+ *
+ * @param Migration $migration Migration instance
+ *
+ * @return void
+ */
+function plugin_urbackup_install_update_serverassets_table(Migration $migration): void
+{
+ global $DB;
+
+ $table = 'glpi_plugin_urbackup_serverassets';
+
+ if (!$DB->tableExists($table)) {
+ return;
+ }
+
+ $migration->addField($table, 'plugin_urbackup_servers_id', 'integer', [
+ 'value' => 0,
+ 'after' => 'id',
+ ]);
+
+ $migration->addField($table, 'itemtype', 'string', [
+ 'value' => '',
+ 'after' => 'plugin_urbackup_servers_id',
+ ]);
+
+ $migration->addField($table, 'items_id', 'integer', [
+ 'value' => 0,
+ 'after' => 'itemtype',
+ ]);
+
+ $migration->addKey($table, 'plugin_urbackup_servers_id');
+ $migration->addKey($table, ['itemtype', 'items_id'], 'item');
+}
+
+/**
+ * Update profiles table.
+ *
+ * @param Migration $migration Migration instance
+ *
+ * @return void
+ */
+function plugin_urbackup_install_update_profiles_table(Migration $migration): void
+{
+ global $DB;
+
+ $table = 'glpi_plugin_urbackup_profiles';
+
+ if (!$DB->tableExists($table)) {
+ return;
+ }
+
+ $migration->addField($table, 'profiles_id', 'integer', [
+ 'value' => 0,
+ 'after' => 'id',
+ ]);
+
+ $migration->addField($table, 'rightname', 'string', [
+ 'value' => '',
+ 'after' => 'profiles_id',
+ ]);
+
+ $migration->addField($table, 'rights', 'integer', [
+ 'value' => 0,
+ 'after' => 'rightname',
+ ]);
+
+ $migration->addField($table, 'date_creation', 'timestamp');
+ $migration->addField($table, 'date_mod', 'timestamp');
+
+ $migration->addKey($table, ['profiles_id', 'rightname'], 'profile_right');
+}
diff --git a/install/mysql/plugin_urbackup-empty.sql b/install/mysql/plugin_urbackup-empty.sql
new file mode 100644
index 0000000..3562526
--- /dev/null
+++ b/install/mysql/plugin_urbackup-empty.sql
@@ -0,0 +1,69 @@
+CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_configs` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
+ `name` VARCHAR(255) NOT NULL DEFAULT '',
+ `value` TEXT DEFAULT NULL,
+ `date_creation` TIMESTAMP NULL DEFAULT NULL,
+ `date_mod` TIMESTAMP NULL DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
+
+CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_assettypes` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
+ `itemtype` VARCHAR(255) NOT NULL DEFAULT '',
+ `is_active` TINYINT NOT NULL DEFAULT 0,
+ `is_default` TINYINT NOT NULL DEFAULT 0,
+ `date_creation` TIMESTAMP NULL DEFAULT NULL,
+ `date_mod` TIMESTAMP NULL DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ KEY `itemtype` (`itemtype`),
+ KEY `is_active` (`is_active`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
+
+CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_servers` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
+ `entities_id` INT UNSIGNED NOT NULL DEFAULT 0,
+ `is_recursive` TINYINT NOT NULL DEFAULT 0,
+ `name` VARCHAR(255) NOT NULL DEFAULT '',
+ `locations_id` INT UNSIGNED NOT NULL DEFAULT 0,
+ `ip_address` VARCHAR(255) NOT NULL DEFAULT '',
+ `port` INT UNSIGNED NOT NULL DEFAULT 55414,
+ `protocol` VARCHAR(10) NOT NULL DEFAULT 'http',
+ `server_version` VARCHAR(64) DEFAULT NULL,
+ `api_username` VARCHAR(255) DEFAULT NULL,
+ `api_password` TEXT DEFAULT NULL,
+ `ignore_ssl` TINYINT NOT NULL DEFAULT 0,
+ `is_active` TINYINT NOT NULL DEFAULT 1,
+ `last_api_status` TINYINT NOT NULL DEFAULT 0,
+ `last_api_message` TEXT DEFAULT NULL,
+ `last_api_check` TIMESTAMP NULL DEFAULT NULL,
+ `comment` TEXT DEFAULT NULL,
+ `date_creation` TIMESTAMP NULL DEFAULT NULL,
+ `date_mod` TIMESTAMP NULL DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ KEY `name` (`name`),
+ KEY `entities_id` (`entities_id`),
+ KEY `locations_id` (`locations_id`),
+ KEY `is_active` (`is_active`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
+
+CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_serverassets` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
+ `plugin_urbackup_servers_id` INT UNSIGNED NOT NULL DEFAULT 0,
+ `itemtype` VARCHAR(255) NOT NULL DEFAULT '',
+ `items_id` INT UNSIGNED NOT NULL DEFAULT 0,
+ PRIMARY KEY (`id`),
+ KEY `plugin_urbackup_servers_id` (`plugin_urbackup_servers_id`),
+ KEY `item` (`itemtype`, `items_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
+
+CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_profiles` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
+ `profiles_id` INT UNSIGNED NOT NULL DEFAULT 0,
+ `rightname` VARCHAR(255) NOT NULL DEFAULT '',
+ `rights` INT NOT NULL DEFAULT 0,
+ `date_creation` TIMESTAMP NULL DEFAULT NULL,
+ `date_mod` TIMESTAMP NULL DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `profile_right` (`profiles_id`, `rightname`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
\ No newline at end of file
diff --git a/install/uninstall.php b/install/uninstall.php
new file mode 100644
index 0000000..454285e
--- /dev/null
+++ b/install/uninstall.php
@@ -0,0 +1,59 @@
+displayMessage(__('UrBackup plugin uninstallation', 'urbackup'));
+
+ Profile::uninstallRights();
+
+ plugin_urbackup_migration_drop_table($migration, 'glpi_plugin_urbackup_profiles');
+ plugin_urbackup_migration_drop_table($migration, 'glpi_plugin_urbackup_serverassets');
+ plugin_urbackup_migration_drop_table($migration, 'glpi_plugin_urbackup_servers');
+ plugin_urbackup_migration_drop_table($migration, 'glpi_plugin_urbackup_assettypes');
+ plugin_urbackup_migration_drop_table($migration, 'glpi_plugin_urbackup_configs');
+
+ $migration->executeMigration();
+
+ return true;
+}
+
+/**
+ * Drop a plugin table through Migration.
+ *
+ * @param Migration $migration Migration instance
+ * @param string $table Table name
+ *
+ * @return void
+ */
+function plugin_urbackup_migration_drop_table(Migration $migration, $table): void
+{
+ global $DB;
+
+ if (!$DB->tableExists($table)) {
+ return;
+ }
+
+ $migration->dropTable($table);
+}
\ No newline at end of file
diff --git a/js/urbackup.js b/js/urbackup.js
new file mode 100644
index 0000000..e4e4b51
--- /dev/null
+++ b/js/urbackup.js
@@ -0,0 +1,87 @@
+/**
+ * UrBackup API Test JavaScript
+ */
+(function () {
+ 'use strict';
+
+ function testApi(serverId, resultBox) {
+ if (!serverId || !resultBox) return;
+
+ var xhr = new XMLHttpRequest();
+ xhr.open('POST', '/plugins/urbackup/ajax/server_test.php', true);
+ xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
+ xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
+ xhr.timeout = 8000;
+
+ xhr.onload = function () {
+ if (xhr.status === 200) {
+ try {
+ var data = JSON.parse(xhr.responseText);
+ if (data.success) {
+ resultBox.innerHTML = ' ' + 'API connection OK' + '';
+ } else {
+ var message = data.message || 'Connection failed';
+ var isNetwork = /timeout|could not resolve|couldn't connect|connection refused|connection timed out|network is unreachable|no route to host|returned HTTP status/i.test(message);
+ var statusClass = isNetwork ? 'text-warning' : 'text-danger';
+ var icon = isNetwork ? 'ti-wifi-off' : 'ti-x';
+ var label = isNetwork ? 'Server unreachable' : 'API connection failed';
+ resultBox.innerHTML = ' ' + label + ' ' + message + '';
+ }
+ } catch (e) {
+ resultBox.innerHTML = ' Error';
+ }
+ } else {
+ resultBox.innerHTML = ' HTTP ' + xhr.status + '';
+ }
+ };
+
+ xhr.ontimeout = function () {
+ resultBox.innerHTML = ' Server unreachable Connection timeout';
+ };
+
+ xhr.onerror = function () {
+ resultBox.innerHTML = ' Server unreachable Network error';
+ };
+
+ xhr.send('id=' + encodeURIComponent(serverId));
+ }
+
+ function initApiStatusCheck() {
+ var statusBox = document.getElementById('plugin-urbackup-api-status');
+ if (!statusBox) return;
+ if (statusBox._initialized) return;
+ statusBox._initialized = true;
+
+ var serverId = statusBox.getAttribute('data-server-id');
+ if (serverId) {
+ testApi(serverId, statusBox);
+ }
+ }
+
+ function initApiTestButtons() {
+ var buttons = document.querySelectorAll('.plugin-urbackup-test-api');
+
+ buttons.forEach(function (button) {
+ if (button._initialized) return;
+ button._initialized = true;
+
+ button.addEventListener('click', function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+
+ var serverId = button.getAttribute('data-server-id');
+ var resultBox = document.getElementById('plugin-urbackup-api-test-result');
+
+ testApi(serverId, resultBox);
+ });
+ });
+ }
+
+ if (document.readyState === 'loading') {
+ document.addEventListener('DOMContentLoaded', initApiStatusCheck);
+ document.addEventListener('DOMContentLoaded', initApiTestButtons);
+ } else {
+ setTimeout(initApiStatusCheck, 100);
+ setTimeout(initApiTestButtons, 100);
+ }
+})();
diff --git a/locales/de_DE.mo b/locales/de_DE.mo
new file mode 100644
index 0000000..9c730d7
Binary files /dev/null and b/locales/de_DE.mo differ
diff --git a/locales/de_DE.po b/locales/de_DE.po
new file mode 100644
index 0000000..112ac1a
--- /dev/null
+++ b/locales/de_DE.po
@@ -0,0 +1,158 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: urbackup 0.4.0\n"
+"Language: de_DE\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+
+msgid "UrBackup"
+msgstr "UrBackup"
+
+msgid "UrBackup server"
+msgstr "UrBackup-Server"
+
+msgid "UrBackup servers"
+msgstr "UrBackup-Server"
+
+msgid "UrBackup configuration"
+msgstr "UrBackup-Konfiguration"
+
+msgid "UrBackup rights"
+msgstr "UrBackup-Berechtigungen"
+
+msgid "No UrBackup server linked."
+msgstr "Kein UrBackup-Server verknüpft."
+
+msgid "UrBackup server selection"
+msgstr "UrBackup-Serverauswahl"
+
+msgid "Root location ID"
+msgstr "Root-Location-ID"
+
+msgid "Asset location ID"
+msgstr "Asset-Location-ID"
+
+msgid "The asset is in a sub-location. The plugin will use the server assigned to the root location."
+msgstr "Das Asset befindet sich in einer Unter-Location. Der Server der Root-Location wird verwendet."
+
+msgid "No UrBackup server available for the root location of this asset."
+msgstr "Kein UrBackup-Server für die Root-Location dieses Assets verfügbar."
+
+msgid "Available servers for root location"
+msgstr "Verfügbare Server für die Root-Location"
+
+msgid "Connect"
+msgstr "Verbinden"
+
+msgid "Disconnect"
+msgstr "Trennen"
+
+msgid "UrBackup status"
+msgstr "UrBackup-Status"
+
+msgid "Linked server"
+msgstr "Verknüpfter Server"
+
+msgid "Client name"
+msgstr "Clientname"
+
+msgid "Client IP address"
+msgstr "Client-IP-Adresse"
+
+msgid "Client version"
+msgstr "Client-Version"
+
+msgid "Online"
+msgstr "Online"
+
+msgid "Offline"
+msgstr "Offline"
+
+msgid "State"
+msgstr "Status"
+
+msgid "Actions"
+msgstr "Aktionen"
+
+msgid "Info / Log"
+msgstr "Info / Protokoll"
+
+msgid "Create client in UrBackup"
+msgstr "Client in UrBackup erstellen"
+
+msgid "Backup commands"
+msgstr "Backup-Befehle"
+
+msgid "Incremental file backup"
+msgstr "Inkrementelles Dateibackup"
+
+msgid "Full file backup"
+msgstr "Vollständiges Dateibackup"
+
+msgid "Incremental image backup"
+msgstr "Inkrementelles Image-Backup"
+
+msgid "Full image backup"
+msgstr "Vollständiges Image-Backup"
+
+msgid "Internet mode"
+msgstr "Internetmodus"
+
+msgid "Default directories"
+msgstr "Standardverzeichnisse"
+
+msgid "Recent backups"
+msgstr "Letzte Backups"
+
+msgid "Client logs"
+msgstr "Client-Protokolle"
+
+msgid "Delete client from UrBackup server"
+msgstr "Client vom UrBackup-Server löschen"
+
+msgid "The client deletion will be queued on the UrBackup server and may require up to 24 hours."
+msgstr "Die Löschung des Clients wird auf dem UrBackup-Server in die Warteschlange gestellt und kann bis zu 24 Stunden dauern."
+
+msgid "API connection status"
+msgstr "API-Verbindungsstatus"
+
+msgid "API connection OK"
+msgstr "API-Verbindung OK"
+
+msgid "API connection failed"
+msgstr "API-Verbindung fehlgeschlagen"
+
+msgid "Server unreachable"
+msgstr "Server nicht erreichbar"
+
+msgid "No IP address configured"
+msgstr "Keine IP-Adresse konfiguriert"
+
+msgid "Checking..."
+msgstr "Überprüfung..."
+
+msgid "Click Save to test connection"
+msgstr "Klicken Sie auf Speichern, um die Verbindung zu testen"
+
+msgid "Linked clients"
+msgstr "Verknüpfte Clients"
+
+msgid "Unlinked clients"
+msgstr "Nicht verknüpfte Clients"
+
+msgid "No linked assets"
+msgstr "Keine verknüpften Assets"
+
+msgid "No unlinked clients found on UrBackup server"
+msgstr "Keine nicht verknüpften Clients auf dem UrBackup-Server gefunden"
+
+msgid "API connection not working. Save server to test connection."
+msgstr "API-Verbindung funktioniert nicht. Speichern Sie den Server, um die Verbindung zu testen."
+
+msgid "Status"
+msgstr "Status"
+
+msgid "Last backup"
+msgstr "Letztes Backup"
+
+msgid "Show"
+msgstr "Anzeigen"
\ No newline at end of file
diff --git a/locales/en_GB.mo b/locales/en_GB.mo
new file mode 100644
index 0000000..31a9502
Binary files /dev/null and b/locales/en_GB.mo differ
diff --git a/locales/en_GB.po b/locales/en_GB.po
new file mode 100644
index 0000000..ba3596d
--- /dev/null
+++ b/locales/en_GB.po
@@ -0,0 +1,158 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: urbackup 0.4.0\n"
+"Language: en_GB\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+
+msgid "UrBackup"
+msgstr "UrBackup"
+
+msgid "UrBackup server"
+msgstr "UrBackup server"
+
+msgid "UrBackup servers"
+msgstr "UrBackup servers"
+
+msgid "UrBackup configuration"
+msgstr "UrBackup configuration"
+
+msgid "UrBackup rights"
+msgstr "UrBackup rights"
+
+msgid "No UrBackup server linked."
+msgstr "No UrBackup server linked."
+
+msgid "UrBackup server selection"
+msgstr "UrBackup server selection"
+
+msgid "Root location ID"
+msgstr "Root location ID"
+
+msgid "Asset location ID"
+msgstr "Asset location ID"
+
+msgid "The asset is in a sub-location. The plugin will use the server assigned to the root location."
+msgstr "The asset is in a sub-location. The plugin will use the server assigned to the root location."
+
+msgid "No UrBackup server available for the root location of this asset."
+msgstr "No UrBackup server available for the root location of this asset."
+
+msgid "Available servers for root location"
+msgstr "Available servers for root location"
+
+msgid "Connect"
+msgstr "Connect"
+
+msgid "Disconnect"
+msgstr "Disconnect"
+
+msgid "UrBackup status"
+msgstr "UrBackup status"
+
+msgid "Linked server"
+msgstr "Linked server"
+
+msgid "Client name"
+msgstr "Client name"
+
+msgid "Client IP address"
+msgstr "Client IP address"
+
+msgid "Client version"
+msgstr "Client version"
+
+msgid "Online"
+msgstr "Online"
+
+msgid "Offline"
+msgstr "Offline"
+
+msgid "State"
+msgstr "State"
+
+msgid "Actions"
+msgstr "Actions"
+
+msgid "Info / Log"
+msgstr "Info / Log"
+
+msgid "Create client in UrBackup"
+msgstr "Create client in UrBackup"
+
+msgid "Backup commands"
+msgstr "Backup commands"
+
+msgid "Incremental file backup"
+msgstr "Incremental file backup"
+
+msgid "Full file backup"
+msgstr "Full file backup"
+
+msgid "Incremental image backup"
+msgstr "Incremental image backup"
+
+msgid "Full image backup"
+msgstr "Full image backup"
+
+msgid "Internet mode"
+msgstr "Internet mode"
+
+msgid "Default directories"
+msgstr "Default directories"
+
+msgid "Recent backups"
+msgstr "Recent backups"
+
+msgid "Client logs"
+msgstr "Client logs"
+
+msgid "Delete client from UrBackup server"
+msgstr "Delete client from UrBackup server"
+
+msgid "The client deletion will be queued on the UrBackup server and may require up to 24 hours."
+msgstr "The client deletion will be queued on the UrBackup server and may require up to 24 hours."
+
+msgid "API connection status"
+msgstr "API connection status"
+
+msgid "API connection OK"
+msgstr "API connection OK"
+
+msgid "API connection failed"
+msgstr "API connection failed"
+
+msgid "Server unreachable"
+msgstr "Server unreachable"
+
+msgid "No IP address configured"
+msgstr "No IP address configured"
+
+msgid "Checking..."
+msgstr "Checking..."
+
+msgid "Click Save to test connection"
+msgstr "Click Save to test connection"
+
+msgid "Linked clients"
+msgstr "Linked clients"
+
+msgid "Unlinked clients"
+msgstr "Unlinked clients"
+
+msgid "No linked assets"
+msgstr "No linked assets"
+
+msgid "No unlinked clients found on UrBackup server"
+msgstr "No unlinked clients found on UrBackup server"
+
+msgid "API connection not working. Save server to test connection."
+msgstr "API connection not working. Save server to test connection."
+
+msgid "Status"
+msgstr "Status"
+
+msgid "Last backup"
+msgstr "Last backup"
+
+msgid "Show"
+msgstr "Show"
\ No newline at end of file
diff --git a/locales/it_IT.mo b/locales/it_IT.mo
new file mode 100644
index 0000000..505476e
Binary files /dev/null and b/locales/it_IT.mo differ
diff --git a/locales/it_IT.po b/locales/it_IT.po
new file mode 100644
index 0000000..70dff38
--- /dev/null
+++ b/locales/it_IT.po
@@ -0,0 +1,158 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: urbackup 0.4.0\n"
+"Language: it_IT\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+
+msgid "UrBackup"
+msgstr "UrBackup"
+
+msgid "UrBackup server"
+msgstr "Server UrBackup"
+
+msgid "UrBackup servers"
+msgstr "Server UrBackup"
+
+msgid "UrBackup configuration"
+msgstr "Configurazione UrBackup"
+
+msgid "UrBackup rights"
+msgstr "Diritti UrBackup"
+
+msgid "No UrBackup server linked."
+msgstr "Nessun server UrBackup collegato."
+
+msgid "UrBackup server selection"
+msgstr "Selezione server UrBackup"
+
+msgid "Root location ID"
+msgstr "ID location principale"
+
+msgid "Asset location ID"
+msgstr "ID location asset"
+
+msgid "The asset is in a sub-location. The plugin will use the server assigned to the root location."
+msgstr "L'asset è in una sotto-location. Il plugin userà il server della location principale."
+
+msgid "No UrBackup server available for the root location of this asset."
+msgstr "Nessun server UrBackup disponibile per la location principale di questo asset."
+
+msgid "Available servers for root location"
+msgstr "Server disponibili per la location principale"
+
+msgid "Connect"
+msgstr "Collega"
+
+msgid "Disconnect"
+msgstr "Disconnetti"
+
+msgid "UrBackup status"
+msgstr "Stato UrBackup"
+
+msgid "Linked server"
+msgstr "Server collegato"
+
+msgid "Client name"
+msgstr "Nome client"
+
+msgid "Client IP address"
+msgstr "Indirizzo IP client"
+
+msgid "Client version"
+msgstr "Versione client"
+
+msgid "Online"
+msgstr "Online"
+
+msgid "Offline"
+msgstr "Offline"
+
+msgid "State"
+msgstr "Stato"
+
+msgid "Actions"
+msgstr "Azioni"
+
+msgid "Info / Log"
+msgstr "Info / Log"
+
+msgid "Create client in UrBackup"
+msgstr "Crea client in UrBackup"
+
+msgid "Backup commands"
+msgstr "Comandi backup"
+
+msgid "Incremental file backup"
+msgstr "Backup file incrementale"
+
+msgid "Full file backup"
+msgstr "Backup file completo"
+
+msgid "Incremental image backup"
+msgstr "Backup immagine incrementale"
+
+msgid "Full image backup"
+msgstr "Backup immagine completo"
+
+msgid "Internet mode"
+msgstr "Modalità Internet"
+
+msgid "Default directories"
+msgstr "Directory predefinite"
+
+msgid "Recent backups"
+msgstr "Backup recenti"
+
+msgid "Client logs"
+msgstr "Log client"
+
+msgid "Delete client from UrBackup server"
+msgstr "Elimina client dal server UrBackup"
+
+msgid "The client deletion will be queued on the UrBackup server and may require up to 24 hours."
+msgstr "L'eliminazione del client verrà messa in coda sul server UrBackup e potrebbe richiedere fino a 24 ore."
+
+msgid "API connection status"
+msgstr "Stato connessione API"
+
+msgid "API connection OK"
+msgstr "Connessione API OK"
+
+msgid "API connection failed"
+msgstr "Connessione API fallita"
+
+msgid "Server unreachable"
+msgstr "Server irraggiungibile"
+
+msgid "No IP address configured"
+msgstr "Nessun indirizzo IP configurato"
+
+msgid "Checking..."
+msgstr "Verifica in corso..."
+
+msgid "Click Save to test connection"
+msgstr "Clicca \"Salva\" per testare la connessione"
+
+msgid "Linked clients"
+msgstr "Clienti collegati"
+
+msgid "Unlinked clients"
+msgstr "Clienti non collegati"
+
+msgid "No linked assets"
+msgstr "Nessun asset collegato"
+
+msgid "No unlinked clients found on UrBackup server"
+msgstr "Nessun cliente non collegato trovato sul server UrBackup"
+
+msgid "API connection not working. Save server to test connection."
+msgstr "Connessione API non funzionante. Salva il server per testare la connessione."
+
+msgid "Status"
+msgstr "Stato"
+
+msgid "Last backup"
+msgstr "Ultimo backup"
+
+msgid "Show"
+msgstr "Mostra"
\ No newline at end of file
diff --git a/phpstan.neon b/phpstan.neon
new file mode 100644
index 0000000..f1f8001
--- /dev/null
+++ b/phpstan.neon
@@ -0,0 +1,12 @@
+parameters:
+ level: max
+ paths:
+ - src/
+ bootstrapFiles:
+ - vendor/autoload.php
+ scanDirectories:
+ - vendor/glpi-project/glpi/inc
+ ignoreErrors:
+ - '#Call to an undefined method#'
+ - '#Access to an undefined property#'
+ - '#Cannot call method on mixed#'
diff --git a/public/css/urbackup.css b/public/css/urbackup.css
new file mode 100644
index 0000000..d700831
--- /dev/null
+++ b/public/css/urbackup.css
@@ -0,0 +1,12 @@
+.urbackup-tab {
+ padding: 10px;
+}
+
+.urbackup-tab h3 {
+ margin-bottom: 10px;
+}
+
+.urbackup-tab .warning {
+ color: #b00;
+ font-weight: bold;
+}
diff --git a/public/js/urbackup.js b/public/js/urbackup.js
new file mode 100644
index 0000000..0f57c04
--- /dev/null
+++ b/public/js/urbackup.js
@@ -0,0 +1,82 @@
+/**
+ * UrBackup API Test JavaScript
+ */
+(function () {
+ 'use strict';
+
+ function testApi(serverId, resultBox) {
+ if (!serverId || !resultBox) return;
+
+ var xhr = new XMLHttpRequest();
+ xhr.open('POST', '/plugins/urbackup/front/server_test.ajax.php', true);
+ xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
+ xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
+ xhr.timeout = 8000;
+
+ xhr.onload = function () {
+ if (xhr.status === 200) {
+ try {
+ var data = JSON.parse(xhr.responseText);
+ if (data.success) {
+ resultBox.innerHTML = ' API connection OK';
+ } else {
+ resultBox.innerHTML = ' API connection failed ' + (data.message || '') + '';
+ }
+ } catch (e) {
+ resultBox.innerHTML = ' Error';
+ }
+ } else {
+ resultBox.innerHTML = ' HTTP ' + xhr.status + '';
+ }
+ };
+
+ xhr.ontimeout = function () {
+ resultBox.innerHTML = ' API connection failed Connection timeout';
+ };
+
+ xhr.onerror = function () {
+ resultBox.innerHTML = ' API connection failed Network error';
+ };
+
+ xhr.send('id=' + encodeURIComponent(serverId));
+ }
+
+ function initApiStatusCheck() {
+ var statusBox = document.getElementById('plugin-urbackup-api-status');
+ if (!statusBox) return;
+ if (statusBox._initialized) return;
+ statusBox._initialized = true;
+
+ var serverId = statusBox.getAttribute('data-server-id');
+ if (serverId) {
+ testApi(serverId, statusBox);
+ }
+ }
+
+ function initApiTestButtons() {
+ var buttons = document.querySelectorAll('.plugin-urbackup-test-api');
+
+ buttons.forEach(function (button) {
+ if (button._initialized) return;
+ button._initialized = true;
+
+ button.addEventListener('click', function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+
+ var serverId = button.getAttribute('data-server-id');
+ var resultBox = document.getElementById('plugin-urbackup-api-test-result');
+
+ testApi(serverId, resultBox);
+ });
+ });
+ }
+
+ if (document.readyState === 'loading') {
+ document.addEventListener('DOMContentLoaded', initApiStatusCheck);
+ document.addEventListener('DOMContentLoaded', initApiTestButtons);
+ } else {
+ setTimeout(initApiStatusCheck, 100);
+ setTimeout(initApiTestButtons, 100);
+ }
+})();
\ No newline at end of file
diff --git a/remove_deprecated_files.sh b/remove_deprecated_files.sh
new file mode 100755
index 0000000..b145d5c
--- /dev/null
+++ b/remove_deprecated_files.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Remove deprecated front/ and ajax/ files for GLPI 11 compliance
+echo "Removing deprecated front/ and ajax/ files..."
+rm -f /var/www/glpi/plugins/urbackup/front/config.form.php
+rm -f /var/www/glpi/plugins/urbackup/front/server.php
+rm -f /var/www/glpi/plugins/urbackup/front/server.form.php
+rm -f /var/www/glpi/plugins/urbackup/front/asset.form.php
+rm -f /var/www/glpi/plugins/urbackup/ajax/server_test.php
+rm -f /var/www/glpi/plugins/urbackup/ajax/server_clients.php
+rm -f /var/www/glpi/plugins/urbackup/ajax/asset_action.php
+echo "Files removed. Note: The plugin now uses Symfony Controllers."
diff --git a/setup.php b/setup.php
new file mode 100644
index 0000000..1f97100
--- /dev/null
+++ b/setup.php
@@ -0,0 +1,178 @@
+ 'Profile',
+ ]);
+ Plugin::registerClass(Server::class, [
+ 'linkgroup_types' => true,
+ 'document_types' => true,
+ ]);
+ Plugin::registerClass(ServerAsset::class);
+ Plugin::registerClass(PluginUrbackupMassiveAction::class);
+
+ // Register tab on Computer and other assets
+ $enabled_types = Config::getEnabledItemtypes();
+ if (!empty($enabled_types)) {
+ Plugin::registerClass(AssetTab::class, [
+ 'addtabon' => $enabled_types,
+ ]);
+ }
+
+ $PLUGIN_HOOKS['config_page']['urbackup'] = 'front/config.form.php';
+
+ $PLUGIN_HOOKS[Hooks::MENU_TOADD]['urbackup'] = [
+ 'admin' => Server::class,
+ ];
+
+ $PLUGIN_HOOKS[Hooks::USE_MASSIVE_ACTION]['urbackup'] = true;
+
+ $PLUGIN_HOOKS[Hooks::ADD_CSS]['urbackup'] = [
+ 'public/css/urbackup.css',
+ ];
+
+ $PLUGIN_HOOKS[Hooks::ADD_JAVASCRIPT]['urbackup'] = [
+ 'public/js/urbackup.js',
+ ];
+
+ $PLUGIN_HOOKS[Hooks::POST_INIT]['urbackup'] = 'plugin_urbackup_postinit';
+}
+
+/**
+ * Post init hook.
+ *
+ * @return void
+ */
+function plugin_urbackup_postinit(): void
+{
+ Config::registerAssetTabs();
+}
+
+/**
+ * Plugin version information.
+ *
+ * @return array
+ */
+function plugin_version_urbackup(): array
+{
+ return [
+ 'name' => __('UrBackup', 'urbackup'),
+ 'version' => PLUGIN_URBACKUP_VERSION,
+ 'author' => 'Finstral',
+ 'license' => 'GPL-2.0-or-later',
+ 'homepage' => '',
+ 'requirements' => [
+ 'glpi' => [
+ 'min' => PLUGIN_URBACKUP_MIN_GLPI,
+ 'max' => PLUGIN_URBACKUP_MAX_GLPI,
+ ],
+ 'php' => [
+ 'min' => '8.3.0',
+ ],
+ ],
+ ];
+}
+
+/**
+ * Check plugin prerequisites.
+ *
+ * @return bool
+ */
+function plugin_urbackup_check_prerequisites(): bool
+{
+ if (version_compare(GLPI_VERSION, PLUGIN_URBACKUP_MIN_GLPI, '<')) {
+ echo sprintf(
+ __('This plugin requires GLPI >= %s.', 'urbackup'),
+ PLUGIN_URBACKUP_MIN_GLPI
+ );
+ return false;
+ }
+
+ if (version_compare(GLPI_VERSION, PLUGIN_URBACKUP_MAX_GLPI, '>')) {
+ echo sprintf(
+ __('This plugin requires GLPI < %s.', 'urbackup'),
+ PLUGIN_URBACKUP_MAX_GLPI
+ );
+ return false;
+ }
+
+ if (version_compare(PHP_VERSION, '8.3.0', '<')) {
+ echo __('This plugin requires PHP 8.3 or higher.', 'urbackup');
+ return false;
+ }
+
+ return true;
+}
+
+/**
+ * Check plugin config.
+ *
+ * @param bool $verbose Verbose output
+ *
+ * @return bool
+ */
+function plugin_urbackup_check_config(bool $verbose = false): bool
+{
+ return true;
+}
+
+/**
+ * Plugin installation function.
+ *
+ * @return bool
+ */
+function plugin_urbackup_install(): bool
+{
+ require_once __DIR__ . '/install/install.php';
+ return plugin_urbackup_install_process();
+}
+
+/**
+ * Plugin uninstallation function.
+ *
+ * @return bool
+ */
+function plugin_urbackup_uninstall(): bool
+{
+ require_once __DIR__ . '/install/uninstall.php';
+ return plugin_urbackup_uninstall_process();
+}
diff --git a/src/AssetTab.php b/src/AssetTab.php
new file mode 100644
index 0000000..b9e4a6d
--- /dev/null
+++ b/src/AssetTab.php
@@ -0,0 +1,913 @@
+";
+ echo htmlspecialchars(__('You do not have permission to view UrBackup information.', 'urbackup'));
+ echo "";
+
+ return true;
+ }
+
+ $itemtype = $item::class;
+ $items_id = (int) ($item->fields['id'] ?? 0);
+
+ $link = ServerAsset::getLinkForAsset($itemtype, $items_id, true);
+
+ echo "
";
+ echo htmlspecialchars(
+ __('The asset is in a sub-location. The plugin will use the server assigned to the root location.', 'urbackup')
+ );
+ echo "
";
+ echo "
";
+ }
+
+ if (count($servers) === 0) {
+ echo "
";
+ echo "
";
+ echo "
";
+ echo htmlspecialchars(__('No UrBackup server available for the root location of this asset.', 'urbackup'));
+ echo "
" . htmlspecialchars(__('Delete client from UrBackup server', 'urbackup')) . "
";
+ echo "
";
+ echo "
";
+ echo htmlspecialchars(
+ __('The client deletion will be queued on the UrBackup server and may require up to 24 hours.', 'urbackup')
+ );
+ echo "