Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ft/dropbox chunked uploads #11

Open
wants to merge 175 commits into
base: dropbox-chunked-uploads
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
fbc8399
Ignore invalid range headers instead of erroring
felliott Mar 7, 2018
265b47c
Merge branch 'feature/range-header-errors' into develop
felliott Mar 8, 2018
ae2524e
Add GoogleCloudStorage Provider
cslzchen Jan 19, 2018
d05ec48
Prepare for XML-API refactor:
cslzchen Mar 1, 2018
6be26bc
GCS XML API refactor - part 1: metadata
cslzchen Mar 6, 2018
7d681ab
GCS XML API refactor - part 2: a minimal provider
cslzchen Mar 7, 2018
4c70e1c
GSC XML API refactor - part 3: a working provider
cslzchen Mar 8, 2018
75add86
GCS now obtains credentials from OSF during init
cslzchen Mar 9, 2018
b00dfb2
Replace deprecated oauth2client with google-auth
cslzchen Mar 10, 2018
a3cc17f
Update metadata and utility tests
cslzchen Mar 12, 2018
cb07ea6
Update provider tests and fixtures
cslzchen Mar 13, 2018
14388eb
Explicit parse SIGNATURE_EXPIRATION to integer
cslzchen Mar 13, 2018
4863533
Merge branch 'feature/gcloud-provider' into develop
felliott Mar 13, 2018
625ebc4
Remove region from Google Cloud
cslzchen Mar 23, 2018
4b5f5d7
Merge branch 'cslzchen-fix/remove-region-from-gc' into develop
cslzchen Mar 23, 2018
9e551d1
Explicit parse SIGNATURE_EXPIRATION to integer
cslzchen Mar 13, 2018
c270be0
Futher improve tests for GoogleCloud
cslzchen Mar 13, 2018
36fbf3f
Add `InvalidProviderConfigError` to tests
cslzchen Mar 13, 2018
376969e
Fix minor code style issues:
cslzchen Mar 13, 2018
800a7ea
Use a strict regex for crc32c and md5 matching
cslzchen Mar 13, 2018
49ab45f
BaseGCMetadata now handles resp headers in init
cslzchen Mar 14, 2018
58abe70
Add a helper for parsing headers and update tests
cslzchen Mar 14, 2018
43153d3
Add .new_from_resp_headers() to init GC metadata
cslzchen Mar 14, 2018
b0d385d
Update DocStr and add PyDoc for metadata
cslzchen Mar 15, 2018
2550678
Update DocStr and PyDoc for utils
cslzchen Mar 15, 2018
6ebaa51
Add DocStr and PyDoc for the provider
cslzchen Mar 15, 2018
2982f54
Fix mypy with # type: ignore
cslzchen Mar 15, 2018
6031e56
Fix aiohttp's MultiDict and MultiDictProxy issue
cslzchen Mar 15, 2018
ca26ed8
code style & docstring updates for metadata.py
felliott Mar 26, 2018
2f6a4cc
code style & docstring updates for utils.py
felliott Mar 26, 2018
ee6d669
code style & docstring updates for provider.py
felliott Mar 26, 2018
c57b537
style fixes for tests; remove unneeded export
felliott Mar 26, 2018
691cc97
Merge branch 'feature/gcloud-updates' into develop
felliott Mar 28, 2018
7f80253
bump version & update changelog
felliott Mar 28, 2018
998f857
Merge branch 'release/0.38.0'
felliott Mar 28, 2018
9abd9f6
Merge tag '0.38.0' into develop
felliott Mar 28, 2018
39454ea
Fix typing and update import for bitbucket
cslzchen Apr 5, 2018
e183bff
Fix typing and update import for box
cslzchen Apr 5, 2018
f5c4267
Fix typing and update import for dataverse
cslzchen Apr 5, 2018
20756c1
Fix typing and update import for figshare
cslzchen Apr 5, 2018
6672fb8
Fix typing and update import for filesystem
cslzchen Apr 5, 2018
8a3218e
Fix typing and update import for github
cslzchen Apr 5, 2018
95fa944
Fix typing and update import for googledrive
cslzchen Apr 5, 2018
3eee8db
Update mypy: 0.560 -> 0.580
cslzchen Apr 6, 2018
154806f
Merge branch 'bug-fix/type-annotation' into develop
cslzchen Apr 6, 2018
23aa355
switch back to non-conda based rtd config
felliott Apr 6, 2018
0df8fd6
Merge branch 'feature/fix-rtd-build' into develop
felliott Apr 6, 2018
df75986
don't send logging callbacks for partial requests
felliott Apr 10, 2018
539672c
Merge branch 'hotfix/no-callback-for-partials'
felliott Apr 10, 2018
75ba817
bump version and update changelog
felliott Apr 10, 2018
11b6f54
Merge branch 'hotfix/0.38.1'
felliott Apr 10, 2018
e6a82e8
Merge tag '0.38.1' into develop
felliott Apr 10, 2018
e72a69e
Simplify kwargs dict expansion in test case
NyanHelsing Apr 11, 2018
1a44c49
Merge branch 'feature/simplify-test-signature' into develop
felliott Apr 12, 2018
3c5638a
don't log revisions metadata requests to callback
Johnetordoff Mar 14, 2018
666217d
return metadata about request in logging callback
Johnetordoff Mar 14, 2018
81bec1a
Merge branch 'feature/more-callback-metadata' into develop
felliott Apr 13, 2018
0169a89
release metadata update response in osfstorage tasks
felliott Apr 20, 2018
c67aa5c
add post-task cleanup for osfstorage tasks
felliott Apr 23, 2018
7bdc4aa
Merge branch 'feature/cleanup-after-osfstorage-tasks' into develop
felliott Apr 23, 2018
d552440
Delay URL build/sign for GoogleCloud
cslzchen Apr 23, 2018
e4e2aca
Merge branch 'hotfix/delay-gcloud-sigining'
felliott Apr 23, 2018
43235a3
bump version & update changelog
felliott Apr 23, 2018
19c1749
Merge branch 'hotfix/0.38.2'
felliott Apr 23, 2018
2395939
Merge tag '0.38.2' into develop
felliott Apr 23, 2018
a28b0cd
celery's rabbitmq backend is amqp not aqmp
felliott Apr 24, 2018
8e5e9f4
Merge branch 'feature/fix-celery-backend-typo' into develop
felliott Apr 24, 2018
97d508a
release metadata update response in osfstorage tasks
felliott Apr 20, 2018
391bb6d
add post-task cleanup for osfstorage tasks
felliott Apr 23, 2018
2886a77
celery's rabbitmq backend is amqp not aqmp
felliott Apr 24, 2018
882d3d8
Merge branch 'hotfix/cleanup-after-osfstorage-tasks'
felliott Apr 24, 2018
5ba3767
bump version and update changelog
felliott Apr 24, 2018
a7eb2f7
Merge branch 'hotfix/0.38.3'
felliott Apr 24, 2018
ce2514c
Merge tag '0.38.3' into develop
felliott Apr 24, 2018
5959ff7
move url evocation inside the retry loop
felliott Apr 24, 2018
25507ec
Merge branch 'hotfix/delay-url-signing-2'
felliott Apr 24, 2018
d61d6bc
bump version & update changelog
felliott Apr 24, 2018
ac6f192
Merge branch 'hotfix/0.38.4'
felliott Apr 24, 2018
e9fdd80
Merge tag '0.38.4' into develop
felliott Apr 24, 2018
3d9d429
Don't overwrite callable `url` in `make_request`
cslzchen Apr 24, 2018
cb61a52
Merge branch 'hotfix/dont-overwrite-callable-url'
felliott Apr 24, 2018
d4b0f3e
bump version and update changelog
felliott Apr 24, 2018
cff38c6
Merge branch 'hotfix/0.38.5'
felliott Apr 24, 2018
33baec0
Merge tag '0.38.5' into develop
felliott Apr 24, 2018
31af967
default to persisting results for celery
felliott Apr 25, 2018
d968683
Merge branch 'hotfix/celery-persist-results'
felliott Apr 25, 2018
8765321
bump version & update changelog
felliott Apr 25, 2018
8849baa
Merge branch 'hotfix/0.38.6'
felliott Apr 25, 2018
e2e6266
Merge tag '0.38.6' into develop
felliott Apr 25, 2018
6843bf5
Send along user ID when asking for children metadata from the osf
erinspace Apr 11, 2018
bfbd106
document extra fields in OSFStorageFileMetadata
felliott May 1, 2018
9b40f14
Merge branch 'feature/osfstorage-last-version-seen' into develop
felliott May 1, 2018
0aa3e1f
Add get_object to interpret JSON settings
icereval May 1, 2018
07cb5b1
Merge branch 'feature/settings-get-object' into develop
felliott May 1, 2018
56c99ad
Skip parsing response body for HEAD requests
cslzchen Apr 18, 2018
ee86ba3
Update outdated comments for GC: JSON -> XML
cslzchen Apr 23, 2018
98b057c
Merge branch 'feature/silence-mime-type-exceptions' into develop
felliott May 1, 2018
2be4a0e
bump version & update changelog
felliott May 8, 2018
001c495
Merge branch 'release/0.39.0'
felliott May 8, 2018
1d6435d
Merge tag '0.39.0' into develop
felliott May 8, 2018
aa1fdbd
Remove extra parens in core exception tests
NyanHelsing May 15, 2018
140ceed
Merge branch 'fix/remove-parens' into develop
cslzchen May 23, 2018
5ba0d35
Use the referrer header to identify MFR rendering
Johnetordoff May 8, 2018
5052e63
Fix referrer domain calculation
cslzchen May 24, 2018
2f45e0b
Merge branch 'feature/catch-mfr-referrer' into develop
cslzchen May 24, 2018
eb5a8ac
Update comments for OSFStorage settings in GCloud
cslzchen May 9, 2018
dd9b536
OSFStorage: intra move/copy only for same region
cslzchen May 9, 2018
00949cf
Merge branch 'feature/no-crossregion-intramove' into develop
felliott Jun 1, 2018
f45e48a
Add size-cast-as-int property to file metadata.
AddisonSchiller Oct 4, 2017
2f2f8bc
Minor logic change
TomBaxter Dec 21, 2017
641ccae
Merge branch 'feature/int-size-in-metadata' into develop
felliott Jun 1, 2018
15e7457
fill out tests for v1 server API
Johnetordoff Jun 26, 2017
5c637a2
Merge branch 'feature/test-v1-api-server' into develop
felliott Jun 4, 2018
61da346
pin Dockerfile to use jessie-based python
felliott Jun 5, 2018
1f42af3
depend on gpg; try other keyservers
felliott Jun 5, 2018
8be25cf
Merge branch 'hotfix/pin-python-docker-image'
felliott Jun 5, 2018
f46d301
bump version & update changelog
felliott Jun 5, 2018
2732383
Merge branch 'hotfix/0.39.1'
felliott Jun 5, 2018
08ddacd
Merge tag '0.39.1' into develop
felliott Jun 5, 2018
43dc14e
bump version & update changelog
felliott Jun 5, 2018
38760a7
Merge branch 'hotfix/0.39.2'
felliott Jun 5, 2018
6766721
Merge tag '0.39.2' into develop
felliott Jun 5, 2018
c545615
Disable intra move/copy region check for filesystem
cslzchen Jun 7, 2018
01b0733
Merge branch 'cslzchen-fix/no-region-for-filesystem' into develop
cslzchen Jun 7, 2018
ce8ddb4
signal MFR render/export requests to the OSF
felliott May 21, 2018
0e53579
Merge branch 'feature/log-renders-on-auth' into develop
felliott Jun 12, 2018
c507c36
reorganize/rename waterbutler code-level docs
felliott Jun 22, 2018
19c9461
fix rst markup error in OneDrive docstring
felliott Jun 22, 2018
782231f
Merge branch 'feature/minor-doc-fixes' into develop
felliott Jun 22, 2018
6e5935b
bump version & update changelog
felliott Jun 22, 2018
6dc3b0d
Merge branch 'release/0.40.0'
felliott Jun 22, 2018
2197194
Merge tag '0.40.0' into develop
felliott Jun 22, 2018
cc27c32
Add CutoffStream class to read subset of existing stream
felliott Jul 5, 2018
195d47c
update Figshare to use CutoffStream for multipart uploads
felliott Jul 5, 2018
faab3cb
gdrive: cast size to int when building ResponseStreamReader
felliott Jun 19, 2018
58674d9
Merge branch 'feature/figshare-upload-fix' into develop
felliott Jul 5, 2018
f1d9b90
Add chunked uploads for S3
Johnetordoff Nov 1, 2017
8a567a3
Run multi-part in parallel with async loop
NyanHelsing Mar 6, 2018
e9994a7
Make chunk upload parameters settings
NyanHelsing Apr 23, 2018
59a1630
Use iteration instead of recursion for abort
NyanHelsing Apr 23, 2018
6f326c3
Use a separate function for contiguous upload
NyanHelsing Apr 27, 2018
967da8b
Use set for membership and add logging for errors
NyanHelsing May 15, 2018
f3fcc30
Update error raising, finish and fix tests
NyanHelsing May 15, 2018
42c7dd1
Fix chunked uploads for S3
cslzchen Jun 1, 2018
738bde3
Several minor updates/reversions
cslzchen Jun 5, 2018
53514e3
Pass upload id instead of full session to methods
cslzchen Jun 5, 2018
5025ea8
Rewrite multi-part upload abort action:
cslzchen Jun 5, 2018
f98e63d
Improve upload logic and fix encryption header
cslzchen Jun 5, 2018
293ba0b
Four minor fixes:
cslzchen Jun 5, 2018
da60939
Fix the issue where successful ABORT deletes the session
cslzchen Jun 5, 2018
9f78ec6
Fix and improve S3 tests for chunked uploads
cslzchen Jun 8, 2018
ab23271
make _create_upload_session return only session id
felliott Jul 10, 2018
fd426be
release response before error handling
felliott Jul 10, 2018
200632b
use CutoffStream to segment stream into parts
felliott Jul 10, 2018
9ec4aab
Merge branch 'feature/s3-chunked-uploading' into develop
felliott Jul 11, 2018
25fac97
Improve the command `invoke test`
cslzchen Jul 18, 2018
3984900
Merge branch 'feature/improve-inv-test-cmd' into develop
cslzchen Jul 18, 2018
d1b8505
add X-CSRFToken to acceptable CORS headers
felliott Jul 25, 2018
b0d717b
Merge branch 'hotfix/cors-csrf-passthru'
felliott Jul 25, 2018
eaf1729
remove ip address from keen analytics
felliott Jul 25, 2018
4a33463
remove never-implemented geolocation code
felliott Jul 25, 2018
9d9ef9b
Merge branch 'hotfix/anonymize-keen-ip'
felliott Jul 25, 2018
b329c30
bump version & update changelog
felliott Jul 25, 2018
4ac4668
Merge branch 'hotfix/0.40.1'
felliott Jul 25, 2018
3627806
Merge tag '0.40.1' into develop
felliott Jul 25, 2018
785a25f
Implement chunked upload + tests for Dropbox
Johnetordoff Nov 3, 2017
4033bd3
reformat complicated any expression
NyanHelsing Jul 26, 2018
f9cb9e2
fill out docstring for _chunked_upload
NyanHelsing Jul 26, 2018
c2af470
Use separate methods for cleaner and simpler code
NyanHelsing Jul 9, 2018
9da695e
standardize on pd_ for settings, exceptions
cslzchen Jul 26, 2018
ddcc5a3
Obtain chunked upload sizes from Dropbox provider settings
cslzchen Jul 16, 2018
5d74f99
Add `CutoffStream` to Dropbox chunked upload and update doc string
cslzchen Jul 17, 2018
e89a750
Rewrite tests, fixtures and test utilities
cslzchen Jul 18, 2018
370ffb3
update docstrings
felliott Jul 26, 2018
edd2208
permit error if no session_id is available
felliott Jul 24, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,93 @@
ChangeLog
*********

