facebook: remove the featute from the code base

Remove from:
- unit tests
- desktop widgets
- preferences
- core intergration
- cmakefiles
- build scripts
- icons
- docs

Also remove the plugins and social network integration.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2019-02-01 04:11:25 +02:00 committed by Dirk Hohndel
parent 0c07b02974
commit a1ffe115cf
41 changed files with 2 additions and 1671 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

View file

@ -2719,44 +2719,6 @@ There are two ways to export dive information from Subsurface:
- xref:S_Export_other[Export dive information to other destinations or formats]
[[S_Facebook]]
=== Exporting dive information to _Facebook_
Export of dives to _Facebook_ is handled differently from other types of export because
a connection to _Facebook_ is required, needing a _Facebook_ userID and password.
From the *Main Menu*, select _Share on -> Connect to -> Facebook_ (image *A* below)
A _Facebook_ login screen appears (image *B* below). Provide a _Facebook_ userID and password.
From the _Subsurface_ window its easy to determine whether _Subsurface_ has a valid connection to _Facebook_:
from the *Main Menu*, select _Share on_ (image *A*, below). Normally, the _Facebook_ option is greyed out. But
if there is a connection to _Facebook_, this option is active (i.e. in black color and can be selected).
Once logged into to _Facebook_ , a panel is shown with a message:
"_To disconnect Subsurface from your Facebook account, use the 'Share on' menu entry_."
Close this message panel.
image::images/facebook1.jpg["Figure: Facebook login",align="center"]
Having established a login to _Facebook_, transferring a dive profile to a _Facebook_ timeline is easy.
In the _Subsurface_ *Dive List* panel, highlight the dive to be transferred.
Then, from the *Main Menu*, select _Share on -> Facebook_. A dialogue box
is shown, determining the amount of additional information to be transferred
with the dive profile (image *A*, below). To transfer a dive profile to _Facebook_, the name of a
_Facebook_ album is needed. The checkboxes on the left hand side determine how much
additional information is added to the dive profile, shown in the text box
on the right hand side of the panel (image *A*, below). Customise the message that will be posted
with the dive profile by editing any of the information. After specifying additional information
and verifying the text, select the _OK_ button that triggers the transfer to _Facebook_. After the transfer
is done, an acknowledgement dialogue appears, indicating it was successful.
Both the album created and the post to your timeline are marked as
private. In order for friends to be able to see the post,
log into _Facebook_ using a browser or Facebook app and change its permissions.
image::images/facebook2.jpg["Figure: Facebook data submission",align="center"]
If required, then close the _Facebook_ connection by selecting, from the *Main Menu*,
_Share on -> Disconnect from -> Facebook_ (image *B* above).
[[S_Export_other]]
=== Export dive information to other destinations or formats
For non-_Facebook exports_, the export function can be found by selecting _File -> Export_, which brings up

View file

@ -2934,55 +2934,6 @@ Hay dos posibilidades de exportar información de buceo desde _Subsurface_:
- xref:S_Export_other[Exportar información de buceo a otros destinos o formatos]
[[S_Facebook]]
=== Exportar información de buceo a _Facebook_
La exportación de inmersiones a _Facebook_ se maneja de forma diferente a otros
tipos de exportación porque se requiere una
conexión a esta red social y se necesita un usuario de _Facebook_ y su password.
Si, desde el menú principal, seleccionamos _Compartir -> Conectar a ->
Facebook_ (imagen *A* siguiente), se nos presentará una pantalla de acceso
(imagen *B* a continuación). Introducimos nuestro usuario y password de
_Facebook_.
Desde la ventana de _Subsurface_ es fácil saber si se tiene una conexión válida
con _Facebook_. Desde el *Menú principal*, selecciona _Compartir_
(ver imagen *A* a continuación). Normalmente la opción _Facebook_ está
desactivada, pero, si hay una conexión establecida, la opción está activa y
puede ser seleccionada.
Tras haber establecido una conexión con _Facebook_, se mostrará un panel con
un mensaje: "_Para desconectar Subsurface de tu cuenta de Facebook, utiliza la
entrada del menú 'Compartir'_."
Cierra este panel.
image::images/facebook1.jpg["Figure: Facebook login",align="center"]
Habiendo establecido una conexión a _Facebook_, transferir un perfil al
historial es fácil.
Selecciona en la *Lista de Inmersiones* de _Subsurface_ el buceo que quieras
transferir; entonces, desde el *Menú* selecciona _Compartir -> Facebook_,
aparecerá un diálogo en el que se definirá la cantidad de información
adicional que se desea compartir en el historial junto con el perfil (ver imagen
*A*, a continuación). Se necesita proporcionar el nombre de un álbum de _Facebook_
para poder enviar el perfil de inmersión. Las casillas seleccionables de la
izquierda nos permiten seleccionar la información que vamos a enviar. Esta
información se muestra en la ventana de texto de la derecha (ver imagen *A*
a continuación). El mensaje que se va a enviar se puede editar directamente en
esta ventana de texto. Tras haber elegido la información y verificado lo que se va
a subir, se selecciona el botón _OK_ lo que inicia la transferencia a _Facebook_.
Unos momentos después aparecerá un mensaje indicando una transferencia correcta.
El álbum creado y el post al historial se marcarán como privados. Para que
los amigos puedan ver el post habrá que cambiar los permisos desde un acceso
normal a _Facebook_ desde un navegador o desde la app de _Facebook_. Aunque
esto suponga un paso de más, los desarrolladores entienden que esta es la mejor
solución para evitar subidas no deseadas en el historial público.
image::images/facebook2.jpg["Figure: Facebook data submission",align="center"]
Si se considera necesario, cierra la conexión a _Facebook_, seleccionando
desde el *Menú principal*, _Compartir -> Desconectar de -> Facebook_ (imagen
*B* anterior).
[[S_Export_other]]
=== Exportar información de buceo a otros destinos o formatos
Para exportar a otros destinos,

