Mapbender Provenance Review

From OSGeo
Revision as of 01:49, 23 April 2006 by Arnulf (talk | contribs) (→‎/http/php/: clean)
Jump to navigation Jump to search

This is the Mapbender Project copy of Code Provenance Review. See also the status of the Mapbender Incubation Progress.

Goal

To establish a reasonable comfort level that projects going through incubation do not have improperly contributed code, and that the code is all under the project license.

A code provenance review is desirable because it reduces the risk of the foundation, project developers or software users becoming involved in a legal action or having their use of the software disrupted by sudden removal of improperly contributed code. In particular, many enterprises will not build on open source software projects without some degree of assurance that care is being taken to avoid improper contributions.

It is not the goal to be able to prove that every source file, and every contribution to those files, was contributed properly. The onus is not on us to prove there are no problems. However we want to ensure we do not release code with provenance issues that we could have identified and corrected with a reasonable effort.

External Library Review

Other licensing model

The following pieces of code need some attention. These modules could be included as external components with a separate download path. Maybe the distribution work group has some ideas how they can manage this.

mod_treefolder

Implements a collapsible folder tree structure which controls the layers of WMS services.

/mapbender/http/html/mod_treefolder.php

License text in mod_treefolder

The following text is included with the code. Please advise on how to proceed.

   * Copyright (c) 1999 Polzin GmbH, Duesseldorf. All Rights Reserved.
   * Author: Lutz Eymers <ixtab@polzin.com>
   * Download: http://www.polzin.com/inet/fset_inet.phtml?w=goodies
   *
   * Permission to use, copy, modify, and distribute this software
   * and its documentation for any purposes and without fee
   * is hereby granted provided that this copyright notice
   * appears in all copies.
   *
   * Of course, this software is provided "as is" without express or implied
   * warranty of any kind.
   *

class.ezpdf.php

/mapbender/http/classes/class.ezpdf.php

License text in class.ezpdf.php:

The following text is included with the code. Please advise on how to proceed.

// this class will take the basic interaction facilities of the Cpdf class
// and make more useful functions so that the user does not have to
// know all the ins and outs of pdf presentation to produce something pretty.
//
// IMPORTANT NOTE
// there is no warranty, implied or otherwise with this software.
//
// version 009 (versioning is linked to class.pdf.php)
//
// released under a public domain licence.
//
// Wayne Munro, R&OS Ltd, http://www.ros.co.nz/pdf


class.pdf.php

/mapbender/http/classes/class.pdf.php

License text in class.pdf.php

The following text is included with the code. Please advise on how to proceed.

* Cpdf
*
* http://www.ros.co.nz/pdf
*
* A PHP class to provide the basic functionality to create a pdf document without
* any requirement for additional modules.
*
* Note that they companion class CezPdf can be used to extend this class and dramatically
* simplify the creation of documents.
*
* IMPORTANT NOTE
* there is no warranty, implied or otherwise with this software.
*
* LICENCE
* This code has been placed in the Public Domain for all to enjoy.

External Library with compatible License

These externl libaries are compatible to the GNU GPL.

phpmailer-1.72

/mapbender/http/classes/phpmailer-1.72

LGPL

wz-jsgraphics

/mapbender/http/extensions/wz-jsgraphics.js

Provenance: http://www.walterzorn.com

LGPL

Code Copyright Review

The objective here is to visit every source file, and identify possible issues, and work to "regularize" things.

/http/

index.php

GPL, clean
contributed by arnulf, astrid_emde, uli_rothstein
copyright by CCGIS

/http/classes/

class_administration.php

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

class_connector.php

GPL, clean
contributed by uli_rothstein
copyright by CCGIS

class_database.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_database_table.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_database_table_column.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_database_table_constraint.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_database_table_key.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_exception.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_geomColl.php

GPL, clean
contributed by uli_rothstein
copyright by CCGIS

class_geomObj.php

GPL, clean
contributed by uli_rothstein
copyright by CCGIS

class_gml.php

GPL, clean
contributed by uli_rothstein
copyright by CCGIS

class_gml2.php

GPL, clean
contributed by uli_rothstein
copyright by CCGIS

class_gmlMember.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_gui.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_log.php

GPL, please format & check text
contributed by astrid_emde
copyright by CCGIS

class_mb_exception.php

GPL, clean
contributed by c_baudson
copyright by CCGIS

class_SaveLegend.php

GPL, clean
contributed by till_adams
copyright by CCGIS

