From b34224559d8bffe3842d0f923b19cd699437204a Mon Sep 17 00:00:00 2001 From: Eric Schrijver Date: Fri, 23 Aug 2013 00:32:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=98Etherpad=20Lite=E2=80=99=20->=20?= =?UTF-8?q?=E2=80=98Etherpad=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 4 ++-- README.md | 4 ++-- bin/buildForWindows.sh | 2 +- bin/convert.js | 2 +- bin/installOnWindows.bat | 2 +- bin/loadTesting/README | 4 ++-- bin/run.sh | 6 +++--- doc/api/http_api.md | 8 ++++---- doc/custom_static.md | 2 +- doc/documentation.md | 2 +- doc/easysync/README.md | 2 +- doc/localization.md | 6 +++--- doc/plugins.md | 4 ++-- doc/template.html | 4 ++-- src/node/db/API.js | 2 +- src/node/hooks/express.js | 6 +++--- src/node/hooks/express/importexport.js | 2 +- src/node/hooks/express/swagger.js | 4 ++-- src/node/utils/Settings.js | 4 ++-- tests/frontend/travis/runner.sh | 2 +- 20 files changed, 36 insertions(+), 36 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 74aa8b3f4..4d8b4cb6c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ **Our goal is to iterate in small steps. Release often, release early. Evolution instead of a revolution** -## General goals of Etherpad Lite +## General goals of Etherpad To make sure everybody is going in the same direction: * easy to install for admins and easy to use for people * easy to integrate into other apps, but also usable as standalone @@ -65,4 +65,4 @@ Documentation should be kept up-to-date. This means, whenever you add a new API You can build the docs e.g. produce html, using `make docs`. At some point in the future we will provide an online documentation. The current documentation in the github wiki should always reflect the state of `master` (!), since there are no docs in master, yet. ## Testing -Front-end tests are found in the `tests/frontend/` folder in the repository. Run them by pointing your browser to `/tests/frontend`. \ No newline at end of file +Front-end tests are found in the `tests/frontend/` folder in the repository. Run them by pointing your browser to `/tests/frontend`. diff --git a/README.md b/README.md index f61ffa5bd..75340ff1c 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ You'll need gzip, git, curl, libssl develop libraries, python and gcc. Additionally, you'll need [node.js](http://nodejs.org) installed, Ideally the latest stable version, be careful of installing nodejs from apt. -**As any user (we recommend creating a separate user called etherpad-lite):** +**As any user (we recommend creating a separate user called etherpad):** -1. Move to a folder where you want to install Etherpad Lite. Clone the git repository `git clone git://github.com/ether/etherpad-lite.git` +1. Move to a folder where you want to install Etherpad. Clone the git repository `git clone git://github.com/ether/etherpad-lite.git` 2. Change into the new directory containing the cloned source code `cd etherpad-lite` Now, run `bin/run.sh` and open in your browser. diff --git a/bin/buildForWindows.sh b/bin/buildForWindows.sh index c67a3701c..a1e2c7570 100755 --- a/bin/buildForWindows.sh +++ b/bin/buildForWindows.sh @@ -67,4 +67,4 @@ mv etherpad-lite-win.zip $START_FOLDER echo "clean up..." rm -rf /tmp/etherpad-lite-win -echo "Finished. You can find the zip in the Etherpad Lite root folder, it's called etherpad-lite-win.zip" +echo "Finished. You can find the zip in the Etherpad root folder, it's called etherpad-lite-win.zip" diff --git a/bin/convert.js b/bin/convert.js index a2f3bdd45..202ef04e2 100644 --- a/bin/convert.js +++ b/bin/convert.js @@ -337,7 +337,7 @@ function convertPad(padId, callback) var oldName2newName = {}; //replace the authors with generated authors - // we need to do that cause etherpad saves pad local authors, etherpad lite uses them global + // we need to do that cause where the original etherpad saves pad local authors, the new (lite) etherpad uses them global for(var i in apool.numToAttrib) { var key = apool.numToAttrib[i][0]; diff --git a/bin/installOnWindows.bat b/bin/installOnWindows.bat index f56c79268..862230641 100644 --- a/bin/installOnWindows.bat +++ b/bin/installOnWindows.bat @@ -8,7 +8,7 @@ cmd /C node -e "" || ( echo "Please install node.js ( http://nodejs.org )" && ex echo _ echo Checking node version... -set check_version="if(['8','10'].indexOf(process.version.split('.')[1].toString()) === -1) { console.log('You are running a wrong version of Node. Etherpad Lite requires v0.8.x or v0.10.x'); process.exit(1) }" +set check_version="if(['8','10'].indexOf(process.version.split('.')[1].toString()) === -1) { console.log('You are running a wrong version of Node. Etherpad requires v0.8.x or v0.10.x'); process.exit(1) }" cmd /C node -e %check_version% || exit /B 1 echo _ diff --git a/bin/loadTesting/README b/bin/loadTesting/README index 2246f7ebc..2252b66c6 100644 --- a/bin/loadTesting/README +++ b/bin/loadTesting/README @@ -2,7 +2,7 @@ This is the new load testing file: https://bitbucket.org/rbraakman/etherpad-stre BELOW is the original load testing file. -This load tester is extremely useful for testing how many dormant clients can connect to etherpad lite. +This load tester is extremely useful for testing how many dormant clients can connect to etherpad. TODO: Emulate characters being typed into a pad @@ -10,7 +10,7 @@ Emulate characters being typed into a pad HOW TO USE (from @mjd75) proper formatting at: https://github.com/ether/etherpad-lite/issues/360 Server 1: -Installed Node.js (etc), EtherPad Lite and MySQL +Installed Node.js (etc), EtherPad and MySQL Server 2: Installed Xvfb and PhantomJS diff --git a/bin/run.sh b/bin/run.sh index 9389de6f7..c871f364e 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -18,10 +18,10 @@ done #Stop the script if its started as root if [ "$(id -u)" -eq 0 ] && [ $ignoreRoot -eq 0 ]; then - echo "You shouldn't start Etherpad-Lite as root!" - echo "Please type 'Etherpad Lite rocks my socks' or supply the '--root' argument if you still want to start it as root" + echo "You shouldn't start Etherpad as root!" + echo "Please type 'Etherpad rocks my socks' or supply the '--root' argument if you still want to start it as root" read rocks - if [ ! $rocks = "Etherpad Lite rocks my socks" ] + if [ ! $rocks = "Etherpad rocks my socks" ] then echo "Your input was incorrect" exit 1 diff --git a/doc/api/http_api.md b/doc/api/http_api.md index f71e0a5d0..5ed18f8c3 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -7,7 +7,7 @@ The API gives another web application control of the pads. The basic functions a * grant/forbid access to pads * get/set pad content -The API is designed in a way, so you can reuse your existing user system with their permissions, and map it to etherpad lite. Means: Your web application still has to do authentication, but you can tell etherpad lite via the api, which visitors should get which permissions. This allows etherpad lite to fit into any web application and extend it with real-time functionality. You can embed the pads via an iframe into your website. +The API is designed in a way, so you can reuse your existing user system with their permissions, and map it to Etherpad. Means: Your web application still has to do authentication, but you can tell Etherpad via the api, which visitors should get which permissions. This allows Etherpad to fit into any web application and extend it with real-time functionality. You can embed the pads via an iframe into your website. Take a look at [HTTP API client libraries](https://github.com/ether/etherpad-lite/wiki/HTTP-API-client-libraries) to see if a library in your favorite language. @@ -103,7 +103,7 @@ Responses are valid JSON in the following format: ### Authentication -Authentication works via a token that is sent with each request as a post parameter. There is a single token per Etherpad-Lite deployment. This token will be random string, generated by Etherpad-Lite at the first start. It will be saved in APIKEY.txt in the root folder of Etherpad Lite. Only Etherpad Lite and the requesting application knows this key. Token management will not be exposed through this API. +Authentication works via a token that is sent with each request as a post parameter. There is a single token per Etherpad deployment. This token will be random string, generated by Etherpad at the first start. It will be saved in APIKEY.txt in the root folder of Etherpad. Only Etherpad and the requesting application knows this key. Token management will not be exposed through this API. ### Node Interoperability @@ -132,7 +132,7 @@ creates a new group #### createGroupIfNotExistsFor(groupMapper) * API >= 1 -this functions helps you to map your application group ids to etherpad lite group ids +this functions helps you to map your application group ids to Etherpad group ids *Example returns:* * `{code: 0, message:"ok", data: {groupID: g.s8oes9dhwrvt0zif}}` @@ -188,7 +188,7 @@ creates a new author #### createAuthorIfNotExistsFor(authorMapper [, name]) * API >= 1 -this functions helps you to map your application author ids to etherpad lite author ids +this functions helps you to map your application author ids to Etherpad author ids *Example returns:* * `{code: 0, message:"ok", data: {authorID: "a.s8oes9dhwrvt0zif"}}` diff --git a/doc/custom_static.md b/doc/custom_static.md index f646e3ba0..7bb290094 100644 --- a/doc/custom_static.md +++ b/doc/custom_static.md @@ -1,5 +1,5 @@ # Custom static files -Etherpad Lite allows you to include your own static files in the browser, by modifying the files in `static/custom`. +Etherpad allows you to include your own static files in the browser, by modifying the files in `static/custom`. * `index.js` Javascript that'll be run in `/` * `index.css` Stylesheet affecting `/` diff --git a/doc/documentation.md b/doc/documentation.md index 0542c4360..2452ec084 100644 --- a/doc/documentation.md +++ b/doc/documentation.md @@ -2,7 +2,7 @@ -The goal of this documentation is to comprehensively explain Etherpad-Lite, +The goal of this documentation is to comprehensively explain Etherpad, both from a reference as well as a conceptual point of view. Where appropriate, property types, method arguments, and the arguments diff --git a/doc/easysync/README.md b/doc/easysync/README.md index 551487544..326fd81a8 100644 --- a/doc/easysync/README.md +++ b/doc/easysync/README.md @@ -1,2 +1,2 @@ # About this folder -We put all documentations we found about the old Etherpad together in this folder. Most of this is still valid for Etherpad Lite \ No newline at end of file +We put all documentations we found about the original Etherpad together in this folder. Most of this is still valid for the current (node.js based) Etherpad. \ No newline at end of file diff --git a/doc/localization.md b/doc/localization.md index 6c99ecf1d..15c4d59dc 100644 --- a/doc/localization.md +++ b/doc/localization.md @@ -1,5 +1,5 @@ # Localization -Etherpad lite provides a multi-language user interface, that's apart from your users' content, so users from different countries can collaborate on a single document, while still having the user interface displayed in their mother tongue. +Etherpad provides a multi-language user interface, that's apart from your users' content, so users from different countries can collaborate on a single document, while still having the user interface displayed in their mother tongue. ## Translating @@ -83,7 +83,7 @@ Everytime the http server is started, it will auto-detect your messages and merg ### Overwrite core messages -You can overwrite Etherpad Lite's core messages in your plugin's locale files. +You can overwrite Etherpad's core messages in your plugin's locale files. For example, if you want to replace `Chat` with `Notes`, simply add... *ep_your-plugin/locales/en.json* @@ -91,4 +91,4 @@ For example, if you want to replace `Chat` with `Notes`, simply add... { "ep_your-plugin.h1": "Heading 1" , "pad.chat": "Notes" } -``` \ No newline at end of file +``` diff --git a/doc/plugins.md b/doc/plugins.md index 0e0dee008..76c409b17 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -1,5 +1,5 @@ # Plugins -Etherpad-Lite allows you to extend its functionality with plugins. A plugin registers hooks (functions) for certain events (thus certain features) in Etherpad-lite to execute its own functionality based on these events. +Etherpad allows you to extend its functionality with plugins. A plugin registers hooks (functions) for certain events (thus certain features) in Etherpad-lite to execute its own functionality based on these events. Publicly available plugins can be found in the npm registry (see ). Etherpad-lite's naming convention for plugins is to prefix your plugins with `ep_`. So, e.g. it's `ep_flubberworms`. Thus you can install plugins from npm, using `npm install ep_flubberworm` in etherpad-lite's root directory. @@ -104,7 +104,7 @@ Your plugin must also contain a [package definition file](http://npmjs.org/doc/j ``` ## Templates -If your plugin adds or modifies the front end HTML (e.g. adding buttons or changing their functions), you should put the necessary HTML code for such operations in `templates/`, in files of type ".ejs", since Etherpad-Lite uses EJS for HTML templating. See the following link for more information about EJS: . +If your plugin adds or modifies the front end HTML (e.g. adding buttons or changing their functions), you should put the necessary HTML code for such operations in `templates/`, in files of type ".ejs", since Etherpad uses EJS for HTML templating. See the following link for more information about EJS: . ## Writing and running front-end tests for your plugin diff --git a/doc/template.html b/doc/template.html index b91f3c166..267063277 100644 --- a/doc/template.html +++ b/doc/template.html @@ -2,12 +2,12 @@ - __SECTION__ - Etherpad Lite v__VERSION__ Manual & Documentation + __SECTION__ - Etherpad v__VERSION__ Manual & Documentation
diff --git a/src/node/db/API.js b/src/node/db/API.js index dd2053f9c..5bb83f029 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -778,7 +778,7 @@ createDiffHTML(padID, startRev, endRev) returns an object of diffs from 2 points Example returns: -{"code":0,"message":"ok","data":{"html":"Welcome to Etherpad Lite!

This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!

Get involved with Etherpad at http://etherpad.org
aw

","authors":["a.HKIv23mEbachFYfH",""]}} +{"code":0,"message":"ok","data":{"html":"Welcome to Etherpad!

This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!

Get involved with Etherpad at http://etherpad.org
aw

","authors":["a.HKIv23mEbachFYfH",""]}} {"code":4,"message":"no or wrong API Key","data":null} */ exports.createDiffHTML = function(padID, startRev, endRev, callback){ diff --git a/src/node/hooks/express.js b/src/node/hooks/express.js index 34baca40f..f3028fe21 100644 --- a/src/node/hooks/express.js +++ b/src/node/hooks/express.js @@ -19,7 +19,7 @@ exports.createServer = function () { var refPath = rootPath + "/.git/" + ref.substring(5, ref.indexOf("\n")); version = fs.readFileSync(refPath, "utf-8"); version = version.substring(0, 7); - console.log("Your Etherpad Lite git version is " + version); + console.log("Your Etherpad git version is " + version); } catch(e) { @@ -27,11 +27,11 @@ exports.createServer = function () { } console.log("Report bugs at https://github.com/ether/etherpad-lite/issues") - serverName = "Etherpad-Lite " + version + " (http://etherpad.org)"; + serverName = "Etherpad " + version + " (http://etherpad.org)"; exports.restartServer(); - console.log("You can access your Etherpad-Lite instance at http://" + settings.ip + ":" + settings.port + "/"); + console.log("You can access your Etherpad instance at http://" + settings.ip + ":" + settings.port + "/"); if(!_.isEmpty(settings.users)){ console.log("The plugin admin page is at http://" + settings.ip + ":" + settings.port + "/admin/plugins"); } diff --git a/src/node/hooks/express/importexport.js b/src/node/hooks/express/importexport.js index 9754ffa64..f5a3e5a19 100644 --- a/src/node/hooks/express/importexport.js +++ b/src/node/hooks/express/importexport.js @@ -15,7 +15,7 @@ exports.expressCreateServer = function (hook_name, args, cb) { //if abiword is disabled, and this is a format we only support with abiword, output a message if (settings.abiword == null && ["odt", "pdf", "doc"].indexOf(req.params.type) !== -1) { - res.send("Abiword is not enabled at this Etherpad Lite instance. Set the path to Abiword in settings.json to enable this feature"); + res.send("Abiword is not enabled at this Etherpad instance. Set the path to Abiword in settings.json to enable this feature"); return; } diff --git a/src/node/hooks/express/swagger.js b/src/node/hooks/express/swagger.js index 3a437a51c..e8daa61ce 100644 --- a/src/node/hooks/express/swagger.js +++ b/src/node/hooks/express/swagger.js @@ -86,7 +86,7 @@ var API = { }, "createIfNotExistsFor" : { "func": "createGroupIfNotExistsFor", - "description": "this functions helps you to map your application group ids to etherpad lite group ids", + "description": "this functions helps you to map your application group ids to Etherpad group ids", "response": {"groupID":{"type":"string"}} }, "delete" : { @@ -124,7 +124,7 @@ var API = { }, "createIfNotExistsFor": { "func": "createAuthorIfNotExistsFor", - "description": "this functions helps you to map your application author ids to etherpad lite author ids", + "description": "this functions helps you to map your application author ids to Etherpad author ids", "response": {"authorID":{"type":"string"}} }, "listPads": { diff --git a/src/node/utils/Settings.js b/src/node/utils/Settings.js index 72053ad30..db829e2ff 100644 --- a/src/node/utils/Settings.js +++ b/src/node/utils/Settings.js @@ -35,7 +35,7 @@ exports.root = path.normalize(path.join(npm.dir, "..")); /** * The app title, visible e.g. in the browser window */ -exports.title = "Etherpad Lite"; +exports.title = "Etherpad"; /** * The app favicon fully specified url, visible e.g. in the browser window @@ -77,7 +77,7 @@ exports.dbSettings = { "filename" : path.join(exports.root, "dirty.db") }; /** * The default Text of a new pad */ -exports.defaultPadText = "Welcome to Etherpad Lite!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nEtherpad Lite on Github: http:\/\/j.mp/ep-lite\n"; +exports.defaultPadText = "Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nEtherpad on Github: http:\/\/j.mp/ep-lite\n"; /** * A flag that requires any user to have a valid session (via the api) before accessing a pad diff --git a/tests/frontend/travis/runner.sh b/tests/frontend/travis/runner.sh index ae53e6676..1ae5f6ff0 100755 --- a/tests/frontend/travis/runner.sh +++ b/tests/frontend/travis/runner.sh @@ -3,7 +3,7 @@ #Move to the base folder cd `dirname $0` -#start etherpad lite +#start Etherpad ../../../bin/run.sh > /dev/null & sleep 10