From 9cdf4e17bc5abb6eef351c6b7298f91a181164f0 Mon Sep 17 00:00:00 2001 From: Chip Black Date: Thu, 30 May 2013 05:25:17 -0500 Subject: [PATCH] Add documentation for 1.8 --- www/css/blerg.css | 6 +++++ www/doc/changelog.html | 33 ++++++++++++++++++++------- www/doc/index.html | 37 +++++++++++++++--------------- www/doc/privacy_data.html | 48 +++++++++++++++++++++++++++++++++++++++ www/index.html | 3 +++ 5 files changed, 101 insertions(+), 26 deletions(-) create mode 100644 www/doc/privacy_data.html diff --git a/www/css/blerg.css b/www/css/blerg.css index 6624bc2..45a553f 100644 --- a/www/css/blerg.css +++ b/www/css/blerg.css @@ -361,3 +361,9 @@ h1, h2, h3 { table.help td { padding: 2pt 8pt; } + +footer { + margin: 15pt; + font-size: small; + color: #333; +} diff --git a/www/doc/changelog.html b/www/doc/changelog.html index b06e421..e340649 100644 --- a/www/doc/changelog.html +++ b/www/doc/changelog.html @@ -11,7 +11,24 @@ The intent of this changelog is to give an overview of the major changes and fixes made to Blërg. For a detailed changelog, see the git log. -

Version 1.7 - released Wednesday, January 16, 2013 +

Version 1.8 - released Thursday, May 30, 2013

+ +

Features Added

+ + +

Editing

+ + +

Version 1.7 - released Wednesday, January 16, 2013

World Turned Upside-Down

-

Version 1.6.3 - released Thursday, January 19, 2012

+

Version 1.6.3 - released Thursday, January 19, 2012

Features Added

-

Version 1.6.2 - released Sunday, January 15, 2012

+

Version 1.6.2 - released Sunday, January 15, 2012

Features Deprecated

-

Version 1.6.1 - released Monday, November 7, 2011

+

Version 1.6.1 - released Monday, November 7, 2011

Features Added

-

Version 1.6 - released Monday, July 18th 2011

+

Version 1.6 - released Monday, July 18th 2011

Features Added

-

Version 1.5 - released Friday, March 4th 2011

+

Version 1.5 - released Friday, March 4th 2011

Features Added

-

Version 1.0 - released Wednesday, February 9th 2011

+

Version 1.0 - released Wednesday, February 9th 2011

Features Added

-

Version 0.ofuckreddit - released Thursday, Jan 13th 2011

+

Version 0.ofuckreddit - released Thursday, Jan 13th 2011

Initial Release

diff --git a/www/doc/index.html b/www/doc/index.html index 6bc071e..e98ef47 100644 --- a/www/doc/index.html +++ b/www/doc/index.html @@ -414,14 +414,15 @@ make the layers more efficient, or reduce the number of layers.

Blërg does both by smashing the last two or three layers into one -application. Blërg can be run as either a standalone web server, or as -a CGI (FastCGI support is planned, but I just don't care right now). -Less waste, more throughput. As a consequence of this, the entirety of -the application logic that the user sees is implemented in the client -app in Javascript. That's why all the URLs have #'s — the page is -loaded once and switched on the fly to show different views, further -reducing load on the server. Even parsing hash tags and URLs are done -in client JS. +application. Blërg can be run as either a standalone web server +(currently deprecated because maintaining two versions is hard), or as a +CGI (FastCGI support is planned, but I just don't care right now). Less +waste, more throughput. As a consequence of this, the entirety of the +application logic that the user sees is implemented in the client app in +Javascript. That's why all the URLs have #'s — the page is loaded +once and switched on the fly to show different views, further reducing +load on the server. Even parsing hash tags and URLs are done in client +JS.

The API is simple and pragmatic. It's not entirely RESTful, but is rather designed to work well with web-based front-ends. Client data is @@ -440,24 +441,24 @@ early in the design process that I'd try out mmaped I/O. Each user in Blërg has their own database, which consists of a metdata file, and one or more data and index files. The data and index files are memory mapped, which hopefully makes things more efficient by letting the OS -handle when to read from disk (or maybe not &mdash I haven't benchmarked -it). The index files are preallocated because I believe it's more -efficient than writing to it 40 bytes at a time as records are added. -The database's limits are reasonable: +handle when to read from disk (or maybe not — I haven't +benchmarked it). The index files are preallocated because I believe +it's more efficient than writing to it 40 bytes at a time as records are +added. The database's limits are reasonable: - +
maximum record size65535 bytes
maximum number of records per database264 - 1 bytes
maximum number of records per database264 - 1
maximum number of tags per record1024

So as not to create grossly huge and unwieldy data files, the database layer splits data and index files into many "segments" -containing at most 64K entries each. Those of you doing some quick math -in your heads may note that this could cause a problem on 32-bit -machines — if a full segment contains entries of the maximum -length, you'll have to mmap 4GB (32-bit Linux gives each process only -3GB of virtual address space). Right now, 32-bit users should change +containing at most 64K entries each. Those of you doing some quick +mental math may note that this could cause a problem on 32-bit machines +— if a full segment contains entries of the maximum length, you'll +have to mmap 4GB (32-bit Linux gives each process only 3GB of virtual +address space). Right now, 32-bit users should change RECORDS_PER_SEGMENT in config.h to something lower like 32768. In the future, I might do something smart like not mmaping the whole fracking file. diff --git a/www/doc/privacy_data.html b/www/doc/privacy_data.html new file mode 100644 index 0000000..df2f65a --- /dev/null +++ b/www/doc/privacy_data.html @@ -0,0 +1,48 @@ + + + +Blërg Data and Privacy Policies + + + + + +

Blërg Privacy Policy

+ + +

Blërg Doesn't Want Much Data

+ +

Blërg collects only the data necessary to create an account (username +and password), and any data submitted via posting. HTTP logs which +contain your IP address, browser agent stringand any URLs visited as a +consequence of using Blërg are kept for seven days then deleted. + +

Blërg Doesn't Want To Use Your Data

+ +

User data is used only for the purposes of operating the site, i.e. +to show your posts to the world. We don't share your data with anyone +through any other channels. + + +

Blërg Data Policy

+ + +

Blërg Doesn't Forget

+ +

There is currently no way to delete data on Blërg, so any information +you post may exist on Blërg forever. Be careful what you post. + +

Blërg Isn't That Secure

+ +

Currently, all data transmitted to Blërg, including your username and +password, are transmitted over unencrypted HTTP. It is entirely +possible for someone to view your credentials in transit. We recommend +that you don't use the same password on Blërg as you use elsewhere (but +that's just good password policy). + +

Passwords are hashed server-side with scrypt with +N=214, r=8, p=1. + + + diff --git a/www/index.html b/www/index.html index dd7292d..68df77a 100644 --- a/www/index.html +++ b/www/index.html @@ -16,5 +16,8 @@ +

-- 2.25.1