Browse Source

Update copyright

JC Brand 5 năm trước cách đây
mục cha
commit
11e219dd41
48 tập tin đã thay đổi với 106 bổ sung191 xóa
  1. 1 1
      src/converse-autocomplete.js
  2. 3 8
      src/converse-bookmark-views.js
  3. 2 6
      src/converse-chatboxviews.js
  4. 2 6
      src/converse-chatview.js
  5. 2 6
      src/converse-controlbox.js
  6. 2 6
      src/converse-dragresize.js
  7. 1 1
      src/converse-emoji-views.js
  8. 2 6
      src/converse-fullscreen.js
  9. 2 5
      src/converse-headlines-view.js
  10. 2 6
      src/converse-mam-views.js
  11. 2 5
      src/converse-message-view.js
  12. 2 5
      src/converse-minimize.js
  13. 1 1
      src/converse-modal.js
  14. 1 1
      src/converse-muc-views.js
  15. 2 6
      src/converse-notification.js
  16. 5 6
      src/converse-oauth.js
  17. 3 2
      src/converse-omemo.js
  18. 1 1
      src/converse-profile.js
  19. 2 5
      src/converse-push.js
  20. 2 6
      src/converse-register.js
  21. 2 5
      src/converse-roomslist.js
  22. 1 1
      src/converse-rosterview.js
  23. 2 5
      src/converse-uniview.js
  24. 5 6
      src/converse.js
  25. 1 1
      src/entry.js
  26. 2 6
      src/headless/converse-bookmarks.js
  27. 1 1
      src/headless/converse-bosh.js
  28. 2 5
      src/headless/converse-caps.js
  29. 5 0
      src/headless/converse-chat.js
  30. 2 5
      src/headless/converse-chatboxes.js
  31. 1 1
      src/headless/converse-core.js
  32. 1 1
      src/headless/converse-disco.js
  33. 2 5
      src/headless/converse-emoji.js
  34. 1 1
      src/headless/converse-headlines.js
  35. 3 8
      src/headless/converse-mam.js
  36. 1 1
      src/headless/converse-muc.js
  37. 2 5
      src/headless/converse-ping.js
  38. 1 1
      src/headless/converse-pubsub.js
  39. 1 1
      src/headless/converse-roster.js
  40. 1 1
      src/headless/converse-rsm.js
  41. 1 1
      src/headless/converse-smacks.js
  42. 1 1
      src/headless/converse-status.js
  43. 1 1
      src/headless/converse-vcard.js
  44. 6 8
      src/headless/i18n.js
  45. 5 8
      src/headless/utils/core.js
  46. 5 7
      src/headless/utils/form.js
  47. 5 8
      src/headless/utils/muc.js
  48. 5 8
      src/utils/html.js

+ 1 - 1
src/converse-autocomplete.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-autocomplete
  * @module converse-autocomplete
- * @copyright Lea Verou and the Converse.js developers
+ * @copyright Lea Verou and the Converse.js contributors
  * @description
  * @description
  *  Converse.js plugin which started as a fork of Lea Verou's Awesomplete
  *  Converse.js plugin which started as a fork of Lea Verou's Awesomplete
  *  https://leaverou.github.io/awesomplete/
  *  https://leaverou.github.io/awesomplete/

+ 3 - 8
src/converse-bookmark-views.js

@@ -1,13 +1,8 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-bookmark-views
  * @module converse-bookmark-views
- * @description
- * Converse.js plugin which adds views for XEP-0048 bookmarks
+ * @description Converse.js plugin which adds views for XEP-0048 bookmarks
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "@converse/headless/converse-muc";
 import "@converse/headless/converse-muc";
 import { Model } from 'skeletor.js/src/model.js';
 import { Model } from 'skeletor.js/src/model.js';

+ 2 - 6
src/converse-chatboxviews.js

