-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivities.txt
More file actions
135 lines (94 loc) · 2.13 KB
/
Copy pathactivities.txt
File metadata and controls
135 lines (94 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
@startuml
title Log in
(*) --> "Fill username and password form"
--> "Submit form"
--> if "Username and password correct"
--> [Success] "Redirect to home page"
--> (*)
else
--> [Failure] "Display error message"
--> (*)
endif
@enduml
@startuml
title Log out
(*) --> "Triggers log out"
--> if "User is logged"
--> [Success] "Redirect to login page"
--> (*)
else
--> [Failure] "Display error message"
--> (*)
endif
@enduml
@startuml
title Register
(*) --> "Fill registration form"
--> "Submit form"
--> if "Form is valid"
--> [Success] "Create new user"
--> "Redirect to home page"
--> (*)
else
--> [Failure] "Display error message"
--> (*)
endif
@enduml
@startuml
title Reset password
(*) --> "Give username and/or email"
--> "Submit form"
--> if "Email is associated to existing user"
--> [Success] "Send reset password email with link"
--> (*)
else
--> [Failure] "Display error message"
--> (*)
endif
@enduml
@startuml
title View profile
(*) --> "Access profile"
--> "Fetch all user data"
--> "Display user data with edition actions"
--> (*)
@enduml
@startuml
title View other user's profile
(*) --> "Access profile"
--> "Fetch all user data"
--> "Display user data"
--> (*)
@enduml
@startuml
title Fetch movie data from OMDB
(*) --> "Initiate connection to OMBD API"
--> "Send request for movie searching"
--> "Parse JSON result"
--> (*)
@enduml
@startuml
title Delete review
(*) --> "User clicks on delete review"
--> if "Review is owned by user"
--> [Success] "Delete review from DB"
--> "Display success message"
--> (*)
else
--> [Failure] "Display error message"
--> (*)
endif
@enduml
@startuml
title Search a movie
(*) --> "User types in movie research bar"
--> [At every new letter typed] "Get what the user has typed so far"
--> "Fetch list of movies from OMDB"
--> if "Movies were found"
--> [Success] "Display list of clickable movies names"
--> (*)
else
--> [Failure] "Displayer 'No movies found with this name' message"
--> (*)
endif
@enduml