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">
<html>
<head>
<title>
REST API Plugin Changelog
</title>
<style
type=
"text/css"
>
BODY
{
font-size
:
100%
;
}
BODY
,
TD
,
TH
{
font-family
:
tahoma
,
verdana
,
arial
,
helvetica
,
sans-serif
;
font-size
:
0.8em
;
}
H2
{
font-size
:
10pt
;
font-weight
:
bold
;
padding-left
:
1em
;
}
A
:hover
{
text-decoration
:
none
;
}
H1
{
font-family
:
tahoma
,
arial
,
helvetica
,
sans-serif
;
font-size
:
1.4em
;
font-weight
:
bold
;
border-bottom
:
1px
#ccc
solid
;
padding-bottom
:
2px
;
}
TT
{
font-family
:
courier
new
;
font-weight
:
bold
;
color
:
#060
;
}
PRE
{
font-family
:
courier
new
;
font-size
:
100%
;
}
</style>
</head>
<body>
<h1>
REST API Plugin Changelog
</h1>
<p><b>
1.2.0
</b>
-- October 12, 2015
</p>
<ul>
<li>
[
<a
href=
'http://www.igniterealtime.org/issues/browse/OF-953'
>
OF-953
</a>
] - Updated JSP libraries.
</li>
<li>
Requires Openfire 3.11.0.
</li>
</ul>
<p><b>
1.1.7
</b>
-- November 13th, 2015
</p>
<ul>
<li>
Added: Provide the possibility to use a Custom Auth Filter
</li>
<li>
Fixed: Preflight request will be not blocked by Authentication
</li>
<li>
Added: Group names in ChatRoom Entity
</li>
</ul>
<p><b>
1.1.6
</b>
-- September 24th, 2015
</p>
<ul>
<li>
Added: Endpoints to add / remove a user from a user group
</li>
<li>
Fixed: Error response in JSON format
</li>
</ul>
<p><b>
1.1.5
</b>
-- September 1st, 2015
</p>
<ul>
<li>
Added: Send broadcast message to all online users
</li>
</ul>
<p><b>
1.1.4
</b>
-- August 19th, 2015
</p>
<ul>
<li>
Added: get concurrent sessions (local or cluster wide)
</li>
</ul>
<p><b>
1.1.3
</b>
-- August 15th, 2015
</p>
<ul>
<li>
Added: get count of users unread messages
</li>
</ul>
<p><b>
1.1.2
</b>
-- August 4th, 2015
</p>
<ul>
<li>
Added: CORS to all endpoints
</li>
</ul>
<p><b>
1.1.1
</b>
-- June 29th, 2015
</p>
<ul>
<li>
Added: new endpoint to close user sessions
</li>
</ul>
<p><b>
1.1.0
</b>
-- June 3rd, 2015
</p>
<ul>
<li>
Added: new endpoints for sessions (Get overview over all or specific user sessions)
</li>
</ul>
<p><b>
1.0.2
</b>
-- March 3rd, 2015
</p>
<ul>
<li>
User will be kicked by a lockout (ban)
</li>
<li>
Added: new endpoints for groups (Get overview over all or specific group and to create, update or delete a group)
</li>
</ul>
<p><b>
1.0.1
</b>
-- February 20th, 2015
</p>
<ul>
<li>
Added possibility to rename a user (Thanks to JustMarried plugin)
</li>
<li>
Adjusted HTTP Codes by conflict to HTTP CODE: 409
</li>
<li>
Added subject to Chat room
</li>
<li>
Disabled jersey logging on startup
</li>
<li>
By create a new chat room the chat room service will be created if it was not there
</li>
</ul>
<p><b>
1.0.0
</b>
-- February 3rd, 2015
</p>
<ul>
<li>
UserService plugin and MUC Service plugin are merged to the REST API plugin.
</li>
<li>
Extended REST API with JSON data format.
</li>
</ul>
<p><b>
0.1.0
</b>
-- November 14th, 2014
</p>
<ul>
<li>
Initial release of REST API Plugin with possibility to manage system properties.
</li>
</ul>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
REST API Plugin Changelog
</title>
<style
type=
"text/css"
>
BODY
{
font-size
:
100%
;
}
BODY
,
TD
,
TH
{
font-family
:
tahoma
,
verdana
,
arial
,
helvetica
,
sans-serif
;
font-size
:
0.8em
;
}
H2
{
font-size
:
10pt
;
font-weight
:
bold
;
padding-left
:
1em
;
}
A
:hover
{
text-decoration
:
none
;
}
H1
{
font-family
:
tahoma
,
arial
,
helvetica
,
sans-serif
;
font-size
:
1.4em
;
font-weight
:
bold
;
border-bottom
:
1px
#ccc
solid
;
padding-bottom
:
2px
;
}
TT
{
font-family
:
courier
new
;
font-weight
:
bold
;
color
:
#060
;
}
PRE
{
font-family
:
courier
new
;
font-size
:
100%
;
}
</style>
</head>
<body>
<h1>
REST API Plugin Changelog
</h1>
<p><b>
1.2.1
</b>
-- November 24th, 2015
</p>
<ul>
<li>
Fixed: Cluster issue by creating a new chat room
</li>
</ul>
<p><b>
1.2.0
</b>
-- October 12th, 2015
</p>
<ul>
<li>
[
<a
href=
'http://www.igniterealtime.org/issues/browse/OF-953'
>
OF-953
</a>
] - Updated JSP libraries.
</li>
<li>
Requires Openfire 3.11.0.
</li>
</ul>
<p><b>
1.1.7
</b>
-- November 13th, 2015
</p>
<ul>
<li>
Added: Provide the possibility to use a Custom Auth Filter
</li>
<li>
Fixed: Preflight request will be not blocked by Authentication
</li>
<li>
Added: Group names in ChatRoom Entity
</li>
</ul>
<p><b>
1.1.6
</b>
-- September 24th, 2015
</p>
<ul>
<li>
Added: Endpoints to add / remove a user from a user group
</li>
<li>
Fixed: Error response in JSON format
</li>
</ul>
<p><b>
1.1.5
</b>
-- September 1st, 2015
</p>
<ul>
<li>
Added: Send broadcast message to all online users
</li>
</ul>
<p><b>
1.1.4
</b>
-- August 19th, 2015
</p>
<ul>
<li>
Added: get concurrent sessions (local or cluster wide)
</li>
</ul>
<p><b>
1.1.3
</b>
-- August 15th, 2015
</p>
<ul>
<li>
Added: get count of users unread messages
</li>
</ul>
<p><b>
1.1.2
</b>
-- August 4th, 2015
</p>
<ul>
<li>
Added: CORS to all endpoints
</li>
</ul>
<p><b>
1.1.1
</b>
-- June 29th, 2015
</p>
<ul>
<li>
Added: new endpoint to close user sessions
</li>
</ul>
<p><b>
1.1.0
</b>
-- June 3rd, 2015
</p>
<ul>
<li>
Added: new endpoints for sessions (Get overview over all or specific user sessions)
</li>
</ul>
<p><b>
1.0.2
</b>
-- March 3rd, 2015
</p>
<ul>
<li>
User will be kicked by a lockout (ban)
</li>
<li>
Added: new endpoints for groups (Get overview over all or specific group and to create, update or delete a group)
</li>
</ul>
<p><b>
1.0.1
</b>
-- February 20th, 2015
</p>
<ul>
<li>
Added possibility to rename a user (Thanks to JustMarried plugin)
</li>
<li>
Adjusted HTTP Codes by conflict to HTTP CODE: 409
</li>
<li>
Added subject to Chat room
</li>
<li>
Disabled jersey logging on startup
</li>
<li>
By create a new chat room the chat room service will be created if it was not there
</li>
</ul>
<p><b>
1.0.0
</b>
-- February 3rd, 2015
</p>
<ul>
<li>
UserService plugin and MUC Service plugin are merged to the REST API plugin.
</li>
<li>
Extended REST API with JSON data format.
</li>
</ul>
<p><b>
0.1.0
</b>
-- November 14th, 2014
</p>
<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"?>
<plugin>
<class>
org.jivesoftware.openfire.plugin.rest.RESTServicePlugin
</class>
<name>
REST API
</name>
<description>
Allows administration over a RESTful API.
</description>
<author>
Roman Soldatow
</author>
<version>
1.2.
0
</version>
<date>
1
0/12/2015
</date>
<minServerVersion>
3.1
1.0 alpha
</minServerVersion>
<adminconsole>
<tab
id=
"tab-server"
>
<sidebar
id=
"sidebar-server-settings"
>
<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"
/>
</sidebar>
</tab>
</adminconsole>
</plugin>
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
<class>
org.jivesoftware.openfire.plugin.rest.RESTServicePlugin
</class>
<name>
REST API
</name>
<description>
Allows administration over a RESTful API.
</description>
<author>
Roman Soldatow
</author>
<version>
1.2.
1
</version>
<date>
1
1/24/2015
</date>
<minServerVersion>
3.1
0.0
</minServerVersion>
<adminconsole>
<tab
id=
"tab-server"
>
<sidebar
id=
"sidebar-server-settings"
>
<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"
/>
</sidebar>
</tab>
</adminconsole>
</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