Browse Source

Merge branch 'feature/refactor_content_type_and_content_status' of github.com:tracim/tracim_v2 into feature/650_folder_missing_endpoint_about_edit

Guénaël Muller 6 years ago
parent
commit
66e1fa512f
100 changed files with 2650 additions and 2113 deletions
  1. 9 44
      backend/tracim_backend/lib/core/content.py
  2. 10 2
      backend/tracim_backend/lib/core/workspace.py
  3. 2 2
      backend/tracim_backend/models/context_models.py
  4. 1806 169
      backend/tracim_backend/tests/functional/test_user.py
  5. 4 4
      backend/tracim_backend/tests/library/test_content_api.py
  6. 5 3
      backend/tracim_backend/views/core_api/schemas.py
  7. 11 2
      backend/tracim_backend/views/core_api/user_controller.py
  8. 18 0
      build_full_frontend.sh
  9. 1 1
      frontend/README.md
  10. 22 5
      frontend/dist/appInterface.js
  11. 1 0
      frontend/dist/index.html
  12. 46 1
      frontend/i18next.scanner/en/translation.json
  13. 46 1
      frontend/i18next.scanner/fr/translation.json
  14. 6 6
      frontend/jsonserver/static_db.json
  15. 2 1
      frontend/package.json
  16. 19 6
      frontend/src/appFactory.js
  17. 2 2
      frontend/src/component/Account/Calendar.jsx
  18. 4 4
      frontend/src/component/Account/Notification.jsx
  19. 15 6
      frontend/src/component/Account/Password.jsx
  20. 22 7
      frontend/src/component/Account/PersonalData.jsx
  21. 3 2
      frontend/src/component/Account/Timezone.jsx
  22. 6 5
      frontend/src/component/Workspace/OpenContentApp.jsx
  23. 1 0
      frontend/src/component/Workspace/OpenCreateContentApp.jsx
  24. 14 9
      frontend/src/container/Account.jsx
  25. 47 0
      frontend/src/container/AppFullscreenManager.jsx
  26. 38 30
      frontend/src/container/Dashboard.jsx
  27. 1 1
      frontend/src/container/Header.jsx
  28. 2 2
      frontend/src/container/Login.jsx
  29. 19 1
      frontend/src/container/Sidebar.jsx
  30. 16 3
      frontend/src/container/Tracim.jsx
  31. 15 42
      frontend/src/container/WorkspaceContent.jsx
  32. 6 1
      frontend/src/helper.js
  33. 13 0
      frontend_app_admin_workspace_user/.editorconfig
  34. 5 0
      frontend_app_admin_workspace_user/.gitignore
  35. 1 0
      frontend_app_admin_workspace_user/README.md
  36. 17 0
      frontend_app_admin_workspace_user/build_admin_workspace_user.sh
  37. 1 0
      frontend_app_admin_workspace_user/dist/asset
  38. 1 0
      frontend_app_admin_workspace_user/dist/dev
  39. 1 0
      frontend_app_admin_workspace_user/dist/font
  40. 22 0
      frontend_app_admin_workspace_user/dist/index.html
  41. 14 0
      frontend_app_admin_workspace_user/i18next.scanner.js
  42. 1 0
      frontend_app_admin_workspace_user/i18next.scanner/en/translation.json
  43. 1 0
      frontend_app_admin_workspace_user/i18next.scanner/fr/translation.json
  44. 63 0
      frontend_app_admin_workspace_user/package.json
  45. 1 0
      frontend_app_admin_workspace_user/src/action.async.js
  46. 86 0
      frontend_app_admin_workspace_user/src/container/AdminWorkspaceUser.jsx
  47. 1 0
      frontend_app_admin_workspace_user/src/css/index.styl
  48. 54 0
      frontend_app_admin_workspace_user/src/helper.js
  49. 21 0
      frontend_app_admin_workspace_user/src/i18n.js
  50. 16 0
      frontend_app_admin_workspace_user/src/index.dev.js
  51. 24 0
      frontend_app_admin_workspace_user/src/index.js
  52. 87 0
      frontend_app_admin_workspace_user/webpack.config.js
  53. 1 0
      frontend_app_html-document/dist/asset
  54. 0 101
      frontend_app_html-document/dist/asset/hamburger/hamburgers.css
  55. 0 7
      frontend_app_html-document/dist/asset/hamburger/hamburgers.min.css
  56. 0 975
      frontend_app_html-document/dist/asset/tinymce/changelog.txt
  57. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/jquery.tinymce.min.js
  58. 0 3
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/langs/readme.md
  59. 0 504
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/license.txt
  60. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/advlist/plugin.min.js
  61. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/anchor/plugin.min.js
  62. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/autolink/plugin.min.js
  63. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/autoresize/plugin.min.js
  64. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/autosave/plugin.min.js
  65. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/bbcode/plugin.min.js
  66. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/charmap/plugin.min.js
  67. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/code/plugin.min.js
  68. 0 138
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/codesample/css/prism.css
  69. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/codesample/plugin.min.js
  70. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/colorpicker/plugin.min.js
  71. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/contextmenu/plugin.min.js
  72. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/directionality/plugin.min.js
  73. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-cool.gif
  74. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-cry.gif
  75. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-embarassed.gif
  76. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif
  77. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-frown.gif
  78. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-innocent.gif
  79. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-kiss.gif
  80. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-laughing.gif
  81. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-money-mouth.gif
  82. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-sealed.gif
  83. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-smile.gif
  84. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-surprised.gif
  85. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-tongue-out.gif
  86. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-undecided.gif
  87. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-wink.gif
  88. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-yell.gif
  89. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/plugin.min.js
  90. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/fullpage/plugin.min.js
  91. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/fullscreen/plugin.min.js
  92. BIN
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/help/img/logo.png
  93. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/help/plugin.min.js
  94. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/hr/plugin.min.js
  95. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/image/plugin.min.js
  96. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/imagetools/plugin.min.js
  97. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/importcss/plugin.min.js
  98. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/insertdatetime/plugin.min.js
  99. 0 1
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/legacyoutput/plugin.min.js
  100. 0 0
      frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/link/plugin.min.js

+ 9 - 44
backend/tracim_backend/lib/core/content.py View File

@@ -956,41 +956,6 @@ class ContentApi(object):
956 956
 
957 957
         return resultset.all()
958 958
 
959
-    def get_last_active(self, parent_id: int, content_type: str, workspace: Workspace=None, limit=10) -> typing.List[Content]:
960
-        assert parent_id is None or isinstance(parent_id, int) # DYN_REMOVE
961
-        assert content_type is not None# DYN_REMOVE
962
-        assert isinstance(content_type, str) # DYN_REMOVE
963
-
964
-        resultset = self._base_query(workspace) \
965
-            .filter(Content.workspace_id == Workspace.workspace_id) \
966
-            .filter(Workspace.is_deleted.is_(False)) \
967
-            .order_by(desc(Content.updated))
968
-
969
-        if content_type!=CONTENT_TYPES.Any_SLUG:
970
-            resultset = resultset.filter(Content.type==content_type)
971
-
972
-        if parent_id:
973
-            resultset = resultset.filter(Content.parent_id==parent_id)
974
-
975
-        result = []
976
-        for item in resultset:
977
-            new_item = None
978
-            if CONTENT_TYPES.Comment.slug == item.type:
979
-                new_item = item.parent
980
-            else:
981
-                new_item = item
982
-
983
-            # INFO - D.A. - 2015-05-20
984
-            # We do not want to show only one item if the last 10 items are
985
-            # comments about one thread for example
986
-            if new_item not in result:
987
-                result.append(new_item)
988
-
989
-            if len(result) >= limit:
990
-                break
991
-
992
-        return result
993
-
994 959
     def get_last_unread(self, parent_id: int, content_type: str,
995 960
                         workspace: Workspace=None, limit=10) -> typing.List[Content]:
996 961
         assert parent_id is None or isinstance(parent_id, int) # DYN_REMOVE
@@ -1021,7 +986,7 @@ class ContentApi(object):
1021 986
             self,
1022 987
             workspace: Workspace=None,
1023 988
             limit: typing.Optional[int]=None,
1024
-            before_datetime: typing.Optional[datetime.datetime]= None,
989
+            before_content: typing.Optional[Content]= None,
1025 990
             content_ids: typing.Optional[typing.List[int]] = None,
1026 991
     ) -> typing.List[Content]:
1027 992
         """
@@ -1029,7 +994,8 @@ class ContentApi(object):
1029 994
         (last modification of content itself or one of this comment)
1030 995
         :param workspace: Workspace to check
1031 996
         :param limit: maximum number of elements to return
1032
-        :param before_datetime: date from where we check older content.
997
+        :param before_content: last_active content are only those updated
998
+         before this content given.
1033 999
         :param content_ids: restrict selection to some content ids and
1034 1000
         related Comments
1035 1001
         :return: list of content
@@ -1053,6 +1019,7 @@ class ContentApi(object):
1053 1019
 
1054 1020
         active_contents = []
1055 1021
         too_recent_content = []
1022
+        before_content_find = False
1056 1023
         for content in resultset:
1057 1024
             related_active_content = None
1058 1025
             if CONTENT_TYPES.Comment.slug == content.type:
@@ -1060,18 +1027,16 @@ class ContentApi(object):
1060 1027
             else:
1061 1028
                 related_active_content = content
1062 1029
 
1063
-            if not before_datetime:
1064
-                before_datetime = datetime.datetime.now()
1065
-            # INFO - D.A. - 2015-05-20
1066
-            # We do not want to show only one item if the last 10 items are
1067
-            # comments about one thread for example
1068 1030
             if related_active_content not in active_contents and related_active_content not in too_recent_content:  # nopep8
1069
-                # we verify that content is old enough
1070
-                if content.updated < before_datetime:
1031
+
1032
+                if not before_content or before_content_find:
1071 1033
                     active_contents.append(related_active_content)
1072 1034
                 else:
1073 1035
                     too_recent_content.append(related_active_content)
1074 1036
 
1037
+                if before_content and related_active_content == before_content:
1038
+                    before_content_find = True
1039
+
1075 1040
             if limit and len(active_contents) >= limit:
1076 1041
                 break
1077 1042
 

+ 10 - 2
backend/tracim_backend/lib/core/workspace.py View File

@@ -3,9 +3,11 @@ import typing
3 3
 
4 4
 from sqlalchemy.orm import Query
5 5
 from sqlalchemy.orm import Session
6
+from sqlalchemy.orm.exc import NoResultFound
6 7
 
7 8
 from tracim_backend import CFG
8 9
 from tracim_backend.exceptions import EmptyLabelNotAllowed
10
+from tracim_backend.exceptions import WorkspaceNotFound
9 11
 from tracim_backend.lib.utils.translation import fake_translator as _
10 12
 
11 13
 from tracim_backend.lib.core.userworkspace import RoleApi
@@ -132,10 +134,16 @@ class WorkspaceApi(object):
132 134
         return workspace
133 135
 
134 136
     def get_one(self, id):
135
-        return self._base_query().filter(Workspace.workspace_id == id).one()
137
+        try:
138
+            return self._base_query().filter(Workspace.workspace_id == id).one()
139
+        except NoResultFound as exc:
140
+            raise WorkspaceNotFound('workspace {} does not exist or not visible for user'.format(id)) from exc  # nopep8
136 141
 
137 142
     def get_one_by_label(self, label: str) -> Workspace:
138
-        return self._base_query().filter(Workspace.label == label).one()
143
+        try:
144
+            return self._base_query().filter(Workspace.label == label).one()
145
+        except NoResultFound as exc:
146
+            raise WorkspaceNotFound('workspace {} does not exist or not visible for user'.format(id)) from exc  # nopep8
139 147
 
140 148
     """
141 149
     def get_one_for_current_user(self, id):

+ 2 - 2
backend/tracim_backend/models/context_models.py View File

@@ -226,10 +226,10 @@ class ActiveContentFilter(object):
226 226
     def __init__(
227 227
             self,
228 228
             limit: int = None,
229
-            before_datetime: datetime = None,
229
+            before_content_id: datetime = None,
230 230
     ):
231 231
         self.limit = limit
232
-        self.before_datetime = before_datetime
232
+        self.before_content_id = before_content_id
233 233
 
234 234
 
235 235
 class ContentIdsQuery(object):

File diff suppressed because it is too large
+ 1806 - 169
backend/tracim_backend/tests/functional/test_user.py


+ 4 - 4
backend/tracim_backend/tests/library/test_content_api.py View File

@@ -2552,26 +2552,26 @@ class TestContentApi(DefaultTest):
2552 2552
         secondly_created_but_not_commented = api.create(CONTENT_TYPES.Page.slug, workspace, main_folder, 'this is another randomized label content', '', True)  # nopep8
2553 2553
         comments = api.create_comment(workspace, firstly_created_but_recently_commented, 'juste a super comment', True)  # nopep8
2554 2554
 
2555
-        last_actives = api.get_last_active(workspace=workspace, limit=2, before_datetime=datetime.datetime.now())  # nopep8
2555
+        last_actives = api.get_last_active(workspace=workspace, limit=2)  # nopep8
2556 2556
         assert len(last_actives) == 2
2557 2557
         # comment is newest than page2
2558 2558
         assert last_actives[0] == firstly_created_but_recently_commented
2559 2559
         assert last_actives[1] == secondly_created_but_not_commented
2560 2560
 
2561
-        last_actives = api.get_last_active(workspace=workspace, limit=2, before_datetime=last_actives[1].get_simple_last_activity_date())  # nopep8
2561
+        last_actives = api.get_last_active(workspace=workspace, limit=2, before_content=last_actives[1])  # nopep8
2562 2562
         assert len(last_actives) == 2
2563 2563
         # last updated content is newer than other one despite creation
2564 2564
         # of the other is more recent
2565 2565
         assert last_actives[0] == firstly_created_but_recently_updated
2566 2566
         assert last_actives[1] == secondly_created_but_not_updated
2567 2567
 
2568
-        last_actives = api.get_last_active(workspace=workspace, limit=2, before_datetime=last_actives[1].get_simple_last_activity_date())  # nopep8
2568
+        last_actives = api.get_last_active(workspace=workspace, limit=2, before_content=last_actives[1])  # nopep8
2569 2569
         assert len(last_actives) == 2
2570 2570
         # creation order is inverted here as last created is last active
2571 2571
         assert last_actives[0] == secondly_created
2572 2572
         assert last_actives[1] == firstly_created
2573 2573
 
2574
-        last_actives = api.get_last_active(workspace=workspace, limit=2, before_datetime=last_actives[1].get_simple_last_activity_date())  # nopep8
2574
+        last_actives = api.get_last_active(workspace=workspace, limit=2, before_content=last_actives[1])  # nopep8
2575 2575
         assert len(last_actives) == 1
2576 2576
         # folder subcontent modification does not change folder order
2577 2577
         assert last_actives[0] == main_folder

+ 5 - 3
backend/tracim_backend/views/core_api/schemas.py View File

@@ -361,9 +361,11 @@ class ActiveContentFilterQuerySchema(marshmallow.Schema):
361 361
                     'the first limit elem (according to offset)',
362 362
         validate=Range(min=0, error="Value must be positive or 0"),
363 363
     )
