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