Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: HelloZeroNet/ZeroNet
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.4
Choose a base ref
...
head repository: HelloZeroNet/ZeroNet
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Apr 21, 2017

  1. Copy the full SHA
    270eb67 View commit details

Commits on May 6, 2017

  1. Merge pull request #912 from mishfit/allowEmptyFileQueryFilters

    Allow empty fileQuery filters
    HelloZeroNet authored May 6, 2017
    Copy the full SHA
    e9b2c76 View commit details
  2. Fix Sidebar button for touch device & CHANGELOG-zh-cn & FreeBSD insta…

    …llation instructions (#916)
    
    * Disallow change optional limit on public proxy
    
    * Add Chinese for Mute plugins
    
    * add FreeBSD installation instructions to README-zh-cn.md
    
    * Fix Sidebar button for touch device
    
    * Add CHANGELOG-zh-cn.md
    
    * Why merging junk left? Remove it!
    jerry-wolf authored and HelloZeroNet committed May 6, 2017
    Copy the full SHA
    e426319 View commit details
  3. Copy the full SHA
    34a6337 View commit details
  4. Copy the full SHA
    d346a53 View commit details

Commits on May 7, 2017

  1. Copy the full SHA
    728e497 View commit details
  2. Copy the full SHA
    438bdbc View commit details
  3. Copy the full SHA
    3f772d1 View commit details
  4. Rev2058

    shortcutme committed May 7, 2017
    Copy the full SHA
    db744f5 View commit details
  5. Copy the full SHA
    b8fb53b View commit details
  6. Merge pull request #928 from probonopd/patch-1

    Allow running from usr/share/zeronet
    HelloZeroNet authored May 7, 2017
    Copy the full SHA
    9f5ea86 View commit details
  7. Copy the full SHA
    f67cb7b View commit details
  8. Copy the full SHA
    d2cf613 View commit details
  9. Copy the full SHA
    bf042ce View commit details

Commits on May 11, 2017

  1. Copy the full SHA
    9ec0503 View commit details
  2. Copy the full SHA
    f183e75 View commit details
  3. Copy the full SHA
    a9b9902 View commit details
  4. Copy the full SHA
    cc31081 View commit details
  5. Fix unicode url redirects

    shortcutme committed May 11, 2017
    Copy the full SHA
    487f5cb View commit details
  6. Copy the full SHA
    b5d3995 View commit details
  7. Copy the full SHA
    545459b View commit details
  8. ActionFile security check

    shortcutme committed May 11, 2017
    Copy the full SHA
    47245f4 View commit details
  9. Copy the full SHA
    27a5826 View commit details
  10. Copy the full SHA
    5908d2c View commit details
  11. Copy the full SHA
    84b5357 View commit details
  12. Copy the full SHA
    1a3b48a View commit details
  13. Copy the full SHA
    ffb67ab View commit details
  14. Rev2066

    shortcutme committed May 11, 2017
    Copy the full SHA
    f4f4aa0 View commit details
  15. Copy the full SHA
    d467aab View commit details

Commits on May 14, 2017

  1. Copy the full SHA
    442c01e View commit details

Commits on May 16, 2017

  1. Copy the full SHA
    f9c0c21 View commit details

Commits on May 18, 2017

  1. Copy the full SHA
    2677ad9 View commit details
  2. Copy the full SHA
    cbf1848 View commit details
  3. Copy the full SHA
    edd726a View commit details
  4. Rev2080

    shortcutme committed May 18, 2017
    Copy the full SHA
    077b3df View commit details
  5. Copy the full SHA
    e6680b4 View commit details

Commits on May 22, 2017

  1. Weak password warning (#938)

    * Weak password warning
    
    * Update UiWebsocket.py
    
    * Don't implement print with an O(n^2) iteration
    
    * Rename method
    
    * Fix logging, uncaught exception in addNotes
    
    and pushes a notification when UI server is bound to the whole Internet.
    
    * Remove memo comments. Remove terminal hue.
    MuxZeroNet authored and HelloZeroNet committed May 22, 2017
    Copy the full SHA
    35a18bd View commit details
  2. Copy the full SHA
    7900578 View commit details
  3. fix issue #936

    os.path.join(*file_path.split("/")) construction drops leading slash from string thus making absolute path relative. It leads into problems in case if data_dir differs from directory where is zeronet installed.
    sergei-bondarenko authored May 22, 2017
    Copy the full SHA
    a871b5d View commit details
  4. Merge pull request #942 from grez911/master

    fix issue #936
    HelloZeroNet authored May 22, 2017
    Copy the full SHA
    b028eee View commit details

Commits on May 23, 2017

  1. Formatting

    shortcutme committed May 23, 2017
    Copy the full SHA
    3f59727 View commit details
  2. Copy the full SHA
    aacde33 View commit details
  3. Fix undefined placeholder

    shortcutme committed May 23, 2017
    Copy the full SHA
    ba9cd9b View commit details
  4. Rev2087

    shortcutme committed May 23, 2017
    Copy the full SHA
    6dc084c View commit details
  5. Copy the full SHA
    fb43dfb View commit details

Commits on May 24, 2017

  1. Copy the full SHA
    ed11ae2 View commit details
  2. Copy the full SHA
    89bb12d View commit details
  3. Rev2088

    shortcutme committed May 24, 2017
    Copy the full SHA
    b737428 View commit details
  4. Copy the full SHA
    b0d574d View commit details
  5. Copy the full SHA
    830f985 View commit details
Showing with 21,943 additions and 4,516 deletions.
  1. +1 −0 .github/FUNDING.yml
  2. +33 −0 .github/ISSUE_TEMPLATE/bug-report.md
  3. +20 −0 .github/ISSUE_TEMPLATE/feature_request.md
  4. +1 −3 .gitignore
  5. +15 −1 .travis.yml
  6. +134 −0 CHANGELOG-zh-cn.md
  7. +268 −0 CHANGELOG.md
  8. +11 −17 Dockerfile
  9. +211 −0 README-ru.md
  10. +20 −15 README-zh-cn.md
  11. +48 −19 README.md
  12. +1 −1 Vagrantfile
  13. +148 −0 plugins/AnnounceLocal/AnnounceLocalPlugin.py
  14. +140 −0 plugins/AnnounceLocal/BroadcastServer.py
  15. +113 −0 plugins/AnnounceLocal/Test/TestAnnounce.py
  16. +4 −0 plugins/AnnounceLocal/Test/conftest.py
  17. +5 −0 plugins/AnnounceLocal/Test/pytest.ini
  18. +1 −0 plugins/AnnounceLocal/__init__.py
  19. +188 −0 plugins/AnnounceShare/AnnounceSharePlugin.py
  20. +25 −0 plugins/AnnounceShare/Test/TestAnnounceShare.py
  21. +3 −0 plugins/AnnounceShare/Test/conftest.py
  22. +5 −0 plugins/AnnounceShare/Test/pytest.ini
  23. +1 −0 plugins/AnnounceShare/__init__.py
  24. +60 −42 plugins/AnnounceZero/AnnounceZeroPlugin.py
  25. +158 −0 plugins/Bigfile/BigfilePiecefield.py
  26. +769 −0 plugins/Bigfile/BigfilePlugin.py
  27. +522 −0 plugins/Bigfile/Test/TestBigfile.py
  28. +1 −0 plugins/Bigfile/Test/conftest.py
  29. +5 −0 plugins/Bigfile/Test/pytest.ini
  30. +2 −0 plugins/Bigfile/__init__.py
  31. +182 −0 plugins/Chart/ChartCollector.py
  32. +133 −0 plugins/Chart/ChartDb.py
  33. +60 −0 plugins/Chart/ChartPlugin.py
  34. +1 −0 plugins/Chart/__init__.py
  35. +223 −0 plugins/ContentFilter/ContentFilterPlugin.py
  36. +140 −0 plugins/ContentFilter/ContentFilterStorage.py
  37. +82 −0 plugins/ContentFilter/Test/TestContentFilter.py
  38. +1 −0 plugins/ContentFilter/Test/conftest.py
  39. +5 −0 plugins/ContentFilter/Test/pytest.ini
  40. +1 −0 plugins/ContentFilter/__init__.py
  41. +6 −6 plugins/{Mute → ContentFilter}/languages/hu.json
  42. +6 −6 plugins/{Mute → ContentFilter}/languages/it.json
  43. +6 −0 plugins/ContentFilter/languages/pt-br.json
  44. +6 −6 plugins/{Mute → ContentFilter}/languages/zh-tw.json
  45. +6 −6 plugins/{Mute → ContentFilter}/languages/zh.json
  46. +107 −0 plugins/ContentFilter/media/blocklisted.html
  47. +119 −0 plugins/ContentFilter/media/js/ZeroFrame.js
  48. +104 −0 plugins/Cors/CorsPlugin.py
  49. +1 −0 plugins/Cors/__init__.py
  50. +1 −1 plugins/CryptMessage/CryptMessagePlugin.py
  51. +3 −0 plugins/CryptMessage/Test/TestCrypt.py
  52. +129 −24 plugins/FilePack/FilePackPlugin.py
  53. +53 −12 plugins/MergerSite/MergerSitePlugin.py
  54. +5 −0 plugins/MergerSite/languages/es.json
  55. +0 −100 plugins/Mute/MutePlugin.py
  56. +0 −1 plugins/Mute/__init__.py
  57. +0 −6 plugins/Mute/languages/pt-br.json
  58. +76 −21 plugins/Newsfeed/NewsfeedPlugin.py
  59. +41 −20 plugins/OptionalManager/ContentDbPlugin.py
  60. +121 −9 plugins/OptionalManager/OptionalManagerPlugin.py
  61. +106 −0 plugins/OptionalManager/Test/TestOptionalManager.py
  62. +146 −23 plugins/OptionalManager/UiWebsocketPlugin.py
  63. +7 −0 plugins/OptionalManager/languages/es.json
  64. +2 −2 plugins/OptionalManager/languages/zh.json
  65. +22 −13 plugins/PeerDb/PeerDbPlugin.py
  66. +241 −86 plugins/Sidebar/SidebarPlugin.py
  67. +59 −0 plugins/Sidebar/ZipStream.py
  68. +82 −0 plugins/Sidebar/languages/jp.json
  69. +20 −4 plugins/Sidebar/languages/pt-br.json
  70. +23 −21 plugins/Sidebar/languages/zh-tw.json
  71. +22 −5 plugins/Sidebar/languages/zh.json
  72. +2 −3 plugins/Sidebar/media-globe/all.js
  73. +1 −0 plugins/Sidebar/media-globe/globe.js
  74. +60 −0 plugins/Sidebar/media/Internals.coffee
  75. +17 −0 plugins/Sidebar/media/Internals.css
  76. +49 −0 plugins/Sidebar/media/Menu.coffee
  77. +19 −0 plugins/Sidebar/media/Menu.css
  78. +2 −2 plugins/Sidebar/media/Scrollbable.css
  79. +309 −119 plugins/Sidebar/media/Sidebar.coffee
  80. +52 −8 plugins/Sidebar/media/Sidebar.css
  81. +98 −7 plugins/Sidebar/media/all.css
  82. +586 −146 plugins/Sidebar/media/all.js
  83. +113 −23 plugins/Stats/StatsPlugin.py
  84. +21 −10 plugins/TranslateSite/TranslateSitePlugin.py
  85. +3 −3 plugins/Trayicon/TrayiconPlugin.py
  86. +14 −0 plugins/Trayicon/languages/es.json
  87. +7 −2 plugins/Trayicon/lib/notificationicon.py
  88. +72 −0 plugins/UiConfig/UiConfigPlugin.py
  89. +1 −0 plugins/UiConfig/__init__.py
  90. +33 −0 plugins/UiConfig/languages/hu.json
  91. +33 −0 plugins/UiConfig/languages/pt-br.json
  92. +47 −0 plugins/UiConfig/languages/zh.json
  93. +20 −0 plugins/UiConfig/media/config.html
  94. +68 −0 plugins/UiConfig/media/css/Config.css
  95. +125 −0 plugins/UiConfig/media/css/all.css
  96. +12 −0 plugins/UiConfig/media/css/button.css
  97. +30 −0 plugins/UiConfig/media/css/fonts.css
  98. BIN plugins/UiConfig/media/img/loading.gif
  99. +152 −0 plugins/UiConfig/media/js/ConfigStorage.coffee
  100. +124 −0 plugins/UiConfig/media/js/ConfigView.coffee
  101. +127 −0 plugins/UiConfig/media/js/UiConfig.coffee
  102. +1,941 −0 plugins/UiConfig/media/js/all.js
  103. +23 −0 plugins/UiConfig/media/js/lib/Class.coffee
  104. +74 −0 plugins/UiConfig/media/js/lib/Promise.coffee
  105. +8 −0 plugins/UiConfig/media/js/lib/Prototypes.coffee
  106. +770 −0 plugins/UiConfig/media/js/lib/maquette.js
  107. +138 −0 plugins/UiConfig/media/js/utils/Animation.coffee
  108. +3 −0 plugins/UiConfig/media/js/utils/Dollar.coffee
  109. +85 −0 plugins/UiConfig/media/js/utils/ZeroFrame.coffee
  110. +54 −0 plugins/Zeroname/README.md
  111. +13 −12 plugins/Zeroname/SiteManagerPlugin.py
  112. +3 −34 plugins/Zeroname/UiRequestPlugin.py
  113. +41 −5 plugins/Zeroname/updater/zeroname_updater.py
  114. +38 −39 plugins/disabled-Bootstrapper/BootstrapperDb.py
  115. +85 −34 plugins/disabled-Bootstrapper/BootstrapperPlugin.py
  116. +86 −47 plugins/disabled-Bootstrapper/Test/TestBootstrapper.py
  117. +4 −4 plugins/disabled-Dnschain/SiteManagerPlugin.py
  118. +2 −2 plugins/disabled-Dnschain/UiRequestPlugin.py
  119. +1 −1 plugins/disabled-DonationMessage/DonationMessagePlugin.py
  120. +68 −42 plugins/disabled-Multiuser/MultiuserPlugin.py
  121. +1 −1 plugins/disabled-StemPort/__init__.py
  122. +25 −9 plugins/disabled-UiPassword/UiPasswordPlugin.py
  123. +1 −1 plugins/disabled-Zeroname-local/SiteManagerPlugin.py
  124. +3 −3 plugins/disabled-Zeroname-local/UiRequestPlugin.py
  125. +1 −1 requirements.txt
  126. +235 −49 src/Config.py
  127. +275 −106 src/Connection/Connection.py
  128. +160 −50 src/Connection/ConnectionServer.py
  129. +22 −14 src/Content/ContentDb.py
  130. +14 −3 src/Content/ContentDbDict.py
  131. +274 −200 src/Content/ContentManager.py
  132. +3 −0 src/Crypt/CryptBitcoin.py
  133. +63 −34 src/Crypt/CryptConnection.py
  134. +25 −16 src/Crypt/CryptHash.py
  135. +72 −57 src/Db/Db.py
  136. +43 −7 src/Db/DbCursor.py
  137. +2 −0 src/Db/DbQuery.py
  138. +12 −13 src/Debug/Debug.py
  139. +33 −21 src/Debug/DebugHook.py
  140. +3 −3 src/Debug/DebugMedia.py
  141. +15 −11 src/Debug/DebugReloader.py
  142. +135 −153 src/File/FileRequest.py
  143. +210 −155 src/File/FileServer.py
  144. +125 −71 src/Peer/Peer.py
  145. +171 −0 src/Peer/PeerPortchecker.py
  146. +22 −1 src/Plugin/PluginManager.py
  147. +244 −271 src/Site/Site.py
  148. +407 −0 src/Site/SiteAnnouncer.py
  149. +58 −35 src/Site/SiteManager.py
  150. +159 −55 src/Site/SiteStorage.py
  151. +2 −1 src/Site/__init__.py
  152. +17 −14 src/Test/Spy.py
  153. +40 −21 src/Test/TestConnectionServer.py
  154. +86 −18 src/Test/TestContent.py
  155. +151 −22 src/Test/TestContentUser.py
  156. +5 −3 src/Test/TestCryptBitcoin.py
  157. +63 −5 src/Test/TestDb.py
  158. +30 −11 src/Test/TestFileRequest.py
  159. +27 −4 src/Test/TestHelper.py
  160. +46 −0 src/Test/TestMsgpack.py
  161. +39 −16 src/Test/TestNoparallel.py
  162. +20 −23 src/Test/TestPeer.py
  163. +10 −4 src/Test/TestRateLimit.py
  164. +24 −0 src/Test/TestSafeRe.py
  165. +6 −2 src/Test/TestSite.py
  166. +81 −34 src/Test/TestSiteDownload.py
  167. +1 −1 src/Test/TestSiteStorage.py
  168. +30 −21 src/Test/TestTor.py
  169. +29 −0 src/Test/TestTranslate.py
  170. +2 −2 src/Test/TestUpnpPunch.py
  171. +45 −24 src/Test/TestWeb.py
  172. +114 −27 src/Test/conftest.py
  173. +6 −10 src/Test/testdata/1TeSTvb4w2PWE81S2rEELgmX2GCCExQGT-original/content.json
  174. +86 −52 src/Tor/TorManager.py
  175. +38 −11 src/Translate/Translate.py
  176. +4 −4 src/Translate/languages/da.json
  177. +19 −19 src/Translate/languages/de.json
  178. +3 −3 src/Translate/languages/es.json
  179. +14 −14 src/Translate/languages/fr.json
  180. +4 −4 src/Translate/languages/hu.json
  181. +20 −20 src/Translate/languages/it.json
  182. +82 −0 src/Translate/languages/jp.json
  183. +3 −3 src/Translate/languages/nl.json
  184. +3 −3 src/Translate/languages/pl.json
  185. +13 −7 src/Translate/languages/pt-br.json
  186. +4 −4 src/Translate/languages/ru.json
  187. +57 −0 src/Translate/languages/sk.json
  188. +51 −0 src/Translate/languages/sl.json
  189. +3 −3 src/Translate/languages/tr.json
  190. +3 −3 src/Translate/languages/zh-tw.json
  191. +14 −13 src/Translate/languages/zh.json
  192. +399 −142 src/Ui/UiRequest.py
  193. +39 −11 src/Ui/UiServer.py
  194. +517 −159 src/Ui/UiWebsocket.py
  195. +1 −1 src/Ui/media/Fixbutton.coffee
  196. +50 −0 src/Ui/media/Infopanel.coffee
  197. +22 −7 src/Ui/media/Loading.coffee
  198. +8 −2 src/Ui/media/Notifications.coffee
  199. +208 −64 src/Ui/media/Wrapper.coffee
  200. +55 −6 src/Ui/media/Wrapper.css
  201. +22 −0 src/Ui/media/WrapperZeroFrame.coffee
  202. +55 −6 src/Ui/media/all.css
  203. +708 −289 src/Ui/media/all.js
  204. BIN src/Ui/media/img/logo-white.png
  205. +2 −4 src/Ui/media/lib/00-jquery.min.js
  206. +1 −0 src/Ui/media/lib/Translate.coffee
  207. +1 −1 src/Ui/media/lib/ZeroWebsocket.coffee
  208. +0 −205 src/Ui/media/lib/jquery.easing.1.3.js
  209. +168 −0 src/Ui/media/lib/jquery.easing.js
  210. +40 −0 src/Ui/template/site_add.html
  211. +42 −22 src/Ui/template/wrapper.html
  212. +33 −13 src/User/User.py
  213. +8 −19 src/User/UserManager.py
  214. +89 −42 src/Worker/Worker.py
  215. +112 −71 src/Worker/WorkerManager.py
  216. +1 −0 src/lib/BitcoinECC/newBitcoinECC.py
  217. +21 −0 src/lib/merkletools/LICENSE
  218. +178 −0 src/lib/merkletools/README.md
  219. +138 −0 src/lib/merkletools/__init__.py
  220. +29 −0 src/lib/merkletools/setup.py
  221. BIN src/lib/opensslVerify/HashInfo.txt
  222. +2 −2 src/lib/opensslVerify/ReadMe.txt
  223. BIN src/lib/opensslVerify/libeay32.dll
  224. +5 −16 src/lib/opensslVerify/openssl.cnf
  225. BIN src/lib/opensslVerify/openssl.exe
  226. +8 −17 src/lib/opensslVerify/opensslVerify.py
  227. BIN src/lib/opensslVerify/ssleay32.dll
  228. +2 −2 src/lib/pybitcointools/test.py
  229. +3 −15 src/lib/pyelliptic/openssl.py
  230. +4 −3 src/lib/subtl/subtl.py
  231. +302 −0 src/lib/websocket/ChangeLog
  232. +135 −0 src/lib/websocket/LICENSE
  233. +268 −0 src/lib/websocket/README.rst
  234. +29 −0 src/lib/websocket/__init__.py
  235. +447 −0 src/lib/websocket/_abnf.py
  236. +320 −0 src/lib/websocket/_app.py
  237. +52 −0 src/lib/websocket/_cookiejar.py
  238. +495 −0 src/lib/websocket/_core.py
  239. +87 −0 src/lib/websocket/_exceptions.py
  240. +180 −0 src/lib/websocket/_handshake.py
  241. +256 −0 src/lib/websocket/_http.py
  242. +74 −0 src/lib/websocket/_logging.py
  243. +126 −0 src/lib/websocket/_socket.py
  244. +44 −0 src/lib/websocket/_ssl_compat.py
  245. +160 −0 src/lib/websocket/_url.py
  246. +105 −0 src/lib/websocket/_utils.py
  247. +84 −0 src/lib/win_inet_pton/__init__.py
  248. +116 −84 src/main.py
  249. +6 −2 src/util/Noparallel.py
  250. +8 −5 src/util/QueryJson.py
  251. +2 −3 src/util/RateLimit.py
  252. +32 −0 src/util/SafeRe.py
  253. +46 −20 src/util/SslPatch.py
  254. +50 −27 src/util/UpnpPunch.py
  255. +120 −14 src/util/helper.py
  256. +2 −1 start.py
  257. +398 −392 tools/coffee/coffee-script.js
  258. +2 −3 tools/coffee/coffee.wsf
  259. +0 −34 tools/tor/manual_install.txt
  260. +0 −1 tools/tor/start.cmd
  261. +0 −13 tools/tor/torrc
  262. +6 −6 update.py
  263. +17 −13 zeronet.py
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: https://zeronet.io/docs/help_zeronet/donate/
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve ZeroNet
title: ''
labels: ''
assignees: ''

---

### Step 1: Please describe your environment

* ZeroNet version: _____
* Operating system: _____
* Web browser: _____
* Tor status: not available/always/disabled
* Opened port: yes/no
* Special configuration: ____

### Step 2: Describe the problem:

#### Steps to reproduce:

1. _____
2. _____
3. _____

#### Observed Results:

* What happened? This could be a screenshot, a description, log output (you can send log/debug.log file to hello@zeronet.io if necessary), etc.

#### Expected Results:

* What did you expect to happen?
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for ZeroNet
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -18,10 +18,8 @@ data/*
# Virtualenv
env/*

# Tor, downloaded automatically
# Tor data
tools/tor/data
tools/tor/*exe
tools/tor/*dll

# PhantomJS, downloaded manually for unit tests
tools/phantomjs
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,19 @@ services:
install:
- pip install -U pip wheel
- pip install -r requirements.txt
- pip list
before_script:
- openssl version -a
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
script:
- python -m pytest plugins/CryptMessage/Test
- python -m pytest -x plugins/CryptMessage/Test
- python -m pytest -x plugins/Bigfile/Test
- python -m pytest -x plugins/AnnounceLocal/Test
- python -m pytest -x plugins/OptionalManager/Test
- python -m pytest src/Test --cov=src --cov-config src/Test/coverage.ini
before_install:
- pip install -U pytest mock pytest-cov selenium
@@ -23,3 +32,8 @@ after_success:
cache:
directories:
- $HOME/.cache/pip
notifications:
email:
recipients:
hello@zeronet.io
on_success: change
134 changes: 134 additions & 0 deletions CHANGELOG-zh-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
## ZeroNet 0.5.1 (2016-11-18)
### 新增
- 多语言界面
- 新插件:为站点 HTML 与 JS 文件提供的翻译助手
- 每个站点独立的 favicon

### 修复
- 并行可选文件下载

## ZeroNet 0.5.0 (2016-11-08)
### 新增
- 新插件:允许在 ZeroHello 列出/删除/固定/管理文件
- 新的 API 命令来关注用户的可选文件,与可选文件的请求统计
- 新的可选文件总大小限制
- 新插件:保存节点到数据库并在重启时保持它们,使得更快的可选文件搜索以及在没有 Tracker 的情况下工作
- 重写 UPnP 端口打开器 + 退出时关闭端口(感谢 sirMackk!)
- 通过懒惰 PeerHashfield 创建来减少内存占用
- 在 /Stats 页面加载 JSON 文件统计与数据库信息

### 更改
- 独立的锁定文件来获得更好的 Windows 兼容性
- 当执行 start.py 时,即使 ZeroNet 已经运行也打开浏览器
- 在重载时保持插件顺序来允许插件扩展另一个插件
- 只在完整加载 sites.json 时保存来避免数据丢失
- 将更多的 Tracker 更改为更可靠的 Tracker
- 更少的 findhashid CPU 使用率
- 合并下载大量可选文件
- 更多对于可选文件的其他优化
- 如果一个站点有 1000 个节点,更积极地清理
- 为验证错误使用警告而不是错误
- 首先推送更新到更新的客户端
- 损坏文件重置改进

### 修复
- 修复启动时出现的站点删除错误
- 延迟 WebSocket 消息直到连接上
- 修复如果文件包含额外数据时的数据库导入
- 修复大站点下载
- 修复 diff 发送 bug (跟踪它好长时间了)
- 修复当 JSON 文件包含 [] 字符时随机出现的发布错误
- 修复 siteDelete 与 siteCreate bug
- 修复文件写入确认对话框


## ZeroNet 0.4.1 (2016-09-05)
### 新增
- 更快启动与更少内存使用的内核改变
- 尝试连接丢失时重新连接 Tor
- 侧边栏滑入
- 尝试避免不完整的数据文件被覆盖
- 更快地打开数据库
- 在侧边栏显示用户文件大小
- 依赖 --connection_limit 的并发 worker 数量


### 更改
- 在空闲 5 分钟后关闭数据库
- 更好的站点大小计算
- 允许在域名中使用“-”符号
- 总是尝试为站点保持连接
- 移除已合并站点的合并权限
- 只扫描最后 3 天的新闻源来加快数据库请求
- 更新 ZeroBundle-win 到 Python 2.7.12


### 修复
- 修复重要的安全问题:允许任意用户无需有效的来自 ID 提供者的证书发布新内容,感谢 Kaffie 指出
- 修复在没有选择提供证书提供者时的侧边栏错误
- 在数据库重建时跳过无效文件
- 修复随机弹出的 WebSocket 连接错误
- 修复新的 siteCreate 命令
- 修复站点大小计算
- 修复计算机唤醒后的端口打开检查
- 修复 --size_limit 的命令行解析


## ZeroNet 0.4.0 (2016-08-11)
### 新增
- 合并站点插件
- Live source code reloading: Faster core development by allowing me to make changes in ZeroNet source code without restarting it.
- 为合并站点设计的新 JSON 表
- 从侧边栏重建数据库
- 允许直接在 JSON 表中存储自定义数据:更简单与快速的 SQL 查询
- 用户文件存档:允许站点拥有者存档不活跃的用户内容到单个文件(减少初始同步的时间/CPU/内存使用率)
- 在文件删除时同时触发数据库 onUpdated/update
- 从 ZeroFrame API 请求权限
- 允许使用 fileWrite API 命令在 content.json 存储额外数据
- 更快的可选文件下载
- 使用替代源 (Gogs, Gitlab) 来下载更新
- Track provided sites/connection and prefer to keep the ones with more sites to reduce connection number

### 更改
- 保持每个站点至少 5 个连接
- 将目标站点连接从 10 更改到 15
- ZeroHello 搜索功能稳定性/速度改进
- 提升机械硬盘下的客户端性能

### 修复
- 修复 IE11 wrapper nonce 错误
- 修复在移动设备上的侧边栏
- 修复站点大小计算
- 修复 IE10 兼容性
- Windows XP ZeroBundle 兼容性(感谢中国人民)


## ZeroNet 0.3.7 (2016-05-27)
### 更改
- 通过只传输补丁来减少带宽使用
- 其他 CPU /内存优化


## ZeroNet 0.3.6 (2016-05-27)
### 新增
- 新的 ZeroHello
- Newsfeed 函数

### 修复
- 安全性修复


## ZeroNet 0.3.5 (2016-02-02)
### 新增
- 带有 .onion 隐藏服务的完整 Tor 支持
- 使用 ZeroNet 协议的 Bootstrap

### 修复
- 修复 Gevent 1.0.2 兼容性


## ZeroNet 0.3.4 (2015-12-28)
### 新增
- AES, ECIES API 函数支持
- PushState 与 ReplaceState URL 通过 API 的操作支持
- 多用户 localstorage
Loading