0.40.1 (2018-07-25)
===================
- Feature: Add `X-CSRFToken` to list of acceptable CORS headers.
- Feature: Tell Keen analytics to strip ip on upload.
- Code: Remove never-implemented anonymous geolocation code.

0.40.0 (2018-06-22)
===================
- Feature: Listen for MFR-originating metadata requests and relay the nature of the request to
the OSF. This will allow the OSF to tally better metrics on file views.
- Feature: Add new "sizeInt" file metadata field. Some providers return file size as a string.
The "size" field in WaterButler's file metadata follows this behavior. The "sizeInt" field will
always be an integer (if file size is available) or `null` (if not).
- Code: Expand tests for WaterButler's APIv1 server.

0.39.2 (2018-06-05)
===================
- Fix: Brown-paper-bag release: actually change version in the code.

0.39.1 (2018-06-05)
===================
- Code: Pin base docker image to python:3.5-slim-jessie. 3.5-slim was recently updated to Debian
stretch, and WaterButler has not yet been verified to work on it.

0.39.0 (2018-05-08)
===================
- Feature: WaterButler now lets osfstorage know who the requesting user is when listing folder
contents, so that it can return metadata about whether the user has seen the most recent version
of the file. (thanks, @erinspace!)
- Feature: WaterButler includes metadata about the request in the logging callback to help the
logger tally more accurate download counts. (thanks, @johnetordoff!)
- Feature: Stop logging revisions metadata requests to logging callback. (thanks, @johnetordoff!)
- Fix: Don't try to decode the body of HEAD requests that error. HEAD requests don't have bodies!
- Code: Clean up existing mypy annotations and add new ones. WaterButler still isn't 100% clean,
but it's getting there!
- Code: Allow passing JSON-encoded objects as config settings via environment variables.

