AG

Angelo Gladding
lahacker.net

dlv5vbq7lzlthol5 4b942a3185b37d00

South Pasadena, California, United States currently feels like 46.87°F

Home Code

canopy

Repository

git clone https://lahacker.net/code/canopy.git

Files

Releases

No releases.

System

dirty

M canopy/__init__.py
M canopy/__web__/__init__.py
M canopy/__web__/content.py
M canopy/__web__/hosting.py
M canopy/__web__/security.py
M canopy/__web__/settings.py
M canopy/__web__/static/scripts/enliven.js
M canopy/__web__/templates/__init__.py
D canopy/__web__/templates/app/index.html
D canopy/__web__/templates/app/install.html
M canopy/__web__/templates/hosting/domains.html
M canopy/__web__/templates/hosting/identities.html
M canopy/__web__/templates/hosting/index.html
M canopy/__web__/templates/hosting/machines.html
D canopy/__web__/templates/hosting/providers/host.html
D canopy/__web__/templates/hosting/providers/index.html
D canopy/__web__/templates/hosting/providers/registrar.html
M canopy/__web__/templates/hosting/register.html
D canopy/__web__/templates/reader/channel.html
D canopy/__web__/templates/reader/channel_settings.html
D canopy/__web__/templates/reader/feed.html
D canopy/__web__/templates/reader/index.html
M canopy/__web__/templates/search/results.html
M canopy/__web__/templates/security/authenticate.html
D canopy/__web__/templates/settings/__init__.py
D canopy/__web__/templates/settings/cache/index.html
D canopy/__web__/templates/settings/cache/resource.html
D canopy/__web__/templates/settings/data/__init__.py
D canopy/__web__/templates/settings/data/index.html
D canopy/__web__/templates/settings/data/key_value/__init__.py
D canopy/__web__/templates/settings/data/key_value/index.html
D canopy/__web__/templates/settings/data/relational/__init__.py
D canopy/__web__/templates/settings/data/relational/index.html
D canopy/__web__/templates/settings/data/relational/table.html
D canopy/__web__/templates/settings/index.html
D canopy/__web__/templates/settings/jobs.html
D canopy/__web__/templates/settings/logs.html
D canopy/__web__/templates/settings/repository/index.html
D canopy/__web__/templates/settings/repository/log.html
D canopy/__web__/templates/settings/security/index.html
D canopy/__web__/templates/settings/stats.html
D canopy/__web__/templates/settings/style.html
M canopy/__web__/templates/template.html
M canopy/__web__/util.py
M canopy/cache.py
M canopy/content/write.py
M canopy/types/code/__init__.py
M canopy/types/code/__web__.py
M canopy/types/code/templates/resources/file.html
D canopy/types/code/templates/skeleton_setup.py
M canopy/types/code/templates/tests.html
M canopy/types/code/templates/type.html
M canopy/types/contacts/templates/editor.html
M canopy/util/__init__.py
M canopy/util/dynadot.py
M canopy_bot.py
D pytest.ini
M setup.py
M tests.py
?? canopy/__web__/static/scripts/pouchdb-7.0.0.js
?? canopy/__web__/static/scripts/serviceworker.js
?? canopy/__web__/system.py
?? canopy/__web__/templates/manifest.json
?? canopy/__web__/templates/system/
?? canopy/__web__/templates/viewer/
?? canopy/types/code/templates/skeleton_setup.txt

Local

Commits

Yet another commit
created 2 months ago by Angelo Gladding

License: Affero General Public License

gevent, html2text, nltk, numpy, opencv-contrib-python, opencv-python, phe, phonenumbers, pillow, qrcode, scrypt, sopel, stripe, tweepy, twilio, vobject, web

Entry Points

term.apps

API

  • canopy — a decentralized social web platform
  • canopy_bot — canopy job queue
  • gaea — manage the machines that power the Canopy

Quality

Tests

tests:test_setup

Line 16, 11.378348350524902

success

tests:test_owner_details

Line 21, 0.002330303192138672

success

{'-canopy-audience': 'public', '-canopy-id': 'o0mEN_g', '-canopy-path': 'me', '-canopy-type': 'contact', '-canopy-uuid': '482d8f32-f4e4-4e25-9236-961c1471aba2', 'alt-svc': 'alice.dev.cnpy.gdn', 'key': 'cf5bc924d02610b43e6e68756f789f89aed127f5', 'name': 'Alice', 'published': DateTime(2019, 1, 31, 21, 54, 32, 75428, tzinfo=Timezone('+00:00')), 'uid': 'kqeqipminbjal5hmcnbgtotnfedfff6iwtbpehscqa5ngobvjep7d5yd.onion'}#x1B[0m
#x1B[0m

tests:test_create_note

Line 32, 0.27880287170410156

success

tests:test_upload_photo

Line 41, 0.0013742446899414062

failure

FileNotFoundError: [Errno 2] No such file or directory: '/home/gaea/understory/src/canopy/data/alice.jpg'

def test_upload_photo():
        """"""
>       with (data_dir / "alice.jpg").open("rb") as fp:

../understory/src/canopy/tests.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../detritus/lib/python3.7/pathlib.py:1176: in open
    opener=self._opener)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/gaea/understory/src/canopy/data/alice.jpg')
name = '/home/gaea/understory/src/canopy/data/alice.jpg', flags = 524288
mode = 438

    def _opener(self, name, flags, mode=0o666):
        # A stub for the opener argument to built-in open()
>       return self._accessor.open(self, flags, mode)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/gaea/understory/src/canopy/data/alice.jpg'

../detritus/lib/python3.7/pathlib.py:1030: FileNotFoundError

5 tests ran in 12 seconds. Some tests are failing.