Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eric #4

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@
###> phpunit/phpunit ###
/phpunit.xml
###< phpunit/phpunit ###

.idea
4 changes: 4 additions & 0 deletions .idea/BookingRoom.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

486 changes: 449 additions & 37 deletions .idea/workspace.xml

Large diffs are not rendered by default.

Binary file added Docs/PresentationGestionDeSalles.ppt
Binary file not shown.
Binary file added Docs/UC01_AfficherLeSite.doc
Binary file not shown.
Binary file added Docs/UC02_ReserverSalle.doc
Binary file not shown.
Binary file added Docs/UC03_ConsulterPlanning.doc
Binary file not shown.
Binary file added Docs/UC04_S_Inscrire.doc
Binary file not shown.
Binary file added Docs/UC05_Se_connecter.doc
Binary file not shown.
Binary file added Docs/UC06_Gerer_utilisateurs.doc
Binary file not shown.
Binary file added Docs/UseCases_BookingRoom.doc
Binary file not shown.
Binary file added Docs/cahier-des-charges_Gestion-de-Salles.doc
Binary file not shown.
141 changes: 141 additions & 0 deletions Docs/persoPosixAccount.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">

<template>
<askcontainer>1</askcontainer>
<description>New User Account</description>
<icon>ldap-user.png</icon>
<invalid>0</invalid>
<rdn>cn</rdn>
<!--<regexp>^ou=People,o=.*,</regexp>-->
<title>Perso: User Account</title>
<visible>1</visible>

<objectClasses>
<objectClass id="inetOrgPerson"></objectClass>
<objectClass id="posixAccount"></objectClass>
</objectClasses>

<attributes>

<attribute id="uidNumber">
<display>UID Number</display>
<icon>terminal.png</icon>
<order>1</order>
<page>1</page>
<readonly>1</readonly>
<value>=php.GetNextNumber(/;uidNumber)</value>
</attribute>
<attribute id="cn">
<display>Role CN</display>
<order>1</order>
<spacer>1</spacer>
</attribute>

<attribute id="cn">
<display>Common Name</display>
<order>2</order>
<page>1</page>
</attribute>

<attribute id="givenName">
<display>First name</display>
<icon>ldap-uid.png</icon>
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
<onchange>=autoFill(uid;%givenName|0-1/l%%sn/l%)</onchange>
<order>3</order>
<page>1</page>
</attribute>

<attribute id="sn">
<display>Last name</display>
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
<onchange>=autoFill(uid;%givenName|0-1/l%%sn/l%)</onchange>
<order>4</order>
<page>1</page>
</attribute>

<attribute id="userPassword">
<display>Password</display>
<!-- <helper>
<display>Encryption</display>
<id>enc</id>
<value>=php.PasswordEncryptionTypes()</value>
</helper> -->
<icon>lock.png</icon>
<order>5</order>
<page>1</page>
<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
<spacer>1</spacer>
<verify>1</verify>
</attribute>

<attribute id="uid">
<display>User ID</display>
<order>6</order>
<page>1</page>
<spacer>1</spacer>
</attribute>

<attribute id="gidNumber">
<display>GID Number</display>
<order>7</order>
<page>1</page>
<value><![CDATA[=php.PickList(/;(&(objectClass=posixGroup));gidNumber;%cn%;;;;cn)]]></value>
</attribute>

<attribute id="o">
<display>Organisation</display>
<order>8</order>
<page>1</page>
</attribute>

<attribute id="jpegPhoto">
<display>Photo</display>
<order>9</order>
<spacer>1</spacer>
</attribute>
<attribute id="street">
<cols>50</cols>
<display>Street</display>
<icon>mail.png</icon>
<order>10</order>
<page>1</page>
<rows>4</rows>
<type>textarea</type>
</attribute>
<attribute id="city">
<display>City</display>
<order>11</order>
<page>1</page>
</attribute>
<attribute id="postalCode">
<display>Postal code</display>
<order>12</order>
<page>1</page>
<spacer>1</spacer>
</attribute>
<attribute id="telephoneNumber">
<display>Work phone</display>
<icon>phone.png</icon>
<order>13</order>
<page>1</page>
</attribute>
<attribute id="facsimileTelephoneNumber">
<display>Fax</display>
<order>14</order>
<page>1</page>
</attribute>
<attribute id="mobile">
<display>Mobile</display>
<order>15</order>
<page>1</page>
</attribute>
<attribute id="mail">
<display>Email</display>
<order>16</order>
<page>1</page>
</attribute>
</attributes>

</template>
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"symfony/flex": "^1.1",
"symfony/form": "4.2.*",
"symfony/framework-bundle": "4.2.*",
"symfony/ldap": "4.2.*",
"symfony/monolog-bundle": "^3.1",
"symfony/orm-pack": "*",
"symfony/process": "4.2.*",
Expand All @@ -26,9 +27,14 @@
"symfony/yaml": "4.2.*"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.1",
"fzaninotto/faker": "^1.8",
"phpunit/phpunit": "^7.5",
"symfony/browser-kit": "4.2.*",
"symfony/css-selector": "4.2.*",
"symfony/debug-pack": "*",
"symfony/maker-bundle": "^1.0",
"symfony/phpunit-bridge": "4.2.*",
"symfony/profiler-pack": "*",
"symfony/test-pack": "*",
"symfony/web-server-bundle": "4.2.*"
Expand Down
Loading