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