0.38.6 (2018-04-25)
===================
- Fix: `CELERY_RESULT_PERSISTENT` should default to True, now that `amqp` is the default result
backend.

0.38.5 (2018-04-24)
===================
- Fix: Don't overwrite evokable url with generated url inside the make_request retry loop. Third
time's the charm, right?

0.38.4 (2018-04-24)
===================
- Fix: Evoke url-generating functions *inside* the make_request retry loop to make sure signed
urls are as fresh as possible.

0.38.3 (2018-04-24)
===================
- Fix: Remove temporary files after osfstorage provider has completed its archiving and
parity-generation tasks.

0.38.2 (2018-04-23)
===================
- Fix: Delay construction of Google Cloud signed urls until right before issuing them. The provider
was building them outside of the retry loop, resulting in slow-to-fail requests having their
signatures expire before all subsequent retries could be issued.

0.38.1 (2018-04-10)
===================
- Fix: Don't log 206 Partial requests to the download callback. Most of these are for streaming
video or resumable downloads and shouldn't be tallied as a download.

0.38.0 (2018-03-28)
===================
- Fix: WaterButler now handles Range header requests correctly! There was an off-by-one error where
WB was returning one byte more than requested. This manifested in Safari being unable to load
videos rendered by MFR. Safari requests the first two bytes of a video before issuing a full
request. When WB returns three bytes, Safari refuses to try to render the file. Safari can now
render videos from most providers that support Range headers. Unfortunately, it still struggles
with osfstorage for reasons that are still being investigated. (thanks, @abought and @johetordoff!)
- Feature: WaterButler now logs download and download-as-zip requests to the callback given by the
auth provider. This is intended to allow the OSF (the default auth provider) to better log download
counts for files. If WB detects that a request originates from MFR, it will relay that on to the
callback, so the auth provider can account for that when compiling statistics.
- Feature: Add a new limited provider for Google Cloud Storage! A limited provider is one that can
be used as a data-storage backend provider for osfstorage. It does NOT have a corresponding OSF
addon interface, nor does it support the full range of WB actions. It has been tested locally, but
has yet to be tested in a staging or production environment, so EARLY ADOPT AT YOUR OWN RISK!
- Fix: Stop installing aiohttpretty in editable mode to avoid containers hanging while awaiting user
input.

0.37.1 (2018-02-06)
===================
- Feature: Increase default move/copy task timeout to 20s. WaterButler will now wait 20 seconds for
Expand Down
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.5-slim
FROM python:3.5-slim-jessie

RUN usermod -d /home www-data && chown www-data:www-data /home

Expand All @@ -25,7 +25,16 @@ ENV GOSU_VERSION 1.4
RUN apt-get update \
&& apt-get install -y \
curl \
&& gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
gnupg2 \
&& for key in \
# GOSU
B42F6819007F00F88E364FD4036A9C25BF357DD4 \
; do \
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net:80 --recv-keys "$key" || \
gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys "$key" || \
gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" || \
gpg --keyserver hkp://keyserver.pgp.com:80 --recv-keys "$key" \
; done \
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
&& gpg --verify /usr/local/bin/gosu.asc \
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ colorlog==2.5.0
flake8==3.0.4
ipdb
ipython
mypy==0.560
mypy==0.580
pydevd==0.0.6
pyflakes
pytest==2.8.2
Expand Down
5 changes: 2 additions & 3 deletions docs/code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ Code

Important code links


.. toctree::
:maxdepth: 2

waterbutler
waterbutler.core
waterbutler.core.streams
waterbutler.providers
waterbutler.server
streams
waterbutler.tasks

