Skip to content
Permalink
Browse files

Replaced config.json with settings.json and version .json.

Switched to using npm packages for fonts.
Removed use of bootstrap cdn.
  • Loading branch information...
nero120 committed Apr 23, 2018
1 parent 73cb90b commit 2002bcc4d2c61efd763a0044cdbd6e4bb53be238
Showing with 11,542 additions and 1,371 deletions.
  1. +2 −9 README.md
  2. +1 −2 config/{config.json → settings.json}
  3. +3 −0 config/version.json
  4. +3 −1 dist/config.js
  5. +1 −1 dist/config.js.map
  6. BIN dist/docs/010c1aeee3c6d1cbb1d5761d80353823.woff2
  7. BIN dist/docs/020877fbec65cf32b6bd54d5bbc00032.eot
  8. BIN dist/docs/037d830416495def72b7881024c14b7b.woff2
  9. +322 −0 dist/docs/0b904af2918c203ec9220917f6f5615a.svg
  10. BIN dist/docs/0f24c2c0140810794698c26dcd648184.woff2
  11. BIN dist/docs/0fc25386220a58203994ce45fb4ae570.ttf
  12. +323 −0 dist/docs/103a7291be0af3cfe6354cbb906be321.svg
  13. BIN dist/docs/117f6877039e410a8be2172143e4c8d2.ttf
  14. BIN dist/docs/13ec0eb5bdb821ff4930237d7c9f943f.woff2
  15. BIN dist/docs/13efe6cbc10b97144a28310ebdeda594.woff
  16. BIN dist/docs/18621e34f4709afdcc878956a7884493.woff
  17. BIN dist/docs/19b7a0adfdd4f808b53af7e2ce2ad4e5.woff2
  18. BIN dist/docs/1b05ec1503855a5bfc187e8230916282.woff2
  19. BIN dist/docs/1cb153bec75d944bd485ac03d59f8582.woff
  20. BIN dist/docs/1d6594826615607f6dc860bb49258acb.woff
  21. BIN dist/docs/1eb7a893589ddce89d81cdb22a356660.ttf
  22. BIN dist/docs/210a7c781f5a354a0e4985656ab456d9.woff
  23. BIN dist/docs/260529deaab794d6071d2d3bfe1501af.woff
  24. BIN dist/docs/2725306a42ebdc07761dc58d9313c3b2.woff2
  25. BIN dist/docs/285467176f7fe6bb6a9c6873b3dad2cc.woff2
  26. BIN dist/docs/2f3c7709effe4b17c051534d186851ae.woff
  27. BIN dist/docs/2f50bd7b29c4fd5f88df4567e396f0cd.woff2
  28. BIN dist/docs/313a65630d341645c13e4f2a0364381d.woff
  29. BIN dist/docs/31a781a10c86331fc096bff395582a3e.woff
  30. BIN dist/docs/35b07eb2f8711ae08d1f58c043880930.woff
  31. BIN dist/docs/35e55b1640bb0a31c77e5c08558d3e32.eot
  32. BIN dist/docs/36b5da0333389306669655a13f2209ad.ttf
  33. BIN dist/docs/3919beb4a174b0dd85b5394385797ab2.woff
  34. +323 −0 dist/docs/39c358e4c78546f0f49e624bcbdc8e63.svg
  35. BIN dist/docs/3e1af3ef546b9e6ecef9f3ba197bf7d2.ttf
  36. BIN dist/docs/412849bf61ea59b069213d10897a26cd.woff2
  37. BIN dist/docs/42bbe4eefcde1297b11dc4b6491e9746.ttf
  38. BIN dist/docs/4357beb823a5f8d65c260f045d9e019a.woff2
  39. +325 −0 dist/docs/4466317341560ee2759326c4723cae25.svg
  40. BIN dist/docs/448c34a56d699c29117adc64c43affeb.woff2
  41. BIN dist/docs/4596ac08559f0a6951fddc05816116d8.woff2
  42. BIN dist/docs/46541d7e305fb9addd5587982622b6d5.woff
  43. BIN dist/docs/47d236461410ac106632ff91703dc1e7.woff2
  44. BIN dist/docs/4ae9dd464ce924874177155ca397dfd2.woff
  45. BIN dist/docs/4fe0f73cc919ba2b7a3c36e4540d725c.woff
  46. BIN dist/docs/506b155cfd33a0a90d3b2c9584cb0bfb.ttf
  47. BIN dist/docs/50705c5ed1205b63efdbfee941a6b655.ttf
  48. BIN dist/docs/50d75e48e0a3ddab1dd15d6bfb9d3700.woff
  49. BIN dist/docs/510dec37fa69fba39593e01a469ee018.woff2
  50. BIN dist/docs/52d4a974daa40f4f8925802d86c48acd.eot
  51. BIN dist/docs/55536c8e9e9a532651e3cf374f290ea3.woff2
  52. +309 −0 dist/docs/57888be7f3e68a7050452ea3157cf4de.svg
  53. BIN dist/docs/578fc7991dde372927d5f6834d82c4ce.woff2
  54. BIN dist/docs/587de8ec039052f50e69c9654439b991.woff2
  55. +309 −0 dist/docs/587ed44908df84877c5a7f668eb1dfa1.svg
  56. BIN dist/docs/59eb3601394dd87f30f82433fb39dd94.woff2
  57. BIN dist/docs/5b4a33e176ff736a74f0ca2dd9e6b396.woff2
  58. BIN dist/docs/5d4aeb4e5f5ef754e307d7ffaef688bd.woff2
  59. BIN dist/docs/5f05a4a3878c42a945d17738a6bca069.woff2
  60. BIN dist/docs/5fa725d38e516c9c2a68748f1a0fa96f.woff2
  61. BIN dist/docs/6232f43d15b0e7a0bf0fe82e295bdd06.woff2
  62. BIN dist/docs/6866c2b6420618fdf5d3b082ca0c10ff.eot
  63. BIN dist/docs/6da41a0de9bcf1627a01686cb1cd0d31.woff
  64. BIN dist/docs/7345066add454580ed04765b7bbb31db.eot
  65. BIN dist/docs/73f0a88bbca1bec19fb1303c689d04c6.woff2
  66. BIN dist/docs/76ce6e299816afa941e1038ac368c73a.eot
  67. BIN dist/docs/7b770d6c53423deb1a8e49d3c9175184.woff2
  68. BIN dist/docs/83e114c316fcc3f23f524ec3e1c65984.woff
  69. BIN dist/docs/846d1890aee87fde5d8ced8eba360c3a.woff
  70. +308 −0 dist/docs/8681f434273fd6a267b1a16a035c5f79.svg
  71. +288 −0 dist/docs/89889688147bd7575d6327160d64e760.svg
  72. BIN dist/docs/89e2666c24d37055bcb60e9d2d9f7e35.ttf
  73. BIN dist/docs/8a96edbbcd9a6991d79371aed0b0288e.woff
  74. BIN dist/docs/8aaf660cb3cc3c98e752c5f869a21522.woff
  75. BIN dist/docs/8c2ade503b34e31430d6c98aa29a52a3.woff
  76. +306 −0 dist/docs/8cb983f9db2dc3cf43e7879513126a5c.svg
  77. BIN dist/docs/8e75c2a6838a899947c394629cf380d7.woff
  78. BIN dist/docs/90d1676003d9c28c04994c18bfd8b558.woff2
  79. BIN dist/docs/91f50d03f84073a802d9fa509cbd036d.eot
  80. BIN dist/docs/94008e69aaf05da75c0bbf8f8bb0db41.woff2
  81. +305 −0 dist/docs/95204ac95130828753c0ee0ada537c33.svg
  82. BIN dist/docs/9680d5a0c32d2fd084e07bbc4c8b2923.woff
  83. BIN dist/docs/96f163ba7cee9431909861772a4215db.woff2
  84. BIN dist/docs/987b84570ea69ee660455b8d5e91f5f1.woff2
  85. +332 −0 dist/docs/98c79800498e557faaabd49d2fd7b428.svg
  86. BIN dist/docs/9adcef66acccf59c290bedb1ab6f2ab1.ttf
  87. BIN dist/docs/9b2ed84dbbea6aeab212f8a5ecd450b0.eot
  88. +302 −0 dist/docs/9c4bedeee9074a7ab438ff0e548d0fba.svg
  89. +324 −0 dist/docs/9ede86e9a4bc062655d63c80f9d71d46.svg
  90. BIN dist/docs/a1471d1d6431c893582a5f6a250db3f9.woff
  91. BIN dist/docs/a5a6b71255dc832da585d5c94fa1a115.ttf
  92. BIN dist/docs/a6bb894eee15eda546f5e6082216353f.ttf
  93. BIN dist/docs/a7943c3c199566007d2164cdb19af4c4.eot
  94. BIN dist/docs/ad538a69b0e8615ed0419c4529344ffc.woff2
  95. BIN dist/docs/aef455e3517b09ae3ad3bc139434a53c.woff
  96. BIN dist/docs/b0751cb1cf5e931820cb04ac03ea7bdd.woff2
  97. BIN dist/docs/b283ac94ccc0eb38f2ae3fc43c90efa7.eot
  98. BIN dist/docs/b2c91466a79faa3b3fc6d002b7c6451e.woff2
  99. BIN dist/docs/b520ee32aa54885cd99eae9180257266.woff
  100. BIN dist/docs/b52fac2bb93c5858f3f2675e4b52e1de.woff2
  101. +326 −0 dist/docs/b5bd232e5ae7e364a0e75ba4e480dc03.svg
  102. BIN dist/docs/b8ff9b509035a4e83e0419443505052f.eot
  103. BIN dist/docs/bafb105baeb22d965c70fe52ba6b49d9.woff
  104. BIN dist/docs/bc833e725c137257c2c42a789845d82f.woff
  105. BIN dist/docs/bd19ad60600a1537c00d3b4923a5e5de.ttf
  106. BIN dist/docs/bd477b411b5629a6ad18aa9c401251af.eot
  107. BIN dist/docs/bd6c5b7d434a0753902e092de9de0c5b.woff2
  108. +313 −0 dist/docs/bdd892cdf337fc8975aca7ccab6ea06c.svg
  109. BIN dist/docs/bdd8fa78280332e0dc8df7178fd4e46a.woff
  110. BIN dist/docs/bf9fec987ff2e712826d1da62c84d86c.woff
  111. BIN dist/docs/c074f8ef4aea2b67fa0ae380041dacdf.woff2
  112. BIN dist/docs/c1100081f3cfaa80b6d951daff31b832.eot
  113. BIN dist/docs/c29944484210b2cbc174460bb8145d28.woff2
  114. BIN dist/docs/c73eb1ceba3321a80a0aff13ad373cb4.woff
  115. +326 −0 dist/docs/cab13fa72a3006086383e372930331a3.svg
  116. BIN dist/docs/cc2fadc3928f2f223418887111947b40.woff
  117. BIN dist/docs/cd56bcfba961e1e5495b559a8c88d7a3.eot
  118. BIN dist/docs/cf6613d1adf490972c557a8e318e0868.woff
  119. BIN dist/docs/d08840599e05db7345652d3d417574a9.ttf
  120. BIN dist/docs/d1efcd4d126837fe0dcf9b6cf3a00d64.ttf
  121. BIN dist/docs/d26871e8149b5759f814fd3c7a4f784b.woff2
  122. BIN dist/docs/d3b47375afd904983d9be8d6e239a949.woff
  123. BIN dist/docs/d69924b98acd849cdeba9fbff3f88ea6.woff2
  124. BIN dist/docs/d704bb3d579b7d5e40880c75705c8a71.woff
  125. BIN dist/docs/d8b57f9cf3edc45bfdbdd15ec96457bd.eot
  126. BIN dist/docs/d8bcbe724fd6f4ba44d0ee6a2675890f.woff2
  127. +312 −0 dist/docs/dd0bea1f9a808d633492fa573039ca1d.svg
  128. BIN dist/docs/dd52f869193c4b423e526462a215a448.woff
  129. BIN dist/docs/de8b7431b74642e830af4d4f4b513ec9.woff
  130. BIN dist/docs/e18bbf611f2a2e43afc071aa2f4e1512.ttf
  131. BIN dist/docs/e21bf4e6adbbcebeedb2d078d9dbeeca.woff2
  132. BIN dist/docs/e271a330fd4cb000a034dd900c1debdf.woff
  133. BIN dist/docs/e5d43fbd61d51d9b98159c9b2b402765.eot
  134. BIN dist/docs/e8eaae902c3a4dacb9a5062667e10576.woff2
  135. BIN dist/docs/e9dbbe8a693dd275c16d32feb101f1c1.woff
  136. BIN dist/docs/ec4c9962ba54eb91787aa93d361c10a8.ttf
  137. BIN dist/docs/ecdf82e86a007693b162d2806602ae7d.woff
  138. BIN dist/docs/ee7b96fa85d8fdb8c126409326ac2d2b.ttf
  139. BIN dist/docs/f30a27ac74fcf304035d58f7d77667aa.eot
  140. +310 −0 dist/docs/f3ae85bcdd2230f15b5127256b5c97c0.svg
  141. BIN dist/docs/f4769f9bdb7466be65088239c12046d1.eot
  142. BIN dist/docs/f5902d5ef961717ed263902fc429e6ae.woff
  143. BIN dist/docs/f75569f8a5fab0893fa712d8c0d9c3fe.woff2
  144. BIN dist/docs/f89702f699ffdac1594d6f777276495f.eot
  145. +329 −0 dist/docs/f8b0d5a9ac4006ad3031052476de8a24.svg
  146. BIN dist/docs/fa2772327f55d8198301fdb8bcfc8158.woff
  147. BIN dist/docs/fb176197b2a78824ad98f96d1ab63f59.woff
  148. BIN dist/docs/fc84e998bc29b297ea20321e4c90b6ed.ttf
  149. BIN dist/docs/fd4c5ff666d375be9ef9fb958af6e602.woff2
  150. BIN dist/docs/ffcc050b2d92d4b14a4fcb527ee0bcc8.woff
  151. +5,446 −9 dist/docs/index.css
  152. +1 −1 dist/docs/index.css.map
  153. +1 −1 dist/docs/index.html
  154. +2 −2 dist/docs/index.js
  155. +1 −1 dist/docs/index.js.map
  156. +16 −1 npm-shrinkwrap.json
  157. +4 −1 package.json
  158. +7 −1 src/config.ts
  159. +0 −31 src/docs/fonts.scss
  160. BIN src/docs/fonts/roboto/RobotoCondensed-Bold-webfont.eot
  161. +0 −643 src/docs/fonts/roboto/RobotoCondensed-Bold-webfont.svg
  162. BIN src/docs/fonts/roboto/RobotoCondensed-Bold-webfont.ttf
  163. BIN src/docs/fonts/roboto/RobotoCondensed-Bold-webfont.woff
  164. BIN src/docs/fonts/roboto/RobotoCondensed-Regular-webfont.eot
  165. +0 −644 src/docs/fonts/roboto/RobotoCondensed-Regular-webfont.svg
  166. BIN src/docs/fonts/roboto/RobotoCondensed-Regular-webfont.ttf
  167. BIN src/docs/fonts/roboto/RobotoCondensed-Regular-webfont.woff
  168. BIN src/docs/fonts/source-code-pro/SourceCodePro-Semibold.eot
  169. BIN src/docs/fonts/source-code-pro/SourceCodePro-Semibold.ttf
  170. BIN src/docs/fonts/source-code-pro/SourceCodePro-Semibold.woff
  171. +0 −1 src/docs/index.html
  172. +0 −1 src/docs/index.scss
  173. +5 −1 src/docs/index.ts
  174. +6 −2 test/integration/baseRouter.test.ts
  175. +6 −2 test/integration/bookmarksRouter.test.ts
  176. +6 −2 test/integration/docs.test.ts
  177. +6 −2 test/integration/infoRouter.test.ts
  178. +6 −2 test/integration/server.test.ts
  179. +6 −2 test/unit/bookmarksService.test.ts
  180. +6 −2 test/unit/infoService.test.ts
  181. +6 −2 test/unit/newSyncLogsService.test.ts
  182. +6 −2 test/unit/server.test.ts
  183. +3 −2 tslint.json