364
-    before_datetime = marshmallow.fields.DateTime(
365
-        format=DATETIME_FORMAT,
366
-        description='return only content lastly updated before this date',
364
+    before_content_id = marshmallow.fields.Int(
365
+        example=41,
366
+        default=None,
367
+        allow_none=True,
368
+        description='return only content updated before this content',
367 369
     )
368 370
     @post_load
369 371
     def make_content_filter(self, data):

+ 11 - 2
backend/tracim_backend/views/core_api/user_controller.py View File

@@ -1,4 +1,5 @@
1 1
 from pyramid.config import Configurator
2
+
2 3
 try:  # Python 3.5+
3 4
     from http import HTTPStatus
4 5
 except ImportError:
@@ -31,6 +32,7 @@ from tracim_backend.views.core_api.schemas import UserWorkspaceAndContentIdPathS
31 32
 from tracim_backend.views.core_api.schemas import ContentDigestSchema
32 33
 from tracim_backend.views.core_api.schemas import ActiveContentFilterQuerySchema
33 34
 from tracim_backend.views.core_api.schemas import WorkspaceDigestSchema
35
+from tracim_backend.models.contents import CONTENT_TYPES
34 36
 
35 37
 SWAGGER_TAG__USER_ENDPOINTS = 'Users'
36 38
 
@@ -265,10 +267,17 @@ class UserController(Controller):
265 267
         workspace = None
266 268
         if hapic_data.path.workspace_id:
267 269
             workspace = wapi.get_one(hapic_data.path.workspace_id)
270
+        before_content = None
271
+        if content_filter.before_content_id:
272
+            before_content = api.get_one(
273
+                content_id=content_filter.before_content_id,
274
+                workspace=workspace,
275
+                content_type=CONTENT_TYPES.Any_SLUG
276
+            )
268 277
         last_actives = api.get_last_active(
269 278
             workspace=workspace,
270 279
             limit=content_filter.limit or None,
271
-            before_datetime=content_filter.before_datetime or None,
280
+            before_content=before_content,
272 281
         )
273 282
         return [
274 283
             api.get_content_in_context(content)
@@ -302,7 +311,7 @@ class UserController(Controller):
302 311
         last_actives = api.get_last_active(
303 312
             workspace=workspace,
304 313
             limit=None,
305
-            before_datetime=None,
314
+            before_content=None,
306 315
             content_ids=hapic_data.query.contents_ids or None
307 316
         )
308 317
         return [

+ 18 - 0
build_full_frontend.sh View File

@@ -52,3 +52,21 @@ cp i18next.scanner/en/translation.json ../frontend/dist/app/thread_en_translatio
52 52
 log "cp i18next.scanner/fr/translation.json ../frontend/dist/app/thread_fr_translation.json"
53 53
 cp i18next.scanner/fr/translation.json ../frontend/dist/app/thread_fr_translation.json
54 54
 cd -
55
+
56
+# app Admin Workspace User
57
+
58
+log "cd frontend_app_admin_workspace_user"
59
+cd frontend_app_admin_workspace_user
60
+
61
+log "npm run build$windoz # for frontend_app_thread"
62
+npm run build$windoz
63
+
64
+log "cp dist/admin_workspace_user.app.js"
65
+cp dist/admin_workspace_user.app.js ../frontend/dist/app
66
+
67
+log "cp i18next.scanner/en/translation.json ../frontend/dist/app/admin_workspace_user_en_translation.json"
68
+cp i18next.scanner/en/translation.json ../frontend/dist/app/admin_workspace_user_en_translation.json
69
+
70
+log "cp i18next.scanner/fr/translation.json ../frontend/dist/app/admin_workspace_user_fr_translation.json"
71
+cp i18next.scanner/fr/translation.json ../frontend/dist/app/admin_workspace_user_fr_translation.json
72
+cd -

+ 1 - 1
frontend/README.md View File

@@ -58,7 +58,7 @@ To test them inside Tracim, you need to build them and copast them to tracim_fro
58 58
 You also need to make the mock api able to tell tracim_frontend that it handle you app :
59 59
 - add an entry for you App in tracim_frontend/jsonserver/static_db.json in the `app_config` property
60 60
 - reload your mock api server
61
-- add the source of your app in tracim_frontend/dist/index.html and an entry to the switch case of the function `GLOBAL_renderAppFull`. All of this will be handled by backend later on, this is all work in progress stuffs.
61
+- add the source of your app in tracim_frontend/dist/index.html and an entry to the switch case of the function `GLOBAL_renderAppFeature`. All of this will be handled by backend later on, this is all work in progress stuffs.
62 62
 
63 63
 
64 64
 #### Urls list

+ 22 - 5
frontend/dist/appInterface.js View File

@@ -9,6 +9,8 @@
9 9
         return appThread
10 10
       case 'file':
11 11
         return appFile
12
+      case 'admin_workspace_user':
13
+        return appAdminWorkspaceUser
12 14
       default:
13 15
         return null
14 16
     }
@@ -19,15 +21,30 @@
19 21
   // use module.export and require
20 22
   // doesn't work, cant resolve a file outside of the build dir
21 23
 
22
-  GLOBAL_renderAppFull = app => {
23
-    console.log('%cGLOBAL_renderAppFull', 'color: #5cebeb', app)
24
+  GLOBAL_renderAppFeature = app => {
25
+    console.log('%cGLOBAL_renderAppFeature', 'color: #5cebeb', app)
24 26
 
25 27
     const selectedApp = getSelectedApp(app.config.slug)
26 28
 
27 29
     if (selectedApp.isRendered) {
28
-      GLOBAL_dispatchEvent({type: `${app.config.slug}_showApp`, data: app}) // handled by html-documents:src/container/HtmlDocument.jsx
30
+      GLOBAL_dispatchEvent({type: `${app.config.slug}_showApp`, data: app}) // handled by html-documents:src/container/AdminWorkspaceUser.jsx
29 31
     } else {
30
-      selectedApp.renderAppFull(app)
32
+      selectedApp.renderAppFeature(app)
33
+      selectedApp.isRendered = true
34
+      prevSelectedApp.isRendered = false
35
+      prevSelectedApp = selectedApp
36
+    }
37
+  }
38
+
39
+  GLOBAL_renderAppFullscreen = app => {
40
+    console.log('%cGLOBAL_renderAppFullscreen', 'color: #5cebeb', app)
41
+
42
+    const selectedApp = getSelectedApp(app.config.slug)
43
+
44
+    if (selectedApp.isRendered) {
45
+      GLOBAL_dispatchEvent({type: `${app.config.slug}_showApp`, data: app}) // handled by html-documents:src/container/AdminWorkspaceUser.jsx
46
+    } else {
47
+      selectedApp.renderAppFullscreen(app)
31 48
       selectedApp.isRendered = true
32 49
       prevSelectedApp.isRendered = false
33 50
       prevSelectedApp = selectedApp
@@ -64,7 +81,7 @@
64 81
         console.log('%cGLOBAL_eventReducer Custom Event', 'color: #28a745', type, data)
65 82
         if (prevSelectedApp.name === '') return
66 83
 
67
-        prevSelectedApp.unmountApp('appContainer')
84
+        prevSelectedApp.unmountApp('appFeatureContainer')
68 85
         prevSelectedApp.unmountApp('popupCreateContentContainer')
69 86
         prevSelectedApp.isRendered = false
70 87
         break

+ 1 - 0
frontend/dist/index.html View File

@@ -54,6 +54,7 @@
54 54
     <script src='/app/html-document.app.js'></script>
55 55
     <script src='/app/thread.app.js'></script>
56 56
     <!-- <script src='/app/file.app.js'></script> -->
57
+    <script src='/app/admin_workspace_user.app.js'></script>
57 58
 
58 59
     <script src="/dev/jquery-3.2.1.js"></script>
59 60
     <script src="/dev/popper-1.12.3.js"></script>

+ 46 - 1
frontend/i18next.scanner/en/translation.json View File

@@ -19,5 +19,50 @@
19 19
   "Logout": "Logout",
20 20
   "Notification": "Notification",
21 21
   "Archive Topic": "Archive Topic",
22
-  "Deleted File": "Deleted File"
22
+  "Deleted File": "Deleted File",
23
+  "Send": "Send",
24
+  "Workspace and notifications": "Workspace and notifications",
25
+  "Workspace": "Workspace",
26
+  "Role": "Role",
27
+  "Account information": "Account information",
28
+  "Change your password": "Change your password",
29
+  "Password": "Password",
30
+  "Change your name": "Change your name",
31
+  "Change your email": "Change your email",
32
+  "Change your Timezone": "Change your Timezone",
33
+  "Calendar": "Calendar",
34
+  "Access your personal calendar": "Access your personal calendar",
35
+  "Dashboard": "Dashboard",
36
+  "Active advanced Dashboard": "Active advanced Dashboard",
37
+  "Change your status": "Change your status",
38
+  "subscriber": "subscriber",
39
+  "unsubscribed": "unsubscribed",
40
+  "Start a new Thread": "Start a new Thread",
41
+  "Writing a document": "Writing a document",
42
+  "Upload a file": "Upload a file",
43
+  "Start a videoconference": "Start a videoconference",
44
+  "View the Calendar": "View the Calendar",
45
+  "Recent activity": "Recent activity",
46
+  "Mark everything as read": "Mark everything as read",
47
+  "See more": "See more",
48
+  "Member List": "Member List",
49
+  "Add a member": "Add a member",
50
+  "Enter the name or email of the member": "Enter the name or email of the member",
51
+  "Create an account": "Create an account",
52
+  "Choose the role of the member": "Choose the role of the member",
53
+  "Supervisor": "Supervisor",
54
+  "Content Manager": "Content Manager",
55
+  "Contributor": "Contributor",
56
+  "Reader": "Reader",
57
+  "Validate": "Validate",
58
+  "Implement Tracim in your explorer": "Implement Tracim in your explorer",
59
+  "Find all your documents deposited online directly on your computer via the workstation, without going through the software.": "Find all your documents deposited online directly on your computer via the workstation, without going through the software.",
60
+  "Workspace Calendar": "Workspace Calendar",
61
+  "Each workspace has its own calendar.": "Each workspace has its own calendar.",
62
+  "Email Adress": "Email Adress",
63
+  "Explore the workspace": "Explore the workspace",
64
+  "Old password": "Old password",
65
+  "New password": "New password",
66
+  "Name:": "Name:",
67
+  "Email Adress:": "Email Adress:"
23 68
 }

+ 46 - 1
frontend/i18next.scanner/fr/translation.json View File

@@ -19,5 +19,50 @@
19 19
   "Logout": "Se Déconnecter",
20 20
   "Notification": "Notification",
21 21
   "Archive Topic": "Conversation archivée",
22
-  "Deleted File": "Fichier supprimé"
22
+  "Deleted File": "Fichier supprimé",
23
+  "Send": "Envoyer",
24
+  "Workspace and notifications": "Espace de travail & Notifications",
25
+  "Workspace": "Espace de travail",
26
+  "Role": "Rôle",
27
+  "Account information": "Information du compte",
28
+  "Change your password": "Changer votre mot de passe",
29
+  "Password": "Mot de passe",
30
+  "Change your name": "Modifier votre nom",
31
+  "Change your email": "Modifier votre email",
32
+  "Change your Timezone": "Modifier votre fuseau horaire",
33
+  "Calendar": "Calendrier",
34
+  "Access your personal calendar": "Accéder à votre calendrier personnel",
35
+  "Dashboard": "Tableau de bord",
36
+  "Active advanced Dashboard": "Activer le mode avancé ",
37
+  "Change your status": "Changer de status",
38
+  "subscriber": "Abonné(e)",
39
+  "unsubscribed": "Non Abonné(e)",
40
+  "Start a new Thread": "Débuter une nouvelle discussion",
41
+  "Writing a document": "Rédiger un document",
42
+  "Upload a file": "Importer un fichier",
43
+  "Start a videoconference": "Débuter une visioconférence",
44
+  "View the Calendar": "Voir le Calendrier",
45
+  "Explore the workspace": "Explorer l'espace de travail",
46
+  "Recent activity": "Activité récente",
47
+  "Mark everything as read": "Tout marquer comme lu",
48
+  "See more": "Voir plus",
49
+  "Member List": "Liste des membres",
50
+  "Add a member": "Ajouter un membre",
51
+  "Enter the name or email of the member": "Renseigner le nom ou l'email de l'utilisateur",
52
+  "Create an account": "Créer un compte",
53
+  "Supervisor": "Responsable",
54
+  "Content Manager": "Gestionnaire de contenu",
55
+  "Contributor": "Contributeur",
56
+  "Reader": "Lecteur",
57
+  "Validate": "Validé",
58
+  "Implement Tracim in your explorer": "Implémenter Tracim dans votre explorateur",
59
+  "Find all your documents deposited online directly on your computer via the workstation, without going through the software.": "Retrouvez tous vos documents déposés en ligne directement sur votre ordinateur via le poste de travail, sans passer par le logiciel.",
60
+  "Workspace Calendar": "Calendrier de l'espace de travail",
61
+  "Each workspace has its own calendar.": "Chaque espace de travail à son propre calendrier",
62
+  "Choose the role of the member": "Choisissez le rôle du membre",
63
+  "Email Adress": "Adresse email",
64
+  "Old password": "Ancien mot de passe",
65
+  "New password": "Nouveau mot de passe",
66
+  "Name:": "Nom :",
67
+  "Email Adress:": "Adresse mail :"
23 68
 }

+ 6 - 6
frontend/jsonserver/static_db.json View File

@@ -35,7 +35,7 @@
35 35
     "customClass": "wsContentPageHtml",
36 36
     "icon": "fa fa-fw fa-file-text-o",
37 37
     "color": "#3f52e3",
38
-    "domContainer": "appContainer"
38
+    "domContainer": "appFeatureContainer"
39 39
   }, {
40 40
     "name": "PageMarkdown",
41 41
     "label": {
@@ -47,7 +47,7 @@
47 47
     "customClass": "wsContentPageMarkdown",
48 48
     "icon": "fa fa-fw fa-file-code-o",
49 49
     "color": "#e0082b",
50
-    "domContainer": "appContainer"
50
+    "domContainer": "appFeatureContainer"
51 51
   }, {
52 52
     "name": "File",
53 53
     "label": {
@@ -59,7 +59,7 @@
59 59
     "customClass": "wsContentFile",
60 60
     "icon": "fa fa-fw fa-file-image-o",
61 61
     "color": "#263462",
62
-    "domContainer": "appContainer"
62
+    "domContainer": "appFeatureContainer"
63 63
   }, {
64 64
     "name": "Thread",
65 65
     "label": {
@@ -71,7 +71,7 @@
71 71
     "customClass": "wsContentThread",
72 72
     "icon": "fa fa-fw fa-comments-o",
73 73
     "color": "#2674d3",
74
-    "domContainer": "appContainer"
74
+    "domContainer": "appFeatureContainer"
75 75
   }, {
76 76
     "name": "Task",
77 77
     "label": {
@@ -83,7 +83,7 @@
83 83
     "customClass": "wsContentTask",
84 84
     "icon": "fa fa-fw fa-list-ul",
85 85
     "color": "#2d5a88",
86
-    "domContainer": "appContainer"
86
+    "domContainer": "appFeatureContainer"
87 87
   }, {
88 88
     "name": "Issue",
89 89
     "label": {
@@ -95,7 +95,7 @@
95 95
     "customClass": "wsContentIssue",
96 96
     "icon": "fa fa-fw fa-ticket",
97 97
     "color": "#a4835e",
98
-    "domContainer": "appContainer"
98
+    "domContainer": "appFeatureContainer"
99 99
   }],
100 100
   "workspace_detail": {
101 101
     "id": 1,

+ 2 - 1
frontend/package.json View File

@@ -63,7 +63,8 @@
63 63
       "fetch",
64 64
       "btoa",
65 65
       "history",
66
-      "GLOBAL_renderAppFull",
66
+      "GLOBAL_renderAppFeature",
67
+      "GLOBAL_renderAppFullscreen",
67 68
       "GLOBAL_renderAppPopupCreation",
68 69
       "GLOBAL_dispatchEvent",
69 70
       "GLOBAL_hideApp"

+ 19 - 6
frontend/src/appFactory.js View File

@@ -4,13 +4,25 @@ import i18n from './i18n.js'
4 4
 
5 5
 export function appFactory (WrappedComponent) {
6 6
   return class AppFactory extends React.Component {
7
-    renderAppFull = (appConfig, user, content) => GLOBAL_renderAppFull({
7
+    renderAppFeature = (appConfig, user, content) => GLOBAL_renderAppFeature({
8 8
       loggedUser: user.logged ? user : {},
9 9
       config: {
10 10
         ...appConfig,
11
-        domContainer: 'appContainer',
11
+        domContainer: 'appFeatureContainer',
12
+        apiUrl: FETCH_CONFIG.apiUrl,
13
+        mockApiUrl: FETCH_CONFIG.mockApiUrl, // Côme - 2018/07/31 - this should not be used, I deprecate it
14
+        apiHeader: FETCH_CONFIG.headers,
15
+        translation: i18n.store.data
16
+      },
17
+      content
18
+    })
19
+
20
+    renderAppFullscreen = (appConfig, user, content) => GLOBAL_renderAppFullscreen({
21
+      loggedUser: user.logged ? user : {},
22
+      config: {
23
+        ...appConfig,
24
+        domContainer: 'appFullscreenContainer',
12 25
         apiUrl: FETCH_CONFIG.apiUrl,
13
-        mockApiUrl: FETCH_CONFIG.mockApiUrl,
14 26
         apiHeader: FETCH_CONFIG.headers,
15 27
         translation: i18n.store.data
16 28
       },
@@ -31,15 +43,16 @@ export function appFactory (WrappedComponent) {
31 43
       idFolder: idFolder === 'null' ? null : idFolder
32 44
     })
33 45
 
34
-    emitEventApp = (type, data) => GLOBAL_dispatchEvent({ type, data })
46
+    dispatchCustomEvent = (type, data) => GLOBAL_dispatchEvent({ type, data })
35 47
 
36 48
     render () {
37 49
       return (
38 50
         <WrappedComponent
39 51
           {...this.props}
40
-          renderAppFull={this.renderAppFull}
52
+          renderAppFeature={this.renderAppFeature}
53
+          renderAppFullscreen={this.renderAppFullscreen}
41 54
           renderAppPopupCreation={this.renderAppPopupCreation}
42
-          emitEventApp={this.emitEventApp}
55
+          dispatchCustomEvent={this.dispatchCustomEvent}
43 56
           // hideApp={this.hideApp}
44 57
         />
45 58
       )

+ 2 - 2
frontend/src/component/Account/Calendar.jsx View File

@@ -5,7 +5,7 @@ export const Calendar = props => {
5 5
     <div className='account__userpreference__setting__calendar'>
6 6
 
7 7
       <div className='calendar__title subTitle ml-2 ml-sm-0'>
8
-        Calendrier
8
+        {props.t('Calendar')}
9 9
       </div>
10 10
 
11 11
       <div className='calendar__text ml-2 ml-sm-0'>
@@ -13,7 +13,7 @@ export const Calendar = props => {
13 13
       </div>
14 14
 
15 15
       <div className='calendar__title ml-2 ml-sm-0'>
16
-        Accèder à votre Calendrier personnel
16
+        {props.t('Access your personal calendar')}
17 17
       </div>
18 18
       <div className='calendar__link ml-2 ml-sm-0'>
19 19
         {props.user.caldavUrl}

+ 4 - 4
frontend/src/component/Account/Notification.jsx View File

@@ -9,7 +9,7 @@ export const Notification = props => {
9 9
   return (
10 10
     <div className='account__userpreference__setting__notification'>
11 11
       <div className='notification__sectiontitle subTitle ml-2 ml-sm-0'>
12
-        Espace de Travail & Notification
12
+        {props.t('Workspace and notifications')}
13 13
       </div>
14 14
 
15 15
       <div className='notification__text ml-2 ml-sm-0'>
@@ -20,9 +20,9 @@ export const Notification = props => {
20 20
         <table className='table'>
21 21
           <thead>
22 22
             <tr>
23
-              <th>Espace de travail</th>
24
-              <th>Role</th>
25
-              <th>Notification</th>
23
+              <th>{props.t('Workspace')}</th>
24
+              <th>{props.t('Role')}</th>
25
+              <th>{props.t('Notification')}</th>
26 26
             </tr>
27 27
           </thead>
28 28
           <tbody>

+ 15 - 6
frontend/src/component/Account/Password.jsx View File

@@ -1,10 +1,11 @@
1 1
 import React from 'react'
2
+import { translate } from 'react-i18next'
2 3
 
3 4
 export const Password = props => {
4 5
   return (
5 6
     <div className='account__userpreference__setting__personaldata'>
6 7
       <div className='personaldata__sectiontitle subTitle ml-2 ml-sm-0'>
7
-        Changer de mot de passe
8
+        {props.t('Change your password')}
8 9
       </div>
9 10
 
10 11
       <div className='personaldata__text ml-2 ml-sm-0'>
@@ -13,12 +14,20 @@ export const Password = props => {
13 14
 
14 15
       <form className='personaldata__form mr-5'>
15 16
         <div className='personaldata__form__title'>
16
-          Mot de passe :
17
+          {props.t('Password')}
17 18
         </div>
18
-        <input className='personaldata__form__txtinput form-control' type='password' placeholder='Ancien mot de passe' />
19
-        <input className='personaldata__form__txtinput form-control mt-4' type='password' placeholder='Nouveau mot de passe' />
19
+        <input
20
+          className='personaldata__form__txtinput form-control'
21
+          type='password'
22
+          placeholder={props.t('Old password')}
23
+        />
24
+        <input
25
+          className='personaldata__form__txtinput form-control mt-4'
26
+          type='password'
27
+          placeholder={props.t('New password')}
28
+        />
20 29
         <button type='submit' className='personaldata__form__button btn btn-outline-primary mt-4'>
21
-          Envoyer
30
+          {props.t('Send')}
22 31
         </button>
23 32
       </form>
24 33
 
@@ -26,4 +35,4 @@ export const Password = props => {
26 35
   )
27 36
 }
28 37
 
29
-export default Password
38
+export default translate()(Password)

+ 22 - 7
frontend/src/component/Account/PersonalData.jsx View File

@@ -1,10 +1,12 @@
1 1
 import React from 'react'
2
+import PropTypes from 'prop-types'
3
+import { translate } from 'react-i18next'
2 4
 
3 5
 export const PersonalData = props => {
4 6
   return (
5 7
     <div className='account__userpreference__setting__personaldata'>
6 8
       <div className='personaldata__sectiontitle subTitle ml-2 ml-sm-0'>
7
-        Information du compte
9
+        {props.t('Account information')}
8 10
       </div>
9 11
 
10 12
       <div className='personaldata__text ml-2 ml-sm-0'>
@@ -13,23 +15,36 @@ export const PersonalData = props => {
13 15
 
14 16
       <form className='personaldata__form'>
15 17
         <div className='personaldata__form__title'>
16
-          Nom :
18
+          {props.t('Name:')}
17 19
         </div>
18 20
         <div className='d-flex align-items-center justify-content-between flex-wrap mb-4'>
19
-          <input className='personaldata__form__txtinput form-control mt-3 mt-sm-0' type='text' placeholder='Nom' />
21
+          <input
22
+            className='personaldata__form__txtinput form-control mt-3 mt-sm-0'
23
+            type='text'
24
+            placeholder={props.t('Change your name')}
25
+          />
20 26
         </div>
21 27
         <div className='personaldata__form__title'>
22
-          Adresse mail :
28
+          {props.t('Email Adress:')}
23 29
         </div>
24 30
         <div className='d-flex align-items-center justify-content-between flex-wrap mb-4'>
25
-          <input className='personaldata__form__txtinput form-control mt-3 mt-sm-0' type='email' placeholder='Nouvelle adresse mail' />
31
+          <input
32
+            className='personaldata__form__txtinput form-control mt-3 mt-sm-0'
33
+            type='email'
34
+            placeholder={props.t('Change your email')}
35
+          />
26 36
         </div>
27 37
         <button type='submit' className='personaldata__form__button btn btn-outline-primary'>
28
-          Envoyer
38
+          {props.t('Send')}
29 39
         </button>
30 40
       </form>
31 41
     </div>
32 42
   )
33 43
 }
34 44
 
35
-export default PersonalData
45
+PersonalData.propTypes = {
46
+  inputPlaceholderNameUser: PropTypes.string,
47
+  inputPlaceholderEmailUser: PropTypes.string
48
+}
49
+
50
+export default translate()(PersonalData)

+ 3 - 2
frontend/src/component/Account/Timezone.jsx View File

@@ -1,6 +1,7 @@
1 1
 import React from 'react'
2 2
 import Select from 'react-select'
3 3
 import 'react-select/dist/react-select.css'
4
+import { translate } from 'react-i18next'
4 5
 
5 6
 export const Timezone = props => {
6 7
   const handleChangeTimezone = selectedTimezone => props.onChangeTimezone(props.timezone.find(t => t.place === selectedTimezone.place))
@@ -9,7 +10,7 @@ export const Timezone = props => {
9 10
     <div className='account__userpreference__setting__timezone'>
10 11
 
11 12
       <div className='timezone__title subTitle ml-2 ml-sm-0'>
12
-        Changer de Fuseau Horaire
13
+        {props.t('Change your Timezone')}
13 14
       </div>
14 15
 
15 16
       <div className='timezone__text ml-2 ml-sm-0'>
@@ -32,4 +33,4 @@ export const Timezone = props => {
32 33
   )
33 34
 }
34 35
 
35
-export default Timezone
36
+export default translate()(Timezone)

+ 6 - 5
frontend/src/component/Workspace/OpenContentApp.jsx View File

@@ -3,9 +3,10 @@ import { connect } from 'react-redux'
3 3
 import { withRouter } from 'react-router'
4 4
 import appFactory from '../../appFactory.js'
5 5
 
6
+// @FIXME Côme - 2018/07/31 - should this be in a component like AppFeatureManager ?
6 7
 export class OpenContentApp extends React.Component {
7 8
   openContentApp = () => {
8
-    const { idWorkspace, appOpenedType, user, workspaceContent, contentType, renderAppFull, match } = this.props
9
+    const { idWorkspace, appOpenedType, user, workspaceContent, contentType, renderAppFeature, dispatchCustomEvent, match } = this.props
9 10
 
10 11
     if (isNaN(idWorkspace) || idWorkspace === -1) return
11 12
 
@@ -21,15 +22,15 @@ export class OpenContentApp extends React.Component {
21 22
       console.log('%c<OpenContentApp> contentToOpen', 'color: #dcae84', contentToOpen)
22 23
 
23 24
       if (appOpenedType === contentToOpen.type) { // app already open
24
-        GLOBAL_dispatchEvent({
25
-          type: `${contentToOpen.type}_reloadContent`, // handled by html-document:src/container/HtmlDocument.jsx
25
+        dispatchCustomEvent({
26
+          type: `${contentToOpen.type}_reloadContent`, // handled by html-document:src/container/AdminWorkspaceUser.jsx
26 27
           data: contentToOpen
27 28
         })
28 29
       } else { // open another app
29 30
         // if another app is already visible, hide it
30
-        if (appOpenedType !== false) GLOBAL_dispatchEvent({type: `${appOpenedType}_hideApp`})
31
+        if (appOpenedType !== false) dispatchCustomEvent({type: `${appOpenedType}_hideApp`})
31 32
         // open app
32
-        renderAppFull(
33
+        renderAppFeature(
33 34
           contentType.find(ct => ct.slug === contentToOpen.type),
34 35
           user,
35 36
           contentToOpen

+ 1 - 0
frontend/src/component/Workspace/OpenCreateContentApp.jsx View File

@@ -5,6 +5,7 @@ import appFactory from '../../appFactory.js'
5 5
 
6 6
 const qs = require('query-string')
7 7
 
8
+// @FIXME Côme - 2018/07/31 - should this be in a component like AppFeatureManager ? (or AppCreateContentManager)
8 9
 export class OpenCreateContentApp extends React.Component {
9 10
   openCreateContentApp = () => {
10 11
     const { idWorkspace, user, contentType, renderAppPopupCreation, match, location } = this.props

+ 14 - 9
frontend/src/container/Account.jsx View File

@@ -1,9 +1,6 @@
1 1
 import React from 'react'
2 2
 import { connect } from 'react-redux'
3 3
 import Sidebar from './Sidebar.jsx'
4
-import PageWrapper from '../component/common/layout/PageWrapper.jsx'
5
-import PageTitle from '../component/common/layout/PageTitle.jsx'
6
-import PageContent from '../component/common/layout/PageContent.jsx'
7 4
 import UserInfo from '../component/Account/UserInfo.jsx'
8 5
 import MenuSubComponent from '../component/Account/MenuSubComponent.jsx'
9 6
 import PersonalData from '../component/Account/PersonalData.jsx'
@@ -11,12 +8,18 @@ import PersonalData from '../component/Account/PersonalData.jsx'
11 8
 import Notification from '../component/Account/Notification.jsx'
12 9
 import Password from '../component/Account/Password.jsx'
13 10
 import Timezone from '../component/Account/Timezone.jsx'
14
-import { Delimiter } from 'tracim_frontend_lib'
11
+import {
12
+  Delimiter,
13
+  PageWrapper,
14
+  PageTitle,
15
+  PageContent
16
+} from 'tracim_frontend_lib'
15 17
 import { updateUserWorkspaceSubscriptionNotif } from '../action-creator.sync.js'
16 18
 import {
17 19
   getTimezone,
18 20
   getUserRole
19 21
 } from '../action-creator.async.js'
22
+import { translate } from 'react-i18next'
20 23
 
21 24
 class Account extends React.Component {
22 25
   constructor (props) {
@@ -77,7 +80,8 @@ class Account extends React.Component {
77 80
     const subComponent = (() => {
78 81
       switch (this.state.subComponentMenu.find(({active}) => active).name) {
79 82
         case 'personalData':
80
-          return <PersonalData />
83
+          return <PersonalData
84
+          />
81 85
 
82 86
         // case 'calendar':
83 87
         //   return <Calendar user={this.props.user} />
@@ -88,11 +92,12 @@ class Account extends React.Component {
88 92
             onChangeSubscriptionNotif={this.handleChangeSubscriptionNotif}
89 93
           />
90 94
 
95
+        case 'password':
96
+          return <Password
97
+          />
98
+
91 99
         case 'timezone':
92 100
           return <Timezone timezone={this.props.timezone} onChangeTimezone={this.handleChangeTimezone} />
93
-
94
-        case 'password':
95
-          return <Password />
96 101
       }
97 102
     })()
98 103
 
@@ -127,4 +132,4 @@ class Account extends React.Component {
127 132
 }
128 133
 
129 134
 const mapStateToProps = ({ user, workspaceList, timezone }) => ({ user, workspaceList, timezone })
130
-export default connect(mapStateToProps)(Account)
135
+export default connect(mapStateToProps)(translate()(Account))

+ 47 - 0
frontend/src/container/AppFullscreenManager.jsx View File

@@ -0,0 +1,47 @@
1
+import React from 'react'
2
+import { connect } from 'react-redux'
3
+import { withRouter } from 'react-router'
4
+import { Route } from 'react-router-dom'
5
+import { PAGE } from '../helper.js'
6
+import appFactory from '../appFactory.js'
7
+import Sidebar from './Sidebar.jsx'
8
+
9
+class AppFullscreenManager extends React.Component {
10
+  constructor (props) {
11
+    super(props)
12
+    this.state = {
13
+      AmIMounted: false
14
+    }
15
+  }
16
+
17
+  componentDidMount = () => this.setState({AmIMounted: true})
18
+
19
+  render () {
20
+    const { user, renderAppFullscreen } = this.props
21
+
22
+    return (
23
+      <div className='sidebarpagecontainer'>
24
+        <Sidebar />
25
+
26
+        <div id='appFullscreenContainer' />
27
+
28
+        {this.state.AmIMounted && (// we must wait for the component to be fully mounted to be sure the div#appFullscreenContainer exists in DOM
29
+          <div className='emptyDiForRoute'>
30
+            <Route path={PAGE.ADMIN.WORKSPACE} render={() => {
31
+              renderAppFullscreen({slug: 'admin_workspace_user', hexcolor: '#7d4e24', type: 'workspace'}, user, {})
32
+              return null
33
+            }} />
34
+
35
+            <Route path={PAGE.ADMIN.USER} render={() => {
36
+              renderAppFullscreen({slug: 'admin_workspace_user', hexcolor: '#7d4e24', type: 'user'}, user, {})
37
+              return null
38
+            }} />
39
+          </div>
40
+        )}
41
+      </div>
42
+    )
43
+  }
44
+}
45
+
46
+const mapStateToProps = ({ user }) => ({ user })
47
+export default connect(mapStateToProps)(withRouter(appFactory(AppFullscreenManager)))

+ 38 - 30
frontend/src/container/Dashboard.jsx View File

@@ -10,6 +10,7 @@ import {
10 10
   setAppList,
11 11
   setContentTypeList, setWorkspaceListIsOpenInSidebar, updateWorkspaceListData
12 12
 } from '../action-creator.sync.js'
13
+import { translate } from 'react-i18next'
13 14
 
14 15
 class Dashboard extends React.Component {
15 16
   constructor (props) {
@@ -75,12 +76,14 @@ class Dashboard extends React.Component {
75 76
             <div className='dashboard__header mb-5'>
76 77
               <div className='pageTitleGeneric dashboard__header__title d-flex align-items-center'>
77 78
                 <div className='pageTitleGeneric__title dashboard__header__title__text mr-3'>
78
-                  Dashboard
79
+                  {this.props.t('Dashboard')}
79 80
                 </div>
80 81
                 <div className='dashboard__header__acces' />
81 82
               </div>
82 83
               <div className='dashboard__header__advancedmode mr-3'>
83
-                <button type='button' className='btn btn-primary'>Activer édition avancé</button>
84
+                <button type='button' className='btn btn-primary'>
85
+                  {this.props.t('Active advanced Dashboard')}
86
+                </button>
84 87
               </div>
85 88
             </div>
86 89
 
@@ -119,7 +122,7 @@ class Dashboard extends React.Component {
119 122
                       className='dashboard__userstatut__notification__btn btn btn-outline-primary'
120 123
                       onClick={this.handleToggleNotifBtn}
121 124
                     >
122
-                      Changer de statut
125
+                      {this.props.t('Change your status')}
123 126
                     </div>
124 127
                   }
125 128
 
@@ -129,9 +132,11 @@ class Dashboard extends React.Component {
129 132
                         Abonné(e)
130 133
                       </button>
131 134
                       <div className='dashboard__userstatut__notification__subscribe__submenu dropdown-menu'>
132
-                        <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item'>Abonné(e)
135
+                        <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item'>
136
+                          {this.props.t('subscriber')}
133 137
                         </div>
134
-                        <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item dropdown-item'>Non Abonné(e)
138
+                        <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item dropdown-item'>
139
+                          {this.props.t('unsubscribed')}
135 140
                         </div>
136 141
                       </div>
137 142
                     </div>
@@ -147,7 +152,7 @@ class Dashboard extends React.Component {
147 152
                     <i className='fa fa-comments-o' />
148 153
                   </div>
149 154
                   <div className='dashboard__calltoaction__button__text__title'>
150
-                    Débuter une nouvelle discussion
155
+                    {this.props.t('Start a new Thread')}
151 156
                   </div>
152 157
                 </div>
153 158
               </div>
@@ -158,7 +163,7 @@ class Dashboard extends React.Component {
158 163
                     <i className='fa fa-file-text-o' />
159 164
                   </div>
160 165
                   <div className='dashboard__calltoaction__button__text__title'>
161
-                    Rédiger un document
166
+                    {this.props.t('Writing a document')}
162 167
                   </div>
163 168
                 </div>
164 169
               </div>
@@ -169,7 +174,7 @@ class Dashboard extends React.Component {
169 174
                     <i className='fa fa-paperclip' />
170 175
                   </div>
171 176
                   <div className='dashboard__calltoaction__button__text__title'>
172
-                    Importer un fichier
177
+                    {this.props.t('Upload a file')}
173 178
                   </div>
174 179
                 </div>
175 180
               </div>
@@ -181,7 +186,7 @@ class Dashboard extends React.Component {
181 186
                       <i className='fa fa-video-camera' />
182 187
                     </div>
183 188
                     <div className='dashboard__calltoaction__button__text__title'>
184
-                      Débuter une visioconférence
189
+                      {this.props.t('Start a videoconference')}
185 190
                     </div>
186 191
                   </div>
187 192
                 </div>
@@ -192,7 +197,7 @@ class Dashboard extends React.Component {
192 197
                       <i className='fa fa-calendar' />
193 198
                     </div>
194 199
                     <div className='dashboard__calltoaction__button__text__title'>
195
-                      Voir le Calendrier
200
+                      {this.props.t('View the Calendar')}
196 201
                     </div>
197 202
                   </div>
198 203
                 </div>
@@ -204,7 +209,7 @@ class Dashboard extends React.Component {
204 209
                     <i className='fa fa-folder-open-o' />
205 210
                   </div>
206 211
                   <div className='dashboard__calltoaction__button__text__title'>
207
-                    Explorer le Workspace
212
+                    {this.props.t('Explore the workspace')}
208 213
                   </div>
209 214
                 </div>
210 215
               </div>
@@ -214,11 +219,11 @@ class Dashboard extends React.Component {
214 219
               <div className='dashboard__activity'>
215 220
                 <div className='dashboard__activity__header'>
216 221
                   <div className='dashboard__activity__header__title subTitle'>
217
-                    Activité récente
222
+                    {this.props.t('Recent activity')}
218 223
                   </div>
219 224
 
220 225
                   <div className='dashboard__activity__header__allread btn btn-outline-primary'>
221
-                    Tout marquer comme lu
226
+                    {this.props.t('Mark everything as read')}
222 227
                   </div>
223 228
                 </div>
224 229
                 <div className='dashboard__activity__wrapper'>
@@ -278,7 +283,7 @@ class Dashboard extends React.Component {
278 283
 
279 284
                   <div className='dashboard__activity__more d-flex flex-row-reverse'>
280 285
                     <div className='dashboard__activity__more__btn btn btn-outline-primary'>
281
-                      Voir plus
286
+                      {this.props.t('See more')}
282 287
                     </div>
283 288
                   </div>
284 289
                 </div>
@@ -287,7 +292,7 @@ class Dashboard extends React.Component {
287 292
               <div className='dashboard__memberlist'>
288 293
 
289 294
                 <div className='dashboard__memberlist__title subTitle'>
290
-                  Liste des membres
295
+                  {this.props.t('Member List')}
291 296
                 </div>
292 297
 
293 298
                 <div className='dashboard__memberlist__wrapper'>
@@ -426,9 +431,8 @@ class Dashboard extends React.Component {
426 431
                           </div>
427 432
                           <div
428 433
                             className='dashboard__memberlist__btnadd__button__text'
429
-
430 434
                           >
431
-                             Ajouter un membre
435
+                            {this.props.t('Add a member')}
432 436
                           </div>
433 437
                         </div>
434 438
                       </div>
@@ -444,7 +448,9 @@ class Dashboard extends React.Component {
444 448
                       </div>
445 449
                       <div className='dashboard__memberlist__form__member'>
446 450
                         <div className='dashboard__memberlist__form__member__name'>
447
-                          <label className='name__label' htmlFor='addmember'>Indiquer le nom ou l'email du membre</label>
451
+                          <label className='name__label' htmlFor='addmember'>
452
+                            {this.props.t('Enter the name or email of the member')}
453
+                          </label>
448 454
                           <input type='text' id='addmember' className='name__input form-control' placeholder='Nom ou Email' />
449 455
                         </div>
450 456
                         <div className='dashboard__memberlist__form__member__create'>
@@ -452,13 +458,13 @@ class Dashboard extends React.Component {
452 458
                             <input type='radio' />
453 459
                           </div>
454 460
                           <div className='create__text'>
455
-                            Créer un compte
461
+                            {this.props.t('Create an account')}
456 462
                           </div>
457 463
                         </div>
458 464
                       </div>
459 465
                       <div className='dashboard__memberlist__form__role'>
460 466
                         <div className='dashboard__memberlist__form__role__text'>
461
-                          Choisissez le rôle du membre
467
+                          {this.props.t('Choose the role of the member')}
462 468
                         </div>
463 469
                         <ul className='dashboard__memberlist__form__role__list'>
464 470
                           <li className='dashboard__memberlist__form__role__list__item'>
@@ -470,7 +476,7 @@ class Dashboard extends React.Component {
470 476
                                 <i className='fa fa-gavel' />
471 477
                               </div>
472 478
                               <div className='item__text__name'>
473
-                                Responsable
479
+                                {this.props.t('Supervisor')}
474 480
                               </div>
475 481
                             </div>
476 482
                           </li>
@@ -483,7 +489,7 @@ class Dashboard extends React.Component {
483 489
                                 <i className='fa fa-graduation-cap' />
484 490
                               </div>
485 491
                               <div className='item__text__name'>
486
-                                Gestionnaire de contenu
492
+                                {this.props.t('Content Manager')}
487 493
                               </div>
488 494
                             </div>
489 495
                           </li>
@@ -496,7 +502,7 @@ class Dashboard extends React.Component {
496 502
                                 <i className='fa fa-pencil' />
497 503
                               </div>
498 504
                               <div className='item__text__name'>
499
-                                Contributeur
505
+                                {this.props.t('Contributor')}
500 506
                               </div>
501 507
                             </div>
502 508
                           </li>
@@ -509,14 +515,16 @@ class Dashboard extends React.Component {
509 515
                                 <i className='fa fa-eye' />
510 516
                               </div>
511 517
                               <div className='item__text__name'>
512
-                                Lecteur
518
+                                {this.props.t('Reader')}
513 519
                               </div>
514 520
                             </div>
515 521
                           </li>
516 522
                         </ul>
517 523
                       </div>
518 524
                       <div className='dashboard__memberlist__form__submitbtn'>
519
-                        <button className='btn btn-outline-primary'>Valider</button>
525
+                        <button className='btn btn-outline-primary'>
526
+                          {this.props.t('Validate')}
527
+                        </button>
520 528
                       </div>
521 529
                     </form>
522 530
                   }
@@ -535,14 +543,14 @@ class Dashboard extends React.Component {
535 543
                   </div>
536 544
 
537 545
                   <div className='dashboard__moreinfo__webdav__btn__text genericBtnInfoDashboard__btn__text'>
538
-                    Implémenter Tracim dans votre explorateur
546
+                    {this.props.t('Implement Tracim in your explorer')}
539 547
                   </div>
540 548
                 </div>
541 549
                 {this.state.displayWebdavBtn === true &&
542 550
                   <div>
543 551
                     <div className='dashboard__moreinfo__webdav__information genericBtnInfoDashboard__info'>
544 552
                       <div className='dashboard__moreinfo__webdav__information__text genericBtnInfoDashboard__info__text'>
545
-                        Retrouvez tous vos documents déposés en ligne directement sur votre ordinateur via le poste de travail, sans passer par le logiciel.
553
+                        {this.props.t('Find all your documents deposited online directly on your computer via the workstation, without going through the software.')}'
546 554
                       </div>
547 555
 
548 556
                       <div className='dashboard__moreinfo__webdav__information__link genericBtnInfoDashboard__info__link'>
@@ -563,7 +571,7 @@ class Dashboard extends React.Component {
563 571
                     </div>
564 572
 
565 573
                     <div className='dashboard__moreinfo__calendar__btn__text genericBtnInfoDashboard__btn__text'>
566
-                      Calendrier de l'espace de travail
574
+                      {this.props.t('Workspace Calendar')}
567 575
                     </div>
568 576
                   </div>
569 577
                 </div>
@@ -572,7 +580,7 @@ class Dashboard extends React.Component {
572 580
                     <div>
573 581
                       <div className='dashboard__moreinfo__calendar__information genericBtnInfoDashboard__info'>
574 582
                         <div className='dashboard__moreinfo__calendar__information__text genericBtnInfoDashboard__info__text'>
575
-                          Chaque espace de travail possède son propre calendrier.
583
+                          {this.props.t('Each workspace has its own calendar.')}
576 584
                         </div>
577 585
 
578 586
                         <div className='dashboard__moreinfo__calendar__information__link genericBtnInfoDashboard__info__link'>
@@ -592,4 +600,4 @@ class Dashboard extends React.Component {
592 600
 }
593 601
 
594 602
 const mapStateToProps = ({ user, app, contentType, workspaceList }) => ({ user, app, contentType, workspaceList })
595
-export default connect(mapStateToProps)(Dashboard)
603
+export default connect(mapStateToProps)(translate()(Dashboard))

+ 1 - 1
frontend/src/container/Header.jsx View File

@@ -37,7 +37,7 @@ class Header extends React.Component {
37 37
   handleChangeLang = idLang => {
38 38
     this.props.dispatch(setUserLang(idLang))
39 39
     i18n.changeLanguage(idLang)
40
-    this.props.emitEventApp('allApp_changeLang', idLang)
40
+    this.props.dispatchCustomEvent('allApp_changeLang', idLang)
41 41
   }
42 42
 
43 43
   handleClickHelp = () => {}

+ 2 - 2
frontend/src/container/Login.jsx View File

@@ -83,7 +83,7 @@ class Login extends React.Component {
83 83
                         customClass='mb-3 mt-4'
84 84
                         icon='fa-envelope-open-o'
85 85
                         type='email'
86
-                        placeHolder='Adresse Email'
86
+                        placeHolder={this.props.t('Email Adress')}
87 87
                         invalidMsg='Email invalide.'
88 88
                         isInvalid={this.state.inputLogin.isInvalid}
89 89
                         value={this.state.inputLogin.value}
@@ -95,7 +95,7 @@ class Login extends React.Component {
95 95
                         customClass=''
96 96
                         icon='fa-lock'
97 97
                         type='password'
98
-                        placeHolder='Mot de passe'
98
+                        placeHolder={this.props.t('Password')}
99 99
                         invalidMsg='Mot de passe invalide.'
100 100
                         isInvalid={this.state.inputPassword.isInvalid}
101 101
                         value={this.state.inputPassword.value}

+ 19 - 1
frontend/src/container/Sidebar.jsx View File

@@ -6,8 +6,12 @@ import { translate } from 'react-i18next'
6 6
 import WorkspaceListItem from '../component/Sidebar/WorkspaceListItem.jsx'
7 7
 import {
8 8
   setWorkspaceListIsOpenInSidebar,
9
-  updateWorkspaceFilter
9
+  updateWorkspaceFilter,
10
+  updateWorkspaceListData
10 11
 } from '../action-creator.sync.js'
12
+import {
13
+  getWorkspaceList
14
+} from '../action-creator.async.js'
11 15
 import { PAGE } from '../helper.js'
12 16
 
13 17
 const qs = require('query-string')
@@ -21,6 +25,20 @@ class Sidebar extends React.Component {
21 25
     }
22 26
   }
23 27
 
28
+  async componentDidMount () {
29
+    const { workspaceIdInUrl } = this.state
30
+    const { user, workspaceList, dispatch } = this.props
31
+
32
+    if (user.user_id !== -1 && workspaceList.length === 0) {
33
+      const fetchGetWorkspaceList = await dispatch(getWorkspaceList(user))
34
+
35
+      if (fetchGetWorkspaceList.status === 200) {
36
+        dispatch(updateWorkspaceListData(fetchGetWorkspaceList.json))
37
+        dispatch(setWorkspaceListIsOpenInSidebar(workspaceIdInUrl || fetchGetWorkspaceList.json[0].workspace_id, true))
38
+      }
39
+    }
40
+  }
41
+
24 42
   componentDidUpdate (prevProps, prevState) {
25 43
     // console.log('%c<Sidebar> Did Update', 'color: #c17838')
26 44
     if (this.props.match.params.idws === undefined || isNaN(this.props.match.params.idws)) return

+ 16 - 3
frontend/src/container/Tracim.jsx View File

@@ -5,6 +5,7 @@ import Header from './Header.jsx'
5 5
 import Login from './Login.jsx'
6 6
 import Dashboard from './Dashboard.jsx'
7 7
 import Account from './Account.jsx'
8
+import AppFullscreenManager from './AppFullscreenManager.jsx'
8 9
 import FlashMessage from '../component/FlashMessage.jsx'
9 10
 import WorkspaceContent from './WorkspaceContent.jsx'
10 11
 import WIPcomponent from './WIPcomponent.jsx'
@@ -14,10 +15,12 @@ import {
14 15
 import PrivateRoute from './PrivateRoute.jsx'
15 16
 import { COOKIE, PAGE } from '../helper.js'
16 17
 import {
18
+  getAppList,
17 19
   getUserIsConnected
18 20
 } from '../action-creator.async.js'
19 21
 import {
20 22
   removeFlashMessage,
23
+  setAppList,
21 24
   setUserConnected
22 25
 } from '../action-creator.sync.js'
23 26
 import Cookies from 'js-cookie'
@@ -34,14 +37,21 @@ class Tracim extends React.Component {
34 37
     const fetchGetUserIsConnected = await dispatch(getUserIsConnected(userFromCookies))
35 38
     switch (fetchGetUserIsConnected.status) {
36 39
       case 200:
37
-        dispatch(setUserConnected({
40
+        const userLogged = {
38 41
           ...fetchGetUserIsConnected.json,
39 42
           auth: userFromCookies.auth,
40 43
           logged: true
41
-        }))
44
+        }
45
+
46
+        dispatch(setUserConnected(userLogged))
47
+
48
+        const fetchGetAppList = await dispatch(getAppList(userLogged))
49
+        if (fetchGetAppList.status === 200) dispatch(setAppList(fetchGetAppList.json))
42 50
         break
51
+
43 52
       case 401:
44 53
         dispatch(setUserConnected({logged: false})); break
54
+
45 55
       default:
46 56
         dispatch(setUserConnected({logged: null})); break
47 57
     }
@@ -69,7 +79,10 @@ class Tracim extends React.Component {
69 79
           </Switch>
70 80
 
71 81
           <PrivateRoute path={PAGE.ACCOUNT} component={Account} />
82
+          <PrivateRoute path={PAGE.ADMIN.ROOT} component={AppFullscreenManager} />
72 83
           <PrivateRoute path={'/wip/:cp'} component={WIPcomponent} /> {/* for testing purpose only */}
84
+
85
+          <div id='appFeatureContainer' />
73 86
         </div>
74 87
 
75 88
       </div>
@@ -77,5 +90,5 @@ class Tracim extends React.Component {
77 90
   }
78 91
 }
79 92
 
80
-const mapStateToProps = ({ flashMessage, user }) => ({ flashMessage, user })
93
+const mapStateToProps = ({ flashMessage }) => ({ flashMessage })
81 94
 export default withRouter(connect(mapStateToProps)(translate()(Tracim)))

+ 15 - 42
frontend/src/container/WorkspaceContent.jsx View File

@@ -7,26 +7,23 @@ import Sidebar from './Sidebar.jsx'
7 7
 import Folder from '../component/Workspace/Folder.jsx'
8 8
 import ContentItem from '../component/Workspace/ContentItem.jsx'
9 9
 import ContentItemHeader from '../component/Workspace/ContentItemHeader.jsx'
10
-import PageWrapper from '../component/common/layout/PageWrapper.jsx'
11
-import PageTitle from '../component/common/layout/PageTitle.jsx'
12
-import PageContent from '../component/common/layout/PageContent.jsx'
13 10
 import DropdownCreateButton from '../component/common/Input/DropdownCreateButton.jsx'
14 11
 import OpenContentApp from '../component/Workspace/OpenContentApp.jsx'
15 12
 import OpenCreateContentApp from '../component/Workspace/OpenCreateContentApp.jsx'
16 13
 import {
17
-  getAppList,
14
+  PageWrapper,
15
+  PageTitle,
16
+  PageContent
17
+} from 'tracim_frontend_lib'
18
+import {
18 19
   getContentTypeList,
19 20
   getWorkspaceContentList,
20
-  getFolderContent,
21
-  getWorkspaceList
21
+  getFolderContent
22 22
 } from '../action-creator.async.js'
23 23
 import {
24 24
   newFlashMessage,
25
-  setAppList,
26 25
   setContentTypeList,
27
-  setWorkspaceContent,
28
-  setWorkspaceListIsOpenInSidebar,
29
-  updateWorkspaceListData
26
+  setWorkspaceContent
30 27
 } from '../action-creator.sync.js'
31 28
 
32 29
 const qs = require('query-string')
@@ -35,11 +32,6 @@ class WorkspaceContent extends React.Component {
35 32
   constructor (props) {
36 33
     super(props)
37 34
     this.state = {
38
-      popupCreateContent: {
39
-        display: false,
40
-        type: undefined,
41
-        folder: undefined
42
-      },
43 35
       workspaceIdInUrl: props.match.params.idws ? parseInt(props.match.params.idws) : null, // this is used to avoid handling the parseInt every time
44 36
       appOpenedType: false
45 37
     }
@@ -69,38 +61,21 @@ class WorkspaceContent extends React.Component {
69 61
   }
70 62
 
71 63
   async componentDidMount () {
72
-    const { workspaceIdInUrl } = this.state
73
-    const { user, workspaceList, app, contentType, match, dispatch } = this.props
64
+    const { user, workspaceList, contentType, match, dispatch } = this.props
74 65
 
75 66
     console.log('%c<WorkspaceContent> componentDidMount', 'color: #c17838')
76 67
 
77
-    if (app.length === 0) { // @fixme shouldn't this be done by <Sidebar> ?
78
-      const fetchGetAppList = await dispatch(getAppList(user))
79
-      if (fetchGetAppList.status === 200) dispatch(setAppList(fetchGetAppList.json))
80
-    }
81
-
82 68
     if (contentType.length === 0) {
83 69
       const fetchGetContentTypeList = await dispatch(getContentTypeList(user))
84 70
       if (fetchGetContentTypeList.status === 200) dispatch(setContentTypeList(fetchGetContentTypeList.json))
85 71
     }
86 72
 
87 73
     let wsToLoad = null
88
-    if (match.params.idws !== undefined) wsToLoad = match.params.idws
89 74
 
90
-    if (user.user_id !== -1 && workspaceList.length === 0) {
91
-      const fetchGetWorkspaceList = await dispatch(getWorkspaceList(user))
92
-
93
-      if (fetchGetWorkspaceList.status === 200) {
94
-        dispatch(updateWorkspaceListData(fetchGetWorkspaceList.json))
95
-        dispatch(setWorkspaceListIsOpenInSidebar(workspaceIdInUrl || fetchGetWorkspaceList.json[0].workspace_id, true))
96
-
97
-        if (match.params.idws === undefined && fetchGetWorkspaceList.json.length > 0) {
98
-          wsToLoad = fetchGetWorkspaceList.json[0].workspace_id // load first ws if none specified
99
-        }
100
-      }
101
-    }
102
-
103
-    if (wsToLoad === null) return // ws already loaded
75
+    if (match.params.idws === undefined) {
76
+      if (workspaceList.length > 0) wsToLoad = workspaceList[0].id
77
+      else return
78
+    } else wsToLoad = match.params.idws
104 79
 
105 80
     this.loadContentList(wsToLoad)
106 81
   }
@@ -111,7 +86,6 @@ class WorkspaceContent extends React.Component {
111 86
     if (this.state.workspaceIdInUrl === null) return
112 87
 
113 88
     const idWorkspace = parseInt(this.props.match.params.idws)
114
-
115 89
     if (isNaN(idWorkspace)) return
116 90
 
117 91
     const prevFilter = qs.parse(prevProps.location.search).type
@@ -126,7 +100,7 @@ class WorkspaceContent extends React.Component {
126 100
   }
127 101
 
128 102
   componentWillUnmount () {
129
-    this.props.emitEventApp('unmount_app')
103
+    this.props.dispatchCustomEvent('unmount_app')
130 104
     document.removeEventListener('appCustomEvent', this.customEventReducer)
131 105
   }
132 106
 
@@ -221,7 +195,8 @@ class WorkspaceContent extends React.Component {
221 195
           <PageTitle
222 196
             parentClass='workspace__header'
223 197
             customClass='justify-content-between'
224
-            title={workspaceContent.label ? workspaceContent.label : ''}
198
+            title='Liste des Contenus'
199
+            subtitle={workspaceContent.label ? workspaceContent.label : ''}
225 200
           >
226 201
             <DropdownCreateButton
227 202
               parentClass='workspace__header__btnaddworkspace'
@@ -285,8 +260,6 @@ class WorkspaceContent extends React.Component {
285 260
               onClickCreateContent={this.handleClickCreateContent}
286 261
               availableApp={contentType}
287 262
             />
288
-
289
-            <div id='appContainer' />
290 263
           </PageContent>
291 264
 
292 265
         </PageWrapper>

+ 6 - 1
frontend/src/helper.js View File

@@ -26,7 +26,12 @@ export const PAGE = {
26 26
     ADMIN: (idws = ':idws') => `/workspaces/${idws}/admin`
27 27
   },
28 28
   LOGIN: '/login',
29
-  ACCOUNT: '/account'
29
+  ACCOUNT: '/account',
30
+  ADMIN: {
31
+    ROOT: '/admin',
32
+    WORKSPACE: '/admin/workspace',
33
+    USEr: '/admin/user'
34
+  }
30 35
 }
31 36
 
32 37
 export const ROLE = [{

+ 13 - 0
frontend_app_admin_workspace_user/.editorconfig View File

@@ -0,0 +1,13 @@
1
+# doc here : https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
2
+root = true
3
+
4
+[*]
5
+indent_style = space
6
+indent_size = 2
7
+end_of_line = lf
8
+charset = utf-8
9
+insert_final_newline = true
10
+trim_trailing_whitespace = true
11
+
12
+[*.py]
13
+indent_size = 4

+ 5 - 0
frontend_app_admin_workspace_user/.gitignore View File

@@ -0,0 +1,5 @@
1
+# Created by .ignore support plugin (hsz.mobi)
2
+.idea/
3
+.git/
4
+dist/admin_workspace_user.app.js
5
+node_modules/

+ 1 - 0
frontend_app_admin_workspace_user/README.md View File

@@ -0,0 +1 @@
1
+# app Admin Workspace User

+ 17 - 0
frontend_app_admin_workspace_user/build_admin_workspace_user.sh View File

@@ -0,0 +1,17 @@
1
+#!/bin/bash
2
+
3
+. ../bash_library.sh # source bash_library.sh
4
+
5
+windoz=""
6
+if [[ $1 = "-w" ]]; then
7
+    windoz="windoz"
8
+fi
9
+
10
+log "npm run build$windoz"
11
+npm run build$windoz
12
+log "cp dist/admin_workspace_user.app.js ../frontend/dist/app"
13
+cp dist/admin_workspace_user.app.js ../frontend/dist/app
14
+log "cp i18next.scanner/en/translation.json ../frontend/dist/app/admin_workspace_user_en_translation.json"
15
+cp i18next.scanner/en/translation.json ../frontend/dist/app/admin_workspace_user_en_translation.json
16
+log "cp i18next.scanner/fr/translation.json ../frontend/dist/app/admin_workspace_user_fr_translation.json"
17
+cp i18next.scanner/fr/translation.json ../frontend/dist/app/admin_workspace_user_fr_translation.json

+ 1 - 0
frontend_app_admin_workspace_user/dist/asset View File

@@ -0,0 +1 @@
1
+../../frontend/dist/asset/

+ 1 - 0
frontend_app_admin_workspace_user/dist/dev View File

@@ -0,0 +1 @@
1
+../../frontend/dist/dev

+ 1 - 0
frontend_app_admin_workspace_user/dist/font View File

@@ -0,0 +1 @@
1
+../../frontend/dist/font

+ 22 - 0
frontend_app_admin_workspace_user/dist/index.html View File

@@ -0,0 +1,22 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+  <meta charset='utf-8' />
5
+  <meta name="viewport" content="width=device-width, user-scalable=no" />
6
+  <title>Html-document App Tracim</title>
7
+  <link rel='shortcut icon' href='favicon.ico'>
8
+
9
+  <link rel="stylesheet" type="text/css" href="./font/font-awesome-4.7.0/css/font-awesome.css">
10
+  <link href="https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700" rel="stylesheet">
11
+  <link rel="stylesheet" type="text/css" href="./dev/bootstrap-4.0.0-beta.css">
12
+</head>
13
+<body>
14
+  <script src="./dev/jquery-3.2.1.js"></script>
15
+  <script src="./dev/popper-1.12.3.js"></script>
16
+  <script src="./dev/bootstrap-4.0.0-beta.2.js"></script>
17
+
18
+  <div id='content'></div>
19
+
20
+  <script src='./admin_workspace_user.app.dev.js'></script>
21
+</body>
22
+</html>

+ 14 - 0
frontend_app_admin_workspace_user/i18next.scanner.js View File

@@ -0,0 +1,14 @@
1
+const scanner = require('i18next-scanner')
2
+const vfs = require('vinyl-fs')
3
+
4
+const option = require('../i18next.option.js')
5
+
6
+// --------------------
7
+// 2018/07/27 - currently, last version is 2.6.5 but a bug is spaming log with errors. So I'm using 2.6.1
8
+// this issue seems related : https://github.com/i18next/i18next-scanner/issues/88
9
+// --------------------
10
+
11
+vfs.src(['./src/**/*.jsx'])
12
+// .pipe(sort()) // Sort files in stream by path
13
+  .pipe(scanner(option))
14
+  .pipe(vfs.dest('./i18next.scanner'))

+ 1 - 0
frontend_app_admin_workspace_user/i18next.scanner/en/translation.json View File

@@ -0,0 +1 @@
1
+{}

+ 1 - 0
frontend_app_admin_workspace_user/i18next.scanner/fr/translation.json View File

@@ -0,0 +1 @@
1
+{}

+ 63 - 0
frontend_app_admin_workspace_user/package.json View File

@@ -0,0 +1,63 @@
1
+{
2
+  "name": "tracim_app_admin_workspace_user",
3
+  "version": "1.1.2",
4
+  "description": "",
5
+  "main": "index.js",
6
+  "scripts": {
7
+    "servdev": "NODE_ENV=development webpack-dev-server --watch --colors --inline --hot --progress",
8
+    "servdevwindoz": "set NODE_ENV=development&& webpack-dev-server --watch --colors --inline --hot --progress",
9
+    "servdev-dashboard": "NODE_ENV=development webpack-dashboard -m -p 9873 -- webpack-dev-server --watch --colors --inline --hot --progress",
10
+    "build": "NODE_ENV=production webpack -p",
11
+    "build-translation": "node i18next.scanner.js",
12
+    "buildwindoz": "set NODE_ENV=production&& webpack -p",
13
+    "test": "echo \"Error: no test specified\" && exit 1"
14
+  },
15
+  "author": "",
16
+  "license": "ISC",
17
+  "dependencies": {
18
+    "babel-core": "^6.26.0",
19
+    "babel-eslint": "^8.2.1",
20
+    "babel-loader": "^7.1.2",
21
+    "babel-plugin-transform-class-properties": "^6.24.1",
22
+    "babel-plugin-transform-object-assign": "^6.22.0",
23
+    "babel-plugin-transform-object-rest-spread": "^6.26.0",
24
+    "babel-polyfill": "^6.26.0",
25
+    "babel-preset-env": "^1.6.1",
26
+    "babel-preset-react": "^6.24.1",
27
+    "classnames": "^2.2.5",
28
+    "css-loader": "^0.28.7",
29
+    "file-loader": "^1.1.5",
30
+    "i18next": "^10.5.0",
31
+    "prop-types": "^15.6.0",
32
+    "react": "^16.0.0",
33
+    "react-dom": "^16.0.0",
34
+    "react-i18next": "^7.5.0",
35
+    "standard": "^11.0.0",
36
+    "standard-loader": "^6.0.1",
37
+    "style-loader": "^0.19.0",
38
+    "stylus": "^0.54.5",
39
+    "stylus-loader": "^3.0.1",
40
+    "url-loader": "^0.6.2",
41
+    "webpack": "^3.8.1",
42
+    "whatwg-fetch": "^2.0.3"
43
+  },
44
+  "devDependencies": {
45
+    "i18next-scanner": "^2.6.1",
46
+    "webpack-dashboard": "^1.1.1",
47
+    "webpack-dev-server": "^2.9.2"
48
+  },
49
+  "standard": {
50
+    "globals": [
51
+      "fetch",
52
+      "history",
53
+      "btoa",
54
+      "wysiwyg",
55
+      "tinymce",
56
+      "GLOBAL_renderAppFeature",
57
+      "GLOBAL_unmountApp",
58
+      "GLOBAL_dispatchEvent"
59
+    ],
60
+    "parser": "babel-eslint",
61
+    "ignore": []
62
+  }
63
+}

+ 1 - 0
frontend_app_admin_workspace_user/src/action.async.js View File

@@ -0,0 +1 @@
1
+// import { FETCH_CONFIG } from './helper.js'

+ 86 - 0
frontend_app_admin_workspace_user/src/container/AdminWorkspaceUser.jsx View File

@@ -0,0 +1,86 @@
1
+import React from 'react'
2
+import { translate } from 'react-i18next'
3
+import i18n from '../i18n.js'
4
+import {
5
+  addAllResourceI18n,
6
+  // handleFetchResult,
7
+  PageWrapper,
8
+  PageTitle,
9
+  PageContent
10
+} from 'tracim_frontend_lib'
11
+import { debug } from '../helper.js'
12
+import {
13
+} from '../action.async.js'
14
+
15
+class AdminWorkspaceUser extends React.Component {
16
+  constructor (props) {
17
+    super(props)
18
+    this.state = {
19
+      appName: 'admin_workspace_user',
20
+      isVisible: true,
21
+      config: props.data ? props.data.config : debug.config,
22
+      loggedUser: props.data ? props.data.loggedUser : debug.loggedUser,
23
+      content: props.data ? props.data.content : debug.content
24
+    }
25
+
26
+    // i18n has been init, add resources from frontend
27
+    addAllResourceI18n(i18n, this.state.config.translation)
28
+    i18n.changeLanguage(this.state.loggedUser.lang)
29
+
30
+    document.addEventListener('appCustomEvent', this.customEventReducer)
31
+  }
32
+
33
+  customEventReducer = ({ detail: { type, data } }) => { // action: { type: '', data: {} }
34
+    switch (type) {
35
+      // console.log('%c<AdminWorkspaceUser> Custom event', 'color: #28a745', type, data)
36
+      default:
37
+        break
38
+    }
39
+  }
40
+
41
+  componentDidMount () {
42
+    console.log('%c<AdminWorkspaceUser> did mount', `color: ${this.state.config.hexcolor}`)
43
+
44
+    this.loadContent()
45
+  }
46
+
47
+  componentDidUpdate (prevProps, prevState) {
48
+    const { state } = this
49
+
50
+    console.log('%c<AdminWorkspaceUser> did update', `color: ${this.state.config.hexcolor}`, prevState, state)
51
+  }
52
+
53
+  componentWillUnmount () {
54
+    console.log('%c<AdminWorkspaceUser> will Unmount', `color: ${this.state.config.hexcolor}`)
55
+    document.removeEventListener('appCustomEvent', this.customEventReducer)
56
+  }
57
+
58
+  loadContent = () => {
59
+    return null
60
+  }
61
+
62
+  render () {
63
+    const { isVisible } = this.state
64
+    // const { t } = this.props
65
+
66
+    if (!isVisible) return null
67
+
68
+    return (
69
+      <div>
70
+        <PageWrapper customeClass='admin'>
71
+          <PageTitle
72
+            parentClass='admin__header'
73
+            customClass='justify-content-between'
74
+            title={'Admin'}
75
+          />
76
+
77
+          <PageContent parentClass='workspace__content'>
78
+            woot { this.state.config.type }
79
+          </PageContent>
80
+        </PageWrapper>
81
+      </div>
82
+    )
83
+  }
84
+}
85
+
86
+export default translate()(AdminWorkspaceUser)

+ 1 - 0
frontend_app_admin_workspace_user/src/css/index.styl View File

@@ -0,0 +1 @@
1
+@import "../../node_modules/tracim_frontend_lib/src/css/Variable.styl"

+ 54 - 0
frontend_app_admin_workspace_user/src/helper.js View File

@@ -0,0 +1,54 @@
1
+export const FETCH_CONFIG = {
2
+  headers: {
3
+    'Accept': 'application/json',
4
+    'Content-Type': 'application/json'
5
+  }
6
+}
7
+
8
+export const debug = {
9
+  config: {
10
+    label: 'Admin workspace user',
11
+    slug: 'admin_workspace_user',
12
+    faIcon: 'file-text-o',
13
+    hexcolor: '#7d4e24',
14
+    type: 'workspace',
15
+    translation: {en: {}, fr: {}}
16
+  },
17
+  loggedUser: { // @FIXME this object is outdated
18
+    user_id: 5,
19
+    username: 'Smoi',
20
+    firstname: 'Côme',
21
+    lastname: 'Stoilenom',
22
+    email: 'osef@algoo.fr',
23
+    lang: 'en',
24
+    avatar_url: 'https://avatars3.githubusercontent.com/u/11177014?s=460&v=4',
25
+    auth: btoa(`${'admin@admin.admin'}:${'admin@admin.admin'}`)
26
+  },
27
+  content: {
28
+    author: {
29
+      avatar_url: null,
30
+      public_name: 'Global manager',
31
+      user_id: 1 // -1 or 1 for debug
32
+    },
33
+    content_id: 22, // 1 or 22 for debug
34
+    content_type: 'html-document',
35
+    created: '2018-06-18T14:59:26Z',
36
+    current_revision_id: 11,
37
+    is_archived: false,
38
+    is_deleted: false,
39
+    label: 'Current Menu',
40
+    last_modifier: {
41
+      avatar_url: null,
42
+      public_name: 'Global manager',
43
+      user_id: 1
44
+    },
45
+    modified: '2018-06-18T14:59:26Z',
46
+    parent_id: 2,
47
+    raw_content: '<div>bonjour, je suis un lapin.</div>',
48
+    show_in_ui: true,
49
+    slug: 'current-menu',
50
+    status: 'open',
51
+    sub_content_types: ['thread', 'html-document', 'file', 'folder'],
52
+    workspace_id: 1
53
+  }
54
+}

+ 21 - 0
frontend_app_admin_workspace_user/src/i18n.js View File

@@ -0,0 +1,21 @@
1
+import i18n from 'i18next'
2
+import { reactI18nextModule } from 'react-i18next'
3
+
4
+i18n
5
+  .use(reactI18nextModule)
6
+  .init({
7
+    fallbackLng: 'fr',
8
+    // have a common namespace used around the full app
9
+    ns: ['translation'], // namespace
10
+    defaultNS: 'translation',
11
+    debug: true,
12
+    // interpolation: {
13
+    //   escapeValue: false, // not needed for react!!
14
+    // },
15
+    react: {
16
+      wait: true
17
+    },
18
+    resources: {} // init with empty resources, they will come from frontend in app constructor
19
+  })
20
+
21
+export default i18n

+ 16 - 0
frontend_app_admin_workspace_user/src/index.dev.js View File

@@ -0,0 +1,16 @@
1
+import React from 'react'
2
+import ReactDOM from 'react-dom'
3
+import AdminWorkspaceUser from './container/AdminWorkspaceUser.jsx'
4
+// import PopupCreateHtmlDocument from './container/PopupCreateHtmlDocument.jsx'
5
+
6
+require('./css/index.styl')
7
+
8
+ReactDOM.render(
9
+  <AdminWorkspaceUser data={undefined} />
10
+  , document.getElementById('content')
11
+)
12
+
13
+// ReactDOM.render(
14
+//   <PopupCreateHtmlDocument />
15
+//   , document.getElementById('content')
16
+// )

+ 24 - 0
frontend_app_admin_workspace_user/src/index.js View File

@@ -0,0 +1,24 @@
1
+import React from 'react'
2
+import ReactDOM from 'react-dom'
3
+import AdminWorkspaceUser from './container/AdminWorkspaceUser.jsx'
4
+
5
+require('./css/index.styl')
6
+
7
+const appInterface = {
8
+  name: 'admin_workspace_user',
9
+  isRendered: false,
10
+  renderAppFullscreen: data => {
11
+    return ReactDOM.render(
12
+      <AdminWorkspaceUser data={data} />
13
+      , document.getElementById(data.config.domContainer)
14
+    )
15
+  },
16
+  unmountApp: domId => {
17
+    return ReactDOM.unmountComponentAtNode(document.getElementById(domId)) // returns bool
18
+  }
19
+  // renderAppPopupCreation: data => {
20
+  //   return null
21
+  // }
22
+}
23
+
24
+module.exports = appInterface

+ 87 - 0
frontend_app_admin_workspace_user/webpack.config.js View File

@@ -0,0 +1,87 @@
1
+const webpack = require('webpack')
2
+const path = require('path')
3
+const isProduction = process.env.NODE_ENV === 'production'
4
+
5
+console.log('isProduction : ', isProduction)
6
+
7
+module.exports = {
8
+  entry: isProduction
9
+    ? './src/index.js' // only one instance of babel-polyfill is allowed
10
+    : ['babel-polyfill', './src/index.dev.js'],
11
+  output: {
12
+    path: path.resolve(__dirname, 'dist'),
13
+    filename: isProduction ? 'admin_workspace_user.app.js' : 'admin_workspace_user.app.dev.js',
14
+    pathinfo: !isProduction,
15
+    library: isProduction ? 'appAdminWorkspaceUser' : undefined,
16
+    libraryTarget: isProduction ? 'var' : undefined
17
+  },
18
+  externals: {},
19
+  // isProduction ? { // Côme - since plugins are imported through <script>, cannot externalize libraries
20
+  //   react: {commonjs: 'react', commonjs2: 'react', amd: 'react', root: '_'},
21
+  //   'react-dom': {commonjs: 'react-dom', commonjs2: 'react-dom', amd: 'react-dom', root: '_'},
22
+  //   classnames: {commonjs: 'classnames', commonjs2: 'classnames', amd: 'classnames', root: '_'},
23
+  //   'prop-types': {commonjs: 'prop-types', commonjs2: 'prop-types', amd: 'prop-types', root: '_'},
24
+  //   tracim_lib: {commonjs: 'tracim_lib', commonjs2: 'tracim_lib', amd: 'tracim_lib', root: '_'}
25
+  // }
26
+  // : {},
27
+  devServer: {
28
+    contentBase: path.join(__dirname, 'dist/'),
29
+    port: 8073,
30
+    hot: true,
31
+    noInfo: true,
32
+    overlay: {
33
+      warnings: false,
34
+      errors: true
35
+    },
36
+    historyApiFallback: true
37
+    // headers: {
38
+    //   'Access-Control-Allow-Origin': '*'
39
+    // }
40
+  },
41
+  devtool: isProduction ? false : 'cheap-module-source-map',
42
+  module: {
43
+    rules: [{
44
+      test: /\.jsx?$/,
45
+      enforce: 'pre',
46
+      use: 'standard-loader',
47
+      exclude: [/node_modules/]
48
+    }, {
49
+      test: [/\.js$/, /\.jsx$/],
50
+      loader: 'babel-loader',
51
+      options: {
52
+        presets: ['env', 'react'],
53
+        plugins: ['transform-object-rest-spread', 'transform-class-properties', 'transform-object-assign']
54
+      },
55
+      exclude: [/node_modules/]
56
+    }, {
57
+      test: /\.css$/,
58
+      use: ['style-loader', 'css-loader']
59
+    }, {
60
+      test: /\.styl$/,
61
+      use: ['style-loader', 'css-loader', 'stylus-loader']
62
+    }, {
63
+      test: /\.(jpg|png|svg)$/,
64
+      loader: 'url-loader',
65
+      options: {
66
+        limit: 25000
67
+      }
68
+    }]
69
+  },
70
+  resolve: {
71
+    extensions: ['.js', '.jsx']
72
+  },
73
+  plugins: [
74
+    ...[], // generic plugins always present
75
+    ...(isProduction
76
+      ? [ // production specific plugins
77
+        new webpack.DefinePlugin({
78
+          'process.env': { 'NODE_ENV': JSON.stringify('production') }
79
+        }),
80
+        new webpack.optimize.UglifyJsPlugin({
81
+          compress: { warnings: false }
82
+        })
83
+      ]
84
+      : [] // development specific plugins
85
+    )
86
+  ]
87
+}

+ 1 - 0
frontend_app_html-document/dist/asset View File

@@ -0,0 +1 @@
1
+../../frontend/dist/asset/

+ 0 - 101
frontend_app_html-document/dist/asset/hamburger/hamburgers.css View File

@@ -1,101 +0,0 @@
1
-/*!
2
- * Hamburgers
3
- * @description Tasty CSS-animated hamburgers
4
- * @author Jonathan Suh @jonsuh
5
- * @site https://jonsuh.com/hamburgers
6
- * @link https://github.com/jonsuh/hamburgers
7
- */
8
-.hamburger {
9
-  padding: 15px 15px;
10
-  display: inline-block;
11
-  cursor: pointer;
12
-  transition-property: opacity, filter;
13
-  transition-duration: 0.15s;
14
-  transition-timing-function: linear;
15
-  font: inherit;
16
-  color: inherit;
17
-  text-transform: none;
18
-  background-color: transparent;
19
-  border: 0;
20
-  margin: 0;
21
-  overflow: visible; }
22
-  .hamburger:hover {
23
-    opacity: 0.7; }
24
-
25
-.hamburger-box {
26
-  width: 40px;
27
-  height: 24px;
28
-  display: inline-block;
29
-  position: relative; }
30
-
31
-.hamburger-inner {
32
-  display: block;
33
-  top: 50%;
34
-  margin-top: -2px; }
35
-  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
36
-    width: 40px;
37
-    height: 4px;
38
-    background-color: #000;
39
-    border-radius: 4px;
40
-    position: absolute;
41
-    transition-property: transform;
42
-    transition-duration: 0.15s;
43
-    transition-timing-function: ease; }
44
-  .hamburger-inner::before, .hamburger-inner::after {
45
-    content: "";
46
-    display: block; }
47
-  .hamburger-inner::before {
48
-    top: -10px; }
49
-  .hamburger-inner::after {
50
-    bottom: -10px; }
51
-/*
52
-   * Collapse
53
-   */
54
-.hamburger--collapse .hamburger-inner {
55
-  top: auto;
56
-  bottom: 0;
57
-  transition-duration: 0.13s;
58
-  transition-delay: 0.13s;
59
-  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
60
-  .hamburger--collapse .hamburger-inner::after {
61
-    top: -20px;
62
-    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear; }
63
-  .hamburger--collapse .hamburger-inner::before {
64
-    transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
65
-
66
-.hamburger--collapse.is-active .hamburger-inner {
67
-  transform: translate3d(0, -10px, 0) rotate(-45deg);
68
-  transition-delay: 0.22s;
69
-  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
70
-  .hamburger--collapse.is-active .hamburger-inner::after {
71
-    top: 0;
72
-    opacity: 0;
73
-    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear; }
74
-  .hamburger--collapse.is-active .hamburger-inner::before {
75
-    top: 0;
76
-    transform: rotate(-90deg);
77
-    transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1); }
78
-/*
79
-   * Spring
80
-   */
81
-.hamburger--spring .hamburger-inner {
82
-  top: 2px;
83
-  transition: background-color 0s 0.13s linear; }
84
-  .hamburger--spring .hamburger-inner::before {
85
-    top: 10px;
86
-    transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
87
-  .hamburger--spring .hamburger-inner::after {
88
-    top: 20px;
89
-    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
90
-
91
-.hamburger--spring.is-active .hamburger-inner {
92
-  transition-delay: 0.22s;
93
-  background-color: transparent; }
94
-  .hamburger--spring.is-active .hamburger-inner::before {
95
-    top: 0;
96
-    transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
97
-    transform: translate3d(0, 10px, 0) rotate(45deg); }
98
-  .hamburger--spring.is-active .hamburger-inner::after {
99
-    top: 0;
100
-    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
101
-    transform: translate3d(0, 10px, 0) rotate(-45deg); }

+ 0 - 7
frontend_app_html-document/dist/asset/hamburger/hamburgers.min.css View File

@@ -1,7 +0,0 @@
1
-/*!
2
- * Hamburgers
3
- * @description Tasty CSS-animated hamburgers
4
- * @author Jonathan Suh @jonsuh
5
- * @site https://jonsuh.com/hamburgers
6
- * @link https://github.com/jonsuh/hamburgers
7
- */.hamburger{padding:15px;display:inline-block;cursor:pointer;transition-property:opacity,filter;transition-duration:.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible}.hamburger:hover{opacity:.7}.hamburger-box{width:40px;height:24px;display:inline-block;position:relative}.hamburger-inner{display:block;top:50%;margin-top:-2px}.hamburger-inner,.hamburger-inner::after,.hamburger-inner::before{width:40px;height:4px;background-color:#000;border-radius:4px;position:absolute;transition-property:transform;transition-duration:.15s;transition-timing-function:ease}.hamburger-inner::after,.hamburger-inner::before{content:"";display:block}.hamburger-inner::before{top:-10px}.hamburger-inner::after{bottom:-10px}.hamburger--collapse .hamburger-inner{top:auto;bottom:0;transition-duration:.13s;transition-delay:.13s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.hamburger--collapse .hamburger-inner::after{top:-20px;transition:top .2s .2s cubic-bezier(.33333,.66667,.66667,1),opacity .1s linear}.hamburger--collapse .hamburger-inner::before{transition:top .12s .2s cubic-bezier(.33333,.66667,.66667,1),transform .13s cubic-bezier(.55,.055,.675,.19)}.hamburger--collapse.is-active .hamburger-inner{transform:translate3d(0,-10px,0) rotate(-45deg);transition-delay:.22s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.hamburger--collapse.is-active .hamburger-inner::after{top:0;opacity:0;transition:top .2s cubic-bezier(.33333,0,.66667,.33333),opacity .1s .22s linear}.hamburger--collapse.is-active .hamburger-inner::before{top:0;transform:rotate(-90deg);transition:top .1s .16s cubic-bezier(.33333,0,.66667,.33333),transform .13s .25s cubic-bezier(.215,.61,.355,1)}.hamburger--spring .hamburger-inner{top:2px;transition:background-color 0s .13s linear}.hamburger--spring .hamburger-inner::before{top:10px;transition:top .1s .2s cubic-bezier(.33333,.66667,.66667,1),transform .13s cubic-bezier(.55,.055,.675,.19)}.hamburger--spring .hamburger-inner::after{top:20px;transition:top .2s .2s cubic-bezier(.33333,.66667,.66667,1),transform .13s cubic-bezier(.55,.055,.675,.19)}.hamburger--spring.is-active .hamburger-inner{transition-delay:.22s;background-color:transparent}.hamburger--spring.is-active .hamburger-inner::before{top:0;transition:top .1s .15s cubic-bezier(.33333,0,.66667,.33333),transform .13s .22s cubic-bezier(.215,.61,.355,1);transform:translate3d(0,10px,0) rotate(45deg)}.hamburger--spring.is-active .hamburger-inner::after{top:0;transition:top .2s cubic-bezier(.33333,0,.66667,.33333),transform .13s .22s cubic-bezier(.215,.61,.355,1);transform:translate3d(0,10px,0) rotate(-45deg)}

+ 0 - 975
frontend_app_html-document/dist/asset/tinymce/changelog.txt View File

@@ -1,975 +0,0 @@
1
-Version 4.7.13 (2018-05-16)
2
-    Fixed a bug where Edge 17 wouldn't be able to select images or tables. #TINY-1679
3
-    Fixed issue where whitespace wasn't preserved when the editor was initialized on pre elements. #TINY-1649
4
-    Fixed a bug with the fontselect dropdowns throwing an error if the editor was hidden in Firefox. #TINY-1664
5
-    Fixed a bug where it wasn't possible to merge table cells on IE 11. #TINY-1671
6
-    Fixed a bug where textcolor wasn't applying properly on IE 11 in some situations. #TINY-1663
7
-    Fixed a bug where the justifyfull command state wasn't working correctly. #TINY-1677
8
-    Fixed a bug where the styles wasn't updated correctly when resizing some tables. #TINY-1668
9
-    Added missing code menu item from the default menu config. #TINY-1648
10
-    Added new align button for combining the separate align buttons into a menu button. #TINY-1652
11
-Version 4.7.12 (2018-05-03)
12
-    Added an option to filter out image svg data urls.
13
-    Added support for html5 details and summary elements.
14
-    Changed so the mce-abs-layout-item css rule targets html instead of body. Patch contributed by nazar-pc.
15
-    Fixed a bug where the "read" step on the mobile theme was still present on android mobile browsers.
16
-    Fixed a bug where all images in the editor document would reload on any editor change.
17
-    Fixed a bug with the Table Plugin where ObjectResized event wasn't being triggered on column resize.
18
-    Fixed so the selection is set to the first suitable caret position after editor.setContent called.
19
-    Fixed so links with xlink:href attributes are filtered correctly to prevent XSS.
20
-    Fixed a bug on IE11 where pasting content into an inline editor initialized on a heading element would create new editable elements.
21
-    Fixed a bug where readonly mode would not work as expected when the editor contained contentEditable=true elements.
22
-    Fixed a bug where the Link Plugin would throw an error when used together with the webcomponents polyfill. Patch contributed by 4esnog.
23
-    Fixed a bug where the "Powered by TinyMCE" branding link would break on XHTML pages. Patch contributed by tistre.
24
-    Fixed a bug where the same id would be used in the blobcache for all pasted images. Patch contributed by thorn0.
25
-Version 4.7.11 (2018-04-11)
26
-    Added a new imagetools_credentials_hosts option to the Imagetools Plugin.
27
-    Fixed a bug where toggling a list containing empty LIs would throw an error. Patch contributed by bradleyke.
28
-    Fixed a bug where applying block styles to a text with the caret at the end of the paragraph would select all text in the paragraph.
29
-    Fixed a bug where toggling on the Spellchecker Plugin would trigger isDirty on the editor.
30
-    Fixed a bug where it was possible to enter content into selection bookmark spans.
31
-    Fixed a bug where if a non paragraph block was configured in forced_root_block the editor.getContent method would return incorrect values with an empty editor.
32
-    Fixed a bug where dropdown menu panels stayed open and fixed in position when dragging dialog windows.
33
-    Fixed a bug where it wasn't possible to extend table cells with the space button in Safari.
34
-    Fixed a bug where the setupeditor event would thrown an error when using the Compat3x Plugin.
35
-    Fixed a bug where an error was thrown in FontInfo when called on a detached element.
36
-Version 4.7.10 (2018-04-03)
37
-    Removed the "read" step from the mobile theme.
38
-    Added normalization of triple clicks across browsers in the editor.
39
-    Added a `hasFocus` method to the editor that checks if the editor has focus.
40
-    Added correct icon to the Nonbreaking Plugin menu item.
41
-    Fixed so the `getContent`/`setContent` methods work even if the editor is not initialized.
42
-    Fixed a bug with the Media Plugin where query strings were being stripped from youtube links.
43
-    Fixed a bug where image styles were changed/removed when opening and closing the Image Plugin dialog.
44
-    Fixed a bug in the Table Plugin where some table cell styles were not correctly added to the content html.
45
-    Fixed a bug in the Spellchecker Plugin where it wasn't possible to change the spellchecker language.
46
-    Fixed so the the unlink action in the Link Plugin has a menu item and can be added to the contextmenu.
47
-    Fixed a bug where it wasn't possible to keyboard navigate to the start of an inline element on a new line within the same block element.
48
-    Fixed a bug with the Text Color Plugin where if used with an inline editor located at the bottom of the screen the colorpicker could appear off screen.
49
-    Fixed a bug with the UndoManager where undo levels were being added for nbzwsp characters.
50
-    Fixed a bug with the Table Plugin where the caret would sometimes be lost when keyboard navigating up through a table.
51
-    Fixed a bug where FontInfo.getFontFamily would throw an error when called on a removed editor.
52
-    Fixed a bug in Firefox where undo levels were not being added correctly for some specific operations.
53
-    Fixed a bug where initializing an inline editor inside of a table would make the whole table resizeable.
54
-    Fixed a bug where the fake cursor that appears next to tables on Firefox was positioned incorrectly when switching to fullscreen.
55
-    Fixed a bug where zwsp's weren't trimmed from the output from `editor.getContent({ format: 'text' })`.
56
-    Fixed a bug where the fontsizeselect/fontselect toolbar items showed the body info rather than the first possible caret position info on init.
57
-    Fixed a bug where it wasn't possible to select all content if the editor only contained an inline boundary element.
58
-    Fixed a bug where `content_css` urls with query strings wasn't working.
59
-    Fixed a bug in the Table Plugin where some table row styles were removed when changing other styles in the row properties dialog.
60
-Version 4.7.9 (2018-02-27)
61
-    Fixed a bug where the editor target element didn't get the correct style when removing the editor.
62
-Version 4.7.8 (2018-02-26)
63
-    Fixed an issue with the Help Plugin where the menuitem name wasn't lowercase.
64
-    Fixed an issue on MacOS where text and bold text did not have the same line-height in the autocomplete dropdown in the Link Plugin dialog.
65
-    Fixed a bug where the "paste as text" option in the Paste Plugin didn't work.
66
-    Fixed a bug where dialog list boxes didn't get positioned correctly in documents with scroll.
67
-    Fixed a bug where the Inlite Theme didn't use the Table Plugin api to insert correct tables.
68
-    Fixed a bug where the Inlite Theme panel didn't hide on blur in a correct way.
69
-    Fixed a bug where placing the cursor before a table in Firefox would scroll to the bottom of the table.
70
-    Fixed a bug where selecting partial text in table cells with rowspans and deleting would produce faulty tables.
71
-    Fixed a bug where the Preview Plugin didn't work on Safari due to sandbox security.
72
-    Fixed a bug where table cell selection using the keyboard threw an error.
73
-    Fixed so the font size and font family doesn't toggle the text but only sets the selected format on the selected text.
74
-    Fixed so the built-in spellchecking on Chrome and Safari creates an undo level when replacing words.
75
-Version 4.7.7 (2018-02-19)
76
-    Added a border style selector to the advanced tab of the Image Plugin.
77
-    Added better controls for default table inserted by the Table Plugin.
78
-    Added new `table_responsive_width` option to the Table Plugin that controls whether to use pixel or percentage widths.
79
-    Fixed a bug where the Link Plugin text didn't update when a URL was pasted using the context menu.
80
-    Fixed a bug with the Spellchecker Plugin where using "Add to dictionary" in the context menu threw an error.
81
-    Fixed a bug in the Media Plugin where the preview node for iframes got default width and height attributes that interfered with width/height styles.
82
-    Fixed a bug where backslashes were being added to some font family names in Firefox in the fontselect toolbar item.
83
-    Fixed a bug where errors would be thrown when trying to remove an editor that had not yet been fully initialized.
84
-    Fixed a bug where the Imagetools Plugin didn't update the images atomically.
85
-    Fixed a bug where the Fullscreen Plugin was throwing errors when being used on an inline editor.
86
-    Fixed a bug where drop down menus weren't positioned correctly in inline editors on scroll.
87
-    Fixed a bug with a semicolon missing at the end of the bundled javascript files.
88
-    Fixed a bug in the Table Plugin with cursor navigation inside of tables where the cursor would sometimes jump into an incorrect table cells.
89
-    Fixed a bug where indenting a table that is a list item using the "Increase indent" button would create a nested table.
90
-    Fixed a bug where text nodes containing only whitespace were being wrapped by paragraph elements.
91
-    Fixed a bug where whitespace was being inserted after br tags inside of paragraph tags.
92
-    Fixed a bug where converting an indented paragraph to a list item would cause the list item to have extra padding.
93
-    Fixed a bug where Copy/Paste in an editor with a lot of content would cause the editor to scroll to the top of the content in IE11.
94
-    Fixed a bug with a memory leak in the DragHelper. Path contributed by ben-mckernan.
95
-    Fixed a bug where the advanced tab in the Media Plugin was being shown even if it didn't contain anything. Patch contributed by gabrieeel.
96
-    Fixed an outdated eventname in the EventUtils. Patch contributed by nazar-pc.
97
-    Fixed an issue where the Json.parse function would throw an error when being used on a page with strict CSP settings.
98
-    Fixed so you can place the curser before and after table elements within the editor in Firefox and Edge/IE.
99
-Version 4.7.6 (2018-01-29)
100
-    Fixed a bug in the jquery integration where it threw an error saying that "global is not defined".
101
-    Fixed a bug where deleting a table cell whose previous sibling was set to contenteditable false would create a corrupted table.
102
-    Fixed a bug where highlighting text in an unfocused editor did not work correctly in IE11/Edge.
103
-    Fixed a bug where the table resize handles were not being repositioned when activating the Fullscreen Plugin.
104
-    Fixed a bug where the Imagetools Plugin dialog didn't honor editor RTL settings.
105
-    Fixed a bug where block elements weren't being merged correctly if you deleted from after a contenteditable false element to the beginning of another block element.
106
-    Fixed a bug where TinyMCE didn't work with module loaders like webpack.
107
-Version 4.7.5 (2018-01-22)
108
-    Fixed bug with the Codesample Plugin where it wasn't possible to edit codesamples when the editor was in inline mode.
109
-    Fixed bug where focusing on the status bar broke the keyboard navigation functionality.
110
-    Fixed bug where an error would be thrown on Edge by the Table Plugin when pasting using the PowerPaste Plugin.
111
-    Fixed bug in the Table Plugin where selecting row border style from the dropdown menu in advanced row properties would throw an error.
112
-    Fixed bug with icons being rendered incorrectly on Chrome on Mac OS.
113
-    Fixed bug in the Textcolor Plugin where the font color and background color buttons wouldn't trigger an ExecCommand event.
114
-    Fixed bug in the Link Plugin where the url field wasn't forced LTR.
115
-    Fixed bug where the Nonbreaking Plugin incorrectly inserted spaces into tables.
116
-    Fixed bug with the inline theme where the toolbar wasn't repositioned on window resize.
117
-Version 4.7.4 (2017-12-05)
118
-    Fixed bug in the Nonbreaking Plugin where the nonbreaking_force_tab setting was being ignored.
119
-    Fixed bug in the Table Plugin where changing row height incorrectly converted column widths to pixels.
120
-    Fixed bug in the Table Plugin on Edge and IE11 where resizing the last column after resizing the table would cause invalid column heights.
121
-    Fixed bug in the Table Plugin where keyboard navigation was not normalized between browsers.
122
-    Fixed bug in the Table Plugin where the colorpicker button would show even without defining the colorpicker_callback.
123
-    Fixed bug in the Table Plugin where it wasn't possible to set the cell background color.
124
-    Fixed bug where Firefox would throw an error when intialising an editor on an element that is hidden or not yet added to the DOM.
125
-    Fixed bug where Firefox would throw an error when intialising an editor inside of a hidden iframe.
126
-Version 4.7.3 (2017-11-23)
127
-    Added functionality to open the Codesample Plugin dialog when double clicking on a codesample. Patch contributed by dakuzen.
128
-    Fixed bug where undo/redo didn't work correctly with some formats and caret positions.
129
-    Fixed bug where the color picker didn't show up in Table Plugin dialogs.
130
-    Fixed bug where it wasn't possible to change the width of a table through the Table Plugin dialog.
131
-    Fixed bug where the Charmap Plugin couldn't insert some special characters.
132
-    Fixed bug where editing a newly inserted link would not actually edit the link but insert a new link next to it.
133
-    Fixed bug where deleting all content in a table cell made it impossible to place the caret into it.
134
-    Fixed bug where the vertical alignment field in the Table Plugin cell properties dialog didn't do anything.
135
-    Fixed bug where an image with a caption showed two sets of resize handles in IE11.
136
-    Fixed bug where pressing the enter button inside of an h1 with contenteditable set to true would sometimes produce a p tag.
137
-    Fixed bug with backspace not working as expected before a noneditable element.
138
-    Fixed bug where operating on tables with invalid rowspans would cause an error to be thrown.
139
-    Fixed so a real base64 representation of the image is available on the blobInfo that the images_upload_handler gets called with.
140
-    Fixed so the image upload tab is available when the images_upload_handler is defined (and not only when the images_upload_url is defined).
141
-Version 4.7.2 (2017-11-07)
142
-    Added newly rewritten Table Plugin.
143
-    Added support for attributes with colon in valid_elements and addValidElements.
144
-    Added support for dailymotion short url in the Media Plugin. Patch contributed by maat8.
145
-    Added support for converting to half pt when converting font size from px to pt. Patch contributed by danny6514.
146
-    Added support for location hash to the Autosave plugin to make it work better with SPAs using hash routing.
147
-    Added support for merging table cells when pasting a table into another table.
148
-    Changed so the language packs are only loaded once. Patch contributed by 0xor1.
149
-    Simplified the css for inline boundaries selection by switching to an attribute selector.
150
-    Fixed bug where an error would be thrown on editor initialization if the window.getSelection() returned null.
151
-    Fixed bug where holding down control or alt keys made the keyboard navigation inside an inline boundary not work as expected.
152
-    Fixed bug where applying formats in IE11 produced extra, empty paragraphs in the editor.
153
-    Fixed bug where the Word Count Plugin didn't count some mathematical operators correctly.
154
-    Fixed bug where removing an inline editor removed the element that the editor had been initialized on.
155
-    Fixed bug where setting the selection to the end of an editable container caused some formatting problems.
156
-    Fixed bug where an error would be thrown sometimes when an editor was removed because of the selection bookmark was being stored asynchronously.
157
-    Fixed a bug where an editor initialized on an empty list did not contain any valid cursor positions.
158
-    Fixed a bug with the Context Menu Plugin and webkit browsers on Mac where right-clicking inside a table would produce an incorrect selection.
159
-    Fixed bug where the Image Plugin constrain proportions setting wasn't working as expected.
160
-    Fixed bug where deleting the last character in a span with decorations produced an incorrect element when typing.
161
-    Fixed bug where focusing on inline editors made the toolbar flicker when moving between elements quickly.
162
-    Fixed bug where the selection would be stored incorrectly in inline editors when the mouseup event was fired outside the editor body.
163
-    Fixed bug where toggling bold at the end of an inline boundary would toggle off the whole word.
164
-    Fixed bug where setting the skin to false would not stop the loading of some skin css files.
165
-    Fixed bug in mobile theme where pinch-to-zoom would break after exiting the editor.
166
-    Fixed bug where sublists of a fully selected list would not be switched correctly when changing list style.
167
-    Fixed bug where inserting media by source would break the UndoManager.
168
-    Fixed bug where inserting some content into the editor with a specific selection would replace some content incorrectly.
169
-    Fixed bug where selecting all content with ctrl+a in IE11 caused problems with untoggling some formatting.
170
-    Fixed bug where the Search and Replace Plugin left some marker spans in the editor when undoing and redoing after replacing some content.
171
-    Fixed bug where the editor would not get a scrollbar when using the Fullscreen and Autoresize plugins together.
172
-    Fixed bug where the font selector would stop working correctly after selecting fonts three times.
173
-    Fixed so pressing the enter key inside of an inline boundary inserts a br after the inline boundary element.
174
-    Fixed a bug where it wasn't possible to use tab navigation inside of a table that was inside of a list.
175
-    Fixed bug where end_container_on_empty_block would incorrectly remove elements.
176
-    Fixed bug where content_styles weren't added to the Preview Plugin iframe.
177
-    Fixed so the beforeSetContent/beforeGetContent events are preventable.
178
-    Fixed bug where changing height value in Table Plugin advanced tab didn't do anything.
179
-    Fixed bug where it wasn't possible to remove formatting from content in beginning of table cell.
180
-Version 4.7.1 (2017-10-09)
181
-    Fixed bug where theme set to false on an inline editor produced an extra div element after the target element.
182
-    Fixed bug where the editor drag icon was misaligned with the branding set to false.
183
-    Fixed bug where doubled menu items were not being removed as expected with the removed_menuitems setting.
184
-    Fixed bug where the Table of contents plugin threw an error when initialized.
185
-    Fixed bug where it wasn't possible to add inline formats to text selected right to left.
186
-    Fixed bug where the paste from plain text mode did not work as expected.
187
-    Fixed so the style previews do not set color and background color when selected.
188
-    Fixed bug where the Autolink plugin didn't work as expected with some formats applied on an empty editor.
189
-    Fixed bug where the Textpattern plugin were throwing errors on some patterns.
190
-    Fixed bug where the Save plugin saved all editors instead of only the active editor. Patch contributed by dannoe.
191
-Version 4.7.0 (2017-10-03)
192
-    Added new mobile ui that is specifically designed for mobile devices.
193
-    Updated the default skin to be more modern and white since white is preferred by most implementations.
194
-    Restructured the default menus to be more similar to common office suites like Google Docs.
195
-    Fixed so theme can be set to false on both inline and iframe editor modes.
196
-    Fixed bug where inline editor would add/remove the visualblocks css multiple times.
197
-    Fixed bug where selection wouldn't be properly restored when editor lost focus and commands where invoked.
198
-    Fixed bug where toc plugin would generate id:s for headers even though a toc wasn't inserted into the content.
199
-    Fixed bug where is wasn't possible to drag/drop contents within the editor if paste_data_images where set to true.
200
-    Fixed bug where getParam and close in WindowManager would get the first opened window instead of the last opened window.
201
-    Fixed bug where delete would delete between cells inside a table in Firefox.
202
-Version 4.6.7 (2017-09-18)
203
-    Fixed bug where paste wasn't working in IOS.
204
-    Fixed bug where the Word Count Plugin didn't count some mathematical operators correctly.
205
-    Fixed bug where inserting a list in a table caused the cell to expand in height.
206
-    Fixed bug where pressing enter in a list located inside of a table deleted list items instead of inserting new list item.
207
-    Fixed bug where copy and pasting table cells produced inconsistent results.
208
-    Fixed bug where initializing an editor with an ID of 'length' would throw an exception.
209
-    Fixed bug where it was possible to split a non merged table cell.
210
-    Fixed bug where copy and pasting a list with a very specific selection into another list would produce a nested list.
211
-    Fixed bug where copy and pasting ordered lists sometimes produced unordered lists.
212
-    Fixed bug where padded elements inside other elements would be treated as empty.
213
-    Added some missing translations to Image, Link and Help plugins.
214
-    Fixed so you can resize images inside a figure element.
215
-    Fixed bug where an inline TinyMCE editor initialized on a table did not set selection on load in Chrome.
216
-    Fixed the positioning of the inlite toolbar when the target element wasn't big enough to fit the toolbar.
217
-Version 4.6.6 (2017-08-30)
218
-    Fixed so that notifications wrap long text content instead of bleeding outside the notification element.
219
-    Fixed so the content_style css is added after the skin and custom stylesheets.
220
-    Fixed bug where it wasn't possible to remove a table with the Cut button.
221
-    Fixed bug where the center format wasn't getting the same font size as the other formats in the format preview.
222
-    Fixed bug where the wordcount plugin wasn't counting hyphenated words correctly.
223
-    Fixed bug where all content pasted into the editor was added to the end of the editor.
224
-    Fixed bug where enter keydown on list item selection only deleted content and didn't create a new line.
225
-    Fixed bug where destroying the editor while the content css was still loading caused error notifications on Firefox.
226
-    Fixed bug where undoing cut operation in IE11 left some unwanted html in the editor content.
227
-    Fixed bug where enter keydown would throw an error in IE11.
228
-    Fixed bug where duplicate instances of an editor were added to the editors array when using the createEditor API.
229
-    Fixed bug where the formatter applied formats on the wrong content when spellchecker was activated.
230
-    Fixed bug where switching formats would reset font size on child nodes.
231
-    Fixed bug where the table caption element weren't always the first descendant to the table tag.
232
-    Fixed bug where pasting some content into the editor on chrome some newlines were removed.
233
-    Fixed bug where it wasn't possible to remove a list if a list item was a table element.
234
-    Fixed bug where copy/pasting partial selections of tables wouldn't produce a proper table.
235
-    Fixed bug where the searchreplace plugin could not find consecutive spaces.
236
-    Fixed bug where background color wasn't applied correctly on some partially selected contents.
237
-Version 4.6.5 (2017-08-02)
238
-    Added new inline_boundaries_selector that allows you to specify the elements that should have boundaries.
239
-    Added new local upload feature this allows the user to upload images directly from the image dialog.
240
-    Added a new api for providing meta data for plugins. It will show up in the help dialog if it's provided.
241
-    Fixed so that the notifications created by the notification manager are more screen reader accessible.
242
-    Fixed bug where changing the list format on multiple selected lists didn't change all of the lists.
243
-    Fixed bug where the nonbreaking plugin would insert multiple undo levels when pressing the tab key.
244
-    Fixed bug where delete/backspace wouldn't render a caret when all editor contents where deleted.
245
-    Fixed bug where delete/backspace wouldn't render a caret if the deleted element was a single contentEditable false element.
246
-    Fixed bug where the wordcount plugin wouldn't count words correctly if word where typed after applying a style format.
247
-    Fixed bug where the wordcount plugin would count mathematical formulas as multiple words for example 1+1=2.
248
-    Fixed bug where formatting of triple clicked blocks on Chrome/Safari would result in styles being added outside the visual selection.
249
-    Fixed bug where paste would add the contents to the end of the editor area when inline mode was used.
250
-    Fixed bug where toggling off bold formatting on text entered in a new paragraph would add an extra line break.
251
-    Fixed bug where autolink plugin would only produce a link on every other consecutive link on Firefox.
252
-    Fixed bug where it wasn't possible to select all contents if the content only had one pre element.
253
-    Fixed bug where sizzle would produce lagging behavior on some sites due to repaints caused by feature detection.
254
-    Fixed bug where toggling off inline formats wouldn't include the space on selected contents with leading or trailing spaces.
255
-    Fixed bug where the cut operation in UI wouldn't work in Chrome.
256
-    Fixed bug where some legacy editor initialization logic would throw exceptions about editor settings not being defined.
257
-    Fixed bug where it wasn't possible to apply text color to links if they where part of a non collapsed selection.
258
-    Fixed bug where an exception would be thrown if the user selected a video element and then moved the focus outside the editor.
259
-    Fixed bug where list operations didn't work if there where block elements inside the list items.
260
-    Fixed bug where applying block formats to lists wrapped in block elements would apply to all elements in that wrapped block.
261
-Version 4.6.4 (2017-06-13)
262
-    Fixed bug where the editor would move the caret when clicking on the scrollbar next to a content editable false block.
263
-    Fixed bug where the text color select dropdowns wasn't placed correctly when they didn't fit the width of the screen.
264
-    Fixed bug where the default editor line height wasn't working for mixed font size contents.
265
-    Fixed bug where the content css files for inline editors were loaded multiple times for multiple editor instances.
266
-    Fixed bug where the initial value of the font size/font family dropdowns wasn't displayed.
267
-    Fixed bug where the I18n api was not supporting arrays as the translation replacement values.
268
-    Fixed bug where chrome would display "The given range isn't in document." errors for invalid ranges passed to setRng.
269
-    Fixed bug where the compat3x plugin wasn't working since the global tinymce references wasn't resolved correctly.
270
-    Fixed bug where the preview plugin wasn't encoding the base url passed into the iframe contents producing a xss bug.
271
-    Fixed bug where the dom parser/serializer wasn't handling some special elements like noframes, title and xmp.
272
-    Fixed bug where the dom parser/serializer wasn't handling cdata sections with comments inside.
273
-    Fixed bug where the editor would scroll to the top of the editable area if a dialog was closed in inline mode.
274
-    Fixed bug where the link dialog would not display the right rel value if rel_list was configured.
275
-    Fixed bug where the context menu would select images on some platforms but not others.
276
-    Fixed bug where the filenames of images were not retained on dragged and drop into the editor from the desktop.
277
-    Fixed bug where the paste plugin would misrepresent newlines when pasting plain text and having forced_root_block configured.
278
-    Fixed so that the error messages for the imagetools plugin is more human readable.
279
-    Fixed so the internal validate setting for the parser/serializer can't be set from editor initialization settings.
280
-Version 4.6.3 (2017-05-30)
281
-    Fixed bug where the arrow keys didn't work correctly when navigating on nested inline boundary elements.
282
-    Fixed bug where delete/backspace didn't work correctly on nested inline boundary elements.
283
-    Fixed bug where image editing didn't work on subsequent edits of the same image.
284
-    Fixed bug where charmap descriptions wouldn't properly wrap if they exceeded the width of the box.
285
-    Fixed bug where the default image upload handler only accepted 200 as a valid http status code.
286
-    Fixed so rel on target=_blank links gets forced with only noopener instead of both noopener and noreferrer.
287
-Version 4.6.2 (2017-05-23)
288
-    Fixed bug where the SaxParser would run out of memory on very large documents.
289
-    Fixed bug with formatting like font size wasn't applied to del elements.
290
-    Fixed bug where various api calls would be throwing exceptions if they where invoked on a removed editor instance.
291
-    Fixed bug where the branding position would be incorrect if the editor was inside a hidden tab and then later showed.
292
-    Fixed bug where the color levels feature in the imagetools dialog wasn't working properly.
293
-    Fixed bug where imagetools dialog wouldn't pre-load images from CORS domains, before trying to prepare them for editing.
294
-    Fixed bug where the tab key would move the caret to the next table cell if being pressed inside a list inside a table.
295
-    Fixed bug where the cut/copy operations would loose parent context like the current format etc.
296
-    Fixed bug with format preview not working on invalid elements excluded by valid_elements.
297
-    Fixed bug where blocks would be merged in incorrect order on backspace/delete.
298
-    Fixed bug where zero length text nodes would cause issues with the undo logic if there where iframes present.
299
-    Fixed bug where the font size/family select lists would throw errors if the first node was a comment.
300
-    Fixed bug with csp having to allow local script evaluation since it was used to detect global scope.
301
-    Fixed bug where CSP required a relaxed option for javascript: URLs in unsupported legacy browsers.
302
-    Fixed bug where a fake caret would be rendered for td with the contenteditable=false.
303
-    Fixed bug where typing would be blocked on IE 11 when within a nested contenteditable=true/false structure.
304
-Version 4.6.1 (2017-05-10)
305
-    Added configuration option to list plugin to disable tab indentation.
306
-    Fixed bug where format change on very specific content could cause the selection to change.
307
-    Fixed bug where TinyMCE could not be lazyloaded through jquery integration.
308
-    Fixed bug where entities in style attributes weren't decoded correctly on paste in webkit.
309
-    Fixed bug where fontsize_formats option had been renamed incorrectly.
310
-    Fixed bug with broken backspace/delete behaviour between contenteditable=false blocks.
311
-    Fixed bug where it wasn't possible to backspace to the previous line with the inline boundaries functionality turned on.
312
-    Fixed bug where is wasn't possible to move caret left and right around a linked image with the inline boundaries functionality turned on.
313
-    Fixed bug where pressing enter after/before hr element threw exception. Patch contributed bradleyke.
314
-    Fixed so the CSS in the visualblocks plugin doesn't overwrite background color. Patch contributed by Christian Rank.
315
-    Fixed bug where multibyte characters weren't encoded correctly. Patch contributed by James Tarkenton.
316
-    Fixed bug where shift-click to select within contenteditable=true fields wasn't working.
317
-Version 4.6.0 (2017-05-04)
318
-    Dropped support for IE 8-10 due to market share and lack of support from Microsoft. See tinymce docs for details.
319
-    Added an inline boundary caret position feature that makes it easier to type at the beginning/end of links/code elements.
320
-    Added a help plugin that adds a button and a dialog showing the editor shortcuts and loaded plugins.
321
-    Added an inline_boundaries option that allows you to disable the inline boundary feature if it's not desired.
322
-    Added a new ScrollIntoView event that allows you to override the default scroll to element behavior.
323
-    Added role and aria- attributes as valid elements in the default valid elements config.
324
-    Added new internal flag for PastePreProcess/PastePostProcess this is useful to know if the paste was coming from an external source.
325
-    Added new ignore function to UndoManager this works similar to transact except that it doesn't add an undo level by default.
326
-    Fixed so that urls gets retained for images when being edited. This url is then passed on to the upload handler.
327
-    Fixed so that the editors would be initialized on readyState interactive instead of complete.
328
-    Fixed so that the init event of the editor gets fired once all contentCSS files have been properly loaded.
329
-    Fixed so that width/height of the editor gets taken from the textarea element if it's explicitly specified in styles.
330
-    Fixed so that keep_styles set to false no longer clones class/style from the previous paragraph on enter.
331
-    Fixed so that the default line-height is 1.2em to avoid zwnbsp characters from producing text rendering glitches on Windows.
332
-    Fixed so that loading errors of content css gets presented by a notification message.
333
-    Fixed so figure image elements can be linked when selected this wraps the figure image in a anchor element.
334
-    Fixed bug where it wasn't possible to copy/paste rows with colspans by using the table copy/paste feature.
335
-    Fixed bug where the protect setting wasn't properly applied to header/footer parts when using the fullpage plugin.
336
-    Fixed bug where custom formats that specified upper case element names where not applied correctly.
337
-    Fixed bug where some screen readers weren't reading buttons due to an aria specific fix for IE 8.
338
-    Fixed bug where cut wasn't working correctly on iOS due to it's clipboard API not working correctly.
339
-    Fixed bug where Edge would paste div elements instead of paragraphs when pasting plain text.
340
-    Fixed bug where the textpattern plugin wasn't dealing with trailing punctuations correctly.
341
-    Fixed bug where image editing would some times change the image format from jpg to png.
342
-    Fixed bug where some UI elements could be inserted into the toolbar even if they where not registered.
343
-    Fixed bug where it was possible to click the TD instead of the character in the character map and that caused an exception.
344
-    Fixed bug where the font size/font family dropdowns would sometimes show an incorrect value due to css not being loaded in time.
345
-    Fixed bug with the media plugin inserting undefined instead of retaining size when media_dimensions was set to false.
346
-    Fixed bug with deleting images when forced_root_blocks where set to false.
347
-    Fixed bug where input focus wasn't properly handled on nested content editable elements.
348
-    Fixed bug where Chrome/Firefox would throw an exception when selecting images due to recent change of setBaseAndExtent support.
349
-    Fixed bug where malformed blobs would throw exceptions now they are simply ignored.
350
-    Fixed bug where backspace/delete wouldn't work properly in some cases where all contents was selected in WebKit.
351
-    Fixed bug with Angular producing errors since it was expecting events objects to be patched with their custom properties.
352
-    Fixed bug where the formatter would apply formatting to spellchecker errors now all bogus elements are excluded.
353
-    Fixed bug with backspace/delete inside table caption elements wouldn't behave properly on IE 11.
354
-    Fixed bug where typing after a contenteditable false inline element could move the caret to the end of that element.
355
-    Fixed bug where backspace before/after contenteditable false blocks wouldn't properly remove the right element.
356
-    Fixed bug where backspace before/after contenteditable false inline elements wouldn't properly empty the current block element.
357
-    Fixed bug where vertical caret navigation with a custom line-height would sometimes match incorrect positions.
358
-    Fixed bug with paste on Edge where character encoding wasn't handled properly due to a browser bug.
359
-    Fixed bug with paste on Edge where extra fragment data was inserted into the contents when pasting.
360
-    Fixed bug with pasting contents when having a whole block element selected on WebKit could cause WebKit spans to appear.
361
-    Fixed bug where the visualchars plugin wasn't working correctly showing invisible nbsp characters.
362
-    Fixed bug where browsers would hang if you tried to load some malformed html contents.
363
-    Fixed bug where the init call promise wouldn't resolve if the specified selector didn't find any matching elements.
364
-    Fixed bug where the Schema isValidChild function was case sensitive.
365
-Version 4.5.3 (2017-02-01)
366
-    Added keyboard navigation for menu buttons when the menu is in focus.
367
-    Added api to the list plugin for setting custom classes/attributes on lists.
368
-    Added validation for the anchor plugin input field according to W3C id naming specifications.
369
-    Fixed bug where media placeholders were removed after resize with the forced_root_block setting set to false.
370
-    Fixed bug where deleting selections with similar sibling nodes sometimes deleted the whole document.
371
-    Fixed bug with inlite theme where several toolbars would appear scrolling when more than one instance of the editor was in use.
372
-    Fixed bug where the editor would throw error with the fontselect plugin on hidden editor instances in Firefox.
373
-    Fixed bug where the background color would not stretch to the font size.
374
-    Fixed bug where font size would be removed when changing background color.
375
-    Fixed bug where the undomanager trimmed away whitespace between nodes on undo/redo.
376
-    Fixed bug where media_dimensions=false in media plugin caused the editor to throw an error.
377
-    Fixed bug where IE was producing font/u elements within links on paste.
378
-    Fixed bug where some button tooltips were broken when compat3x was in use.
379
-    Fixed bug where backspace/delete/typeover would remove the caption element.
380
-    Fixed bug where powerspell failed to function when compat3x was enabled.
381
-    Fixed bug where it wasn't possible to apply sub/sup on text with large font size.
382
-    Fixed bug where pre tags with spaces weren't treated as content.
383
-    Fixed bug where Meta+A would select the entire document instead of all contents in nested ce=true elements.
384
-Version 4.5.2 (2017-01-04)
385
-    Added missing keyboard shortcut description for the underline menu item in the format menu.
386
-    Fixed bug where external blob urls wasn't properly handled by editor upload logic. Patch contributed by David Oviedo.
387
-    Fixed bug where urls wasn't treated as a single word by the wordcount plugin.
388
-    Fixed bug where nbsp characters wasn't treated as word delimiters by the wordcount plugin.
389
-    Fixed bug where editor instance wasn't properly passed to the format preview logic. Patch contributed by NullQuery.
390
-    Fixed bug where the fake caret wasn't hidden when you moved selection to a cE=false element.
391
-    Fixed bug where it wasn't possible to edit existing code sample blocks.
392
-    Fixed bug where it wasn't possible to delete editor contents if the selection included an empty block.
393
-    Fixed bug where the formatter wasn't expanding words on some international characters. Patch contributed by Martin Larochelle.
394
-    Fixed bug where the open link feature wasn't working correctly on IE 11.
395
-    Fixed bug where enter before/after a cE=false block wouldn't properly padd the paragraph with an br element.
396
-    Fixed so font size and font family select boxes always displays a value by using the runtime style as a fallback.
397
-    Fixed so missing plugins will be logged to console as warnings rather than halting the initialization of the editor.
398
-    Fixed so splitbuttons become normal buttons in advlist plugin if styles are empty. Patch contributed by René Schleusner.
399
-    Fixed so you can multi insert rows/cols by selecting table cells and using insert rows/columns.
400
-Version 4.5.1 (2016-12-07)
401
-    Fixed bug where the lists plugin wouldn't initialize without the advlist plugins if served from cdn.
402
-    Fixed bug where selectors with "*" would cause the style format preview to throw an error.
403
-    Fixed bug with toggling lists off on lists with empty list items would throw an error.
404
-    Fixed bug where editing images would produce non existing blob uris.
405
-    Fixed bug where the offscreen toc selection would be treated as the real toc element.
406
-    Fixed bug where the aria level attribute for element path would have an incorrect start index.
407
-    Fixed bug where the offscreen selection of cE=false that where very wide would be shown onscreen. Patch contributed by Steven Bufton.
408
-    Fixed so the default_link_target gets applied to links created by the autolink plugin.
409
-    Fixed so that the name attribute gets removed by the anchor plugin if editing anchors.
410
-Version 4.5.0 (2016-11-23)
411
-    Added new toc plugin allows you to insert table of contents based on editor headings.
412
-    Added new auto complete menu to all url fields. Adds history, link to anchors etc.
413
-    Added new sidebar api that allows you to add custom sidebar panels and buttons to toggle these.
414
-    Added new insert menu button that allows you to have multiple insert functions under the same menu button.
415
-    Added new open link feature to ctrl+click, alt+enter and context menu.
416
-    Added new media_embed_handler option to allow the media plugin to be populated with custom embeds.
417
-    Added new support for editing transparent images using the image tools dialog.
418
-    Added new images_reuse_filename option to allow filenames of images to be retained for upload.
419
-    Added new security feature where links with target="_blank" will by default get rel="noopener noreferrer".
420
-    Added new allow_unsafe_link_target to allow you to opt-out of the target="_blank" security feature.
421
-    Added new style_formats_autohide option to automatically hide styles based on context.
422
-    Added new codesample_content_css option to specify where the code sample prism css is loaded from.
423
-    Added new support for Japanese/Chinese word count following the unicode standards on this.
424
-    Added new fragmented undo levels this dramatically reduces flicker on contents with iframes.
425
-    Added new live previews for complex elements like table or lists.
426
-    Fixed bug where it wasn't possible to properly tab between controls in a dialog with a disabled form item control.
427
-    Fixed bug where firefox would generate a rectangle on elements produced after/before a cE=false elements.
428
-    Fixed bug with advlist plugin not switching list element format properly in some edge cases.
429
-    Fixed bug where col/rowspans wasn't correctly computed by the table plugin in some cases.
430
-    Fixed bug where the table plugin would thrown an error if object_resizing was disabled.
431
-    Fixed bug where some invalid markup would cause issues when running in XHTML mode. Patch contributed by Charles Bourasseau.
432
-    Fixed bug where the fullscreen class wouldn't be removed properly when closing dialogs.
433
-    Fixed bug where the PastePlainTextToggle event wasn't fired by the paste plugin when the state changed.
434
-    Fixed bug where table the row type wasn't properly updated in table row dialog. Patch contributed by Matthias Balmer.
435
-    Fixed bug where select all and cut wouldn't place caret focus back to the editor in WebKit. Patch contributed by Daniel Jalkut.
436
-    Fixed bug where applying cell/row properties to multiple cells/rows would reset other unchanged properties.
437
-    Fixed bug where some elements in the schema would have redundant/incorrect children.
438
-    Fixed bug where selector and target options would cause issues if used together.
439
-    Fixed bug where drag/drop of images from desktop on chrome would thrown an error.
440
-    Fixed bug where cut on WebKit/Blink wouldn't add an undo level.
441
-    Fixed bug where IE 11 would scroll to the cE=false elements when they where selected.
442
-    Fixed bug where keys like F5 wouldn't work when a cE=false element was selected.
443
-    Fixed bug where the undo manager wouldn't stop the typing state when commands where executed.
444
-    Fixed bug where unlink on wrapped links wouldn't work properly.
445
-    Fixed bug with drag/drop of images on WebKit where the image would be deleted form the source editor.
446
-    Fixed bug where the visual characters mode would be disabled when contents was extracted from the editor.
447
-    Fixed bug where some browsers would toggle of formats applied to the caret when clicking in the editor toolbar.
448
-    Fixed bug where the custom theme function wasn't working correctly.
449
-    Fixed bug where image option for custom buttons required you to have icon specified as well.
450
-    Fixed bug where the context menu and contextual toolbars would be visible at the same time and sometimes overlapping.
451
-    Fixed bug where the noneditable plugin would double wrap elements when using the noneditable_regexp option.
452
-    Fixed bug where tables would get padding instead of margin when you used the indent button.
453
-    Fixed bug where the charmap plugin wouldn't properly insert non breaking spaces.
454
-    Fixed bug where the color previews in color input boxes wasn't properly updated.
455
-    Fixed bug where the list items of previous lists wasn't merged in the right order.
456
-    Fixed bug where it wasn't possible to drag/drop inline-block cE=false elements on IE 11.
457
-    Fixed bug where some table cell merges would produce incorrect rowspan/colspan.
458
-    Fixed so the font size of the editor defaults to 14px instead of 11px this can be overridden by custom css.
459
-    Fixed so wordcount is debounced to reduce cpu hogging on larger texts.
460
-    Fixed so tinymce global gets properly exported as a module when used with some module bundlers.
461
-    Fixed so it's possible to specify what css properties you want to preview on specific formats.
462
-    Fixed so anchors are contentEditable=false while within the editor.
463
-    Fixed so selected contents gets wrapped in a inline code element by the codesample plugin.
464
-    Fixed so conditional comments gets properly stripped independent of case. Patch contributed by Georgii Dolzhykov.
465
-    Fixed so some escaped css sequences gets properly handled. Patch contributed by Georgii Dolzhykov.
466
-    Fixed so notifications with the same message doesn't get displayed at the same time.
467
-    Fixed so F10 can be used as an alternative key to focus to the toolbar.
468
-    Fixed various api documentation issues and typos.
469
-    Removed layer plugin since it wasn't really ported from 3.x and there doesn't seem to be much use for it.
470
-    Removed moxieplayer.swf from the media plugin since it wasn't used by the media plugin.
471
-    Removed format state from the advlist plugin to be more consistent with common word processors.
472
-Version 4.4.3 (2016-09-01)
473
-    Fixed bug where copy would produce an exception on Chrome.
474
-    Fixed bug where deleting lists on IE 11 would merge in correct text nodes.
475
-    Fixed bug where deleting partial lists with indentation wouldn't cause proper normalization.
476
-Version 4.4.2 (2016-08-25)
477
-    Added new importcss_exclusive option to disable unique selectors per group.
478
-    Added new group specific selector_converter option to importcss plugin.
479
-    Added new codesample_languages option to apply custom languages to codesample plugin.
480
-    Added new codesample_dialog_width/codesample_dialog_height options.
481
-    Fixed bug where fullscreen button had an incorrect keyboard shortcut.
482
-    Fixed bug where backspace/delete wouldn't work correctly from a block to a cE=false element.
483
-    Fixed bug where smartpaste wasn't detecting links with special characters in them like tilde.
484
-    Fixed bug where the editor wouldn't get proper focus if you clicked on a cE=false element.
485
-    Fixed bug where it wasn't possible to copy/paste table rows that had merged cells.
486
-    Fixed bug where merging cells could some times produce invalid col/rowspan attibute values.
487
-    Fixed bug where getBody would sometimes thrown an exception now it just returns null if the iframe is clobbered.
488
-    Fixed bug where drag/drop of cE=false element wasn't properly constrained to viewport.
489
-    Fixed bug where contextmenu on Mac would collapse any selection to a caret.
490
-    Fixed bug where rtl mode wasn't rendered properly when loading a language pack with the rtl flag.
491
-    Fixed bug where Kamer word bounderies would be stripped from contents.
492
-    Fixed bug where lists would sometimes render two dots or numbers on the same line.
493
-    Fixed bug where the skin_url wasn't used by the inlite theme.
494
-    Fixed so data attributes are ignored when comparing formats in the formatter.
495
-    Fixed so it's possible to disable inline toolbars in the inlite theme.
496
-    Fixed so template dialog gets resized if it doesn't fit the window viewport.
497
-Version 4.4.1 (2016-07-26)
498
-    Added smart_paste option to paste plugin to allow disabling the paste behavior if needed.
499
-    Fixed bug where png urls wasn't properly detected by the smart paste logic.
500
-    Fixed bug where the element path wasn't working properly when multiple editor instances where used.
501
-    Fixed bug with creating lists out of multiple paragraphs would just create one list item instead of multiple.
502
-    Fixed bug where scroll position wasn't properly handled by the inlite theme to place the toolbar properly.
503
-    Fixed bug where multiple instances of the editor using the inlite theme didn't render the toolbar properly.
504
-    Fixed bug where the shortcut label for fullscreen mode didn't match the actual shortcut key.
505
-    Fixed bug where it wasn't possible to select cE=false blocks using touch devices on for example iOS.
506
-    Fixed bug where it was possible to select the child image within a cE=false on IE 11.
507
-    Fixed so inserts of html containing lists doesn't merge with any existing lists unless it's a paste operation.
508
-Version 4.4.0 (2016-06-30)
509
-    Added new inlite theme this is a more lightweight inline UI.
510
-    Added smarter paste logic that auto detects urls in the clipboard and inserts images/links based on that.
511
-    Added a better image resize algorithm for better image quality in the imagetools plugin.
512
-    Fixed bug where it wasn't possible to drag/dropping cE=false elements on FF.
513
-    Fixed bug where backspace/delete before/after a cE=false block would produce a new paragraph.
514
-    Fixed bug where list style type css property wasn't preserved when indenting lists.
515
-    Fixed bug where merging of lists where done even if the list style type was different.
516
-    Fixed bug where the image_dataimg_filter function wasn't used when pasting images.
517
-    Fixed bug where nested editable within a non editable element would cause scroll on focus in Chrome.
518
-    Fixed so invalid targets for inline mode is blocked on initialization. We only support elements that can have children.
519
-Version 4.3.13 (2016-06-08)
520
-    Added characters with a diacritical mark to charmap plugin. Patch contributed by Dominik Schilling.
521
-    Added better error handling if the image proxy service would produce errors.
522
-    Fixed issue with pasting list items into list items would produce nested list rather than a merged list.
523
-    Fixed bug where table selection could get stuck in selection mode for inline editors.
524
-    Fixed bug where it was possible to place the caret inside the resize grid elements.
525
-    Fixed bug where it wasn't possible to place in elements horizontally adjacent cE=false blocks.
526
-    Fixed bug where multiple notifications wouldn't be properly placed on screen.
527
-    Fixed bug where multiple editor instance of the same id could be produces in some specific integrations.
528
-Version 4.3.12 (2016-05-10)
529
-    Fixed bug where focus calls couldn't be made inside the editors PostRender event handler.
530
-    Fixed bug where some translations wouldn't work as expected due to a bug in editor.translate.
531
-    Fixed bug where the node change event could fire with a node out side the root of the editor.
532
-    Fixed bug where Chrome wouldn't properly present the keyboard paste clipboard details when paste was clicked.
533
-    Fixed bug where merged cells in tables couldn't be selected from right to left.
534
-    Fixed bug where insert row wouldn't properly update a merged cells rowspan property.
535
-    Fixed bug where the color input boxes preview field wasn't properly set on initialization.
536
-    Fixed bug where IME composition inside table cells wouldn't work as expected on IE 11.
537
-    Fixed so all shadow dom support is under and experimental flag due to flaky browser support.
538
-Version 4.3.11 (2016-04-25)
539
-    Fixed bug where it wasn't possible to insert empty blocks though the API unless they where padded.
540
-    Fixed bug where you couldn't type the Euro character on Windows.
541
-    Fixed bug where backspace/delete from a cE=false element to a text block didn't work properly.
542
-    Fixed bug where the text color default grid would render incorrectly.
543
-    Fixed bug where the codesample plugin wouldn't load the css in the editor for multiple editors.
544
-    Fixed so the codesample plugin textarea gets focused by default.
545
-Version 4.3.10 (2016-04-12)
546
-    Fixed bug where the key "y" on WebKit couldn't be entered due to conflict with keycode for F10 on keypress.
547
-Version 4.3.9 (2016-04-12)
548
-    Added support for focusing the contextual toolbars using keyboard.
549
-    Added keyboard support for slider UI controls. You can no increase/decrease using arrow keys.
550
-    Added url pattern matching for Dailymotion to media plugin. Patch contributed by Bertrand Darbon.
551
-    Added body_class to template plugin preview. Patch contributed by Milen Petrinski.
552
-    Added options to better override textcolor pickers with custom colors. Patch contributed by Xavier Boubert.
553
-    Added visual arrows to inline contextual toolbars so that they point to the element being active.
554
-    Fixed so toolbars for tables or other larger elements get better positioned below the scrollable viewport.
555
-    Fixed bug where it was possible to click links inside cE=false blocks.
556
-    Fixed bug where event targets wasn't properly handled in Safari Technical Preview.
557
-    Fixed bug where drag/drop text in FF 45 would make the editor caret invisible.
558
-    Fixed bug where the remove state wasn't properly set on editor instances when detected as clobbered.
559
-    Fixed bug where offscreen selection of some cE=false elements would render onscreen. Patch contributed by Steven Bufton
560
-    Fixed bug where enter would clone styles out side the root on editors inside a span. Patch contributed by ChristophKaser.
561
-    Fixed bug where drag/drop of images into the editor didn't work correctly in FF.
562
-    Fixed so the first item in panels for the imagetools dialog gets proper keyboard focus.
563
-    Changed the Meta+Shift+F shortcut to Ctrl+Shift+F since Czech, Slovak, Polish languages used the first one for input.
564
-Version 4.3.8 (2016-03-15)
565
-    Fixed bug where inserting HR at the end of a block element would produce an extra empty block.
566
-    Fixed bug where links would be clickable when readonly mode was enabled.
567
-    Fixed bug where the formatter would normalize to the wrong node on very specific content.
568
-    Fixed bug where some nested list items couldn't be indented properly.
569
-    Fixed bug where links where clickable in the preview dialog.
570
-    Fixed so the alt attribute doesn't get padded with an empty value by default.
571
-    Fixed so nested alignment works more correctly. You will now alter the alignment to the closest block parent.
572
-Version 4.3.7 (2016-03-02)
573
-    Fixed bug where incorrect icons would be rendered for imagetools edit and color levels.
574
-    Fixed bug where navigation using arrow keys inside a SelectBox didn't move up/down.
575
-    Fixed bug where the visualblocks plugin would render borders round internal UI elements.
576
-Version 4.3.6 (2016-03-01)
577
-    Added new paste_remember_plaintext_info option to allow a global disable of the plain text mode notification.
578
-    Added new PastePlainTextToggle event that fires when plain text mode toggles on/off.
579
-    Fixed bug where it wasn't possible to select media elements since the drag logic would snap it to mouse cursor.
580
-    Fixed bug where it was hard to place the caret inside nested cE=true elements when the outer cE=false element was focused.
581
-    Fixed bug where editors wouldn't properly initialize if both selector and mode where used.
582
-    Fixed bug where IME input inside table cells would switch the IME off.
583
-    Fixed bug where selection inside the first table cell would cause the whole table cell to get selected.
584
-    Fixed bug where error handling of images being uploaded wouldn't properly handle faulty statuses.
585
-    Fixed bug where inserting contents before a HR would cause an exception to be thrown.
586
-    Fixed bug where copy/paste of Excel data would be inserted as an image.
587
-    Fixed caret position issues with copy/paste of inline block cE=false elements.
588
-    Fixed issues with various menu item focus bugs in Chrome. Where the focused menu bar item wasn't properly blurred.
589
-    Fixed so the notifications have a solid background since it would be hard to read if there where text under it.
590
-    Fixed so notifications gets animated similar to the ones used by dialogs.
591
-    Fixed so larger images that gets pasted is handled better.
592
-    Fixed so the window close button is more uniform on various platform and also increased it's hit area.
593
-Version 4.3.5 (2016-02-11)
594
-    Npm version bump due to package not being fully updated.
595
-Version 4.3.4 (2016-02-11)
596
-    Added new OpenWindow/CloseWindow events that gets fired when windows open/close.
597
-    Added new NewCell/NewRow events that gets fired when table cells/rows are created.
598
-    Added new Promise return value to tinymce.init makes it easier to handle initialization.
599
-    Removed the jQuery version the jQuery plugin is now moved into the main package.
600
-    Removed jscs from build process since eslint can now handle code style checking.
601
-    Fixed various bugs with drag/drop of contentEditable:false elements.
602
-    Fixed bug where deleting of very specific nested list items would result in an odd list.
603
-    Fixed bug where lists would get merged with adjacent lists outside the editable inline root.
604
-    Fixed bug where MS Edge would crash when closing a dialog then clicking a menu item.
605
-    Fixed bug where table cell selection would add undo levels.
606
-    Fixed bug where table cell selection wasn't removed when inline editor where removed.
607
-    Fixed bug where table cell selection wouldn't work properly on nested tables.
608
-    Fixed bug where table merge menu would be available when merging between thead and tbody.
609
-    Fixed bug where table row/column resize wouldn't get properly removed when the editor was removed.
610
-    Fixed bug where Chrome would scroll to the editor if there where a empty hash value in document url.
611
-    Fixed bug where the cache suffix wouldn't work correctly with the importcss plugin.
612
-    Fixed bug where selection wouldn't work properly on MS Edge on Windows Phone 10.
613
-    Fixed so adjacent pre blocks gets joined into one pre block since that seems like the user intent.
614
-    Fixed so events gets properly dispatched in shadow dom. Patch provided by Nazar Mokrynskyi.
615
-Version 4.3.3 (2016-01-14)
616
-    Added new table_resize_bars configuration setting.  This setting allows you to disable the table resize bars.
617
-    Added new beforeInitialize event to tinymce.util.XHR lets you modify XHR properties before open. Patch contributed by Brent Clintel.
618
-    Added new autolink_pattern setting to autolink plugin. Enables you to override the default autolink formats. Patch contributed by Ben Tiedt.
619
-    Added new charmap option that lets you override the default charmap of the charmap plugin.
620
-    Added new charmap_append option that lets you add new characters to the default charmap of the charmap plugin.
621
-    Added new insertCustomChar event that gets fired when a character is inserted by the charmap plugin.
622
-    Fixed bug where table cells started with a superfluous &nbsp; in IE10+.
623
-    Fixed bug where table plugin would retain all BR tags when cells were merged.
624
-    Fixed bug where media plugin would strip underscores from youtube urls.
625
-    Fixed bug where IME input would fail on IE 11 if you typed within a table.
626
-    Fixed bug where double click selection of a word would remove the space before the word on insert contents.
627
-    Fixed bug where table plugin would produce exceptions when hovering tables with invalid structure.
628
-    Fixed bug where fullscreen wouldn't scroll back to it's original position when untoggled.
629
-    Fixed so the template plugins templates setting can be a function that gets a callback that can provide templates.
630
-Version 4.3.2 (2015-12-14)
631
-    Fixed bug where the resize bars for table cells were not affected by the object_resizing property.
632
-    Fixed bug where the contextual table toolbar would appear incorrectly if TinyMCE was initialized inline inside a table.
633
-    Fixed bug where resizing table cells did not fire a node change event or add an undo level.
634
-    Fixed bug where double click selection of text on IE 11 wouldn't work properly.
635
-    Fixed bug where codesample plugin would incorrectly produce br elements inside code elements.
636
-    Fixed bug where media plugin would strip dashes from youtube urls.
637
-    Fixed bug where it was possible to move the caret into the table resize bars.
638
-    Fixed bug where drag/drop into a cE=false element was possible on IE.
639
-Version 4.3.1 (2015-11-30)
640
-    Fixed so it's possible to disable the table inline toolbar by setting it to false or an empty string.
641
-    Fixed bug where it wasn't possible to resize some tables using the drag handles.
642
-    Fixed bug where unique id:s would clash for multiple editor instances and cE=false selections.
643
-    Fixed bug where the same plugin could be initialized multiple times.
644
-    Fixed bug where the table inline toolbars would be displayed at the same time as the image toolbars.
645
-    Fixed bug where the table selection rect wouldn't be removed when selecting another control element.
646
-Version 4.3.0 (2015-11-23)
647
-    Added new table column/row resize support. Makes it a lot more easy to resize the columns/rows in a table.
648
-    Added new table inline toolbar. Makes it easier to for example add new rows or columns to a table.
649
-    Added new notification API. Lets you display floating notifications to the end user.
650
-    Added new codesample plugin that lets you insert syntax highlighted pre elements into the editor.
651
-    Added new image_caption to images. Lets you create images with captions using a HTML5 figure/figcaption elements.
652
-    Added new live previews of embeded videos. Lets you play the video right inside the editor.
653
-    Added new setDirty method and "dirty" event to the editor. Makes it easier to track the dirty state change.
654
-    Added new setMode method to Editor instances that lets you dynamically switch between design/readonly.
655
-    Added new core support for contentEditable=false elements within the editor overrides the browsers broken behavior.
656
-    Rewrote the noneditable plugin to use the new contentEditable false core logic.
657
-    Fixed so the dirty state doesn't set to false automatically when the undo index is set to 0.
658
-    Fixed the Selection.placeCaretAt so it works better on IE when the coordinate is between paragraphs.
659
-    Fixed bug where data-mce-bogus="all" element contents where counted by the word count plugin.
660
-    Fixed bug where contentEditable=false elements would be indented by the indent buttons.
661
-    Fixed bug where images within contentEditable=false would be selected in WebKit on mouse click.
662
-    Fixed bug in DOMUntils split method where the replacement parameter wouldn't work on specific cases.
663
-    Fixed bug where the importcss plugin would import classes from the skin content css file.
664
-    Fixed so all button variants have a wrapping span for it's text to make it easier to skin.
665
-    Fixed so it's easier to exit pre block using the arrow keys.
666
-    Fixed bug where listboxes with fix widths didn't render correctly.
667
-Version 4.2.8 (2015-11-13)
668
-    Fixed bug where it was possible to delete tables as the inline root element if all columns where selected.
669
-    Fixed bug where the UI buttons active state wasn't properly updated due to recent refactoring of that logic.
670
-Version 4.2.7 (2015-10-27)
671
-    Fixed bug where backspace/delete would remove all formats on the last paragraph character in WebKit/Blink.
672
-    Fixed bug where backspace within a inline format element with a bogus caret container would move the caret.
673
-    Fixed bug where backspace/delete on selected table cells wouldn't add an undo level.
674
-    Fixed bug where script tags embedded within the editor could sometimes get a mce- prefix prepended to them
675
-    Fixed bug where validate: false option could produce an error to be thrown from the Serialization step.
676
-    Fixed bug where inline editing of a table as the root element could let the user delete that table.
677
-    Fixed bug where inline editing of a table as the root element wouldn't properly handle enter key.
678
-    Fixed bug where inline editing of a table as the root element would normalize the selection incorrectly.
679
-    Fixed bug where inline editing of a list as the root element could let the user delete that list.
680
-    Fixed bug where inline editing of a list as the root element could let the user split that list.
681
-    Fixed bug where resize handles would be rendered on editable root elements such as table.
682
-Version 4.2.6 (2015-09-28)
683
-    Added capability to set request headers when using XHRs.
684
-    Added capability to upload local images automatically default delay is set to 30 seconds after editing images.
685
-    Added commands ids mceEditImage, mceAchor and mceMedia to be avaiable from execCommand.
686
-    Added Edge browser to saucelabs grunt task. Patch contributed by John-David Dalton.
687
-    Fixed bug where blob uris not produced by tinymce would produce HTML invalid markup.
688
-    Fixed bug where selection of contents of a nearly empty editor in Edge would sometimes fail.
689
-    Fixed bug where color styles woudln't be retained on copy/paste in Blink/Webkit.
690
-    Fixed bug where the table plugin would throw an error when inserting rows after a child table.
691
-    Fixed bug where the template plugin wouldn't handle functions as variable replacements.
692
-    Fixed bug where undo/redo sometimes wouldn't work properly when applying formatting collapsed ranges.
693
-    Fixed bug where shift+delete wouldn't do a cut operation on Blink/WebKit.
694
-    Fixed bug where cut action wouldn't properly store the before selection bookmark for the undo level.
695
-    Fixed bug where backspace in side an empty list element on IE would loose editor focus.
696
-    Fixed bug where the save plugin wouldn't enable the buttons when a change occurred.
697
-    Fixed bug where Edge wouldn't initialize the editor if a document.domain was specified.
698
-    Fixed bug where enter key before nested images would sometimes not properly expand the previous block.
699
-    Fixed bug where the inline toolbars wouldn't get properly hidden when blurring the editor instance.
700
-    Fixed bug where Edge would paste Chinese characters on some Windows 10 installations.
701
-    Fixed bug where IME would loose focus on IE 11 due to the double trailing br bug fix.
702
-    Fixed bug where the proxy url in imagetools was incorrect. Patch contributed by Wong Ho Wang.
703
-Version 4.2.5 (2015-08-31)
704
-    Added fullscreen capability to embedded youtube and vimeo videos.
705
-    Fixed bug where the uploadImages call didn't work on IE 10.
706
-    Fixed bug where image place holders would be uploaded by uploadImages call.
707
-    Fixed bug where images marked with bogus would be uploaded by the uploadImages call.
708
-    Fixed bug where multiple calls to uploadImages would result in decreased performance.
709
-    Fixed bug where pagebreaks were editable to imagetools patch contributed by Rasmus Wallin.
710
-    Fixed bug where the element path could cause too much recursion exception.
711
-    Fixed bug for domains containing ".min". Patch contributed by Loïc Février.
712
-    Fixed so validation of external links to accept a number after www. Patch contributed by Victor Carvalho.
713
-    Fixed so the charmap is exposed though execCommand. Patch contributed by Matthew Will.
714
-    Fixed so that the image uploads are concurrent for improved performance.
715
-    Fixed various grammar problems in inline documentation. Patches provided by nikolas.
716
-Version 4.2.4 (2015-08-17)
717
-    Added picture as a valid element to the HTML 5 schema. Patch contributed by Adam Taylor.
718
-    Fixed bug where contents would be duplicated on drag/drop within the same editor.
719
-    Fixed bug where floating/alignment of images on Edge wouldn't work properly.
720
-    Fixed bug where it wasn't possible to drag images on IE 11.
721
-    Fixed bug where image selection on Edge would sometimes fail.
722
-    Fixed bug where contextual toolbars icons wasn't rendered properly when using the toolbar_items_size.
723
-    Fixed bug where searchreplace dialog doesn't get prefilled with the selected text.
724
-    Fixed bug where fragmented matches wouldn't get properly replaced by the searchreplace plugin.
725
-    Fixed bug where enter key wouldn't place the caret if was after a trailing space within an inline element.
726
-    Fixed bug where the autolink plugin could produce multiple links for the same text on Gecko.
727
-    Fixed bug where EditorUpload could sometimes throw an exception if the blob wasn't found.
728
-    Fixed xss issues with media plugin not properly filtering out some script attributes.
729
-Version 4.2.3 (2015-07-30)
730
-    Fixed bug where image selection wasn't possible on Edge due to incompatible setBaseAndExtend API.
731
-    Fixed bug where image blobs urls where not properly destroyed by the imagetools plugin.
732
-    Fixed bug where keyboard shortcuts wasn't working correctly on IE 8.
733
-    Fixed skin issue where the borders of panels where not visible on IE 8.
734
-Version 4.2.2 (2015-07-22)
735
-    Fixed bug where float panels were not being hidden on inline editor blur when fixed_toolbar_container config option was in use.
736
-    Fixed bug where combobox states wasn't properly updated if contents where updated without keyboard.
737
-    Fixed bug where pasting into textbox or combobox would move the caret to the end of text.
738
-    Fixed bug where removal of bogus span elements before block elements would remove whitespace between nodes.
739
-    Fixed bug where repositioning of inline toolbars where async and producing errors if the editor was removed from DOM to early. Patch by iseulde.
740
-    Fixed bug where element path wasn't working correctly. Patch contributed by iseulde.
741
-    Fixed bug where menus wasn't rendered correctly when custom images where added to a menu. Patch contributed by Naim Hammadi.
742
-Version 4.2.1 (2015-06-29)
743
-    Fixed bug where back/forward buttons in the browser would render blob images as broken images.
744
-    Fixed bug where Firefox would throw regexp to big error when replacing huge base64 chunks.
745
-    Fixed bug rendering issues with resize and context toolbars not being placed properly until next animation frame.
746
-    Fixed bug where the rendering of the image while cropping would some times not be centered correctly.
747
-    Fixed bug where listbox items with submenus would me selected as active.
748
-    Fixed bug where context menu where throwing an error when rendering.
749
-    Fixed bug where resize both option wasn't working due to resent addClass API change. Patch contributed by Jogai.
750
-    Fixed bug where a hideAll call for container rendered inline toolbars would throw an error.
751
-    Fixed bug where onclick event handler on combobox could cause issues if element.id was a function by some polluting libraries.
752
-    Fixed bug where listboxes wouldn't get proper selected sub menu item when using link_list or image_list.
753
-    Fixed so the UI controls are as wide as 4.1.x to avoid wrapping controls in toolbars.
754
-    Fixed so the imagetools dialog is adaptive for smaller screen sizes.
755
-Version 4.2.0 (2015-06-25)
756
-    Added new flat default skin to make the UI more modern.
757
-    Added new imagetools plugin, lets you crop/resize and apply filters to images.
758
-    Added new contextual toolbars support to the API lets you add floating toolbars for specific CSS selectors.
759
-    Added new promise feature fill as tinymce.util.Promise.
760
-    Added new built in image upload feature lets you upload any base64 encoded image within the editor as files.
761
-    Fixed bug where resize handles would appear in the right position in the wrong editor when switching between resizable content in different inline editors.
762
-    Fixed bug where tables would not be inserted in inline mode due to previous float panel fix.
763
-    Fixed bug where floating panels would remain open when focus was lost on inline editors.
764
-    Fixed bug where cut command on Chrome would thrown a browser security exception.
765
-    Fixed bug where IE 11 sometimes would report an incorrect size for images in the image dialog.
766
-    Fixed bug where it wasn't possible to remove inline formatting at the end of block elements.
767
-    Fixed bug where it wasn't possible to delete table cell contents when cell selection was vertical.
768
-    Fixed bug where table cell wasn't emptied from block elements if delete/backspace where pressed in empty cell.
769
-    Fixed bug where cmd+shift+arrow didn't work correctly on Firefox mac when selecting to start/end of line.
770
-    Fixed bug where removal of bogus elements would sometimes remove whitespace between nodes.
771
-    Fixed bug where the resize handles wasn't updated when the main window was resized.
772
-    Fixed so script elements gets removed by default to prevent possible XSS issues in default config implementations.
773
-    Fixed so the UI doesn't need manual reflows when using non native layout managers.
774
-    Fixed so base64 encoded images doesn't slow down the editor on modern browsers while editing.
775
-    Fixed so all UI elements uses touch events to improve mobile device support.
776
-    Removed the touch click quirks patch for iOS since it did more harm than good.
777
-    Removed the non proportional resize handles since. Unproportional resize can still be done by holding the shift key.
778
-Version 4.1.10 (2015-05-05)
779
-    Fixed bug where plugins loaded with compat3x would sometimes throw errors when loading using the jQuery version.
780
-    Fixed bug where extra empty paragraphs would get deleted in WebKit/Blink due to recent Quriks fix.
781
-    Fixed bug where the editor wouldn't work properly on IE 12 due to some required browser sniffing.
782
-    Fixed bug where formatting shortcut keys where interfering with Mac OS X screenshot keys.
783
-    Fixed bug where the caret wouldn't move to the next/previous line boundary on Cmd+Left/Right on Gecko.
784
-    Fixed bug where it wasn't possible to remove formats from very specific nested contents.
785
-    Fixed bug where undo levels wasn't produced when typing letters using the shift or alt+ctrl modifiers.
786
-    Fixed bug where the dirty state wasn't properly updated when typing using the shift or alt+ctrl modifiers.
787
-    Fixed bug where an error would be thrown if an autofocused editor was destroyed quickly after its initialization. Patch provided by thorn0.
788
-    Fixed issue with dirty state not being properly updated on redo operation.
789
-    Fixed issue with entity decoder not handling incorrectly written numeric entities.
790
-    Fixed issue where some PI element values wouldn't be properly encoded.
791
-Version 4.1.9 (2015-03-10)
792
-    Fixed bug where indentation wouldn't work properly for non list elements.
793
-    Fixed bug with image plugin not pulling the image dimensions out correctly if a custom document_base_url was used.
794
-    Fixed bug where ctrl+alt+[1-9] would conflict with the AltGr+[1-9] on Windows. New shortcuts is ctrl+shift+[1-9].
795
-    Fixed bug with removing formatting on nodes in inline mode would sometimes include nodes outside the editor body.
796
-    Fixed bug where extra nbsp:s would be inserted when you replaced a word surrounded by spaces using insertContent.
797
-    Fixed bug with pasting from Google Docs would produce extra strong elements and line feeds.
798
-Version 4.1.8 (2015-03-05)
799
-    Added new html5 sizes attribute to img elements used together with srcset.
800
-    Added new elementpath option that makes it possible to disable the element path but keep the statusbar.
801
-    Added new option table_style_by_css for the table plugin to set table styling with css rather than table attributes.
802
-    Added new link_assume_external_targets option to prompt the user to prepend http:// prefix if the supplied link does not contain a protocol prefix.
803
-    Added new image_prepend_url option to allow a custom base path/url to be added to images.
804
-    Added new table_appearance_options option to make it possible to disable some options.
805
-    Added new image_title option to make it possible to alter the title of the image, disabled by default.
806
-    Fixed bug where selection starting from out side of the body wouldn't produce a proper selection range on IE 11.
807
-    Fixed bug where pressing enter twice before a table moves the cursor in the table and causes a javascript error.
808
-    Fixed bug where advanced image styles were not respected.
809
-    Fixed bug where the less common Shift+Delete didn't produce a proper cut operation on WebKit browsers.
810
-    Fixed bug where image/media size constrain logic would produce NaN when handling non number values.
811
-    Fixed bug where internal classes where removed by the removeformat command.
812
-    Fixed bug with creating links table cell contents with a specific selection would throw a exceptions on WebKit/Blink.
813
-    Fixed bug where valid_classes option didn't work as expected according to docs. Patch provided by thorn0.
814
-    Fixed bug where jQuery plugin would patch the internal methods multiple times. Patch provided by Drew Martin.
815
-    Fixed bug where backspace key wouldn't delete the current selection of newly formatted content.
816
-    Fixed bug where type over of inline formatting elements wouldn't properly keep the format on WebKit/Blink.
817
-    Fixed bug where selection needed to be properly normalized on modern IE versions.
818
-    Fixed bug where Command+Backspace didn't properly delete the whole line of text but the previous word.
819
-    Fixed bug where UI active states wheren't properly updated on IE if you placed caret within the current range.
820
-    Fixed bug where delete/backspace on WebKit/Blink would remove span elements created by the user.
821
-    Fixed bug where delete/backspace would produce incorrect results when deleting between two text blocks with br elements.
822
-    Fixed bug where captions where removed when pasting from MS Office.
823
-    Fixed bug where lists plugin wouldn't properly remove fully selected nested lists.
824
-    Fixed bug where the ttf font used for icons would throw an warning message on Gecko on Mac OS X.
825
-    Fixed a bug where applying a color to text did not update the undo/redo history.
826
-    Fixed so shy entities gets displayed when using the visualchars plugin.
827
-    Fixed so removeformat removes ins/del by default since these might be used for strikethough.
828
-    Fixed so multiple language packs can be loaded and added to the global I18n data structure.
829
-    Fixed so transparent color selection gets treated as a normal color selection. Patch contributed by Alexander Hofbauer.
830
-    Fixed so it's possible to disable autoresize_overflow_padding, autoresize_bottom_margin options by setting them to false.
831
-    Fixed so the charmap plugin shows the description of the character in the dialog. Patch contributed by Jelle Hissink.
832
-    Removed address from the default list of block formats since it tends to be missused.
833
-    Fixed so the pre block format is called preformatted to make it more verbose.
834
-    Fixed so it's possible to context scope translation strings this isn't needed most of the time.
835
-    Fixed so the max length of the width/height input fields of the media dialog is 5 instead of 3.
836
-    Fixed so drag/dropped contents gets properly processed by paste plugin since it's basically a paste. Patch contributed by Greg Fairbanks.
837
-    Fixed so shortcut keys for headers is ctrl+alt+[1-9] instead of ctrl+[1-9] since these are for switching tabs in the browsers.
838
-    Fixed so "u" doesn't get converted into a span element by the legacy input filter. Since this is now a valid HTML5 element.
839
-    Fixed font families in order to provide appropriate web-safe fonts.
840
-Version 4.1.7 (2014-11-27)
841
-    Added HTML5 schema support for srcset, source and picture. Patch contributed by mattheu.
842
-    Added new cache_suffix setting to enable cache busting by producing unique urls.
843
-    Added new paste_convert_word_fake_lists option to enable users to disable the fake lists convert logic.
844
-    Fixed so advlist style changes adds undo levels for each change.
845
-    Fixed bug where WebKit would sometimes produce an exception when the autolink plugin where looking for URLs.
846
-    Fixed bug where IE 7 wouldn't be rendered properly due to aggressive css compression.
847
-    Fixed bug where DomQuery wouldn't accept window as constructor element.
848
-    Fixed bug where the color picker in 3.x dialogs wouldn't work properly. Patch contributed by Callidior.
849
-    Fixed bug where the image plugin wouldn't respect the document_base_url.
850
-    Fixed bug where the jQuery plugin would fail to append to elements named array prototype names.
851
-Version 4.1.6 (2014-10-08)
852
-    Fixed bug with clicking on the scrollbar of the iframe would cause a JS error to be thrown.
853
-    Fixed bug where null would produce an exception if you passed it to selection.setRng.
854
-    Fixed bug where Ctrl/Cmd+Tab would indent the current list item if you switched tabs in the browser.
855
-    Fixed bug where pasting empty cells from Excel would result in a broken table.
856
-    Fixed bug where it wasn't possible to switch back to default list style type.
857
-    Fixed issue where the select all quirk fix would fire for other modifiers than Ctrl/Cmd combinations.
858
-    Replaced jake with grunt since it is more mainstream and has better plugin support.
859
-Version 4.1.5 (2014-09-09)
860
-    Fixed bug where sometimes the resize rectangles wouldn't properly render on images on WebKit/Blink.
861
-    Fixed bug in list plugin where delete/backspace would merge empty LI elements in lists incorrectly.
862
-    Fixed bug where empty list elements would result in empty LI elements without it's parent container.
863
-    Fixed bug where backspace in empty caret formatted element could produce an type error exception of Gecko.
864
-    Fixed bug where lists pasted from word with a custom start index above 9 wouldn't be properly handled.
865
-    Fixed bug where tabfocus plugin would tab out of the editor instance even if the default action was prevented.
866
-    Fixed bug where tabfocus wouldn't tab properly to other adjacent editor instances.
867
-    Fixed bug where the DOMUtils setStyles wouldn't properly removed or update the data-mce-style attribute.
868
-    Fixed bug where dialog select boxes would be placed incorrectly if document.body wasn't statically positioned.
869
-    Fixed bug where pasting would sometimes scroll to the top of page if the user was using the autoresize plugin.
870
-    Fixed bug where caret wouldn't be properly rendered by Chrome when clicking on the iframes documentElement.
871
-    Fixed so custom images for menubutton/splitbutton can be provided. Patch contributed by Naim Hammadi.
872
-    Fixed so the default action of windows closing can be prevented by blocking the default action of the close event.
873
-    Fixed so nodeChange and focus of the editor isn't automatically performed when opening sub dialogs.
874
-Version 4.1.4 (2014-08-21)
875
-    Added new media_filter_html option to media plugin that blocks any conditional comments, scripts etc within a video element.
876
-    Added new content_security_policy option allows you to set custom policy for iframe contents. Patch contributed by Francois Chagnon.
877
-    Fixed bug where activate/deactivate events wasn't firing properly when switching between editors.
878
-    Fixed bug where placing the caret on iOS was difficult due to a WebKit bug with touch events.
879
-    Fixed bug where the resize helper wouldn't render properly on older IE versions.
880
-    Fixed bug where resizing images inside tables on older IE versions would sometimes fail depending mouse position.
881
-    Fixed bug where editor.insertContent would produce an exception when inserting select/option elements.
882
-    Fixed bug where extra empty paragraphs would be produced if block elements where inserted inside span elements.
883
-    Fixed bug where the spellchecker menu item wouldn't be properly checked if spell checking was started before it was rendered.
884
-    Fixed bug where the DomQuery filter function wouldn't remove non elements from collection.
885
-    Fixed bug where document with custom document.domain wouldn't properly render the editor.
886
-    Fixed bug where IE 8 would throw exception when trying to enter invalid color values into colorboxes.
887
-    Fixed bug where undo manager could incorrectly add an extra undo level when custom resize handles was removed.
888
-    Fixed bug where it wouldn't be possible to alter cell properties properly on table cells on IE 8.
889
-    Fixed so the color picker button in table dialog isn't shown unless you include the colorpicker plugin or add your own custom color picker.
890
-    Fixed so activate/deactivate events fire when windowManager opens a window since.
891
-    Fixed so the table advtab options isn't separated by an underscore to normalize naming with image_advtab option.
892
-    Fixed so the table cell dialog has proper padding when the advanced tab in disabled.
893
-Version 4.1.3 (2014-07-29)
894
-    Added event binding logic to tinymce.util.XHR making it possible to override headers and settings before any request is made.
895
-    Fixed bug where drag events wasn't fireing properly on older IE versions since the event handlers where bound to document.
896
-    Fixed bug where drag/dropping contents within the editor on IE would force the contents into plain text mode even if it was internal content.
897
-    Fixed bug where IE 7 wouldn't open menus properly due to a resize bug in the browser auto closing them immediately.
898
-    Fixed bug where the DOMUtils getPos logic wouldn't produce a valid coordinate inside the body if the body was positioned non static.
899
-    Fixed bug where the element path and format state wasn't properly updated if you had the wordcount plugin enabled.
900
-    Fixed bug where a comment at the beginning of source would produce an exception in the formatter logic.
901
-    Fixed bug where setAttrib/getAttrib on null would throw exception together with any hooked attributes like style.
902
-    Fixed bug where table sizes wasn't properly retained when copy/pasting on WebKit/Blink.
903
-    Fixed bug where WebKit/Blink would produce colors in RGB format instead of the forced HEX format when deleting contents.
904
-    Fixed bug where the width attribute wasn't updated on tables if you changed the size inside the table dialog.
905
-    Fixed bug where control selection wasn't properly handled when the caret was placed directly after an image.
906
-    Fixed bug where selecting the contents of table cells using the selection.select method wouldn't place the caret properly.
907
-    Fixed bug where the selection state for images wasn't removed when placing the caret right after an image on WebKit/Blink.
908
-    Fixed bug where all events wasn't properly unbound when and editor instance was removed or destroyed by some external innerHTML call.
909
-    Fixed bug where it wasn't possible or very hard to select images on iOS when the onscreen keyboard was visible.
910
-    Fixed so auto_focus can take a boolean argument this will auto focus the last initialized editor might be useful for single inits.
911
-    Fixed so word auto detect lists logic works better for faked lists that doesn't have specific markup.
912
-    Fixed so nodeChange gets fired on mouseup as it used to before 4.1.1 we optimized that event to fire less often.
913
-    Removed the finish menu item from spellchecker menu since it's redundant you can stop spellchecking by toggling menu item or button.
914
-Version 4.1.2 (2014-07-15)
915
-    Added offset/grep to DomQuery class works basically the same as it's jQuery equivalent.
916
-    Fixed bug where backspace/delete or setContent with an empty string would remove header data when using the fullpage plugin.
917
-    Fixed bug where tinymce.remove with a selector not matching any editors would remove all editors.
918
-    Fixed bug where resizing of the editor didn't work since the theme was calling setStyles instead of setStyle.
919
-    Fixed bug where IE 7 would fail to append html fragments to iframe document when using DomQuery.
920
-    Fixed bug where the getStyle DOMUtils method would produce an exception if it was called with null as it's element.
921
-    Fixed bug where the paste plugin would remove the element if the none of the paste_webkit_styles rules matched the current style.
922
-    Fixed bug where contextmenu table items wouldn't work properly on IE since it would some times fire an incorrect selection change.
923
-    Fixed bug where the padding/border values wasn't used in the size calculation for the body size when using autoresize. Patch contributed by Matt Whelan.
924
-    Fixed bug where conditional word comments wouldn't be properly removed when pasting plain text.
925
-    Fixed bug where resizing would sometime fail on IE 11 when the mouseup occurred inside the resizable element.
926
-    Fixed so the iframe gets initialized without any inline event handlers for better CSP support. Patch contributed by Matt Whelan.
927
-    Fixed so the tinymce.dom.Sizzle is the latest version of sizzle this resolves the document context bug.
928
-Version 4.1.1 (2014-07-08)
929
-    Fixed bug where pasting plain text on some WebKit versions would result in an empty line.
930
-    Fixed bug where resizing images inside tables on IE 11 wouldn't work properly.
931
-    Fixed bug where IE 11 would sometimes throw "Invalid argument" exception when editor contents was set to an empty string.
932
-    Fixed bug where document.activeElement would throw exceptions on IE 9 when that element was hidden or removed from dom.
933
-    Fixed bug where WebKit/Blink sometimes produced br elements with the Apple-interchange-newline class.
934
-    Fixed bug where table cell selection wasn't properly removed when copy/pasting table cells.
935
-    Fixed bug where pasting nested list items from Word wouldn't produce proper semantic nested lists.
936
-    Fixed bug where right clicking using the contextmenu plugin on WebKit/Blink on Mac OS X would select the target current word or line.
937
-    Fixed bug where it wasn't possible to alter table cell properties on IE 8 using the context menu.
938
-    Fixed bug where the resize helper wouldn't be correctly positioned on older IE versions.
939
-    Fixed bug where fullpage plugin would produce an error if you didn't specify a doctype encoding.
940
-    Fixed bug where anchor plugin would get the name/id of the current element even if it wasn't anchor element.
941
-    Fixed bug where visual aids for tables wouldn't be properly disabled when changing the border size.
942
-    Fixed bug where some control selection events wasn't properly fired on older IE versions.
943
-    Fixed bug where table cell selection on older IE versions would prevent resizing of images.
944
-    Fixed bug with paste_data_images paste option not working properly on modern IE versions.
945
-    Fixed bug where custom elements with underscores in the name wasn't properly parsed/serialized.
946
-    Fixed bug where applying inline formats to nested list elements would produce an incorrect formatting result.
947
-    Fixed so it's possible to hide items from elements path by using preventDefault/stopPropagation.
948
-    Fixed so inline mode toolbar gets rendered right aligned if the editable element positioned to the documents right edge.
949
-    Fixed so empty inline elements inside empty block elements doesn't get removed if configured to be kept intact.
950
-    Fixed so DomQuery parentsUntil/prevUntil/nextUntil supports selectors/elements/filters etc.
951
-    Fixed so legacyoutput plugin overrides fontselect and fontsizeselect controls and handles font elements properly.
952
-Version 4.1.0 (2014-06-18)
953
-    Added new file_picker_callback option to replace the old file_browser_callback the latter will still work though.
954
-    Added new custom colors to textcolor plugin will be displayed if a color picker is provided also shows the latest colors.
955
-    Added new color_picker_callback option to enable you to add custom color pickers to the editor.
956
-    Added new advanced tabs to table/cell/row dialogs to enable you to select colors for border/background.
957
-    Added new colorpicker plugin that lets you select colors from a hsv color picker.
958
-    Added new tinymce.util.Color class to handle color parsing and converting.
959
-    Added new colorpicker UI widget element lets you add a hsv color picker to any form/window.
960
-    Added new textpattern plugin that allows you to use markdown like text patterns to format contents.
961
-    Added new resize helper element that shows the current width & height while resizing.
962
-    Added new "once" method to Editor and EventDispatcher enables since callback execution events.
963
-    Added new jQuery like class under tinymce.dom.DomQuery it's exposed on editor instances (editor.$) and globally under (tinymce.$).
964
-    Fixed so the default resize method for images are proportional shift/ctrl can be used to make an unproportional size.
965
-    Fixed bug where the image_dimensions option of the image plugin would cause exceptions when it tried to update the size.
966
-    Fixed bug where table cell dialog class field wasn't properly updated when editing an a table cell with an existing class.
967
-    Fixed bug where Safari on Mac would produce webkit-fake-url for pasted images so these are now removed.
968
-    Fixed bug where the nodeChange event would get fired before the selection was changed when clicking inside the current selection range.
969
-    Fixed bug where valid_classes option would cause exception when it removed internal prefixed classes like mce-item-.
970
-    Fixed bug where backspace would cause navigation in IE 8 on an inline element and after a caret formatting was applied.
971
-    Fixed so placeholder images produced by the media plugin gets selected when inserted/edited.
972
-    Fixed so it's possible to drag in images when the paste_data_images option is enabled. Might be useful for mail clients.
973
-    Fixed so images doesn't get a width/height applied if the image_dimensions option is set to false useful for responsive contents.
974
-    Fixed so it's possible to pass in an optional arguments object for the nodeChanged function to be passed to all nodechange event listeners.
975
-    Fixed bug where media plugin embed code didn't update correctly.

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/jquery.tinymce.min.js View File

@@ -1 +0,0 @@
1
-!function(){var f,c,u,p,d,s=[];d="undefined"!=typeof global?global:window,p=d.jQuery;var v=function(){return d.tinymce};p.fn.tinymce=function(o){var e,t,i,l=this,r="";if(!l.length)return l;if(!o)return v()?v().get(l[0].id):null;l.css("visibility","hidden");var n=function(){var a=[],c=0;u||(m(),u=!0),l.each(function(e,t){var n,i=t.id,r=o.oninit;i||(t.id=i=v().DOM.uniqueId()),v().get(i)||(n=v().createEditor(i,o),a.push(n),n.on("init",function(){var e,t=r;l.css("visibility",""),r&&++c==a.length&&("string"==typeof t&&(e=-1===t.indexOf(".")?null:v().resolve(t.replace(/\.\w+$/,"")),t=v().resolve(t)),t.apply(e||v(),a))}))}),p.each(a,function(e,t){t.render()})};if(d.tinymce||c||!(e=o.script_url))1===c?s.push(n):n();else{c=1,t=e.substring(0,e.lastIndexOf("/")),-1!=e.indexOf(".min")&&(r=".min"),d.tinymce=d.tinyMCEPreInit||{base:t,suffix:r},-1!=e.indexOf("gzip")&&(i=o.language||"en",e=e+(/\?/.test(e)?"&":"?")+"js=true&core=true&suffix="+escape(r)+"&themes="+escape(o.theme||"modern")+"&plugins="+escape(o.plugins||"")+"&languages="+(i||""),d.tinyMCE_GZ||(d.tinyMCE_GZ={start:function(){var n=function(e){v().ScriptLoader.markDone(v().baseURI.toAbsolute(e))};n("langs/"+i+".js"),n("themes/"+o.theme+"/theme"+r+".js"),n("themes/"+o.theme+"/langs/"+i+".js"),p.each(o.plugins.split(","),function(e,t){t&&(n("plugins/"+t+"/plugin"+r+".js"),n("plugins/"+t+"/langs/"+i+".js"))})},end:function(){}}));var a=document.createElement("script");a.type="text/javascript",a.onload=a.onreadystatechange=function(e){e=e||window.event,2===c||"load"!=e.type&&!/complete|loaded/.test(a.readyState)||(v().dom.Event.domLoaded=1,c=2,o.script_loaded&&o.script_loaded(),n(),p.each(s,function(e,t){t()}))},a.src=e,document.body.appendChild(a)}return l},p.extend(p.expr[":"],{tinymce:function(e){var t;return!!(e.id&&"tinymce"in d&&(t=v().get(e.id))&&t.editorManager===v())}});var m=function(){var r=function(e){"remove"===e&&this.each(function(e,t){var n=l(t);n&&n.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(e,t){var n=v().get(t.id.replace(/_parent$/,""));n&&n.remove()})},o=function(i){var e,t=this;if(null!=i)r.call(t),t.each(function(e,t){var n;(n=v().get(t.id))&&n.setContent(i)});else if(0<t.length&&(e=v().get(t[0].id)))return e.getContent()},l=function(e){var t=null;return e&&e.id&&d.tinymce&&(t=v().get(e.id)),t},u=function(e){return!!(e&&e.length&&d.tinymce&&e.is(":tinymce"))},s={};p.each(["text","html","val"],function(e,t){var a=s[t]=p.fn[t],c="text"===t;p.fn[t]=function(e){var t=this;if(!u(t))return a.apply(t,arguments);if(e!==f)return o.call(t.filter(":tinymce"),e),a.apply(t.not(":tinymce"),arguments),t;var i="",r=arguments;return(c?t:t.eq(0)).each(function(e,t){var n=l(t);i+=n?c?n.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):n.getContent({save:!0}):a.apply(p(t),r)}),i}}),p.each(["append","prepend"],function(e,t){var n=s[t]=p.fn[t],r="prepend"===t;p.fn[t]=function(i){var e=this;return u(e)?i!==f?("string"==typeof i&&e.filter(":tinymce").each(function(e,t){var n=l(t);n&&n.setContent(r?i+n.getContent():n.getContent()+i)}),n.apply(e.not(":tinymce"),arguments),e):void 0:n.apply(e,arguments)}}),p.each(["remove","replaceWith","replaceAll","empty"],function(e,t){var n=s[t]=p.fn[t];p.fn[t]=function(){return r.call(this,t),n.apply(this,arguments)}}),s.attr=p.fn.attr,p.fn.attr=function(e,t){var n=this,i=arguments;if(!e||"value"!==e||!u(n))return s.attr.apply(n,i);if(t!==f)return o.call(n.filter(":tinymce"),t),s.attr.apply(n.not(":tinymce"),i),n;var r=n[0],a=l(r);return a?a.getContent({save:!0}):s.attr.apply(p(r),i)}}}();

+ 0 - 3
frontend_app_html-document/dist/asset/tinymce/js/tinymce/langs/readme.md View File

@@ -1,3 +0,0 @@
1
-This is where language files should be placed.
2
-
3
-Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/

+ 0 - 504
frontend_app_html-document/dist/asset/tinymce/js/tinymce/license.txt View File

@@ -1,504 +0,0 @@
1
-      GNU LESSER GENERAL PUBLIC LICENSE
2
-           Version 2.1, February 1999
3
-
4
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5
- 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
-[This is the first released version of the Lesser GPL.  It also counts
10
- as the successor of the GNU Library Public License, version 2, hence
11
- the version number 2.1.]
12
-
13
-          Preamble
14
-
15
-  The licenses for most software are designed to take away your
16
-freedom to share and change it.  By contrast, the GNU General Public
17
-Licenses are intended to guarantee your freedom to share and change
18
-free software--to make sure the software is free for all its users.
19
-
20
-  This license, the Lesser General Public License, applies to some
21
-specially designated software packages--typically libraries--of the
22
-Free Software Foundation and other authors who decide to use it.  You
23
-can use it too, but we suggest you first think carefully about whether
24
-this license or the ordinary General Public License is the better
25
-strategy to use in any particular case, based on the explanations below.
26
-
27
-  When we speak of free software, we are referring to freedom of use,
28
-not price.  Our General Public Licenses are designed to make sure that
29
-you have the freedom to distribute copies of free software (and charge
30
-for this service if you wish); that you receive source code or can get
31
-it if you want it; that you can change the software and use pieces of
32
-it in new free programs; and that you are informed that you can do
33
-these things.
34
-
35
-  To protect your rights, we need to make restrictions that forbid
36
-distributors to deny you these rights or to ask you to surrender these
37
-rights.  These restrictions translate to certain responsibilities for
38
-you if you distribute copies of the library or if you modify it.
39
-
40
-  For example, if you distribute copies of the library, whether gratis
41
-or for a fee, you must give the recipients all the rights that we gave
42
-you.  You must make sure that they, too, receive or can get the source
43
-code.  If you link other code with the library, you must provide
44
-complete object files to the recipients, so that they can relink them
45
-with the library after making changes to the library and recompiling
46
-it.  And you must show them these terms so they know their rights.
47
-
48
-  We protect your rights with a two-step method: (1) we copyright the
49
-library, and (2) we offer you this license, which gives you legal
50
-permission to copy, distribute and/or modify the library.
51
-
52
-  To protect each distributor, we want to make it very clear that
53
-there is no warranty for the free library.  Also, if the library is
54
-modified by someone else and passed on, the recipients should know
55
-that what they have is not the original version, so that the original
56
-author's reputation will not be affected by problems that might be
57
-introduced by others.
58
-
59
-  Finally, software patents pose a constant threat to the existence of
60
-any free program.  We wish to make sure that a company cannot
61
-effectively restrict the users of a free program by obtaining a
62
-restrictive license from a patent holder.  Therefore, we insist that
63
-any patent license obtained for a version of the library must be
64
-consistent with the full freedom of use specified in this license.
65
-
66
-  Most GNU software, including some libraries, is covered by the
67
-ordinary GNU General Public License.  This license, the GNU Lesser
68
-General Public License, applies to certain designated libraries, and
69
-is quite different from the ordinary General Public License.  We use
70
-this license for certain libraries in order to permit linking those
71
-libraries into non-free programs.
72
-
73
-  When a program is linked with a library, whether statically or using
74
-a shared library, the combination of the two is legally speaking a
75
-combined work, a derivative of the original library.  The ordinary
76
-General Public License therefore permits such linking only if the
77
-entire combination fits its criteria of freedom.  The Lesser General
78
-Public License permits more lax criteria for linking other code with
79
-the library.
80
-
81
-  We call this license the "Lesser" General Public License because it
82
-does Less to protect the user's freedom than the ordinary General
83
-Public License.  It also provides other free software developers Less
84
-of an advantage over competing non-free programs.  These disadvantages
85
-are the reason we use the ordinary General Public License for many
86
-libraries.  However, the Lesser license provides advantages in certain
87
-special circumstances.
88
-
89
-  For example, on rare occasions, there may be a special need to
90
-encourage the widest possible use of a certain library, so that it becomes
91
-a de-facto standard.  To achieve this, non-free programs must be
92
-allowed to use the library.  A more frequent case is that a free
93
-library does the same job as widely used non-free libraries.  In this
94
-case, there is little to gain by limiting the free library to free
95
-software only, so we use the Lesser General Public License.
96
-
97
-  In other cases, permission to use a particular library in non-free
98
-programs enables a greater number of people to use a large body of
99
-free software.  For example, permission to use the GNU C Library in
100
-non-free programs enables many more people to use the whole GNU
101
-operating system, as well as its variant, the GNU/Linux operating
102
-system.
103
-
104
-  Although the Lesser General Public License is Less protective of the
105
-users' freedom, it does ensure that the user of a program that is
106
-linked with the Library has the freedom and the wherewithal to run
107
-that program using a modified version of the Library.
108
-
109
-  The precise terms and conditions for copying, distribution and
110
-modification follow.  Pay close attention to the difference between a
111
-"work based on the library" and a "work that uses the library".  The
112
-former contains code derived from the library, whereas the latter must
113
-be combined with the library in order to run.
114
-
115
-      GNU LESSER GENERAL PUBLIC LICENSE
116
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117
-
118
-  0. This License Agreement applies to any software library or other
119
-program which contains a notice placed by the copyright holder or
120
-other authorized party saying it may be distributed under the terms of
121
-this Lesser General Public License (also called "this License").
122
-Each licensee is addressed as "you".
123
-
124
-  A "library" means a collection of software functions and/or data
125
-prepared so as to be conveniently linked with application programs
126
-(which use some of those functions and data) to form executables.
127
-
128
-  The "Library", below, refers to any such software library or work
129
-which has been distributed under these terms.  A "work based on the
130
-Library" means either the Library or any derivative work under
131
-copyright law: that is to say, a work containing the Library or a
132
-portion of it, either verbatim or with modifications and/or translated
133
-straightforwardly into another language.  (Hereinafter, translation is
134
-included without limitation in the term "modification".)
135
-
136
-  "Source code" for a work means the preferred form of the work for
137
-making modifications to it.  For a library, complete source code means
138
-all the source code for all modules it contains, plus any associated
139
-interface definition files, plus the scripts used to control compilation
140
-and installation of the library.
141
-
142
-  Activities other than copying, distribution and modification are not
143
-covered by this License; they are outside its scope.  The act of
144
-running a program using the Library is not restricted, and output from
145
-such a program is covered only if its contents constitute a work based
146
-on the Library (independent of the use of the Library in a tool for
147
-writing it).  Whether that is true depends on what the Library does
148
-and what the program that uses the Library does.
149
-  
150
-  1. You may copy and distribute verbatim copies of the Library's
151
-complete source code as you receive it, in any medium, provided that
152
-you conspicuously and appropriately publish on each copy an
153
-appropriate copyright notice and disclaimer of warranty; keep intact
154
-all the notices that refer to this License and to the absence of any
155
-warranty; and distribute a copy of this License along with the
156
-Library.
157
-
158
-  You may charge a fee for the physical act of transferring a copy,
159
-and you may at your option offer warranty protection in exchange for a
160
-fee.
161
-
162
-  2. You may modify your copy or copies of the Library or any portion
163
-of it, thus forming a work based on the Library, and copy and
164
-distribute such modifications or work under the terms of Section 1
165
-above, provided that you also meet all of these conditions:
166
-
167
-    a) The modified work must itself be a software library.
168
-
169
-    b) You must cause the files modified to carry prominent notices
170
-    stating that you changed the files and the date of any change.
171
-
172
-    c) You must cause the whole of the work to be licensed at no
173
-    charge to all third parties under the terms of this License.
174
-
175
-    d) If a facility in the modified Library refers to a function or a
176
-    table of data to be supplied by an application program that uses
177
-    the facility, other than as an argument passed when the facility
178
-    is invoked, then you must make a good faith effort to ensure that,
179
-    in the event an application does not supply such function or
180
-    table, the facility still operates, and performs whatever part of
181
-    its purpose remains meaningful.
182
-
183
-    (For example, a function in a library to compute square roots has
184
-    a purpose that is entirely well-defined independent of the
185
-    application.  Therefore, Subsection 2d requires that any
186
-    application-supplied function or table used by this function must
187
-    be optional: if the application does not supply it, the square
188
-    root function must still compute square roots.)
189
-
190
-These requirements apply to the modified work as a whole.  If
191
-identifiable sections of that work are not derived from the Library,
192
-and can be reasonably considered independent and separate works in
193
-themselves, then this License, and its terms, do not apply to those
194
-sections when you distribute them as separate works.  But when you
195
-distribute the same sections as part of a whole which is a work based
196
-on the Library, the distribution of the whole must be on the terms of
197
-this License, whose permissions for other licensees extend to the
198
-entire whole, and thus to each and every part regardless of who wrote
199
-it.
200
-
201
-Thus, it is not the intent of this section to claim rights or contest
202
-your rights to work written entirely by you; rather, the intent is to
203
-exercise the right to control the distribution of derivative or
204
-collective works based on the Library.
205
-
206
-In addition, mere aggregation of another work not based on the Library
207
-with the Library (or with a work based on the Library) on a volume of
208
-a storage or distribution medium does not bring the other work under
209
-the scope of this License.
210
-
211
-  3. You may opt to apply the terms of the ordinary GNU General Public
212
-License instead of this License to a given copy of the Library.  To do
213
-this, you must alter all the notices that refer to this License, so
214
-that they refer to the ordinary GNU General Public License, version 2,
215
-instead of to this License.  (If a newer version than version 2 of the
216
-ordinary GNU General Public License has appeared, then you can specify
217
-that version instead if you wish.)  Do not make any other change in
218
-these notices.
219
-
220
-  Once this change is made in a given copy, it is irreversible for
221
-that copy, so the ordinary GNU General Public License applies to all
222
-subsequent copies and derivative works made from that copy.
223
-
224
-  This option is useful when you wish to copy part of the code of
225
-the Library into a program that is not a library.
226
-
227
-  4. You may copy and distribute the Library (or a portion or
228
-derivative of it, under Section 2) in object code or executable form
229
-under the terms of Sections 1 and 2 above provided that you accompany
230
-it with the complete corresponding machine-readable source code, which
231
-must be distributed under the terms of Sections 1 and 2 above on a
232
-medium customarily used for software interchange.
233
-
234
-  If distribution of object code is made by offering access to copy
235
-from a designated place, then offering equivalent access to copy the
236
-source code from the same place satisfies the requirement to
237
-distribute the source code, even though third parties are not
238
-compelled to copy the source along with the object code.
239
-
240
-  5. A program that contains no derivative of any portion of the
241
-Library, but is designed to work with the Library by being compiled or
242
-linked with it, is called a "work that uses the Library".  Such a
243
-work, in isolation, is not a derivative work of the Library, and
244
-therefore falls outside the scope of this License.
245
-
246
-  However, linking a "work that uses the Library" with the Library
247
-creates an executable that is a derivative of the Library (because it
248
-contains portions of the Library), rather than a "work that uses the
249
-library".  The executable is therefore covered by this License.
250
-Section 6 states terms for distribution of such executables.
251
-
252
-  When a "work that uses the Library" uses material from a header file
253
-that is part of the Library, the object code for the work may be a
254
-derivative work of the Library even though the source code is not.
255
-Whether this is true is especially significant if the work can be
256
-linked without the Library, or if the work is itself a library.  The
257
-threshold for this to be true is not precisely defined by law.
258
-
259
-  If such an object file uses only numerical parameters, data
260
-structure layouts and accessors, and small macros and small inline
261
-functions (ten lines or less in length), then the use of the object
262
-file is unrestricted, regardless of whether it is legally a derivative
263
-work.  (Executables containing this object code plus portions of the
264
-Library will still fall under Section 6.)
265
-
266
-  Otherwise, if the work is a derivative of the Library, you may
267
-distribute the object code for the work under the terms of Section 6.
268
-Any executables containing that work also fall under Section 6,
269
-whether or not they are linked directly with the Library itself.
270
-
271
-  6. As an exception to the Sections above, you may also combine or
272
-link a "work that uses the Library" with the Library to produce a
273
-work containing portions of the Library, and distribute that work
274
-under terms of your choice, provided that the terms permit
275
-modification of the work for the customer's own use and reverse
276
-engineering for debugging such modifications.
277
-
278
-  You must give prominent notice with each copy of the work that the
279
-Library is used in it and that the Library and its use are covered by
280
-this License.  You must supply a copy of this License.  If the work
281
-during execution displays copyright notices, you must include the
282
-copyright notice for the Library among them, as well as a reference
283
-directing the user to the copy of this License.  Also, you must do one
284
-of these things:
285
-
286
-    a) Accompany the work with the complete corresponding
287
-    machine-readable source code for the Library including whatever
288
-    changes were used in the work (which must be distributed under
289
-    Sections 1 and 2 above); and, if the work is an executable linked
290
-    with the Library, with the complete machine-readable "work that
291
-    uses the Library", as object code and/or source code, so that the
292
-    user can modify the Library and then relink to produce a modified
293
-    executable containing the modified Library.  (It is understood
294
-    that the user who changes the contents of definitions files in the
295
-    Library will not necessarily be able to recompile the application
296
-    to use the modified definitions.)
297
-
298
-    b) Use a suitable shared library mechanism for linking with the
299
-    Library.  A suitable mechanism is one that (1) uses at run time a
300
-    copy of the library already present on the user's computer system,
301
-    rather than copying library functions into the executable, and (2)
302
-    will operate properly with a modified version of the library, if
303
-    the user installs one, as long as the modified version is
304
-    interface-compatible with the version that the work was made with.
305
-
306
-    c) Accompany the work with a written offer, valid for at
307
-    least three years, to give the same user the materials
308
-    specified in Subsection 6a, above, for a charge no more
309
-    than the cost of performing this distribution.
310
-
311
-    d) If distribution of the work is made by offering access to copy
312
-    from a designated place, offer equivalent access to copy the above
313
-    specified materials from the same place.
314
-
315
-    e) Verify that the user has already received a copy of these
316
-    materials or that you have already sent this user a copy.
317
-
318
-  For an executable, the required form of the "work that uses the
319
-Library" must include any data and utility programs needed for
320
-reproducing the executable from it.  However, as a special exception,
321
-the materials to be distributed need not include anything that is
322
-normally distributed (in either source or binary form) with the major
323
-components (compiler, kernel, and so on) of the operating system on
324
-which the executable runs, unless that component itself accompanies
325
-the executable.
326
-
327
-  It may happen that this requirement contradicts the license
328
-restrictions of other proprietary libraries that do not normally
329
-accompany the operating system.  Such a contradiction means you cannot
330
-use both them and the Library together in an executable that you
331
-distribute.
332
-
333
-  7. You may place library facilities that are a work based on the
334
-Library side-by-side in a single library together with other library
335
-facilities not covered by this License, and distribute such a combined
336
-library, provided that the separate distribution of the work based on
337
-the Library and of the other library facilities is otherwise
338
-permitted, and provided that you do these two things:
339
-
340
-    a) Accompany the combined library with a copy of the same work
341
-    based on the Library, uncombined with any other library
342
-    facilities.  This must be distributed under the terms of the
343
-    Sections above.
344
-
345
-    b) Give prominent notice with the combined library of the fact
346
-    that part of it is a work based on the Library, and explaining
347
-    where to find the accompanying uncombined form of the same work.
348
-
349
-  8. You may not copy, modify, sublicense, link with, or distribute
350
-the Library except as expressly provided under this License.  Any
351
-attempt otherwise to copy, modify, sublicense, link with, or
352
-distribute the Library is void, and will automatically terminate your
353
-rights under this License.  However, parties who have received copies,
354
-or rights, from you under this License will not have their licenses
355
-terminated so long as such parties remain in full compliance.
356
-
357
-  9. You are not required to accept this License, since you have not
358
-signed it.  However, nothing else grants you permission to modify or
359
-distribute the Library or its derivative works.  These actions are
360
-prohibited by law if you do not accept this License.  Therefore, by
361
-modifying or distributing the Library (or any work based on the
362
-Library), you indicate your acceptance of this License to do so, and
363
-all its terms and conditions for copying, distributing or modifying
364
-the Library or works based on it.
365
-
366
-  10. Each time you redistribute the Library (or any work based on the
367
-Library), the recipient automatically receives a license from the
368
-original licensor to copy, distribute, link with or modify the Library
369
-subject to these terms and conditions.  You may not impose any further
370
-restrictions on the recipients' exercise of the rights granted herein.
371
-You are not responsible for enforcing compliance by third parties with
372
-this License.
373
-
374
-  11. If, as a consequence of a court judgment or allegation of patent
375
-infringement or for any other reason (not limited to patent issues),
376
-conditions are imposed on you (whether by court order, agreement or
377
-otherwise) that contradict the conditions of this License, they do not
378
-excuse you from the conditions of this License.  If you cannot
379
-distribute so as to satisfy simultaneously your obligations under this
380
-License and any other pertinent obligations, then as a consequence you
381
-may not distribute the Library at all.  For example, if a patent
382
-license would not permit royalty-free redistribution of the Library by
383
-all those who receive copies directly or indirectly through you, then
384
-the only way you could satisfy both it and this License would be to
385
-refrain entirely from distribution of the Library.
386
-
387
-If any portion of this section is held invalid or unenforceable under any
388
-particular circumstance, the balance of the section is intended to apply,
389
-and the section as a whole is intended to apply in other circumstances.
390
-
391
-It is not the purpose of this section to induce you to infringe any
392
-patents or other property right claims or to contest validity of any
393
-such claims; this section has the sole purpose of protecting the
394
-integrity of the free software distribution system which is
395
-implemented by public license practices.  Many people have made
396
-generous contributions to the wide range of software distributed
397
-through that system in reliance on consistent application of that
398
-system; it is up to the author/donor to decide if he or she is willing
399
-to distribute software through any other system and a licensee cannot
400
-impose that choice.
401
-
402
-This section is intended to make thoroughly clear what is believed to
403
-be a consequence of the rest of this License.
404
-
405
-  12. If the distribution and/or use of the Library is restricted in
406
-certain countries either by patents or by copyrighted interfaces, the
407
-original copyright holder who places the Library under this License may add
408
-an explicit geographical distribution limitation excluding those countries,
409
-so that distribution is permitted only in or among countries not thus
410
-excluded.  In such case, this License incorporates the limitation as if
411
-written in the body of this License.
412
-
413
-  13. The Free Software Foundation may publish revised and/or new
414
-versions of the Lesser General Public License from time to time.
415
-Such new versions will be similar in spirit to the present version,
416
-but may differ in detail to address new problems or concerns.
417
-
418
-Each version is given a distinguishing version number.  If the Library
419
-specifies a version number of this License which applies to it and
420
-"any later version", you have the option of following the terms and
421
-conditions either of that version or of any later version published by
422
-the Free Software Foundation.  If the Library does not specify a
423
-license version number, you may choose any version ever published by
424
-the Free Software Foundation.
425
-
426
-  14. If you wish to incorporate parts of the Library into other free
427
-programs whose distribution conditions are incompatible with these,
428
-write to the author to ask for permission.  For software which is
429
-copyrighted by the Free Software Foundation, write to the Free
430
-Software Foundation; we sometimes make exceptions for this.  Our
431
-decision will be guided by the two goals of preserving the free status
432
-of all derivatives of our free software and of promoting the sharing
433
-and reuse of software generally.
434
-
435
-          NO WARRANTY
436
-
437
-  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444
-LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446
-
447
-  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456
-DAMAGES.
457
-
458
-         END OF TERMS AND CONDITIONS
459
-
460
-           How to Apply These Terms to Your New Libraries
461
-
462
-  If you develop a new library, and you want it to be of the greatest
463
-possible use to the public, we recommend making it free software that
464
-everyone can redistribute and change.  You can do so by permitting
465
-redistribution under these terms (or, alternatively, under the terms of the
466
-ordinary General Public License).
467
-
468
-  To apply these terms, attach the following notices to the library.  It is
469
-safest to attach them to the start of each source file to most effectively
470
-convey the exclusion of warranty; and each file should have at least the
471
-"copyright" line and a pointer to where the full notice is found.
472
-
473
-    <one line to give the library's name and a brief idea of what it does.>
474
-    Copyright (C) <year>  <name of author>
475
-
476
-    This library is free software; you can redistribute it and/or
477
-    modify it under the terms of the GNU Lesser General Public
478
-    License as published by the Free Software Foundation; either
479
-    version 2.1 of the License, or (at your option) any later version.
480
-
481
-    This library is distributed in the hope that it will be useful,
482
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
483
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
484
-    Lesser General Public License for more details.
485
-
486
-    You should have received a copy of the GNU Lesser General Public
487
-    License along with this library; if not, write to the Free Software
488
-    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
489
-
490
-Also add information on how to contact you by electronic and paper mail.
491
-
492
-You should also get your employer (if you work as a programmer) or your
493
-school, if any, to sign a "copyright disclaimer" for the library, if
494
-necessary.  Here is a sample; alter the names:
495
-
496
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the
497
-  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
498
-
499
-  <signature of Ty Coon>, 1 April 1990
500
-  Ty Coon, President of Vice
501
-
502
-That's all there is to it!
503
-
504
-

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/advlist/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.util.Tools"),s=function(t,e,n){var r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===n?null:{"list-style-type":n})},o=function(n){n.addCommand("ApplyUnorderedListStyle",function(t,e){s(n,"UL",e["list-style-type"])}),n.addCommand("ApplyOrderedListStyle",function(t,e){s(n,"OL",e["list-style-type"])})},e=function(t){var e=t.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");return e?e.split(/[ ,]/):[]},n=function(t){var e=t.getParam("advlist_bullet_styles","default,circle,disc,square");return e?e.split(/[ ,]/):[]},u=function(t){return t&&/^(TH|TD)$/.test(t.nodeName)},c=function(r){return function(t){return t&&/^(OL|UL|DL)$/.test(t.nodeName)&&(n=t,(e=r).$.contains(e.getBody(),n));var e,n}},d=function(t){var e=t.dom.getParent(t.selection.getNode(),"ol,ul");return t.dom.getStyle(e,"listStyleType")||""},p=function(t){return a.map(t,function(t){return{text:t.replace(/\-/g," ").replace(/\b\w/g,function(t){return t.toUpperCase()}),data:"default"===t?"":t}})},f=function(i,l){return function(t){var o=t.control;i.on("NodeChange",function(t){var e=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n;return-1}(t.parents,u),n=-1!==e?t.parents.slice(0,e):t.parents,r=a.grep(n,c(i));o.active(0<r.length&&r[0].nodeName===l)})}},m=function(e,t,n,r,o,i){var l;e.addButton(t,{active:!1,type:"splitbutton",tooltip:n,menu:p(i),onPostRender:f(e,o),onshow:(l=e,function(t){var e=d(l);t.control.items().each(function(t){t.active(t.settings.data===e)})}),onselect:function(t){s(e,o,t.control.settings.data)},onclick:function(){e.execCommand(r)}})},r=function(t,e,n,r,o,i){var l,a,s,u,c;0<i.length?m(t,e,n,r,o,i):(a=e,s=n,u=r,c=o,(l=t).addButton(a,{active:!1,type:"button",tooltip:s,onPostRender:f(l,c),onclick:function(){l.execCommand(u)}}))},i=function(t){r(t,"numlist","Numbered list","InsertOrderedList","OL",e(t)),r(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))};t.add("advlist",function(t){var e,n,r;n="lists",r=(e=t).settings.plugins?e.settings.plugins:"",-1!==a.inArray(r.split(/[ ,]/),n)&&(i(t),o(t))})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/anchor/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(t){return/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)},e=function(t){var e=t.selection.getNode();return"A"===e.tagName&&""===t.dom.getAttrib(e,"href")?e.id||e.name:""},i=function(t,e){var n=t.selection.getNode();"A"===n.tagName&&""===t.dom.getAttrib(n,"href")?(n.removeAttribute("name"),n.id=e,t.undoManager.add()):(t.focus(),t.selection.collapse(!0),t.execCommand("mceInsertContent",!1,t.dom.createHTML("a",{id:e})))},n=function(r){var t=e(r);r.windowManager.open({title:"Anchor",body:{type:"textbox",name:"id",size:40,label:"Id",value:t},onsubmit:function(t){var e,n,o=t.data.id;e=r,(a(n=o)?(i(e,n),0):(e.windowManager.alert("Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),1))&&t.preventDefault()}})},o=function(t){t.addCommand("mceAnchor",function(){n(t)})},r=function(o){return function(t){for(var e=0;e<t.length;e++)(n=t[e]).attr("href")||!n.attr("id")&&!n.attr("name")||n.firstChild||t[e].attr("contenteditable",o);var n}},c=function(t){t.on("PreInit",function(){t.parser.addNodeFilter("a",r("false")),t.serializer.addNodeFilter("a",r(null))})},d=function(t){t.addButton("anchor",{icon:"anchor",tooltip:"Anchor",cmd:"mceAnchor",stateSelector:"a:not([href])"}),t.addMenuItem("anchor",{icon:"anchor",text:"Anchor",context:"insert",cmd:"mceAnchor"})};t.add("anchor",function(t){c(t),o(t),d(t)})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/autolink/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=tinymce.util.Tools.resolve("tinymce.Env"),m=function(e){return e.getParam("autolink_pattern",/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i)},y=function(e){return e.getParam("default_link_target","")},o=function(e,t){if(t<0&&(t=0),3===e.nodeType){var n=e.data.length;n<t&&(t=n)}return t},k=function(e,t,n){1!==t.nodeType||t.hasChildNodes()?e.setStart(t,o(t,n)):e.setStartBefore(t)},p=function(e,t,n){1!==t.nodeType||t.hasChildNodes()?e.setEnd(t,o(t,n)):e.setEndAfter(t)},r=function(e,t,n){var i,o,r,a,f,s,d,l,c,u,g=m(e),h=y(e);if("A"!==e.selection.getNode().tagName){if((i=e.selection.getRng(!0).cloneRange()).startOffset<5){if(!(l=i.endContainer.previousSibling)){if(!i.endContainer.firstChild||!i.endContainer.firstChild.nextSibling)return;l=i.endContainer.firstChild.nextSibling}if(c=l.length,k(i,l,c),p(i,l,c),i.endOffset<5)return;o=i.endOffset,a=l}else{if(3!==(a=i.endContainer).nodeType&&a.firstChild){for(;3!==a.nodeType&&a.firstChild;)a=a.firstChild;3===a.nodeType&&(k(i,a,0),p(i,a,a.nodeValue.length))}o=1===i.endOffset?2:i.endOffset-1-t}for(r=o;k(i,a,2<=o?o-2:0),p(i,a,1<=o?o-1:0),o-=1," "!==(u=i.toString())&&""!==u&&160!==u.charCodeAt(0)&&0<=o-2&&u!==n;);var C;(C=i.toString())===n||" "===C||160===C.charCodeAt(0)?(k(i,a,o),p(i,a,r),o+=1):(0===i.startOffset?k(i,a,0):k(i,a,o),p(i,a,r)),"."===(s=i.toString()).charAt(s.length-1)&&p(i,a,r-1),(d=(s=i.toString().trim()).match(g))&&("www."===d[1]?d[1]="http://www.":/@$/.test(d[1])&&!/^mailto:/.test(d[1])&&(d[1]="mailto:"+d[1]),f=e.selection.getBookmark(),e.selection.setRng(i),e.execCommand("createlink",!1,d[1]+d[2]),h&&e.dom.setAttrib(e.selection.getNode(),"target",h),e.selection.moveToBookmark(f),e.nodeChanged())}},t=function(t){var n;t.on("keydown",function(e){13!==e.keyCode||r(t,-1,"")}),i.ie?t.on("focus",function(){if(!n){n=!0;try{t.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}}):(t.on("keypress",function(e){41!==e.keyCode||r(t,-1,"(")}),t.on("keyup",function(e){32!==e.keyCode||r(t,0,"")}))};e.add("autolink",function(e){t(e)})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/autoresize/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var i=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return i(n())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),y=tinymce.util.Tools.resolve("tinymce.Env"),r=tinymce.util.Tools.resolve("tinymce.util.Delay"),h=function(t){return parseInt(t.getParam("autoresize_min_height",t.getElement().offsetHeight),10)},v=function(t){return parseInt(t.getParam("autoresize_max_height",0),10)},o=function(t){return t.getParam("autoresize_overflow_padding",1)},a=function(t){return t.getParam("autoresize_bottom_margin",50)},n=function(t){return t.getParam("autoresize_on_init",!0)},u=function(t,e,n,i,o){r.setEditorTimeout(t,function(){_(t,e),n--?u(t,e,n,i,o):o&&o()},i)},S=function(t,e){var n=t.getBody();n&&(n.style.overflowY=e?"":"hidden",e||(n.scrollTop=0))},_=function(t,e){var n,i,o,r,a,u,s,l,g,c,f,d=t.dom;if(i=t.getDoc())if((m=t).plugins.fullscreen&&m.plugins.fullscreen.isFullscreen())S(t,!0);else{var m;o=i.body,r=h(t),u=d.getStyle(o,"margin-top",!0),s=d.getStyle(o,"margin-bottom",!0),l=d.getStyle(o,"padding-top",!0),g=d.getStyle(o,"padding-bottom",!0),c=d.getStyle(o,"border-top-width",!0),f=d.getStyle(o,"border-bottom-width",!0),a=o.offsetHeight+parseInt(u,10)+parseInt(s,10)+parseInt(l,10)+parseInt(g,10)+parseInt(c,10)+parseInt(f,10),(isNaN(a)||a<=0)&&(a=y.ie?o.scrollHeight:y.webkit&&0===o.clientHeight?0:o.offsetHeight),a>h(t)&&(r=a);var p=v(t);p&&p<a?(r=p,S(t,!0)):S(t,!1),r!==e.get()&&(n=r-e.get(),d.setStyle(t.iframeElement,"height",r+"px"),e.set(r),y.webkit&&n<0&&_(t,e))}},s={setup:function(i,e){i.on("init",function(){var t,e,n=i.dom;t=o(i),e=a(i),!1!==t&&n.setStyles(i.getBody(),{paddingLeft:t,paddingRight:t}),!1!==e&&n.setStyles(i.getBody(),{paddingBottom:e})}),i.on("nodechange setcontent keyup FullscreenStateChanged",function(t){_(i,e)}),n(i)&&i.on("init",function(){u(i,e,20,100,function(){u(i,e,5,1e3)})})},resize:_},l=function(t,e){t.addCommand("mceAutoResize",function(){s.resize(t,e)})};t.add("autoresize",function(t){if(!t.inline){var e=i(0);l(t,e),s.setup(t,e)}})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/autosave/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var n=function(t){var e=t,r=function(){return e};return{get:r,set:function(t){e=t},clone:function(){return n(r())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),o=tinymce.util.Tools.resolve("tinymce.util.Tools"),r=function(t){return t.fire("RestoreDraft")},i=function(t){return t.fire("StoreDraft")},s=function(t){return t.fire("RemoveDraft")},e=function(t,e){return((t=/^(\d+)([ms]?)$/.exec(""+(t||e)))[2]?{s:1e3,m:6e4}[t[2]]:1)*parseInt(t,10)},u=function(t){return t.getParam("autosave_ask_before_unload",!0)},f=function(t){var e=t.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-");return e=(e=(e=(e=e.replace(/\{path\}/g,document.location.pathname)).replace(/\{query\}/g,document.location.search)).replace(/\{hash\}/g,document.location.hash)).replace(/\{id\}/g,t.id)},c=function(t){return e(t.settings.autosave_interval,"30s")},l=function(t){return e(t.settings.autosave_retention,"20m")},m=function(t,e){var r=t.settings.forced_root_block;return""===(e=o.trim(void 0===e?t.getBody().innerHTML:e))||new RegExp("^<"+r+"[^>]*>((\xa0|&nbsp;|[ \t]|<br[^>]*>)+?|)</"+r+">|<br>$","i").test(e)},v=function(t){var e=parseInt(a.getItem(f(t)+"time"),10)||0;return!((new Date).getTime()-e>l(t)&&(d(t,!1),1))},d=function(t,e){var r=f(t);a.removeItem(r+"draft"),a.removeItem(r+"time"),!1!==e&&s(t)},D=function(t){var e=f(t);!m(t)&&t.isDirty()&&(a.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),a.setItem(e+"time",(new Date).getTime().toString()),i(t))},g=function(t){var e=f(t);v(t)&&(t.setContent(a.getItem(e+"draft"),{format:"raw"}),r(t))},y={isEmpty:m,hasDraft:v,removeDraft:d,storeDraft:D,restoreDraft:g,startStoreDraft:function(t,e){var r=c(t);e.get()||(setInterval(function(){t.removed||D(t)},r),e.set(!0))},restoreLastDraft:function(t){t.undoManager.transact(function(){g(t),d(t)}),t.focus()}},p=function(e,r){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[r].concat(t))}},h=function(t){return{hasDraft:p(y.hasDraft,t),storeDraft:p(y.storeDraft,t),restoreDraft:p(y.restoreDraft,t),removeDraft:p(y.removeDraft,t),isEmpty:p(y.isEmpty,t)}},_=tinymce.util.Tools.resolve("tinymce.EditorManager");_._beforeUnloadHandler=function(){var e;return o.each(_.get(),function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&u(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))}),e};var b=function(t){window.onbeforeunload=_._beforeUnloadHandler},I=function(r,n){return function(t){var e=t.control;e.disabled(!y.hasDraft(r)),r.on("StoreDraft RestoreDraft RemoveDraft",function(){e.disabled(!y.hasDraft(r))}),y.startStoreDraft(r,n)}},w=function(t,e){t.addButton("restoredraft",{title:"Restore last draft",onclick:function(){y.restoreLastDraft(t)},onPostRender:I(t,e)}),t.addMenuItem("restoredraft",{text:"Restore last draft",onclick:function(){y.restoreLastDraft(t)},onPostRender:I(t,e),context:"file"})};t.add("autosave",function(t){var e=n(!1);return b(t),w(t,e),h(t)})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/bbcode/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var o=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.util.Tools"),e=function(e){e=t.trim(e);var o=function(o,t){e=e.replace(o,t)};return o(/<a.*?href=\"(.*?)\".*?>(.*?)<\/a>/gi,"[url=$1]$2[/url]"),o(/<font.*?color=\"(.*?)\".*?class=\"codeStyle\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),o(/<font.*?color=\"(.*?)\".*?class=\"quoteStyle\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),o(/<font.*?class=\"codeStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),o(/<font.*?class=\"quoteStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),o(/<span style=\"color: ?(.*?);\">(.*?)<\/span>/gi,"[color=$1]$2[/color]"),o(/<font.*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[color=$1]$2[/color]"),o(/<span style=\"font-size:(.*?);\">(.*?)<\/span>/gi,"[size=$1]$2[/size]"),o(/<font>(.*?)<\/font>/gi,"$1"),o(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]"),o(/<span class=\"codeStyle\">(.*?)<\/span>/gi,"[code]$1[/code]"),o(/<span class=\"quoteStyle\">(.*?)<\/span>/gi,"[quote]$1[/quote]"),o(/<strong class=\"codeStyle\">(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"),o(/<strong class=\"quoteStyle\">(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"),o(/<em class=\"codeStyle\">(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"),o(/<em class=\"quoteStyle\">(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"),o(/<u class=\"codeStyle\">(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"),o(/<u class=\"quoteStyle\">(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"),o(/<\/(strong|b)>/gi,"[/b]"),o(/<(strong|b)>/gi,"[b]"),o(/<\/(em|i)>/gi,"[/i]"),o(/<(em|i)>/gi,"[i]"),o(/<\/u>/gi,"[/u]"),o(/<span style=\"text-decoration: ?underline;\">(.*?)<\/span>/gi,"[u]$1[/u]"),o(/<u>/gi,"[u]"),o(/<blockquote[^>]*>/gi,"[quote]"),o(/<\/blockquote>/gi,"[/quote]"),o(/<br \/>/gi,"\n"),o(/<br\/>/gi,"\n"),o(/<br>/gi,"\n"),o(/<p>/gi,""),o(/<\/p>/gi,"\n"),o(/&nbsp;|\u00a0/gi," "),o(/&quot;/gi,'"'),o(/&lt;/gi,"<"),o(/&gt;/gi,">"),o(/&amp;/gi,"&"),e},i=function(e){e=t.trim(e);var o=function(o,t){e=e.replace(o,t)};return o(/\n/gi,"<br />"),o(/\[b\]/gi,"<strong>"),o(/\[\/b\]/gi,"</strong>"),o(/\[i\]/gi,"<em>"),o(/\[\/i\]/gi,"</em>"),o(/\[u\]/gi,"<u>"),o(/\[\/u\]/gi,"</u>"),o(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'<a href="$1">$2</a>'),o(/\[url\](.*?)\[\/url\]/gi,'<a href="$1">$1</a>'),o(/\[img\](.*?)\[\/img\]/gi,'<img src="$1" />'),o(/\[color=(.*?)\](.*?)\[\/color\]/gi,'<font color="$1">$2</font>'),o(/\[code\](.*?)\[\/code\]/gi,'<span class="codeStyle">$1</span>&nbsp;'),o(/\[quote.*?\](.*?)\[\/quote\]/gi,'<span class="quoteStyle">$1</span>&nbsp;'),e};o.add("bbcode",function(){return{init:function(o){o.on("beforeSetContent",function(o){o.content=i(o.content)}),o.on("postProcess",function(o){o.set&&(o.content=i(o.content)),o.get&&(o.content=e(o.content))})}}})}();

File diff suppressed because it is too large
+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/charmap/plugin.min.js


+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/code/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),o=function(t){return t.getParam("code_dialog_width",600)},i=function(t){return t.getParam("code_dialog_height",Math.min(n.DOM.getViewPort().h-200,500))},c=function(t,n){t.focus(),t.undoManager.transact(function(){t.setContent(n)}),t.selection.setCursorLocation(),t.nodeChanged()},d=function(t){return t.getContent({source_view:!0})},e=function(n){var t=o(n),e=i(n);n.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:t,minHeight:e,spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(t){c(n,t.data.code)}}).find("#code").value(d(n))},u=function(t){t.addCommand("mceCodeEditor",function(){e(t)})},a=function(t){t.addButton("code",{icon:"code",tooltip:"Source code",onclick:function(){e(t)}}),t.addMenuItem("code",{icon:"code",text:"Source code",onclick:function(){e(t)}})};t.add("code",function(t){return u(t),a(t),{}})}();

+ 0 - 138
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/codesample/css/prism.css View File

@@ -1,138 +0,0 @@
1
-/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
2
-/**
3
- * prism.js default theme for JavaScript, CSS and HTML
4
- * Based on dabblet (http://dabblet.com)
5
- * @author Lea Verou
6
- */
7
-
8
-code[class*="language-"],
9
-pre[class*="language-"] {
10
-  color: black;
11
-  text-shadow: 0 1px white;
12
-  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
13
-  direction: ltr;
14
-  text-align: left;
15
-  white-space: pre;
16
-  word-spacing: normal;
17
-  word-break: normal;
18
-  word-wrap: normal;
19
-  line-height: 1.5;
20
-
21
-  -moz-tab-size: 4;
22
-  -o-tab-size: 4;
23
-  tab-size: 4;
24
-
25
-  -webkit-hyphens: none;
26
-  -moz-hyphens: none;
27
-  -ms-hyphens: none;
28
-  hyphens: none;
29
-}
30
-
31
-pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
32
-code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
33
-  text-shadow: none;
34
-  background: #b3d4fc;
35
-}
36
-
37
-pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
38
-code[class*="language-"]::selection, code[class*="language-"] ::selection {
39
-  text-shadow: none;
40
-  background: #b3d4fc;
41
-}
42
-
43
-@media print {
44
-  code[class*="language-"],
45
-  pre[class*="language-"] {
46
-    text-shadow: none;
47
-  }
48
-}
49
-
50
-/* Code blocks */
51
-pre[class*="language-"] {
52
-  padding: 1em;
53
-  margin: .5em 0;
54
-  overflow: auto;
55
-}
56
-
57
-:not(pre) > code[class*="language-"],
58
-pre[class*="language-"] {
59
-  background: #f5f2f0;
60
-}
61
-
62
-/* Inline code */
63
-:not(pre) > code[class*="language-"] {
64
-  padding: .1em;
65
-  border-radius: .3em;
66
-}
67
-
68
-.token.comment,
69
-.token.prolog,
70
-.token.doctype,
71
-.token.cdata {
72
-  color: slategray;
73
-}
74
-
75
-.token.punctuation {
76
-  color: #999;
77
-}
78
-
79
-.namespace {
80
-  opacity: .7;
81
-}
82
-
83
-.token.property,
84
-.token.tag,
85
-.token.boolean,
86
-.token.number,
87
-.token.constant,
88
-.token.symbol,
89
-.token.deleted {
90
-  color: #905;
91
-}
92
-
93
-.token.selector,
94
-.token.attr-name,
95
-.token.string,
96
-.token.char,
97
-.token.builtin,
98
-.token.inserted {
99
-  color: #690;
100
-}
101
-
102
-.token.operator,
103
-.token.entity,
104
-.token.url,
105
-.language-css .token.string,
106
-.style .token.string {
107
-  color: #a67f59;
108
-  background: hsla(0, 0%, 100%, .5);
109
-}
110
-
111
-.token.atrule,
112
-.token.attr-value,
113
-.token.keyword {
114
-  color: #07a;
115
-}
116
-
117
-.token.function {
118
-  color: #DD4A68;
119
-}
120
-
121
-.token.regex,
122
-.token.important,
123
-.token.variable {
124
-  color: #e90;
125
-}
126
-
127
-.token.important,
128
-.token.bold {
129
-  font-weight: bold;
130
-}
131
-.token.italic {
132
-  font-style: italic;
133
-}
134
-
135
-.token.entity {
136
-  cursor: help;
137
-}
138
-

File diff suppressed because it is too large
+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/codesample/plugin.min.js


+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/colorpicker/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Color"),a=function(e,n){e.find("#preview")[0].getEl().style.background=n},o=function(e,n){var i=l(n),t=i.toRgb();e.fromJSON({r:t.r,g:t.g,b:t.b,hex:i.toHex().substr(1)}),a(e,i.toHex())},t=function(e,n,i){var t=e.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:i,onchange:function(){var e=this.rgb();t&&(t.find("#r").value(e.r),t.find("#g").value(e.g),t.find("#b").value(e.b),t.find("#hex").value(this.value().substr(1)),a(t,this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var e,n,i=t.find("colorpicker")[0];if(e=this.name(),n=this.value(),"hex"===e)return o(t,n="#"+n),void i.value(n);n={r:t.find("#r").value(),g:t.find("#g").value(),b:t.find("#b").value()},i.value(n),o(t,n)}},items:[{name:"r",label:"R",autofocus:1},{name:"g",label:"G"},{name:"b",label:"B"},{name:"hex",label:"#",value:"000000"},{name:"preview",type:"container",border:1}]}]},onSubmit:function(){n("#"+t.toJSON().hex)}});o(t,i)};e.add("colorpicker",function(i){i.settings.color_picker_callback||(i.settings.color_picker_callback=function(e,n){t(i,e,n)})})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/contextmenu/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var o=function(t){var n=t,e=function(){return n};return{get:e,set:function(t){n=t},clone:function(){return o(e())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(t){return{isContextMenuVisible:function(){return t.get()}}},r=function(t){return t.settings.contextmenu_never_use_native},u=function(t){return t.getParam("contextmenu","link openlink image inserttable | cell row column deletetable")},l=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),s=function(t){return l.DOM.select(t.settings.ui_container)[0]},a=function(t,n){return{x:t,y:n}},f=function(t,n,e){return a(t.x+n,t.y+e)},m=function(t,n){if(t&&"static"!==l.DOM.getStyle(t,"position",!0)){var e=l.DOM.getPos(t),o=e.x-t.scrollLeft,i=e.y-t.scrollTop;return f(n,-o,-i)}return f(n,0,0)},c=function(t,n){if(t.inline)return m(s(t),a((u=n).pageX,u.pageY));var e,o,i,r,u,c=(e=t.getContentAreaContainer(),o=a((r=n).clientX,r.clientY),i=l.DOM.getPos(e),f(o,i.x,i.y));return m(s(t),c)},g=tinymce.util.Tools.resolve("tinymce.ui.Factory"),v=tinymce.util.Tools.resolve("tinymce.util.Tools"),y=function(t,n,e,o){null===o.get()?o.set(function(e,n){var t,o,i=[];o=u(e),v.each(o.split(/[ ,]/),function(t){var n=e.menuItems[t];"|"===t&&(n={text:t}),n&&(n.shortcut="",i.push(n))});for(var r=0;r<i.length;r++)"|"===i[r].text&&(0!==r&&r!==i.length-1||i.splice(r,1));return(t=g.create("menu",{items:i,context:"contextmenu",classes:"contextmenu"})).uiContainer=s(e),t.renderTo(s(e)),t.on("hide",function(t){t.control===this&&n.set(!1)}),e.on("remove",function(){t.remove(),t=null}),t}(t,e)):o.get().show(),o.get().moveTo(n.x,n.y),e.set(!0)},x=function(e,o,i){e.on("contextmenu",function(t){var n;n=e,(!t.ctrlKey||r(n))&&(t.preventDefault(),y(e,c(e,t),o,i))})};t.add("contextmenu",function(t){var n=o(null),e=o(!1);return x(t,e,n),i(e)})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/directionality/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.Tools"),e=function(t,e){var i,n=t.dom,o=t.selection.getSelectedBlocks();o.length&&(i=n.getAttrib(o[0],"dir"),c.each(o,function(t){n.getParent(t.parentNode,'*[dir="'+e+'"]',n.getRoot())||n.setAttrib(t,"dir",i!==e?e:null)}),t.nodeChanged())},i=function(t){t.addCommand("mceDirectionLTR",function(){e(t,"ltr")}),t.addCommand("mceDirectionRTL",function(){e(t,"rtl")})},n=function(e){var i=[];return c.each("h1 h2 h3 h4 h5 h6 div p".split(" "),function(t){i.push(t+"[dir="+e+"]")}),i.join(",")},o=function(t){t.addButton("ltr",{title:"Left to right",cmd:"mceDirectionLTR",stateSelector:n("ltr")}),t.addButton("rtl",{title:"Right to left",cmd:"mceDirectionRTL",stateSelector:n("rtl")})};t.add("directionality",function(t){i(t),o(t)})}();

BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-cool.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-cry.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-embarassed.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-frown.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-innocent.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-kiss.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-laughing.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-money-mouth.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-sealed.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-smile.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-surprised.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-tongue-out.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-undecided.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-wink.gif View File


BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/img/smiley-yell.gif View File


+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/emoticons/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.util.Tools"),n=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]],i=function(i){var o;return o='<table role="list" class="mce-grid">',e.each(n,function(t){o+="<tr>",e.each(t,function(t){var e=i+"/img/smiley-"+t+".gif";o+='<td><a href="#" data-mce-url="'+e+'" data-mce-alt="'+t+'" tabindex="-1" role="option" aria-label="'+t+'"><img src="'+e+'" style="width: 18px; height: 18px" role="presentation" /></a></td>'}),o+="</tr>"}),o+="</table>"},o=function(a,t){var e=i(t);a.addButton("emoticons",{type:"panelbutton",panel:{role:"application",autohide:!0,html:e,onclick:function(t){var e,i,o,n=a.dom.getParent(t.target,"a");n&&(e=a,i=n.getAttribute("data-mce-url"),o=n.getAttribute("data-mce-alt"),e.insertContent(e.dom.createHTML("img",{src:i,alt:o})),this.hide())}},tooltip:"Emoticons"})};t.add("emoticons",function(t,e){o(t,e)})}();

File diff suppressed because it is too large
+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/fullpage/plugin.min.js


+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/fullscreen/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var i=function(e){var n=e,t=function(){return n};return{get:t,set:function(e){n=e},clone:function(){return i(t())}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return{isFullscreen:function(){return null!==e.get()}}},n=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),m=function(e,n){e.fire("FullscreenStateChanged",{state:n})},g=n.DOM,r=function(e,n){var t,r,l,i,o,c,s=document.body,u=document.documentElement,d=n.get(),a=function(){var e,n,t,i;g.setStyle(l,"height",(t=window,i=document.body,i.offsetWidth&&(e=i.offsetWidth,n=i.offsetHeight),t.innerWidth&&t.innerHeight&&(e=t.innerWidth,n=t.innerHeight),{w:e,h:n}).h-(r.clientHeight-l.clientHeight))},h=function(){g.unbind(window,"resize",a)};if(t=(r=e.getContainer()).style,i=(l=e.getContentAreaContainer().firstChild).style,d)i.width=d.iframeWidth,i.height=d.iframeHeight,d.containerWidth&&(t.width=d.containerWidth),d.containerHeight&&(t.height=d.containerHeight),g.removeClass(s,"mce-fullscreen"),g.removeClass(u,"mce-fullscreen"),g.removeClass(r,"mce-fullscreen"),o=d.scrollPos,window.scrollTo(o.x,o.y),g.unbind(window,"resize",d.resizeHandler),e.off("remove",d.removeHandler),n.set(null),m(e,!1);else{var f={scrollPos:(c=g.getViewPort(),{x:c.x,y:c.y}),containerWidth:t.width,containerHeight:t.height,iframeWidth:i.width,iframeHeight:i.height,resizeHandler:a,removeHandler:h};i.width=i.height="100%",t.width=t.height="",g.addClass(s,"mce-fullscreen"),g.addClass(u,"mce-fullscreen"),g.addClass(r,"mce-fullscreen"),g.bind(window,"resize",a),e.on("remove",h),a(),n.set(f),m(e,!0)}},l=function(e,n){e.addCommand("mceFullScreen",function(){r(e,n)})},o=function(t){return function(e){var n=e.control;t.on("FullscreenStateChanged",function(e){n.active(e.state)})}},c=function(e){e.addMenuItem("fullscreen",{text:"Fullscreen",shortcut:"Ctrl+Shift+F",selectable:!0,cmd:"mceFullScreen",onPostRender:o(e),context:"view"}),e.addButton("fullscreen",{active:!1,tooltip:"Fullscreen",cmd:"mceFullScreen",onPostRender:o(e)})};e.add("fullscreen",function(e){var n=i(null);return e.settings.inline||(l(e,n),c(e),e.addShortcut("Ctrl+Shift+F","","mceFullScreen")),t(n)})}();

BIN
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/help/img/logo.png View File


File diff suppressed because it is too large
+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/help/plugin.min.js


+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/hr/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(n){n.addCommand("InsertHorizontalRule",function(){n.execCommand("mceInsertContent",!1,"<hr />")})},o=function(n){n.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),n.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})};n.add("hr",function(n){t(n),o(n)})}();

File diff suppressed because it is too large
+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/image/plugin.min.js


File diff suppressed because it is too large
+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/imagetools/plugin.min.js


+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/importcss/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),d=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),v=tinymce.util.Tools.resolve("tinymce.EditorManager"),h=tinymce.util.Tools.resolve("tinymce.Env"),y=tinymce.util.Tools.resolve("tinymce.util.Tools"),o=function(e){return e.getParam("importcss_merge_classes")},n=function(e){return e.getParam("importcss_exclusive")},_=function(e){return e.getParam("importcss_selector_converter")},r=function(e){return e.getParam("importcss_selector_filter")},i=function(e){return e.getParam("importcss_groups")},u=function(e){return e.getParam("importcss_append")},l=function(e){return e.getParam("importcss_file_filter")},a=function(t){return"string"==typeof t?function(e){return-1!==e.indexOf(t)}:t instanceof RegExp?function(e){return t.test(e)}:t},f=function(f,e,m){var g=[],n={};function p(e,t){var n,r,i,c=e.href;if(r=c,i=h.cacheSuffix,"string"==typeof r&&(r=r.replace("?"+i,"").replace("&"+i,"")),(c=r)&&m(c,t)&&(o=c,u=(s=f).settings,!(l=!1!==u.skin&&(u.skin||"lightgray"))||o!==(u.skin_url?s.documentBaseURI.toAbsolute(u.skin_url):v.baseURL+"/skins/"+l)+"/content"+(s.inline?".inline":"")+".min.css")){var s,o,u,l;y.each(e.imports,function(e){p(e,!0)});try{n=e.cssRules||e.rules}catch(a){}y.each(n,function(e){e.styleSheet?p(e.styleSheet,!0):e.selectorText&&y.each(e.selectorText.split(","),function(e){g.push(y.trim(e))})})}}y.each(f.contentCSS,function(e){n[e]=!0}),m||(m=function(e,t){return t||n[e]});try{y.each(e.styleSheets,function(e){p(e)})}catch(t){}return g},x=function(e,t){var n,r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(r){var i=r[1],c=r[2].substr(1).split(".").join(" "),s=y.makeMap("a,img");return r[1]?(n={title:t},e.schema.getTextBlockElements()[i]?n.block=i:e.schema.getBlockElements()[i]||s[i.toLowerCase()]?n.selector=i:n.inline=i):r[2]&&(n={inline:"span",title:t.substr(1),classes:c}),!1!==o(e)?n.classes=c:n.attributes={"class":c},n}},T=function(e,t){return null===t||!1!==n(e)},c=x,t=function(h){h.on("renderFormatsMenu",function(e){var t,p={},c=a(r(h)),v=e.control,s=(t=i(h),y.map(t,function(e){return y.extend({},e,{original:e,selectors:{},filter:a(e.filter),item:{text:e.title,menu:[]}})})),o=function(e,t){if(f=e,g=p,!(T(h,m=t)?f in g:f in m.selectors)){u=e,a=p,T(h,l=t)?a[u]=!0:l.selectors[u]=!0;var n=(c=(i=h).plugins.importcss,s=e,((o=t)&&o.selector_converter?o.selector_converter:_(i)?_(i):function(){return x(i,s)}).call(c,s,o));if(n){var r=n.name||d.DOM.uniqueId();return h.formatter.register(r,n),y.extend({},v.settings.itemDefaults,{text:n.title,format:r})}}var i,c,s,o,u,l,a,f,m,g;return null};u(h)||v.items().remove(),y.each(f(h,e.doc||h.getDoc(),a(l(h))),function(n){if(-1===n.indexOf(".mce-")&&(!c||c(n))){var e=(r=s,i=n,y.grep(r,function(e){return!e.filter||e.filter(i)}));if(0<e.length)y.each(e,function(e){var t=o(n,e);t&&e.item.menu.push(t)});else{var t=o(n,null);t&&v.add(t)}}var r,i}),y.each(s,function(e){0<e.item.menu.length&&v.add(e.item)}),e.control.renderNew()})},s=function(t){return{convertSelectorToFormat:function(e){return c(t,e)}}};e.add("importcss",function(e){return t(e),s(e)})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/insertdatetime/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var r=function(e){var t=e,n=function(){return t};return{get:n,set:function(e){t=e},clone:function(){return r(n())}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))},a=function(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])},t=function(e){return e.getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d"))},i=n,o=a,u=function(e){var t=a(e);return 0<t.length?t[0]:n(e)},m=function(e){return e.getParam("insertdatetime_element",!1)},c="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),s="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),d="January February March April May June July August September October November December".split(" "),p=function(e,t){if((e=""+e).length<t)for(var n=0;n<t-e.length;n++)e="0"+e;return e},f=function(e,t,n){return n=n||new Date,t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",p(n.getMonth()+1,2))).replace("%d",p(n.getDate(),2))).replace("%H",""+p(n.getHours(),2))).replace("%M",""+p(n.getMinutes(),2))).replace("%S",""+p(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(d[n.getMonth()]))).replace("%b",""+e.translate(s[n.getMonth()]))).replace("%A",""+e.translate(l[n.getDay()]))).replace("%a",""+e.translate(c[n.getDay()]))).replace("%%","%")},g=function(e,t){if(m(e)){var n=f(e,t),r=void 0;r=/%[HMSIp]/.test(t)?f(e,"%Y-%m-%dT%H:%M"):f(e,"%Y-%m-%d");var a=e.dom.getParent(e.selection.getStart(),"time");a?(o=a,u=r,c=n,l=(i=e).dom.create("time",{datetime:u},c),o.parentNode.insertBefore(l,o),i.dom.remove(o),i.selection.select(l,!0),i.selection.collapse(!1)):e.insertContent('<time datetime="'+r+'">'+n+"</time>")}else e.insertContent(f(e,t));var i,o,u,c,l},y=f,M=function(e){e.addCommand("mceInsertDate",function(){g(e,t(e))}),e.addCommand("mceInsertTime",function(){g(e,i(e))})},v=tinymce.util.Tools.resolve("tinymce.util.Tools"),S=function(t,n){var r,a,e,i=(a=n,e=o(r=t),v.map(e,function(e){return{text:y(r,e),onclick:function(){a.set(e),g(r,e)}}}));t.addButton("insertdatetime",{type:"splitbutton",title:"Insert date/time",menu:i,onclick:function(){var e=n.get();g(t,e||u(t))}}),t.addMenuItem("insertdatetime",{icon:"date",text:"Date/time",menu:i,context:"insert"})};e.add("insertdatetime",function(e){var t=r(null);M(e),S(e,t)})}();

+ 0 - 1
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/legacyoutput/plugin.min.js View File

@@ -1 +0,0 @@
1
-!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=tinymce.util.Tools.resolve("tinymce.util.Tools"),t=function(a){a.settings.inline_styles=!1,a.on("init",function(){var e,t,n,i;e=a,t="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",n=o.explode(e.settings.font_size_style_values),i=e.schema,e.formatter.register({alignleft:{selector:t,attributes:{align:"left"}},aligncenter:{selector:t,attributes:{align:"center"}},alignright:{selector:t,attributes:{align:"right"}},alignjustify:{selector:t,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all"},{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all"},{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all"},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all"},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",attributes:{face:"%value"}},fontsize:{inline:"font",attributes:{size:function(e){return o.inArray(n,e.value)+1}}},forecolor:{inline:"font",attributes:{color:"%value"}},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"}}}),o.each("b,i,u,strike".split(","),function(e){i.addValidElements(e+"[*]")}),i.getElementRule("font")||i.addValidElements("font[face|size|color|style]"),o.each(t.split(","),function(e){var t=i.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))})})},n=function(i){i.addButton("fontsizeselect",function(){var o=[],e=i.settings.fontsizeFormats||"8pt=1 10pt=2 12pt=3 14pt=4 18pt=5 24pt=6 36pt=7";return i.$.each(e.split(" "),function(e,t){var n=t,i=t,a=t.split("=");1<a.length&&(n=a[0],i=a[1]),o.push({text:n,value:i})}),{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:o,fixedWidth:!0,onPostRender:function(){var t=this;i.on("NodeChange",function(){var e;(e=i.dom.getParent(i.selection.getNode(),"font"))?t.value(e.size):t.value("")})},onclick:function(e){e.control.settings.value&&i.execCommand("FontSize",!1,e.control.settings.value)}}}),i.addButton("fontselect",function(){var n=[],e=function(e){for(var t=(e=e.replace(/;$/,"").split(";")).length;t--;)e[t]=e[t].split("=");return e}(i.settings.font_formats||"Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats");return i.$.each(e,function(e,t){n.push({text:{raw:t[0]},value:t[1],textStyle:-1===t[1].indexOf("dings")?"font-family:"+t[1]:""})}),{type:"listbox",text:"Font Family",tooltip:"Font Family",values:n,fixedWidth:!0,onPostRender:function(){var t=this;i.on("NodeChange",function(){var e;(e=i.dom.getParent(i.selection.getNode(),"font"))?t.value(e.face):t.value("")})},onselect:function(e){e.control.settings.value&&i.execCommand("FontName",!1,e.control.settings.value)}}})};e.add("legacyoutput",function(e){t(e),n(e)})}();

+ 0 - 0
frontend_app_html-document/dist/asset/tinymce/js/tinymce/plugins/link/plugin.min.js View File


Some files were not shown because too many files changed in this diff