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