Skip to content

Commit

Permalink
feat: init joomla5
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Dec 25, 2024
1 parent 6a65298 commit 5f5ce90
Show file tree
Hide file tree
Showing 853 changed files with 9,968 additions and 131,988 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
name: Generate component and upload as release asset
on:
release:
types: [ published ]
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
- name: Checkout code
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v2
- name: Build project
if: ${{ steps.release.outputs.release_created }}
run: |
mkdir -p build
rsync -ar com_plugnmeet/* build/
cd build
zip -X -r com_plugnmeet.zip *
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: com_plugnmeet
path: build/com_plugnmeet.zip
- name: Upload to release
uses: JasonEtco/upload-to-release@master
with:
args: build/com_plugnmeet.zip application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
zip -r com_plugnmeet.zip *
gh release upload ${{ steps.release.outputs.tag_name }} com_plugnmeet.zip
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
com_plugnmeet.zip
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.2.1"
}
Binary file removed JCB-file/JCB_plugnmeet.zip
Binary file not shown.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# plugNmeet-Joomla

Plug-N-Meet conference integration with Joomla. You can download latest version from [release page](https://github.com/mynaparrot/plugNmeet-Joomla/releases). This is a standard Joomla component which was built using [JCB](https://github.com/vdm-io/Joomla-Component-Builder).
Plug-N-Meet conference integration with Joomla. You can download latest version
from [release page](https://github.com/mynaparrot/plugNmeet-Joomla/releases). This is a standard Joomla component for
Joomla 5.

## Installation & configuration

Please follow this article: https://www.plugnmeet.org/docs/user-guide/joomla-integration
Please follow this article: https://www.plugnmeet.org/docs/user-guide/joomla-integration
38 changes: 38 additions & 0 deletions administrator/access.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<access component="com_plugnmeet">
<section name="component">
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN"/>
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE"/>
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE"/>
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE"/>
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT"/>
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_EDITSTATE"/>
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN"/>
</section>
<section name="category">
<action name="core.create" title="JACTION_CREATE" description="COM_CATEGORIES_ACCESS_CREATE_DESC"/>
<action name="core.delete" title="JACTION_DELETE" description="COM_CATEGORIES_ACCESS_DELETE_DESC"/>
<action name="core.edit" title="JACTION_EDIT" description="COM_CATEGORIES_ACCESS_EDIT_DESC"/>
<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CATEGORIES_ACCESS_EDITSTATE_DESC"/>
<action name="core.edit.own" title="JACTION_EDITOWN" description="COM_CATEGORIES_ACCESS_EDITOWN_DESC"/>
</section>
<section name="room">
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE"/>
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE"/>
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT"/>
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_EDITSTATE"/>
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN"/>
<action name="join.passwordless" title="COM_PLUGNMEET_ROOM_PASSLESS_JOIN"
description="COM_PLUGNMEET_ROOM_PASSLESS_JOIN_DESC"/>
<action name="join.admin" title="COM_PLUGNMEET_ROOM_JOIN_AS_ADMIN"
description="COM_PLUGNMEET_ROOM_JOIN_AS_ADMIN_DESC"/>
<action name="recording.view" title="COM_PLUGNMEET_ROOM_CAN_VIEW_RECORDINGS"
description="COM_PLUGNMEET_ROOM_CAN_VIEW_RECORDINGS_DESC"/>
<action name="recording.play" title="COM_PLUGNMEET_ROOM_CAN_PLAY_RECORDINGS"
description="COM_PLUGNMEET_ROOM_CAN_PLAY_RECORDINGS_DESC"/>
<action name="recording.download" title="COM_PLUGNMEET_ROOM_CAN_DOWNLOAD_RECORDINGS"
description="COM_PLUGNMEET_ROOM_CAN_DOWNLOAD_RECORDINGS_DESC"/>
<action name="recording.delete" title="COM_PLUGNMEET_ROOM_CAN_DELETE_RECORDINGS"
description="COM_PLUGNMEET_ROOM_CAN_DELETE_RECORDINGS_DESC"/>
</section>
</access>
68 changes: 68 additions & 0 deletions administrator/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<config>
<fieldset label="COM_PLUGNMEET" name="plugnmeet">
<field type="url"
name="plugnmeet_server_url"
label="COM_PLUGNMEET_CONFIG_PLUGNMEET_SERVER_URL_LABEL"
size="10"
maxlength="50"
default="https://demo.plugnmeet.com"
description="COM_PLUGNMEET_CONFIG_PLUGNMEET_SERVER_URL_DESCRIPTION"
class="text_area"
required="true"
relative="false"
filter="url"
validated="url"
scheme="http,https,ws,wss"
message="COM_PLUGNMEET_CONFIG_PLUGNMEET_SERVER_URL_MESSAGE"
autocomplete="on"/>
<field type="text"
name="plugnmeet_api_key"
label="COM_PLUGNMEET_CONFIG_PLUGNMEET_API_KEY_LABEL"
size="10"
maxlength="50"
default="plugnmeet"
description="COM_PLUGNMEET_CONFIG_PLUGNMEET_API_KEY_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="COM_PLUGNMEET_CONFIG_PLUGNMEET_API_KEY_MESSAGE"
autocomplete="on"/>
<field type="text"
name="plugnmeet_secret"
label="COM_PLUGNMEET_CONFIG_PLUGNMEET_SECRET_LABEL"
size="10"
maxlength="50"
default="zumyyYWqv7KR2kUqvYdq4z4sXg7XTBD2ljT6"
description="COM_PLUGNMEET_CONFIG_PLUGNMEET_SECRET_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="COM_PLUGNMEET_CONFIG_PLUGNMEET_SECRET_MESSAGE"
autocomplete="on"/>
</fieldset>

<fieldset name="permissions" description="JCONFIG_PERMISSIONS_DESC" label="JCONFIG_PERMISSIONS_LABEL">
<field name="rules" type="rules" component="com_plugnmeet" class="inputbox" filter="rules" validate="rules"
label="JCONFIG_PERMISSIONS_LABEL" section="component"/>
</fieldset>

<fieldset name="component">
<field
name="sef_ids"
type="radio"
layout="joomla.form.field.radio.switcher"
default="0"
label="JGLOBAL_SEF_NOIDS_LABEL"
description="JGLOBAL_SEF_NOIDS_DESC"
filter="integer"
>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
</fieldset>
</config>
57 changes: 57 additions & 0 deletions administrator/forms/filter_rooms.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<form>
<fields name="filter">
<field name="search" type="text" description="COM_PLUGNMEET_SEARCH_FILTER_SUBMIT"
label="COM_USERS_FILTER_SEARCH_DESC"
class="js-stools-search-string"/>
<field name="state"
type="status"
label="COM_PLUGNMEET_FILTER_STATE"
description="COM_PLUGNMEET_FILTER_STATE_DESC"
onchange="this.form.submit();">
<option value="">JOPTION_SELECT_PUBLISHED</option>
</field>
<field name="cat"
type="category"
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
description="JGLOBAL_CHOOSE_CATEGORY_DESC"
extension="com_plugnmeet.rooms"
published="1"
onchange="this.form.submit();">
<option value="">COM_PLUGNMEET_ROOMS_CAT_SELECT</option>
</field>
</fields>

<fields name="list">

<field name="fullordering"
type="list"
label="COM_PLUGNMEET_LIST_FULL_ORDERING"
description="COM_PLUGNMEET_LIST_FULL_ORDERING_DESC"
onchange="this.form.submit();"
default="a.id DESC"
>
<option value="">JGLOBAL_SORT_BY</option>
<option value="a.id ASC">COM_PLUGNMEET_ID_ASC</option>
<option value="a.id DESC">COM_PLUGNMEET_ID_DESC</option>
<option value="a.state ASC">COM_PLUGNMEET_STATE_ASC</option>
<option value="a.state DESC">COM_PLUGNMEET_STATE_DESC</option>
<option value="a.ordering ASC">COM_PLUGNMEET_ORDERING_ASC</option>
<option value="a.ordering DESC">COM_PLUGNMEET_ORDERING_DESC</option>
<option value="a.title ASC">COM_PLUGNMEET_TITLE_ASC</option>
<option value="a.title DESC">COM_PLUGNMEET_TITLE_DESC</option>

</field>

<field name="limit"
type="limitbox"
label="COM_PLUGNMEET_LIST_LIMIT"
description="COM_PLUGNMEET_LIST_LIMIT_DESC"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>

</fields>

</form>
Loading

0 comments on commit 5f5ce90

Please sign in to comment.