7 changes: 0 additions & 7 deletions docs/modules.rst

This file was deleted.

7 changes: 7 additions & 0 deletions docs/provider.googlecloud.metadata.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Metadata
--------

.. automodule:: waterbutler.providers.googlecloud.metadata
:members:
:undoc-members:
:show-inheritance:
13 changes: 13 additions & 0 deletions docs/provider.googlecloud.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Google Cloud Provider
=====================

.. toctree::

provider.googlecloud.metadata
provider.googlecloud.utils

.. autoclass:: waterbutler.providers.googlecloud.provider.GoogleCloudProvider
:members:
:private-members:
:show-inheritance:

7 changes: 7 additions & 0 deletions docs/provider.googlecloud.utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Utils
-----

.. automodule:: waterbutler.providers.googlecloud.utils
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/provider.osfstorage.metadata.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Metadata
--------

.. automodule:: waterbutler.providers.osfstorage.metadata
:members:
:undoc-members:
:show-inheritance:
6 changes: 5 additions & 1 deletion docs/provider.osfstorage.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
OSF Storage Provider
OSFStorage Provider
====================

.. toctree::

provider.osfstorage.metadata

.. autoclass:: waterbutler.providers.osfstorage.provider.OSFStorageProvider
:members:
:undoc-members:
Expand Down
1 change: 1 addition & 0 deletions docs/providers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Providers
provider.filesystem
provider.github
provider.gitlab
provider.googlecloud
provider.googledrive
provider.onedrive
provider.osfstorage
Expand Down
39 changes: 35 additions & 4 deletions docs/waterbutler.core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ waterbutler.core package
========================