@@ -1,11 +1,7 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2012-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
-
 /**
 /**
  * @module converse-chatboxviews
  * @module converse-chatboxviews
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "@converse/headless/converse-chatboxes";
 import "@converse/headless/converse-chatboxes";
 import { HTMLView } from 'skeletor.js/src/htmlview.js';
 import { HTMLView } from 'skeletor.js/src/htmlview.js';

+ 2 - 6
src/converse-chatview.js

@@ -1,11 +1,7 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
-
 /**
 /**
  * @module converse-chatview
  * @module converse-chatview
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "converse-chatboxviews";
 import "converse-chatboxviews";
 import "converse-message-view";
 import "converse-message-view";

+ 2 - 6
src/converse-controlbox.js

@@ -1,11 +1,7 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-controlbox
  * @module converse-controlbox
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "converse-chatview";
 import "converse-chatview";
 import "formdata-polyfill";
 import "formdata-polyfill";

+ 2 - 6
src/converse-dragresize.js

@@ -1,11 +1,7 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2012-2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-dragresize
  * @module converse-dragresize
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "converse-chatview";
 import "converse-chatview";
 import "converse-controlbox";
 import "converse-controlbox";

+ 1 - 1
src/converse-emoji-views.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-emoji-views
  * @module converse-emoji-views
- * @copyright 2013-2019, the Converse.js developers
+ * @copyright 2020, the Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 
 

+ 2 - 6
src/converse-fullscreen.js

@@ -1,11 +1,7 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) JC Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-fullscreen
  * @module converse-fullscreen
+ * @license Mozilla Public License (MPLv2)
+ * @copyright 2020, the Converse.js contributors
  */
  */
 import "@converse/headless/converse-muc";
 import "@converse/headless/converse-muc";
 import "converse-chatview";
 import "converse-chatview";

+ 2 - 5
src/converse-headlines-view.js

@@ -1,10 +1,7 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-headlines-view
  * @module converse-headlines-view
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "converse-chatview";
 import "converse-chatview";
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";

+ 2 - 6
src/converse-mam-views.js

@@ -1,13 +1,9 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2012-2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-mam-views
  * @module converse-mam-views
  * @description
  * @description
  * Views for XEP-0313 Message Archive Management
  * Views for XEP-0313 Message Archive Management
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";
 import { debounce } from 'lodash'
 import { debounce } from 'lodash'

+ 2 - 5
src/converse-message-view.js

@@ -1,10 +1,7 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-message-view
  * @module converse-message-view
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "./utils/html";
 import "./utils/html";
 import "@converse/headless/converse-emoji";
 import "@converse/headless/converse-emoji";

+ 2 - 5
src/converse-minimize.js

@@ -1,10 +1,7 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-minimize
  * @module converse-minimize
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "converse-chatview";
 import "converse-chatview";
 import { Model } from 'skeletor.js/src/model.js';
 import { Model } from 'skeletor.js/src/model.js';

+ 1 - 1
src/converse-modal.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-modal
  * @module converse-modal
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 import { HTMLView } from 'skeletor.js/src/htmlview.js';
 import { HTMLView } from 'skeletor.js/src/htmlview.js';

+ 1 - 1
src/converse-muc-views.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-muc-views
  * @module converse-muc-views
- * @copyright 2013-2019, the Converse.js developers
+ * @copyright 2020, the Converse.js contributors
  * @description XEP-0045 Multi-User Chat Views
  * @description XEP-0045 Multi-User Chat Views
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */

+ 2 - 6
src/converse-notification.js

@@ -1,11 +1,7 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, JC Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-notification
  * @module converse-notification
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";
 import { get } from "lodash";
 import { get } from "lodash";

+ 5 - 6
src/converse-oauth.js

@@ -1,9 +1,8 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
-
+/**
+ * @module converse-oauth
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
+ */
 import { Collection } from "skeletor.js/src/collection";
 import { Collection } from "skeletor.js/src/collection";
 import { Model } from 'skeletor.js/src/model.js';
 import { Model } from 'skeletor.js/src/model.js';
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";

+ 3 - 2
src/converse-omemo.js

@@ -1,9 +1,10 @@
-/* global libsignal, ArrayBuffer */
 /**
 /**
  * @module converse-omemo
  * @module converse-omemo
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
+/* global libsignal, ArrayBuffer */
+
 import "converse-profile";
 import "converse-profile";
 import { Collection } from "skeletor.js/src/collection";
 import { Collection } from "skeletor.js/src/collection";
 import { Model } from 'skeletor.js/src/model.js';
 import { Model } from 'skeletor.js/src/model.js';

