Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
7018ba41
Commit
7018ba41
authored
Nov 24, 2015
by
daryl herzmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #409 from Redor/plugins
Update REST API plugin to 1.2.1
parents
82e13c81
19c5198d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
702 additions
and
688 deletions
+702
-688
changelog.html
src/plugins/restAPI/changelog.html
+127
-122
plugin.xml
src/plugins/restAPI/plugin.xml
+20
-20
MUCRoomController.java
...re/openfire/plugin/rest/controller/MUCRoomController.java
+555
-546
No files found.
src/plugins/restAPI/changelog.html
View file @
7018ba41
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<html>
<head>
<head>
<title>
REST API Plugin Changelog
</title>
<title>
REST API Plugin Changelog
</title>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
BODY
{
BODY
{
font-size
:
100%
;
font-size
:
100%
;
}
}
BODY
,
TD
,
TH
{
BODY
,
TD
,
TH
{
font-family
:
tahoma
,
verdana
,
arial
,
helvetica
,
sans-serif
;
font-family
:
tahoma
,
verdana
,
arial
,
helvetica
,
sans-serif
;
font-size
:
0.8em
;
font-size
:
0.8em
;
}
}
H2
{
H2
{
font-size
:
10pt
;
font-size
:
10pt
;
font-weight
:
bold
;
font-weight
:
bold
;
padding-left
:
1em
;
padding-left
:
1em
;
}
}
A
:hover
{
A
:hover
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
H1
{
H1
{
font-family
:
tahoma
,
arial
,
helvetica
,
sans-serif
;
font-family
:
tahoma
,
arial
,
helvetica
,
sans-serif
;
font-size
:
1.4em
;
font-size
:
1.4em
;
font-weight
:
bold
;
font-weight
:
bold
;
border-bottom
:
1px
#ccc
solid
;
border-bottom
:
1px
#ccc
solid
;
padding-bottom
:
2px
;
padding-bottom
:
2px
;
}
}
TT
{
TT
{
font-family
:
courier
new
;
font-family
:
courier
new
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#060
;
color
:
#060
;
}
}
PRE
{
PRE
{
font-family
:
courier
new
;
font-family
:
courier
new
;
font-size
:
100%
;
font-size
:
100%
;
}
}
</style>
</style>
</head>
</head>
<body>
<body>
<h1>
<h1>
REST API Plugin Changelog
REST API Plugin Changelog
</h1>
</h1>
<p><b>
1.2.0
</b>
-- October 12, 2015
</p>
<p><b>
1.2.1
</b>
-- November 24th, 2015
</p>
<ul>
<ul>
<li>
[
<a
href=
'http://www.igniterealtime.org/issues/browse/OF-953'
>
OF-953
</a>
] - Updated JSP libraries.
</li>
<li>
Fixed: Cluster issue by creating a new chat room
</li>
<li>
Requires Openfire 3.11.0.
</li>
</ul>
</ul>
<p><b>
1.2.0
</b>
-- October 12th, 2015
</p>
<p><b>
1.1.7
</b>
-- November 13th, 2015
</p>
<ul>
<ul>
<li>
[
<a
href=
'http://www.igniterealtime.org/issues/browse/OF-953'
>
OF-953
</a>
] - Updated JSP libraries.
</li>
<li>
Added: Provide the possibility to use a Custom Auth Filter
</li>
<li>
Requires Openfire 3.11.0.
</li>
<li>
Fixed: Preflight request will be not blocked by Authentication
</li>
</ul>
<li>
Added: Group names in ChatRoom Entity
</li>
</ul>
<p><b>
1.1.7
</b>
-- November 13th, 2015
</p>
<p><b>
1.1.6
</b>
-- September 24th, 2015
</p>
<ul>
<ul>
<li>
Added: Provide the possibility to use a Custom Auth Filter
</li>
<li>
Added: Endpoints to add / remove a user from a user group
</li>
<li>
Fixed: Preflight request will be not blocked by Authentication
</li>
<li>
Fixed: Error response in JSON format
</li>
<li>
Added: Group names in ChatRoom Entity
</li>
</ul>
</ul>
<p><b>
1.1.6
</b>
-- September 24th, 2015
</p>
<p><b>
1.1.5
</b>
-- September 1st, 2015
</p>
<ul>
<ul>
<li>
Added: Endpoints to add / remove a user from a user group
</li>
<li>
Added: Send broadcast message to all online users
</li>
<li>
Fixed: Error response in JSON format
</li>
</ul>
</ul>
<p><b>
1.1.4
</b>
-- August 19th, 2015
</p>
<p><b>
1.1.5
</b>
-- September 1st, 2015
</p>
<ul>
<ul>
<li>
Added: get concurrent sessions (local or cluster wide)
</li>
<li>
Added: Send broadcast message to all online users
</li>
</ul>
</ul>
<p><b>
1.1.3
</b>
-- August 15th, 2015
</p>
<p><b>
1.1.4
</b>
-- August 19th, 2015
</p>
<ul>
<ul>
<li>
Added: get count of users unread messages
</li>
<li>
Added: get concurrent sessions (local or cluster wide)
</li>
</ul>
</ul>
<p><b>
1.1.2
</b>
-- August 4th, 2015
</p>
<p><b>
1.1.3
</b>
-- August 15th, 2015
</p>
<ul>
<ul>
<li>
Added: CORS to all endpoints
</li>
<li>
Added: get count of users unread messages
</li>
</ul>
</ul>
<p><b>
1.1.1
</b>
-- June 29th, 2015
</p>
<p><b>
1.1.2
</b>
-- August 4th, 2015
</p>
<ul>
<ul>
<li>
Added: new endpoint to close user sessions
</li>
<li>
Added: CORS to all endpoints
</li>
</ul>
</ul>
<p><b>
1.1.0
</b>
-- June 3rd, 2015
</p>
<p><b>
1.1.1
</b>
-- June 29th, 2015
</p>
<ul>
<ul>
<li>
Added: new endpoints for sessions (Get overview over all or specific user sessions)
</li>
<li>
Added: new endpoint to close user sessions
</li>
</ul>
</ul>
<p><b>
1.0.2
</b>
-- March 3rd, 2015
</p>
<p><b>
1.1.0
</b>
-- June 3rd, 2015
</p>
<ul>
<ul>
<li>
User will be kicked by a lockout (ban)
</li>
<li>
Added: new endpoints for sessions (Get overview over all or specific user sessions)
</li>
<li>
Added: new endpoints for groups (Get overview over all or specific group and to create, update or delete a group)
</li>
</ul>
</ul>
<p><b>
1.0.2
</b>
-- March 3rd, 2015
</p>
<p><b>
1.0.1
</b>
-- February 20th, 2015
</p>
<ul>
<ul>
<li>
User will be kicked by a lockout (ban)
</li>
<li>
Added possibility to rename a user (Thanks to JustMarried plugin)
</li>
<li>
Added: new endpoints for groups (Get overview over all or specific group and to create, update or delete a group)
</li>
<li>
Adjusted HTTP Codes by conflict to HTTP CODE: 409
</li>
</ul>
<li>
Added subject to Chat room
</li>
<li>
Disabled jersey logging on startup
</li>
<p><b>
1.0.1
</b>
-- February 20th, 2015
</p>
<li>
By create a new chat room the chat room service will be created if it was not there
</li>
<ul>
</ul>
<li>
Added possibility to rename a user (Thanks to JustMarried plugin)
</li>
<li>
Adjusted HTTP Codes by conflict to HTTP CODE: 409
</li>
<p><b>
1.0.0
</b>
-- February 3rd, 2015
</p>
<li>
Added subject to Chat room
</li>
<ul>
<li>
Disabled jersey logging on startup
</li>
<li>
UserService plugin and MUC Service plugin are merged to the REST API plugin.
</li>
<li>
By create a new chat room the chat room service will be created if it was not there
</li>
<li>
Extended REST API with JSON data format.
</li>
</ul>
</ul>
<p><b>
1.0.0
</b>
-- February 3rd, 2015
</p>
<p><b>
0.1.0
</b>
-- November 14th, 2014
</p>
<ul>
<ul>
<li>
UserService plugin and MUC Service plugin are merged to the REST API plugin.
</li>
<li>
Initial release of REST API Plugin with possibility to manage system properties.
</li>
<li>
Extended REST API with JSON data format.
</li>
</ul>
</ul>
</body>
<p><b>
0.1.0
</b>
-- November 14th, 2014
</p>
</html>
<ul>
<li>
Initial release of REST API Plugin with possibility to manage system properties.
</li>
</ul>
</body>
</html>
src/plugins/restAPI/plugin.xml
View file @
7018ba41
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
<plugin>
<class>
org.jivesoftware.openfire.plugin.rest.RESTServicePlugin
</class>
<class>
org.jivesoftware.openfire.plugin.rest.RESTServicePlugin
</class>
<name>
REST API
</name>
<name>
REST API
</name>
<description>
Allows administration over a RESTful API.
</description>
<description>
Allows administration over a RESTful API.
</description>
<author>
Roman Soldatow
</author>
<author>
Roman Soldatow
</author>
<version>
1.2.
0
</version>
<version>
1.2.
1
</version>
<date>
1
0/12/2015
</date>
<date>
1
1/24/2015
</date>
<minServerVersion>
3.1
1.0 alpha
</minServerVersion>
<minServerVersion>
3.1
0.0
</minServerVersion>
<adminconsole>
<adminconsole>
<tab
id=
"tab-server"
>
<tab
id=
"tab-server"
>
<sidebar
id=
"sidebar-server-settings"
>
<sidebar
id=
"sidebar-server-settings"
>
<item
id=
"rest-api"
name=
"REST API"
url=
"rest-api.jsp"
<item
id=
"rest-api"
name=
"REST API"
url=
"rest-api.jsp"
description=
"Click to manage the service that allows to configure the Openfire over a RESTFul API"
/>
description=
"Click to manage the service that allows to configure the Openfire over a RESTFul API"
/>
</sidebar>
</sidebar>
</tab>
</tab>
</adminconsole>
</adminconsole>
</plugin>
</plugin>
src/plugins/restAPI/src/java/org/jivesoftware/openfire/plugin/rest/controller/MUCRoomController.java
View file @
7018ba41
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment