Skip to content

Commit

Permalink
[IMP] *: convert remaining CRLF files
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-e committed Mar 15, 2019
1 parent 0ba7677 commit 12ad48c
Show file tree
Hide file tree
Showing 22 changed files with 2,433 additions and 2,433 deletions.
76 changes: 38 additions & 38 deletions kicker/data/kicker_data.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">

<!-- kickers -->
<record id="kicker_gr" model="kicker.kicker">
<field name="name">Farm 1</field>
<field name="location">Chaussée de Namur</field>
</record>

<record id="kicker_gr_south" model="kicker.kicker">
<field name="name">Farm 2</field>
<field name="location">Rue des Bourlottes</field>
</record>

<record id="kicker_bxl" model="kicker.kicker">
<field name="name">Bxl</field>
<field name="location">Brussels</field>
</record>

<record id="kicker_gr_ping1" model="kicker.ping">
<field name="kicker_id" ref="kicker_gr"/>
<field name="ip_address">0.0.0.0</field>
<field name="available" eval="True"/>
</record>

<!-- users -->
<record id="anon" model="res.users">
<field name="name">External player</field>
<field name="login">anon</field>
<field name="email">anon@openkicker</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">Uregistered Player</field>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="active" eval="False" />
</record>
</data>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">

<!-- kickers -->
<record id="kicker_gr" model="kicker.kicker">
<field name="name">Farm 1</field>
<field name="location">Chaussée de Namur</field>
</record>

<record id="kicker_gr_south" model="kicker.kicker">
<field name="name">Farm 2</field>
<field name="location">Rue des Bourlottes</field>
</record>

<record id="kicker_bxl" model="kicker.kicker">
<field name="name">Bxl</field>
<field name="location">Brussels</field>
</record>

<record id="kicker_gr_ping1" model="kicker.ping">
<field name="kicker_id" ref="kicker_gr"/>
<field name="ip_address">0.0.0.0</field>
<field name="available" eval="True"/>
</record>

<!-- users -->
<record id="anon" model="res.users">
<field name="name">External player</field>
<field name="login">anon</field>
<field name="email">anon@openkicker</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">Uregistered Player</field>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="active" eval="False" />
</record>
</data>
</odoo>
206 changes: 103 additions & 103 deletions kicker/data/kicker_demo.xml
Original file line number Diff line number Diff line change
@@ -1,103 +1,103 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">

<!-- kickers -->
<record id="kicker_gr" model="kicker.kicker">
<field name="name">GR North</field>
<field name="location">San Grand Rosiere</field>
</record>

<record id="kicker_gr_south" model="kicker.kicker">
<field name="name">GR South</field>
<field name="location">Rue des Bourlottes</field>
</record>

<record id="kicker_gr_ping1" model="kicker.ping">
<field name="kicker_id" ref="kicker_gr"/>
<field name="ip_address">0.0.0.0</field>
<field name="available" eval="True"/>
</record>

<!-- users -->
<record id="est" model="res.users">
<field name="name">Eloïse</field>
<field name="login">est</field>
<field name="password">est</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">The Queen of Sarcasm will see you now</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/est.jpg"/>
</record>

<record id="mat" model="res.users">
<field name="name">Martin</field>
<field name="login">mat</field>
<field name="password">mat</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">My best move: not moving!</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/mat.jpg"/>
</record>

<record id="jem" model="res.users">
<field name="name">Jérôme</field>
<field name="login">jem</field>
<field name="password">jem</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">I do all the legwork</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/jem.jpg"/>
</record>

<record id="dbo" model="res.users">
<field name="name">Damien</field>
<field name="login">dbo</field>
<field name="password">dbo</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">Death to all platypuses!</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/dbo.jpeg"/>
</record>

<record id="dbe" model="res.users">
<field name="name">David</field>
<field name="login">dbe</field>
<field name="password">dbe</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">Shoot to score</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/dbe.jpg"/>
</record>

<record id="whe" model="res.users">
<field name="name">William</field>
<field name="login">whe</field>
<field name="password">whe</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">Don't pay attention to my relaxed attitude, I'll kick your ass anyway</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/whe.jpg"/>
</record>

<record id="base.main_company" model="res.company">
<field name="logo" type="base64" file="kicker/static/icons/logo_colored.png"/>
</record>

<function model="kicker.game" name="_generate_demo_data">
<value eval='1000'/>
</function>
</data>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">

<!-- kickers -->
<record id="kicker_gr" model="kicker.kicker">
<field name="name">GR North</field>
<field name="location">San Grand Rosiere</field>
</record>

<record id="kicker_gr_south" model="kicker.kicker">
<field name="name">GR South</field>
<field name="location">Rue des Bourlottes</field>
</record>

<record id="kicker_gr_ping1" model="kicker.ping">
<field name="kicker_id" ref="kicker_gr"/>
<field name="ip_address">0.0.0.0</field>
<field name="available" eval="True"/>
</record>

<!-- users -->
<record id="est" model="res.users">
<field name="name">Eloïse</field>
<field name="login">est</field>
<field name="password">est</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">The Queen of Sarcasm will see you now</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/est.jpg"/>
</record>

<record id="mat" model="res.users">
<field name="name">Martin</field>
<field name="login">mat</field>
<field name="password">mat</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">My best move: not moving!</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/mat.jpg"/>
</record>

<record id="jem" model="res.users">
<field name="name">Jérôme</field>
<field name="login">jem</field>
<field name="password">jem</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">I do all the legwork</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/jem.jpg"/>
</record>

<record id="dbo" model="res.users">
<field name="name">Damien</field>
<field name="login">dbo</field>
<field name="password">dbo</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">Death to all platypuses!</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/dbo.jpeg"/>
</record>

<record id="dbe" model="res.users">
<field name="name">David</field>
<field name="login">dbe</field>
<field name="password">dbe</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">Shoot to score</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/dbe.jpg"/>
</record>

<record id="whe" model="res.users">
<field name="name">William</field>
<field name="login">whe</field>
<field name="password">whe</field>
<field name="email">[email protected]</field>
<field name="kicker_player" eval="True"/>
<field name="tagline">Don't pay attention to my relaxed attitude, I'll kick your ass anyway</field>
<field name="main_kicker_id" ref="kicker_gr_south"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_portal')])]"/>
<field name="image" type="base64" file="kicker/static/img/whe.jpg"/>
</record>

<record id="base.main_company" model="res.company">
<field name="logo" type="base64" file="kicker/static/icons/logo_colored.png"/>
</record>

<function model="kicker.game" name="_generate_demo_data">
<value eval='1000'/>
</function>
</data>
</odoo>
22 changes: 11 additions & 11 deletions kicker/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_kicker_kicker_user,kicker.kicker.user,model_kicker_kicker,base.group_user,1,0,0,0
access_kicker_kicker_manager,kicker.kicker.manager,model_kicker_kicker,kicker.group_kicker_manager,1,1,1,1
access_kicker_ping_user,kicker.ping.user,model_kicker_ping,base.group_user,1,0,0,0
access_kicker_ping_manager,kicker.ping.manager,model_kicker_ping,kicker.group_kicker_manager,1,1,1,1
access_kicker_session_user,kicker.sessions.user,model_kicker_session,base.group_user,1,0,0,0
access_kicker_session_manager,kicker.sessions.manager,model_kicker_session,kicker.group_kicker_manager,1,1,1,1
access_kicker_game_user,kicker.game.user,model_kicker_game,base.group_user,1,0,0,0
access_kicker_game_manager,kicker.game.manager,model_kicker_game,kicker.group_kicker_manager,1,1,1,1
access_kicker_stat_user,kicker.sessions.user,model_kicker_stat,base.group_user,1,0,0,0
access_kicker_stat_manager,kicker.sessions.manager,model_kicker_stat,kicker.group_kicker_manager,1,1,1,1
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_kicker_kicker_user,kicker.kicker.user,model_kicker_kicker,base.group_user,1,0,0,0
access_kicker_kicker_manager,kicker.kicker.manager,model_kicker_kicker,kicker.group_kicker_manager,1,1,1,1
access_kicker_ping_user,kicker.ping.user,model_kicker_ping,base.group_user,1,0,0,0
access_kicker_ping_manager,kicker.ping.manager,model_kicker_ping,kicker.group_kicker_manager,1,1,1,1
access_kicker_session_user,kicker.sessions.user,model_kicker_session,base.group_user,1,0,0,0
access_kicker_session_manager,kicker.sessions.manager,model_kicker_session,kicker.group_kicker_manager,1,1,1,1
access_kicker_game_user,kicker.game.user,model_kicker_game,base.group_user,1,0,0,0
access_kicker_game_manager,kicker.game.manager,model_kicker_game,kicker.group_kicker_manager,1,1,1,1
access_kicker_stat_user,kicker.sessions.user,model_kicker_stat,base.group_user,1,0,0,0
access_kicker_stat_manager,kicker.sessions.manager,model_kicker_stat,kicker.group_kicker_manager,1,1,1,1
42 changes: 21 additions & 21 deletions kicker/security/kicker_security.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="group_kicker_manager" model="res.groups">
<field name="name">Kicker Manager</field>
<field name="category_id" ref="base.module_category_hidden"/>
<field name="users" eval="[(4, ref('base.user_admin'))]"/>
</record>

<record id="res_partner_kicker_portal_rule" model="ir.rule">
<field name="name">res.partner.kicker.portal</field>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_unlink" eval="False"/>
<field name="domain_force">[('kicker_player', '=', True)]</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="groups" eval="[(4, ref('base.group_portal'))]"/>
</record>
</data>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="group_kicker_manager" model="res.groups">
<field name="name">Kicker Manager</field>
<field name="category_id" ref="base.module_category_hidden"/>
<field name="users" eval="[(4, ref('base.user_admin'))]"/>
</record>

<record id="res_partner_kicker_portal_rule" model="ir.rule">
<field name="name">res.partner.kicker.portal</field>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_unlink" eval="False"/>
<field name="domain_force">[('kicker_player', '=', True)]</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="groups" eval="[(4, ref('base.group_portal'))]"/>
</record>
</data>
</odoo>
20 changes: 10 additions & 10 deletions kicker/static/icons/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions kicker/static/icons/burger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 12ad48c

Please sign in to comment.