Skip to content

Commit

Permalink
wip: add SD report
Browse files Browse the repository at this point in the history
  • Loading branch information
manuandru committed Dec 10, 2023
1 parent 8ae304f commit 33c1158
Show file tree
Hide file tree
Showing 72 changed files with 2,071 additions and 1,088 deletions.
Binary file removed resources/report/img/GraficiUtenti.jpg
Binary file not shown.
Binary file removed resources/report/img/accessibility.png
Binary file not shown.
Binary file removed resources/report/img/mk1.jpg
Binary file not shown.
Binary file removed resources/report/img/mk2.jpg
Binary file not shown.
Binary file removed resources/report/img/mk3.jpg
Binary file not shown.
Binary file removed resources/report/img/mk4.jpg
Binary file not shown.
Binary file removed resources/report/img/piperchat-WebRTC.drawio.png
Binary file not shown.
126 changes: 59 additions & 67 deletions resources/report/main.tex
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
\documentclass[11pt]{report}
\documentclass[12pt]{scrartcl}
\usepackage[margin=3cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{hyperref}
\usepackage{url}
\usepackage{xurl}
\usepackage{natbib}
\usepackage{graphicx}
\usepackage{parskip}
\usepackage{float}
\usepackage{multirow}
\usepackage[inline]{enumitem}% http://ctan.org/pkg/enumitem

\linespread{1.3} % ~35 linee per pagina
\setlength{\parindent}{0em}
\setlength{\parskip}{0.8em}

\newcommand{\emailaddr}[1]{\large\href{mailto:#1}{\texttt{#1}}}

Expand All @@ -22,6 +28,14 @@
morestring=[b]",
sensitive=true
}
\lstdefinelanguage{Yaml}{
morekeywords={services, image, command, expose, depends_on, networks, environment, labels, volumes, healthcheck, ports, restart, condition},
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
morestring=[b]',
morestring=[b]",
sensitive=true
}

% Define code listing style
\lstdefinestyle{typescript}{
Expand All @@ -40,92 +54,70 @@
breakatwhitespace=true,
tabsize=2
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%% YAML syntax highlighting %%%%%%%%%%%%%%%%%

% http://tex.stackexchange.com/questions/152829/how-can-i-highlight-yaml-code-in-a-pretty-way-with-listings

% here is a macro expanding to the name of the language
% (handy if you decide to change it further down the road)
\newcommand\YAMLcolonstyle{\color{red}\mdseries}
\newcommand\YAMLkeystyle{\color{black}\bfseries}
\newcommand\YAMLvaluestyle{\color{blue}\mdseries}

\makeatletter

\newcommand\language@yaml{yaml}

\expandafter\expandafter\expandafter\lstdefinelanguage
\expandafter{\language@yaml}
{
keywords={true,false,null,y,n},
keywordstyle=\color{darkgray}\bfseries,
basicstyle=\YAMLkeystyle, % assuming a key comes first
sensitive=false,
comment=[l]{\#},
morecomment=[s]{/*}{*/},
commentstyle=\color{purple}\ttfamily,
stringstyle=\YAMLvaluestyle\ttfamily,
moredelim=[l][\color{orange}]{\&},
moredelim=[l][\color{magenta}]{*},
moredelim=**[il][\YAMLcolonstyle{:}\YAMLvaluestyle]{:}, % switch to value style at :
morestring=[b]',
morestring=[b]",
literate = {---}{{\ProcessThreeDashes}}3
{>}{{\textcolor{red}\textgreater}}1
{|}{{\textcolor{red}\textbar}}1
{\ -\ }{{\mdseries\ -\ }}3,
\lstdefinestyle{yaml}{
language=Yaml,
basicstyle=\ttfamily\small,
keywordstyle=\color{blue},
commentstyle=\color{gray},
stringstyle=\color{purple},
numbers=left,
numberstyle=\tiny,
stepnumber=1,
numbersep=5pt,
backgroundcolor=\color{white},
frame=single,
breaklines=true,
breakatwhitespace=true,
tabsize=2,
}

% switch to key style at EOL
\lst@AddToHook{EveryLine}{\ifx\lst@language\language@yaml\YAMLkeystyle\fi}
\makeatother

\newcommand\ProcessThreeDashes{\llap{\color{cyan}\mdseries-{-}-}}

%%%%%%%%%%% YAML syntax highlighting %%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{
Piperchat \\
\large Applicazioni e Servizi Web
\title{\Huge
Piperchat
}

\author{ \Large
% Consider watching:
% https://www.youtube.com/watch?v=ihxSUsJB_14
% https://www.youtube.com/watch?v=XTFWaV55uDo

\author{\Large
Alessandro Mazzoli \\ \emailaddr{alessandro.mazzoli9@studio.unibo.it}
\and \Large
Luigi Borriello \\ \emailaddr{luigi.borriello2@studio.unibo.it}
\and \Large
Manuel Andruccioli \\ \emailaddr{manuel.andruccioli@studio.unibo.it}
\and \Large
Tommaso Patriti \\ \emailaddr{tommaso.patriti@studio.unibo.it}
}
\date{\today}


\date{\today}

\begin{document}

\maketitle

\tableofcontents

\include{./sections/01-intro/intro}

\include{./sections/02-requirements/requirements}

\include{./sections/03-design/design}
\input{sections/00-abstract/abstract}

\include{./sections/04-technologies/technologies}

\include{./sections/05-code/code}
\tableofcontents

\include{./sections/06-test/test}
\include{sections/01-goal/goal}
% \include{sections/workplan/workplan}
\include{sections/02-requirements/requirements}
\include{sections/03-design/design}
\include{sections/04-implementation/implementation}
\include{sections/05-validation/validation}
\include{sections/06-deployment/deployment}
\include{sections/07-usage-example/usage-example}
\include{sections/08-conclusions/conclusions}
% \include{sections/08-stylistic-notes/stylistic-notes}

\include{./sections/07-deployment/deployment}
\appendix

\include{./sections/08-conclusions/conclusions}
\include{sections/09-appendix-benchmarking/benchmarking}
\include{sections/10-appendix-deploy/deploy}
\include{sections/11-appendix-dev-container/dev-container}


% \nocite{*} % Includes all references from the `references.bib` file
% \bibliographystyle{plain}
% \bibliography{references}
\end{document}
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
\chapter{Introduzione}
\begin{abstract}

Il progetto consiste nella realizzazione di una piattaforma che permette la comunicazione fra gli utenti, ispirata a \href{https://discord.com}{Discord}.
\noindent
Il progetto consiste nella realizzazione di una piattaforma che permette la comunicazione fra gli utenti, ispirata a \href{https://discord.com}{Discord}\footnote{https://discord.com}.

\noindent
Piperchat, mira a creare un ambiente di comunicazione ispirato a Discord, dove gli utenti possono interagire in varie forme.
%
Offrirà la possibilità di registrazione e accesso tramite un sistema di login, consentendo agli utenti di stabilire e gestire connessioni sociali attraverso richieste di amicizia.
Expand All @@ -13,3 +15,4 @@ \chapter{Introduzione}
Sarà possibile inviare messaggi, partecipare a chiamate vocali e video e gestire webcam e microfono all'interno dei canali.
%
Inoltre, i creatori dei server potranno moderarli, rimuovendo membri indesiderati.
\end{abstract}
Loading

0 comments on commit 33c1158

Please sign in to comment.