mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-12 23:35:50 +00:00
Some docu files not yet in the repo
This commit is contained in:
parent
5034464ffd
commit
a2b3a1b44d
48
docu/Neue_User_einladenl.txt
Normal file
48
docu/Neue_User_einladenl.txt
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
Feature:
|
||||||
|
Neue User einladen, und im Partnerprogramm zuordnen
|
||||||
|
|
||||||
|
Als Gradido-User und Publisher möchte ich weitere Leute zu Gradido einladen.
|
||||||
|
|
||||||
|
Fall 1 über Internet mit Link
|
||||||
|
|
||||||
|
Um einen Partner-Link (Publisher-Link) zu erzeugen hänge ich bei Gradido.net oder beim Registrierungslink die Zeichenfolge ?pid=12345 an. Statt "12345" nehme ich meine Publisher-Id.
|
||||||
|
|
||||||
|
Beispiele für selbst erzeugte Partnerlinks:
|
||||||
|
|
||||||
|
Gradido-Webseite
|
||||||
|
gradido.net/?pid=12345
|
||||||
|
gradido.net/de/podcast/?pid=12345
|
||||||
|
|
||||||
|
Community-Server, Registrierungsseite, z.B.:
|
||||||
|
gradido-community.com/register/?pid=12345
|
||||||
|
|
||||||
|
Wenn sich eine eingeladene Person registriert, wird die Publisher-Id des einladenden Users im neuem Konto als "Parent-Publisher-Id" gespeichert.
|
||||||
|
|
||||||
|
|
||||||
|
Fall 2 von meinem Gradido-Link
|
||||||
|
|
||||||
|
Ich gebe meinen Gradido-Link bekannt, z.B. gradido-community.com/meinUsername
|
||||||
|
z.B. in einer Kleinanzeige, wo ich etwas mit GradidoRabatt anbiete.
|
||||||
|
|
||||||
|
Ein Gradido-User kann diesen Link benutzen, um Gradido an mich zu überweisen
|
||||||
|
Eine noch nicht registrierte Person kommt auf eine Registrierungsseite. Wenn sie sich registriert, wird die Publisher-Id aus der Datenbank ermittelt und in deren neuem Konto als "Parent-Publisher-Id" gespeichert.
|
||||||
|
|
||||||
|
Fall 2 über QR-Code
|
||||||
|
|
||||||
|
Im Wallet kann ich einen QR-Code anzeigen oder drucken lassen.
|
||||||
|
Wenn die eingeladene Person den QR-Code mit der Kamera einscannt, gelangt sie auf eine Seite, von der sie das Wallet runterladen sich registrieren kann. Dabei wird die Pid im neuen Konto und als "Parent-Publisher-Id" gespeichert.
|
||||||
|
|
||||||
|
Incentive zum registrieren des Mitgliederbereichs bei Elopage
|
||||||
|
|
||||||
|
Nach der Registrierung wird dem neuen User ein Start-Kapital von 100 GDD (?) angeboten, wenn er sich seinen Mitgliederbereich bei Elopage registriert, d.h. dort ein entsprechendes Produkt (z.B. Gradido-Basis, kostenfrei) erwirbt. Dazu wir ein Link bzw. Button zur "Bezahlseite" (die heißt so, auch wenn es kostenfrei ist) generiert, der Vorname, Nachname, E-Mail und pid enthält. Der User muss nur noch den Button "Kostenfrei erwerben" o.ä. klicken.
|
||||||
|
|
||||||
|
|
||||||
|
Bei Produkt-Erwerb wird bei Elopage neben dem "Käufer-Konto" automatisch ein zusätzliches "Publisher-Konto" angelegt. Beides ist über ein und denselben Login zugänglich.
|
||||||
|
|
||||||
|
Elopage meldet den Produkt-Erwerb über WebHook (?) an Gradido. Die eindeutige Zuordnung erfolgt über die E-Mail-Adresse. Dabei wird leider nur die Parent-Publisher-Id übermittelt.
|
||||||
|
|
||||||
|
|
||||||
|
Background:
|
||||||
|
Die Publisher-Id (pid) ist eine 3-9 stellige Ganzzahl. Ich finde sie entweder im Mitgliederbereich bei Elopage (Publisher-Konto) oder im Profil des Gradido-Wallet.
|
||||||
|
|
||||||
|
Über das Elopage-API kann eine Liste aller Publisher abgerufen werden. Dies könnte in regelmäßigen Abständen per CronJob erfolgen. An Hand der E-Mail-Adresse kann die Publisher-Id dem neuen User zugeordnet werden.
|
||||||
81
docu/graphics/gdt_transactions.drawio
Normal file
81
docu/graphics/gdt_transactions.drawio
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
<mxfile>
|
||||||
|
<diagram id="GaAqcNbutVVauoa06GDW" name="Page-1">
|
||||||
|
<mxGraphModel dx="1146" dy="698" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" background="#333333" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="0"/>
|
||||||
|
<mxCell id="1" parent="0"/>
|
||||||
|
<mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="12">
|
||||||
|
<mxGeometry relative="1" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="19">
|
||||||
|
<mxGeometry relative="1" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="2" value="<font style="font-size: 9px">Donate 200€<br>Wertstellung auf Konto: 26.07.2021<br>Wertstellung mit Kullanz: 31.06.2021<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
|
||||||
|
<mxGeometry x="80" y="400" width="160" height="80" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="3" value="" style="endArrow=classic;html=1;" parent="1" edge="1">
|
||||||
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||||
|
<mxPoint x="40" y="480" as="sourcePoint"/>
|
||||||
|
<mxPoint x="40" y="40" as="targetPoint"/>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="4" value="Z<br>E<br>I<br>T" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="3" vertex="1" connectable="0">
|
||||||
|
<mxGeometry x="0.2416" y="-2" relative="1" as="geometry">
|
||||||
|
<mxPoint x="-12" y="13" as="offset"/>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="6" value="User A" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="140" y="490" width="40" height="20" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="8" target="14">
|
||||||
|
<mxGeometry relative="1" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="8" target="19">
|
||||||
|
<mxGeometry relative="1" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="8" value="<font style="font-size: 9px">Donate 100€<br>Wertstellung auf Konto: 20.07.2021<br>Wertstellung mit Kullanz: 20.07.2021<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="280" y="280" width="160" height="80" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="9" value="User B" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="340" y="490" width="40" height="20" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="10" value="Global Event Faktor" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="510" y="490" width="120" height="20" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="12" target="14">
|
||||||
|
<mxGeometry relative="1" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="12" value="<font style="font-size: 9px">Faktor 15<br>From 01.03.2021<br>Till 31.06.2021<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="480" y="400" width="160" height="80" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="14" value="<font style="font-size: 9px">Faktor 14<br>From 01.07.2021<br>Till 31.09.2021<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="480" y="280" width="160" height="80" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="18" value="Global Event Event" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="692" y="490" width="120" height="20" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="19" value="<font style="font-size: 9px">Percentage Modificator 21%<br>Till 21.07.2021<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="680" y="280" width="140" height="80" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="23" target="14">
|
||||||
|
<mxGeometry relative="1" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="23" value="<font style="font-size: 9px">Donate 50€<br>Wertstellung auf Konto: 03.08.2021<br>Wertstellung mit Kullanz: 03.08.2021<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="80" y="160" width="160" height="80" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="25" value="" style="shape=link;html=1;" edge="1" parent="1">
|
||||||
|
<mxGeometry width="100" relative="1" as="geometry">
|
||||||
|
<mxPoint x="80" y="140" as="sourcePoint"/>
|
||||||
|
<mxPoint x="820" y="140" as="targetPoint"/>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="29" value="<font style="font-size: 9px">Balance GDT: 4330<br><br>+ 200*15*1.21<br>+ 50*14<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="80" y="40" width="160" height="80" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="30" value="<font style="font-size: 9px">Balance GDT: 1694<br><br>+ 100*14*1.21<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="280" y="40" width="160" height="80" as="geometry"/>
|
||||||
|
</mxCell>
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
</mxfile>
|
||||||
BIN
docu/graphics/gdt_transactions.png
Normal file
BIN
docu/graphics/gdt_transactions.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
18
docu/userstory.feature.template
Normal file
18
docu/userstory.feature.template
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Feature: {title}
|
||||||
|
As an {role}
|
||||||
|
I want to {do}
|
||||||
|
In order to {reason}
|
||||||
|
|
||||||
|
Background:
|
||||||
|
Given the following "{entities}" are in the database:
|
||||||
|
| id | title | pinned | createdAt |
|
||||||
|
| p1 | Some other post | | 2020-01-21 |
|
||||||
|
| p2 | Houston we have a problem | x | 2020-01-20 |
|
||||||
|
| p3 | Yet another post | | 2020-01-19 |
|
||||||
|
And I am {here/there}
|
||||||
|
|
||||||
|
Scenario: {title}
|
||||||
|
When I do {this}
|
||||||
|
And I do {that}
|
||||||
|
Then I should {have/see/be}
|
||||||
|
And I should {have/see/be}
|
||||||
Loading…
x
Reference in New Issue
Block a user