1 |
|
2003-08-20 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Add dialogs and commands to open database connections and add |
4 |
|
database layers. |
5 |
|
|
6 |
|
* Thuban/UI/mainwindow.py (MainWindow.DatabaseManagement): New |
7 |
|
method to open the database connection management dialog |
8 |
|
(MainWindow.AddDBLayer): New method to add a layer from a database |
9 |
|
(_has_dbconnections): New helper function to use for sensitivity |
10 |
|
(database_management command, layer_add_db command): New commands |
11 |
|
that call the above new methods. |
12 |
|
(main_menu): Add the new commands to the menu. |
13 |
|
|
14 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.__init__) |
15 |
|
(PostGISConnection.connect): Establish the actual connection in a |
16 |
|
separate method and call it in __init__. This makes it easier to |
17 |
|
override the behavior in test cases |
18 |
|
(PostGISConnection.BriefDescription): New method to return a brief |
19 |
|
description for use in dialogs. |
20 |
|
|
21 |
|
* test/test_postgis_db.py (NonConnection): DB connection that |
22 |
|
doesn't actually connect |
23 |
|
(TestBriefDescription): New class with tests for the new |
24 |
|
BriefDescription method |
25 |
|
|
26 |
2003-08-19 Jan-Oliver Wagner <[email protected]> |
2003-08-19 Jan-Oliver Wagner <[email protected]> |
27 |
|
|
28 |
Moved anything from extensions to libraries. |
Moved anything from extensions to libraries. |