Pyros applications

Version 12 (Paul Carensac, 04/11/2016 05:32 pm)

1 1 Paul Carensac
h1. Pyros applications
2 1 Paul Carensac
3 2 Paul Carensac
List and details of all the pyros applications.
4 2 Paul Carensac
5 2 Paul Carensac
---
6 2 Paul Carensac
7 2 Paul Carensac
h2. %{margin-left:0px; font-weight:bold; font-size:25px;  display:block; color:red;}pyrosapp%
8 2 Paul Carensac
9 3 Paul Carensac
h3. Purpose
10 2 Paul Carensac
11 2 Paul Carensac
 * Contains all the database Models
12 2 Paul Carensac
 * Basic tests in tests.py
13 2 Paul Carensac
 * Backoffice configuration in admin.py
14 2 Paul Carensac
15 3 Paul Carensac
h3. Notes
16 2 Paul Carensac
17 2 Paul Carensac
 * Will be progressively deleted while models being displaced
18 2 Paul Carensac
19 2 Paul Carensac
---
20 2 Paul Carensac
21 2 Paul Carensac
h2. %{margin-left:0px; font-weight:bold; font-size:25px;  display:block; color:red;}dashboard%
22 2 Paul Carensac
23 3 Paul Carensac
h3. Purpose
24 2 Paul Carensac
25 2 Paul Carensac
 * Interface for all external users
26 2 Paul Carensac
 * Leads to displays and actions for all the pyros modules (users, requests, system execution, ...)
27 2 Paul Carensac
28 4 Paul Carensac
h3. Evolution
29 4 Paul Carensac
30 4 Paul Carensac
 * Creating application
31 4 Paul Carensac
32 4 Paul Carensac
    * manage.py startapp dashboard
33 5 Paul Carensac
    * added 'dashboard' in settings.py -> INSTALLED_APPS
34 5 Paul Carensac
    * created a urls.py file in dashboard module
35 5 Paul Carensac
    * added _url(r'^dashboard/', include('dashboard.urls'))_ in pyros/urls.py -> urlpatterns
36 5 Paul Carensac
    * created templates/ and templates/dashboard/ folders in dashboard module
37 5 Paul Carensac
38 5 Paul Carensac
 * Main page
39 5 Paul Carensac
40 5 Paul Carensac
    * added 'home' view in views.py
41 5 Paul Carensac
    * linked 'home' view to 8000/dashboard URL
42 5 Paul Carensac
    * created a template for the homepage in templates/dashboard/ (with bootstrap)
43 5 Paul Carensac
    * created views, views linking (urls.py) and templates for the dashboard modules
44 5 Paul Carensac
    * redirected mainpage buttons to Admin interface (temporary)
45 4 Paul Carensac
46 3 Paul Carensac
h3. Notes
47 2 Paul Carensac
48 2 Paul Carensac
 * The buttons lead to the Admin interface for the moment
49 7 Paul Carensac
 * Added bootstrap3 module (see Installation)
50 7 Paul Carensac
 * Added Django Template Editor (see Eclipse configuration)
51 2 Paul Carensac
52 3 Paul Carensac
h3. TODO
53 2 Paul Carensac
54 2 Paul Carensac
 * Create the backoffice views as the modules are integrated in pyros
55 2 Paul Carensac
 * Think about a system of permissions
56 2 Paul Carensac
57 2 Paul Carensac
---
58 8 Paul Carensac
59 8 Paul Carensac
h2. %{margin-left:0px; font-weight:bold; font-size:25px;  display:block; color:red;}scheduler%
60 8 Paul Carensac
61 8 Paul Carensac
h3. Purpose
62 8 Paul Carensac
63 8 Paul Carensac
 * Creates the planning with the OBSERVABLE sequences
64 8 Paul Carensac
 * Give acces to a web page to see the current planning
65 8 Paul Carensac
66 8 Paul Carensac
h3. Evolution
67 8 Paul Carensac
68 8 Paul Carensac
 * Creating application
69 8 Paul Carensac
70 8 Paul Carensac
    * manage.py startapp scheduler
71 8 Paul Carensac
    * added 'scheduler' in settings.py -> INSTALLED_APPS
72 8 Paul Carensac
    * created a urls.py file in scheduler module
73 8 Paul Carensac
    * added _url(r'^scheduler/', include('scheduler.urls'))_ in pyros/urls.py -> urlpatterns
74 8 Paul Carensac
    * created templates/ and templates/scheduler/ folders in scheduler module
75 8 Paul Carensac
76 9 Paul Carensac
 * Model modifications
77 1 Paul Carensac
78 9 Paul Carensac
    * Schedule
79 9 Paul Carensac
80 9 Paul Carensac
        * Remove day_start
81 9 Paul Carensac
        * Remove day_stop
82 9 Paul Carensac
        * Add plan_start
83 9 Paul Carensac
        * Add plan_stop
84 9 Paul Carensac
        * Enum system for the status 
85 9 Paul Carensac
    * ScheduleHistory
86 9 Paul Carensac
87 9 Paul Carensac
        * Remove day_start
88 9 Paul Carensac
        * Remove day_stop
89 9 Paul Carensac
        * Add plan_start
90 9 Paul Carensac
        * Add plan_stop
91 9 Paul Carensac
    * Sequence
92 9 Paul Carensac
93 9 Paul Carensac
        * Remove exec_start
94 9 Paul Carensac
        * Remove exec_stop
95 9 Paul Carensac
        * Add tsp
96 9 Paul Carensac
        * Add tep
97 9 Paul Carensac
        * Add jd1
98 9 Paul Carensac
        * Add jd2
99 9 Paul Carensac
        * Add deltaTL
100 9 Paul Carensac
        * Add deltaTR
101 9 Paul Carensac
        * Add t_prefered
102 9 Paul Carensac
        * Changed duration from Float to DecimalField (more precise)
103 10 Paul Carensac
    * manage.py makemigrations sheduler ; manage.py migrate
104 10 Paul Carensac
105 10 Paul Carensac
 * Creation of Scheduler and Interval classes in models.py
106 10 Paul Carensac
107 10 Paul Carensac
 * Implementation of the Interval class
108 10 Paul Carensac
109 12 Paul Carensac
 * Implementation of the Scheduler's 'make_schedule' function (and children). This is the only entry point for now. This function creates the planning (organizes the observable sequences).
110 9 Paul Carensac
111 8 Paul Carensac
h3. Notes
112 8 Paul Carensac
113 1 Paul Carensac
 * Priorities and quotas are default-calculated (for the moment)
114 1 Paul Carensac
 * What is the 'flag' attribute in the Schedule model ?
115 9 Paul Carensac
116 9 Paul Carensac
h3. TODO
117 9 Paul Carensac
118 9 Paul Carensac
 * Priority and quota computing
119 9 Paul Carensac
 * Re-scheduling
120 9 Paul Carensac
 * Blank space filling
121 9 Paul Carensac
 * History ?