Browse files

Rename NavalPlan to LibrePlan

* Change all folders and file names
* Change string in all files

FEA: ItEr75S03CommunityMaterial
  • Loading branch information...
1 parent 9444083 commit 2a7e571edcc5b23658dd48312c49cef9422ea4e7 @mrego mrego committed Oct 28, 2011
Showing with 16,491 additions and 4,398 deletions.
  1. +18 −18 HACKING
  2. +42 −42 INSTALL
  3. +19 −19 NEWS
  4. +13 −13 README
  5. +20 −20 UPDATE
  6. +1 −1 contrib/cutycapt/debian/changelog
  7. +6 −0 debian/51libreplan.policy
  8. +0 −6 debian/51navalplan.policy
  9. +19 −19 debian/changelog
  10. +5 −5 debian/control
  11. +5 −5 debian/control.lucid
  12. +5 −5 debian/control.squeeze
  13. +2 −2 debian/copyright
  14. +9 −0 debian/libreplan.config
  15. +6 −0 debian/libreplan.install
  16. +92 −0 debian/libreplan.postinst
  17. +26 −0 debian/libreplan.postrm
  18. +15 −0 debian/libreplan.prerm
  19. +0 −9 debian/navalplan.config
  20. +0 −6 debian/navalplan.install
  21. +0 −92 debian/navalplan.postinst
  22. +0 −26 debian/navalplan.postrm
  23. +0 −15 debian/navalplan.prerm
  24. +9 −9 debian/rules
  25. 0 doc/src/technical/{exercicio-navalplan.odt → exercicio-libreplan.odt}
  26. +2 −2 doc/src/technical/guia-desenvolvemento/docinfo
  27. +8 −8 doc/src/technical/guia-desenvolvemento/guia-arquitectura.rst
  28. +2 −2 doc/src/technical/guia-desenvolvemento/guia-desenvolvemento-git.rst
  29. +1 −1 doc/src/technical/guia-desenvolvemento/guia-desenvolvemento.rst
  30. +121 −121 doc/src/technical/guia-desenvolvemento/guia-integracion-terceiros.rst
  31. +877 −0 doc/src/technical/howto-create-a-new-report-in-libreplan.rst
  32. +0 −877 doc/src/technical/howto-create-a-new-report-in-navalplan.rst
  33. +2,659 −0 doc/src/technical/howto-develop-a-use-case-in-libreplan.rst
  34. +0 −2,659 doc/src/technical/howto-develop-a-use-case-in-navalplan.rst
  35. +3 −3 doc/src/technical/howto-install-eclipse.txt
  36. +18 −0 doc/src/technical/howto-install-libreplan-from-deb.txt
  37. +99 −0 doc/src/technical/howto-install-libreplan.txt
  38. +0 −18 doc/src/technical/howto-install-navalplan-from-deb.txt
  39. +0 −99 doc/src/technical/howto-install-navalplan.txt
  40. +4 −4 doc/src/training-exercises/es/01-ejercicios-sesion2.rst
  41. +3 −3 doc/src/training-exercises/es/docinfo
  42. +4 −4 doc/src/training-exercises/gl/01-exercicios-sesion2-grupo1.rst
  43. +4 −4 doc/src/training-exercises/gl/02-exercicios-sesion2-grupo2.rst
  44. +4 −4 doc/src/training-exercises/gl/03-exercicios-sesion2-grupo3.rst
  45. +4 −4 doc/src/training-exercises/gl/04-exercicios-sesion2-grupo4.rst
  46. +4 −4 doc/src/training-exercises/gl/05-exercicios-sesion2-grupo5.rst
  47. +3 −3 doc/src/training-exercises/gl/docinfo
  48. +34 −34 doc/src/training/es/curso-formacion.rst
  49. +3 −3 doc/src/training/es/docinfo
  50. +33 −33 doc/src/training/gl/01-curso-formacion.rst
  51. +3 −3 doc/src/training/gl/docinfo
  52. +8 −8 doc/src/user/en/01-introducion.rst
  53. +1 −1 doc/src/user/en/06-pedidos.rst
  54. +1 −1 doc/src/user/en/07-planificacion.rst
  55. +1 −1 doc/src/user/en/13-usuarios.rst
  56. +1 −1 doc/src/user/en/15-informes.rst
  57. +1 −1 doc/src/user/en/20-acerca-de.rst
  58. +3 −3 doc/src/user/en/docinfo
  59. +9 −9 doc/src/user/es/01-introducion.rst
  60. +1 −1 doc/src/user/es/06-pedidos.rst
  61. +1 −1 doc/src/user/es/07-planificacion.rst
  62. +1 −1 doc/src/user/es/13-usuarios.rst
  63. +1 −1 doc/src/user/es/15-informes.rst
  64. +1 −1 doc/src/user/es/20-acerca-de.rst
  65. +2 −2 doc/src/user/es/docinfo
  66. +9 −9 doc/src/user/gl/01-introducion.rst
  67. +1 −1 doc/src/user/gl/06-pedidos.rst
  68. +1 −1 doc/src/user/gl/07-planificacion.rst
  69. +1 −1 doc/src/user/gl/13-usuarios.rst
  70. +1 −1 doc/src/user/gl/15-informes.rst
  71. +1 −1 doc/src/user/gl/20-acerca-de.rst
  72. +2 −2 doc/src/user/gl/docinfo
  73. +3 −3 ganttzk/pom.xml
  74. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/CommandContextualized.java
  75. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/CommandOnTaskContextualized.java
  76. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/DatesMapperOnInterval.java
  77. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/DependencyComponent.java
  78. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/DependencyList.java
  79. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/FilterAndParentExpandedPredicates.java
  80. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/FunctionalityExposedForExtensions.java
  81. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/GanttPanel.java
  82. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/IChartVisibilityChangedListener.java
  83. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/IDatesMapper.java
  84. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/IPredicate.java
  85. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/LeftPane.java
  86. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/LeftTasksTree.java
  87. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/LeftTasksTreeRow.java
  88. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/MilestoneComponent.java
  89. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/Planner.java
  90. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/TabSwitcher.java
  91. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/TabsRegistry.java
  92. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/TaskComponent.java
  93. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/TaskContainerComponent.java
  94. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/TaskEditFormComposer.java
  95. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/TaskList.java
  96. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/TaskRow.java
  97. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/AutoAdapter.java
  98. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/DomainDependency.java
  99. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/IAdapterToTaskFundamentalProperties.java
  100. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/IDisabilityConfiguration.java
  101. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/IDomainAndBeansMapper.java
  102. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/IStructureNavigator.java
  103. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/PlannerConfiguration.java
  104. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/State.java
  105. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/adapters/TabsConfiguration.java
  106. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/ConstraintCalculator.java
  107. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/DefaultFundamentalProperties.java
  108. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/Dependency.java
  109. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/DependencyType.java
  110. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/GanttDate.java
  111. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/GanttDiagramGraph.java
  112. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/IDependency.java
  113. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/ITaskFundamentalProperties.java
  114. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/Milestone.java
  115. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/Position.java
  116. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/Task.java
  117. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/TaskContainer.java
  118. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/TaskLeaf.java
  119. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/constraint/Constraint.java
  120. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/constraint/ConstraintOnComparableValues.java
  121. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/criticalpath/CriticalPathCalculator.java
  122. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/criticalpath/ICriticalPathCalculable.java
  123. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/criticalpath/InitialNode.java
  124. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/criticalpath/LastNode.java
  125. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/criticalpath/Node.java
  126. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/resourceload/LoadLevel.java
  127. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/resourceload/LoadPeriod.java
  128. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/resourceload/LoadTimeLine.java
  129. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/data/resourceload/TimeLineRole.java
  130. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/extensions/ContextRelativeToOtherComponent.java
  131. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/extensions/ContextWithPlannerTask.java
  132. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/extensions/ICommand.java
  133. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/extensions/ICommandOnTask.java
  134. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/extensions/IContext.java
  135. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/extensions/IContextWithPlannerTask.java
  136. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/extensions/ITab.java
  137. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/extensions/TabProxy.java
  138. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/i18n/I18nHelper.java
  139. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/resourceload/IFilterChangedListener.java
  140. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/resourceload/IPaginationFilterChangedListener.java
  141. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/resourceload/ISeeScheduledOfListener.java
  142. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/resourceload/ResourceLoadComponent.java
  143. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/resourceload/ResourceLoadLeftPane.java
  144. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/resourceload/ResourceLoadList.java
  145. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/resourceload/ResourcesLoadPanel.java
  146. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/servlets/CallbackServlet.java
  147. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/ICellForDetailItemRenderer.java
  148. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/IConvertibleToColumn.java
  149. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/OnColumnsRowRenderer.java
  150. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/PairOfLists.java
  151. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/TimeTrackedTable.java
  152. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/TimeTrackedTableWithLeftPane.java
  153. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/TimeTracker.java
  154. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/TimeTrackerComponent.java
  155. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/TimeTrackerComponentWithoutColumns.java
  156. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/DetailFiveTimeTrackerState.java
  157. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/DetailFourTimeTrackerState.java
  158. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/DetailItem.java
  159. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/DetailOneTimeTrackerState.java
  160. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/DetailSixTimeTrackerState.java
  161. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/DetailThreeTimeTrackerState.java
  162. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/DetailTwoTimeTrackerState.java
  163. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/IDetailItemModificator.java
  164. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/IZoomLevelChangedListener.java
  165. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/SeveralModificators.java
  166. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/TimeTrackerState.java
  167. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/TimeTrackerStateWithSubintervalsFitting.java
  168. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/timetracker/zoom/ZoomLevel.java
  169. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/ComponentsFinder.java
  170. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/ConstraintViolationNotificator.java
  171. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/Emitter.java
  172. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/GanttUtils.java
  173. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/IAction.java
  174. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/IMenuItemsRegister.java
  175. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/Interval.java
  176. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/LongOperationFeedback.java
  177. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/MenuBuilder.java
  178. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/MutableTreeModel.java
  179. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/OnZKDesktopRegistry.java
  180. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/PreAndPostNotReentrantActionsWrapper.java
  181. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/ProfilingLogFactory.java
  182. +1 −1 ganttzk/src/main/java/org/zkoss/ganttz/util/WeakReferencedListeners.java
  183. +3 −3 ganttzk/src/main/resources/i18n/es.po
  184. +3 −3 ganttzk/src/main/resources/i18n/gl.po
  185. +2 −2 ganttzk/src/main/resources/i18n/keys.pot
  186. +2 −2 ganttzk/src/main/resources/i18n/ru.po
  187. +1 −1 ganttzk/src/main/resources/web/ganttz/resourceload/leftPane.zul
  188. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/leftPane.zul
  189. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/leftTasksTree.zul
  190. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/leftTasksTreeRow.zul
  191. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/leftTasksTreeRowLabels.zul
  192. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/plannerLayout.zul
  193. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul
  194. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/scripts.zul
  195. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/tabSwitcher.zul
  196. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/timetracker/secondlevelwithoutwatermark.zul
  197. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/timetracker/timetrackedtable.zul
  198. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/timetracker/timetracker.zul
  199. +1 −1 ganttzk/src/main/resources/web/ganttz/zul/timetracker/timetrackersecondlevel.zul
  200. +1 −1 ganttzk/src/main/resources/web/js/ganttz/advanceAllocations.js
  201. +1 −1 ganttzk/src/main/resources/web/js/ganttz/resourceload/resourcesloadleftpane.js
  202. +1 −1 ganttzk/src/test/java/org/zkoss/ganttz/data/constraint/ConstraintOnComparableValuesTest.java
  203. +1 −1 ganttzk/src/test/java/org/zkoss/ganttz/data/constraint/ConstraintTest.java
  204. +1 −1 ganttzk/src/test/java/org/zkoss/ganttz/data/criticalpath/CriticalPathCalculatorTest.java
  205. +1 −1 ganttzk/src/test/java/org/zkoss/ganttz/data/resourceload/LoadLevelTest.java
  206. +1 −1 ganttzk/src/test/java/org/zkoss/ganttz/data/resourceload/LoadPeriodTest.java
  207. +1 −1 ganttzk/src/test/java/org/zkoss/ganttz/data/resourceload/LoadTimelineTest.java
  208. +1 −1 ganttzk/src/test/java/org/zkoss/ganttz/timetracker/OnColumnsRowRendererTest.java
  209. +1 −1 ganttzk/src/test/java/org/zkoss/ganttz/util/MutableTreeModelTest.java
  210. +224 −0 libreplan-business/pom.xml
  211. +50 −0 libreplan-business/src/main/java/org/libreplan/business/BootstrapOrder.java
  212. +37 −0 libreplan-business/src/main/java/org/libreplan/business/BusinessGlobalNames.java
  213. +28 −0 libreplan-business/src/main/java/org/libreplan/business/IDataBootstrap.java
  214. +26 −0 libreplan-business/src/main/java/org/libreplan/business/INewObject.java
  215. +48 −0 .../src/main/java/org/libreplan/business/advance/bootstrap/DefaultAdvanceTypesBootstrapListener.java
  216. +74 −0 ...plan-business/src/main/java/org/libreplan/business/advance/bootstrap/PredefinedAdvancedTypes.java
  217. +39 −0 libreplan-business/src/main/java/org/libreplan/business/advance/daos/AdvanceAssignmentDAO.java
  218. +37 −0 libreplan-business/src/main/java/org/libreplan/business/advance/daos/AdvanceMeasurementDAO.java
  219. +110 −0 libreplan-business/src/main/java/org/libreplan/business/advance/daos/AdvanceTypeDAO.java
  220. +33 −0 libreplan-business/src/main/java/org/libreplan/business/advance/daos/IAdvanceAssignmentDAO.java
  221. +33 −0 libreplan-business/src/main/java/org/libreplan/business/advance/daos/IAdvanceMeasurementDAO.java
  222. +55 −0 libreplan-business/src/main/java/org/libreplan/business/advance/daos/IAdvanceTypeDAO.java
  223. +109 −0 libreplan-business/src/main/java/org/libreplan/business/advance/entities/AdvanceAssignment.java
  224. +110 −0 ...lan-business/src/main/java/org/libreplan/business/advance/entities/AdvanceAssignmentTemplate.java
  225. +188 −0 libreplan-business/src/main/java/org/libreplan/business/advance/entities/AdvanceMeasurement.java
  226. +53 −0 ...-business/src/main/java/org/libreplan/business/advance/entities/AdvanceMeasurementComparator.java
  227. +274 −0 libreplan-business/src/main/java/org/libreplan/business/advance/entities/AdvanceType.java
  228. +268 −0 ...eplan-business/src/main/java/org/libreplan/business/advance/entities/DirectAdvanceAssignment.java
  229. +84 −0 ...lan-business/src/main/java/org/libreplan/business/advance/entities/IndirectAdvanceAssignment.java
  230. +58 −0 ...org/libreplan/business/advance/exceptions/DuplicateAdvanceAssignmentForOrderElementException.java
  231. +57 −0 ...ava/org/libreplan/business/advance/exceptions/DuplicateValueTrueReportGlobalAdvanceException.java
  232. +195 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/BaseCalendarDAO.java
  233. +41 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/CalendarAvailabilityDAO.java
  234. +41 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/CalendarDataDAO.java
  235. +41 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/CalendarExceptionDAO.java
  236. +119 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/CalendarExceptionTypeDAO.java
  237. +51 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/IBaseCalendarDAO.java
  238. +35 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/ICalendarAvailabilityDAO.java
  239. +35 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/ICalendarDataDAO.java
  240. +35 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/daos/ICalendarExceptionDAO.java
  241. +54 −0 ...eplan-business/src/main/java/org/libreplan/business/calendars/daos/ICalendarExceptionTypeDAO.java
  242. +620 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/AvailabilityTimeLine.java
  243. +1,230 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/BaseCalendar.java
  244. +129 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/CalendarAvailability.java
  245. +64 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/CalendarBootstrap.java
  246. +252 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/CalendarData.java
  247. +132 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/CalendarException.java
  248. +196 −0 ...eplan-business/src/main/java/org/libreplan/business/calendars/entities/CalendarExceptionType.java
  249. +64 −0 ...-business/src/main/java/org/libreplan/business/calendars/entities/CalendarExceptionTypeColor.java
  250. +269 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/Capacity.java
  251. +194 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/CombinedWorkHours.java
  252. +67 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/ICalendar.java
  253. +35 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/ICalendarBootstrap.java
  254. +62 −0 ...ess/src/main/java/org/libreplan/business/calendars/entities/PredefinedCalendarExceptionTypes.java
  255. +91 −0 libreplan-business/src/main/java/org/libreplan/business/calendars/entities/ResourceCalendar.java
  256. +74 −0 ...eplan-business/src/main/java/org/libreplan/business/calendars/entities/SameWorkHoursEveryDay.java
  257. +249 −0 ...s/src/main/java/org/libreplan/business/calendars/entities/ThereAreHoursOnWorkHoursCalculator.java
  258. +132 −0 libreplan-business/src/main/java/org/libreplan/business/common/AdHocTransactionService.java
  259. +151 −0 libreplan-business/src/main/java/org/libreplan/business/common/BaseEntity.java
  260. +64 −0 libreplan-business/src/main/java/org/libreplan/business/common/Configuration.java
  261. +92 −0 libreplan-business/src/main/java/org/libreplan/business/common/Flagged.java
  262. +35 −0 libreplan-business/src/main/java/org/libreplan/business/common/IAdHocTransactionService.java
  263. +37 −0 libreplan-business/src/main/java/org/libreplan/business/common/IHumanIdentifiable.java
  264. +30 −0 libreplan-business/src/main/java/org/libreplan/business/common/IOnTransaction.java
  265. +199 −0 libreplan-business/src/main/java/org/libreplan/business/common/IntegrationEntity.java
  266. +799 −0 libreplan-business/src/main/java/org/libreplan/business/common/LibrePlanClassValidator.java
  267. +139 −0 libreplan-business/src/main/java/org/libreplan/business/common/ProportionalDistributor.java
  268. +357 −0 libreplan-business/src/main/java/org/libreplan/business/common/Registry.java
  269. +55 −0 libreplan-business/src/main/java/org/libreplan/business/common/VersionInformation.java
  270. +71 −0 libreplan-business/src/main/java/org/libreplan/business/common/daos/ConfigurationDAO.java
  271. +166 −0 libreplan-business/src/main/java/org/libreplan/business/common/daos/EntitySequenceDAO.java
  272. +227 −0 libreplan-business/src/main/java/org/libreplan/business/common/daos/GenericDAOHibernate.java
  273. +49 −0 libreplan-business/src/main/java/org/libreplan/business/common/daos/IConfigurationDAO.java
  274. +62 −0 libreplan-business/src/main/java/org/libreplan/business/common/daos/IEntitySequenceDAO.java
  275. +171 −0 libreplan-business/src/main/java/org/libreplan/business/common/daos/IGenericDAO.java
  276. +71 −0 libreplan-business/src/main/java/org/libreplan/business/common/daos/IIntegrationEntityDAO.java
  277. +109 −0 libreplan-business/src/main/java/org/libreplan/business/common/daos/IntegrationEntityDAO.java
  278. +362 −0 libreplan-business/src/main/java/org/libreplan/business/common/entities/Configuration.java
  279. +137 −0 libreplan-business/src/main/java/org/libreplan/business/common/entities/ConfigurationBootstrap.java
  280. +61 −0 libreplan-business/src/main/java/org/libreplan/business/common/entities/ConfigurationRolesLDAP.java
  281. +131 −0 libreplan-business/src/main/java/org/libreplan/business/common/entities/EntityNameEnum.java
  282. +229 −0 libreplan-business/src/main/java/org/libreplan/business/common/entities/EntitySequence.java
  283. +35 −0 libreplan-business/src/main/java/org/libreplan/business/common/entities/IConfigurationBootstrap.java
  284. +247 −0 libreplan-business/src/main/java/org/libreplan/business/common/entities/LDAPConfiguration.java
  285. +68 −0 libreplan-business/src/main/java/org/libreplan/business/common/entities/ProgressType.java
  286. +39 −0 ...n-business/src/main/java/org/libreplan/business/common/exceptions/DuplicateInstanceException.java
  287. +55 −0 libreplan-business/src/main/java/org/libreplan/business/common/exceptions/InstanceException.java
  288. +39 −0 ...an-business/src/main/java/org/libreplan/business/common/exceptions/InstanceNotFoundException.java
  289. +38 −0 ...n-business/src/main/java/org/libreplan/business/common/exceptions/MultipleInstancesException.java
  290. +124 −0 libreplan-business/src/main/java/org/libreplan/business/common/exceptions/ValidationException.java
  291. +151 −0 libreplan-business/src/main/java/org/libreplan/business/costcategories/daos/CostCategoryDAO.java
  292. +56 −0 libreplan-business/src/main/java/org/libreplan/business/costcategories/daos/HourCostDAO.java
  293. +52 −0 libreplan-business/src/main/java/org/libreplan/business/costcategories/daos/ICostCategoryDAO.java
  294. +37 −0 libreplan-business/src/main/java/org/libreplan/business/costcategories/daos/IHourCostDAO.java
  295. +38 −0 ...src/main/java/org/libreplan/business/costcategories/daos/IResourcesCostCategoryAssignmentDAO.java
  296. +70 −0 libreplan-business/src/main/java/org/libreplan/business/costcategories/daos/ITypeOfWorkHoursDAO.java
  297. +64 −0 .../src/main/java/org/libreplan/business/costcategories/daos/ResourcesCostCategoryAssignmentDAO.java
  298. +170 −0 libreplan-business/src/main/java/org/libreplan/business/costcategories/daos/TypeOfWorkHoursDAO.java
  299. +343 −0 libreplan-business/src/main/java/org/libreplan/business/costcategories/entities/CostCategory.java
  300. +161 −0 libreplan-business/src/main/java/org/libreplan/business/costcategories/entities/HourCost.java