View file

@ -2987,53 +2987,6 @@ Il y a deux façons d'exporter des informations de plongée depuis Subsurface:
- xref:S_Export_other[Exporter des informations de plongée vers d'autres
destinations ou formats]
[[S_Facebook]]
=== Export des informations de plongée vers _Facebook_
L'export des plongées vers _Facebook_ est géré différemment des autres types
d'export car une connexion vers _Facebook_ est nécessaire, nécessitant un
identifiant et un mot de passe. À partir du menu principal, sélectionnez
_Partager sur -> Connecter à -> Facebook_ (image *A* ci-dessous). Un écran
de connexion s'affiche (image *B* ci dessous). Entrez l'identifiant et le
mot de passe _Facebook_. Depuis la fenêtre _Subsurface_, il est facile de
vérifier si _Subsurface_ a une connection valide vers _Facebook_ : Depuis le
"Menu principal", sélectionnez _Partager sur_ (image *A*
ci-dessous). Normalement, l'option _Facebook_ est grisée. Mais si une
connection vers _Facebook_ existe, cette option est active (c'est à dire
écrit en noir et sélectionnable).
Once logged into to _Facebook_ , a panel is shown with a message: "_To
disconnect Subsurface from your Facebook account, use the 'Share on' menu
entry_." Close this message panel.
image::images/facebook1.jpg["Figure: Facebook login", align="center"]
Une fois qu'une connexion à _Facebook_ est établie, transférer un profil de
plongée vers _Facebook_ est facile. Dans le panneau *Liste des plongées* de
_Subsurface_, sélectionnez la plongée à transférer. Ensuite, à partir du
*menu principal*, sélectionnez _Partager sur -> Facebook_. Une fenêtre
s'affiche, pour déterminer quelles informations seront transférées avec le
profil de plongée (image *A* ci-dessous). Pour transférer un profil de
plongée vers _Facebook_, le nom d'un album _Facebook_ doit être fourni. Les
cases à cocher sur la partie gauche permettent de sélectionner des
informations supplémentaires à transférer avec le profil de plongée. Ces
informations sont affichées dans le champs de texte sur la partie droite du
panneau. (image *A* ci dessous). Personnalisez le message qui sera envoyé
avec le profil de plongée en modifiant les informations. Une fois les
informations supplémentaires ajoutées et vérifiées, sélectionner le bouton
_OK_ qui effectue le transfert vers _Facebook_. Après le transfert, une
fenêtre de confirmation apparait ,indiquant le succès du transfert.
À la fois l'album créé et la publication sur votre ligne temporelle seront
marquées comme privés. Pour que vos amis puissent la voir, connectez-vous à
_Facebook_ depuis un navigateur ou l'application Facebook et modifiez les
permissions.
image::images/facebook2.jpg["Figure: Facebook data submission", align="center"]
If required, then close the _Facebook_ connection by selecting, from the
*Main Menu*, _Share on -> Disconnect from -> Facebook_ (image *B* above).
[[S_Export_other]]
=== Exporter des informations de plongée vers d'autres destinations ou formats
For non-_Facebook exports_, the export function can be found by selecting

View file