class_stripRequest.php

GPL, clean
contributed by c_baudson, uli_rothstein
copyright by CCGIS

class_weldLegend2PNG.php

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

class_weldMaps2PNG.php

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

class_weldOverview2PNG.php

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

class_wfs.php

GPL, license text missing
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS missing

class_wfs_conf.php

GPL, license text missing
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS missing

class_wmc.php

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

class_wms.php

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

/http/extensions/

The directory /http/extensions/ needs some attention. Some of these modules are hacks and just beta they still need a license text. Some of them are so tiny that the license text would be more lines of code than the module itself. Does it even then need to be added?

ext_featureInfoTunnel.php

No license reference!
contributed by uli_rothstein
copyright text missing

ext_weldMaps.php

No license reference!
contributed by uli_rothstein
copyright text missing

geom2wfst.php

No license reference!
contributed by uli_rothstein
copyright text missing

markResult.php

No license reference!
contributed by uli_rothstein
copyright text missing

security_proxy.php

No license reference!
contributed by uli_rothstein
copyright text missing

/http/frames/

frameset.html

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

index.php

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

login.php

GPL, clean
contributed by astrid_emde, c_baudson, uli_rothstein
copyright by CCGIS

/http/include/

dyn_css.php

license missing
contributed by astrid_emde
copyright missing

dyn_js.php

license missing
contributed by astrid_emde
copyright missing

dyn_php.php

license missing
contributed by astrid_emde
copyright missing

/http/javascripts/

Quite a few of these scripts do not conatain a reference to the GPL or a copyright string. In some cases the reference to the license would be longer than the code block itself. This makes sense because it reduces the amount of traffic required to load the client. Is this a problem?

Revision of these modules has been finished sucessfully --Arnulf Christl 00:36, 16 April 2006 (CEST)

map.php

GPL, clean
contributed by c_baudson, uli_rothstein
copyright CCGIS

needs formatting and cleaning out

This title can be removed once the issue is resolved. Then it will not appear in the toc. Helps orientation.

map_obj.js

GPL, clean
contributed by c_baudson, uli_rothstein
copyright CCGIS

mod_addWMS.php

GPL, clean
contributed by astrid_emde, bjoern_heuser, thekla_wirkus
copyright CCGIS

mod_addWMSfromList.php

GPL, clean
contributed by astrid_emde, thekla_wirkus
copyright CCGIS

mod_addWMSfromfilteredList.php

GPL, clean
contributed by astrid_emde, thekla_wirkus
copyright CCGIS

tbd: remove debug code

mod_addWMSgeneralFunctions.js

license missing
contributed by astrid_emde
copyright CCGIS

mod_adminNavigation.js

license missing
contributed by bjoern_heuser
copyright missing

mod_back.php

GPL; clean
contributed by bjoern_heuser, uli_rothstein
copyright CCGIS


mod_box1.js

GPL, very short notation
contributed by bjoern_heuser, uli_rothstein
copyright missing

remove?

see also mod_box.js (above)

the license reference is very short. Drop altogether or add full style

Licensing: See the GNU General Public License for more details.
http://www.gnu.org/copyleft/gpl.html
or:
mapbender/licence/

mod_cardindex.js

license missing
contributed by uli_rothstein
copyright missing

mod_center1.php

GPL; clean
contributed by bjoern_heuser, uli_rothstein
copyright CCGIS

mod_closePolygon.js

license missing
contributed by bjoern_heuser, uli_rothstein
copyright missing

remove explicit reference to image file

mod_closePolygonExt.js

license missing
contributed by bjoern_heuser, uli_rothstein
copyright missing

remove explicit reference to image file

mod_coords.php

GPL; clean
contributed by astrid_emde, bjoern_heuser, christoph_baudson, uli_rothstein
copyright CCGIS

mod_coords_div.php

GPL; clean
contributed by astrid_emde, bjoern_heuser, christoph_baudson, uli_rothstein
copyright CCGIS

check whether required

Check whether both mod_coords.php and mod_coords_div.php are required & check diff.

mod_copyright.php

GPL; clean
contributed by arnulf_christl, astrid_emde
copyright CCGIS

mod_dependentDiv.php

GPL; clean
contributed by astrid_emde, bjoern_heuser, christoph_baudson
copyright CCGIS

mod_dependentIframe.php

GPL; clean
contributed by till_adams
copyright CCGIS

mod_digitize_js.php

