Commits

vagrant  committed cb8d020

debianify

  • Participants
  • Parent commits 2ecce36

Comments (0)

Files changed (33)

File .DS_Store

Binary file added.

File app/config/config.yml

         #     jar: %kernel.root_dir%/java/yuicompressor-2.4.2.jar
 
 # Doctrine Configuration
-doctrine:
-    dbal:
-        driver:   %database_driver%
-        host:     %database_host%
-        port:     %database_port%
-        dbname:   %dynamic.database_name%
-        user:     %dynamic.database_user%
-        password: %dynamic.database_password%
-        charset:  UTF8
 
+doctrine:
+    dbal:  %dynamic.doctrine.dbal%        
     orm:
         auto_generate_proxy_classes: %kernel.debug%
         auto_mapping: true

File app/config/dynamic.yml

-
 parameters:
-    dynamic:
-        database_name:   igroove
-        database_user:     root
-        database_password: ~
-        
-    dizda_cloud_dropbox_user: yourDropbox@account
-    dizda_cloud_dropbox_password: ~
-    dizda_cloud_dropbox_remote_path: backup/igroove    
+    dynamic.doctrine.dbal:
+        driver:   pdo_mysql
+        dbname:   igroove
+        user:     root
+        password: root

File app/config/dynamic.yml.dist

-
 parameters:
-    dynamic:
-        database_name:   igroove
-        database_user:     root
-        database_password: ~
-        
-    dizda_cloud_dropbox_user: yourDropbox@account
-    dizda_cloud_dropbox_password: ~
-    dizda_cloud_dropbox_remote_path: backup/igroove    
+    dynamic.doctrine.dbal.default:
+        driver:   pdo_mysql
+        dbname:   igroove
+        user:     root
+        password: ~

File app/debian/config/apachesettings

+# directives can be placed here, to be included into the virtualhost
+
+__APACHE_DEFAULT_REWRITE__

File app/debian/config/dynamic.yml

-
 parameters:
     dynamic.doctrine.dbal.default:
         driver:   pdo_mysql

File app/debian/config/igroove.yml

+imag_ldap:
+  client:
+    host: 10.10.0.8
+    port: 389
+    version: 3 
+    referrals_enabled: 0    
+    username: ldapAdmin
+    password: Secret-Password
+
+  user:
+    base_dn: DC=test,DC=network
+    name_attribute: samaccountname
+  role:
+    base_dn: DC=test,DC=network
+    name_attribute: cn
+    user_attribute: member
+    user_id: dn
+security:
+    role_hierarchy:
+        ROLE_DOCENTI:       ROLE_TEACHER
+        ROLE_DOMAIN_ADMINS: ROLE_ADMIN
+        ROLE_PORTINERIA:    ROLE_RECEPTION
+parameters:
+    menu_render:
+        onlyReception: false
+        homework: true
+        userCanChangeOwnPassword: true    
+    consegna: 
+        folder: /tmp/consegna
+    active_directory:
+       account_suffix: test
+       base_dn: CN=Users,DC=test,DC=network
+       domain_controllers: 
+          - 10.10.0.8
+       real_primarygroup: true
+       admin_username: ldapAdmin
+       admin_password: Secret-Password
+       use_ssl: true
+       generated_group_prefix: _
+       home_folder: \\10.10.0.8\home\
+       home_drive: H
+       user_account_lifetime: 365
+       home_folder_lifetime: 60
+       password:
+         min_char: 8
+         complexity: true
+       username_style: NOME.COGNOME
+    data_provider:
+        - name: Astori
+          uri: http://10.10.0.8/jsonIgrooveAstori
+          json_key: lkhjglkh78435vlsd
+          auto_create_username: true
+          force_imported_password: false
+          tutor_email_in_list: true
+          consegna: true
+          gmail:
+              create_groups:
+                domain: my.astori.it
+                admin_username: vittore.zen@my.astori.it
+                admin_password: unaPasswordDifficile
+              create_email:
+                domain: my.astori.it
+                admin_username: vittore.zen@my.astori.it
+                admin_password: unaPasswordDifficile
+          internet_teachers_control: true
+          internet:
+            "00:00": off
+            "07:30": on
+            "10:15": off
+            "13.27": off
+            "16.40": off
+            "23:59": off
+        - name: IDB
+          uri: http://10.10.0.8/jsonIgrooveIDB
+          json_key: lkhjglkh78435vlsd
+          auto_create_username: true
+          force_imported_password: false
+          tutor_email_in_list: true
+          consegna: true
+          gmail:
+              create_groups:
+                domain: my.astori.it
+                admin_username: vittore.zen@my.astori.it
+                admin_password: unaPasswordDifficile
+              create_email:
+                domain: my.astori.it
+                admin_username: vittore.zen@my.astori.it
+                admin_password: unaPasswordDifficile
+          internet_teachers_control: true
+          internet:
+            "00:00": off
+            "07:30": on
+            "08.10": off
+            "10.50": off
+            "13.20": off
+            "16.40": off
+            "23:59": off            
+        - name: ISSM
+          uri: http://10.10.0.8/jsonIgrooveISSM
+          json_key: lkhjglkh78435vlsd
+          auto_create_username: true
+          force_imported_password: false
+          tutor_email_in_list: true
+          gmail:
+              create_groups:
+                domain: my.astori.it
+                admin_username: vittore.zen@my.astori.it
+                admin_password: unaPasswordDifficile
+              create_email:
+                domain: my.astori.it
+                admin_username: vittore.zen@my.astori.it
+                admin_password: unaPasswordDifficile
+          internet_teachers_control: true
+          internet:
+            "00:00": off
+            "07:30": on
+            "08.10": off
+            "10.50": off
+            "13.20": off
+            "16.40": off
+            "23:59": off
+    mikrotik:
+       - ip: 10.10.0.89
+         username: admin
+         password: pwd

