Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit 0bcc282a authored by Ferry Jérémie's avatar Ferry Jérémie

premier jet

parent 2dd8e95d
......@@ -25,6 +25,24 @@ et le projet adhère à la nomenclature de version : [Semantic Versioning](https
- passage en GTK 3
- mise en place de tests unitaires et fonctionnels
## [Unreleased : 1.6.0]
### Added
http://forum.primtux.fr/viewtopic.php?id=1351
- Une interface de recherche de handymenus thématiques :
On pourrait donc d'une part avoir une liste de handymenus thématiques mis à disposition des professeurs.
Ils peuvent les rechercher via un mini moteur de recherche.
Une fois un handymenu thématique identifié, ils peuvent l'associé à 1 ou plusieurs session.
Si le professeur désir visualiser le handymenu, un bouton dédié lancera ce fameux handymenu.
Si le professeur désir créer son propre handymenu, il peut également le faire via un bouton dédié.
Ce dernier va ouvrir le soft de configuration des handymenus (sur lequel j'ai déjà bossé ces derniers mois) mais avec quelques variantes :
- l'obligation de donner un intitulé à ce handymenu
- l'obligation de préciser au minima 3 mots clés pour pouvoir l'identifier dans les recherches futures
- un bouton de validation (qui ne sera plus présent pour un modification : il sert à vérifier les éléments précédents sont bien remplis)
Enfin, un menu d'édition permettra de faire grosso modo la même chose qu'en création.
## [Unreleased : 1.4.0]
### Added
......
......@@ -54,3 +54,11 @@ Même principe pour la configuration du handymenu
```bash
handymenu-configuration-custom chemin
```
## Pour les développeurs
Générer le diagram (MCD) à partir du fichier .dot
```bash
dot -Tsvg diagram.dot -o diagram.svg
```
CREATE TABLE IF NOT EXISTS results (
id INTEGER PRIMARY KEY AUTOINCREMENT,
title varchar(255) NOT NULL,
path varchar(2048) NOT NULL,
in_mini BOOLEAN NOT NULL CHECK (in_mini IN (0,1)),
in_super BOOLEAN NOT NULL CHECK (in_mini IN (0,1)),
in_maxi BOOLEAN NOT NULL CHECK (in_mini IN (0,1)),
in_prof BOOLEAN NOT NULL CHECK (in_mini IN (0,1))
);
CREATE TABLE IF NOT EXISTS themes (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name varchar(255) NOT NULL
);
CREATE TABLE IF NOT EXISTS keywords (
id INTEGER PRIMARY KEY AUTOINCREMENT,
text varchar(255) NOT NULL
);
CREATE TABLE IF NOT EXISTS belongs_to (
id INTEGER PRIMARY KEY AUTOINCREMENT,
id_results INTEGER,
id_themes INTEGER,
FOREIGN KEY(id_results) REFERENCES results(id)
FOREIGN KEY(id_themes) REFERENCES themes(id)
);
CREATE TABLE IF NOT EXISTS contains (
id INTEGER PRIMARY KEY AUTOINCREMENT,
id_results INTEGER,
id_keywords INTEGER,
FOREIGN KEY(id_results) REFERENCES results(id)
FOREIGN KEY(id_keywords) REFERENCES keywords(id)
);
DROP TABLE results;
DROP TABLE themes;
DROP TABLE keywords;
DROP TABLE belongs_to;
DROP TABLE contains;
INSERT INTO results(title, path, in_mini, in_super, in_maxi, in_prof) VALUES ('1ère Guerre Mondiale', '', 0, 0, 0, 0);
INSERT INTO results(title, path, in_mini, in_super, in_maxi, in_prof) VALUES ('2ème Guerre Mondiale', '', 0, 0, 0, 0);
INSERT INTO themes(name) VALUES ('Histoire');
INSERT INTO belongs_to(id_results, id_themes) VALUES(1, 1);
INSERT INTO belongs_to(id_results, id_themes) VALUES(2, 1);
INSERT INTO keywords(text) VALUES ('guerre');
INSERT INTO keywords(text) VALUES ('poilu');
INSERT INTO keywords(text) VALUES ('tranché');
INSERT INTO keywords(text) VALUES ('Pétain');
INSERT INTO keywords(text) VALUES ('Hitler');
INSERT INTO keywords(text) VALUES ('Débarquement');
INSERT INTO keywords(text) VALUES ('Staline');
INSERT INTO keywords(text) VALUES ('nazi');
INSERT INTO keywords(text) VALUES ('Trench-coat');
INSERT INTO contains(id_results, id_keywords) VALUES (1, 1);
INSERT INTO contains(id_results, id_keywords) VALUES (2, 1);
INSERT INTO contains(id_results, id_keywords) VALUES (1, 2);
INSERT INTO contains(id_results, id_keywords) VALUES (1, 3);
INSERT INTO contains(id_results, id_keywords) VALUES (1, 4);
INSERT INTO contains(id_results, id_keywords) VALUES (2, 4);
INSERT INTO contains(id_results, id_keywords) VALUES (2, 5);
INSERT INTO contains(id_results, id_keywords) VALUES (2, 6);
INSERT INTO contains(id_results, id_keywords) VALUES (2, 7);
INSERT INTO contains(id_results, id_keywords) VALUES (1, 8);
INSERT INTO contains(id_results, id_keywords) VALUES (2, 8);
// nombre de résultats
select count(id) from results;
// résultats pour le mot clé "guerre"
select * from results as r
inner join contains as c on r.id = c.id_results
inner join keywords as k on k.id = c.id_keywords
where k.text = 'guerre';
// Liste des thèmes
select name from themes;
// Les 10 mots clés les plus fréquents
select count(k.id), k.text from keywords as k
inner join contains as c on k.id = c.id_keywords
group by k.id
order by count(k.id) desc
limit 10;
- apps:
- cmd: firefox
generic: Firefox
icon: firefox
name: Internet
- cmd: /usr/bin/pcmanfm /home/03-maxi/Documents
generic: Pcmanfm
icon: pcmanfm
name: Fichiers
- cmd: libreoffice --writer
generic: Ecrire
icon: libreoffice-writer
name: 'Écrire'
- cmd: /usr/bin/shutdown
generic: 'Arrêter'
icon: system-shutdown
name: 'Arrêter'
id: 6
name: Accueil
- apps:
- cmd: dicorime
generic: Dictionnaire
icon: dicorime
name: Dictionnaire
- cmd: goldendict
generic: Multi-Dictionnaire
icon: goldendict
name: Multi-Dictionnaire
- cmd: libreoffice
generic: LibreOffice
icon: libreoffice-startcenter
name: LibreOffice
- cmd: libreoffice --writer
generic: 'Écrire'
icon: libreoffice-writer
name: 'Écrire'
- cmd: libreoffice --calc
generic: Tableaux
icon: libreoffice-calc
name: Tableaux
- cmd: libreoffice --draw
generic: Composition
icon: libreoffice-draw
name: Composition
- cmd: libreoffice --impress
generic: Diaporamas
icon: libreoffice-impress
name: Diaporamas
- cmd: osmo
generic: Agenda Personnel
icon: osmo
name: Agenda
- cmd: xournal
generic: Prise de notes manuscrites
icon: xournal
name: Journal
- cmd: tbo
generic: TBO
icon: tbo
name: TBO
id: 9
name: 'Écriture'
- apps:
- cmd: aller-maxi
generic: AbulEdu Aller
icon: abuledu-aller
name: AbulEdu Aller
id: 0
name: Lecture
- apps:
- cmd: leterrier-calcul-mental
generic: Abuledu Calcul-Mental
icon: abuledu-calculs
name: Calcul-Mental
- cmd: mathoeuf-maxi
generic: AbulEdu Calcul Reflechi
icon: abuledu-calculreflechi
name: Calcul Reflechi
- cmd: calculs-maxi
generic: AbulEdu Calculs
icon: abuledu-calculs
name: Calculs
- cmd: operations-maxi
generic: Abuledu Operations
icon: abuledu-operations
name: Operations
- cmd: leterrier-suitearithmetique
generic: AbulEdu SuiteArithmetique
icon: leterrier-suitearithmetique
name: SuiteArithmetique
- cmd: suites-maxi
generic: AbulEdu Suites
icon: abuledu-suites
name: AbulEdu Suites
- cmd: leterrier-tierce
generic: AbulEdu Tierce
icon: /usr/share/icons/Faenza/apps/48/gnome-sudoku.png
name: AbulEdu Tierce
- cmd: qalculate-gtk
generic: Calculatrice
icon: accessories-calculator
name: Calculatrice
- cmd: leterrier-calculette-capricieuse
generic: Calculette capricieuse
icon: leterrier-calccap
name: Calculette capricieuse
- cmd: leterrier-fubuki
generic: Fubuki
icon: leterrier-fubuki
name: Fubuki
- cmd: leterrier-cibler
generic: Le Terrier Cible
icon: leterrier-cibler
name: Le Terrier Cible
- cmd: problemes-maxi
generic: 'Problèmes'
icon: problemes
name: 'Problèmes'
- cmd: tuxmath
generic: Tux Math
icon: tuxmath
name: Tux Math
- cmd: multiplication-station
generic: Multiplication Station
icon: multiplicationstation-0.8.0
name: Multiplication
id: 1
name: Calcul
- apps:
- cmd: symcolor-maxi
generic: AbulEdu Symcolor
icon: abuledu-symcolor
name: AbulEdu Symcolor
- cmd: gtans
generic: Tangrams
icon: gtans
name: Tangrams
- cmd: /usr/share/Omega/comparaison-linux/comparaison
generic: Comparaison
icon: comparaison
name: Comparaison
- cmd: /usr/share/Omega/piles-linux/piles
generic: Piles
icon: /usr/share/icons/Faenza/actions/48/document-properties.png
name: Piles
- cmd: drgeo
generic: DrGeo
icon: drgeo
name: DrGEo
id: 4
name: 'Géométrie'
- apps:
- cmd: gcompris
generic: 'Suite éducative GCompris'
icon: gcompris
name: GCompris
- cmd: /usr/bin/omnitux
generic: Omnitux
icon: omnitux
name: Omnitux
- cmd: /usr/bin/pysiogame
generic: pySioGame
icon: pysiogame
name: pySioGame
id: 3
name: Compilations
- apps:
- cmd: firefox
generic: Firefox
icon: firefox
name: Internet
- cmd: scratch %f
generic: Scratch
icon: scratch
name: Scratch
- cmd: stellarium
generic: Stellarium
icon: stellarium
name: Stellarium
- cmd: /usr/bin/micro
generic: Microscope virtuel
icon: microscope
name: Microscope virtuel
id: 8
name: 'Déc. du Monde'
- apps:
- cmd: blobby
generic: Blobby Volley 2
icon: blobby
name: Blobby Volley 2
- cmd: frozen-bubble
generic: Frozen-Bubble
icon: frozen-bubble
name: Frozen-Bubble
- cmd: hannah
generic: Help Hannah's Horse
icon: hannah
name: Help Hannah's Horse
- cmd: monsterz
generic: Monsterz
icon: monsterz
name: Monsterz
- cmd: seahorse-adventures
generic: Seahorse Adventures
icon: seahorse-adventures
name: Seahorse Adventures
- cmd: supertux
generic: SuperTux
icon: supertux
name: SuperTux
- cmd: tuxpaint
generic: Tux Paint
icon: tuxpaint
name: Tux Paint
id: 5
name: Jeux
- apps:
- cmd: libreoffice --writer
generic: Ecrire
icon: libreoffice-writer
name: 'Écrire'
- cmd: anous-mini
generic: AbulEdu A nous les nombres
icon: abuledu-anouslesnombres
name: A nous les nombres
- cmd: contour-mini
generic: AbulEdu A nous les nombres
icon: abuledu-contourjeu
name: AbulEdu Contour
- cmd: suites-mini
generic: AbulEdu Suites
icon: abuledu-suites
name: AbulEdu Suites
- cmd: chemin-mini
generic: AbulEdu Chemin
icon: abuledu-chemin
name: AbulEdu Chemin
- cmd: symcolor-mini
generic: AbulEdu Symcolor
icon: abuledu-symcolor
name: AbulEdu Symcolor
- cmd: gtans
generic: Tangrams
icon: gtans
name: Tangrams
- cmd: /usr/share/Omega/labyrinthe-linux/Labyrinthe
generic: Labyrinthe
icon: labytux
name: Labyrinthe
- cmd: /usr/share/Omega/labyrinthe-cache-linux/Labyrinthe-cache
generic: 'Labyrinthe caché'
icon: laby-cache
name: 'Labyrinthe caché'
- cmd: /usr/share/Omega/comparaison-linux/comparaison
generic: Comparaison
icon: comparaison
name: Comparaison
- cmd: /usr/share/Omega/piles-linux/piles
generic: Piles
icon: /usr/share/icons/Faenza/actions/48/document-properties.png
name: Piles
id: 9
name: 'Français-Maths'
- apps:
- cmd: mulot-mini
generic: AbulEdu Mulot
icon: abuledu-mulot
name: AbulEdu Mulot
- cmd: klettres
generic: KLettres
icon: klettres
name: KLettres
- cmd: pysycache
generic: PySyCache
icon: pysycache
name: PySyCache
- cmd: tuxpaint
generic: Tux Paint
icon: tuxpaint
name: Tux Paint
- cmd: childsplay --language=fr
generic: Childsplay
icon: childsplay
name: Childsplay
- cmd: gcompris
generic: 'Suite éducative GCompris'
icon: gcompris
name: GCompris
- cmd: /usr/bin/omnitux
generic: Omnitux
icon: omnitux
name: Omnitux
- cmd: hannah
generic: Help Hannah's Horse
icon: hannah
name: Help Hannah's Horse
- cmd: ktuberling
generic: Monsieur Patate
icon: ktuberling
name: Monsieur Patate
- cmd: ri-li
generic: Ri-li
icon: ri-li
name: Ri-li
- cmd: supertux
generic: SuperTux
icon: supertux
name: SuperTux
- cmd: firefox
generic: Firefox
icon: firefox
name: Internet
- cmd: /usr/bin/shutdown
generic: 'Arrêter'
icon: system-shutdown
name: 'Arrêter'
id: 7
name: Compilations-Jeux
- apps:
- cmd: dicorime
generic: Dictionnaire
icon: dicorime
name: Dictionnaire
- cmd: goldendict
generic: Multi-Dictionnaire
icon: goldendict
name: Multi-Dictionnaire
- cmd: /usr/bin/leconjugueur
generic: Conjugaison
icon: Le_Conjugueur2
name: Conjugaison
- cmd: libreoffice
generic: LibreOffice
icon: libreoffice-startcenter
name: LibreOffice
- cmd: libreoffice --writer
generic: 'Écrire'
icon: libreoffice-writer
name: 'Écrire'
- cmd: libreoffice --calc
generic: Tableaux
icon: libreoffice-calc
name: Tableaux
- cmd: libreoffice --draw
generic: Composition
icon: libreoffice-draw
name: Composition
- cmd: libreoffice --impress
generic: Diaporamas
icon: libreoffice-impress
name: Diaporamas
- cmd: libreoffice --math
generic: Math
icon: libreoffice-math
name: Math
- cmd: libreoffice --base
generic: LibreOffice Base
icon: libreoffice-base
name: LibreOffice Base
- cmd: osmo
generic: Agenda Personnel
icon: osmo
name: Agenda
- cmd: xournal
generic: Prise de notes manuscrites
icon: xournal
name: Journal
- cmd: qalculate-gtk
generic: Calculatrice
icon: qalculate
name: Calculatrice
- cmd: tbo
generic: TBO
icon: tbo
name: TBO
id: 9
name: 'Écriture'
- apps:
- cmd: audacity
generic: Audacity
icon: audacity
name: Audacity
- cmd: soundconverter
generic: Convertisseur audio
icon: soundconverter
name: Convertisseur audio
- cmd: vlc
generic: VLC
icon: vlc
name: VLC
- cmd: openshot
generic: 'Éditeur vidéo'
icon: openshot
name: 'Éditeur vidéo'
- cmd: xfburn
generic: Gravure
icon: media-cdrom
name: Gravure
id: 0
name: 'Audio-Vidéo'
- apps:
- cmd: xsane
generic: Scanner
icon: xsane
name: Scanner
- cmd: shutter
generic: 'Capture d''écran'
icon: shutter
name: 'Capture d''écran'
- cmd: gimp
generic: 'Éditeur d''images'
icon: gimp
name: Gimp
- cmd: pinta
generic: 'Éditeur d''images'
icon: pinta
name: Pinta
id: 1
name: Images
- apps:
- cmd: arandr
generic: 'Écrans'
icon: display
name: 'Écrans'
- cmd: system-config-printer
generic: Impression
icon: printer
name: Impression
- cmd: /usr/bin/menulibre
generic: 'Éditeur de menu'
icon: menulibre
name: 'Éditeur de menu'
- cmd: roxterm
generic: Terminal
icon: utilities-terminal
name: Terminal
- cmd: gparted-pkexec
generic: 'Éditeur de partitions'
icon: gparted
name: 'Éditeur de partitions'
- cmd: fskbsetting
generic: Clavier
icon: preferences-desktop-keyboard
name: Clavier
- cmd: lxappearance
generic: Apparence
icon: preferences-desktop-theme
name: Apparence
- cmd: /usr/local/bin/primtux/synupdate
generic: Gestionnaire de paquets
icon: synaptic
name: Synaptic
- cmd: gksudo /usr/local/bin/primtux/non-free/check
generic: 'Logiciels supplémentaires'
icon: freeware-64
name: Freeware-Nc
- cmd: gksu system-config-samba
generic: Partager des fichiers
icon: system-config-samba
name: Samba
- cmd: gigolo
generic: Visionneur de fichiers distants
icon: gtk-network
name: Gigolo
- cmd: /usr/local/Open-Sankore-2.5.1/run.sh
generic: Open-Sankore
icon: sankore
name: Open-Sankore
id: 5
name: 'Système'
- apps:
- cmd: firefox
generic: Firefox
icon: firefox
name: Internet
- cmd: /usr/bin/pcmanfm /home/02-super/Documents
generic: Pcmanfm
icon: pcmanfm
name: Fichiers
- cmd: libreoffice --writer
generic: Ecrire
icon: libreoffice-writer
name: 'Écrire'
- cmd: /usr/bin/shutdown
generic: 'Arrêter'
icon: system-shutdown
name: 'Arrêter'
id: 6
name: Accueil
- apps:
- cmd: dicorime
generic: Dictionnaire
icon: dicorime
name: Dictionnaire
- cmd: goldendict
generic: Multi-Dictionnaire
icon: goldendict
name: Multi-Dictionnaire
- cmd: libreoffice --writer
generic: 'Écrire'
icon: libreoffice-writer
name: 'Écrire'
- cmd: aller-super
generic: AbulEdu Aller
icon: abuledu-aller
name: AbulEdu Aller
- cmd: /usr/bin/associations-super
generic: AbulEdu - Associations
icon: abuledu-associations
name: AbulEdu - Associations
- cmd: leterrier-imageo
generic: AbulEdu Imageo
icon: abuledu-imageo
name: AbulEdu Imageo
- cmd: tbo
generic: TBO
icon: tbo
name: TBO
id: 9
name: 'Français'
- apps:
- cmd: anous-super
generic: AbulEdu A nous les nombres
icon: abuledu-anouslesnombres
name: A nous les nombres
- cmd: leterrier-calcul-mental
generic: Abuledu Calcul-Mental
icon: abuledu-calculs
name: Calcul-Mental
- cmd: mathoeuf-super
generic: AbulEdu Calcul Reflechi
icon: abuledu-calculreflechi
name: Calcul Reflechi
- cmd: calculs-super
generic: AbulEdu Calculs
icon: abuledu-calculs
name: Calculs
- cmd: operations-super
generic: Abuledu Operations
icon: abuledu-operations
name: Operations
- cmd: leterrier-suitearithmetique
generic: AbulEdu SuiteArithmetique
icon: leterrier-suitearithmetique
name: SuiteArithmetique
- cmd: contour-super
generic: AbulEdu A nous les nombres