]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/TODO
09334799d012b125ebb3c343fe1b1c661f408b70
[bacula/bacula] / bacula / src / qt-console / TODO
1 dhb
2 ====================================================
3 Color code Media Red->Error Append->green Full/Used->Yellow
4
5 Resolve issue of connection during restore selection.  Could go with preempt of
6 connections.
7
8 User preferences.  With log to stdout options.
9 Have settings for defaults of limits on joblist
10
11 Test restore and get anything not working, working.
12   partially done.
13
14 Get restore into stack.
15   Should the jobs dialog be turned into a page as well??
16 Possilbe: Turn run and label into docked pages. (remove button bar buttons??)
17
18 Update README  describe bat.conf.example to bat.conf
19
20 Add numerous are you sure dialog boxes.  Like are you sure you want to
21 delete/purge that volume.  Show a little of the documentation about what
22 the consequences of delete or purging are.
23
24 Add context sensitive options for most commands
25 status dir on page select director item
26 All items with jobid= that I thought could work from joblist are done.
27 As well as many more
28 update slots scan
29 see COMMANDS file
30
31 preempt all connections to console with 
32 if (!is_connectedGui())
33 or some other mechanism.  Partially done.
34
35 Create documentation for any other developers interested in creating
36 new classes to add more pages.  Explain how to use the pages class
37 and about not populating until the tree widget is clicked etc...
38
39 LOW priority items:
40
41 User configuration dialog.  Include options for debugging output to stdout.
42
43 Is there a way to query the director/database for whether a storage is currently
44 mounted so I am not presenting both mount and unmount to the user??
45
46 Is there a way to identify a slot as having a cleaning tape???
47 (Kern says more work needs to be done in bacula with autochangers)
48
49 Get rid of "Warning: name layoutWidget is already used" when make uic's restore.ui
50
51 move behavior of:
52   MainWin::setContextMenuDockText
53   MainWin::setTreeWidgetItemDockColor
54 to the pages class
55
56 Think about good ways to clean up the Console creation part of the
57 loop creating pages.
58 ========================================================
59 This release or next:
60
61 A window showing a list of jobs and defaults.  Defaults can be gotten in manner
62 similar to what the first restore window does.
63
64 A window showing a list of schedule resources. 
65
66 Kern discussed windows showing statistics like web based interfaces.
67 ========================================================
68 Future Releases :
69
70 The ablility to modify configuration files to create jobs, schedules, filesets
71 and any other director resources.
72
73 The ablility to modify configuration files to create storage resources.
74
75 Add a status dir graphical interface.  It would auto update every ?? seconds
76 and have a list of scheduled jobs, and in the que to run jobs that could be
77 cancelled graphically.
78
79 Add a status client window.  Keep updating showing what file is being
80 processed.
81
82 A Tree widget context sensitive menu option and class to jump from known job
83 to surf the filestructure on the job.
84
85 bRestore add code to get working.
86
87 ===========================================================
88 NOT SURE
89 ===========================================================
90
91 I'm not sure about this one??  Things seem to work and I did not do a
92 thing to make it happen:  the "dir" is a member of Console
93
94 - We also must somehow make the low level I/O routines know which
95 director/console to use.  Currently they always use the single
96 global one defined in the mainWin class (if I remember right).
97
98
99 ============================================================
100 DONE:
101 ============================================================
102 Where and bootstrap are confused in runjobs of restore.
103    This was just the labels.
104
105 Create list of what does not work.
106 From what I can tell, just the restore window on the left.
107
108 Add option to LIMIT the number of jobs shown in all jobs page for users with
109 multiple hundreds to thousands of jobs.
110
111 Play with includes to Make these compiles shorter.
112   moved includes of of includes and into files only console.h should be long
113
114 relabel storage=DDS3 oldvolume=ddsvol003 volume=dds3vol003 slot=3 pool=dds3_hope
115 in label slot spinner, limit the upper to the value of slots for that storage.
116
117 Fix bug in myth box not working with .sql query="" command.
118 This was a fix in mysql
119
120 Figure out how to get tables like Joblist to do the equivalent of double clicking
121 on the separating lines between each of the headings.
122 Tried the hard way first.  Oops.
123
124 If the console command line entry docked widget gets the focus, make 
125 m_currentConsole the top widget by setting the treewidgetitem selected.
126 Did this in MainWin::input_line almost better to let the person see
127 whatever they want until they hit enter.
128
129 Set Window titles to reflect what director it is.
130
131 Must:: get page selector to follow undocked windows.  Otherwise
132 current console won't be current.
133
134 Re-add class for storage, I accidentally reverted because I left
135 it on my laptop.  This is why I like committing often.
136
137 Add class for FileSets
138
139 Another idea for what you have implemented:
140 - I think that the dynamic pages that you create on the fly
141 should be nested under the item that creates them more like a
142 directory tree.
143
144 For example: Jobs on Volume xxx, probably should be shown under
145 "All Jobs" (or Media if that is what created it) and "Jobs of
146 Client Rufus" probably should be shown under "Clients".  I base
147 this on looking at the Select page list after I have brought up 3
148 or 4 dynamic pages.  Once there are a good number, I get a bit
149 confused where they came from.  This would also permit selecting
150 multipe Volumes then displaying multiple pages, one for each
151 Volume selected.  If they are nested, then that nested level can
152 be expanded or collapsed, which would be pretty cool at keeping
153 information, but getting it out of the way, sort of like what
154 happens for a directory tree.
155
156 dhb: ref above
157 My original concept was to put these in a tabbed widget.  Your Idea may
158 make for a cleaner user experience.  I like it.  It could save the
159 effort of getting a tabbed widget to work.
160
161
162 - I think we need to make the current Director more explicit, by
163 perhaps highlighting it in the page selector when it is current
164 and unhighlighting it when it is not (we could use color as we do
165 for the console, though some color blind people may have
166 problems.
167
168 - When any director is clicked, we need to set it as the current
169 director and set the current console as well.
170
171 Remove DoubleClicking, From pages class not needed any more.
172
173 Broken with multiple directors:
174 - If you click on the second director, it will probably open, but
175 none of the pages that are defined below it will be able to talk
176 to it.  They will most likely talk to the first director.
177
178 - When any console is clicked we need to set it as the current
179 console (m_console) and also set its director as the current
180 director (m_topItem).  These are in the mainwin class.
181
182 - When any page is selected, we must set both the current
183 director (m_topItem) and current console (m_console) that this
184 page is connected to.
185
186 dhb:
187 m_topItem has been changed to Console::directorTreeItem()
188 m_currentConsole->directorTreeItem(); returns disired treeWidgetItem
189
190 - We also need a concept of a "local" director/console for each
191 page, so the page knows who it is talking to -- this doesn't
192 currently exist, so I think we must pass the director and console
193 to each page widget constructor.
194  
195 dhb:
196 m_currentConsole is saved in each page subclass's m_console.  This value
197 is set by all but the console class calling Pages::pgInitialie() in it's
198 constructor
199
200
201 In short, there is a lot of work to be done to make multiple
202 simultaneous directors work.
203
204 dhb:
205 this may be moot:
206
207 If the above prooves to be too much, we might consider to only
208 have a single director at a time, and simply let the user select
209 which director he wants to connect to (one at a time, but
210 dynamically).  In the end, this may be the best thing to do, so
211 any user who wishes to connect to multiple directors would run
212 two instances of bat.  I am a bit unsure now, but the above list
213 of things to do is much bigger than I thought it was going to be.