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