equal
deleted
inserted
replaced
12 # distributed under the License is distributed on an "AS IS" BASIS, |
12 # distributed under the License is distributed on an "AS IS" BASIS, |
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 # See the License for the specific language governing permissions and |
14 # See the License for the specific language governing permissions and |
15 # limitations under the License. |
15 # limitations under the License. |
16 |
16 |
17 """Host (Model) query functions. |
17 """Request (Model) query functions. |
18 """ |
18 """ |
19 |
19 |
20 __authors__ = [ |
20 __authors__ = [ |
21 '"Sverre Rabbelier" <sverer@rabbelier.nl>', |
21 '"Sverre Rabbelier" <sverer@rabbelier.nl>', |
22 '"Lennard de Rijk" <ljvderijk@gmail.com>' |
22 '"Lennard de Rijk" <ljvderijk@gmail.com>' |
97 properties = {'link_id': entity.link_id } |
97 properties = {'link_id': entity.link_id } |
98 request_user_entity = user_logic.logic.getForFields(properties, unique=True) |
98 request_user_entity = user_logic.logic.getForFields(properties, unique=True) |
99 |
99 |
100 # create the invitation_url |
100 # create the invitation_url |
101 invitation_url = "%(host)s%(index)s" % { |
101 invitation_url = "%(host)s%(index)s" % { |
102 'host' : os.environ['HTTP_HOST'], |
102 'host' : os.environ['HTTP_HOST'], |
103 'index': redirects.inviteAcceptedRedirect(entity, None) |
103 'index': redirects.inviteAcceptedRedirect(entity, None)} |
104 } |
|
105 |
104 |
106 # get the group entity |
105 # get the group entity |
107 group_entity = entity.scope |
106 group_entity = entity.scope |
108 |
107 |
109 messageProperties = { |
108 messageProperties = { |