GPL; clean
contributed by astrid_emde, bjoern_heuser, christoph_baudson
copyright CCGIS

mod_digitize_tab.php

GPL; clean
contributed by christoph_baudson
copyright CCGIS

hard coded image folder and names?

mod_digitize_tab_gml2java_beta.php

GPL; clean
contributed by christoph_baudson
copyright CCGIS

remove?

mod_displayObj.js

license missing
contributed by astrid_emde
copyright missing

mod_displayWmc.php

GPL; clean
contributed by uli_rothstein
copyright CCGIS

mod_dragMapSize.php

GPL; clean
contributed by uli_rothstein
copyright CCGIS

mod_embedded_legend.php

GPL; clean
contributed by till_adams
copyright by CCGIS

mod_export_image.php

GPL; clean
contributed by astrid_emde, uli_rothstein
copyright CCGIS

hackish, needs some cleaning up

mod_featureInfo.php

GPL; clean
contributed by bjoern_heuser, uli_rothstein
copyright by CCGIS

mod_featureInfoRedirect.php

GPL; clean
contributed by astrid_emde, uli_rothstein
copyright by CCGIS

mod_featureInfoTunnel.php

GPL; clean
contributed by astrid_emde, uli_rothstein
copyright by CCGIS

mod_forward.php

GPL; clean
contributed by uli_rothstein
copyright by CCGIS

mod_getArea.php

GPL; clean
contributed by uli_rothstein
copyright by CCGIS

hackish

Should be enhanced to work with non metric crs.

mod_insertWmcIntoDb.php

GPL; clean
contributed by christoph_baudson, uli_rothstein
copyright by CCGIS

mod_key.php

license missing
contributed by uli_rothstein
copyright missing

mod_legend.php

GPL, clean
contributed by till_adams
copyright CCGIS / terrestris

needs some cleaning

mod_legend_tab.php

GPL; clean
contributed by uli_rothstein
copyright by CCGIS

needs some cleaning

mod_loadwmc.php

GPL; clean
contributed by christoph_baudson
copyright by CCGIS

mod_log.js

license missing
contributed by bjoern_heuser
copyright missing

mod_measure.php

GPL; clean
contributed by bjoern_heuser, uli_rothstein
copyright by CCGIS

metric crs only

mod_navFrame.php

GPL; clean
contributed by bjoern_heuser, uli_rothstein
copyright by CCGIS

mod_pan.php

GPL; clean
contributed by bjoern_heuser, uli_rothstein
copyright by CCGIS

mod_permanentHighlight.js

license missing
contributed by bjoern_heuser, uli_rothstein
copyright missing

mod_print1.php

GPL; clean
contributed by astrid_emde, uli_rothstein
copyright by CCGIS

mod_repaint.php

GPL; clean
contributed by bjoern_heuser, uli_rothstein
copyright by CCGIS

mod_rubber.js

license missing
contributed by uli_rothstein
copyright missing

mod_rubberExt.js

license missing
contributed by uli_rothstein
copyright missing

mod_sandclock.php

GPL; clean
contributed by bjoern_heuser, uli_rothstein
copyright by CCGIS

mod_sandclock2.php

license missing
contributed by bjoern_heuser, uli_rothstein
copyright missing

mod_saveWKT.js

license missing
contributed by bjoern_heuser, uli_rothstein
copyright missing

mod_savewmc.php

GPL; clean
contributed by christoph_baudson, uli_rothstein
copyright by CCGIS

mod_scaleHint.php

GPL; clean
contributed by arnulf_christl, uli_rothstein
copyright by CCGIS

mod_scaleSel.php

license missing
contributed by uli_rothstein
copyright missing

mod_scaleText.php

license missing
contributed by uli_rothstein
copyright missing

mod_scalebar.php

license missing
contributed by astrid_emde, uli_rothstein
copyright missing

mod_selArea.php

license missing
contributed by astrid_emde, uli_rothstein
copyright missing

extend or deprecate

compare with mod_selArea1.php and check which can be deprecated

mod_selArea1.php

GPL; clean
contributed by astrid_emde, uli_rothstein
copyright by CCGIS

mod_selectMapsize.php

GPL; clean
contributed by astrid_emde, uli_rothstein
copyright by CCGIS

mod_setBBOX1.php

license missing
contributed by bjoern_heuser, uli_rothstein
copyright missing

mod_setBackground.php