File app/debian/config/parameters.yml

+parameters:
+    database_driver:   pdo_mysql
+    database_host:     localhost
+    database_port:     ~
+
+    mailer_transport:  smtp
+    mailer_host:       localhost
+    mailer_user:       ~
+    mailer_password:   ~
+    
+    locale:            it
+    secret:            ThisTokenIsNotSoSecretChangeIt
+         

File app/debian/config/security.yml

+security:
+  firewalls:
+    restricted_area:
+      pattern:          ^/
+      anonymous:        ~
+      provider:         ldap
+      imag_ldap:        ~
+      logout:
+        path:           /logout
+
+  providers:
+    ldap:
+      id: imag_ldap.security.user.provider
+
+  encoders:
+    IMAG\LdapBundle\User\LdapUser: plaintext
+
+  access_control:
+    - { path: ^/checkGuest,     roles: IS_AUTHENTICATED_ANONYMOUSLY }
+    - { path: ^/login,          roles: IS_AUTHENTICATED_ANONYMOUSLY }
+    - { path: ^/,               roles: IS_AUTHENTICATED_FULLY }
+
+#  factories:
+#    - "%kernel.root_dir%/../vendor/bundles/IMAG/LdapBundle/Resources/config/security_factories.xml"
+
+  role_hierarchy:
+        ROLE_ADMIN: [ROLE_RECEPTION, ROLE_TEACHER]

File debian/compat

-8

File doc/puppet/.DS_Store

Binary file added.

File doc/puppet/vagrant/manifests/.DS_Store

Binary file added.

File externals/.DS_Store

Binary file added.

File externals/json_services/.DS_Store

Binary file added.

File externals/json_services/fcs/.DS_Store

Binary file added.

File externals/json_services/fcs/lib/.DS_Store

Binary file added.

File externals/json_services/fcs/lib/adodb5/.DS_Store

Binary file added.

File externals/json_services/segremat/.DS_Store

Binary file added.

File externals/json_services/segremat/lib/.DS_Store

Binary file added.

File hotspot/.DS_Store

Binary file added.

File packagemanifest.yml

         cron:
             #'another:console:command': "0-5/2 * * * *"
         bundles:
-            - 'vendor/symfony'
-            - 'vendor/zend/library/Zend/Log'
-            - 'vendor/swiftmailer'
-            - 'vendor/doctrine'
-            - 'vendor/doctrine-migrations'
-            - 'vendor/doctrine-dbal'
-            - 'vendor/doctrine-common'
-            - 'vendor/twig'
-            - 'vendor/zend-log'
+            - 'vendor'
             - 'src/Zen/IgrooveBundle'
         assets: ~
         profiles:
             - 'doctrine:schema:create'
         installfiles:
             - 'app/debian'
-            - 'src/autoload.php'
+         
 

File puppet/.DS_Store

Binary file added.

File puppet/debian7-web/manifests/.DS_Store

Binary file added.

File src/Zen/IgrooveBundle/Entity/AdminNotification.php~

-<?php
-
-namespace Zen\IgrooveBundle\Entity;
-
-use Doctrine\ORM\Mapping as ORM;
-use Symfony\Component\Validator\Constraints as Assert;
-use Doctrine\ORM\EntityManager; 
-
-/**
- * @ORM\Entity
- * @ORM\Table(name="admin_notification")
- * @ORM\HasLifecycleCallbacks
- */
-class AdminNotification {
-
-    private $em;
-    
-    /**
-     * @ORM\Id
-     * @ORM\Column(type="integer")
-     * @ORM\GeneratedValue(strategy="AUTO")
-     */
-    private $id;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $type;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $message;
-
-
-
-    
-
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $created_at;
-
-    
-        public function __construct($type="",$message="")
-    {
-                $em = $this->getContainer()->get('doctrine')->getEntityManager();
-          $this->em = $em;
-        $this->type=$type;
-        $this->message=$message;
-        $em->persist($this);
-        $em->flush();
-        if ($controller->get('kernel')->getEnvironment()=='dev') {
-        print "[---> $message]\r\n";
-        @ob_flush();@flush();
-        }
-    }
- 
-    
-    
-    /**
-     * @ORM\prePersist
-     */
-    public function setCreatedAtValue() {
-        $this->created_at = new \DateTime();
-    }
-
- 
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set type
-     *
-     * @param string $type
-     */
-    public function setType($type)
-    {
-        $this->type = $type;
-    }
-
-    /**
-     * Get type
-     *
-     * @return string 
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-
-    /**
-     * Set message
-     *
-     * @param string $message
-     */
-    public function setMessage($message)
-    {
-        $this->message = $message;
-    }
-
-    /**
-     * Get message
-     *
-     * @return string 
-     */
-    public function getMessage()
-    {
-        return $this->message;
-    }
-
-    /**
-     * Set created_at
-     *
-     * @param datetime $createdAt
-     */
-    public function setCreatedAt($createdAt)
-    {
-        $this->created_at = $createdAt;
-    }
-
-    /**
-     * Get created_at
-     *
-     * @return datetime 
-     */
-    public function getCreatedAt()
-    {
-        return $this->created_at;
-    }
-}

