django-restit 4.0.12__tar.gz → 4.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {django_restit-4.0.12 → django_restit-4.1.1}/PKG-INFO +1 -1
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/rpc.py +1 -1
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/models.py +1 -1
- {django_restit-4.0.12 → django_restit-4.1.1}/pyproject.toml +1 -1
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/__init__.py +1 -1
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/crypto/util.py +20 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/decorators.py +9 -9
- django_restit-4.1.1/rest/errors.py +20 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/helpers.py +24 -0
- django_restit-4.1.1/rest/models/__init__.py +3 -0
- django_restit-4.0.12/rest/models.py → django_restit-4.1.1/rest/models/base.py +79 -454
- django_restit-4.1.1/rest/models/cacher.py +19 -0
- django_restit-4.1.1/rest/models/metadata.py +302 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/collection.py +7 -1
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/legacy.py +3 -3
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/model.py +23 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/connection.py +3 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/redis.py +1 -1
- {django_restit-4.0.12 → django_restit-4.1.1}/LICENSE.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/README.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/fcm/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0003_member_phone_number.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0004_group_modified_alter_group_created.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0005_member_auth_code_expires.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0006_member_security_token.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0007_authtoken_signature_authsession.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0008_memberdevice_memberdevicemetadata.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0009_alter_member_phone_number.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0010_delete_authtoken.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0011_authtoken.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/0012_settings_settingsmetadata.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/device.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/feeds.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/group.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/legacy.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/member.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/membership.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/notify.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/session.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/models/settings.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/oauth/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/oauth/google.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/periodic.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/rpc/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/rpc/auth.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/rpc/device.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/rpc/group.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/rpc/member.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/rpc/notify.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/rpc/oauth.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/rpc/settings.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/settings.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/templates/email/base.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/templates/email/invite.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/templates/email/plain/invite.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/templates/email/plain/reset_code.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/templates/email/reset_code.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/templates/email/simple/invite.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/account/templates/email/simple/reset_code.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/README +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/decorators.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/middleware.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/models.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/periodic.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/rpc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/tq.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/auditlog/urls.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/README.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/handlers.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/migrations/0002_alter_message_cc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/migrations/0003_attachment_content_type.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/migrations/0004_mailtemplate.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/models/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/models/bounce.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/models/complaint.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/models/message.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/models/template.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/rpc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/utils/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/utils/parsing.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/utils/render.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/inbox/utils/sending.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/README.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/0002_event_component_event_component_id.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/0003_rule_action.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/0004_serverossecalert_ssh_sig_alter_rulecheck_parent.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/0005_incident_component_alter_incident_state.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/0006_delete_eventmetadata.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/0007_event_metadata.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/0008_incident_action_sent_incident_hostname_and_more.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/models/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/models/event.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/models/incident.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/models/ossec.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/models/rules.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/parsers/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/parsers/ossec.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/periodic.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/rpc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/templates/email/incident_change.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/templates/email/incident_new.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/templates/email/incident_plain.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/incident/tq.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/geolocate.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/migrations/0002_geoip_subnet_alter_geoip_ip.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/models/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/models/address.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/models/ip.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/models/legacy.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/models/location.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/models/track.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/iplookup/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/iplookup/abstractapi.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/iplookup/extremeip.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/iplookup/geoplugin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/iplookup/ipapi.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/iplookup/ipinfo.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/iplookup/restit.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/location/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/location/google.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/timezones/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/timezones/google.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/providers/zillow.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/rpc/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/rpc/ip.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/rpc/location.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/location/rpc/track.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/cvutil/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/cvutil/contours.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/cvutil/images.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/cvutil/misc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/cvutil/text.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/fixtures/initial_data.json +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/fixtures/medialib.json +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/fixtures/medialib_test_fixture.json +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/forms.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/models.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/ocr.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/pdf.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/qrcode.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/anigif.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/ffmpeg.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/gifsicle.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/hls.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/mp4box.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/rtmp/Makefile +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/rtmp/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/rtmp/rtmp.i +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/rtmpdump.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/rtmpsink.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/video_getinfo.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/engines/websnap.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/exceptions.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/akamai.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/animated_thumbnail.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/ffmpeg.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/flv.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/hls.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/image_transcode.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/image_validate.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/mp4.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/video_still.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/video_validate.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/websnap.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/presets/youtube.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/render_utils.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/render/schedule.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/rpc/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/rpc/legacy.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/rpc/media.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/rpc/tools.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/scripts/init_config +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/css/base_medialibui.css +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/css/base_widgets.css +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/css/jquery.jcrop.css +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/arrow-down-white.png +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/bg-body.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/cancel.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/icon-generic.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/icon-image.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/icon-media.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/icon-zip.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/loading.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/noimage.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/render_err.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/rendering.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/star_off.png +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/star_on.png +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/img/unknown.gif +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/caman.full.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/hammer.min.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/jquery.Jcrop.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/jquery.hammer.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/load-image.min.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/swiper.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/tinymce/plugins/medialib/editor_plugin.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/tinymce/plugins/medialib/editor_plugin_src.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/tinymce/plugins/medialib/js/dialog.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/static/lib/tinymce/plugins/medialib/medialib.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/channel.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/discovery.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/errors.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/http.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/mimeparse.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/model.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/sample_tools.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/apiclient/schema.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/filestore.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/httplib2/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/httplib2/cacerts.txt +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/httplib2/iri2uri.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/httplib2/socks.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/httpstore.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/nullstore.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/anyjson.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/appengine.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/client.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/clientsecrets.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/crypt.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/django_orm.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/file.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/gce.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/keyring_storage.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/locked_file.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/multistore_file.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/old_run.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/tools.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/util.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/oauth2client/xsrfutil.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/rtmpstore.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/s3store.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/uritemplate/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/stores/youtubestore.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/base.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/instances.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/items.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/library.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_error.subject +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_error.to +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_error.txt +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_ready.subject +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_ready.to +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_ready.txt +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_render_error.subject +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_render_error.to +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_render_error.txt +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_validate_error.subject +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_validate_error.to +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/notify_validate_error.txt +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/smil +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/test.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/templates/medialib/testpicker.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/tests.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/tq.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/urls.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/utils.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/views.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/channel.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/discovery.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/errors.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/http.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/mimeparse.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/model.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/sample_tools.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/apiclient/schema.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/httplib2/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/httplib2/cacerts.txt +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/httplib2/iri2uri.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/httplib2/socks.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/anyjson.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/appengine.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/client.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/clientsecrets.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/crypt.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/django_orm.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/file.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/gce.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/keyring_storage.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/locked_file.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/multistore_file.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/old_run.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/tools.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/util.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/oauth2client/xsrfutil.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/upload.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/medialib/youtube/uritemplate/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/README.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/client.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/eod.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/examples/eod_example.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/commands/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/commands/delete_gauge.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/commands/delete_metric.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/commands/fix_redis_metrics_keys.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/commands/generate_test_metrics.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/commands/redis_metrics_send_mail.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/commands/reset_weekly_metrics.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/management/commands/system_metric.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/migrations/0002_metrics_k11_metrics_k12_metrics_k13_metrics_k14_and_more.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/migrations/0003_metrics_expires.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/migrations/0004_eodmetrics.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/migrations/0005_alter_metrics_v1_alter_metrics_v10_alter_metrics_v11_and_more.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/models.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/periodic.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/providers/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/providers/aws.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/settings.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/tq.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/metrics/utils.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/rpc/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/rpc/githooks.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/rpc/legacy.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/rpc/products.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/static/js/models_pushit.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/tq.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/pushit/utils.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/.gitignore +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/README.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/RemoteEvents.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/arc4.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/cache.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/crypto/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/crypto/aes.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/crypto/privpub.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/datem.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/encryption.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/extra/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/extra/json_metadata.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/fields.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/forms.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/joke.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/jwtoken.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/log.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/mail.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/mailman.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/management/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/management/commands/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/management/commands/rpc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/middleware/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/middleware/cors.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/middleware/db_router.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/middleware/jwt.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/middleware/request.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/middleware/session.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/middleware/session_store.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/regexes.yaml +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/requestex.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/rpc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/search.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/csv.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/excel.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/json.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/profiler.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/response.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/serializers/util.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/settings_helper.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/static/lib/jquery.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/static/rest/app.css +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/static/rest/app.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/static/rest/rest.js +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/static/rest/rest.scss +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/templates/email/error.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/templates/email/error.subject +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/templates/rest_docs.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/templates/rest_html.html +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/ua.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/uberdict.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/url_docs.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/urls.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/rest/views.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/.gitignore +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/README.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/models.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/tests.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/sessionlog/views.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/README.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/models.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/periodic.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/rpc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/tq.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/transports/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/transports/email.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/transports/http.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/transports/s3.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/transports/sftp.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/transports/sms.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/taskqueue/worker.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/telephony/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/telephony/admin.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/telephony/decorators.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/telephony/migrations/0001_initial.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/telephony/migrations/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/telephony/models.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/telephony/phone_util.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/telephony/rpc.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/README.md +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/client.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/exceptions.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/servers/__init__.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/servers/base.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/servers/django.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/servers/uwsgi.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/settings.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/utf8validator.py +0 -0
- {django_restit-4.0.12 → django_restit-4.1.1}/ws4redis/websocket.py +0 -0
@@ -2,7 +2,7 @@ from datetime import datetime
|
|
2
2
|
from rest import decorators as rd
|
3
3
|
from rest import views as rv
|
4
4
|
from rest import settings
|
5
|
-
from rest.
|
5
|
+
from rest.helpers import requestHasPerms
|
6
6
|
from location.models import GeoIP
|
7
7
|
from . import client as metrics
|
8
8
|
from . import models as mm
|
@@ -10,7 +10,7 @@ from location.models import GeoIP, Address
|
|
10
10
|
from rest import helpers as rest_helpers
|
11
11
|
from rest.middleware import get_request
|
12
12
|
from rest import RemoteEvents
|
13
|
-
from rest.models import RestModel, MetaDataModel, MetaDataBase
|
13
|
+
from rest.models import RestModel, MetaDataModel, MetaDataBase
|
14
14
|
|
15
15
|
class Product(models.Model, RestModel, MetaDataModel):
|
16
16
|
class RestMeta:
|
@@ -13,6 +13,26 @@ def generateKey(bit_size=128, allow_punctuation=False):
|
|
13
13
|
return randomString(byte_size, allow_punctuation)
|
14
14
|
|
15
15
|
|
16
|
+
def generateUUID(*args, **kwargs):
|
17
|
+
upper = kwargs.get("upper", True)
|
18
|
+
max_length = kwargs.get("max_length", None)
|
19
|
+
uuid = ""
|
20
|
+
for key in args:
|
21
|
+
if isinstance(key, float):
|
22
|
+
key = str(float)
|
23
|
+
if isinstance(key, int):
|
24
|
+
uuid += Hashids().encrypt(key)
|
25
|
+
if isinstance(key, str):
|
26
|
+
uuid += toString(md5(toBytes(key)).hexdigest())
|
27
|
+
if len(uuid) > 125:
|
28
|
+
uuid = uuid[:125]
|
29
|
+
if max_length != None:
|
30
|
+
uuid = uuid[:max_length]
|
31
|
+
if upper:
|
32
|
+
return uuid.upper()
|
33
|
+
return uuid
|
34
|
+
|
35
|
+
|
16
36
|
def get_random_bits(bit_size=128):
|
17
37
|
return crypt_random.getrandbits(bit_size)
|
18
38
|
|
@@ -9,8 +9,8 @@ from django.utils.cache import patch_cache_control, add_never_cache_headers, pat
|
|
9
9
|
|
10
10
|
from rest import settings
|
11
11
|
from rest.views import restStatus, restPermissionDenied
|
12
|
-
from rest.
|
13
|
-
from rest import helpers
|
12
|
+
from rest.errors import RestError, PermissionDeniedException
|
13
|
+
from rest import helpers as rh
|
14
14
|
import metrics
|
15
15
|
import incident
|
16
16
|
|
@@ -61,16 +61,16 @@ def rest_error_catcher(func, request, *args, **kwargs):
|
|
61
61
|
metrics.metric(f"rest_call_{slug_path}", category="rest_calls")
|
62
62
|
return func(request, *args, **kwargs)
|
63
63
|
except PermissionDeniedException as err:
|
64
|
-
|
64
|
+
rh.log_error("permission denied: '{}' for {} {}:{}".format(err, request.user, request.method, request.path))
|
65
65
|
return restStatus(request, False, error=err.reason, error_code=err.code)
|
66
66
|
except RestError as err:
|
67
|
-
|
67
|
+
rh.log_exception(err.reason)
|
68
68
|
if settings.get("REST_ERROR_METRICS", True):
|
69
69
|
metrics.metric("rest_errors")
|
70
70
|
return restStatus(request, False, error=err.reason, error_code=err.code)
|
71
71
|
except Exception as err:
|
72
72
|
# TODO email errors to admins
|
73
|
-
|
73
|
+
rh.log_exception(request.path)
|
74
74
|
if settings.get("REST_ERROR_METRICS", True):
|
75
75
|
metrics.metric("rest_errors")
|
76
76
|
stack = str(traceback.format_exc())
|
@@ -194,7 +194,7 @@ def _url_method(pattern, method=None, *args, **kwargs):
|
|
194
194
|
else:
|
195
195
|
func = f
|
196
196
|
if not isinstance(pattern, str):
|
197
|
-
|
197
|
+
rh.log_print("NOT A STRING", pattern)
|
198
198
|
if pattern.startswith("^") or pattern.endswith("$"):
|
199
199
|
rpc_root_module.urlpatterns += [re_path(pattern, func, *args, **kwargs)]
|
200
200
|
else:
|
@@ -369,7 +369,7 @@ class perm_required(object):
|
|
369
369
|
|
370
370
|
def __call__(self, func):
|
371
371
|
def inner_func(request=None, *args, **kwargs):
|
372
|
-
status, error, code = requestHasPerms(request, self.perms)
|
372
|
+
status, error, code = rh.requestHasPerms(request, self.perms)
|
373
373
|
if not status:
|
374
374
|
return restStatus(request, False, error=error, error_code=code)
|
375
375
|
return func(request, *args, **kwargs)
|
@@ -383,7 +383,7 @@ class post_perm_required(object):
|
|
383
383
|
def __call__(self, func):
|
384
384
|
def inner_func(request=None, *args, **kwargs):
|
385
385
|
if request.method == "post":
|
386
|
-
status, error, code = requestHasPerms(request, self.perms)
|
386
|
+
status, error, code = rh.requestHasPerms(request, self.perms)
|
387
387
|
if not status:
|
388
388
|
return restStatus(request, False, error=error, error_code=code)
|
389
389
|
elif not request.user.is_authenticated:
|
@@ -439,7 +439,7 @@ def periodic(minute=None, hour=None, day=None, month=None, weekday=None, tz=None
|
|
439
439
|
if force:
|
440
440
|
return func(force, verbose, now)
|
441
441
|
if tz:
|
442
|
-
now =
|
442
|
+
now = rh.convertToLocalTime(tz, now)
|
443
443
|
# lets create our when
|
444
444
|
if minute is not None and not periodicCheckListHas(minute, now.minute):
|
445
445
|
return -22
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
class RestError(Exception):
|
3
|
+
def __init__(self, reason, code=None):
|
4
|
+
self.reason = reason
|
5
|
+
self.code = code
|
6
|
+
|
7
|
+
def __repr__(self):
|
8
|
+
return self.reason
|
9
|
+
|
10
|
+
|
11
|
+
class PermissionDeniedException(RestError):
|
12
|
+
def __init__(self, reason="permission denied", code=401):
|
13
|
+
self.reason = reason
|
14
|
+
self.code = code
|
15
|
+
|
16
|
+
|
17
|
+
class RestValidationError(RestError):
|
18
|
+
def __init__(self, reason="rest data is not valid", code=123):
|
19
|
+
self.reason = reason
|
20
|
+
self.code = code
|
@@ -54,6 +54,30 @@ def getActiveRequest():
|
|
54
54
|
return HELPER_CACHE.get_request()
|
55
55
|
|
56
56
|
|
57
|
+
def requestHasPerms(request, perms, group=None):
|
58
|
+
# third party auth models
|
59
|
+
if request.auth_model is not None:
|
60
|
+
if request.auth_model.hasPerm(perms):
|
61
|
+
return True, None, None
|
62
|
+
|
63
|
+
if not request.user.is_authenticated:
|
64
|
+
return False, "auth required", 401
|
65
|
+
|
66
|
+
if request.member.hasPerm(perms):
|
67
|
+
return True, None, None
|
68
|
+
if group is None and hasattr(request, "group"):
|
69
|
+
group = request.group
|
70
|
+
ms_perms = None
|
71
|
+
if group:
|
72
|
+
ms = request.member.getMembershipFor(group)
|
73
|
+
if ms and ms.hasPerm(perms):
|
74
|
+
return True, None, None
|
75
|
+
if ms:
|
76
|
+
ms_perms = ms.getPermissions()
|
77
|
+
|
78
|
+
# rest_helpers.log_error(F"PERMISSION DENIED for {request.member.username}, {perms}", str(group), ms_perms)
|
79
|
+
return False, "permission denied", 402
|
80
|
+
|
57
81
|
def importModule(name):
|
58
82
|
return importlib.import_module(name)
|
59
83
|
|