Mike Gerwitz
18cd46c87b
doc/Makefile.am (liza_TEXINFOS): Add missing license.texi
2017-06-29 11:01:23 -04:00
Mike Gerwitz
35af4bdf19
Server-side Data API support
...
The Data API stuff is pretty well coupled to the concept of a UI, and
the code is a mess that was just extracted from Program.js, so this
isn't the prettiest implementation. I hope that we'll have more time
for it in the somewhat-near future, since this is going to be core to
all server-side network requests for data.
2017-06-29 10:50:02 -04:00
Mike Gerwitz
0c24e3d280
Populate document metadata using Data APIs
...
What a cluster.
This was a lot of work to work around existing, bad APIs; there is no
time to refactor at the moment; this already took much longer than
expected.
2017-06-28 16:33:24 -04:00
Mike Gerwitz
65ab92f701
Add SpoofedNodeHttpImpl
...
Session spoofing is needed for making authenticated requests.
2017-06-28 15:51:18 -04:00
Mike Gerwitz
d47d77bb5e
Add server.meta.DapiMetaSource
...
Encapsulates the nasty.
* src/server/meta/DapiMetaSource.js: Add class.
* test/server/meta/DapiMetaSourceTest.js: Add test case.
2017-06-28 14:56:28 -04:00
Mike Gerwitz
b3f8ed96dd
Fix typo in RestrictedDataApi error
...
* src/dapi/RestrictedDataApi.js (_requestParamCheck): Unknown param
error typo fix.
2017-06-28 14:56:28 -04:00
Mike Gerwitz
95c28d4db4
Extract Server construction into DocumentServer
...
* src/server/DocumentServer.js: Add facade.
* src/server/daemon/controller.js: Use it.
2017-06-28 14:56:26 -04:00
Mike Gerwitz
07b5d2f1b6
doc: Began server documentation
...
* server.texi: Add file.
2017-06-22 13:07:30 -04:00
Mike Gerwitz
630af0a062
Add ability to provide origin to NodeHttpImpl
...
* src/dapi/http/NodeHttpImpl.js (_parseUrl): Add method.
(__construct): Add argument.
(requestData): Use it.
* test/dapi/http/NodeHttpImplTest.js: Add tests.
2017-06-21 13:55:15 -04:00
Mike Gerwitz
c231983f34
doc: Add @jsmethod macro
...
* doc/macros.texi (@jsmethod): Add macro.
2017-06-21 13:20:56 -04:00
Mike Gerwitz
f870ca964c
doc: Add @todo
...
* doc/macros.texi (@todo): Add macro.
2017-06-21 13:20:40 -04:00
Mike Gerwitz
5c99243cdc
doc: Add beginning of dapi documentation
...
* doc/Makefile.am (liza_TEXINFOS) [dapi.texi]: Include file.
* doc/dapi.texi: Add file.
* doc/design.texi: Add mention in list and reference chapter.
* doc/liza.texi: Reference chapter.
2017-06-21 10:52:46 -04:00
Mike Gerwitz
be0121d8cb
doc: Add @progxmlref, @dapi, @procguic{,x}ref, @proguicrefsuffix
...
* doc/macros.texi (@progxmlref, @dapi, @progcuicref, @proguicxref
@proguicrefsuffix): Add macros.
2017-06-21 10:52:46 -04:00
Mike Gerwitz
f873da0928
doc: Add @srcrefjs macros
...
* doc/macros.texi (srcrefjs): Add macros when src is both available and not
2017-06-21 10:52:46 -04:00
Mike Gerwitz
83b5f1ab74
doc: Update @helpwanted text
...
* doc/macros.texi (helpwanted): Adjust phrasing to account for some existing text.
2017-06-21 10:52:46 -04:00
Mike Gerwitz
d2dd963614
doc: Extract design sections into own chapters
...
* assert.texi, bucket.texi, client.texi, pred.texi, program.texi,
validation.texi: New files.
* design.texi: Extract text into above.
* liza.texi: Add @menu references and @include each new file.
2017-06-21 10:52:46 -04:00
Mike Gerwitz
a1d5e7d3c5
Instantiate appropriate HttpImpl
...
* src/dapi/DataApiFactory.js (fromType): Instantiate NodeHttpImpl when
XMLHttpRequest is undefined.
2017-06-21 10:52:46 -04:00
Mike Gerwitz
624f35a489
XhrHttpImpl: throw {=>Http}Error
...
* src/dapi/http/XhrHttpImpl.js (serveError): Throw HttpError instead
of Error.
* test/dapi/http/XhrHttpImplTest.js: Test updated accordingly.
2017-06-21 10:52:46 -04:00
Mike Gerwitz
a3e359a050
Add node dapi HTTP implementation
...
* src/dapi/http/HttpError.js: Add error subtype.
* src/dapi/http/NodeHttpImpl.js: Add node-based HTTP impl.
* test/dapi/http/HttpErrorTest.js: Add test.
* test/dapi/http/NodeHttpImplTest.js: Add test.
2017-06-21 10:52:46 -04:00
Mike Gerwitz
3be28a7858
Re-add missing Server#_sanitizeBucketData return
...
During liberation, this was accidentally removed...which breaks stuff.
* src/server/Server.js (_sanitizeBucketData): Re-add missing return statement.
2017-06-21 10:52:41 -04:00
Mike Gerwitz
6a86564364
Add missing FDL text
...
...! No idea how this was missed.
* doc/license.texi: Add file.
* liza.texi: Use it.
2017-06-20 14:17:06 -04:00
Mike Gerwitz
f8a3c4e9fc
Add missing mongodb dependency
...
* package.json.in (dependencies) [mongodb]: Add dependency (ancient version!)
* yarn.lock: Update.
2017-06-20 14:17:03 -04:00
Mike Gerwitz
55fccd8b8e
Remove mvnotices from docs
...
Liza has been liberated.
* doc/design.texi: Remove all @mvnotice calls.
* doc/macros.texi (mvnotice): Remove macro.
2017-06-13 00:14:03 -04:00
Mike Gerwitz
47f9a7e5c8
Add lock files for npm and yarn
...
* npm-shrinkwrap.json: Add file.
* yarn.lock: Add file.
2017-06-08 14:57:49 -04:00
Mike Gerwitz
83fa4f717c
package.json.in (chai): Restrict version to satisfy chai-as-promised
2017-06-08 14:57:16 -04:00
Mike Gerwitz
1bb5191e3e
LoVullo Associates => R-T Specialty
...
Copyright notices updated. More casual references to "LoVullo
Associates" replaced with "RT Specialty / Lovullo", which will be "RT
Specialty Buffalo" in the future. Or "RT Specialty", depending on how
this is rolled out. Or "Ryan Specialty Group". Who knows.
"R-T Specialty, LLC." is the legal name, which includes the dash. Not
to be confused with a certain television network.
2017-06-08 14:48:43 -04:00
Mike Gerwitz
0cf800f5d9
Add event graph diagram
...
* doc/diagram/event-graph.dot: Add graph.
* doc/diagram/.gitignore: Ignore `*.svg'.
2017-06-08 14:38:32 -04:00
Mike Gerwitz
54d2eff8b9
Add diagram generation with graphviz
...
* configure.ac (TWOPI, HAS_TWOPI): Add variables.
Check for towpi.
* doc/.gitignore (diagrams/*.svg): Add output file ignore.
* doc/Makefile.am: Add svg diagram building.
2017-06-08 14:38:32 -04:00
Mike Gerwitz
657573ab63
Near-complete liberation of liza
...
I have sat on releasing a lot of this code for years because I wanted
the liza repo to be in a pristine state---tests and all---which
required a great deal of refactoring. Well, that never happened, and
time is up.
LoVullo Associates---my employer---has been purchased by another
company. This means that any agreement with LoVullo regarding
releasing free software is going to have to be re-negotiated with this
new company, and I have no idea how those negotiations will go. So,
I have no choice but to simply release everything in its current state,
or risk it being lost forever.
This represents work over the past 6--7 years, 99.9% of it written by
me. This project has been my baby for quite some time, and has been
through a number of battles with deadlines and other unfortunate
circumstances; the scars show. I also didn't really "know" JS when
starting this project. Perhaps you can help improve upon it.
There are some odds-and-ends that could be committed. And references
to insurance and LoVullo need to be removed to generalize this.
I hope that this will not be the last public commit for this project.
I'll fight the good fight and we'll see where that takes us. Maybe
it'll be easy.
Happy hacking.
2017-06-08 14:38:28 -04:00
Mike Gerwitz
729e45306f
.travis.yml: Remove
...
This now builds via a GitLab pipeline
2017-03-28 13:40:35 -04:00
Mike Gerwitz
a9711fe139
Initial architecture documentation in manual
2017-03-28 13:29:31 -04:00
Mike Gerwitz
632ffe74c0
.gitlab-ci.yml: Add --with-srcuri to build step
2017-03-23 12:18:41 -04:00
Mike Gerwitz
7c6b884895
doc/design.texi (Group Styles): Put table into float
2017-03-23 12:16:52 -04:00
Mike Gerwitz
bff17bdbb6
doc/liza.css: Change font
...
This imports from Google, which is a privacy risk. These should be
moved to be hosted locally; their download can be scripted.
2017-03-23 12:16:52 -04:00
Mike Gerwitz
f89c311d1d
doc/liza.texi: Add predicate system documentation
2017-03-23 12:16:52 -04:00
Mike Gerwitz
5abfedeb54
doc/liza.css: Example block and float styling
2017-03-23 12:16:52 -04:00
Mike Gerwitz
b05d48a572
doc/macros.texi (@progxml): Add macro
2017-03-23 12:16:52 -04:00
Mike Gerwitz
8d09c2d8c3
doc/macros.texi: Fix PDF output issues with @maintenance
...
doc/macros.texi (@maintstart, @maintend): Add macros.
(@maintenance): Use them.
2017-03-23 12:16:52 -04:00
Mike Gerwitz
2ed43ba986
doc/macros.texi (@xmlnode, @xmlattr): Add macros
2017-03-23 12:16:52 -04:00
Mike Gerwitz
637ae01e95
doc/macros.texi (@tip): Add macro
...
doc/liza.css: Add tip notice styling.
2017-03-23 12:16:52 -04:00
Mike Gerwitz
3dfde49f76
doc/design.texi (Program UI): Add notices
...
(Client): Add reference to Program UI in notice.
2017-03-23 12:16:52 -04:00
Mike Gerwitz
b7adc3b844
doc/macros.texi (@refactornotice): Add macro
2017-03-23 12:16:52 -04:00
Mike Gerwitz
2475cc37a6
doc/macros.texi (@srcrefraw): Add macro
...
I do not think Texinfo supports optional macro arguments.
2017-03-23 12:16:52 -04:00
Mike Gerwitz
a7368d1b52
doc/design.texi (Program): Add matinenance and mv notices
2017-03-23 12:16:52 -04:00
Mike Gerwitz
f93539a827
doc/macros.texi (@mvnotice): Add macro
2017-03-23 12:16:52 -04:00
Mike Gerwitz
87fb6277f7
doc/design.texi (Client): Add maintenance concerns
2017-03-23 12:16:52 -04:00
Mike Gerwitz
041cde783a
doc/design.texi (Assertions): Add maintenance concerns
2017-03-23 12:16:52 -04:00
Mike Gerwitz
0e29ddd5eb
doc/design.texi (Design & Architecture): Convert note to notice
2017-03-23 12:16:52 -04:00
Mike Gerwitz
a700d275de
doc/design.texi (Managing Error State): Add section text
2017-03-23 12:16:52 -04:00
Mike Gerwitz
e477b15298
Add @srcref to manual
...
doc/macros.texi (@srcref): Add macro.
2017-03-23 12:16:52 -04:00