@@ -13,13 +13,7 @@ Once configured, you can begin syncing your browser data to your xBrowserSync se

# Upgrading from an earlier version

If there has been any changes to `config/config.json` since the version you are running, it is recommended to save your config file elsewhere then undo any changes before getting latest files from the repo and installing updated dependencies:

$ git checkout -- config/config.json
$ git pull
$ npm install --unsafe-perm

You can then manually change config settings back to their previous values as required.
The file `config/settings.json` is untracked so you'll need to check for any changes to this file before upgrading and manually integrate them into your settings file.

In addition, if you are curently running v1.0.3 (or earlier) of the xBrowserSync API, you will need to export existing syncs and delete the xBrowserSync database before upgrading.

@@ -102,7 +96,7 @@ CD into the source directory and install dependencies (use `unsafe-perm` flag if

## 3. Edit xBrowserSync service configuration

Open `config/config.json` in a text editor and update the following variables with your desired values:
Open `config/settings.json` in a text editor and update the following variables with your desired values:

Config Setting | Description | Default Value
-------------- | ----------- | -------------
@@ -131,7 +125,6 @@ Config Setting | Description | Default Value
`status.online` | If set to true no clients will be able to connect to this service. | `true`
`throttle.maxRequests` | Max number of connections during `throttle.timeWindow` milliseconds before sending a 429 response. Set as `0` to disable. | `1000`
`throttle.timeWindow` | Amount of time (in milliseconds) before throttle counter is reset. | `300000` (5 mins)
`version` | Current version for the API routes. | `1.1.1`

## 4. Create log folder

@@ -35,6 +35,5 @@
"throttle": {
"maxRequests": 1000,
"timeWindow": 300000
},
"version": "1.1.1"
}
}
@@ -0,0 +1,3 @@
{
"version": "1.1.2"
}

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.