@ -2545,49 +2545,6 @@ Er zijn twee manieren om duik informatie uit _Subsurface_ te exporteren:
- xref:S_Export_other[Exporteer duikinformatie naar andere bestemmingen of formaten]
[[S_Facebook]]
=== Exporteer duikinformatie naar _Facebook_
Exporteren naar _Facebook_ werkt op een andere manier dan andere vormen van
export, met name omdat er een verbinding met _Facebook_ aanwezig moet zijn die
is ingelogd. Selecteer vanuit het hoofdmenu _Deel via -> Facebook_ (zie figuur
*A* hieronder). Een inlogscherm voor _Facebook_ verschijnt (zie figuur
*B* hieronder), en log in bij _Facebook_.
Het is eenvoudig te zien in het hoofdmenu of er een verbinding met _Facebook_
actief is. In het _Deel via_ menu is de _Facebook knop_ grijs en niet-selecteerbaar
als er geen verbinding is (figuur *A* hieronder).
Eenmaal ingelogd op _Facebook_ wordt er een paneel getoond met het bericht:
"Gebruik het 'Deel via' menu om de verbinding van Subsurface met uw Facebook
account te sluiten.". Sluit dit paneel.
image::images/facebook1.jpg["Figuur: Facebook login",align="center"]
Met de verbinding met _Facebook_ geactiveerd is het overdragen van een duik naar
_Facebook_ eenvoudig. Selecteer eerst de duik in de *Duiklijst*. Selecteer dan
uit het hoofdmenu _Deel via -> Facebook_. Er verschijnt een dialoog, waarin
aangegeven kan worden welke informatie naast het duikprofiel, moet worden
overgedragen naar _Facebook_ (zie figuur *A* hieronder).
Om een duikprofiel naar _Facebook_ te exporteren is de naam van een (foto) album
nodig. De keuzevakjes aan de linker zijde bepalen welke data uit het logboek
eveneens wordt geëxporteerd. Deze verschijnen in het tekst veld aan de rechter zijde,
welke verder handmatig kan worden aangepast. Nadat alles naar wens is ingevuld,
kan via de _OK_ knop de feitelijke export worden gedaan. Als de export gereed is
volgt een bevestiging.
Zowel het album als de geëxporteerde profiel (met annotaties) is in _Facebook_ als
privé aangemerkt, en de rechten van de geëxporteerde data moeten dus handmatig
in _Facebook_ worden gezet zoals gewenst.
image::images/facebook2.jpg["Figuur: Facebook data submission",align="center"]
De verbinding met _Facebook_ kan nu worden afgesloten als dat gewenst is. Gebruik
hiervoor uit het hoofdmenu _Deel via -> Verbinding verbreken met -> Facebook_ (
figuur *B* hierboven).
[[S_Export_other]]
=== Exporteer duikinformatie naar andere bestemmingen of formaten
Andere dan _Facebook_ exports kunnen gevonden worden door in het hoofdmenu

View file

@ -2824,44 +2824,6 @@ image::images/Filterpanel.jpg["Рисунок: Панель фильтров",al
- xref:S_Export_other[Экспорт данных погружения в другие форматы]
[[S_Facebook]]
=== Экспорт информации о погружении в _Facebook_
Экспорт в _Facebook_ отличается от всех других видов экспорта, поскольку он требует подключения
учетной записи, что в свою очередь требует от вас логин и пароль _Facebook_. Для авторизации
необходимо в главном меню выбрать _Файл -> Настройки_ и там выбрать вкладку _Facebook_, на которой
вам будет представлена форма авторизации (см. рисунок *А* слева внизу). Авторизуйтесь своими логином
и паролем, после чего экран должен выглядеть как показано на рисунке *В*. При необходимости вы
можете отключить _Subsurface_ от _Facebook_, нажав на соответствующую кнопку.
image::images/facebook1.jpg["Рисунок: Авторизация Facebook",align="center"]
После того как соединение с _Facebook_ установлено, публикация профиля погружения в вашей Хронике не
составит проблем. Выберите погружение в списке и убедитесь в том, что именно этот дайв должен быть
опубликован. Нажмите кнопку с логотипом _Facebook_, расположенную в *Информационной панели* справа
от поля _Примечания_ (см. рисунок *А* ниже). По нажатию на эту кнопку вам будет представлено окно, в
котором вы можете выбрать какую дополнительную информацию опубликовать вместе с профилем погружения
(рисунок *В*). Обязательным является только поле _Альбом_. Кроме указания стандартных параметров
погружения, вы можете вручную отредактировать сопроводительный текст. Для отправки профиля
погружения в вашу Хронику _Facebook_ нажмите кнопку _ОК_. Спустя короткое время вы должны получить
подтверждение, что запись опубликована.
Созданный альбом и запись в хронике по умолчанию будут доступны только вам. Для того, чтобы ваши
друзья смогли увидеть эти записи, вам необходимо изменить настройки безопасности приложений,
войдя в _Facebook_ с помощью обычного броузера или приложения _Facebook_. Возможно это и является
некоторым неудобством, но разработчики придерживаются мнения, что такой дополнительный шаг позволит избежать нежелательных записей в вашей Хронике.
image::images/facebook2.jpg["Рисунок: Авторизация в Facebook",align="center"]
Разорвать соединение с _Facebook_ можно из *Настроек* приложения, либо просто закрыв _Subsurface_.
[[S_Export_other]]
=== Экспорт данных погружения в другие форматы
Функция экспорта доступна через главное меню _Файл -> Экспорт_. Диалог