GPL; clean
contributed by astrid_emde, bjoern_heuser, uli_rothstein
copyright by CCGIS

mod_setBackground_all.php

GPL; clean
contributed by astrid_emde, bjoern_heuser, uli_rothstein
copyright by CCGIS

mod_setTimeout.php

GPL; clean
contributed by uli_rothstein
copyright by CCGIS

mod_state.php

GPL; clean
contributed by uli_rothstein
copyright by CCGIS

mod_tab.js

license missing
contributed by astrid_emde, uli_rothstein
copyright missing

mod_tab.php

license missing
contributed by astrid_emde, uli_rothstein
copyright missing

mod_tab_gui.js

license missing
contributed by astrid_emde, uli_rothstein
copyright missing

mod_tab_gui_cb.js

license missing
contributed by astrid_emde, uli_rothstein
copyright missing

remove

mod_tab_gui_de.js

license missing
contributed by astrid_emde, uli_rothstein
copyright missing

remove

mod_toggleModule.php

GPL; clean
contributed by uli_rothstein
copyright by CCGIS

mod_treeConf.js

license missing
contributed by bjoern_heuser, uli_rothstein
copyright missing

mod_usemap.php

license missing
contributed by uli_rothstein
copyright missing

hard coded wfs reference

This is a pre beta version

mod_wfs_SpatialRequest.php

GPL; clean
contributed by uli_rothstein
copyright by CCGIS

mod_zoomCoords.php

GPL, clean
contributed by uli_rothstein
copyright by CCGIS

mod_zoomFull.php

license missing
contributed by
copyright missing

mod_zoomIn1.php

license missing
contributed by
copyright missing

mod_zoomOut1.php

license missing
contributed by
copyright missing

wfs.js

license missing
contributed by
copyright missing

wfs_obj.js

license missing
contributed by
copyright missing

/http/php/

List of all PHP code modules.

database-mysql.php

GPL, clean
contributed by bjoern_heuser, uli_rothstein
copyright CCGIS

database-pgsql.php

GPL, clean
contributed by bjoern_heuser, uli_rothstein
copyright CCGIS

mb_getGUIs.php

GPL, clean
contributed by astrid_emde, uli_rothstein
copyright CCGIS

mb_listGUIs.php

GPL, clean
contributed by astrid_emde, uli_rothstein
copyright CCGIS

mb_listWMCs.php

license missing
contributed by
copyright missing

mb_validateInput.php

license missing
contributed by
copyright missing

mb_validateSession.php

license missing
contributed by
copyright missing

mod_WMSpreferences.php

license missing
contributed by
copyright missing

mod_addWmsFromFeatureInfo.php

license missing
contributed by
copyright missing

mod_changeEPSG.php

license missing
contributed by
copyright missing

mod_changeEPSG_dynamic.php

license missing
contributed by
copyright missing

mod_changePassword.php

license missing
contributed by
copyright missing

mod_createJSObjFromDB.php

license missing
contributed by
copyright missing

mod_createJSObjFromXML.php

license missing
contributed by
copyright missing

mod_createUser.php

license missing
contributed by
copyright missing

mod_deleteFilteredGUI.php

license missing
contributed by
copyright missing

mod_deleteGUI.php

license missing
contributed by
copyright missing

mod_deleteWMS.php

license missing
contributed by
copyright missing

mod_digitize.php

license missing
contributed by
copyright missing

mod_editElementVars.php

license missing
contributed by
copyright missing

mod_editElements.php

license missing
contributed by
copyright missing

mod_editFilteredGroup.php

license missing
contributed by
copyright missing

mod_editFilteredUser.php

license missing
contributed by
copyright missing

mod_editGroup.php

license missing
contributed by
copyright missing

mod_editGuiWms.php

license missing
contributed by
copyright missing

mod_editGuiWmsMeta.php

license missing
contributed by
copyright missing

mod_editSelf.php

license missing
contributed by
copyright missing

mod_editUser.php

license missing
contributed by
copyright missing

mod_edit_element_vars.php

license missing
contributed by
copyright missing

mod_edit_metadata.php

license missing
contributed by
copyright missing

mod_evalArea.php

license missing
contributed by
copyright missing

mod_exportElement.php

license missing
contributed by
copyright missing

mod_exportGUI.php

license missing
contributed by
copyright missing

mod_export_image.php

license missing
contributed by
copyright missing

mod_filteredGroup_Gui.php

license missing
contributed by
copyright missing

