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