File src/Zen/IgrooveBundle/Entity/GroupComposition.php~

-<?php
-
-namespace Zen\IgrooveBundle\Entity;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * @ORM\Entity
- * @ORM\Entity(repositoryClass="Zen\IgrooveBundle\Repository\GroupCompositionRepository")
- * @ORM\HasLifecycleCallbacks
- */
-class GroupComposition
-{
-    /**
-     * @ORM\Id
-     * @ORM\Column(type="integer")
-     * @ORM\GeneratedValue(strategy="AUTO")
-     */
-    private $id;
-
-    /**
-     * @ORM\Column(type="boolean", nullable=true)
-     */
-    private $imported;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $rootGroup;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $subGroup;
-
-    /**
-     * @ORM\ManyToOne(targetEntity="Student", inversedBy="groupCompositions")
-     * @ORM\JoinColumn(name="student_id", referencedColumnName="id")
-     */
-    protected $student;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $updated_at;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $created_at;
-
-    /**
-     * @ORM\PrePersist
-     */
-    public function setCreatedAtValue()
-    {
-        $this->created_at = new \DateTime();
-    }
-
-    /**
-     * @ORM\PreUpdate
-     */
-    public function setUpdatedAtValue()
-    {
-        $this->updated_at = new \DateTime();
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set imported
-     *
-     * @param boolean $imported
-     */
-    public function setImported($imported)
-    {
-        $this->imported = $imported;
-    }
-
-    /**
-     * Get imported
-     *
-     * @return boolean
-     */
-    public function getImported()
-    {
-        return $this->imported;
-    }
-
-    /**
-     * Set rootGroup
-     *
-     * @param string $rootGroup
-     */
-    public function setRootGroup($rootGroup)
-    {
-        $this->rootGroup = $rootGroup;
-    }
-
-    /**
-     * Get rootGroup
-     *
-     * @return string
-     */
-    public function getRootGroup()
-    {
-        return $this->rootGroup;
-    }
-
-    /**
-     * Set subGroup
-     *
-     * @param string $subGroup
-     */
-    public function setSubGroup($subGroup)
-    {
-        $this->subGroup = $subGroup;
-    }
-
-    /**
-     * Get subGroup
-     *
-     * @return string
-     */
-    public function getSubGroup()
-    {
-        return $this->subGroup;
-    }
-
-    /**
-     * Set updated_at
-     *
-     * @param datetime $updatedAt
-     */
-    public function setUpdatedAt($updatedAt)
-    {
-        $this->updated_at = $updatedAt;
-    }
-
-    /**
-     * Get updated_at
-     *
-     * @return datetime
-     */
-    public function getUpdatedAt()
-    {
-        return $this->updated_at;
-    }
-
-    /**
-     * Set created_at
-     *
-     * @param datetime $createdAt
-     */
-    public function setCreatedAt($createdAt)
-    {
-        $this->created_at = $createdAt;
-    }
-
-    /**
-     * Get created_at
-     *
-     * @return datetime
-     */
-    public function getCreatedAt()
-    {
-        return $this->created_at;
-    }
-
-    /**
-     * Set student
-     *
-     * @param Zen\IgrooveBundle\Entity\Student $student
-     */
-    public function setStudent(\Zen\IgrooveBundle\Entity\Student $student)
-    {
-        $this->student = $student;
-    }
-
-    /**
-     * Get student
-     *
-     * @return Zen\IgrooveBundle\Entity\Student
-     */
-    public function getStudent()
-    {
-        return $this->student;
-    }
-
-}

File src/Zen/IgrooveBundle/Entity/Guest.php~

-<?php
-
-namespace Zen\IgrooveBundle\Entity;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * @ORM\Entity
- * @ORM\Entity(repositoryClass="Zen\IgrooveBundle\Repository\GuestRepository")
- * @ORM\HasLifecycleCallbacks
- */
-class Guest
-{
-    /**
-     * @ORM\Id
-     * @ORM\Column(type="integer")
-     * @ORM\GeneratedValue(strategy="AUTO")
-     */
-    private $id;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $lastname;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $firstname;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $password;
-
-    /**
-     * @ORM\Column(type="string")
-     */
-    private $identified_by;
-
-    /**
-     * @ORM\Column(type="date", nullable=true)
-     */
-    private $starting_from;
-
-    /**
-     * @ORM\Column(type="date", nullable=true)
-     */
-    private $ending_to;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $updated_at;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $created_at;
-
-    /**
-     * @ORM\PrePersist
-     */
-    public function setCreatedAtValue()
-    {
-        $this->created_at = new \DateTime();
-    }
-
-    /**
-     * @ORM\PreUpdate
-     */
-    public function setUpdatedAtValue()
-    {
-        $this->updated_at = new \DateTime();
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set lastname
-     *
-     * @param string $lastname
-     */
-    public function setLastname($lastname)
-    {
-        $this->lastname = $lastname;
-    }
-
-    /**
-     * Get lastname
-     *
-     * @return string
-     */
-    public function getLastname()
-    {
-        return $this->lastname;
-    }
-
-    /**
-     * Set firstname
-     *
-     * @param string $firstname
-     */
-    public function setFirstname($firstname)
-    {
-        $this->firstname = $firstname;
-    }
-
-    /**
-     * Get firstname
-     *
-     * @return string
-     */
-    public function getFirstname()
-    {
-        return $this->firstname;
-    }
-
-    /**
-     * Set password
-     *
-     * @param string $password
-     */
-    public function setPassword()
-    {
-        $password = rand(1111, 9999);
-        $this->password = $password;
-    }
-
-    /**
-     * Get password
-     *
-     * @return string
-     */
-    public function getPassword()
-    {
-        return $this->password;
-    }
-
-    /**
-     * Set identified_by
-     *
-     * @param string $identifiedBy
-     */
-    public function setIdentifiedBy($identifiedBy)
-    {
-        $this->identified_by = $identifiedBy;
-    }
-
-    /**
-     * Get identified_by
-     *
-     * @return string
-     */
-    public function getIdentifiedBy()
-    {
-        return $this->identified_by;
-    }
-
-    /**
-     * Set starting_from
-     *
-     * @param date $startingFrom
-     */
-    public function setStartingFrom($startingFrom)
-    {
-        $this->starting_from = $startingFrom;
-    }
-
-    /**
-     * Get starting_from
-     *
-     * @return date
-     */
-    public function getStartingFrom()
-    {
-        return $this->starting_from;
-    }
-
-    /**
-     * Set ending_to
-     *
-     * @param date $endingTo
-     */
-    public function setEndingTo($endingTo)
-    {
-        $this->ending_to = $endingTo;
-    }
-
-    /**
-     * Get ending_to
-     *
-     * @return date
-     */
-    public function getEndingTo()
-    {
-        return $this->ending_to;
-    }
-
-    /**
-     * Set updated_at
-     *
-     * @param datetime $updatedAt
-     */
-    public function setUpdatedAt($updatedAt)
-    {
-        $this->updated_at = $updatedAt;
-    }
-
-    /**
-     * Get updated_at
-     *
-     * @return datetime
-     */
-    public function getUpdatedAt()
-    {
-        return $this->updated_at;
-    }
-
-    /**
-     * Set created_at
-     *
-     * @param datetime $createdAt
-     */
-    public function setCreatedAt($createdAt)
-    {
-        $this->created_at = $createdAt;
-    }
-
-    /**
-     * Get created_at
-     *
-     * @return datetime
-     */
-    public function getCreatedAt()
-    {
-        return $this->created_at;
-    }
-
-}

File src/Zen/IgrooveBundle/Entity/LogEntry.php~

-<?php
-
-namespace Zen\IgrooveBundle\Entity;
-
-use Doctrine\ORM\Mapping as ORM;
-use Symfony\Component\Validator\Constraints as Assert;
-
-/**
- * @ORM\Entity
- * @ORM\Table(name="log_entry")
- */
-class LogEntry {
-
-    /**
-     * @ORM\Id
-     * @ORM\Column(type="integer")
-     * @ORM\GeneratedValue(strategy="AUTO")
-     */
-    private $id;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $message;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $channel;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $level_name;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $datetime;
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId() {
-        return $this->id;
-    }
-
-    /**
-     * Set message
-     *
-     * @param string $message
-     */
-    public function setMessage($message) {
-        $this->message = $message;
-    }
-
-    /**
-     * Get message
-     *
-     * @return string 
-     */
-    public function getMessage() {
-        return $this->message;
-    }
-
-    /**
-     * Set channel
-     *
-     * @param string $channel
-     */
-    public function setChannel($channel) {
-        $this->channel = $channel;
-    }
-
-    /**
-     * Get channel
-     *
-     * @return string 
-     */
-    public function getChannel() {
-        return $this->channel;
-    }
-
-    /**
-     * Set level_name
-     *
-     * @param string $levelName
-     */
-    public function setLevelName($levelName) {
-        $this->level_name = $levelName;
-    }
-
-    /**
-     * Get level_name
-     *
-     * @return string 
-     */
-    public function getLevelName() {
-        return $this->level_name;
-    }
-
-    /**
-     * Set datetime
-     *
-     * @param datetime $datetime
-     */
-    public function setDatetime($datetime) {
-        $this->datetime = $datetime;
-    }
-
-    /**
-     * Get datetime
-     *
-     * @return datetime 
-     */
-    public function getDatetime() {
-        return $this->datetime;
-    }
-
-    public function getIcon() {
-        switch ($this->getLevelName()) {
-            case 'FATAL': return 'alert';
-            case 'ERROR': return 'alert';
-            case 'WARNING': return 'star';
-            case 'INFO': return 'info';
-            case 'DEBUG': return 'gear';
-        }
-    }
-
-}

File src/Zen/IgrooveBundle/Entity/Mac.php~

-<?php
-
-namespace Zen\IgrooveBundle\Entity;
-
-use Doctrine\ORM\Mapping as ORM;
-use Symfony\Component\Validator\Constraints as Assert;
-
-/**
- * @ORM\Entity
- * @ORM\Entity(repositoryClass="Zen\IgrooveBundle\Repository\MacRepository")
- * @ORM\HasLifecycleCallbacks
- */
-class Mac
-{
-    /**
-     * @ORM\Id
-     * @ORM\Column(type="integer")
-     * @ORM\GeneratedValue(strategy="AUTO")
-     */
-    private $id;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $lastname;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $firstname;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $device;
-
-    /**
-     * @ORM\Column(type="string", nullable=false)
-     * @Assert\Regex("/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/")
-     *
-     */
-    private $mac;
-
-    /**
-     * @ORM\Column(type="date")
-     */
-    private $starting_from;
-
-    /**
-     * @ORM\Column(type="date")
-     */
-    private $ending_to;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $updated_at;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $created_at;
-
-    /**
-     * @ORM\PrePersist
-     */
-    public function setCreatedAtValue()
-    {
-        $this->created_at = new \DateTime();
-    }
-
-    /**
-     * @ORM\PreUpdate
-     */
-    public function setUpdatedAtValue()
-    {
-        $this->updated_at = new \DateTime();
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set lastname
-     *
-     * @param string $lastname
-     */
-    public function setLastname($lastname)
-    {
-        $this->lastname = $lastname;
-    }
-
-    /**
-     * Get lastname
-     *
-     * @return string
-     */
-    public function getLastname()
-    {
-        return $this->lastname;
-    }
-
-    /**
-     * Set firstname
-     *
-     * @param string $firstname
-     */
-    public function setFirstname($firstname)
-    {
-        $this->firstname = $firstname;
-    }
-
-    /**
-     * Get firstname
-     *
-     * @return string
-     */
-    public function getFirstname()
-    {
-        return $this->firstname;
-    }
-
-    /**
-     * Set device
-     *
-     * @param string $device
-     */
-    public function setDevice($device)
-    {
-        $this->device = $device;
-    }
-
-    /**
-     * Get device
-     *
-     * @return string
-     */
-    public function getDevice()
-    {
-        return $this->device;
-    }
-
-    /**
-     * Set mac
-     *
-     * @param string $mac
-     */
-    public function setMac($mac)
-    {
-        $this->mac = $mac;
-    }
-
-    /**
-     * Get mac
-     *
-     * @return string
-     */
-    public function getMac()
-    {
-        return $this->mac;
-    }
-
-    /**
-     * Set starting_from
-     *
-     * @param date $startingDate
-     */
-    public function setStartingFrom($startingFrom)
-    {
-        $this->starting_from = $startingFrom;
-    }
-
-    /**
-     * Get starting_from
-     *
-     * @return date
-     */
-    public function getStartingFrom()
-    {
-        return $this->starting_from;
-    }
-
-    /**
-     * Set ending_to
-     *
-     * @param date $endingTo
-     */
-    public function setEndingTo($endingTo)
-    {
-        $this->ending_to = $endingTo;
-    }
-
-    /**
-     * Get ending_to
-     *
-     * @return date
-     */
-    public function getEndingTo()
-    {
-        return $this->ending_to;
-    }
-
-    /**
-     * Set updated_at
-     *
-     * @param datetime $updatedAt
-     */
-    public function setUpdatedAt($updatedAt)
-    {
-        $this->updated_at = $updatedAt;
-    }
-
-    /**
-     * Get updated_at
-     *
-     * @return datetime
-     */
-    public function getUpdatedAt()
-    {
-        return $this->updated_at;
-    }
-
-    /**
-     * Set created_at
-     *
-     * @param datetime $createdAt
-     */
-    public function setCreatedAt($createdAt)
-    {
-        $this->created_at = $createdAt;
-    }
-
-    /**
-     * Get created_at
-     *
-     * @return datetime
-     */
-    public function getCreatedAt()
-    {
-        return $this->created_at;
-    }
-
-}

File src/Zen/IgrooveBundle/Entity/Student.php~

-<?php
-
-namespace Zen\IgrooveBundle\Entity;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * @ORM\Entity
- * @ORM\Entity(repositoryClass="Zen\IgrooveBundle\Repository\StudentRepository")
- * @ORM\HasLifecycleCallbacks
- */
-class Student
-{
-    /**
-     * @ORM\Id
-     * @ORM\Column(type="integer")
-     * @ORM\GeneratedValue(strategy="AUTO")
-     */
-    private $id;
-
-    /**
-     * @ORM\Column(type="boolean", nullable=true)
-     */
-    private $imported;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $lastname;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $firstname;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $email;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $distinguished_id;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $username;
-
-    /**
-     * @ORM\Column(type="string", nullable=true)
-     */
-    private $starting_password;
-
-    /**
-     *
-     * @ORM\OneToMany(targetEntity="GroupComposition", mappedBy="student", cascade={"all"})
-     */
-    private $group_compositions;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $updated_at;
-
-    /**
-     * @ORM\Column(type="datetime", nullable=true)
-     */
-    private $created_at;
-
-    /**
-     * @ORM\PrePersist
-     */
-    public function setCreatedAtValue()
-    {
-        $this->created_at = new \DateTime();
-    }
-
-    /**
-     * @ORM\PreUpdate
-     */
-    public function setUpdatedAtValue()
-    {
-        $this->updated_at = new \DateTime();
-    }
-
-    public function __construct()
-    {
-        $this->group_composition = new \Doctrine\Common\Collections\ArrayCollection();
-    }
-
-    public function __toString()
-    {
-        return $this->getFirstname() . ' ' . $this->getLastname();
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set imported
-     *
-     * @param boolean $imported
-     */
-    public function setImported($imported)
-    {
-        $this->imported = $imported;
-    }
-
-    /**
-     * Get imported
-     *
-     * @return boolean
-     */
-    public function getImported()
-    {
-        return $this->imported;
-    }
-
-    /**
-     * Set lastname
-     *
-     * @param string $lastname
-     */
-    public function setLastname($lastname)
-    {
-        $this->lastname = $lastname;
-    }
-
-    /**
-     * Get lastname
-     *
-     * @return string
-     */
-    public function getLastname()
-    {
-        return $this->lastname;
-    }
-
-    /**
-     * Set firstname
-     *
-     * @param string $firstname
-     */
-    public function setFirstname($firstname)
-    {
-        $this->firstname = $firstname;
-    }
-
-    /**
-     * Get firstname
-     *
-     * @return string
-     */
-    public function getFirstname()
-    {
-        return $this->firstname;
-    }
-
-    /**
-     * Set distinguished_id
-     *
-     * @param string $distinguishedId
-     */
-    public function setDistinguishedId($distinguishedId)
-    {
-        $this->distinguished_id = $distinguishedId;
-    }
-
-    /**
-     * Get distinguished_id
-     *
-     * @return string
-     */
-    public function getDistinguishedId()
-    {
-        return $this->distinguished_id;
-    }
-
-    /**
-     * Set username
-     *
-     * @param string $username
-     */
-    public function setUsername($username)
-    {
-        $this->username = $username;
-    }
-
-    /**
-     * Get username
-     *
-     * @return string
-     */
-    public function getUsername()
-    {
-        return $this->username;
-    }
-
-    /**
-     * Set starting_password
-     *
-     * @param string $startingPassword
-     */
-    public function setStartingPassword($startingPassword)
-    {
-        $this->starting_password = $startingPassword;
-    }
-
-    /**
-     * Get starting_password
-     *
-     * @return string
-     */
-    public function getStartingPassword()
-    {
-        return $this->starting_password;
-    }
-
-    /**
-     * Set updated_at
-     *
-     * @param datetime $updatedAt
-     */
-    public function setUpdatedAt($updatedAt)
-    {
-        $this->updated_at = $updatedAt;
-    }
-
-    /**
-     * Get updated_at
-     *
-     * @return datetime
-     */
-    public function getUpdatedAt()
-    {
-        return $this->updated_at;
-    }
-
-    /**
-     * Set created_at
-     *
-     * @param datetime $createdAt
-     */
-    public function setCreatedAt($createdAt)
-    {
-        $this->created_at = $createdAt;
-    }
-
-    /**
-     * Get created_at
-     *
-     * @return datetime
-     */
-    public function getCreatedAt()
-    {
-        return $this->created_at;
-    }
-
-    /**
-     * Get group_composition
-     *
-     * @return Doctrine\Common\Collections\Collection
-     */
-    public function getGroupComposition()
-    {
-        return $this->group_composition;
-    }
-
-    /**
-     * Set email
-     *
-     * @param string $email
-     */
-    public function setEmail($email)
-    {
-        $this->email = $email;
-    }
-
-    /**
-     * Get email
-     *
-     * @return string
-     */
-    public function getEmail()
-    {
-        return $this->email;
-    }
-
-    /**
-     * Add group_compositions
-     *
-     * @param Zen\IgrooveBundle\Entity\GroupComposition $groupCompositions
-     */
-    public function addGroupComposition(\Zen\IgrooveBundle\Entity\GroupComposition $groupCompositions)
-    {
-        $this->group_compositions[] = $groupCompositions;
-    }
-
-    /**
-     * Get group_compositions
-     *
-     * @return Doctrine\Common\Collections\Collection
-     */
-    public function getGroupCompositions()
-    {
-        return $this->group_compositions;
-    }
-
-    /**
-     * Remove group_compositions
-     *
-     * @param Zen\IgrooveBundle\Entity\GroupComposition $groupCompositions
-     */
-    public function removeGroupComposition(\Zen\IgrooveBundle\Entity\GroupComposition $groupCompositions)
-    {
-        $this->group_compositions->removeElement($groupCompositions);
-    }
-
-}

File web/.DS_Store

Binary file added.

File web/css/.DS_Store

Binary file added.

File web/css/jqm-docs.css~

-/* jqm docs css
-
-Beware: lots of last-minute CSS going on in here 
-cobblers, shoes, 
-*/
-
-body { background: #dddddd; }
-.ui-mobile .type-home .ui-content { margin: 0; background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; }
-.ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center;  margin: 0 auto; }
-.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; }
-.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; }
-.ui-mobile #jqm-version { text-indent: -99999px; background: url(../images/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: -11px; right: 0; }
-.ui-mobile .jqm-themeswitcher { margin: 10px 25px 10px 10px;  }
-
-h2 { margin:1.2em 0 .4em 0; }
-p code { font-size:1.2em; font-weight:bold; } 
-h4 code {font-size:1.2em; font-weight:bold; }
-
-dt { font-weight: bold; margin: 2em 0 .5em; }
-dt code, dd code { font-size:1.3em; line-height:150%; }
-pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
-
-#jqm-homeheader img { width: 235px; }
-img { max-width: 100%; }
-
-/* fluid images moved from jquery.mobile.core.css*/
-.ui-mobile img {
-	max-width: 100%;
-}
-
-.ui-header .jqm-home { top: 0; }
-nav { margin: 0; }
-
-
-
-p.intro {
-	font-size: .96em;
-	line-height: 1.3;
-		border-top: 1px solid #75ae18;
-		border-bottom: 0;
-		background: none;
-		margin: 1.5em 0;
-		padding: 1.5em 15px 0;
-
-}
-p.intro strong {
-	color:  #558e08;
-}
-.footer-docs {
-	padding: 5px 0;
-}
-.footer-docs p {
-	margin-left:15px;
-	font-weight: normal;
-	font-size: .9em;
-}
-
-.type-interior .content-secondary {
-	border-right: 0;
-	border-left: 0;
-	margin: 10px -15px 0;
-	background: #fff;
-	border-top: 1px solid #ccc;
-}
-.type-home .ui-content {
-	margin-top: 5px;
-}
-.type-interior .ui-content {
-	padding-bottom: 0;
-}
-.content-secondary .ui-collapsible {
-	padding: 0 15px 10px;
-
-}
-.content-secondary .ui-collapsible-content {
-	padding: 0;
-	background: none;
-	border-bottom: none;
-}
-.content-secondary .ui-listview {
-	margin: 0;
-}
-/* new API additions */
-
-dt {  
-	margin: 35px 0 15px 0; 
-	background-color:#ddd; 
-	font-weight:normal;
-}
-dt code { 
-	display:inline-block; 
-	font-weight:bold;
-	color:#56A00E; 
-	padding:3px 7px; 
-	margin-right:10px; 
-	background-color:#fff; 
-}
-dd { 
-	margin-bottom:10px; 
-}
-dd .default { font-weight:bold; }
-dd pre { 
-	margin:0 0 0 0; 
-}
-dd code { font-weight: normal; }
-dd pre code { 
-	margin:0; 
-	border:none; 
-	font-weight:normal; 
-	font-size:100%; 
-	background-color:transparent; 
-}
-dd h4 { margin:15px 0 0 0; }
-		
-.localnav {
-	margin:0 0 20px 0;
-	overflow:hidden;
-}
-.localnav li {
-	float:left;
-}
-.localnav .ui-btn-inner { 
-	padding: .6em 10px; 
-	font-size:80%; 
-}
-
-/* custom dialog for the photos sharing */
-.ui-dialog.dialog-actionsheet .ui-dialog-contain {
-	margin-top: 0;
-}
-
-
-
-/* F bar theme - just for the docs overview headers */
-.ui-bar-f {
-	border: 1px solid #56A00E;
-	background: 			#74b042;
-	color: 					#fff;
-	font-weight: bold;
-	text-shadow: 0 1px 1px #335413;	
-	background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */
-	background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */
-	background-image:    -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */
-	background-image:     -ms-linear-gradient(#74b042, #56A00E); /* IE10 */
-	background-image:      -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */
-	background-image:         linear-gradient(#74b042, #56A00E);		
-}
-.ui-bar-f, 
-.ui-bar-f input, 
-.ui-bar-f select, 
-.ui-bar-f textarea, 
-.ui-bar-f button {
-	font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
-}
-
-.ui-bar-f,
-.ui-bar-f .ui-link-inherit {
-	color: 					#fff;
-}
-.ui-bar-f .ui-link {
-	color: 					#fff;
-	font-weight: bold;
-}
-.ui-btn-up-f {
-	border: 1px solid 		#3B6F07;
-	background: 			#56A00E;
-	font-weight: bold;
-	color: 					#fff;
-	text-shadow: 0 1px 1px #234403;
-	background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */
-	background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */
-	background-image:    -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */
-	background-image:     -ms-linear-gradient(#74b042, #56A00E); /* IE10 */
-	background-image:      -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */
-	background-image:         linear-gradient(#74b042, #56A00E);
-}
-.ui-btn-up-f a.ui-link-inherit {
-	color: 					#fff;
-}
-.ui-btn-hover-f {
-	border: 1px solid 		#3B6F07;
-	background: 			#6EBC1F;
-	font-weight: bold;
-	color: 					#fff;
-	text-shadow: 0 1px 1px #234403;
-	background-image: -webkit-gradient(linear, left top, left bottom, from(#8FC963), to(#6EBC1F)); /* Saf4+, Chrome */
-	background-image: -webkit-linear-gradient(#8FC963, #6EBC1F); /* Chrome 10+, Saf5.1+ */
-	background-image:    -moz-linear-gradient(#8FC963, #6EBC1F); /* FF3.6 */
-	background-image:     -ms-linear-gradient(#8FC963, #6EBC1F); /* IE10 */
-	background-image:      -o-linear-gradient(#8FC963, #6EBC1F); /* Opera 11.10+ */
-	background-image:         linear-gradient(#8FC963, #6EBC1F);
-}
-.ui-btn-hover-f a.ui-link-inherit {
-	color: 					#fff;
-}
-.ui-btn-down-f {
-	border: 1px solid 		#3B6F07;
-	background: 			#3d3d3d;
-	font-weight: bold;
-	color: 					#fff;
-	text-shadow: 0 1px 1px #234403;
-	background-image: -webkit-gradient(linear, left top, left bottom, from(#56A00E), to(#64A234)); /* Saf4+, Chrome */
-	background-image: -webkit-linear-gradient(#56A00E, #64A234); /* Chrome 10+, Saf5.1+ */
-	background-image:    -moz-linear-gradient(#56A00E, #64A234); /* FF3.6 */
-	background-image:     -ms-linear-gradient(#56A00E, #64A234); /* IE10 */
-	background-image:      -o-linear-gradient(#56A00E, #64A234); /* Opera 11.10+ */
-	background-image:         linear-gradient(#56A00E, #64A234);
-}
-.ui-btn-down-f a.ui-link-inherit {
-	color: 					#fff;
-}
-.ui-btn-up-f,
-.ui-btn-hover-f,
-.ui-btn-down-f {
-	font-family: Helvetica, Arial, sans-serif;
-	text-decoration: none;
-}
-
-
-
-
-/* docs site layout */
-
-@media all and (min-width: 650px){
-	
-
-	.type-home .ui-content {
-		margin-top: 5px;
-	}
-	.ui-mobile #jqm-homeheader {
-		max-width: 340px;
-	}
-	.ui-mobile .jqm-themeswitcher {
-		float: right;
-	}
-	p.intro {
-		margin: 2em 0;
-	}
-	.type-home .ui-content,
-	.type-interior .ui-content {
-		padding: 0;
-		background: url(../images/px-ccc.gif) 50% 0 repeat-y;
-	}
-	.type-interior .ui-content {
-		background-position: 45%;
-		overflow: hidden;
-	}
-	.content-secondary {
-		text-align: left;
-		float: left;
-		width: 45%;
-		background: none;
-	}
-	.content-secondary,
-	.type-interior .content-secondary {
-		margin: 30px 0 20px 2%;
-		padding: 20px 4% 0 0;
-			background: none;
-					border-top: none;
-	}
-	.type-index .content-secondary {
-		padding: 0;
-	}
-	.content-secondary .ui-collapsible {
-		margin: 0;
-		padding: 0;
-	}
-	.content-secondary .ui-collapsible-content {
-		border: none;
-	}
-	.type-index .content-secondary .ui-listview {
-		margin: 0;
-	}
-
-	.ui-mobile #jqm-homeheader {
-		padding: 0;
-	}
-	.content-primary {
-		width: 45%;
-		float: right;
-		margin-top: 30px;
-		margin-right: 1%;
-		padding-right: 1%;
-	}
-	.content-primary ul:first-child {
-		margin-top: 0;
-	}
-	.content-secondary h2 {
-		position: absolute;
-		left: -9999px;
-	}
-	.type-interior .content-primary {
-		padding: 1.5em 6% 3em 0;
-		margin: 0;
-	}
-	/* fix up the collapsibles - expanded on desktop */
-	.content-secondary .ui-collapsible-heading {
-		display: none;
-	}
-	.content-secondary .ui-collapsible-contain {
-		margin:0;
-	}
-	.content-secondary .ui-collapsible-content {
-		display: block;
-		margin: 0;
-		padding: 0;
-	}
-	.type-interior  .content-secondary .ui-li-divider {
-		padding-top: 1em;
-		padding-bottom: 1em;
-	}
-	.type-interior .content-secondary {
-		margin: 0;
-		padding: 0;
-	}
-	
-}
-@media all and (min-width: 750px){
-	.type-home .ui-content,
-	.type-interior .ui-content {
-		background-position: 39%;
-	}
-	.content-secondary {
-		width: 34%;
-	}
-	.content-primary {
-		width: 56%;
-		padding-right: 1%;
-	}	
-	.type-interior .ui-content {
-		background-position: 34%;
-	}
-}
-
-@media all and (min-width: 1200px){
-	.type-home .ui-content{
-		background-position: 38.5%;
-	}
-	.type-interior .ui-content {
-		background-position: 30%;
-	}
-	.content-secondary {
-		width: 30%;
-		padding-right:6%;
-		margin: 30px 0 20px 5%;
-	}
-	.type-interior .content-secondary {
-		margin: 0;
-		padding: 0;
-	}
-	.content-primary {
-		width: 50%;
-		margin-right: 5%;
-		padding-right: 3%;
-	}
-	.type-interior .content-primary {
-		width: 60%;
-	}
-}

File web/tools/.DS_Store

Binary file added.