-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO.txt
203 lines (182 loc) · 8.58 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
[X] disable drawing toolbar
[X] switch between layers when editing mode is on
[X] editing and drawing happens on seperate vector layers
[X] redraw when features are added
[X] adding new maps
[X] adding new layers
[X] if deleting layer, delete all its items first; same if deleting maps; same if deleting users
[X] deleting layers / maps makes things not break
[X] layer tree checking controls visibility
[X] Markers and points are different things
[X] layer tree position correlates to z axis
[X] Bring to front
[X] Send to back
[X] Refresh layer tree sort at z index change
[X] z index handling when adding new layers
[X] update layer data (visibility, Z axis) at key events (on window close, on new map loaded/added
[X] update user data (last map open) at key events
[X] cancel drawing with escape
[X] vector editing
[X] moving features
[X] inserting and moving vertices
[X] buttons display depending on type of layer selected
[X] deleting features
[X] adding description
[X] Remember what map user was editing last
[X] editing and layer visibility
[X] if layer is not visible you can't edit it (disable edit menu)
[X] layer can't be made invisible while editing; scratch that - disable editing mode if layer is made invisible while editing
[X] if layer is switched to invisible layer while edit mode is on, keep the button pressed, so a visible layer can be selected next and edited, but don't allow the current (invisible) layer to be edited; disable edit menu
[X] if you're editing and switch to a different layer that doesn't have that function, dont't allow editing that layer but keep the mode on
[X] polygons with holes
[X] user specified styles
[X] add style parameters to DB
[X] add style parameters to java layer object
[X] reconfigure layer data mapper to include style parameters
[X] add style parameters as env parameter when adding layer
[X] layer style settings UI
[X] clicking layer style editor while in edit mode
[X] grid should always be on top -.-
[X] fix when layer state data saved
[X] make vector lines thicker, for easier deleting
[X] adding shapes to polygons
[X] snap
[-] snap to grid
[X] opacity slider
[ ] rearrange code
[X] opacity saves to DB
[X] what happens when you leave some buttons on and load a new map?
[X] rotate function
[X] scale function
[X] drawing rectangles
[X] drawing ellipses
[X] drawing squares
[X] drawing circles
[X] changing icons (with layer type)
[X] subtracting everything from a feature should delete the feature (what happens?)
[ ] if you have rotating (or moving vertices or scaling) on and switch to points, you don't have to do any mumbo jumbo. Open layers already switches to drag on it's own, and back to desired control when going back to lines/polygons
[X] renaming stuff
[X] check if name already exists when renaming stuff
[X] loading bars
[X] info indicators
[X] populate with loading bars and info indicators
[.] user (security) integration
[X] hash and salt strategy
[X] logout
[X] Layer max and min scales
[X] DB integration
[X] client - DB communication
[X] layer visibility integration
[X] layer tree dsiplay
[X] layer editing gui controls
[X] quicksetting button
[X] remember what user was looking at last - save to map object; if it exists use it instead of zoomToStartingBounds() when loading map layers (adding map) - saving extent, now save zoomlevel too
[X] measure
[X] Marker labels
[ ] Marker label styles
[X] background color
[X] color
[ ] size
[X] visible
[X] textures
[X] z indexes (don't change them, just re-add the layers to the map)
[X] feature info
[X] geoserver url from properties file
[X] no need to insert descriptions when adding new features
[-] dataservice methods return bool: in exception -> return false
[X] marker icons for points
[X] city and village icon shouldn't be centered
[X] use .equals instead of compareTo (except for the sort class)
[X] use JST for wkt to gml instead of your own crappy function
[X] limit zoom out
[ ] color picker displays selected color and hex
[X] add icon license
[-] add security license http://www.mindrot.org/files/jBCrypt/LICENSE
[X] ffs you forgot to add navigation (back and forward button) and zoom to full extent button functions
## DIPLOMA TESTING
[ ] BROWSER COMPATIBILITY
[ ] CHROME
[ ] FIREFOX
[ ] OPERA
[ ] SAFARI
[?] meet Web Content accessibility Guidelines http://www.w3.org/WAI/intro/wcag
[.] Security
[ ] SqlInjection
[ ] DDoS
[.] field validation
[X] add user
[X] new map
[X] new layer
[X] rename map
[X] rename layer
[X] info - object name
[X] info - object description
[X] add marker
[X] performance testing
[X] web load testing
[-] web stress testing
## LONG-TERM ##
[ ] Map hyperlink. Example; user clicks on a village and a new map loads from the db, with the village only (that way you can really go into details without overloading the browser or exceeding the layer limit.
[ ] User can't be logged in from 2 places at once
[ ] identify shouldn't work if layer is not visible or outside of it's scale limits
[ ] 300 layers limit
[ ] registration form
[ ] form
[ ] serverside handling
[ ] harsh validation
[ ] add user to db
[ ] Split multipolygon into separate polygons
[ ] folder view
[ ] feature z index
[ ] do identify with wfs to skip geometry and make everything faster
[ ] all kinds of shapes on the same layer?
[ ] drawing straight lines
[ ] drawing line rectangles
[ ] drawing line circles
[ ] select (and edit) multiple features
[ ] subtract shapes from lines and points
[ ] add different grid size choices
[ ] marker label fonts
[ ] line labels
[ ] polygon labels
[ ] print
[ ] consider updating to DB less often. Maybe only when user stops editing
[ ] dash line style
[ ] line corner and ends styles
[ ] layer tree folders
[ ] style editor preview (wms service)
[ ] info editor image of selected feature (with soruounding features vidible and selected feature highlighted) [wms]
[ ] possibly an icon made from the actual feature (wms) shown in the menu if multiple features are retrieved
[ ] keyboard shortcuts
[ ] upoadable markers https://xmlgraphics.apache.org/batik/
[ ] uploadable textures
[ ] duplicate layer
[ ] vector sizes in ground units http://docs.geoserver.org/stable/en/user/styling/sld-extensions/uom.html
[ ] example: if a wfs feature is selected while rotating, switch to scaling and feature does not get unselected
[ ] multiple styles for single layer could be achieved like so http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html#attribute-based-line
for instance, each layer is allowed 10 styles, user determines properties for each style. Attributes are pre-named (style_1, style_2, ...)
## BUGS ##
[X] points aren't showing
[X] wfs layers aren't showing data
[X] switch maps around a bit, load an empty map, create a layer, add a polynom, makes 3 polynoms. I think the drawing vector might be getting stacked
[X] database special characters (naming a layer "santa's house" kills the app)
[X] when drawing a polygon, user can hold shift and click, making a polygon with only one point, which is invalid (probably also fails for lines)
[ ] maps with special characters show up encoded in the existing map picker
[X] layer tree sort uncheks and unselects layers (I think the selected layer is still selected, just not visually)
[X] deleting the last layer in the tree causes an error
[X] select layer, turn edit mode on and off, and send layer to top. grid is top again (probably gets assigned a huge z index somewhere in between, maybe if setting it to 0 everytime you resort will fix this)
[X] select layer, toggle vertice-moving, drag a vertex, click move to front, switch off edit mode, layer is not in front
[X] layer with multiple features, select erase tool, click on a feature, it's gone. Click on empty space, feature is back (only on wfs layer)
[X] click cancel when selecting color
[ ] subtract sometimes changes into add
[ ] if subtract is on when adding new layer, subtract stays on, but button is off (what about when adding new map?)
[X] info button enable/disable switch sucks
[?] map zooms after layer style is changed
[X] labels don't always show
[X] markers are getting cut
[X] max and min zoom no longer work properly. (if map is loaded at max zoom top layer is grayed out; min zoom button makes the layer invisible at current zoom instead of next)
[X] Identify location is offset
[ ] FATAL ERROR - Failed to retrieve user info, dead...
[ ] subtract is on, switch layer, subtract still on but not visible. user expects it to turn off
[ ] after a bit of bondage binding geometries no longer works . "Error binding polygon geometries"; worked on another layer; tested layer was dirt road, the main geometry is probably busted or something
[ ] can't logout if you have no maps