Sorry, we could not display the entire diff because too many files (3,288) changed.
View
36 HACKING
@@ -1,9 +1,9 @@
Hacking
=======
-This is a guide about how to start hacking on *NavalPlan* project. If you want
-more information about *NavalPlan* development you should visit the wiki
-available at: http://wiki.navalplan.org/.
+This is a guide about how to start hacking on *LibrePlan* project. If you want
+more information about *LibrePlan* development you should visit the wiki
+available at: http://wiki.libreplan.org/.
.. contents::
@@ -48,7 +48,7 @@ Compilation requirements
Required for printing
-NavalPlan compilation
+LibrePlan compilation
---------------------
Debian/Ubuntu
@@ -72,18 +72,18 @@ Debian/Ubuntu
* Download source code::
- $ git clone git://navalplan.git.sourceforge.net/gitroot/navalplan/navalplan
+ $ git clone git://libreplan.git.sourceforge.net/gitroot/libreplan/libreplan
* Compile project::
$ mvn clean install
* Launch application::
- $ cd navalplanner-webapp/
+ $ cd libreplan-webapp/
$ mvn jetty:run
-* Go to http://localhost:8080/navalplanner-webapp/
+* Go to http://localhost:8080/libreplan-webapp/
Fedora
~~~~~~
@@ -121,18 +121,18 @@ Fedora
* Download source code::
- $ git clone git://navalplan.git.sourceforge.net/gitroot/navalplan/navalplan
+ $ git clone git://libreplan.git.sourceforge.net/gitroot/libreplan/libreplan
* Compile project::
$ mvn clean install
* Launch application::
- $ cd navalplanner-webapp/
+ $ cd libreplan-webapp/
$ mvn jetty:run
-* Go to http://localhost:8080/navalplanner-webapp/
+* Go to http://localhost:8080/libreplan-webapp/
openSUSE
~~~~~~~~
@@ -181,18 +181,18 @@ openSUSE
* Download source code::
- $ git clone git://navalplan.git.sourceforge.net/gitroot/navalplan/navalplan
+ $ git clone git://libreplan.git.sourceforge.net/gitroot/libreplan/libreplan
* Compile project::
$ mvn clean install
* Launch application::
- $ cd navalplanner-webapp/
+ $ cd libreplan-webapp/
$ mvn jetty:run
-* Go to http://localhost:8080/navalplanner-webapp/
+* Go to http://localhost:8080/libreplan-webapp/
CutyCapt compilation
@@ -269,7 +269,7 @@ openSUSE
Compilation profiles
--------------------
-There are different compilation profiles in *NavalPlan*. Check ``<profiles>``
+There are different compilation profiles in *LibrePlan*. Check ``<profiles>``
section in root ``pom.xml`` to see the different profiles (there are also some
profiles defined in ``pom.xml`` of business and webapp modules).
@@ -299,14 +299,14 @@ profiles defined in ``pom.xml`` of business and webapp modules).
* *reports* - JasperReports (default)
- If it is active *NavalPlan* reports are compiled.
+ If it is active *LibrePlan* reports are compiled.
It is useful to disable this profile to save compilation time during
development.
* *userguide* - User documentation (default)
- If it is active *NavalPlan* help is compiled and HTML files are generated.
+ If it is active *LibrePlan* help is compiled and HTML files are generated.
User documentation is written in *reStructuredText* and it is generated
automatically thanks to this profile.
@@ -344,7 +344,7 @@ command. For example:
Tests
-----
-*NavalPlan* has a lot of JUnit test that by default are passed when you compile
+*LibrePlan* has a lot of JUnit test that by default are passed when you compile
the project with Maven. You can use ``-DskipTests`` to avoid tests are passed
always. Anyway, you should check that tests are not broken before sending or
pushing a patch.
@@ -372,5 +372,5 @@ For MySQL users here are specific instructions.
* Launch application::
- $ cd navalplanner-webapp/
+ $ cd libreplan-webapp/
$ mvn -Pdev,mysql jetty:run
View
84 INSTALL
@@ -1,14 +1,14 @@
Install
=======
-This is a guide about how to install *NavalPlan* project in your system. If you
-want to upgrade your *NavalPlan* version see ``UPDATE`` file. If you want to
+This is a guide about how to install *LibrePlan* project in your system. If you
+want to upgrade your *LibrePlan* version see ``UPDATE`` file. If you want to
know how to compile it manually see ``HACKING`` file.
.. contents::
-NavalPlan automatic installation
+LibrePlan automatic installation
--------------------------------
Ubuntu PPAs
@@ -22,31 +22,31 @@ Instructions::
$ sudo add-apt-repository ppa:libreplan/ppa
$ sudo apt-get update
- $ sudo apt-get install navalplan
+ $ sudo apt-get install libreplan
Debian packages
~~~~~~~~~~~~~~~
There are Debian packages for Squeeze (i386 and amd64), you can download them
-from: http://sourceforge.net/projects/navalplan/files/NavalPlan/
+from: http://sourceforge.net/projects/libreplan/files/LibrePlan/
Instructions:
* Download the package::
- $ wget http://downloads.sourceforge.net/project/navalplan/NavalPlan/navalplan_1.1.1-1_amd64.deb
+ $ wget http://downloads.sourceforge.net/project/libreplan/LibrePlan/libreplan_1.1.1-1_amd64.deb
* Install package::
- # dpkg -i navalplan_1.1.1-1_amd64.deb
+ # dpkg -i libreplan_1.1.1-1_amd64.deb
* Install dependencies::
# apt-get install -f
-NavalPlan manual installation
+LibrePlan manual installation
-----------------------------
Debian/Ubuntu
@@ -62,44 +62,44 @@ Debian/Ubuntu
* Use SQL sentences to create database::
- CREATE DATABASE navalplan;
- CREATE USER navalplan WITH PASSWORD 'navalplan';
- GRANT ALL PRIVILEGES ON DATABASE navalplan TO navalplan;
+ CREATE DATABASE libreplan;
+ CREATE USER libreplan WITH PASSWORD 'libreplan';
+ GRANT ALL PRIVILEGES ON DATABASE libreplan TO libreplan;
* Download database installation script::
- $ wget -O install.sql http://downloads.sourceforge.net/project/navalplan/NavalPlan/install_1.1.1.sql
+ $ wget -O install.sql http://downloads.sourceforge.net/project/libreplan/LibrePlan/install_1.1.1.sql
* Create database structure::
- $ psql -h localhost -U navalplan -W navalplan < install.sql
+ $ psql -h localhost -U libreplan -W libreplan < install.sql
* Download ``.war`` file from SourceForge.net::
- $ wget -O navalplan.war http://downloads.sourceforge.net/project/navalplan/NavalPlan/navalplan_1.1.1.war
+ $ wget -O libreplan.war http://downloads.sourceforge.net/project/libreplan/LibrePlan/libreplan_1.1.1.war
-* Create a new file ``/etc/tomcat6/Catalina/localhost/navalplan.xml`` (file
+* Create a new file ``/etc/tomcat6/Catalina/localhost/libreplan.xml`` (file
name has to match with ``.war`` name) with database configuration for
Tomcat 6::
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="">
- <Resource name="jdbc/navalplanner-ds" auth="Container"
+ <Resource name="jdbc/libreplan-ds" auth="Container"
type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
- username="navalplan" password="navalplan"
+ username="libreplan" password="libreplan"
driverClassName="org.postgresql.Driver"
- url="jdbc:postgresql://localhost/navalplan" />
+ url="jdbc:postgresql://localhost/libreplan" />
</Context>
-* Add a new Tomcat 6 policy file ``/etc/tomcat6/policy.d/51navalplan.policy``
+* Add a new Tomcat 6 policy file ``/etc/tomcat6/policy.d/51libreplan.policy``
with the following content::
- grant codeBase "file:/var/lib/tomcat6/webapps/navalplan/-" {
+ grant codeBase "file:/var/lib/tomcat6/webapps/libreplan/-" {
permission java.security.AllPermission;
};
- grant codeBase "file:/var/lib/tomcat6/webapps/navalplan.war" {
+ grant codeBase "file:/var/lib/tomcat6/webapps/libreplan.war" {
permission java.security.AllPermission;
};
@@ -108,9 +108,9 @@ Debian/Ubuntu
grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
...
- // begin:navalplan
- permission java.io.FilePermission "${catalina.base}${file.separator}webapps${file.separator}navalplan${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties", "read";
- // end:navalplan
+ // begin:libreplan
+ permission java.io.FilePermission "${catalina.base}${file.separator}webapps${file.separator}libreplan${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties", "read";
+ // end:libreplan
...
};
@@ -120,13 +120,13 @@ Debian/Ubuntu
* Copy war to Tomcat 6 web applications directory::
- # cp navalplan.war /var/lib/tomcat6/webapps/
+ # cp libreplan.war /var/lib/tomcat6/webapps/
* Restart Tomcat 6::
# /etc/init.d/tomcat6 restart
-* Go to http://localhost:8080/navalplan/
+* Go to http://localhost:8080/libreplan/
openSUSE
@@ -154,9 +154,9 @@ openSUSE
* SQL sentences to create database::
- CREATE DATABASE navalplan;
- CREATE USER navalplan WITH PASSWORD 'navalplan';
- GRANT ALL PRIVILEGES ON DATABASE navalplan TO navalplan;
+ CREATE DATABASE libreplan;
+ CREATE USER libreplan WITH PASSWORD 'libreplan';
+ GRANT ALL PRIVILEGES ON DATABASE libreplan TO libreplan;
* Set ``postgres`` user password::
@@ -170,29 +170,29 @@ openSUSE
* Download database installation script::
- $ wget -O install.sql http://downloads.sourceforge.net/project/navalplan/NavalPlan/install_1.1.1.sql
+ $ wget -O install.sql http://downloads.sourceforge.net/project/libreplan/LibrePlan/install_1.1.1.sql
* Create database structure::
- $ psql -h localhost -U navalplan -W navalplan < install.sql
+ $ psql -h localhost -U libreplan -W libreplan < install.sql
* Download ``.war`` file from SourceForge.net::
- $ wget -O navalplan.war http://downloads.sourceforge.net/project/navalplan/NavalPlan/navalplan_1.1.1.war
+ $ wget -O libreplan.war http://downloads.sourceforge.net/project/libreplan/LibrePlan/libreplan_1.1.1.war
-* Create a new file ``/etc/tomcat6/Catalina/localhost/navalplan.xml`` (file
+* Create a new file ``/etc/tomcat6/Catalina/localhost/libreplan.xml`` (file
name has to match with ``.war`` name) with database configuration for
Tomcat 6::
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="">
- <Resource name="jdbc/navalplanner-ds" auth="Container"
+ <Resource name="jdbc/libreplan-ds" auth="Container"
type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
- username="navalplan" password="navalplan"
+ username="libreplan" password="libreplan"
driverClassName="org.postgresql.Driver"
- url="jdbc:postgresql://localhost/navalplan" />
+ url="jdbc:postgresql://localhost/libreplan" />
</Context>
* Add link to Java JDBC driver for PostgreSQL in Tomcat6 libraries directory::
@@ -201,21 +201,21 @@ openSUSE
* Copy war to Tomcat 6 web applications directory::
- # cp navalplan.war /srv/tomcat6/webapps/
+ # cp libreplan.war /srv/tomcat6/webapps/
* Restart Tomcat 6::
# /etc/init.d/tomcat6 restart
-* Go to http://localhost:8080/navalplan/
+* Go to http://localhost:8080/libreplan/
Logs
----
-Since *NavalPlan 1.1.1* log system is configured automatically creating a new
+Since *LibrePlan 1.1.1* log system is configured automatically creating a new
folder under ``/var/log/tomcat6/`` with ``.war`` name. For example:
-``/var/log/tomcat6/navalplan.war``.
+``/var/log/tomcat6/libreplan.war``.
-Inside this new directory there will be two files (``navalplan.log`` and
-``navalplan-error.log``) that will be rotated every day.
+Inside this new directory there will be two files (``libreplan.log`` and
+``libreplan-error.log``) that will be rotated every day.
View
38 NEWS
@@ -12,7 +12,7 @@ labels were loaded and the persistence to disk failed.
Other minor fixes included in this version:
* Task Scheduling Status In Project report has been reviewed and fixed.
-* Now NavalPlan does not depend on server language for translations of strings
+* Now LibrePlan does not depend on server language for translations of strings
in the business module.
* Resource load chart is fixed for tasks finishing in the middle of a day.
* Solved issue on Gantt saving due to transient resource allocations.
@@ -185,7 +185,7 @@ Changes
Version 1.1.0 (19 May 2011)
---------------------------
-New major version of NavalPlan. Apart from a lot of bugfixing the main features
+New major version of LibrePlan. Apart from a lot of bugfixing the main features
included in this version are:
* Fixed problem with WebKit based browsers.
@@ -217,7 +217,7 @@ included in this version are:
* Hierarchical criteria enforced.
- Criteria in NavalPlan are like dynamic roles that resources can satisfy and
+ Criteria in LibrePlan are like dynamic roles that resources can satisfy and
can be hierarchical. This means that one general criterion can include other
more specific criteria inside. For instance, it is possible to configure the
general criterion Engineer with two children like Electric Engineer and
@@ -230,7 +230,7 @@ included in this version are:
Generic allocation is the assignment based on criteria. You specify the set
of criteria which must be satisfied by the workers who are able to do the
- task and, after this, NavalPlan looks for them and selects the ones less
+ task and, after this, LibrePlan looks for them and selects the ones less
loaded to be planned.
The algorithm which selects the workers to be assigned to a task when
@@ -268,7 +268,7 @@ included in this version are:
* admin/admin. This user is the user with administration privileges.
* user/user. This is a common user without administration privileges.
* wswriter/wswriter. This user has write permissions to use then web
- services operations which require modify or insert data in NavalPlan.
+ services operations which require modify or insert data in LibrePlan.
* wsreader/wsreader. This user has read permissions to the use web services
operations which only require read permissions.
@@ -309,7 +309,7 @@ Notes
If you are upgrading from any 1.0.x verion, you will need to manually execute on
your database the SQL sentences from file:
-``/usr/share/dbconfig-common/data/navalplan/upgrade/pgsql/1.1.0``
+``/usr/share/dbconfig-common/data/libreplan/upgrade/pgsql/1.1.0``
To get database access information review ``/etc/tomcat6/context.xml`` file.
@@ -816,7 +816,7 @@ Changes
* [Bug #898] Add column criterion type (worker or machine) in criterion types
list.
* [Bug #924] Call method useSchedulingDataFor for each order.
-* NavalPlan exercises for formation course in Spanish in reStructuredText.
+* LibrePlan exercises for formation course in Spanish in reStructuredText.
* [doc] Added more sections to use case development guide.
* [Bug #884] Show progress measurements list in reverse order.
* [Bug #884] Sort progress measurements list in reverse order.
@@ -837,7 +837,7 @@ Changes
* [i18n] Updated translations.
* [Bug #910] Change string 'Type resource assignation' to 'Resource allocation
type'
-* NavalPlan formation manual in spanish in reStructuredText.
+* LibrePlan formation manual in spanish in reStructuredText.
* [doc] Added information about interface in use case development guide.
* [Bug #892] Rename labels in 'Overall progress'
* [doc] Use case development guide.
@@ -883,7 +883,7 @@ Changes
hoursWorkedPerWorkerReport.jrxml.
* Training material update
* [doc] Added info about model and extract database data to report guide.
-* [doc] First version of basic tutorial to create a new report on NavalPlan.
+* [doc] First version of basic tutorial to create a new report on LibrePlan.
* Added comment in main pom.xml to mark the point where bundle folders for
reports are specified.
* Give more priority to the resources already picked
@@ -922,7 +922,7 @@ Changes
* Apply validation annotation to the field
* [Bug #871] The problem is due to receiving an empty list of tasks
* [Bug #865] Fix bug
-* [Bug #870] NavalPlan appears in English if browser is configured with es-es
+* [Bug #870] LibrePlan appears in English if browser is configured with es-es
* Fix bug create or edit resource should start on first tab
* [Bug #864] S-curve changes the end date of a task
* [Bug #868] It does not update the row of the order element correctly
@@ -1064,7 +1064,7 @@ Changes
* Make canWork rely on Capacity data
* Use Capacity in BaseCalendar
* Make consufing method private
-* Updated NavalPlan license headers to 2011.
+* Updated LibrePlan license headers to 2011.
* Refactored components allocation_search and allocation_search_component
* Added Resource.getCaptionFor()
* Replaced method IResourceSearchModel.byLimiting(boolean) with .byResourceType
@@ -1217,7 +1217,7 @@ Changes
Version 1.0.5 (8 Apr 2011)
--------------------------
-Last bugfixing version of NavalPlan for 1.0.x cycle, like in previous releases
+Last bugfixing version of LibrePlan for 1.0.x cycle, like in previous releases
it includes all the fixes done in the stable branch since 1.0.4. Among them we
would like to highlight:
@@ -1305,7 +1305,7 @@ Changes
Version 1.0.4 (17 Mar 2011)
---------------------------
-A new bugfixing version of NavalPlan, including a lot of bugs fixed during this
+A new bugfixing version of LibrePlan, including a lot of bugs fixed during this
month.
* Resolved some stability problems appearing under certain circumstances.
@@ -1368,7 +1368,7 @@ Changes
* [Bug #898] Add column criterion type (worker or machine) in criterion types
list.
* [Bug #924] Call method useSchedulingDataFor for each order.
-* NavalPlan exercises for formation course in Spanish in reStructuredText.
+* LibrePlan exercises for formation course in Spanish in reStructuredText.
* [Bug #884] Show progress measurements list in reverse order.
* [Bug #884] Sort progress measurements list in reverse order.
* [Bug #854] fix the labels in workingProgressPerTask report
@@ -1388,7 +1388,7 @@ Changes
* [i18n] Updated translations.
* [Bug #910] Change string 'Type resource assignation' to 'Resource allocation
type'
-* NavalPlan formation manual in spanish in reStructuredText.
+* LibrePlan formation manual in spanish in reStructuredText.
* [Bug #892] Rename labels in 'Overall progress'
* [Bug #903] Fix regression: creating a gap out of a LocalDate caused tasks may
overlap due to loose of information about hour
@@ -1444,7 +1444,7 @@ Changes
* [Bug #855] Fix bug
* Apply validation annotation to the field
* [Bug #871] The problem is due to receiving an empty list of tasks
-* [Bug #870] NavalPlan appears in English if browser is configured with es-es
+* [Bug #870] LibrePlan appears in English if browser is configured with es-es
* Fix bug create or edit resource should start on first tab
* [Bug #864] S-curve changes the end date of a task
* [Bug #868] It does not update the row of the order element correctly
@@ -1568,7 +1568,7 @@ Notes
If you are upgrading from any 1.0.x verion, you will need to manually execute on
your database the SQL sentences from file:
-``/usr/share/dbconfig-common/data/navalplan/upgrade/pgsql/1.0.0``
+``/usr/share/dbconfig-common/data/libreplan/upgrade/pgsql/1.0.0``
To get database access information review ``/etc/tomcat6/context.xml`` file.
@@ -1638,7 +1638,7 @@ Changes
Version 1.0.0 (07 Jan 2011)
---------------------------
-This is the first stable release of *NavalPlan*, a free software web
+This is the first stable release of *LibrePlan*, a free software web
application for project management.
Main features
@@ -1653,7 +1653,7 @@ Main features
* Overload resource allocation control.
* Earned Value Management (EVM).
* Cost analysis based on work reports.
-* Integration with other *NavalPlan* instances and third-parties.
+* Integration with other *LibrePlan* instances and third-parties.
* Other functionalities: materials, quality forms, project templates, planning
scenarios, multiple task progress measurement ...
View
26 README
@@ -1,18 +1,18 @@
-NavalPlan
+LibrePlan
=========
Description
-----------
-*NavalPlan* is a free software web application for project management.
+*LibrePlan* is a free software web application for project management.
-*NavalPlan* is a planning tool for users based on some concepts: company and
+*LibrePlan* is a planning tool for users based on some concepts: company and
multi-project overview, criteria assignments, tasks tagging, resources
management, resource allocation (specific and generic), company load control,
external integration, etc.
-Although its name is clearly related to shipbuilding, *Navalplan* is a fully
+Although its name is clearly related to shipbuilding, *LibrePlan* is a fully
useful planning tool for any type of company whose workflow requires project and
order administration and scheduling.
@@ -28,7 +28,7 @@ Features
* Overload resource allocation control.
* Earned Value Management [3]_.
* Cost analysis based on work reports.
-* Integration with other *NavalPlan* instances and third-parties.
+* Integration with other *LibrePlan* instances and third-parties.
* Other functionalities: Materials, quality forms, project templates, planning
scenarios, multiple task progress measurement ...
@@ -74,32 +74,32 @@ Availability
------------
The cutting-edge version of this project is always available from the Git
-repository at http://navalplan.git.sourceforge.net/.
+repository at http://libreplan.git.sourceforge.net/.
Released versions are available at
-http://sourceforge.net/projects/navalplan/files.
+http://sourceforge.net/projects/libreplan/files.
Webpage
-------
-You can find more information about *NavalPlan* at
-http://www.navalplan.org/en/.
+You can find more information about *LibrePlan* at
+http://www.libreplan.org/en/.
-For information related with *NavalPlan* development you can visit the wiki at
-http://wiki.navalplan.org/.
+For information related with *LibrePlan* development you can visit the wiki at
+http://wiki.libreplan.org/.
Reporting bugs
--------------
-Please use the bug tracker to report bugs at http://bugs.navalplan.org/.
+Please use the bug tracker to report bugs at http://bugs.libreplan.org/.
License
-------
-*NavalPlan* is released under the terms of the GNU Affero General Public
+*LibrePlan* is released under the terms of the GNU Affero General Public
License version 3 [4]_.
Please read the ``COPYING`` file for details.
View
40 UPDATE
@@ -1,13 +1,13 @@
Update
======
-This is a guide about how to upgrade *NavalPlan* when a new version is released.
+This is a guide about how to upgrade *LibrePlan* when a new version is released.
If you want to know how to install the application ``INSTALL`` file.
.. contents::
-NavalPlan automatic update
+LibrePlan automatic update
--------------------------
Ubuntu PPAs
@@ -16,7 +16,7 @@ Ubuntu PPAs
Instructions::
$ sudo apt-get update
- $ sudo apt-get install navalplan
+ $ sudo apt-get install libreplan
Debian packages
@@ -26,18 +26,18 @@ Instructions:
* Download the new package::
- $ wget http://downloads.sourceforge.net/project/navalplan/NavalPlan/navalplan_1.1.1-1_amd64.deb
+ $ wget http://downloads.sourceforge.net/project/libreplan/LibrePlan/libreplan_1.1.1-1_amd64.deb
* Install package::
- # dpkg -i navalplan_1.1.1-1_amd64.deb
+ # dpkg -i libreplan_1.1.1-1_amd64.deb
* Install new dependencies if needed::
# apt-get install -f
-NavalPlan manual update
+LibrePlan manual update
-----------------------
Debian/Ubuntu
@@ -48,32 +48,32 @@ Debian/Ubuntu
# /etc/init.d/tomcat6 stop
* Download database upgrade scripts from previous version. For example, if you
- are upgrading from *NavalPlan 1.0.4* to *NavalPlan 1.1.1* you should download
+ are upgrading from *LibrePlan 1.0.4* to *LibrePlan 1.1.1* you should download
``upgrade_1.1.0.sql``::
- $ wget http://downloads.sourceforge.net/project/navalplan/NavalPlan/upgrade_1.1.0.sql
+ $ wget http://downloads.sourceforge.net/project/libreplan/LibrePlan/upgrade_1.1.0.sql
* Upgrade database::
- $ psql -h localhost -U navalplan -W navalplan < upgrade_1.1.0.sql
+ $ psql -h localhost -U libreplan -W libreplan < upgrade_1.1.0.sql
* Download ``.war`` file of new version from SourceForge.net::
- $ wget -O navalplan.war http://downloads.sourceforge.net/project/navalplan/NavalPlan/navalplan_1.1.1.war
+ $ wget -O libreplan.war http://downloads.sourceforge.net/project/libreplan/LibrePlan/libreplan_1.1.1.war
* Backup current deployed application::
- # mv /var/lib/tomcat6/webapps/navalplan/ /tmp/
+ # mv /var/lib/tomcat6/webapps/libreplan/ /tmp/
* Copy war to Tomcat 6 web applications directory::
- # cp navalplan.war /var/lib/tomcat6/webapps/
+ # cp libreplan.war /var/lib/tomcat6/webapps/
* Start Tomcat 6::
# /etc/init.d/tomcat6 start
-* Go to http://localhost:8080/navalplan/
+* Go to http://localhost:8080/libreplan/
openSUSE
@@ -84,29 +84,29 @@ openSUSE
# /etc/init.d/tomcat6 stop
* Download database upgrade scripts from previous version. For example, if you
- are upgrading from *NavalPlan 1.0.4* to *NavalPlan 1.1.1* you should download
+ are upgrading from *LibrePlan 1.0.4* to *LibrePlan 1.1.1* you should download
``upgrade_1.1.0.sql``::
- $ wget http://downloads.sourceforge.net/project/navalplan/NavalPlan/upgrade_1.1.0.sql
+ $ wget http://downloads.sourceforge.net/project/libreplan/LibrePlan/upgrade_1.1.0.sql
* Upgrade database::
- $ psql -h localhost -U navalplan -W navalplan < upgrade_1.1.0.sql
+ $ psql -h localhost -U libreplan -W libreplan < upgrade_1.1.0.sql
* Download ``.war`` file of new version from SourceForge.net::
- $ wget -O navalplan.war http://downloads.sourceforge.net/project/navalplan/NavalPlan/navalplan_1.1.1.war
+ $ wget -O libreplan.war http://downloads.sourceforge.net/project/libreplan/LibrePlan/libreplan_1.1.1.war
* Backup current deployed application::
- # mv /srv/tomcat6/webapps/navalplan/ /tmp/
+ # mv /srv/tomcat6/webapps/libreplan/ /tmp/
* Copy war to Tomcat 6 web applications directory::
- # cp navalplan.war /srv/tomcat6/webapps/
+ # cp libreplan.war /srv/tomcat6/webapps/
* Start Tomcat 6::
# /etc/init.d/tomcat6 start
-* Go to http://localhost:8080/navalplan/
+* Go to http://localhost:8080/libreplan/
View
2 contrib/cutycapt/debian/changelog
@@ -6,7 +6,7 @@ cutycapt (20110107-2) lenny lucid maverick; urgency=low
cutycapt (20110107-1) lenny squeeze intrepid karmic lucid maverick; urgency=low
- * Updated to NavalPlan package naming.
+ * Updated to LibrePlan package naming.
-- Manuel Rego Casasnovas <mrego@igalia.com> Fri, 07 Jan 2011 10:35:17 +0100
View
6 debian/51libreplan.policy
@@ -0,0 +1,6 @@
+grant codeBase "file:/var/lib/tomcat6/webapps/libreplan/-" {
+ permission java.security.AllPermission;
+};
+grant codeBase "file:/var/lib/tomcat6/webapps/libreplan.war" {
+ permission java.security.AllPermission;
+};
View
6 debian/51navalplan.policy
@@ -1,6 +0,0 @@
-grant codeBase "file:/var/lib/tomcat6/webapps/navalplan/-" {
- permission java.security.AllPermission;
-};
-grant codeBase "file:/var/lib/tomcat6/webapps/navalplan.war" {
- permission java.security.AllPermission;
-};
View
38 debian/changelog
@@ -1,12 +1,12 @@
-navalplan (1.1.3-1) maverick; urgency=low
+libreplan (1.1.3-1) maverick; urgency=low
* Fixed important issue in Gantt view for big projects with labels.
* Added bugs fixed from stable branch.
* Released version 1.1.3.
-- Manuel Rego Casasnovas <rego@igalia.com> Fri, 12 Aug 2011 13:08:00 +0200
-navalplan (1.1.2-1) maverick; urgency=low
+libreplan (1.1.2-1) maverick; urgency=low
* Fixed critical bug that causes concurrency issues editing projects with
labels.
@@ -15,15 +15,15 @@ navalplan (1.1.2-1) maverick; urgency=low
-- Manuel Rego Casasnovas <rego@igalia.com> Wed, 18 Jul 2011 13:23:00 +0200
-navalplan (1.1.1-1) maverick; urgency=low
+libreplan (1.1.1-1) maverick; urgency=low
* Changed dependency from OpenJDK to default-jdk or default-jre.
* Added bugs fixed from stable branch.
* Released version 1.1.1.
-- Manuel Rego Casasnovas <rego@igalia.com> Wed, 07 Jun 2011 09:15:00 +0200
-navalplan (1.1.0-1) maverick; urgency=low
+libreplan (1.1.0-1) maverick; urgency=low
* Removed unnecessary dependency with texlive-latex-recommended and pgf
packages.
@@ -33,43 +33,43 @@ navalplan (1.1.0-1) maverick; urgency=low
-- Manuel Rego Casasnovas <mrego@igalia.com> Wed, 19 Apr 2011 07:50:00 +0200
-navalplan (1.0.6-1) maverick; urgency=low
+libreplan (1.0.6-1) maverick; urgency=low
* Several important bugs fixed during 1.1 stabilization.
* Released version 1.0.6.
-- Manuel Rego Casasnovas <mrego@igalia.com> Tue, 27 Apr 2011 11:49:00 +0200
-navalplan (1.0.5-1) maverick; urgency=low
+libreplan (1.0.5-1) maverick; urgency=low
* Added bugs fixed from stable branch.
* Released version 1.0.5.
-- Manuel Rego Casasnovas <mrego@igalia.com> Fri, 08 Apr 2011 11:20:46 +0200
-navalplan (1.0.4-1) maverick; urgency=low
+libreplan (1.0.4-1) maverick; urgency=low
* Added bugs fixed from stable branch.
* Released version 1.0.4.
-- Manuel Rego Casasnovas <mrego@igalia.com> Thu, 17 Mar 2011 12:27:47 +0100
-navalplan (1.0.3-1) maverick; urgency=low
+libreplan (1.0.3-1) maverick; urgency=low
* Added bugs fixed from stable branch.
* Released version 1.0.3.
-- Manuel Rego Casasnovas <mrego@igalia.com> Mon, 14 Feb 2011 07:23:58 +0100
-navalplan (1.0.2-1) maverick; urgency=low
+libreplan (1.0.2-1) maverick; urgency=low
* Fixed database installation script.
* Added bugfixed from stable branch.
* Released version 1.0.2.
-- Manuel Rego Casasnovas <mrego@igalia.com> Fri, 21 Jan 2011 12:07:33 +0100
-navalplan (1.0.1-1) maverick; urgency=low
+libreplan (1.0.1-1) maverick; urgency=low
* Added dependency with ttf-freefont on Debian package (needed for Jasper
reports).
@@ -78,41 +78,41 @@ navalplan (1.0.1-1) maverick; urgency=low
-- Manuel Rego Casasnovas <mrego@erizana> Fri, 14 Jan 2011 09:58:33 +0100
-navalplan (1.0.0-1) maverick; urgency=low
+libreplan (1.0.0-1) maverick; urgency=low
* Updated to upstream. Released version 1.0.
* Added upgrade script needed to upgrade to version 1.0.
* Added debian/rules specific for debian squeeze.
-- Manuel Rego Casasnovas <mrego@igalia.com> Tue, 07 Jan 2011 16:45:00 +0100
-navalplan (0.9.2-3) maverick; urgency=low
+libreplan (0.9.2-3) maverick; urgency=low
* Added missing postgresql dependency.
-- Manuel Rego Casasnovas <mrego@igalia.com> Tue, 07 Jan 2011 10:00:00 +0100
-navalplan (0.9.2-2) maverick; urgency=low
+libreplan (0.9.2-2) maverick; urgency=low
* Added postgresql-client dependency needed because of dbconfig.
-- Manuel Rego Casasnovas <mrego@igalia.com> Tue, 05 Jan 2011 16:12:00 +0100
-navalplan (0.9.2-1) maverick; urgency=low
+libreplan (0.9.2-1) maverick; urgency=low
* Updated to upstream.
* Fixed issues on debian package.
-- Manuel Rego Casasnovas <mrego@igalia.com> Tue, 04 Jan 2011 15:58:19 +0100
-navalplan (0.9.1) maverick; urgency=low
+libreplan (0.9.1) maverick; urgency=low
* Updated to upstream.
* Fixed problems with translations.
-- Manuel Rego Casasnovas <mrego@igalia.com> Thu, 23 Dec 2010 00:14:54 +0100
-navalplan (0.9.0) maverick; urgency=low
+libreplan (0.9.0) maverick; urgency=low
* Updated to upstream.
* Fixed issues with context.xml file.
@@ -121,19 +121,19 @@ navalplan (0.9.0) maverick; urgency=low
-- Manuel Rego Casasnovas <mrego@igalia.com> Tue, 21 Dec 2010 17:31:08 +0100
-navalplan (20100908) lucid; urgency=low
+libreplan (20100908) lucid; urgency=low
* Updated to upstream.
-- Jose Maria Casanova Crespo (Chema) <jmcasanova@igalia.com> Wed, 8 Sep 2010 00:00:00 +0000
-navalplan (20100415) karmic; urgency=low
+libreplan (20100415) karmic; urgency=low
* Updated to upstream.
-- Jose Maria Casanova Crespo (Chema) <jmcasanova@igalia.com> Thu, 15 Mar 2010 14:30:00 +0000
-navalplan (20100324) karmic; urgency=low
+libreplan (20100324) karmic; urgency=low
* Initial release.
View
10 debian/control
@@ -1,23 +1,23 @@
-Source: navalplan
+Source: libreplan
Section: web
Priority: optional
Maintainer: Adrian Perez <aperez@igalia.com>
Build-Depends: debhelper (>= 7.0.50), maven2, python-docutils,
gettext (>= 0.17), default-jdk
Standards-Version: 3.8.4
-Homepage: http://www.navalplan.org/en/
+Homepage: http://www.libreplan.org/en/
-Package: navalplan
+Package: libreplan
Architecture: any
Depends: cutycapt, postgresql, postgresql-client, xvfb, dbconfig-common, ucf,
tomcat6, default-jre-headless | default-jre, libpg-java, ttf-freefont,
${misc:Depends}
Description: Web application for project management.
- NavalPlan is a planning tool for users based on some concepts: company and
+ LibrePlan is a planning tool for users based on some concepts: company and
multi-project overview, criteria assignments, tasks tagging, resources
management, resource allocation (specific and generic), company load control,
external integration, etc.
.
- Although its name is clearly related to shipbuilding, NavalPlan is a fully
+ Although its name is clearly related to shipbuilding, LibrePlan is a fully
useful planning tool for any type of company whose workflow requires project
and order administration and scheduling.
View
10 debian/control.lucid
@@ -1,23 +1,23 @@
-Source: navalplan
+Source: libreplan
Section: web
Priority: optional
Maintainer: Adrian Perez <aperez@igalia.com>
Build-Depends: debhelper (>= 7.0.50), maven2, python-docutils,
gettext (>= 0.17), texlive-latex-recommended, pgf, openjdk-6-jdk
Standards-Version: 3.8.4
-Homepage: http://www.navalplan.org/en/
+Homepage: http://www.libreplan.org/en/
-Package: navalplan
+Package: libreplan
Architecture: any
Depends: cutycapt, postgresql, postgresql-client, xvfb, dbconfig-common, ucf,
tomcat6, openjdk-6-jre-headless | openjdk-6-jre, libpg-java, ttf-freefont,
${misc:Depends}
Description: Web application for project management.
- NavalPlan is a planning tool for users based on some concepts: company and
+ LibrePlan is a planning tool for users based on some concepts: company and
multi-project overview, criteria assignments, tasks tagging, resources
management, resource allocation (specific and generic), company load control,
external integration, etc.
.
- Although its name is clearly related to shipbuilding, NavalPlan is a fully
+ Although its name is clearly related to shipbuilding, LibrePlan is a fully
useful planning tool for any type of company whose workflow requires project
and order administration and scheduling.
View
10 debian/control.squeeze
@@ -1,23 +1,23 @@
-Source: navalplan
+Source: libreplan
Section: web
Priority: optional
Maintainer: Adrian Perez <aperez@igalia.com>
Build-Depends: debhelper (>= 7.0.50), maven2, python-docutils,
gettext (>= 0.17), texlive-latex-recommended, pgf, openjdk-6-jdk
Standards-Version: 3.8.4
-Homepage: http://www.navalplan.org/en/
+Homepage: http://www.libreplan.org/en/
-Package: navalplan
+Package: libreplan
Architecture: any
Depends: cutycapt, postgresql, postgresql-client, xvfb, dbconfig-common, ucf,
tomcat6, openjdk-6-jre-headless | openjdk-6-jre, libpg-java, ttf-freefont,
${misc:Depends}
Description: Web application for project management.
- NavalPlan is a planning tool for users based on some concepts: company and
+ LibrePlan is a planning tool for users based on some concepts: company and
multi-project overview, criteria assignments, tasks tagging, resources
management, resource allocation (specific and generic), company load control,
external integration, etc.
.
- Although its name is clearly related to shipbuilding, NavalPlan is a fully
+ Although its name is clearly related to shipbuilding, LibrePlan is a fully
useful planning tool for any type of company whose workflow requires project
and order administration and scheduling.
View
4 debian/copyright
@@ -2,7 +2,7 @@ This package was debianized by Adrian Perez
<aperez@igalia.com> on Wed, 24 Mar 2010 16:35:00 +0000.
-It was downloaded from https://sourceforge.net/projects/navalplan/
+It was downloaded from https://sourceforge.net/projects/libreplan/
Upstream Author: See AUTHORS file for details.
@@ -13,7 +13,7 @@ Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
Copyright (C) 2010-2011 Igalia, S.L.
-NavalPlan is licensed under the GNU Affero General Public License v3:
+LibrePlan is licensed under the GNU Affero General Public License v3:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
View
9 debian/libreplan.config
@@ -0,0 +1,9 @@
+#! /bin/bash
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ -r /usr/share/dbconfig-common/dpkg/config.pgsql ] ; then
+ . /usr/share/dbconfig-common/dpkg/config.pgsql
+ dbc_go libreplan $@
+fi
View
6 debian/libreplan.install
@@ -0,0 +1,6 @@
+debian/tmp/var/lib/tomcat6/webapps/libreplan.war
+debian/tmp/etc/tomcat6/policy.d/51libreplan.policy
+debian/tmp/usr/share/dbconfig-common/data/libreplan/install/pgsql
+debian/tmp/usr/share/dbconfig-common/data/libreplan/upgrade/pgsql/1.0.0
+debian/tmp/usr/share/dbconfig-common/data/libreplan/upgrade/pgsql/1.1.0
+debian/tmp/usr/share/tomcat6/lib/postgresql-jdbc3.jar
View
92 debian/libreplan.postinst
@@ -0,0 +1,92 @@
+#! /bin/bash
+set -e
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/postinst.pgsql
+
+dbc_go libreplan $@
+
+
+if [[ $1 = configure && -r /etc/dbconfig-common/libreplan.conf ]]
+then
+ . /etc/dbconfig-common/libreplan.conf
+
+ if [ -z "${dbc_dbhost}" ] ; then
+ database_host='localhost'
+ else
+ database_host=${dbc_dbhost}
+ fi
+
+ echo "Adding libreplan Tomcat configuration bits"
+
+ # Remove first (just in case!)
+ sed -i -e '/begin:libreplan/,/end:libreplan/d' /etc/tomcat6/policy.d/03catalina.policy
+ sed -i -e '/begin:libreplan/,/end:libreplan/d' /etc/tomcat6/context.xml
+
+ # Modify /etc/tomcat6/context.xml
+ #
+ saved_ifs=${IFS}
+ IFS=$'\n'
+ { cat /etc/tomcat6/context.xml; echo; } |
+ while read -r line ; do
+ if [[ ${line} = *\</Context\>* ]] ; then
+ cat <<-EOF
+ <!-- begin:libreplan -->
+ <Resource name="jdbc/libreplan-ds" auth="Container"
+ type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000"
+ username="${dbc_dbuser}" password="${dbc_dbpass}"
+ driverClassName="org.postgresql.Driver"
+ url="jdbc:postgresql://${database_host}/${dbc_dbname}"/>
+ <!-- end:libreplan -->
+ EOF
+ fi
+ echo "${line}"
+ done > /etc/tomcat6/context.xml.new
+ IFS=${saved_ifs}
+
+ mv /etc/tomcat6/context.xml.new \
+ /etc/tomcat6/context.xml
+
+ # Modify /etc/tomcat6/policy.d/03catalina.policy
+ #
+ saved_ifs=${IFS}
+ IFS=$'\n'
+ while read -r line ; do
+ echo "${line}"
+ if [[ ${line} = *tomcat-juli.jar* ]] ; then
+ echo ' // begin:libreplan'
+ echo ' permission java.io.FilePermission "${catalina.base}${file.separator}webapps${file.separator}libreplan-webapp${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties", "read";'
+ echo ' // end:libreplan'
+ fi
+ done < /etc/tomcat6/policy.d/03catalina.policy \
+ > /etc/tomcat6/policy.d/03catalina.policy.new
+ IFS=${saved_ifs}
+
+ mv /etc/tomcat6/policy.d/03catalina.policy.new \
+ /etc/tomcat6/policy.d/03catalina.policy
+
+fi
+
+
+if [ -x /etc/init.d/tomcat6 ] ; then
+ if [ -x "$(which invoke-rc.d 2> /dev/null)" ] ; then
+ invoke-rc.d tomcat6 stop
+ else
+ /etc/init.d/tomcat6 stop
+ fi
+fi
+
+if [ -d /var/lib/tomcat6/webapps/libreplan/ ] ; then
+ rm -rf /var/lib/tomcat6/webapps/libreplan/
+fi
+
+if [ -x /etc/init.d/tomcat6 ] ; then
+ if [ -x "$(which invoke-rc.d 2> /dev/null)" ] ; then
+ invoke-rc.d tomcat6 start
+ else
+ /etc/init.d/tomcat6 start
+ fi
+fi
+
+#DEBHELPER#
View
26 debian/libreplan.postrm
@@ -0,0 +1,26 @@
+#! /bin/bash
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ -r /usr/share/dbconfig-common/dpkg/postinst.pgsql ] ; then
+ . /usr/share/dbconfig-common/dpkg/postinst.pgsql
+ dbc_go libreplan $@
+fi
+
+if [[ $1 = purge ]] ; then
+ echo "Removing libreplan Tomcat configuration bits..."
+ sed -i -e '/begin:libreplan/,/end:libreplan/d' /etc/tomcat6/policy.d/03catalina.policy
+ sed -i -e '/begin:libreplan/,/end:libreplan/d' /etc/tomcat6/context.xml
+fi
+
+#if [ -x /etc/init.d/tomcat5.5 ] ; then
+# if [ -x "$(which invoke-rc.d 2> /dev/null)" ] ; then
+# invoke-rc.d tomcat5.5 restart
+# else
+# /etc/init.d/tomcat5.5 restart
+# fi
+#fi
+
+#DEBHELPER#
+
View
15 debian/libreplan.prerm
@@ -0,0 +1,15 @@
+#! /bin/bash
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ -r /usr/share/dbconfig-common/dpkg/postinst.pgsql ] ; then
+ . /usr/share/dbconfig-common/dpkg/postinst.pgsql
+ dbc_go libreplan $@
+fi
+
+if [ -L /usr/share/tomcat6/lib/postgresql-jdbc3.jar ] ; then
+ rm /usr/share/tomcat6/lib/postgresql-jdbc3.jar
+fi
+
+#DEBHELPER#
View
9 debian/navalplan.config
@@ -1,9 +0,0 @@
-#! /bin/bash
-set -e
-
-. /usr/share/debconf/confmodule
-
-if [ -r /usr/share/dbconfig-common/dpkg/config.pgsql ] ; then
- . /usr/share/dbconfig-common/dpkg/config.pgsql
- dbc_go navalplan $@
-fi
View
6 debian/navalplan.install
@@ -1,6 +0,0 @@
-debian/tmp/var/lib/tomcat6/webapps/navalplan.war
-debian/tmp/etc/tomcat6/policy.d/51navalplan.policy
-debian/tmp/usr/share/dbconfig-common/data/navalplan/install/pgsql
-debian/tmp/usr/share/dbconfig-common/data/navalplan/upgrade/pgsql/1.0.0
-debian/tmp/usr/share/dbconfig-common/data/navalplan/upgrade/pgsql/1.1.0
-debian/tmp/usr/share/tomcat6/lib/postgresql-jdbc3.jar
View
92 debian/navalplan.postinst
@@ -1,92 +0,0 @@
-#! /bin/bash
-set -e
-
-. /usr/share/debconf/confmodule
-. /usr/share/dbconfig-common/dpkg/postinst.pgsql
-
-dbc_go navalplan $@
-
-
-if [[ $1 = configure && -r /etc/dbconfig-common/navalplan.conf ]]
-then
- . /etc/dbconfig-common/navalplan.conf
-
- if [ -z "${dbc_dbhost}" ] ; then
- database_host='localhost'
- else
- database_host=${dbc_dbhost}
- fi
-
- echo "Adding navalplan Tomcat configuration bits"
-
- # Remove first (just in case!)
- sed -i -e '/begin:navalplan/,/end:navalplan/d' /etc/tomcat6/policy.d/03catalina.policy
- sed -i -e '/begin:navalplan/,/end:navalplan/d' /etc/tomcat6/context.xml
-
- # Modify /etc/tomcat6/context.xml
- #
- saved_ifs=${IFS}
- IFS=$'\n'
- { cat /etc/tomcat6/context.xml; echo; } |
- while read -r line ; do
- if [[ ${line} = *\</Context\>* ]] ; then
- cat <<-EOF
- <!-- begin:navalplan -->
- <Resource name="jdbc/navalplan-ds" auth="Container"
- type="javax.sql.DataSource"
- maxActive="100" maxIdle="30" maxWait="10000"
- username="${dbc_dbuser}" password="${dbc_dbpass}"
- driverClassName="org.postgresql.Driver"
- url="jdbc:postgresql://${database_host}/${dbc_dbname}"/>
- <!-- end:navalplan -->
- EOF
- fi
- echo "${line}"
- done > /etc/tomcat6/context.xml.new
- IFS=${saved_ifs}
-
- mv /etc/tomcat6/context.xml.new \
- /etc/tomcat6/context.xml
-
- # Modify /etc/tomcat6/policy.d/03catalina.policy
- #
- saved_ifs=${IFS}
- IFS=$'\n'
- while read -r line ; do
- echo "${line}"
- if [[ ${line} = *tomcat-juli.jar* ]] ; then
- echo ' // begin:navalplan'
- echo ' permission java.io.FilePermission "${catalina.base}${file.separator}webapps${file.separator}navalplanner-webapp${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties", "read";'
- echo ' // end:navalplan'
- fi
- done < /etc/tomcat6/policy.d/03catalina.policy \
- > /etc/tomcat6/policy.d/03catalina.policy.new
- IFS=${saved_ifs}
-
- mv /etc/tomcat6/policy.d/03catalina.policy.new \
- /etc/tomcat6/policy.d/03catalina.policy
-
-fi
-
-
-if [ -x /etc/init.d/tomcat6 ] ; then
- if [ -x "$(which invoke-rc.d 2> /dev/null)" ] ; then
- invoke-rc.d tomcat6 stop
- else
- /etc/init.d/tomcat6 stop
- fi
-fi
-
-if [ -d /var/lib/tomcat6/webapps/navalplan/ ] ; then
- rm -rf /var/lib/tomcat6/webapps/navalplan/
-fi
-
-if [ -x /etc/init.d/tomcat6 ] ; then
- if [ -x "$(which invoke-rc.d 2> /dev/null)" ] ; then
- invoke-rc.d tomcat6 start
- else
- /etc/init.d/tomcat6 start
- fi
-fi
-
-#DEBHELPER#
View
26 debian/navalplan.postrm
@@ -1,26 +0,0 @@
-#! /bin/bash
-set -e
-
-. /usr/share/debconf/confmodule
-
-if [ -r /usr/share/dbconfig-common/dpkg/postinst.pgsql ] ; then
- . /usr/share/dbconfig-common/dpkg/postinst.pgsql
- dbc_go navalplan $@
-fi
-
-if [[ $1 = purge ]] ; then
- echo "Removing navalplan Tomcat configuration bits..."
- sed -i -e '/begin:navalplan/,/end:navalplan/d' /etc/tomcat6/policy.d/03catalina.policy
- sed -i -e '/begin:navalplan/,/end:navalplan/d' /etc/tomcat6/context.xml
-fi
-
-#if [ -x /etc/init.d/tomcat5.5 ] ; then
-# if [ -x "$(which invoke-rc.d 2> /dev/null)" ] ; then
-# invoke-rc.d tomcat5.5 restart
-# else
-# /etc/init.d/tomcat5.5 restart
-# fi
-#fi
-
-#DEBHELPER#
-
View
15 debian/navalplan.prerm
@@ -1,15 +0,0 @@
-#! /bin/bash
-set -e
-
-. /usr/share/debconf/confmodule
-
-if [ -r /usr/share/dbconfig-common/dpkg/postinst.pgsql ] ; then
- . /usr/share/dbconfig-common/dpkg/postinst.pgsql
- dbc_go navalplan $@
-fi
-
-if [ -L /usr/share/tomcat6/lib/postgresql-jdbc3.jar ] ; then
- rm /usr/share/tomcat6/lib/postgresql-jdbc3.jar
-fi
-
-#DEBHELPER#
View
18 debian/rules
@@ -9,7 +9,7 @@ JAVA_HOME := /usr/lib/jvm/java-6-openjdk
MAVEN_REPO := $(CURDIR)/debian/maven-repo
MAVEN_OPTS := -Pprod,postgresql,-liquibase-update \
- -DdataSource.jndiName=java:comp/env/jdbc/navalplan-ds \
+ -DdataSource.jndiName=java:comp/env/jdbc/libreplan-ds \
-Dmaven.test.skip=true -B \
-s $(CURDIR)/debian/maven-settings.xml
@@ -67,23 +67,23 @@ install:
$(call CMD,dh_clean -k)
$(call CMD,dh_installdirs)
# Copy SQL installation file
- $(call CMD,mkdir -p $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/navalplan/install/)
+ $(call CMD,mkdir -p $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/libreplan/install/)
$(call CMD,cp $(CURDIR)/scripts/database/install.sql \
- $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/navalplan/install/pgsql)
+ $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/libreplan/install/pgsql)
# Commands to install arch-dependant stuff
$(call CMD,mkdir -p $(CURDIR)/debian/tmp/var/lib/tomcat6/webapps/)
- $(call CMD,cp $(CURDIR)/navalplanner-webapp/target/navalplanner-webapp.war \
- $(CURDIR)/debian/tmp/var/lib/tomcat6/webapps/navalplan.war)
+ $(call CMD,cp $(CURDIR)/libreplan-webapp/target/libreplan-webapp.war \
+ $(CURDIR)/debian/tmp/var/lib/tomcat6/webapps/libreplan.war)
# Copy SQL upgrade script for version 1.0.0
- $(call CMD,mkdir -p $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/navalplan/upgrade/pgsql/)
+ $(call CMD,mkdir -p $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/libreplan/upgrade/pgsql/)
$(call CMD,cp $(CURDIR)/scripts/database/upgrade_1.0.0.sql \
- $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/navalplan/upgrade/pgsql/1.0.0)
+ $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/libreplan/upgrade/pgsql/1.0.0)
# Copy SQL upgrade script for version 1.1.0
$(call CMD,cp $(CURDIR)/scripts/database/upgrade_1.1.0.sql \
- $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/navalplan/upgrade/pgsql/1.1.0)
+ $(CURDIR)/debian/tmp/usr/share/dbconfig-common/data/libreplan/upgrade/pgsql/1.1.0)
# Install Policy file
$(call CMD,mkdir -p $(CURDIR)/debian/tmp/etc/tomcat6/policy.d)
- $(call CMD,cp $(CURDIR)/debian/51navalplan.policy \
+ $(call CMD,cp $(CURDIR)/debian/51libreplan.policy \
$(CURDIR)/debian/tmp/etc/tomcat6/policy.d/)
# Link Java PostgreSQL library
$(call CMD,mkdir -p $(CURDIR)/debian/tmp/usr/share/tomcat6/lib)
View
0 doc/src/technical/exercicio-navalplan.odt → doc/src/technical/exercicio-libreplan.odt
File renamed without changes.
View
4 doc/src/technical/guia-desenvolvemento/docinfo
@@ -1,8 +1,8 @@
##################################
-NavalPlan: Gu??a de desenvolvemento
+LibrePlan: Gu??a de desenvolvemento
##################################
.. image:: images/logo.png
:align: left
-Esta ?? a guia de desenvolvemento da aplicaci??n NavalPlan
+Esta ?? a guia de desenvolvemento da aplicaci??n LibrePlan
View
16 doc/src/technical/guia-desenvolvemento/guia-arquitectura.rst
@@ -5,12 +5,12 @@ Guía de Arquitectura
Arquitectura basada en capas
============================
-A aplicación Navalplan utiliza unha arquitectura de organización do código baseada en capas. Consiste en organizar o software nunha serie de divisións horizontais lóxicas. Estas divisións horizontais organízanse xerarquicamente de forman que descansa cada unha na capa que ten debaixo. Así ata a capa máis profunda. Nesta estruturación séguense os seguintes preceptos:
+A aplicación LibrePlan utiliza unha arquitectura de organización do código baseada en capas. Consiste en organizar o software nunha serie de divisións horizontais lóxicas. Estas divisións horizontais organízanse xerarquicamente de forman que descansa cada unha na capa que ten debaixo. Así ata a capa máis profunda. Nesta estruturación séguense os seguintes preceptos:
- Cada capa ten un conxunto de responsabilidades que corresponden a un determinado nivel de abstracción.
- Unha capa ofrece servizos a capa de nivel superior.
- Unha capa usa os servizos ofertados pola capa de nivel inferior.
-As capas de que consta Navalplan son as seguintes:
+As capas de que consta LibrePlan son as seguintes:
- Capa de presentación - interfaz web.
- Capa de interfaz servizos web.
- Capa de lóxica de negocio.
@@ -34,7 +34,7 @@ No patrón MVC distínguense 3 partes estruturais.
operacións para actuar sobre eles. Na arquitectura está representado por clases que teñen xestionado o seu ciclo de vida a través
do contedor de inxeción de dependencias que se usa *Spring framework*. Son clases conversacionais que rexistran o estado de
interacción do usuario cunha determinada pantalla na que esté operando.
- - **Controlador (Controller)**. O controlador é o compoñente software - materializado en Navalplan nunha clase de orientación a
+ - **Controlador (Controller)**. O controlador é o compoñente software - materializado en LibrePlan nunha clase de orientación a
obxectos - que se encarga de atender as notificacións, peticións procedentes da vista e de solicitar ao modelo que realice as
operacións pertinentes acordes coas ordes que o usuario emite ao programa a través da interfaz.
@@ -44,8 +44,8 @@ Capa de interfaz de servizos web
--------------------------------
A capa de servizos web é unha capa paralela a capa de interfaz web que ofrece servicios web REST para ofrecer funcionalidades de exportación/importación de datos dunha instalación da aplicación co exterior. Conténplanse dous tipos de comunicacións a través de servizos web:
- - **Integración con outras aplicacións**. Quedarían englobados aquí os ERP que desexen interactuar con Navalplan.
- - **Integración con outras instalacións de Navalplan**. Dúas instalacións de Navalplan en sendas empresas permiten interactuar
+ - **Integración con outras aplicacións**. Quedarían englobados aquí os ERP que desexen interactuar con LibrePlan.
+ - **Integración con outras instalacións de LibrePlan**. Dúas instalacións de LibrePlan en sendas empresas permiten interactuar
para a subcontratación de pedidos e o reporte de avances dos mesmos.
@@ -84,7 +84,7 @@ Spring Framework
Spring Framework principalmente é un framework que proporciona un contedor de inxección de depedencias que permite a implementación do patrón de deseño IoC [2]_.
-Resumidamente este principio de deseño permite desacoplar, é dicir, facer independentes, unhas parte dun programa de outras. Facendo independentes unhas partes de outras propicia que a arquitectura do programa permita cousas como cambiar unha determinada implementación por outra e que as cousas sigan a funcionar. Por exemplo, Navalplan permite a sustitución do ORM que implementa agora mesmo a persistencia, Hibernate, por outro ORM ou outra solución de almacenamento como usar directamente JDBC.
+Resumidamente este principio de deseño permite desacoplar, é dicir, facer independentes, unhas parte dun programa de outras. Facendo independentes unhas partes de outras propicia que a arquitectura do programa permita cousas como cambiar unha determinada implementación por outra e que as cousas sigan a funcionar. Por exemplo, LibrePlan permite a sustitución do ORM que implementa agora mesmo a persistencia, Hibernate, por outro ORM ou outra solución de almacenamento como usar directamente JDBC.
A través do contedor de inxección de dependencias tamén se permite xestionar o ciclo de vida dos obxectos que se crean recorrendo ao contedor - *beans* de Spring -. Por exemplo, pódese configurar que un *bean* teña ámbito *Singleton* [3]_ ou ben que se devolva unha nova instancia da clase do *bean* cada vez que se solicita unha nova referencia ao contedor.
@@ -195,9 +195,9 @@ Relación das capas cos paquetes e módulos do proxecto
Proxecto organizados en módulos: Definicion de modulo.
- * Modulo navalplanner-business
+ * Modulo libreplan-business
Concepto de servidor. Abarca as capas de loxica de negocio e persistencia.
- * Modulo navalplanner-webapp.
+ * Modulo libreplan-webapp.
Toda a interfaz e servicios conversacionais e servicios web.
* Modulo ganttzk.
Modulo para compoñentes ZK de
View
4 doc/src/technical/guia-desenvolvemento/guia-desenvolvemento-git.rst
@@ -18,7 +18,7 @@ Para comezar a traballar o primerio que terá que facer o desenvolvedor e descar
::
- $ git clone git://navalplan.git.sourceforge.net/gitroot/navalplan/navalplan
+ $ git clone git://libreplan.git.sourceforge.net/gitroot/libreplan/libreplan
Esto creará unha copia local de trabajo, para empezar a trabajar se recomienda la creación de una rama para cada caso de uso a desarrollar o nombre de la rama é recomendable que teña realación coa funcionalidade que implemente ou o número de bug que trata de solucionar, e logo nos movemos a traballar na rama cun checkout.
@@ -152,7 +152,7 @@ A diferencia do resto dos usuarios debería descargar o repositorio da seguinte
::
- $ git clone ssh://user@navalplan.git.sourceforge.net/gitroot/navalplan/navalplan
+ $ git clone ssh://user@libreplan.git.sourceforge.net/gitroot/libreplan/libreplan
Esta forma de acceso permite un acceso de escritura ao repositorio:
View
2 doc/src/technical/guia-desenvolvemento/guia-desenvolvemento.rst
@@ -230,7 +230,7 @@ _`Figura 14`: WorkerModelImpl::confirm.
<set name="criterionSatisfactions" inverse="true"
cascade="all-delete-orphan">
<key column="resourceId" not-null="true"/>
- <one-to-many class="org.navalplanner...CriterionSatisfaction"/>
+ <one-to-many class="org.libreplan...CriterionSatisfaction"/>
</set>
...
</class>
View
242 doc/src/technical/guia-desenvolvemento/guia-integracion-terceiros.rst
@@ -1,16 +1,16 @@
-NavalPlan: Guía de integración
+LibrePlan: Guía de integración
##############################
-A guía de integración de NavalPlan detalla as posibilidades existentes para a integración entre aplicacións co software NavalPlan.
+A guía de integración de LibrePlan detalla as posibilidades existentes para a integración entre aplicacións co software LibrePlan.
-As funcionalidades de integración da ferramenta para a Xestión da Producción permitirán a compartición de datos entre as distintas ferramentas existentes en cada empresa. NavalPlan define unha serie de formatos de intercambio de información empregando a sintaxe XML. A descrición das interfaces e formatos de intercambio son totalmente abertos e está dispoñible a súa implementación para incorporar novas posibilidades de integración se fose necesario.
+As funcionalidades de integración da ferramenta para a Xestión da Producción permitirán a compartición de datos entre as distintas ferramentas existentes en cada empresa. LibrePlan define unha serie de formatos de intercambio de información empregando a sintaxe XML. A descrición das interfaces e formatos de intercambio son totalmente abertos e está dispoñible a súa implementación para incorporar novas posibilidades de integración se fose necesario.