239 Commits

Author SHA1 Message Date
1979836c38 Fix PouchType tests 2018-07-27 16:25:09 -05:00
c286ccbc9d Split attachmentProxy into its own package 2018-07-27 16:22:52 -05:00
e89f11f8e4 Don't create a spec runner if it exists. This makes room for webpack to build the tests and supply their own spec_runner.html file. 2018-07-26 16:23:25 -05:00
4ba38763f4 Random little cleanups 2018-07-26 16:22:40 -05:00
79b9cd734b Use a separate docker nginx image to serve test files
This obviates the need to start/stop a web-server for each package test and paves the way to something we'll need later.
2018-07-25 03:51:59 -05:00
ee79695d04 Standardize on security headers to keep better track of what we need.
Also move the server to it's own directory for better organization.
2018-07-21 21:44:03 -05:00
cc3f66daba Split out backgroundtask in prep for attachmentProxy separation. 2018-07-20 14:31:40 -05:00
5d7d23688d Simplify the gallery router by removing an unnecessary Event class 2018-07-19 23:52:28 -05:00
7b51e67eab Add an idea for frptools 2018-07-19 23:40:26 -05:00
3328248274 Apply standard/enforced code format with prettier.
This commit marks applying prettier to the whole of git history up to this point and prettier is used to enforce format via pre-commit hook. The command used was: `git filter-branch -f --tree-filter 'prettier --no-config --single-quote --tab-width=1 --print-width=100 --use-tabs --trailing-comma=none --prose-wrap=always --write "{.,{packages,bin}/**}/*.{js,json,md}" || echo "Error formatting, possibly invalid JS"' -- --all`
2018-07-19 07:52:42 -05:00
dde7bb3e70 Vertically align appbar icon - better styling 2018-07-18 05:33:47 -05:00
4fba94f1fa Indexes should always include the 'type' property...
...since it is implicitly added to all selectors
2018-07-18 05:32:34 -05:00
d32eb0d728 Convert Gallery to work with PouchType 2018-07-18 05:32:23 -05:00
797b0960e6 Add basic pre-commit hook to make sure tests pass 2018-07-18 05:25:29 -05:00
62bfa12550 Allow the DEBUG envvar to specify if tests opens the browser 2018-07-18 05:12:48 -05:00
07d3c77451 PouchORM becomes PouchType
API changed and full test coverage.
2018-07-14 14:49:57 -05:00
10dd03a48c Give tests the ability to inject non-module scripts into the test page 2018-06-30 14:09:19 -05:00
7f1a3faa54 Switch to FontAwesome SVG icons 2018-06-30 13:22:29 -05:00
b83b1f3b5b Typo 2018-06-28 14:49:26 -05:00
6d088efec5 style is a util 2018-06-26 11:59:37 -05:00
a5ebb54e57 console is a util 2018-06-26 08:39:27 -05:00
28e4fef2d2 Use one database
This will make backup/restore operations less complicated.
2018-06-26 08:24:42 -05:00
d455ee29f6 readStorageMap -> conversion.blobToObj 2018-06-26 08:22:18 -05:00
18a49670c5 Upgrade to PouchDB 7 2018-06-24 22:11:34 -05:00
ebb7c2d519 Only store the fileId with b2.
It's smaller.
2018-06-24 21:58:23 -05:00
ff55ea0392 Normalize remove call wrapping to handle storagemaps 2018-06-24 21:46:43 -05:00
ecdd4cf329 Storage adapter should be document-agnostic.
Got a blob return a key; get a key return a blob.
2018-06-24 19:13:01 -05:00
50582089fb Cleanup relay server 2018-06-23 07:14:37 -05:00
0881b4fec3 Update READMEs 2018-06-23 07:11:20 -05:00
91d45f41dc ServiceWorker should cache non-local attachments to cache. 2018-06-22 08:01:12 -05:00
a8bab0c4fa Make AttProxy handle storing/loading the storage mapping object
This simplifies storage plugins as simple get/remove/save objects.
2018-06-22 07:59:06 -05:00
060da481a7 Minor CSS cleanup 2018-06-13 16:35:52 -05:00
863f61eea9 De-duplicate stream runs.
Don't eval multiple times when called multiple times in quick succession.
2018-06-13 11:07:04 -05:00
e67c9b0d98 First pass at B2 backend support 2018-06-13 04:31:36 -05:00
cee275d9b6 Need a backend to integrate with b2. 2018-06-13 04:22:02 -05:00
fb6518da0a Add cloud9 for development 2018-06-12 06:38:29 -05:00
ba577a699c Use Arial instead of Lato.
I don't care to send evidence of all of my page requests to Google. Arial looks decent enough.
2018-06-02 11:39:56 -05:00
5e76d7a1be Runtests looks better without the "retrying" message. 2018-06-01 03:31:08 -05:00
4c20e1400e Add stream type to frptools.
(prettier got ahold of this commit)
2018-05-31 15:48:18 -05:00
cac220a127 No need for duplicate runParam 2018-05-31 15:46:33 -05:00
ca6dfb8891 Forgot some PouchORM property changes 2018-05-23 05:12:54 -05:00
fad4db8a40 Allow some functions to be overloaded.
With Type.delete, we call the object's delete in case it is overloaded.
2018-05-23 05:08:13 -05:00
e29e41514a Use $$links since it will eventually be part of PouchORM 2018-05-23 05:03:06 -05:00
8cfb7f575e Integrate PouchORM package into Gallery project 2018-04-21 14:50:14 -05:00
ad779629a5 Clear up varname confusion. 2018-03-31 15:34:28 -05:00
4923844527 Initial PouchORM commit. 2018-03-29 22:24:22 -05:00
e8764c3072 Remove ES5 compilation for libraries. Remove Node-based Jasmine tests. Tests run in Chromium headless mode.
(I got tired of Babel breaking every time I switched computers.)
2018-03-28 14:18:17 -05:00
a17e725339 Try to be less dumb about insecure hosting 2018-01-18 14:22:34 -06:00
acb47a0b12 Fix Appbar shadow lingering when all photos deleted 2018-01-18 14:09:01 -06:00
0e25f943fe Fix deleting all images can leave the appbar shadow around 2018-01-18 14:08:20 -06:00