aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2019-04-21 00:16:11 +0200
committerThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2019-04-21 00:16:11 +0200
commit55634de8ba356cfbdc665ec4b70bea4a3bf2b7b5 (patch)
tree620d411e2725d72acec5e1b24f5631fd676d633b
parenta36a315b88b8fc1d2afa0fadb94af5024689a51c (diff)
Moved things around, added links to homepage
-rw-r--r--docs/Makefile11
-rw-r--r--docs/environment/index.rst (renamed from docs/environment.rst)0
-rw-r--r--docs/environment/intranet/adherents-jeune.png (renamed from docs/intranet/adherents-jeune.png)bin80431 -> 80431 bytes
-rw-r--r--docs/environment/intranet/adherents-responsable.png (renamed from docs/intranet/adherents-responsable.png)bin79574 -> 79574 bytes
-rw-r--r--docs/environment/intranet/adherents.rst (renamed from docs/intranet/adherents.rst)0
-rw-r--r--docs/environment/intranet/attendees.rst (renamed from docs/intranet/attendees.rst)0
-rw-r--r--docs/environment/intranet/auth-decouverte.png (renamed from docs/intranet/auth-decouverte.png)bin56622 -> 56622 bytes
-rw-r--r--docs/environment/intranet/auth-mailids.png (renamed from docs/intranet/auth-mailids.png)bin41231 -> 41231 bytes
-rw-r--r--docs/environment/intranet/auth-mailids2.png (renamed from docs/intranet/auth-mailids2.png)bin56614 -> 56614 bytes
-rw-r--r--docs/environment/intranet/auth-mailids3.png (renamed from docs/intranet/auth-mailids3.png)bin57368 -> 57368 bytes
-rw-r--r--docs/environment/intranet/auth-petitions.png (renamed from docs/intranet/auth-petitions.png)bin16012 -> 16012 bytes
-rw-r--r--docs/environment/intranet/auth-valorise.png (renamed from docs/intranet/auth-valorise.png)bin21606 -> 21606 bytes
-rw-r--r--docs/environment/intranet/auth.rst (renamed from docs/intranet/auth.rst)0
-rw-r--r--docs/environment/intranet/codes.rst (renamed from docs/intranet/codes.rst)0
-rw-r--r--docs/environment/intranet/events.rst (renamed from docs/intranet/events.rst)0
-rw-r--r--docs/environment/intranet/functions.rst (renamed from docs/intranet/functions.rst)0
-rw-r--r--docs/environment/intranet/ids.rst (renamed from docs/intranet/ids.rst)0
-rw-r--r--docs/environment/intranet/index.rst (renamed from docs/intranet/index.rst)0
-rw-r--r--docs/environment/intranet/misc.rst (renamed from docs/intranet/misc.rst)0
-rw-r--r--docs/environment/intranet/operations.rst (renamed from docs/intranet/operations.rst)0
-rw-r--r--docs/environment/intranet/places.rst (renamed from docs/intranet/places.rst)0
-rw-r--r--docs/environment/intranet/rallies-list-new.png (renamed from docs/intranet/rallies-list-new.png)bin62752 -> 62752 bytes
-rw-r--r--docs/environment/intranet/rallies-register-pay.png (renamed from docs/intranet/rallies-register-pay.png)bin67974 -> 67974 bytes
-rw-r--r--docs/environment/intranet/rallies-register-validate.png (renamed from docs/intranet/rallies-register-validate.png)bin14472 -> 14472 bytes
-rw-r--r--docs/environment/intranet/rallies.rst (renamed from docs/intranet/rallies.rst)0
-rw-r--r--docs/environment/intranet/structures.rst (renamed from docs/intranet/structures.rst)0
-rw-r--r--docs/environment/support/index.rst79
-rw-r--r--docs/environment/valorise-toi/index.rst (renamed from docs/valorise-toi/index.rst)0
-rw-r--r--docs/index.rst4
-rw-r--r--setup.cfg2
30 files changed, 93 insertions, 3 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 298ea9e..27a7891 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -7,6 +7,8 @@ SPHINXBUILD = sphinx-build
SOURCEDIR = .
BUILDDIR = _build
+WEBROOT := sgdfi.touhey.pro:sgdfi_doc
+
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -16,4 +18,11 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+
+# Send the website content (Linux only)
+show: html
+ find _build/html -type f -exec chmod 644 {} \;
+ rsync -Prlt --delete _build/html/ "$(WEBROOT)"
+
+.PHONY: show
diff --git a/docs/environment.rst b/docs/environment/index.rst
index 2aa2a9e..2aa2a9e 100644
--- a/docs/environment.rst
+++ b/docs/environment/index.rst
diff --git a/docs/intranet/adherents-jeune.png b/docs/environment/intranet/adherents-jeune.png
index 48d0425..48d0425 100644
--- a/docs/intranet/adherents-jeune.png
+++ b/docs/environment/intranet/adherents-jeune.png
Binary files differ
diff --git a/docs/intranet/adherents-responsable.png b/docs/environment/intranet/adherents-responsable.png
index 151d5cd..151d5cd 100644
--- a/docs/intranet/adherents-responsable.png
+++ b/docs/environment/intranet/adherents-responsable.png
Binary files differ
diff --git a/docs/intranet/adherents.rst b/docs/environment/intranet/adherents.rst
index fe5e454..fe5e454 100644
--- a/docs/intranet/adherents.rst
+++ b/docs/environment/intranet/adherents.rst
diff --git a/docs/intranet/attendees.rst b/docs/environment/intranet/attendees.rst
index 4311f63..4311f63 100644
--- a/docs/intranet/attendees.rst
+++ b/docs/environment/intranet/attendees.rst
diff --git a/docs/intranet/auth-decouverte.png b/docs/environment/intranet/auth-decouverte.png
index 80f605c..80f605c 100644
--- a/docs/intranet/auth-decouverte.png
+++ b/docs/environment/intranet/auth-decouverte.png
Binary files differ
diff --git a/docs/intranet/auth-mailids.png b/docs/environment/intranet/auth-mailids.png
index 5da4114..5da4114 100644
--- a/docs/intranet/auth-mailids.png
+++ b/docs/environment/intranet/auth-mailids.png
Binary files differ
diff --git a/docs/intranet/auth-mailids2.png b/docs/environment/intranet/auth-mailids2.png
index 3535dfd..3535dfd 100644
--- a/docs/intranet/auth-mailids2.png
+++ b/docs/environment/intranet/auth-mailids2.png
Binary files differ
diff --git a/docs/intranet/auth-mailids3.png b/docs/environment/intranet/auth-mailids3.png
index 95bc035..95bc035 100644
--- a/docs/intranet/auth-mailids3.png
+++ b/docs/environment/intranet/auth-mailids3.png
Binary files differ
diff --git a/docs/intranet/auth-petitions.png b/docs/environment/intranet/auth-petitions.png
index bb537b4..bb537b4 100644
--- a/docs/intranet/auth-petitions.png
+++ b/docs/environment/intranet/auth-petitions.png
Binary files differ
diff --git a/docs/intranet/auth-valorise.png b/docs/environment/intranet/auth-valorise.png
index 2b7974c..2b7974c 100644
--- a/docs/intranet/auth-valorise.png
+++ b/docs/environment/intranet/auth-valorise.png
Binary files differ
diff --git a/docs/intranet/auth.rst b/docs/environment/intranet/auth.rst
index 20be2b2..20be2b2 100644
--- a/docs/intranet/auth.rst
+++ b/docs/environment/intranet/auth.rst
diff --git a/docs/intranet/codes.rst b/docs/environment/intranet/codes.rst
index 5d296af..5d296af 100644
--- a/docs/intranet/codes.rst
+++ b/docs/environment/intranet/codes.rst
diff --git a/docs/intranet/events.rst b/docs/environment/intranet/events.rst
index 0d068e4..0d068e4 100644
--- a/docs/intranet/events.rst
+++ b/docs/environment/intranet/events.rst
diff --git a/docs/intranet/functions.rst b/docs/environment/intranet/functions.rst
index e54e54e..e54e54e 100644
--- a/docs/intranet/functions.rst
+++ b/docs/environment/intranet/functions.rst
diff --git a/docs/intranet/ids.rst b/docs/environment/intranet/ids.rst
index 04cbe5f..04cbe5f 100644
--- a/docs/intranet/ids.rst
+++ b/docs/environment/intranet/ids.rst
diff --git a/docs/intranet/index.rst b/docs/environment/intranet/index.rst
index b94d7a7..b94d7a7 100644
--- a/docs/intranet/index.rst
+++ b/docs/environment/intranet/index.rst
diff --git a/docs/intranet/misc.rst b/docs/environment/intranet/misc.rst
index 2f1234c..2f1234c 100644
--- a/docs/intranet/misc.rst
+++ b/docs/environment/intranet/misc.rst
diff --git a/docs/intranet/operations.rst b/docs/environment/intranet/operations.rst
index a1626fd..a1626fd 100644
--- a/docs/intranet/operations.rst
+++ b/docs/environment/intranet/operations.rst
diff --git a/docs/intranet/places.rst b/docs/environment/intranet/places.rst
index 45e051e..45e051e 100644
--- a/docs/intranet/places.rst
+++ b/docs/environment/intranet/places.rst
diff --git a/docs/intranet/rallies-list-new.png b/docs/environment/intranet/rallies-list-new.png
index fa023e7..fa023e7 100644
--- a/docs/intranet/rallies-list-new.png
+++ b/docs/environment/intranet/rallies-list-new.png
Binary files differ
diff --git a/docs/intranet/rallies-register-pay.png b/docs/environment/intranet/rallies-register-pay.png
index 1d9eb7a..1d9eb7a 100644
--- a/docs/intranet/rallies-register-pay.png
+++ b/docs/environment/intranet/rallies-register-pay.png
Binary files differ
diff --git a/docs/intranet/rallies-register-validate.png b/docs/environment/intranet/rallies-register-validate.png
index bcd57d2..bcd57d2 100644
--- a/docs/intranet/rallies-register-validate.png
+++ b/docs/environment/intranet/rallies-register-validate.png
Binary files differ
diff --git a/docs/intranet/rallies.rst b/docs/environment/intranet/rallies.rst
index 3e1ef37..3e1ef37 100644
--- a/docs/intranet/rallies.rst
+++ b/docs/environment/intranet/rallies.rst
diff --git a/docs/intranet/structures.rst b/docs/environment/intranet/structures.rst
index 5a008f8..5a008f8 100644
--- a/docs/intranet/structures.rst
+++ b/docs/environment/intranet/structures.rst
diff --git a/docs/environment/support/index.rst b/docs/environment/support/index.rst
new file mode 100644
index 0000000..4c9b266
--- /dev/null
+++ b/docs/environment/support/index.rst
@@ -0,0 +1,79 @@
+.. _support:
+
+SGDF's support website
+======================
+
+A tiny platform is made available for people who have to give issues to the
+technical support from the organization. It is available through
+`<https://support.sgdf.fr>`_.
+
+The following routes are available:
+
+``/``
+ The main page and form. Makes a POST call to ``/issues/`` with the
+ following fields:
+
+ ``creator-name``
+ The issue creator's first name.
+
+ ``creator-surname``
+ The issue creator's last name.
+
+ ``creator-email``
+ The issue creator's email address.
+
+ ``creator-phone``
+ The issue creator's phone number, with the following regex
+ pattern: ``^[\d\s\-\+]{7,20}$``
+
+ ``topic``
+ The issue topic, amongst:
+
+ ``118085``
+ « sur la phototèque Scouts et Guides de France »
+
+ ``127501``
+ « sur le site de dons »
+
+ ``127520``
+ « avec ma carte adhérent ou un reçu fiscal »
+
+ ``131297``
+ « sur les sites de groupes et territoires »
+
+ ``131401``
+ « sur l'un des sites Scouts et Guides de France »
+
+ ``308315``
+ « avec le matériel informatique mis à ma disposition »
+
+ ``8110289``
+ « concernant les moyens généraux »
+
+ ``8907727``
+ « intranet »
+
+ ``else``
+ Autre chose.
+
+ ``finish-date``
+ The optional finish date as ``DD-MM-YYYY``, with the following pattern:
+
+ ::
+
+ ^(?:0[1-9]|[12][0-9])|(?:(?:0[13-9]|1[0-2])[\/\\-. ]?30)|
+ (?:(?:0[13578]|1[02])[\/\\-. ]?31))[\/\\-. ]?
+ (?:(?:0[1-9]|1[0-2])[\/\\-. ]?(?:19|20)[0-9]{2}$
+
+ ``title``
+ The issue title.
+
+ ``description``
+ The description, markdown encoded.
+
+ ``g-recaptcha-response``
+ Some Google ReCaptcha data (with the
+ ``6Lf09AkTAAAAAPQFSYcEO4Ri9dOcmTquJincQmzl`` site key).
+
+``/login/``
+ The login page. **TODO**
diff --git a/docs/valorise-toi/index.rst b/docs/environment/valorise-toi/index.rst
index 32c691a..32c691a 100644
--- a/docs/valorise-toi/index.rst
+++ b/docs/environment/valorise-toi/index.rst
diff --git a/docs/index.rst b/docs/index.rst
index 10bd90b..9110d4d 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -9,11 +9,13 @@ digital environment including an intranet and several other websites.
The SGDFi project, where the “i” stands for “intranet”, is a project to
provide machine access to the websites in this digital environment.
+The homepage is available at `sgdfi.touhey.pro <https://sgdfi.touhey.pro/>`_.
+
.. toctree::
:maxdepth: 2
usage/index
- environment
+ environment/index
status
.. _SGDF: https://www.sgdf.fr/
diff --git a/setup.cfg b/setup.cfg
index 06ea999..b095fc6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,7 +1,7 @@
[metadata]
name = sgdfi
version = attr: sgdfi.version
-url = https://forge.touhey.fr/sgdf/sgdfi.git
+url = https://sgdfi.touhey.pro/
author = Thomas Touhey
author_email = thomas@touhey.fr
description = interactions with SGDF's intranet