Browse Source
Update XEP-0402 to urn:xmpp:bookmarks:1 and add xmpp:movim.eu/notifications:0 extension support
pull/978/head
Update XEP-0402 to urn:xmpp:bookmarks:1 and add xmpp:movim.eu/notifications:0 extension support
pull/978/head
18 changed files with 200 additions and 29 deletions
-
1CHANGELOG.md
-
33app/Conference.php
-
14app/widgets/Chat/Chat.php
-
9app/widgets/Chat/_chat_header.tpl
-
6app/widgets/Presence/Presence.php
-
5app/widgets/Rooms/_rooms_room.tpl
-
4app/widgets/Rooms/locales.ini
-
18app/widgets/RoomsUtils/RoomsUtils.php
-
16app/widgets/RoomsUtils/_rooms_add.tpl
-
32app/widgets/RoomsUtils/_rooms_drawer.tpl
-
28database/migrations/20200714184243_add_notify_and_extensions_to_conferences_table.php
-
28lib/moxl/src/Stanza/Bookmark2.php
-
1lib/moxl/src/Utils.php
-
3lib/moxl/src/Xec/Action/Bookmark2/Delete.php
-
10lib/moxl/src/Xec/Action/Bookmark2/Get.php
-
12lib/moxl/src/Xec/Action/Bookmark2/Set.php
-
3lib/moxl/src/Xec/Handler.php
-
6lib/moxl/src/Xec/Payload/Bookmark2.php
@ -0,0 +1,28 @@ |
|||
<?php |
|||
|
|||
use Movim\Migration; |
|||
use Illuminate\Database\Schema\Blueprint; |
|||
use App\Info; |
|||
|
|||
class AddNotifyAndExtensionsToConferencesTable extends Migration |
|||
{ |
|||
public function up() |
|||
{ |
|||
Info::truncate(); |
|||
|
|||
$this->schema->table('conferences', function (Blueprint $table) { |
|||
$table->text('extensions')->nullable(); |
|||
$table->integer('bookmarkversion')->default(0); |
|||
$table->integer('notify')->default(1); |
|||
}); |
|||
} |
|||
|
|||
public function down() |
|||
{ |
|||
$this->schema->table('conferences', function (Blueprint $table) { |
|||
$table->dropColumn('extensions'); |
|||
$table->dropColumn('bookmarkversion'); |
|||
$table->dropColumn('notify'); |
|||
}); |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue