-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocs.txt
115 lines (104 loc) · 4.41 KB
/
docs.txt
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
== Products
Products.insert( {
name: "Matutor Bis",
slug: "matutorbis",
chickens: [ ],
scrummaster: Meteor.userId() ,
productowner: "",
team:[{ name: "I Moschettieri",
slug:"moschettieri",
motto: "Tutti per uno, uno per tutti.",
picture: "http://3.bp.blogspot.com/-8dPgVxgmoo8/TfYnmUHPF7I/AAAAAAAALng/s2TId6zrK9Y/s1600/4Moschettieri.jpg",
members: [] }]
});
//DailyScrum.insert( {
// name: "Daily Scrum",
// date:d,
// dailyscrum:{
// yesterday: [ {
// player: "Matteo",
// task:"Timer del visualizzatore",
// pair:["jacopo","davide"]
// } ],
// today:[],
// issues:[] }
// } );
DailyScrum.insert( {
product_slug: "matutorbis",
team_slug: "moschettieri",
date: '27/09/2013',
player: "henXgdno47ERaQCF8",
tasks:[ {
description:"Timer del visualizzatore",
pair:["bEXEw4wKvFF2BFGGB"]
}
]
} );
Retrospectives.insert( {
product_slug: "matutorbis",
team_slug: "moschettieri",
date: '07/10/2013',
description: 'short description...',
lessonlearned:[ {
id:"aaaaaaaaa",
description:"Liberare la principessa dalla Torre.",
comments: [ {
user:"bEXEw4wKvFF2BFGGB",
text:"Oppure buttarla giù dalla torre"
}]
},
{
id:"bbbbbbbbb",
description:"Introdurre lo Sprint Planning Meeting Light facendone la stima durante lo sprint",
comments: [ ]
},
{
id:"ccccccccc",
description:"Usare la carta salto del turno di rotazione",
comments: [
]
}
]
} );
== What I am Learning
Products.update( {_id: "Ybhp3fCfcWtDrdryj"} , {$set:{name: 'Zanichelli Matutor Bis'}} );
https://atmosphere.meteor.com/package/crypto-md5
templates: https://wrapbootstrap.com
== ricerca con più di un parametro (and)
Meteor.users.find({
$and: [
{_id: {$ne: Meteor.userId()}},
{username: Session.get('searchedName')}
]
});
== per testare lo switch del timer nella pagina dailyscrum, eseguire su console
var selectedUserId = "henXgdno47ERaQCF8";
var userProfile = Meteor.users.findOne({_id:selectedUserId}).profile;
userProfile.isSpeaking = true; //or null
Meteor.users.update( {_id: selectedUserId} , {$set:{profile: userProfile}} );
==
AdminUsers.insert({userId:Meteor.userId()})
==
UsersSpeaking.insert( {
product_slug: "matutorbis",
team_slug: "moschettieri",
userId: "henXgdno47ERaQCF8";
});
==
Canvas.insert( {
product_slug: "matutorbis",
team_slug: "moschettieri",
dataUrl: "";
});
==
Events.insert( {
product_slug: "matutorbis",
team_slug: "moschettieri",
title: "Meeting",
startDate:"18/10/2013",
startTime:"16:00",
endDate:"18/10/2013"
endTime:"18:00"
allDay:false,
url:""
});