+ 1 - 1
src/converse-profile.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-profile
  * @module converse-profile
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 import "@converse/headless/converse-status";
 import "@converse/headless/converse-status";

+ 2 - 5
src/converse-push.js

@@ -1,13 +1,10 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-push
  * @module converse-push
  * @description
  * @description
  * Converse.js plugin which add support for registering
  * Converse.js plugin which add support for registering
  * an "App Server" as defined in  XEP-0357
  * an "App Server" as defined in  XEP-0357
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";
 import log from "@converse/headless/log";
 import log from "@converse/headless/log";

+ 2 - 6
src/converse-register.js

@@ -1,14 +1,10 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-register
  * @module converse-register
  * @description
  * @description
  * This is a Converse.js plugin which add support for in-band registration
  * This is a Converse.js plugin which add support for in-band registration
  * as specified in XEP-0077.
  * as specified in XEP-0077.
+ *   * @copyright 2020, the Converse.js contributors
+ *   * @license Mozilla Public License (MPLv2)
  */
  */
 import "converse-controlbox";
 import "converse-controlbox";
 import { View } from "skeletor.js/src/view";
 import { View } from "skeletor.js/src/view";

+ 2 - 5
src/converse-roomslist.js

@@ -1,13 +1,10 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-roomslist
  * @module converse-roomslist
  * @description
  * @description
  * Converse.js plugin which shows a list of currently open
  * Converse.js plugin which shows a list of currently open
  * rooms in the "Rooms Panel" of the ControlBox.
  * rooms in the "Rooms Panel" of the ControlBox.
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "@converse/headless/converse-muc";
 import "@converse/headless/converse-muc";
 import { Model } from 'skeletor.js/src/model.js';
 import { Model } from 'skeletor.js/src/model.js';

+ 1 - 1
src/converse-rosterview.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-rosterview
  * @module converse-rosterview
- * @copyright 2013-2019, the Converse.js developers
+ * @copyright 2020, the Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 import "@converse/headless/converse-chatboxes";
 import "@converse/headless/converse-chatboxes";

+ 2 - 5
src/converse-uniview.js

@@ -1,8 +1,3 @@
-// Converse.js
-// http://conversejs.org
-//
-// Copyright (c) 2013-2018, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-uniview
  * @module converse-uniview
  * @description
  * @description
@@ -12,6 +7,8 @@
  *
  *
  * This plugin makes sense in mobile, embedded or fullscreen chat environments
  * This plugin makes sense in mobile, embedded or fullscreen chat environments
  * (as configured by the `view_mode` setting).
  * (as configured by the `view_mode` setting).
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "converse-chatview";
 import "converse-chatview";
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";

+ 5 - 6
src/converse.js

@@ -1,9 +1,8 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2019, The Converse developers
-// Licensed under the Mozilla Public License (MPLv2)
-//
+/**
+ * @description Converse.js (A browser based XMPP chat client)
+ * @copyright 2020, The Converse developers
+ * @license Mozilla Public License (MPLv2)
+ */
 
 
 /* START: Removable components
 /* START: Removable components
  * --------------------
  * --------------------

+ 1 - 1
src/entry.js

@@ -1,7 +1,7 @@
 // Converse.js
 // Converse.js
 // https://conversejs.org
 // https://conversejs.org
 //
 //
-// Copyright (c) 2013-2019, the Converse.js developers
+// Copyright (c) 2020, the Converse.js contributors
 // Licensed under the Mozilla Public License (MPLv2)
 // Licensed under the Mozilla Public License (MPLv2)
 //
 //
 // Webpack entry file
 // Webpack entry file

+ 2 - 6
src/headless/converse-bookmarks.js

@@ -1,13 +1,9 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-bookmarks
  * @module converse-bookmarks
  * @description
  * @description
  * Converse.js plugin which adds views for bookmarks specified in XEP-0048.
  * Converse.js plugin which adds views for bookmarks specified in XEP-0048.
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "@converse/headless/converse-muc";
 import "@converse/headless/converse-muc";
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";

+ 1 - 1
src/headless/converse-bosh.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-bosh
  * @module converse-bosh
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  * @description Converse.js plugin which add support for XEP-0206: XMPP Over BOSH
  * @description Converse.js plugin which add support for XEP-0206: XMPP Over BOSH
  */
  */