mod_filteredGroup_User.php

license missing
contributed by
copyright missing

mod_filteredGroup_filteredGui.php

license missing
contributed by
copyright missing

mod_filteredGroup_filteredUser.php

license missing
contributed by
copyright missing

mod_filteredGui_User.php

license missing
contributed by
copyright missing

mod_filteredGui_filteredGroup.php

license missing
contributed by
copyright missing

mod_filteredGui_filteredUser.php

license missing
contributed by
copyright missing

mod_filteredGui_group.php

license missing
contributed by
copyright missing

mod_filteredUser_Group.php

license missing
contributed by
copyright missing

mod_filteredUser_Gui.php

license missing
contributed by
copyright missing

mod_filteredUser_filteredGroup.php

license missing
contributed by
copyright missing

mod_filteredUser_filteredGui.php

license missing
contributed by
copyright missing

mod_forgottenPassword.php

license missing
contributed by
copyright missing

mod_gazLayerObj_conf.php

license missing
contributed by
copyright missing

mod_gazLayerObj_edit.php

license missing
contributed by
copyright missing

mod_gazetteer_conf.php

license missing
contributed by
copyright missing

mod_gazetteer_edit.php

license missing
contributed by
copyright missing

mod_getStyles.php

license missing
contributed by
copyright missing

mod_group_filteredGui.php

license missing
contributed by
copyright missing

mod_group_filteredUser.php

license missing
contributed by
copyright missing

mod_group_gui.php

license missing
contributed by
copyright missing

mod_group_user.php

license missing
contributed by
copyright missing

mod_gui_filteredGroup.php

license missing
contributed by
copyright missing

mod_gui_filteredUser.php

license missing
contributed by
copyright missing

mod_gui_group.php

license missing
contributed by
copyright missing

mod_gui_owner.php

license missing
contributed by
copyright missing

mod_gui_user.php

license missing
contributed by
copyright missing

mod_loadCapabilities.php

license missing
contributed by
copyright missing

mod_loadCapabilitiesList.php

license missing
contributed by
copyright missing

mod_loadCapabilities_temp.php

license missing
contributed by
copyright missing

mod_loadWFSCapabilities.php

license missing
contributed by
copyright missing

mod_loadwfs.php

license missing
contributed by
copyright missing

mod_loadwms.php

license missing
contributed by
copyright missing

mod_loadwms_temp.php

license missing
contributed by
copyright missing

mod_log.php

license missing
contributed by
copyright missing

mod_logout.php

license missing
contributed by
copyright missing

mod_map1.php

license missing
contributed by
copyright missing

mod_mapOV.php

license missing
contributed by
copyright missing

mod_monitorCapabilities.php

GPL, clean
contributed by christoph
copyright CCGIS

mod_newGui.php

license missing
contributed by
copyright missing

mod_printView1.php

license missing
contributed by
copyright missing

mod_renameGUI.php

license missing
contributed by
copyright missing

mod_saveWKT.php

license missing
contributed by
copyright missing

mod_showLoggedUser.php

license missing
contributed by
copyright missing

mod_simpleWMSpreferences.php

license missing
contributed by
copyright missing

mod_treefolderAdmin.php

license missing
contributed by
copyright missing

mod_treefolderClient.php

license missing
contributed by
copyright missing

mod_updateWMS.php

license missing
contributed by
copyright missing

mod_usemap.php

license missing
contributed by
copyright missing

mod_user_filteredGroup.php

license missing
contributed by
copyright missing

mod_user_filteredGui.php

license missing
contributed by
copyright missing

mod_user_group.php

license missing
contributed by
copyright missing

mod_user_gui.php

license missing
contributed by
copyright missing

mod_wfs.php

license missing
contributed by
copyright missing

mod_wfsLayerObj_conf.php

license missing
contributed by
copyright missing

mod_wfs_conf.php

license missing
contributed by
copyright missing

mod_wfs_edit.php

license missing
contributed by
copyright missing

mod_wfs_gazetteer.php

license missing
contributed by
copyright missing

mod_wfs_result.php

license missing
contributed by
copyright missing

mod_wfs_save.php

license missing
contributed by
copyright missing

mod_wfsrequest.php

license missing
contributed by
copyright missing

mod_zoomCoords.php

license missing
contributed by
copyright missing

mod_zoomCoords_en.php

license missing
contributed by
copyright missing

nestedSets.php

GPL, clean
contributed by uli
copyright CCGIS