You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
4.6 KiB

11 years ago
  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # OpenERP, Open Source Management Solution
  5. # This module copyright (C) 2013 Therp BV (<http://therp.nl>)
  6. # All Rights Reserved
  7. #
  8. # This program is free software: you can redistribute it and/or modify
  9. # it under the terms of the GNU Affero General Public License as
  10. # published by the Free Software Foundation, either version 3 of the
  11. # License, or (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU Affero General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Affero General Public License
  19. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. #
  21. ##############################################################################
  22. {
  23. 'name': 'CKEditor 4.x widget',
  24. 'version': '1.0',
  25. 'description': """
  26. This addon provides a widget for editing html fields via CKEditor 4.x
  27. Use widget="text_html" if you need just html display. In the unlikely case
  28. you need specific features of ckeditor, use widget="text_ckeditor4".
  29. """,
  30. 'author': 'Therp BV',
  31. 'website': 'http://www.therp.nl',
  32. "category": "Tools",
  33. "depends": [
  34. 'web',
  35. ],
  36. 'css': [
  37. 'static/src/css/web_ckeditor4.css',
  38. ],
  39. 'data': [
  40. ],
  41. 'js': [
  42. 'static/src/js/ckeditor_basepath.js',
  43. 'static/lib/ckeditor/ckeditor.js',
  44. 'static/lib/ckeditor/config.js',
  45. #to debug ckeditor, comment the lines above,
  46. #do a
  47. #cd static/lib
  48. #git clone https://github.com/ckeditor/ckeditor-dev.git trunk
  49. #cd trunk
  50. #git checkout remotes/origin/release/4.1.x
  51. #and uncomment the lines below
  52. #'static/lib/trunk/ckeditor.js',
  53. #'static/lib/trunk/core/event.js',
  54. #'static/lib/trunk/core/editor_basic.js',
  55. #'static/lib/trunk/core/env.js',
  56. #'static/lib/trunk/core/ckeditor_basic.js',
  57. #'static/lib/trunk/core/dom.js',
  58. #'static/lib/trunk/core/tools.js',
  59. #'static/lib/trunk/core/dtd.js',
  60. #'static/lib/trunk/core/dom/event.js',
  61. #'static/lib/trunk/core/dom/domobject.js',
  62. #'static/lib/trunk/core/dom/node.js',
  63. #'static/lib/trunk/core/dom/window.js',
  64. #'static/lib/trunk/core/dom/document.js',
  65. #'static/lib/trunk/core/dom/nodelist.js',
  66. #'static/lib/trunk/core/dom/element.js',
  67. #'static/lib/trunk/core/dom/documentfragment.js',
  68. #'static/lib/trunk/core/dom/walker.js',
  69. #'static/lib/trunk/core/dom/range.js',
  70. #'static/lib/trunk/core/dom/iterator.js',
  71. #'static/lib/trunk/core/command.js',
  72. #'static/lib/trunk/core/ckeditor_base.js',
  73. #'static/lib/trunk/core/config.js',
  74. #'static/lib/trunk/core/filter.js',
  75. #'static/lib/trunk/core/focusmanager.js',
  76. #'static/lib/trunk/core/keystrokehandler.js',
  77. #'static/lib/trunk/core/lang.js',
  78. #'static/lib/trunk/core/scriptloader.js',
  79. #'static/lib/trunk/core/resourcemanager.js',
  80. #'static/lib/trunk/core/plugins.js',
  81. #'static/lib/trunk/core/ui.js',
  82. #'static/lib/trunk/core/editor.js',
  83. #'static/lib/trunk/core/htmlparser.js',
  84. #'static/lib/trunk/core/htmlparser/basicwriter.js',
  85. #'static/lib/trunk/core/htmlparser/node.js',
  86. #'static/lib/trunk/core/htmlparser/comment.js',
  87. #'static/lib/trunk/core/htmlparser/text.js',
  88. #'static/lib/trunk/core/htmlparser/cdata.js',
  89. #'static/lib/trunk/core/htmlparser/fragment.js',
  90. #'static/lib/trunk/core/htmlparser/filter.js',
  91. #'static/lib/trunk/core/htmldataprocessor.js',
  92. #'static/lib/trunk/core/htmlparser/element.js',
  93. #'static/lib/trunk/core/template.js',
  94. #'static/lib/trunk/core/ckeditor.js',
  95. #'static/lib/trunk/core/creators/inline.js',
  96. #'static/lib/trunk/core/creators/themedui.js',
  97. #'static/lib/trunk/core/editable.js',
  98. #'static/lib/trunk/core/selection.js',
  99. #'static/lib/trunk/core/style.js',
  100. #'static/lib/trunk/core/dom/comment.js',
  101. #'static/lib/trunk/core/dom/elementpath.js',
  102. #'static/lib/trunk/core/dom/text.js',
  103. #'static/lib/trunk/core/dom/rangelist.js',
  104. #'static/lib/trunk/core/skin.js',
  105. #'static/lib/trunk/core/_bootstrap.js',
  106. #end of ckeditor debug
  107. 'static/src/js/web_ckeditor4.js',
  108. ],
  109. 'installable': True,
  110. 'active': False,
  111. 'certificate': '',
  112. }