mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
Merge pull request #1305 from ether/master
Updating develop with 1.2.2 release
This commit is contained in:
commit
187ee21b8e
4 changed files with 59 additions and 4 deletions
19
CHANGELOG.md
19
CHANGELOG.md
|
@ -1,3 +1,22 @@
|
||||||
|
# 1.2.2
|
||||||
|
* More translations and better language support. See https://translatewiki.net/wiki/Translating:Etherpad_lite for more details
|
||||||
|
* Add a checkToken Method to the API
|
||||||
|
* Bugfix for Internal Caching issue that was causing some 404s on images.
|
||||||
|
* Bugfix for IE Import
|
||||||
|
* Bugfix for Node 0.6 compatibility
|
||||||
|
* Bugfix for multiple cookie support
|
||||||
|
* Bugfix for API when requireAuth is enabled.
|
||||||
|
* Plugin page now shows plugin version #
|
||||||
|
* Show color of Author in Chat messages
|
||||||
|
* Allow plugin search by description
|
||||||
|
* Allow for different socket IO transports
|
||||||
|
* Allow for custom favicon path
|
||||||
|
* Control S now does Create new Revision functionality
|
||||||
|
* Focus on password when required
|
||||||
|
* Frontend Timeslider test
|
||||||
|
* Allow for basic HTML etc. import without abiword
|
||||||
|
* Native HTTPS support
|
||||||
|
|
||||||
# 1.2.1
|
# 1.2.1
|
||||||
* Allow ! in urls inside the editor (Not Pad urls)
|
* Allow ! in urls inside the editor (Not Pad urls)
|
||||||
* Allow comments in language files
|
* Allow comments in language files
|
||||||
|
|
|
@ -60,9 +60,12 @@ Portal submits content into new blog post
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
### API version
|
||||||
|
The latest version is `1.2`
|
||||||
|
|
||||||
### Request Format
|
### Request Format
|
||||||
|
|
||||||
The API is accessible via HTTP. HTTP Requests are in the format /api/$APIVERSION/$FUNCTIONNAME. Parameters are transmitted via HTTP GET. $APIVERSION depends on the endpoints you want to use. The latest version is `1.1`
|
The API is accessible via HTTP. HTTP Requests are in the format /api/$APIVERSION/$FUNCTIONNAME. Parameters are transmitted via HTTP GET. $APIVERSION depends on the endpoints you want to use.
|
||||||
|
|
||||||
### Response Format
|
### Response Format
|
||||||
Responses are valid JSON in the following format:
|
Responses are valid JSON in the following format:
|
||||||
|
@ -409,7 +412,7 @@ sends a custom message of type `msg` to the pad
|
||||||
* `{code: 1, message:"padID does not exist", data: null}`
|
* `{code: 1, message:"padID does not exist", data: null}`
|
||||||
|
|
||||||
#### checkToken()
|
#### checkToken()
|
||||||
* API >= 1
|
* API >= 1.2
|
||||||
|
|
||||||
returns ok when api token is valid
|
returns ok when api token is valid
|
||||||
|
|
||||||
|
|
|
@ -68,9 +68,42 @@ var version =
|
||||||
, "isPasswordProtected" : ["padID"]
|
, "isPasswordProtected" : ["padID"]
|
||||||
, "listAuthorsOfPad" : ["padID"]
|
, "listAuthorsOfPad" : ["padID"]
|
||||||
, "padUsersCount" : ["padID"]
|
, "padUsersCount" : ["padID"]
|
||||||
, "checkToken" : []
|
|
||||||
}
|
}
|
||||||
, "1.1":
|
, "1.1":
|
||||||
|
{ "createGroup" : []
|
||||||
|
, "createGroupIfNotExistsFor" : ["groupMapper"]
|
||||||
|
, "deleteGroup" : ["groupID"]
|
||||||
|
, "listPads" : ["groupID"]
|
||||||
|
, "createPad" : ["padID", "text"]
|
||||||
|
, "createGroupPad" : ["groupID", "padName", "text"]
|
||||||
|
, "createAuthor" : ["name"]
|
||||||
|
, "createAuthorIfNotExistsFor": ["authorMapper" , "name"]
|
||||||
|
, "listPadsOfAuthor" : ["authorID"]
|
||||||
|
, "createSession" : ["groupID", "authorID", "validUntil"]
|
||||||
|
, "deleteSession" : ["sessionID"]
|
||||||
|
, "getSessionInfo" : ["sessionID"]
|
||||||
|
, "listSessionsOfGroup" : ["groupID"]
|
||||||
|
, "listSessionsOfAuthor" : ["authorID"]
|
||||||
|
, "getText" : ["padID", "rev"]
|
||||||
|
, "setText" : ["padID", "text"]
|
||||||
|
, "getHTML" : ["padID", "rev"]
|
||||||
|
, "setHTML" : ["padID", "html"]
|
||||||
|
, "getRevisionsCount" : ["padID"]
|
||||||
|
, "getLastEdited" : ["padID"]
|
||||||
|
, "deletePad" : ["padID"]
|
||||||
|
, "getReadOnlyID" : ["padID"]
|
||||||
|
, "setPublicStatus" : ["padID", "publicStatus"]
|
||||||
|
, "getPublicStatus" : ["padID"]
|
||||||
|
, "setPassword" : ["padID", "password"]
|
||||||
|
, "isPasswordProtected" : ["padID"]
|
||||||
|
, "listAuthorsOfPad" : ["padID"]
|
||||||
|
, "padUsersCount" : ["padID"]
|
||||||
|
, "getAuthorName" : ["authorID"]
|
||||||
|
, "padUsers" : ["padID"]
|
||||||
|
, "sendClientsMessage" : ["padID", "msg"]
|
||||||
|
, "listAllGroups" : []
|
||||||
|
}
|
||||||
|
, "1.2":
|
||||||
{ "createGroup" : []
|
{ "createGroup" : []
|
||||||
, "createGroupIfNotExistsFor" : ["groupMapper"]
|
, "createGroupIfNotExistsFor" : ["groupMapper"]
|
||||||
, "deleteGroup" : ["groupID"]
|
, "deleteGroup" : ["groupID"]
|
||||||
|
|
|
@ -46,5 +46,5 @@
|
||||||
"engines" : { "node" : ">=0.6.0",
|
"engines" : { "node" : ">=0.6.0",
|
||||||
"npm" : ">=1.0"
|
"npm" : ">=1.0"
|
||||||
},
|
},
|
||||||
"version" : "1.2.1"
|
"version" : "1.2.2"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue