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