+ 2 - 5
src/headless/converse-caps.js

@@ -1,10 +1,7 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-caps
  * @module converse-caps
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import SHA1 from 'strophe.js/src/sha1';
 import SHA1 from 'strophe.js/src/sha1';
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";

+ 5 - 0
src/headless/converse-chat.js

@@ -1,3 +1,8 @@
+/**
+ * @module converse-chat
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
+ */
 import { get, isObject, isString, pick } from "lodash";
 import { get, isObject, isString, pick } from "lodash";
 import { Collection } from "skeletor.js/src/collection";
 import { Collection } from "skeletor.js/src/collection";
 import { Model } from 'skeletor.js/src/model.js';
 import { Model } from 'skeletor.js/src/model.js';

+ 2 - 5
src/headless/converse-chatboxes.js

@@ -1,10 +1,7 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2012-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-chatboxes
  * @module converse-chatboxes
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "./converse-emoji";
 import "./converse-emoji";
 import { Collection } from "skeletor.js/src/collection";
 import { Collection } from "skeletor.js/src/collection";

+ 1 - 1
src/headless/converse-core.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-core
  * @module converse-core
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 import { __, i18n } from './i18n';
 import { __, i18n } from './i18n';

+ 1 - 1
src/headless/converse-disco.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-disco
  * @module converse-disco
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  * @description Converse plugin which add support for XEP-0030: Service Discovery
  * @description Converse plugin which add support for XEP-0030: Service Discovery
  */
  */

+ 2 - 5
src/headless/converse-emoji.js

@@ -1,10 +1,7 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2012-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-emoji
  * @module converse-emoji
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import { Model } from 'skeletor.js/src/model.js';
 import { Model } from 'skeletor.js/src/model.js';
 import * as twemoji from "twemoji";
 import * as twemoji from "twemoji";

+ 1 - 1
src/headless/converse-headlines.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-headlines
  * @module converse-headlines
- * @copyright 2013-2019, the Converse.js developers
+ * @copyright 2020, the Converse.js contributors
  * @description XEP-0045 Multi-User Chat Views
  * @description XEP-0045 Multi-User Chat Views
  */
  */
 import "converse-chatview";
 import "converse-chatview";

+ 3 - 8
src/headless/converse-mam.js

@@ -1,13 +1,8 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// Copyright (c) Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
 /**
 /**
  * @module converse-mam
  * @module converse-mam
- * @description
- * XEP-0313 Message Archive Management
+ * @description XEP-0313 Message Archive Management
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import "./converse-disco";
 import "./converse-disco";
 import "./converse-rsm";
 import "./converse-rsm";

+ 1 - 1
src/headless/converse-muc.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-muc
  * @module converse-muc
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  * @description Implements the non-view logic for XEP-0045 Multi-User Chat
  * @description Implements the non-view logic for XEP-0045 Multi-User Chat
  */
  */

+ 2 - 5
src/headless/converse-ping.js

@@ -1,13 +1,10 @@
-// Converse.js
-// https://conversejs.org
-//
-// Copyright (c) 2013-2019, the Converse.js developers
-// Licensed under the Mozilla Public License (MPLv2)
 /**
 /**
  * @module converse-ping
  * @module converse-ping
  * @description
  * @description
  * Converse.js plugin which add support for application-level pings
  * Converse.js plugin which add support for application-level pings
  * as specified in XEP-0199 XMPP Ping.
  * as specified in XEP-0199 XMPP Ping.
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
  */
  */
 import converse from "./converse-core";
 import converse from "./converse-core";
 import log from "./log";
 import log from "./log";

+ 1 - 1
src/headless/converse-pubsub.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-pubsub
  * @module converse-pubsub
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 import "./converse-disco";
 import "./converse-disco";

+ 1 - 1
src/headless/converse-roster.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-roster
  * @module converse-roster
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 import "@converse/headless/converse-status";
 import "@converse/headless/converse-status";

+ 1 - 1
src/headless/converse-rsm.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-rsm
  * @module converse-rsm
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  * @description XEP-0059 Result Set Management
  * @description XEP-0059 Result Set Management
  *   Some code taken from the Strophe RSM plugin, licensed under the MIT License
  *   Some code taken from the Strophe RSM plugin, licensed under the MIT License

+ 1 - 1
src/headless/converse-smacks.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-smacks
  * @module converse-smacks
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  * @description Converse.js plugin which adds support for XEP-0198: Stream Management
  * @description Converse.js plugin which adds support for XEP-0198: Stream Management
  */
  */

+ 1 - 1
src/headless/converse-status.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-status
  * @module converse-status
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 import { get, isNaN, isObject, isString } from "lodash";
 import { get, isNaN, isObject, isString } from "lodash";

+ 1 - 1
src/headless/converse-vcard.js

@@ -1,6 +1,6 @@
 /**
 /**
  * @module converse-vcard
  * @module converse-vcard
- * @copyright The Converse.js developers
+ * @copyright The Converse.js contributors
  * @license Mozilla Public License (MPLv2)
  * @license Mozilla Public License (MPLv2)
  */
  */
 import "./converse-status";
 import "./converse-status";

+ 6 - 8
src/headless/i18n.js

@@ -1,11 +1,9 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// This is the internationalization module.
-//
-// Copyright (c) 2013-2017, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
+/**
+ * @module i18n
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
+ * @description This is the internationalization module
+ */
 import Jed from "jed";
 import Jed from "jed";
 import dayjs from "dayjs";
 import dayjs from "dayjs";
 
 

+ 5 - 8
src/headless/utils/core.js

@@ -1,11 +1,8 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// This is the utilities module.
-//
-// Copyright (c) 2013-2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
+/**
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
+ * @description This is the core utilities module.
+ */
 import * as strophe from 'strophe.js/src/core';
 import * as strophe from 'strophe.js/src/core';
 import { Model } from 'skeletor.js/src/model.js';
 import { Model } from 'skeletor.js/src/model.js';
 import _ from "../lodash.noconflict";
 import _ from "../lodash.noconflict";

+ 5 - 7
src/headless/utils/form.js

@@ -1,10 +1,8 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// This is the utilities module.
-//
-// Copyright (c) 2013-2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
+/**
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
+ * @description This is the form utilities module.
+ */
 
 
 import _ from "../lodash.noconflict";
 import _ from "../lodash.noconflict";
 import tpl_field from "../templates/field.html";
 import tpl_field from "../templates/field.html";

+ 5 - 8
src/headless/utils/muc.js

@@ -1,11 +1,8 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// This is the utilities module.
-//
-// Copyright (c) 2013-2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-//
+/**
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
+ * @description This is the MUC utilities module.
+ */
 import { difference, indexOf } from "lodash";
 import { difference, indexOf } from "lodash";
 import converse from "@converse/headless/converse-core";
 import converse from "@converse/headless/converse-core";
 import u from "./core";
 import u from "./core";

+ 5 - 8
src/utils/html.js

@@ -1,11 +1,8 @@
-// Converse.js (A browser based XMPP chat client)
-// https://conversejs.org
-//
-// This is a form utilities module.
-//
-// Copyright (c) 2013-2019, Jan-Carel Brand <jc@opkode.com>
-// Licensed under the Mozilla Public License (MPLv2)
-
+/**
+ * @copyright 2020, the Converse.js contributors
+ * @license Mozilla Public License (MPLv2)
+ * @description This is the DOM/HTML utilities module.
+ */
 import URI from "urijs";
 import URI from "urijs";
 import _ from "../headless/lodash.noconflict";
 import _ from "../headless/lodash.noconflict";
 import log from '@converse/headless/log';
 import log from '@converse/headless/log';