waterbutler.core.auth module
----------------------------------
----------------------------

.. automodule:: waterbutler.core.auth
:members:
Expand All @@ -17,6 +17,14 @@ waterbutler.core.exceptions module
:undoc-members:
:show-inheritance:

waterbutler.core.log_payload module
-----------------------------------

.. automodule:: waterbutler.core.logging
:members:
:undoc-members:
:show-inheritance:

waterbutler.core.logging module
-------------------------------

Expand All @@ -33,14 +41,39 @@ waterbutler.core.metadata module
:undoc-members:
:show-inheritance:

waterbutler.core.metrics module
-------------------------------

.. automodule:: waterbutler.core.metrics
:members:
:undoc-members:
:show-inheritance:

waterbutler.core.path module
--------------------------------
----------------------------

.. automodule:: waterbutler.core.path
:members:
:undoc-members:
:show-inheritance:

waterbutler.core.provider module
--------------------------------

.. automodule:: waterbutler.core.provider
:members:
:undoc-members:
:show-inheritance:
:noindex:

waterbutler.core.remote_logging module
--------------------------------------

.. automodule:: waterbutler.core.remote_logging
:members:
:undoc-members:
:show-inheritance:

waterbutler.core.signing module
-------------------------------

Expand All @@ -49,7 +82,6 @@ waterbutler.core.signing module
:undoc-members:
:show-inheritance:


waterbutler.core.utils module
-----------------------------

Expand All @@ -58,7 +90,6 @@ waterbutler.core.utils module
:undoc-members:
:show-inheritance:


Module contents
---------------

Expand Down
13 changes: 9 additions & 4 deletions docs/streams.rst → docs/waterbutler.core.streams.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
Streams
=======
waterbutler.core.streams package
================================

BaseStream
----------

.. autoclass:: waterbutler.core.streams.BaseStream
:members:
:undoc-members:
:show-inheritance:
:inherited-members:

ResponseStreamReader
--------------------
Expand Down Expand Up @@ -72,3 +70,10 @@ FormDataStream
:undoc-members:
:show-inheritance:
:inherited-members:

CutoffStream
------------

.. autoclass:: waterbutler.core.streams.CutoffStream
:members:
:undoc-members:
33 changes: 22 additions & 11 deletions docs/waterbutler.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
waterbutler package
===================

Subpackages
-----------
waterbutler.constants module
----------------------------

.. toctree::

waterbutler.core
waterbutler.providers
waterbutler.server
waterbutler.tasks

Submodules
----------
.. automodule:: waterbutler.constants
:members:
:undoc-members:
:show-inheritance:

waterbutler.settings module
---------------------------
Expand All @@ -22,6 +17,21 @@ waterbutler.settings module
:undoc-members:
:show-inheritance:

waterbutler.sizes module
------------------------

.. automodule:: waterbutler.sizes
:members:
:undoc-members:
:show-inheritance:

waterbutler.version module
--------------------------

.. automodule:: waterbutler.version
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------
Expand All @@ -30,3 +40,4 @@ Module contents
:members:
:undoc-members:
:show-inheritance:

3 changes: 0 additions & 3 deletions docs/waterbutler.server.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
waterbutler.server package
==========================

Submodules
----------

waterbutler.server.app module
-----------------------------

Expand Down
3 changes: 0 additions & 3 deletions docs/waterbutler.tasks.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
waterbutler.tasks package
=========================

Submodules
----------

waterbutler.tasks.app module
----------------------------

Expand Down
Loading