Browse Source
Add basic support of XEP-0472: Pubsub Social Feed with Gallery view and toggle in the Communities
pull/1171/head
Add basic support of XEP-0472: Pubsub Social Feed with Gallery view and toggle in the Communities
pull/1171/head
10 changed files with 113 additions and 32 deletions
-
24app/Info.php
-
20app/helpers/UtilsHelper.php
-
2app/widgets/Blog/Blog.php
-
4app/widgets/CommunitiesServer/_communitiesserver.tpl
-
39app/widgets/CommunityConfig/_communityconfig.tpl
-
5app/widgets/CommunityConfig/locales.ini
-
6app/widgets/CommunityData/_communitydata_card.tpl
-
10app/widgets/CommunityPosts/CommunityPosts.php
-
21database/migrations/20230303224825_add_type_to_infos_table.php
-
14doap.xml
@ -0,0 +1,21 @@ |
|||
<?php |
|||
|
|||
use Movim\Migration; |
|||
use Illuminate\Database\Schema\Blueprint; |
|||
|
|||
class AddTypeToInfosTable extends Migration |
|||
{ |
|||
public function up() |
|||
{ |
|||
$this->schema->table('infos', function (Blueprint $table) { |
|||
$table->string('type', 256)->nullable()->index(); |
|||
}); |
|||
} |
|||
|
|||
public function down() |
|||
{ |
|||
$this->schema->table('infos', function (Blueprint $table) { |
|||
$table->dropColumn('type'); |
|||
}); |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue