Skip to content

Commit cbfc833

Browse files
committed
Merge pull request #2424 from ether/release/1.5.0
Release/1.5.0
2 parents 3ebcaad + 95af559 commit cbfc833

217 files changed

Lines changed: 4609 additions & 1649 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
# 1.5.0
2+
* NEW: Lots of performance improvements for page load times
3+
* NEW: Hook for adding CSS to Exports
4+
* NEW: Allow shardable socket io
5+
* NEW: Allow UI to show when attr/prop is applied (CSS)
6+
* NEW: Various scripts
7+
* NEW: Export full fidelity pads (including authors etc.)
8+
* NEW: Various front end tests
9+
* NEW: Backend tests
10+
* NEW: switchPad hook to instantly switch between pads
11+
* NEW: Various translations
12+
* NEW: Icon sets instead of images to provide quality high DPI experience
13+
* Fix: HTML Import blocking / hanging server
14+
* Fix: Export Bullet / Numbered lists HTML
15+
* Fix: Swagger deprecated warning
16+
* Fix: Bad session from crashing server
17+
* Fix: Allow relative settings path
18+
* Fix: Stop attributes being improperly assigned between 2 lines
19+
* Fix: Copy / Move Pad API race condition
20+
* Fix: Save all user preferences
21+
* Fix: Upgrade majority of dependency inc upgrade to SocketIO1+
22+
* Fix: Provide UI button to restore maximized chat window
23+
* Fix: Timeslider UI Fix
24+
* Fix: Remove Dokuwiki
25+
* Fix: Remove long paths from windows build (stops error during extract)
26+
* Fix: Various globals remvoed
27+
* Fix: Move all scripts into bin/
28+
* Fix: Various CSS bugfixes for Mobile devices
29+
* Fix: Overflow Toolbar
30+
* Fix: Line Attribute management
31+
132
# 1.4.1
233
* NEW: Translations
334
* NEW: userLeave Hook

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ out/doc/assets/%: doc/assets/%
1414

1515
out/doc/%.html: doc/%.md
1616
mkdir -p $(@D)
17-
node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
17+
node bin/doc/generate.js --format=html --template=doc/template.html $< > $@
1818
ifeq ($(UNAME),Darwin)
1919
sed -i '' 's/__VERSION__/${VERSION}/' $@
2020
else

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ that allows your web application to manage pads, users and groups. It is recomme
1111

1212
There is also a [jQuery plugin](https://github.com/ether/etherpad-lite-jquery-plugin) that helps you to embed Pads into your website.
1313

14-
There's also a full-featured plugin framework, allowing you to easily add your own features. By default your Etherpad is rather sparce and because Etherpad takes a lot of it's inspiration from Wordpress plugins are really easy to install and update. Once you have Etherpad installed you should visit the plugin page and take control.
14+
There's also a full-featured plugin framework, allowing you to easily add your own features. By default your Etherpad is rather sparse and because Etherpad takes a lot of it's inspiration from Wordpress plugins are really easy to install and update. Once you have Etherpad installed you should visit the plugin page and take control.
1515

1616
Finally, Etherpad comes with translations into most languages! Users are automatically delivered the correct language for their local settings.
1717

@@ -50,9 +50,9 @@ Update to the latest version with `git pull origin`, then run `bin\installOnWind
5050

5151
## GNU/Linux and other UNIX-like systems
5252
You'll need gzip, git, curl, libssl develop libraries, python and gcc.
53-
*For Debian/Ubuntu*: `apt-get install gzip git-core curl python libssl-dev pkg-config build-essential`
54-
*For Fedora/CentOS*: `yum install gzip git-core curl python openssl-devel && yum groupinstall "Development Tools"`
55-
*For FreeBSD*: `portinstall node, npm, git (optional)`
53+
- *For Debian/Ubuntu*: `apt-get install gzip git-core curl python libssl-dev pkg-config build-essential`
54+
- *For Fedora/CentOS*: `yum install gzip git-core curl python openssl-devel && yum groupinstall "Development Tools"`
55+
- *For FreeBSD*: `portinstall node, npm, git (optional)`
5656

5757
Additionally, you'll need [node.js](http://nodejs.org) installed, Ideally the latest stable version, we recommend installing/compiling nodejs from source (avoiding apt).
5858

@@ -74,6 +74,10 @@ You can initially modify the settings in `settings.json`. (If you need to handle
7474

7575
You should use a dedicated database such as "mysql", if you are planning on using etherpad-in a production environment, since the "dirtyDB" database driver is only for testing and/or development purposes.
7676

77+
## Plugins and themes
78+
79+
Etherpad is very customizable through plugins. Instructions for installing themes and plugins can be found in [the plugin wiki article](https://github.com/ether/etherpad-lite/wiki/Available-Plugins).
80+
7781
## Helpful resources
7882
The [wiki](https://github.com/ether/etherpad-lite/wiki) is your one-stop resource for Tutorials and How-to's, really check it out! Also, feel free to improve these wiki pages.
7983

bin/backendTests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/node_modules/mocha/bin/mocha --timeout 5000 --reporter nyan tests/backend/specs/api

bin/buildForWindows.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ rm -rf .git/objects
5858
echo "remove windows jsdom-nocontextify/test folder"
5959
rm -rf /tmp/etherpad-lite-win/node_modules/ep_etherpad-lite/node_modules/jsdom-nocontextifiy/test/
6060
rm -rf /tmp/etherpad-lite-win/src/node_modules/jsdom-nocontextifiy/test/
61+
rm -rf /tmp/etherpad-lite-win/src/node_modules/wd/node_modules/request/node_modules/form-data/node_modules/combined-stream/test
62+
rm -rf /tmp/etherpad-lite-win/src/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv-lite/encodings/tables
6163

6264
echo "create the zip..."
6365
cd /tmp

bin/dirty-db-cleaner.py

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/usr/bin/python -u
2+
#
3+
# Created by Bjarni R. Einarsson, placed in the public domain. Go wild!
4+
#
5+
import json
6+
import os
7+
import sys
8+
9+
try:
10+
dirtydb_input = sys.argv[1]
11+
dirtydb_output = '%s.new' % dirtydb_input
12+
assert(os.path.exists(dirtydb_input))
13+
assert(not os.path.exists(dirtydb_output))
14+
except:
15+
print
16+
print 'Usage: %s /path/to/dirty.db' % sys.argv[0]
17+
print
18+
print 'Note: Will create a file named dirty.db.new in the same folder,'
19+
print ' please make sure permissions are OK and a file by that'
20+
print ' name does not exist already. This script works by omitting'
21+
print ' duplicate lines from the dirty.db file, keeping only the'
22+
print ' last (latest) instance. No revision data should be lost,'
23+
print ' but be careful, make backups. If it breaks you get to keep'
24+
print ' both pieces!'
25+
print
26+
sys.exit(1)
27+
28+
dirtydb = {}
29+
lines = 0
30+
with open(dirtydb_input, 'r') as fd:
31+
print 'Reading %s' % dirtydb_input
32+
for line in fd:
33+
lines += 1
34+
data = json.loads(line)
35+
dirtydb[data['key']] = line
36+
if lines % 10000 == 0:
37+
sys.stderr.write('.')
38+
print
39+
print 'OK, found %d unique keys in %d lines' % (len(dirtydb), lines)
40+
41+
with open(dirtydb_output, 'w') as fd:
42+
for data in dirtydb.values():
43+
fd.write(data)
44+
45+
print 'Wrote data to %s. All done!' % dirtydb_output
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)